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]
/
inet
/
ether_hton.s
blob
3997b934ac665b1a6da52b35fd2ed40a1de25d38
1
.text
2
.section .rodata.str1.1,
"aMS"
,@progbits,1
3
.LC0:
4
.string
"gethostton_r"
5
.text
6
.p2align 4,,15
7
.globl ether_hostton
8
.type ether_hostton, @function
9
ether_hostton
:
10
pushq
%
r15
11
pushq
%
r14
12
xorl
%
edx
, %
edx
13
pushq
%
r13
14
pushq
%
r12
15
movq
%
rdi
, %
r13
16
pushq
%
rbp
17
pushq
%
rbx
18
subq $
1096
, %
rsp
19
leaq
40
(%
rsp
), %
r12
20
leaq
32
(%
rsp
), %
rbp
21
movq
%
rsi
,
24
(%
rsp
)
22
leaq
.LC0(%rip), %rsi
23
movq
%
r12
, %
rcx
24
movq
%
rbp
, %
rdi
25
call __nss_ethers_lookup2
26
testl
%
eax
, %
eax
27
movl
%
eax
,
20
(%
rsp
)
28
jne
.L4
29
movq __libc_errno@gottpoff
(%
rip
), %
rax
30
addq
%
fs
:
0
, %
rax
31
leaq
64
(%
rsp
), %
r15
32
leaq
48
(%
rsp
), %
r14
33
movq
%
rax
,
8
(%
rsp
)
34
.p2align 4,,10
35
.p2align 3
36
.L2:
37
movq
8
(%
rsp
), %
r8
38
movl $
1024
, %
ecx
39
movq
%
r15
, %
rdx
40
movq
%
r14
, %
rsi
41
movq
%
r13
, %
rdi
42
call
*
40
(%
rsp
)
43
leaq
.LC0(%rip), %rsi
44
xorl
%
r9d
, %
r9d
45
xorl
%
edx
, %
edx
46
movl
%
eax
, %
r8d
47
movq
%
r12
, %
rcx
48
movq
%
rbp
, %
rdi
49
movl
%
eax
, %
ebx
50
call __nss_next2
51
testl
%
eax
, %
eax
52
je
.L2
53
cmpl
$
1
, %
ebx
54
je
.L10
55
.L4:
56
movl $
-
1
,
20
(%
rsp
)
57
.L1:
58
movl
20
(%
rsp
), %
eax
59
addq $
1096
, %
rsp
60
popq
%
rbx
61
popq
%
rbp
62
popq
%
r12
63
popq
%
r13
64
popq
%
r14
65
popq
%
r15
66
ret
67
.p2align 4,,10
68
.p2align 3
69
.L10:
70
movl
56
(%
rsp
), %
eax
71
movq
24
(%
rsp
), %
rbx
72
movl
%
eax
, (%
rbx
)
73
movzwl
60
(%
rsp
), %
eax
74
movw
%
ax
,
4
(%
rbx
)
75
jmp
.L1
76
.size ether_hostton, .-ether_hostton
77
.hidden __nss_next2
78
.hidden __nss_ethers_lookup2