	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stack_popnumber                ## -- Begin function stack_popnumber
	.p2align	4, 0x90
_stack_popnumber:                       ## @stack_popnumber
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_stack_empty
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rax,%rax,2), %rax
	movq	16(%rcx,%rax,8), %rdi
	callq	_array_free
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	leaq	(%rcx,%rcx,2), %rdx
	movq	$0, 16(%rax,%rdx,8)
	movq	(%rax,%rdx,8), %rsi
	movq	_BCODE_NUMBER@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_4
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rbx)
	movq	8(%rax,%rdx,8), %rax
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCODE_NUMBER,8,3               ## @BCODE_NUMBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not a number"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stack_popnumber                ; -- Begin function stack_popnumber
	.p2align	2
_stack_popnumber:                       ; @stack_popnumber
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_stack_empty
	cbnz	x0, LBB0_4
; %bb.1:
	ldp	x9, x8, [x19]
	mov	w20, #24
	madd	x8, x9, x20, x8
	ldr	x0, [x8, #16]
	bl	_array_free
	ldp	x9, x8, [x19]
	madd	x10, x9, x20, x8
	str	xzr, [x10, #16]
	ldr	x10, [x10]
Lloh0:
	adrp	x11, _BCODE_NUMBER@GOTPAGE
Lloh1:
	ldr	x11, [x11, _BCODE_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.2:
	sub	x10, x9, #1
	str	x10, [x19]
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	x0, [x8, #8]
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BCODE_NUMBER,8,3               ; @BCODE_NUMBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not a number"

.subsections_via_symbols
