15043212b7615bc4c03463c4d242769de69cd4685Chris Dearman/* Generated by gensyscalls.py. Do not edit. */
25043212b7615bc4c03463c4d242769de69cd4685Chris Dearman
39abbbdc5346020e33a8fdbe7254dd0fdff9df616Elliott Hughes#include <private/bionic_asm.h>
45043212b7615bc4c03463c4d242769de69cd4685Chris Dearman
59abbbdc5346020e33a8fdbe7254dd0fdff9df616Elliott HughesENTRY(gettimeofday)
65043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .set push
75043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .set noreorder
85043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    li v0, __NR_gettimeofday
95043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    syscall
105043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    bnez a3, 1f
115043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    move a0, v0
125043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    j ra
135043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    nop
145043212b7615bc4c03463c4d242769de69cd4685Chris Dearman1:
155043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    move t0, ra
165043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    bal     2f
175043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    nop
185043212b7615bc4c03463c4d242769de69cd4685Chris Dearman2:
195043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .cpsetup ra, t1, 2b
207efad83d430f4d824f2aaa75edea5106f6ff8aaeElliott Hughes    LA t9,__set_errno_internal
215043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .cpreturn
225043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    j t9
235043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    move ra, t0
245043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .set pop
259abbbdc5346020e33a8fdbe7254dd0fdff9df616Elliott HughesEND(gettimeofday)
26