clarify the purpose of this project
[nyanglibc.git] / sunrpc / key_prot.shared.s
blob1b34644f35c6b6cce7ddbd54a8cbf3ab4b5a84ee
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __EI_xdr_keystatus, xdr_keystatus@GLIBC_2.2.5
7 .symver __EI_xdr_keybuf, xdr_keybuf@GLIBC_2.2.5
8 .symver __EI_xdr_netnamestr, xdr_netnamestr@GLIBC_2.2.5
9 .symver __EI_xdr_cryptkeyarg, xdr_cryptkeyarg@GLIBC_2.2.5
10 .symver __EI_xdr_cryptkeyarg2, xdr_cryptkeyarg2@GLIBC_2.2.5
11 .symver __EI_xdr_cryptkeyres, xdr_cryptkeyres@GLIBC_2.2.5
12 .symver __EI_xdr_unixcred, xdr_unixcred@GLIBC_2.2.5
13 .symver __EI_xdr_getcredres, xdr_getcredres@GLIBC_2.2.5
14 .symver __EI_xdr_key_netstarg, xdr_key_netstarg@GLIBC_2.2.5
15 .symver __EI_xdr_key_netstres, xdr_key_netstres@GLIBC_2.2.5
16 #NO_APP
17 .p2align 4,,15
18 .globl __GI_xdr_keystatus
19 .hidden __GI_xdr_keystatus
20 .type __GI_xdr_keystatus, @function
21 __GI_xdr_keystatus:
22 subq $8, %rsp
23 call __GI_xdr_enum
24 testl %eax, %eax
25 setne %al
26 addq $8, %rsp
27 movzbl %al, %eax
28 ret
29 .size __GI_xdr_keystatus, .-__GI_xdr_keystatus
30 .globl __EI_xdr_keystatus
31 .set __EI_xdr_keystatus,__GI_xdr_keystatus
32 .p2align 4,,15
33 .globl __GI_xdr_keybuf
34 .hidden __GI_xdr_keybuf
35 .type __GI_xdr_keybuf, @function
36 __GI_xdr_keybuf:
37 subq $8, %rsp
38 movl $48, %edx
39 call __GI_xdr_opaque
40 testl %eax, %eax
41 setne %al
42 addq $8, %rsp
43 movzbl %al, %eax
44 ret
45 .size __GI_xdr_keybuf, .-__GI_xdr_keybuf
46 .globl __EI_xdr_keybuf
47 .set __EI_xdr_keybuf,__GI_xdr_keybuf
48 .p2align 4,,15
49 .globl __GI_xdr_netnamestr
50 .hidden __GI_xdr_netnamestr
51 .type __GI_xdr_netnamestr, @function
52 __GI_xdr_netnamestr:
53 subq $8, %rsp
54 movl $255, %edx
55 call __GI_xdr_string
56 testl %eax, %eax
57 setne %al
58 addq $8, %rsp
59 movzbl %al, %eax
60 ret
61 .size __GI_xdr_netnamestr, .-__GI_xdr_netnamestr
62 .globl __EI_xdr_netnamestr
63 .set __EI_xdr_netnamestr,__GI_xdr_netnamestr
64 .p2align 4,,15
65 .globl __GI_xdr_cryptkeyarg
66 .hidden __GI_xdr_cryptkeyarg
67 .type __GI_xdr_cryptkeyarg, @function
68 __GI_xdr_cryptkeyarg:
69 pushq %rbp
70 pushq %rbx
71 movl $255, %edx
72 movq %rdi, %rbp
73 movq %rsi, %rbx
74 subq $8, %rsp
75 call __GI_xdr_string
76 testl %eax, %eax
77 je .L8
78 leaq 8(%rbx), %rsi
79 movq %rbp, %rdi
80 call __GI_xdr_des_block
81 testl %eax, %eax
82 setne %al
83 movzbl %al, %eax
84 .L8:
85 addq $8, %rsp
86 popq %rbx
87 popq %rbp
88 ret
89 .size __GI_xdr_cryptkeyarg, .-__GI_xdr_cryptkeyarg
90 .globl __EI_xdr_cryptkeyarg
91 .set __EI_xdr_cryptkeyarg,__GI_xdr_cryptkeyarg
92 .p2align 4,,15
93 .globl __GI_xdr_cryptkeyarg2
94 .hidden __GI_xdr_cryptkeyarg2
95 .type __GI_xdr_cryptkeyarg2, @function
96 __GI_xdr_cryptkeyarg2:
97 pushq %rbp
98 pushq %rbx
99 movl $255, %edx
100 movq %rdi, %rbp
101 movq %rsi, %rbx
102 subq $8, %rsp
103 call __GI_xdr_string
104 testl %eax, %eax
105 jne .L15
106 .L17:
107 addq $8, %rsp
108 xorl %eax, %eax
109 popq %rbx
110 popq %rbp
112 .p2align 4,,10
113 .p2align 3
114 .L15:
115 leaq 8(%rbx), %rsi
116 movq %rbp, %rdi
117 call __GI_xdr_netobj
118 testl %eax, %eax
119 je .L17
120 leaq 24(%rbx), %rsi
121 movq %rbp, %rdi
122 call __GI_xdr_des_block
123 testl %eax, %eax
124 setne %al
125 addq $8, %rsp
126 movzbl %al, %eax
127 popq %rbx
128 popq %rbp
130 .size __GI_xdr_cryptkeyarg2, .-__GI_xdr_cryptkeyarg2
131 .globl __EI_xdr_cryptkeyarg2
132 .set __EI_xdr_cryptkeyarg2,__GI_xdr_cryptkeyarg2
133 .p2align 4,,15
134 .globl __GI_xdr_cryptkeyres
135 .hidden __GI_xdr_cryptkeyres
136 .type __GI_xdr_cryptkeyres, @function
137 __GI_xdr_cryptkeyres:
138 pushq %rbp
139 pushq %rbx
140 movq %rdi, %rbp
141 movq %rsi, %rbx
142 subq $8, %rsp
143 call __GI_xdr_enum
144 testl %eax, %eax
145 je .L22
146 movl (%rbx), %eax
147 testl %eax, %eax
148 je .L31
149 movl $1, %eax
150 .L22:
151 addq $8, %rsp
152 popq %rbx
153 popq %rbp
155 .p2align 4,,10
156 .p2align 3
157 .L31:
158 leaq 4(%rbx), %rsi
159 movq %rbp, %rdi
160 call __GI_xdr_des_block
161 testl %eax, %eax
162 setne %al
163 addq $8, %rsp
164 movzbl %al, %eax
165 popq %rbx
166 popq %rbp
168 .size __GI_xdr_cryptkeyres, .-__GI_xdr_cryptkeyres
169 .globl __EI_xdr_cryptkeyres
170 .set __EI_xdr_cryptkeyres,__GI_xdr_cryptkeyres
171 .p2align 4,,15
172 .globl __GI_xdr_unixcred
173 .hidden __GI_xdr_unixcred
174 .type __GI_xdr_unixcred, @function
175 __GI_xdr_unixcred:
176 pushq %rbp
177 pushq %rbx
178 movq %rdi, %rbp
179 movq %rsi, %rbx
180 subq $8, %rsp
181 call __GI_xdr_u_int
182 testl %eax, %eax
183 jne .L33
184 .L35:
185 addq $8, %rsp
186 xorl %eax, %eax
187 popq %rbx
188 popq %rbp
190 .p2align 4,,10
191 .p2align 3
192 .L33:
193 leaq 4(%rbx), %rsi
194 movq %rbp, %rdi
195 call __GI_xdr_u_int
196 testl %eax, %eax
197 je .L35
198 leaq 8(%rbx), %rdx
199 leaq 16(%rbx), %rsi
200 leaq __GI_xdr_u_int(%rip), %r9
201 movq %rbp, %rdi
202 movl $4, %r8d
203 movl $16, %ecx
204 call __GI_xdr_array
205 testl %eax, %eax
206 setne %al
207 addq $8, %rsp
208 movzbl %al, %eax
209 popq %rbx
210 popq %rbp
212 .size __GI_xdr_unixcred, .-__GI_xdr_unixcred
213 .globl __EI_xdr_unixcred
214 .set __EI_xdr_unixcred,__GI_xdr_unixcred
215 .p2align 4,,15
216 .globl __GI_xdr_getcredres
217 .hidden __GI_xdr_getcredres
218 .type __GI_xdr_getcredres, @function
219 __GI_xdr_getcredres:
220 pushq %rbp
221 pushq %rbx
222 movq %rdi, %rbp
223 movq %rsi, %rbx
224 subq $8, %rsp
225 call __GI_xdr_enum
226 testl %eax, %eax
227 je .L40
228 movl (%rbx), %eax
229 testl %eax, %eax
230 je .L49
231 movl $1, %eax
232 .L40:
233 addq $8, %rsp
234 popq %rbx
235 popq %rbp
237 .p2align 4,,10
238 .p2align 3
239 .L49:
240 leaq 8(%rbx), %rsi
241 movq %rbp, %rdi
242 call __GI_xdr_unixcred
243 testl %eax, %eax
244 setne %al
245 addq $8, %rsp
246 movzbl %al, %eax
247 popq %rbx
248 popq %rbp
250 .size __GI_xdr_getcredres, .-__GI_xdr_getcredres
251 .globl __EI_xdr_getcredres
252 .set __EI_xdr_getcredres,__GI_xdr_getcredres
253 .p2align 4,,15
254 .globl __GI_xdr_key_netstarg
255 .hidden __GI_xdr_key_netstarg
256 .type __GI_xdr_key_netstarg, @function
257 __GI_xdr_key_netstarg:
258 pushq %rbp
259 pushq %rbx
260 movl $48, %edx
261 movq %rdi, %rbp
262 movq %rsi, %rbx
263 subq $8, %rsp
264 call __GI_xdr_opaque
265 testl %eax, %eax
266 jne .L51
267 .L53:
268 addq $8, %rsp
269 xorl %eax, %eax
270 popq %rbx
271 popq %rbp
273 .p2align 4,,10
274 .p2align 3
275 .L51:
276 leaq 48(%rbx), %rsi
277 movl $48, %edx
278 movq %rbp, %rdi
279 call __GI_xdr_opaque
280 testl %eax, %eax
281 je .L53
282 leaq 96(%rbx), %rsi
283 movq %rbp, %rdi
284 movl $255, %edx
285 call __GI_xdr_string
286 testl %eax, %eax
287 setne %al
288 addq $8, %rsp
289 movzbl %al, %eax
290 popq %rbx
291 popq %rbp
293 .size __GI_xdr_key_netstarg, .-__GI_xdr_key_netstarg
294 .globl __EI_xdr_key_netstarg
295 .set __EI_xdr_key_netstarg,__GI_xdr_key_netstarg
296 .p2align 4,,15
297 .globl __GI_xdr_key_netstres
298 .hidden __GI_xdr_key_netstres
299 .type __GI_xdr_key_netstres, @function
300 __GI_xdr_key_netstres:
301 pushq %rbp
302 pushq %rbx
303 movq %rdi, %rbp
304 movq %rsi, %rbx
305 subq $8, %rsp
306 call __GI_xdr_enum
307 testl %eax, %eax
308 je .L58
309 movl (%rbx), %eax
310 testl %eax, %eax
311 je .L67
312 movl $1, %eax
313 .L58:
314 addq $8, %rsp
315 popq %rbx
316 popq %rbp
318 .p2align 4,,10
319 .p2align 3
320 .L67:
321 leaq 8(%rbx), %rsi
322 movq %rbp, %rdi
323 call __GI_xdr_key_netstarg
324 testl %eax, %eax
325 setne %al
326 addq $8, %rsp
327 movzbl %al, %eax
328 popq %rbx
329 popq %rbp
331 .size __GI_xdr_key_netstres, .-__GI_xdr_key_netstres
332 .globl __EI_xdr_key_netstres
333 .set __EI_xdr_key_netstres,__GI_xdr_key_netstres