clarify the purpose of this project
[nyanglibc.git] / nss / rpc-lookup.shared.s
blob6fa973298b6ff778ebc7cac8803e658a7acde383
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .section .rodata.str1.1,"aMS",@progbits,1
7 .LC0:
8 .string "rpc"
9 #NO_APP
10 .text
11 .p2align 4,,15
12 .globl __GI___nss_rpc_lookup2
13 .hidden __GI___nss_rpc_lookup2
14 .type __GI___nss_rpc_lookup2, @function
15 __GI___nss_rpc_lookup2:
16 pushq %r13
17 pushq %r12
18 movq %rcx, %r13
19 pushq %rbp
20 pushq %rbx
21 leaq __nss_rpc_database(%rip), %rcx
22 movq %rdi, %rbx
23 leaq .LC0(%rip), %rdi
24 movq %rsi, %rbp
25 subq $8, %rsp
26 xorl %esi, %esi
27 movq %rdx, %r12
28 xorl %edx, %edx
29 call __GI___nss_database_lookup2
30 testl %eax, %eax
31 js .L2
32 movq __nss_rpc_database(%rip), %rax
33 movq %r13, %rcx
34 movq %r12, %rdx
35 movq %rbp, %rsi
36 movq %rbx, %rdi
37 movq %rax, (%rbx)
38 addq $8, %rsp
39 popq %rbx
40 popq %rbp
41 popq %r12
42 popq %r13
43 jmp __GI___nss_lookup
44 .p2align 4,,10
45 .p2align 3
46 .L2:
47 addq $8, %rsp
48 movl $-1, %eax
49 popq %rbx
50 popq %rbp
51 popq %r12
52 popq %r13
53 ret
54 .size __GI___nss_rpc_lookup2, .-__GI___nss_rpc_lookup2
55 .globl __nss_rpc_lookup2
56 .set __nss_rpc_lookup2,__GI___nss_rpc_lookup2
57 .hidden __nss_rpc_database