clarify the purpose of this project
[nyanglibc.git] / libio / swprintf.shared.s
blob13b70c5da9f814b97db8aea3788b88bca2be11a6
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 __swprintf
9 .type __swprintf, @function
10 __swprintf:
11 subq $216, %rsp
12 testb %al, %al
13 movq %rcx, 56(%rsp)
14 movq %r8, 64(%rsp)
15 movq %r9, 72(%rsp)
16 je .L3
17 movaps %xmm0, 80(%rsp)
18 movaps %xmm1, 96(%rsp)
19 movaps %xmm2, 112(%rsp)
20 movaps %xmm3, 128(%rsp)
21 movaps %xmm4, 144(%rsp)
22 movaps %xmm5, 160(%rsp)
23 movaps %xmm6, 176(%rsp)
24 movaps %xmm7, 192(%rsp)
25 .L3:
26 leaq 224(%rsp), %rax
27 leaq 8(%rsp), %rcx
28 xorl %r8d, %r8d
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 __vswprintf_internal
35 addq $216, %rsp
36 ret
37 .size __swprintf, .-__swprintf
38 .globl swprintf
39 .set swprintf,__swprintf
40 .hidden __vswprintf_internal