clarify the purpose of this project
[nyanglibc.git] / stdio-common / scanf.s
blobe5208d266ce952599f8d93c8824404091aeca48f
1 .text
2 .p2align 4,,15
3 .globl __scanf
4 .type __scanf, @function
5 __scanf:
6 .LFB68:
7 .cfi_startproc
8 subq $216, %rsp
9 .cfi_def_cfa_offset 224
10 testb %al, %al
11 movq %rsi, 40(%rsp)
12 movq %rdx, 48(%rsp)
13 movq %rcx, 56(%rsp)
14 movq %r8, 64(%rsp)
15 movq %r9, 72(%rsp)
16 je .L3
17 movaps %xmm0, 80(%rsp)
18 movaps %xmm1, 96(%rsp)
19 movaps %xmm2, 112(%rsp)
20 movaps %xmm3, 128(%rsp)
21 movaps %xmm4, 144(%rsp)
22 movaps %xmm5, 160(%rsp)
23 movaps %xmm6, 176(%rsp)
24 movaps %xmm7, 192(%rsp)
25 .L3:
26 leaq 224(%rsp), %rax
27 movq %rdi, %rsi
28 leaq 8(%rsp), %rdx
29 xorl %ecx, %ecx
30 movq stdin(%rip), %rdi
31 movq %rax, 16(%rsp)
32 leaq 32(%rsp), %rax
33 movl $8, 8(%rsp)
34 movl $48, 12(%rsp)
35 movq %rax, 24(%rsp)
36 call __vfscanf_internal
37 addq $216, %rsp
38 .cfi_def_cfa_offset 8
39 ret
40 .cfi_endproc
41 .LFE68:
42 .size __scanf, .-__scanf
43 .globl scanf
44 .set scanf,__scanf
45 .hidden __vfscanf_internal