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