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]
/
dirent
/
getdirentries64.shared.s
blob
76846cb3eddfcffa125ec9615aa8db71b80eb45d
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl getdirentries64
9
.type getdirentries64, @function
10
getdirentries64
:
11
pushq
%
r14
12
pushq
%
r13
13
movq
%
rcx
, %
r13
14
pushq
%
r12
15
pushq
%
rbp
16
movq
%
rdx
, %
r12
17
pushq
%
rbx
18
movq
%
rsi
, %
rbp
19
movl
%
edi
, %
ebx
20
xorl
%
esi
, %
esi
21
movl $
1
, %
edx
22
call __lseek64
23
movq
%
r12
, %
rdx
24
movq
%
rbp
, %
rsi
25
movl
%
ebx
, %
edi
26
movq
%
rax
, %
r14
27
call __GI___getdents64
28
cmpq $
-
1
, %
rax
29
je
.L1
30
movq
%
r14
,
0
(%
r13
)
31
.L1:
32
popq
%
rbx
33
popq
%
rbp
34
popq
%
r12
35
popq
%
r13
36
popq
%
r14
37
ret
38
.size getdirentries64, .-getdirentries64
39
.weak getdirentries
40
.set getdirentries,getdirentries64
41
.hidden __lseek64