clarify the purpose of this project
[nyanglibc.git] / libio / getwc_u.s
blob7e9b8ffb9b0b6dcf3e4afc01e68edadd2350cf3c
1 .text
2 .p2align 4,,15
3 .globl __getwc_unlocked
4 .type __getwc_unlocked, @function
5 __getwc_unlocked:
6 movq 160(%rdi), %rax
7 testq %rax, %rax
8 je .L2
9 movq (%rax), %rdx
10 cmpq 8(%rax), %rdx
11 jnb .L2
12 leaq 4(%rdx), %rcx
13 movq %rcx, (%rax)
14 movl (%rdx), %eax
15 ret
16 .p2align 4,,10
17 .p2align 3
18 .L2:
19 jmp __wuflow
20 .size __getwc_unlocked, .-__getwc_unlocked
21 .weak fgetwc_unlocked
22 .set fgetwc_unlocked,__getwc_unlocked
23 .weak getwc_unlocked
24 .set getwc_unlocked,__getwc_unlocked
25 .hidden __wuflow