clarify the purpose of this project
[nyanglibc.git] / stdio-common / isoc99_vsscanf.s
blob3ae5840d88015ff8bf1133b0851638a9793be04d
1 .text
2 .p2align 4,,15
3 .globl __isoc99_vsscanf
4 .hidden __isoc99_vsscanf
5 .type __isoc99_vsscanf, @function
6 __isoc99_vsscanf:
7 pushq %r13
8 pushq %r12
9 movq %rdi, %r13
10 pushq %rbp
11 pushq %rbx
12 movq %rsi, %rbp
13 movq %rdx, %r12
14 xorl %r8d, %r8d
15 xorl %ecx, %ecx
16 subq $248, %rsp
17 movl $-1, %edx
18 movl $32768, %esi
19 movq %rsp, %rbx
20 movq $0, 136(%rsp)
21 movq %rbx, %rdi
22 call _IO_no_init@PLT
23 leaq _IO_str_jumps(%rip), %rax
24 movq %r13, %rsi
25 movq %rbx, %rdi
26 xorl %ecx, %ecx
27 xorl %edx, %edx
28 movq %rax, 216(%rsp)
29 call _IO_str_init_static_internal@PLT
30 movq %r12, %rdx
31 movq %rbp, %rsi
32 movq %rbx, %rdi
33 movl $2, %ecx
34 call __vfscanf_internal
35 addq $248, %rsp
36 popq %rbx
37 popq %rbp
38 popq %r12
39 popq %r13
40 ret
41 .size __isoc99_vsscanf, .-__isoc99_vsscanf
42 .hidden __vfscanf_internal
43 .hidden _IO_str_jumps