clarify the purpose of this project
[nyanglibc.git] / nss / spwd-lookup.shared.s
blob36793d6effb3c3c186216715ab84c0fde109a2c8
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 "files"
9 .LC1:
10 .string "passwd"
11 .LC2:
12 .string "shadow"
13 #NO_APP
14 .text
15 .p2align 4,,15
16 .globl __GI___nss_shadow_lookup2
17 .hidden __GI___nss_shadow_lookup2
18 .type __GI___nss_shadow_lookup2, @function
19 __GI___nss_shadow_lookup2:
20 pushq %r13
21 pushq %r12
22 movq %rcx, %r13
23 pushq %rbp
24 pushq %rbx
25 movq %rsi, %rbp
26 movq %rdi, %rbx
27 movq %rdx, %r12
28 leaq __nss_shadow_database(%rip), %rcx
29 leaq .LC0(%rip), %rdx
30 leaq .LC1(%rip), %rsi
31 leaq .LC2(%rip), %rdi
32 subq $8, %rsp
33 call __GI___nss_database_lookup2
34 testl %eax, %eax
35 js .L2
36 movq __nss_shadow_database(%rip), %rax
37 movq %r13, %rcx
38 movq %r12, %rdx
39 movq %rbp, %rsi
40 movq %rbx, %rdi
41 movq %rax, (%rbx)
42 addq $8, %rsp
43 popq %rbx
44 popq %rbp
45 popq %r12
46 popq %r13
47 jmp __GI___nss_lookup
48 .p2align 4,,10
49 .p2align 3
50 .L2:
51 addq $8, %rsp
52 movl $-1, %eax
53 popq %rbx
54 popq %rbp
55 popq %r12
56 popq %r13
57 ret
58 .size __GI___nss_shadow_lookup2, .-__GI___nss_shadow_lookup2
59 .globl __nss_shadow_lookup2
60 .set __nss_shadow_lookup2,__GI___nss_shadow_lookup2
61 .hidden __nss_shadow_database