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