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