	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exitshell_savedstatus          ## -- Begin function exitshell_savedstatus
	.p2align	4, 0x90
_exitshell_savedstatus:                 ## @exitshell_savedstatus
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_exiting@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_in_dotrap@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_last_trapsig@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movl	%ebx, %ecx
	addl	$128, %ecx
	movq	_exiting_exitstatus@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_7
LBB0_1:
	movq	_exiting_exitstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_6
LBB0_5:
	movq	_oexitstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_exiting_exitstatus@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	_oexitstatus@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_exitstatus@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	callq	_setjmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	_handler@GOTPCREL(%rip), %rax
	leaq	-40(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	_trap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:
	cmpb	$0, (%rdi)
	je	LBB0_11
## %bb.10:
	movq	_evalskip@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	$0, (%rax)
	xorl	%esi, %esi
	callq	_evalstring
LBB0_11:
	callq	_setjmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	_handler@GOTPCREL(%rip), %rax
	leaq	-32(%rbp), %rcx
	movq	%rcx, (%rax)
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_flushall
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.14:
	movq	_SIGSTOP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_19
## %bb.15:
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_19
## %bb.16:
	movq	_SIGTTIN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_19
## %bb.17:
	movq	_SIGTTOU@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_19
## %bb.18:
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_signal
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_sigemptyset
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sigaddset
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r15d, %r15d
	movl	%r15d, %edx
	movq	%r14, %rsi
	callq	_sigprocmask
	movl	%r15d, %eax
	callq	_getpid
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_kill
LBB0_19:
	movq	_exiting_exitstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_exiting,4,2                    ## @exiting
	.comm	_in_dotrap,8,3                  ## @in_dotrap
	.comm	_last_trapsig,4,2               ## @last_trapsig
	.comm	_exiting_exitstatus,4,2         ## @exiting_exitstatus
	.comm	_oexitstatus,4,2                ## @oexitstatus
	.comm	_exitstatus,4,2                 ## @exitstatus
	.comm	_handler,8,3                    ## @handler
	.comm	_trap,8,3                       ## @trap
	.comm	_evalskip,8,3                   ## @evalskip
	.comm	_FORCEINTON,4,2                 ## @FORCEINTON
	.comm	_SIGSTOP,4,2                    ## @SIGSTOP
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_SIGTTIN,4,2                    ## @SIGTTIN
	.comm	_SIGTTOU,4,2                    ## @SIGTTOU
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_SIG_UNBLOCK,4,2                ## @SIG_UNBLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exitshell_savedstatus          ; -- Begin function exitshell_savedstatus
	.p2align	2
_exitshell_savedstatus:                 ; @exitshell_savedstatus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, _exiting@GOTPAGE
Lloh1:
	ldr	x8, [x8, _exiting@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x21, _exiting_exitstatus@GOTPAGE
Lloh4:
	ldr	x21, [x21, _exiting_exitstatus@GOTPAGEOFF]
Lloh5:
	adrp	x8, _oexitstatus@GOTPAGE
Lloh6:
	ldr	x8, [x8, _oexitstatus@GOTPAGEOFF]
	cbnz	w9, LBB0_3
; %bb.1:
Lloh7:
	adrp	x9, _in_dotrap@GOTPAGE
Lloh8:
	ldr	x9, [x9, _in_dotrap@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x9]
Lloh10:
	adrp	x9, _last_trapsig@GOTPAGE
Lloh11:
	ldr	x9, [x9, _last_trapsig@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	x10, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	w19, #0
	ldr	w9, [x8]
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	ldr	w9, [x21]
	b	LBB0_6
LBB0_4:
	mov	x19, x9
	add	w9, w9, #128
LBB0_5:
	str	w9, [x21]
LBB0_6:
	str	w9, [x8]
Lloh13:
	adrp	x8, _exitstatus@GOTPAGE
Lloh14:
	ldr	x8, [x8, _exitstatus@GOTPAGEOFF]
Lloh15:
	str	w9, [x8]
	bl	_setjmp
Lloh16:
	adrp	x20, _handler@GOTPAGE
Lloh17:
	ldr	x20, [x20, _handler@GOTPAGEOFF]
	cbnz	w0, LBB0_10
; %bb.7:
	add	x8, sp, #24
	str	x8, [x20]
Lloh18:
	adrp	x8, _trap@GOTPAGE
Lloh19:
	ldr	x8, [x8, _trap@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.8:
	ldrb	w9, [x0]
	cbz	w9, LBB0_10
; %bb.9:
Lloh21:
	adrp	x10, _evalskip@GOTPAGE
Lloh22:
	ldr	x10, [x10, _evalskip@GOTPAGEOFF]
Lloh23:
	str	xzr, [x10]
	str	xzr, [x8]
	mov	w1, #0
	bl	_evalstring
LBB0_10:
	bl	_setjmp
	cbnz	w0, LBB0_12
; %bb.11:
	add	x8, sp, #16
	str	x8, [x20]
	bl	_flushall
LBB0_12:
	cbz	w19, LBB0_15
; %bb.13:
Lloh24:
	adrp	x8, _SIGSTOP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SIGSTOP@GOTPAGEOFF]
Lloh26:
	adrp	x9, _SIGTSTP@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SIGTSTP@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _SIGTTIN@GOTPAGE
Lloh31:
	ldr	x10, [x10, _SIGTTIN@GOTPAGEOFF]
Lloh32:
	adrp	x11, _SIGTTOU@GOTPAGE
Lloh33:
	ldr	x11, [x11, _SIGTTOU@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
Lloh35:
	ldr	w11, [x11]
	cmp	w19, w8
	ccmp	w19, w9, #4, ne
	ccmp	w19, w10, #4, ne
	ccmp	w19, w11, #4, ne
	b.eq	LBB0_15
; %bb.14:
Lloh36:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_signal
	add	x20, sp, #12
	mov	x0, x20
	bl	_sigemptyset
	mov	x0, x20
	mov	x1, x19
	bl	_sigaddset
Lloh39:
	adrp	x8, _SIG_UNBLOCK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SIG_UNBLOCK@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	x2, #0
	mov	x1, x20
	bl	_sigprocmask
	bl	_getpid
	mov	x1, x19
	bl	_kill
LBB0_15:
	ldr	w0, [x21]
	bl	__exit
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_exiting,4,2                    ; @exiting
	.comm	_in_dotrap,8,3                  ; @in_dotrap
	.comm	_last_trapsig,4,2               ; @last_trapsig
	.comm	_exiting_exitstatus,4,2         ; @exiting_exitstatus
	.comm	_oexitstatus,4,2                ; @oexitstatus
	.comm	_exitstatus,4,2                 ; @exitstatus
	.comm	_handler,8,3                    ; @handler
	.comm	_trap,8,3                       ; @trap
	.comm	_evalskip,8,3                   ; @evalskip
	.comm	_FORCEINTON,4,2                 ; @FORCEINTON
	.comm	_SIGSTOP,4,2                    ; @SIGSTOP
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_SIGTTIN,4,2                    ; @SIGTTIN
	.comm	_SIGTTOU,4,2                    ; @SIGTTOU
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_SIG_UNBLOCK,4,2                ; @SIG_UNBLOCK
.subsections_via_symbols
