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