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]
/
posix
/
globfree.s
blob
1b8bf0022dd609999788f9d1dc3b6f06066aea21
1
.text
2
.p2align 4,,15
3
.globl globfree
4
.hidden globfree
5
.type globfree, @function
6
globfree
:
7
pushq
%
rbp
8
pushq
%
rbx
9
movq
%
rdi
, %
rbx
10
subq $
8
, %
rsp
11
movq
8
(%
rdi
), %
rdi
12
testq
%
rdi
, %
rdi
13
je
.L1
14
cmpq $
0
, (%
rbx
)
15
je
.L3
16
xorl
%
ebp
, %
ebp
17
.p2align 4,,10
18
.p2align 3
19
.L5:
20
movq
16
(%
rbx
), %
rax
21
addq
%
rbp
, %
rax
22
addq $
1
, %
rbp
23
movq
(%
rdi
,%
rax
,
8
), %
rdi
24
call free@PLT
25
cmpq
(%
rbx
), %
rbp
26
movq
8
(%
rbx
), %
rdi
27
jb
.L5
28
.L3:
29
call free@PLT
30
movq $
0
,
8
(%
rbx
)
31
.L1:
32
addq $
8
, %
rsp
33
popq
%
rbx
34
popq
%
rbp
35
ret
36
.size globfree, .-globfree
37
.weak globfree64
38
.set globfree64,globfree