clarify the purpose of this project
[nyanglibc.git] / io / fstatvfs.s
blob73a2bc4a8f66bc5b286a9bd83bc00cea15337331
1 .text
2 .p2align 4,,15
3 .globl __fstatvfs
4 .type __fstatvfs, @function
5 __fstatvfs:
6 pushq %r12
7 pushq %rbp
8 movq %rsi, %r12
9 pushq %rbx
10 movl %edi, %ebp
11 addq $-128, %rsp
12 movq %rsp, %rbx
13 movq %rbx, %rsi
14 call __fstatfs
15 testl %eax, %eax
16 js .L3
17 movl %ebp, %ecx
18 movq %rbx, %rdx
19 movq %r12, %rsi
20 xorl %edi, %edi
21 call __internal_statvfs
22 xorl %eax, %eax
23 .L1:
24 subq $-128, %rsp
25 popq %rbx
26 popq %rbp
27 popq %r12
28 ret
29 .p2align 4,,10
30 .p2align 3
31 .L3:
32 movl $-1, %eax
33 jmp .L1
34 .size __fstatvfs, .-__fstatvfs
35 .weak fstatvfs64
36 .set fstatvfs64,__fstatvfs
37 .globl __fstatvfs64
38 .set __fstatvfs64,__fstatvfs
39 .weak fstatvfs
40 .hidden fstatvfs
41 .set fstatvfs,__fstatvfs
42 .hidden __internal_statvfs
43 .hidden __fstatfs