repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
string
/
argz-stringify.s
blob
1c41241f2b5837f9302c52cb7598ea9edfd02a73
1
.text
2
.p2align 4,,15
3
.globl __argz_stringify
4
.hidden __argz_stringify
5
.type __argz_stringify, @function
6
__argz_stringify
:
7
testq
%
rsi
, %
rsi
8
je
.L8
9
pushq
%
r12
10
movl
%
edx
, %
r12d
11
pushq
%
rbp
12
movq
%
rdi
, %
rbp
13
pushq
%
rbx
14
movq
%
rsi
, %
rbx
15
jmp
.L3
16
.p2align 4,,10
17
.p2align 3
18
.L12:
19
leaq
1
(%
rdx
), %
rbp
20
movb
%
r12b
, (%
rdx
)
21
.L3:
22
movq
%
rbx
, %
rsi
23
movq
%
rbp
, %
rdi
24
call __strnlen
25
subq
%
rax
, %
rbx
26
leaq
0
(%
rbp
,%
rax
), %
rdx
27
movq
%
rbx
, %
rax
28
leaq
-
1
(%
rbx
), %
rbx
29
cmpq $
1
, %
rax
30
ja
.L12
31
popq
%
rbx
32
popq
%
rbp
33
popq
%
r12
34
ret
35
.p2align 4,,10
36
.p2align 3
37
.L8:
38
rep ret
39
.size __argz_stringify, .-__argz_stringify
40
.weak argz_stringify
41
.set argz_stringify,__argz_stringify
42
.hidden __strnlen