clarify the purpose of this project
[nyanglibc.git] / stdio-common / isoc99_sscanf.shared.s
blob442fff01e9f32309bc5a0dd187bd0577e35bad08
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_sscanf
9 .hidden __GI___isoc99_sscanf
10 .type __GI___isoc99_sscanf, @function
11 __GI___isoc99_sscanf:
12 pushq %r12
13 pushq %rbp
14 movq %rdi, %r12
15 pushq %rbx
16 movq %rsi, %rbp
17 subq $448, %rsp
18 testb %al, %al
19 movq %rdx, 288(%rsp)
20 movq %rcx, 296(%rsp)
21 movq %r8, 304(%rsp)
22 movq %r9, 312(%rsp)
23 je .L3
24 movaps %xmm0, 320(%rsp)
25 movaps %xmm1, 336(%rsp)
26 movaps %xmm2, 352(%rsp)
27 movaps %xmm3, 368(%rsp)
28 movaps %xmm4, 384(%rsp)
29 movaps %xmm5, 400(%rsp)
30 movaps %xmm6, 416(%rsp)
31 movaps %xmm7, 432(%rsp)
32 .L3:
33 leaq 32(%rsp), %rbx
34 xorl %r8d, %r8d
35 xorl %ecx, %ecx
36 movl $-1, %edx
37 movl $32768, %esi
38 movq %rbx, %rdi
39 movq $0, 168(%rsp)
40 call _IO_no_init@PLT
41 leaq _IO_str_jumps(%rip), %rax
42 movq %r12, %rsi
43 movq %rbx, %rdi
44 xorl %ecx, %ecx
45 xorl %edx, %edx
46 movq %rax, 248(%rsp)
47 call _IO_str_init_static_internal@PLT
48 leaq 480(%rsp), %rax
49 leaq 8(%rsp), %rdx
50 movq %rbp, %rsi
51 movq %rbx, %rdi
52 movl $2, %ecx
53 movl $16, 8(%rsp)
54 movq %rax, 16(%rsp)
55 leaq 272(%rsp), %rax
56 movl $48, 12(%rsp)
57 movq %rax, 24(%rsp)
58 call __vfscanf_internal
59 addq $448, %rsp
60 popq %rbx
61 popq %rbp
62 popq %r12
63 ret
64 .size __GI___isoc99_sscanf, .-__GI___isoc99_sscanf
65 .globl __isoc99_sscanf
66 .set __isoc99_sscanf,__GI___isoc99_sscanf
67 .hidden __vfscanf_internal
68 .hidden _IO_str_jumps