clarify the purpose of this project
[nyanglibc.git] / debug / wprintf_chk.shared.s
blob13e39a83a013c51c7e0e3666b857597c75c5c8d0
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_chk
9 .type __wprintf_chk, @function
10 __wprintf_chk:
11 .LFB68:
12 subq $216, %rsp
13 testb %al, %al
14 movq %rdx, 48(%rsp)
15 movq %rcx, 56(%rsp)
16 movq %r8, 64(%rsp)
17 movq %r9, 72(%rsp)
18 je .L5
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 .L5:
28 leaq 224(%rsp), %rax
29 xorl %ecx, %ecx
30 testl %edi, %edi
31 setg %cl
32 leaq 8(%rsp), %rdx
33 addl %ecx, %ecx
34 movq %rax, 16(%rsp)
35 leaq 32(%rsp), %rax
36 movl $16, 8(%rsp)
37 movl $48, 12(%rsp)
38 movq %rax, 24(%rsp)
39 movq stdout@GOTPCREL(%rip), %rax
40 movq (%rax), %rdi
41 call __vfwprintf_internal
42 addq $216, %rsp
43 ret
44 .LFE68:
45 .size __wprintf_chk, .-__wprintf_chk
46 .hidden __vfwprintf_internal