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