	.section	.text
	.intel_syntax
	.global close
	.type	close, @function
close:
	mov	%eax, 6		# Close system call
	.ifdef	NetBSD
	int	128
	.else
	push	%ebx
	mov	%ebx, [%esp + 8]	# File descriptor
	int	128
	pop	%ebx
	.endif
	ret
