	.include	"features.inc"
	.section	.text
	.global	put
	.syntax	divided
	.type	put, %function
put:
	ldr	r2, [r1, #-4]	@ Length
	.ifdef NetBSD
	swi	#10485764	@ 10485760 + write system call number
	.else
	str	r7, [sp, #-4]!	@ Preserve r7
	mov	r7, #4		@ Write system call
	swi	#0
	ldr	r7, [sp], #4	@ Restore r7
	.endif
	RET
