#include "libc/macros.h"
.text.unlikely

	.ftrace1
enospc:
	.ftrace2
#ifdef __x86_64__
	.leafprologue
	mov	ENOSPC(%rip),%ecx
	jmp	__errfun
#elif defined(__aarch64__)
	adrp	x1,ENOSPC
	ldrsw	x0,[x1,#:lo12:ENOSPC]
	b	__errfun
#else
#error "unsupported architecture"
#endif
	.endfn	enospc,globl,hidden
