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