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