clarify the purpose of this project
[nyanglibc.git] / debug / wprintf_chk.s
blobd67dc9e30eb1ead807a160d46bf90c0574858b83
1 .text
2 .p2align 4,,15
3 .globl __wprintf_chk
4 .type __wprintf_chk, @function
5 __wprintf_chk:
6 .LFB68:
7 subq $216, %rsp
8 testb %al, %al
9 movq %rdx, 48(%rsp)
10 movq %rcx, 56(%rsp)
11 movq %r8, 64(%rsp)
12 movq %r9, 72(%rsp)
13 je .L5
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 .L5:
23 leaq 224(%rsp), %rax
24 xorl %ecx, %ecx
25 testl %edi, %edi
26 setg %cl
27 leaq 8(%rsp), %rdx
28 addl %ecx, %ecx
29 movq stdout(%rip), %rdi
30 movq %rax, 16(%rsp)
31 leaq 32(%rsp), %rax
32 movl $16, 8(%rsp)
33 movl $48, 12(%rsp)
34 movq %rax, 24(%rsp)
35 call __vfwprintf_internal
36 addq $216, %rsp
37 ret
38 .LFE68:
39 .size __wprintf_chk, .-__wprintf_chk
40 .hidden __vfwprintf_internal