15043212b7615bc4c03463c4d242769de69cd4685Chris Dearman/* Generated by gensyscalls.py. Do not edit. */
25043212b7615bc4c03463c4d242769de69cd4685Chris Dearman
39abbbdc5346020e33a8fdbe7254dd0fdff9df616Elliott Hughes#include <private/bionic_asm.h>
45043212b7615bc4c03463c4d242769de69cd4685Chris Dearman
59abbbdc5346020e33a8fdbe7254dd0fdff9df616Elliott HughesENTRY(pread64)
65043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .set push
75043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .set noreorder
8ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    li $v0, __NR_pread64
95043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    syscall
10ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    bnez $a3, 1f
11ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    move $a0, $v0
12ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    j $ra
135043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    nop
145043212b7615bc4c03463c4d242769de69cd4685Chris Dearman1:
15ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    move $t0, $ra
16ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    bal 2f
175043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    nop
185043212b7615bc4c03463c4d242769de69cd4685Chris Dearman2:
19ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    .cpsetup $ra, $t1, 2b
20ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    LA $t9, __set_errno_internal
215043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .cpreturn
22ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    j $t9
23ab413c535c872a773b99a941bfba02ddc1711f4aElliott Hughes    move $ra, $t0
245043212b7615bc4c03463c4d242769de69cd4685Chris Dearman    .set pop
259abbbdc5346020e33a8fdbe7254dd0fdff9df616Elliott HughesEND(pread64)
265043212b7615bc4c03463c4d242769de69cd4685Chris Dearman
27fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3Christopher FerrisALIAS_SYMBOL(pread, pread64)
28