clarify the purpose of this project
[nyanglibc.git] / libio / swscanf.s
blob5b732bdb6f065748c8af7d34d528c5e3c07cc488
1 .text
2 .p2align 4,,15
3 .globl __swscanf
4 .type __swscanf, @function
5 __swscanf:
6 pushq %r12
7 pushq %rbp
8 movq %rdi, %r12
9 pushq %rbx
10 movq %rsi, %rbp
11 subq $688, %rsp
12 testb %al, %al
13 movq %rdx, 528(%rsp)
14 movq %rcx, 536(%rsp)
15 movq %r8, 544(%rsp)
16 movq %r9, 552(%rsp)
17 je .L3
18 movaps %xmm0, 560(%rsp)
19 movaps %xmm1, 576(%rsp)
20 movaps %xmm2, 592(%rsp)
21 movaps %xmm3, 608(%rsp)
22 movaps %xmm4, 624(%rsp)
23 movaps %xmm5, 640(%rsp)
24 movaps %xmm6, 656(%rsp)
25 movaps %xmm7, 672(%rsp)
26 .L3:
27 leaq 272(%rsp), %rbx
28 leaq 32(%rsp), %rcx
29 leaq _IO_wstr_jumps(%rip), %r8
30 xorl %edx, %edx
31 movl $32768, %esi
32 movq %rbx, %rdi
33 movq $0, 408(%rsp)
34 call _IO_no_init@PLT
35 movq %rbx, %rdi
36 movl $1, %esi
37 call _IO_fwide@PLT
38 movq %r12, %rsi
39 movq %rbx, %rdi
40 xorl %ecx, %ecx
41 xorl %edx, %edx
42 call _IO_wstr_init_static@PLT
43 leaq 720(%rsp), %rax
44 leaq 8(%rsp), %rdx
45 movq %rbp, %rsi
46 movq %rbx, %rdi
47 xorl %ecx, %ecx
48 movl $16, 8(%rsp)
49 movq %rax, 16(%rsp)
50 leaq 512(%rsp), %rax
51 movl $48, 12(%rsp)
52 movq %rax, 24(%rsp)
53 call __vfwscanf_internal
54 addq $688, %rsp
55 popq %rbx
56 popq %rbp
57 popq %r12
58 ret
59 .size __swscanf, .-__swscanf
60 .globl swscanf
61 .set swscanf,__swscanf
62 .hidden __vfwscanf_internal
63 .hidden _IO_wstr_jumps