clarify the purpose of this project
[nyanglibc.git] / libio / __freading.shared.s
blob78ced2c1aa8906c30ecb5df39677ef7813fda284
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 __freading
9 .type __freading, @function
10 __freading:
11 movl (%rdi), %edx
12 movl %edx, %eax
13 andl $8, %eax
14 jne .L3
15 andl $2052, %edx
16 jne .L1
17 xorl %eax, %eax
18 cmpq $0, 24(%rdi)
19 setne %al
20 ret
21 .p2align 4,,10
22 .p2align 3
23 .L3:
24 movl $1, %eax
25 .L1:
26 rep ret
27 .size __freading, .-__freading