	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doexit                         ## -- Begin function doexit
	.p2align	4, 0x90
_doexit:                                ## @doexit
	.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
	movq	%rsi, %rdi
	callq	_USE
	movq	_chkstop@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_intty@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_intact@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_evalvec@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_panystop
LBB0_4:
	leaq	8(%rbx), %rax
	movq	%rax, -16(%rbp)
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.5:
	movq	_STRstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-16(%rbp), %rdi
	callq	_expr
	movl	%eax, %edi
	callq	_putn
	movq	_VAR_READWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_setv
	movq	-16(%rbp), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_EXPRESSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_7:
	xorl	%eax, %eax
	callq	_btoeof
	movq	_SHIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xclose
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chkstop,8,3                    ## @chkstop
	.comm	_intty,8,3                      ## @intty
	.comm	_intact,8,3                     ## @intact
	.comm	_evalvec,8,3                    ## @evalvec
	.comm	_STRstatus,4,2                  ## @STRstatus
	.comm	_VAR_READWRITE,4,2              ## @VAR_READWRITE
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_EXPRESSION,4,2             ## @ERR_EXPRESSION
	.comm	_SHIN,4,2                       ## @SHIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doexit                         ; -- Begin function doexit
	.p2align	2
_doexit:                                ; @doexit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_USE
Lloh0:
	adrp	x8, _chkstop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _chkstop@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _intty@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intty@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _intact@GOTPAGE
Lloh7:
	ldr	x9, [x9, _intact@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh9:
	adrp	x9, _evalvec@GOTPAGE
Lloh10:
	ldr	x9, [x9, _evalvec@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	bl	_panystop
LBB0_3:
	ldr	x8, [x19, #8]!
	str	x19, [sp, #8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _STRstatus@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STRstatus@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	add	x0, sp, #8
	bl	_expr
	bl	_putn
	mov	x1, x0
Lloh15:
	adrp	x8, _VAR_READWRITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VAR_READWRITE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_setv
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _ERR_NAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ERR_EXPRESSION@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ERR_EXPRESSION@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_stderror
LBB0_6:
	bl	_btoeof
Lloh24:
	adrp	x8, _SHIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SHIN@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_xclose
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_chkstop,8,3                    ; @chkstop
	.comm	_intty,8,3                      ; @intty
	.comm	_intact,8,3                     ; @intact
	.comm	_evalvec,8,3                    ; @evalvec
	.comm	_STRstatus,4,2                  ; @STRstatus
	.comm	_VAR_READWRITE,4,2              ; @VAR_READWRITE
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_EXPRESSION,4,2             ; @ERR_EXPRESSION
	.comm	_SHIN,4,2                       ; @SHIN
.subsections_via_symbols
