	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unstack                        ## -- Begin function unstack
	.p2align	4, 0x90
_unstack:                               ## @unstack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ssp@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_input@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_Fclose
	movq	_cond@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_CANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_4:
	movq	(%rbx), %rcx
	xorl	%eax, %eax
	decq	%rcx
	movq	%rcx, (%rbx)
	movq	_sstack@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rcx,2), %rsi
	movq	(%rdx,%rsi,8), %rcx
	movq	%rcx, (%r15)
	movq	16(%rdx,%rsi,8), %rcx
	movq	_loading@GOTPCREL(%rip), %rdi
	movq	%rcx, (%rdi)
	movl	8(%rdx,%rsi,8), %edx
	movl	%edx, (%r14)
	jne	LBB0_6
	jmp	LBB0_5
LBB0_1:
	leaq	L_str.2(%rip), %rdi
	callq	_puts
	movl	$1, %eax
	xorl	%ecx, %ecx
LBB0_5:
	movq	_sourcing@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ssp,8,3                        ## @ssp
	.comm	_sourcing,8,3                   ## @sourcing
	.comm	_input,4,2                      ## @input
	.comm	_cond,8,3                       ## @cond
	.comm	_CANY,8,3                       ## @CANY
	.comm	_sstack,8,3                     ## @sstack
	.comm	_loading,8,3                    ## @loading
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Unmatched \"if\""

L_str.2:                                ## @str.2
	.asciz	"\"Source\" stack over-pop."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unstack                        ; -- Begin function unstack
	.p2align	2
_unstack:                               ; @unstack
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _ssp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ssp@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x19, _input@GOTPAGE
Lloh3:
	ldr	x19, [x19, _input@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_Fclose
Lloh4:
	adrp	x21, _cond@GOTPAGE
Lloh5:
	ldr	x21, [x21, _cond@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _CANY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CANY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x0, l_str@PAGE
Lloh10:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_3:
	mov	w0, #0
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _sstack@GOTPAGE
Lloh12:
	ldr	x9, [x9, _sstack@GOTPAGEOFF]
	subs	x8, x8, #1
	str	x8, [x20]
Lloh13:
	ldr	x9, [x9]
	mov	w10, #24
	madd	x9, x8, x10, x9
	ldr	x8, [x9]
	str	x8, [x21]
	ldr	x8, [x9, #16]
Lloh14:
	adrp	x10, _loading@GOTPAGE
Lloh15:
	ldr	x10, [x10, _loading@GOTPAGEOFF]
Lloh16:
	str	x8, [x10]
	ldr	w9, [x9, #8]
	str	w9, [x19]
	b.ne	LBB0_6
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x0, l_str.2@PAGE
Lloh18:
	add	x0, x0, l_str.2@PAGEOFF
	bl	_puts
	mov	x8, #0
	mov	w0, #1
LBB0_5:
Lloh19:
	adrp	x9, _sourcing@GOTPAGE
Lloh20:
	ldr	x9, [x9, _sourcing@GOTPAGEOFF]
Lloh21:
	str	x8, [x9]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ssp,8,3                        ; @ssp
	.comm	_sourcing,8,3                   ; @sourcing
	.comm	_input,4,2                      ; @input
	.comm	_cond,8,3                       ; @cond
	.comm	_CANY,8,3                       ; @CANY
	.comm	_sstack,8,3                     ; @sstack
	.comm	_loading,8,3                    ; @loading
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Unmatched \"if\""

l_str.2:                                ; @str.2
	.asciz	"\"Source\" stack over-pop."

.subsections_via_symbols
