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