clarify the purpose of this project
[nyanglibc.git] / libio / wscanf.shared.s
blobbc7f8101198cfc5e8f80c686ddc9006e1a1081e9
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __wscanf
9 .type __wscanf, @function
10 __wscanf:
11 subq $216, %rsp
12 testb %al, %al
13 movq %rsi, 40(%rsp)
14 movq %rdx, 48(%rsp)
15 movq %rcx, 56(%rsp)
16 movq %r8, 64(%rsp)
17 movq %r9, 72(%rsp)
18 je .L3
19 movaps %xmm0, 80(%rsp)
20 movaps %xmm1, 96(%rsp)
21 movaps %xmm2, 112(%rsp)
22 movaps %xmm3, 128(%rsp)
23 movaps %xmm4, 144(%rsp)
24 movaps %xmm5, 160(%rsp)
25 movaps %xmm6, 176(%rsp)
26 movaps %xmm7, 192(%rsp)
27 .L3:
28 leaq 224(%rsp), %rax
29 movq %rdi, %rsi
30 leaq 8(%rsp), %rdx
31 xorl %ecx, %ecx
32 movq %rax, 16(%rsp)
33 leaq 32(%rsp), %rax
34 movl $8, 8(%rsp)
35 movl $48, 12(%rsp)
36 movq %rax, 24(%rsp)
37 movq stdin@GOTPCREL(%rip), %rax
38 movq (%rax), %rdi
39 call __vfwscanf_internal
40 addq $216, %rsp
41 ret
42 .size __wscanf, .-__wscanf
43 .globl wscanf
44 .set wscanf,__wscanf
45 .hidden __vfwscanf_internal