clarify the purpose of this project
[nyanglibc.git] / sunrpc / compat-clnt_perr.shared.s
blob842d5b4a1cc2597cba6a656fdb5c6d4809e374c6
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __EI_clnt_sperror, clnt_sperror@GLIBC_2.2.5
7 .symver __EI_clnt_spcreateerror, clnt_spcreateerror@GLIBC_2.2.5
8 #NO_APP
9 .section __libc_freeres_fn,"ax",@progbits
10 .p2align 4,,15
11 .type free_mem, @function
12 free_mem:
13 .LFB73:
14 subq $8, %rsp
15 call __rpc_thread_variables
16 movq 176(%rax), %rdi
17 addq $8, %rsp
18 jmp free@PLT
19 .LFE73:
20 .size free_mem, .-free_mem
21 .section .rodata.str1.1,"aMS",@progbits,1
22 .LC0:
23 .string "RPC: (unknown error code)"
24 .text
25 .p2align 4,,15
26 .globl __GI_clnt_sperrno
27 .hidden __GI_clnt_sperrno
28 .type __GI_clnt_sperrno, @function
29 __GI_clnt_sperrno:
30 .LFB68:
31 xorl %edx, %edx
32 xorl %eax, %eax
33 leaq rpc_errlist(%rip), %rcx
34 jmp .L7
35 .p2align 4,,10
36 .p2align 3
37 .L5:
38 addq $1, %rax
39 cmpq $18, %rax
40 je .L6
41 movl (%rcx,%rax,8), %edx
42 .L7:
43 cmpl %edx, %edi
44 jne .L5
45 leaq rpc_errlist(%rip), %rdx
46 leaq __GI__libc_intl_domainname(%rip), %rdi
47 movl 4(%rdx,%rax,8), %esi
48 leaq rpc_errstr(%rip), %rax
49 movl $5, %edx
50 addq %rax, %rsi
51 jmp __GI___dcgettext
52 .p2align 4,,10
53 .p2align 3
54 .L6:
55 leaq .LC0(%rip), %rsi
56 leaq __GI__libc_intl_domainname(%rip), %rdi
57 movl $5, %edx
58 jmp __GI___dcgettext
59 .LFE68:
60 .size __GI_clnt_sperrno, .-__GI_clnt_sperrno
61 .globl clnt_sperrno
62 .set clnt_sperrno,__GI_clnt_sperrno
63 .section .rodata.str1.1
64 .LC1:
65 .string "%s: %s\n"
66 .LC2:
67 .string "%s: %s; errno = %s\n"
68 .LC3:
69 .string "%s: %s; why = %s\n"
70 .section .rodata.str1.8,"aMS",@progbits,1
71 .align 8
72 .LC4:
73 .string "%s: %s; why = (unknown authentication error - %d)\n"
74 .align 8
75 .LC5:
76 .string "%s: %s; low version = %lu, high version = %lu"
77 .section .rodata.str1.1
78 .LC6:
79 .string "%s: %s; s1 = %lu, s2 = %lu"
80 .text
81 .p2align 4,,15
82 .globl __GI_clnt_sperror
83 .hidden __GI_clnt_sperror
84 .type __GI_clnt_sperror, @function
85 __GI_clnt_sperror:
86 .LFB66:
87 pushq %r13
88 pushq %r12
89 pushq %rbp
90 pushq %rbx
91 movq %rsi, %rbx
92 subq $1080, %rsp
93 movq 8(%rdi), %rax
94 leaq 16(%rsp), %rsi
95 call *16(%rax)
96 movl 16(%rsp), %edi
97 call __GI_clnt_sperrno
98 cmpl $17, 16(%rsp)
99 movq %rax, %rbp
100 ja .L9
101 movl 16(%rsp), %eax
102 leaq .L11(%rip), %rdx
103 movslq (%rdx,%rax,4), %rax
104 addq %rdx, %rax
105 jmp *%rax
106 .section .rodata
107 .align 4
108 .align 4
109 .L11:
110 .long .L10-.L11
111 .long .L10-.L11
112 .long .L10-.L11
113 .long .L12-.L11
114 .long .L12-.L11
115 .long .L10-.L11
116 .long .L13-.L11
117 .long .L14-.L11
118 .long .L10-.L11
119 .long .L13-.L11
120 .long .L10-.L11
121 .long .L10-.L11
122 .long .L10-.L11
123 .long .L10-.L11
124 .long .L10-.L11
125 .long .L10-.L11
126 .long .L10-.L11
127 .long .L10-.L11
128 .text
129 .p2align 4,,10
130 .p2align 3
131 .L13:
132 movq 32(%rsp), %r13
133 movq 24(%rsp), %r12
134 leaq .LC5(%rip), %rsi
135 leaq __GI__libc_intl_domainname(%rip), %rdi
136 movl $5, %edx
137 call __GI___dcgettext
138 leaq 8(%rsp), %rdi
139 movq %rax, %rsi
140 movq %r13, %r9
141 movq %r12, %r8
142 movq %rbp, %rcx
143 movq %rbx, %rdx
144 xorl %eax, %eax
145 call __GI___asprintf
146 .L15:
147 testl %eax, %eax
148 js .L22
149 .L28:
150 call __rpc_thread_variables
151 movq 8(%rsp), %rdx
152 movq 176(%rax), %rdi
153 movq %rdx, 176(%rax)
154 call free@PLT
155 movq 8(%rsp), %rax
156 addq $1080, %rsp
157 popq %rbx
158 popq %rbp
159 popq %r12
160 popq %r13
162 .p2align 4,,10
163 .p2align 3
164 .L12:
165 movl 24(%rsp), %edi
166 leaq 48(%rsp), %rsi
167 movl $1024, %edx
168 call __GI___strerror_r
169 leaq 8(%rsp), %rdi
170 leaq .LC2(%rip), %rsi
171 movq %rax, %r8
172 movq %rbp, %rcx
173 xorl %eax, %eax
174 movq %rbx, %rdx
175 call __GI___asprintf
176 testl %eax, %eax
177 jns .L28
178 .L22:
179 addq $1080, %rsp
180 xorl %eax, %eax
181 popq %rbx
182 popq %rbp
183 popq %r12
184 popq %r13
186 .p2align 4,,10
187 .p2align 3
188 .L14:
189 movl 24(%rsp), %r12d
190 xorl %edx, %edx
191 xorl %eax, %eax
192 leaq auth_errlist(%rip), %rcx
193 jmp .L20
194 .p2align 4,,10
195 .p2align 3
196 .L30:
197 movl (%rcx,%rax,8), %edx
198 .L20:
199 cmpl %edx, %r12d
200 je .L29
201 addq $1, %rax
202 cmpq $8, %rax
203 jne .L30
204 .L19:
205 leaq .LC4(%rip), %rsi
206 leaq __GI__libc_intl_domainname(%rip), %rdi
207 movl $5, %edx
208 call __GI___dcgettext
209 leaq 8(%rsp), %rdi
210 movq %rax, %rsi
211 movl %r12d, %r8d
212 movq %rbp, %rcx
213 movq %rbx, %rdx
214 xorl %eax, %eax
215 call __GI___asprintf
216 jmp .L15
217 .p2align 4,,10
218 .p2align 3
219 .L10:
220 leaq 8(%rsp), %rdi
221 leaq .LC1(%rip), %rsi
222 movq %rbp, %rcx
223 movq %rbx, %rdx
224 xorl %eax, %eax
225 call __GI___asprintf
226 jmp .L15
227 .p2align 4,,10
228 .p2align 3
229 .L9:
230 movq 32(%rsp), %r9
231 movq 24(%rsp), %r8
232 leaq 8(%rsp), %rdi
233 leaq .LC6(%rip), %rsi
234 movq %rax, %rcx
235 movq %rbx, %rdx
236 xorl %eax, %eax
237 call __GI___asprintf
238 jmp .L15
239 .p2align 4,,10
240 .p2align 3
241 .L29:
242 leaq auth_errlist(%rip), %rdx
243 leaq __GI__libc_intl_domainname(%rip), %rdi
244 movl 4(%rdx,%rax,8), %esi
245 leaq auth_errstr(%rip), %rax
246 movl $5, %edx
247 addq %rax, %rsi
248 call __GI___dcgettext
249 testq %rax, %rax
250 movq %rax, %r12
251 je .L31
252 leaq .LC3(%rip), %rsi
253 leaq __GI__libc_intl_domainname(%rip), %rdi
254 movl $5, %edx
255 call __GI___dcgettext
256 leaq 8(%rsp), %rdi
257 movq %rax, %rsi
258 movq %r12, %r8
259 movq %rbp, %rcx
260 movq %rbx, %rdx
261 xorl %eax, %eax
262 call __GI___asprintf
263 jmp .L15
264 .L31:
265 movl 24(%rsp), %r12d
266 jmp .L19
267 .LFE66:
268 .size __GI_clnt_sperror, .-__GI_clnt_sperror
269 .globl __EI_clnt_sperror
270 .set __EI_clnt_sperror,__GI_clnt_sperror
271 .section .rodata.str1.1
272 .LC7:
273 .string "%s"
274 .text
275 .p2align 4,,15
276 .globl __GI_clnt_perror
277 .hidden __GI_clnt_perror
278 .type __GI_clnt_perror, @function
279 __GI_clnt_perror:
280 .LFB67:
281 subq $8, %rsp
282 call __GI_clnt_sperror
283 leaq .LC7(%rip), %rsi
284 movq %rax, %rdx
285 xorl %edi, %edi
286 xorl %eax, %eax
287 addq $8, %rsp
288 jmp __fxprintf
289 .LFE67:
290 .size __GI_clnt_perror, .-__GI_clnt_perror
291 .globl clnt_perror
292 .set clnt_perror,__GI_clnt_perror
293 .p2align 4,,15
294 .globl __GI_clnt_perrno
295 .hidden __GI_clnt_perrno
296 .type __GI_clnt_perrno, @function
297 __GI_clnt_perrno:
298 .LFB69:
299 subq $8, %rsp
300 call __GI_clnt_sperrno
301 leaq .LC7(%rip), %rsi
302 movq %rax, %rdx
303 xorl %edi, %edi
304 xorl %eax, %eax
305 addq $8, %rsp
306 jmp __fxprintf
307 .LFE69:
308 .size __GI_clnt_perrno, .-__GI_clnt_perrno
309 .globl clnt_perrno
310 .set clnt_perrno,__GI_clnt_perrno
311 .section .rodata.str1.1
312 .LC8:
313 .string " - "
314 .LC9:
315 .string ""
316 .LC10:
317 .string "%s: %s%s%s\n"
318 .text
319 .p2align 4,,15
320 .globl __GI_clnt_spcreateerror
321 .hidden __GI_clnt_spcreateerror
322 .type __GI_clnt_spcreateerror, @function
323 __GI_clnt_spcreateerror:
324 .LFB70:
325 pushq %r12
326 pushq %rbp
327 movq %rdi, %r12
328 pushq %rbx
329 subq $1040, %rsp
330 call __GI___rpc_thread_createerr
331 movl (%rax), %edi
332 movq %rax, %rbx
333 cmpl $12, %edi
334 je .L38
335 cmpl $14, %edi
336 je .L45
337 leaq .LC9(%rip), %rbp
338 movq %rbp, %rbx
339 .L37:
340 call __GI_clnt_sperrno
341 leaq 8(%rsp), %rdi
342 leaq .LC10(%rip), %rsi
343 movq %rax, %rcx
344 movq %rbp, %r9
345 xorl %eax, %eax
346 movq %rbx, %r8
347 movq %r12, %rdx
348 call __GI___asprintf
349 testl %eax, %eax
350 js .L42
351 call __rpc_thread_variables
352 movq 8(%rsp), %rdx
353 movq 176(%rax), %rdi
354 movq %rdx, 176(%rax)
355 call free@PLT
356 movq 8(%rsp), %rax
357 addq $1040, %rsp
358 popq %rbx
359 popq %rbp
360 popq %r12
362 .p2align 4,,10
363 .p2align 3
364 .L45:
365 movl 8(%rax), %edi
366 call __GI_clnt_sperrno
367 movl (%rbx), %edi
368 movq %rax, %rbp
369 leaq .LC8(%rip), %rbx
370 jmp .L37
371 .p2align 4,,10
372 .p2align 3
373 .L38:
374 movl 16(%rax), %edi
375 leaq 16(%rsp), %rsi
376 movl $1024, %edx
377 call __GI___strerror_r
378 movl (%rbx), %edi
379 movq %rax, %rbp
380 leaq .LC8(%rip), %rbx
381 jmp .L37
382 .p2align 4,,10
383 .p2align 3
384 .L42:
385 addq $1040, %rsp
386 xorl %eax, %eax
387 popq %rbx
388 popq %rbp
389 popq %r12
391 .LFE70:
392 .size __GI_clnt_spcreateerror, .-__GI_clnt_spcreateerror
393 .globl __EI_clnt_spcreateerror
394 .set __EI_clnt_spcreateerror,__GI_clnt_spcreateerror
395 .p2align 4,,15
396 .globl __GI_clnt_pcreateerror
397 .hidden __GI_clnt_pcreateerror
398 .type __GI_clnt_pcreateerror, @function
399 __GI_clnt_pcreateerror:
400 .LFB71:
401 subq $8, %rsp
402 call __GI_clnt_spcreateerror
403 leaq .LC7(%rip), %rsi
404 movq %rax, %rdx
405 xorl %edi, %edi
406 xorl %eax, %eax
407 addq $8, %rsp
408 jmp __fxprintf
409 .LFE71:
410 .size __GI_clnt_pcreateerror, .-__GI_clnt_pcreateerror
411 .globl clnt_pcreateerror
412 .set clnt_pcreateerror,__GI_clnt_pcreateerror
413 .section __libc_subfreeres,"aw",@progbits
414 .align 8
415 .type __elf_set___libc_subfreeres_element_free_mem__, @object
416 .size __elf_set___libc_subfreeres_element_free_mem__, 8
417 __elf_set___libc_subfreeres_element_free_mem__:
418 .quad free_mem
419 .section .rodata
420 .align 32
421 .type auth_errlist, @object
422 .size auth_errlist, 64
423 auth_errlist:
424 .long 0
425 .long 0
426 .long 1
427 .long 18
428 .long 2
429 .long 44
430 .long 3
431 .long 71
432 .long 4
433 .long 95
434 .long 5
435 .long 120
436 .long 6
437 .long 147
438 .long 7
439 .long 171
440 .align 32
441 .type auth_errstr, @object
442 .size auth_errstr, 198
443 auth_errstr:
444 .string "Authentication OK"
445 .string "Invalid client credential"
446 .string "Server rejected credential"
447 .string "Invalid client verifier"
448 .string "Server rejected verifier"
449 .string "Client credential too weak"
450 .string "Invalid server verifier"
451 .string "Failed (unspecified error)"
452 .align 32
453 .type rpc_errlist, @object
454 .size rpc_errlist, 144
455 rpc_errlist:
456 .long 0
457 .long 0
458 .long 1
459 .long 13
460 .long 2
461 .long 41
462 .long 3
463 .long 66
464 .long 4
465 .long 86
466 .long 5
467 .long 109
468 .long 6
469 .long 124
470 .long 7
471 .long 158
472 .long 8
473 .long 184
474 .long 9
475 .long 209
476 .long 10
477 .long 239
478 .long 11
479 .long 266
480 .long 12
481 .long 301
482 .long 13
483 .long 326
484 .long 17
485 .long 344
486 .long 14
487 .long 366
488 .long 15
489 .long 391
490 .long 16
491 .long 419
492 .align 32
493 .type rpc_errstr, @object
494 .size rpc_errstr, 451
495 rpc_errstr:
496 .string "RPC: Success"
497 .string "RPC: Can't encode arguments"
498 .string "RPC: Can't decode result"
499 .string "RPC: Unable to send"
500 .string "RPC: Unable to receive"
501 .string "RPC: Timed out"
502 .string "RPC: Incompatible versions of RPC"
503 .string "RPC: Authentication error"
504 .string "RPC: Program unavailable"
505 .string "RPC: Program/version mismatch"
506 .string "RPC: Procedure unavailable"
507 .string "RPC: Server can't decode arguments"
508 .string "RPC: Remote system error"
509 .string "RPC: Unknown host"
510 .string "RPC: Unknown protocol"
511 .string "RPC: Port mapper failure"
512 .string "RPC: Program not registered"
513 .string "RPC: Failed (unspecified error)"
514 .hidden __fxprintf
515 .hidden __rpc_thread_variables