clarify the purpose of this project
[nyanglibc.git] / sunrpc / pmap_prot2.shared.s
blob375c29eaffc1141b5e8413756d47a2ce1fff9658
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __EI_xdr_pmaplist, xdr_pmaplist@GLIBC_2.2.5
7 #NO_APP
8 .p2align 4,,15
9 .globl __GI_xdr_pmaplist
10 .hidden __GI_xdr_pmaplist
11 .type __GI_xdr_pmaplist, @function
12 __GI_xdr_pmaplist:
13 pushq %r14
14 pushq %r13
15 pushq %r12
16 pushq %rbp
17 movq %rdi, %rbp
18 pushq %rbx
19 movq %rsi, %rbx
20 subq $16, %rsp
21 movl (%rdi), %r13d
22 leaq 4(%rsp), %r12
23 leaq 8(%rsp), %r14
24 movq $0, 8(%rsp)
25 .p2align 4,,10
26 .p2align 3
27 .L2:
28 xorl %eax, %eax
29 cmpq $0, (%rbx)
30 movq %r12, %rsi
31 movq %rbp, %rdi
32 setne %al
33 movl %eax, 4(%rsp)
34 call __GI_xdr_bool
35 testl %eax, %eax
36 je .L3
37 movl 4(%rsp), %eax
38 testl %eax, %eax
39 je .L8
40 cmpl $2, %r13d
41 je .L21
42 leaq __GI_xdr_pmap(%rip), %rcx
43 movl $40, %edx
44 movq %rbx, %rsi
45 movq %rbp, %rdi
46 call __GI_xdr_reference
47 testl %eax, %eax
48 je .L3
49 movq (%rbx), %rbx
50 addq $32, %rbx
51 jmp .L2
52 .p2align 4,,10
53 .p2align 3
54 .L21:
55 movq (%rbx), %rax
56 leaq __GI_xdr_pmap(%rip), %rcx
57 movl $40, %edx
58 movq %rbx, %rsi
59 movq %rbp, %rdi
60 movq 32(%rax), %rax
61 movq %rax, 8(%rsp)
62 call __GI_xdr_reference
63 testl %eax, %eax
64 je .L3
65 movq %r14, %rbx
66 jmp .L2
67 .p2align 4,,10
68 .p2align 3
69 .L3:
70 addq $16, %rsp
71 xorl %eax, %eax
72 popq %rbx
73 popq %rbp
74 popq %r12
75 popq %r13
76 popq %r14
77 ret
78 .p2align 4,,10
79 .p2align 3
80 .L8:
81 addq $16, %rsp
82 movl $1, %eax
83 popq %rbx
84 popq %rbp
85 popq %r12
86 popq %r13
87 popq %r14
88 ret
89 .size __GI_xdr_pmaplist, .-__GI_xdr_pmaplist
90 .globl __EI_xdr_pmaplist
91 .set __EI_xdr_pmaplist,__GI_xdr_pmaplist