1/* Generated by gensyscalls.py. Do not edit. */ 2 3#include <private/bionic_asm.h> 4 5ENTRY(write) 6 mov ip, r7 7 .cfi_register r7, ip 8 ldr r7, =__NR_write 9 swi #0 10 mov r7, ip 11 .cfi_restore r7 12 cmn r0, #(MAX_ERRNO + 1) 13 bxls lr 14 neg r0, r0 15 b __set_errno_internal 16END(write) 17