	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stunalloc                      ## -- Begin function stunalloc
	.p2align	4, 0x90
_stunalloc:                             ## @stunalloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_stacknxt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subl	%edi, %ecx
	movq	_stacknleft@GOTPCREL(%rip), %rdx
	addl	%ecx, (%rdx)
	movq	%rdi, (%rax)
	popq	%rbp
	retq
LBB0_2:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$10, %edx
	callq	_write
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stunalloc\n"

	.comm	_stacknxt,8,3                   ## @stacknxt
	.comm	_stacknleft,4,2                 ## @stacknleft
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stunalloc                      ; -- Begin function stunalloc
	.p2align	2
_stunalloc:                             ; @stunalloc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _stacknxt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stacknxt@GOTPAGEOFF]
Lloh2:
	adrp	x9, _stacknleft@GOTPAGE
Lloh3:
	ldr	x9, [x9, _stacknleft@GOTPAGEOFF]
	ldr	w10, [x8]
	ldr	w11, [x9]
	sub	w10, w10, w0
	add	w10, w11, w10
	str	w10, [x9]
	str	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh4:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #10
	bl	_write
	bl	_abort
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stunalloc\n"

	.comm	_stacknxt,8,3                   ; @stacknxt
	.comm	_stacknleft,4,2                 ; @stacknleft
.subsections_via_symbols
