clarify the purpose of this project
[nyanglibc.git] / libio / __fpending.s
blob043e4788a894273fd55e2ccca3127c6154b14451
1 .text
2 .p2align 4,,15
3 .globl __fpending
4 .type __fpending, @function
5 __fpending:
6 movl 192(%rdi), %eax
7 testl %eax, %eax
8 jle .L2
9 movq 160(%rdi), %rdx
10 movq 32(%rdx), %rax
11 subq 24(%rdx), %rax
12 sarq $2, %rax
13 ret
14 .p2align 4,,10
15 .p2align 3
16 .L2:
17 movq 40(%rdi), %rax
18 subq 32(%rdi), %rax
19 ret
20 .size __fpending, .-__fpending