clarify the purpose of this project
[nyanglibc.git] / libio / iovsprintf.shared.s
blob4d0ab1d11b573c442fc05f88858d17efcb3ffd38
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .type _IO_str_chk_overflow, @function
9 _IO_str_chk_overflow:
10 subq $8, %rsp
11 call __GI___chk_fail
12 .size _IO_str_chk_overflow, .-_IO_str_chk_overflow
13 .p2align 4,,15
14 .globl __vsprintf_internal
15 .hidden __vsprintf_internal
16 .type __vsprintf_internal, @function
17 __vsprintf_internal:
18 pushq %r15
19 pushq %r14
20 movq %rcx, %r15
21 pushq %r13
22 pushq %r12
23 movl %r8d, %r13d
24 pushq %rbp
25 pushq %rbx
26 xorl %r8d, %r8d
27 xorl %ecx, %ecx
28 movq %rdi, %r12
29 movq %rsi, %rbx
30 subq $248, %rsp
31 movq %rdx, %r14
32 movl $32768, %esi
33 movq %rsp, %rbp
34 movl $-1, %edx
35 movq $0, 136(%rsp)
36 movq %rbp, %rdi
37 call _IO_no_init@PLT
38 testb $4, %r13b
39 je .L5
40 leaq _IO_str_chk_jumps(%rip), %rax
41 movb $0, (%r12)
42 movq %rax, 216(%rsp)
43 .L6:
44 xorl %eax, %eax
45 cmpq $-1, %rbx
46 movq %r12, %rcx
47 setne %al
48 movq %r12, %rsi
49 movq %rbp, %rdi
50 subq %rax, %rbx
51 movq %rbx, %rdx
52 call _IO_str_init_static_internal@PLT
53 movq %r15, %rdx
54 movl %r13d, %ecx
55 movq %r14, %rsi
56 movq %rbp, %rdi
57 call __vfprintf_internal
58 movq 40(%rsp), %rdx
59 movb $0, (%rdx)
60 addq $248, %rsp
61 popq %rbx
62 popq %rbp
63 popq %r12
64 popq %r13
65 popq %r14
66 popq %r15
67 ret
68 .p2align 4,,10
69 .p2align 3
70 .L5:
71 leaq _IO_str_jumps(%rip), %rax
72 movq %rax, 216(%rsp)
73 jmp .L6
74 .size __vsprintf_internal, .-__vsprintf_internal
75 .p2align 4,,15
76 .globl __vsprintf
77 .type __vsprintf, @function
78 __vsprintf:
79 movq %rdx, %rcx
80 xorl %r8d, %r8d
81 movq %rsi, %rdx
82 movq $-1, %rsi
83 jmp __vsprintf_internal
84 .size __vsprintf, .-__vsprintf
85 .weak vsprintf
86 .set vsprintf,__vsprintf
87 .globl _IO_vsprintf
88 .set _IO_vsprintf,__vsprintf
89 .section __libc_IO_vtables,"aw",@progbits
90 .align 32
91 .type _IO_str_chk_jumps, @object
92 .size _IO_str_chk_jumps, 168
93 _IO_str_chk_jumps:
94 .quad 0
95 .quad 0
96 .quad _IO_str_finish
97 .quad _IO_str_chk_overflow
98 .quad __GI__IO_str_underflow
99 .quad __GI__IO_default_uflow
100 .quad __GI__IO_str_pbackfail
101 .quad __GI__IO_default_xsputn
102 .quad __GI__IO_default_xsgetn
103 .quad __GI__IO_str_seekoff
104 .quad _IO_default_seekpos
105 .quad _IO_default_setbuf
106 .quad _IO_default_sync
107 .quad __GI__IO_default_doallocate
108 .quad _IO_default_read
109 .quad _IO_default_write
110 .quad _IO_default_seek
111 .quad _IO_default_sync
112 .quad _IO_default_stat
113 .quad _IO_default_showmanyc
114 .quad _IO_default_imbue
115 .hidden _IO_str_jumps
116 .hidden __vfprintf_internal