	.section	.text
	.global	read
	.syntax	divided
read:
	.ifdef	NetBSD
	swi	#10485763		@ 10485760 + read system call number
	mov	pc, lr
	.else
	stmdb	sp!, {r7, lr}
	mov	r7, #3			@ Read system call number
	swi	#0
	ldm	sp!, {r7, pc}
	.endif
