clarify the purpose of this project
[nyanglibc.git] / libio / putwc_u.s
blob48c653b0c956a183670dfa11394bfadb66e309b0
1 .text
2 .p2align 4,,15
3 .globl putwc_unlocked
4 .hidden putwc_unlocked
5 .type putwc_unlocked, @function
6 putwc_unlocked:
7 movq 160(%rsi), %rdx
8 movq %rsi, %rax
9 testq %rdx, %rdx
10 je .L2
11 movq 32(%rdx), %rcx
12 cmpq 40(%rdx), %rcx
13 jnb .L2
14 leaq 4(%rcx), %rax
15 movq %rax, 32(%rdx)
16 movl %edi, (%rcx)
17 movl %edi, %eax
18 ret
19 .p2align 4,,10
20 .p2align 3
21 .L2:
22 movl %edi, %esi
23 movq %rax, %rdi
24 jmp __woverflow
25 .size putwc_unlocked, .-putwc_unlocked
26 .hidden __woverflow