clarify the purpose of this project
[nyanglibc.git] / io / internal_statvfs.shared.s
blob2be1448f3df5e1e701ac5413526f3172fd9191c2
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 __internal_statvfs
9 .hidden __internal_statvfs
10 .type __internal_statvfs, @function
11 __internal_statvfs:
12 movq 72(%rdx), %rcx
13 movq 8(%rdx), %rax
14 pxor %xmm0, %xmm0
15 testq %rcx, %rcx
16 movq %rax, (%rsi)
17 cmovne %rcx, %rax
18 movq 56(%rdx), %rcx
19 movq %rax, 8(%rsi)
20 movq 16(%rdx), %rax
21 movq %rax, 16(%rsi)
22 movq 24(%rdx), %rax
23 movq %rax, 24(%rsi)
24 movq 32(%rdx), %rax
25 movq %rax, 32(%rsi)
26 movq 40(%rdx), %rax
27 movq %rax, 40(%rsi)
28 movq 48(%rdx), %rax
29 movq %rcx, 64(%rsi)
30 movq 64(%rdx), %rcx
31 movups %xmm0, 88(%rsi)
32 movq %rax, 48(%rsi)
33 movq $0, 104(%rsi)
34 movq %rax, 56(%rsi)
35 movq 80(%rdx), %rax
36 movq %rcx, 80(%rsi)
37 xorq $32, %rax
38 movq %rax, 72(%rsi)
39 ret
40 .size __internal_statvfs, .-__internal_statvfs