clarify the purpose of this project
[nyanglibc.git] / time / ntp_gettimex.s
bloba9e95742b6dce3b43ce48f0fac579298564e30bc
1 .text
2 .p2align 4,,15
3 .globl __ntp_gettimex
4 .type __ntp_gettimex, @function
5 __ntp_gettimex:
6 pushq %rbx
7 movq %rdi, %rbx
8 xorl %edi, %edi
9 subq $208, %rsp
10 movq %rsp, %rsi
11 movl $0, (%rsp)
12 call __clock_adjtime
13 movq 24(%rsp), %rdx
14 movq $0, 40(%rbx)
15 movdqu 72(%rsp), %xmm0
16 movq $0, 48(%rbx)
17 movq $0, 56(%rbx)
18 movq %rdx, 16(%rbx)
19 movq 32(%rsp), %rdx
20 movups %xmm0, (%rbx)
21 movq $0, 64(%rbx)
22 movq %rdx, 24(%rbx)
23 movslq 160(%rsp), %rdx
24 movq %rdx, 32(%rbx)
25 addq $208, %rsp
26 popq %rbx
27 ret
28 .size __ntp_gettimex, .-__ntp_gettimex
29 .globl ntp_gettimex
30 .set ntp_gettimex,__ntp_gettimex
31 .hidden __clock_adjtime