	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execash_cleanup
_execash_cleanup:                       ## @execash_cleanup
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	48(%rbx), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	44(%rbx), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%rbx), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_doneinp@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	36(%rbx), %eax
	movq	_didcch@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	32(%rbx), %eax
	movq	_didfds@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_SHIN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_xclose
	movq	_SHOUT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_xclose
	movq	_SHDIAG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_xclose
	movq	_OLDSTD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_xclose
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	_dmove
	movl	%eax, (%r13)
	movl	%eax, %edi
	movl	$1, %esi
	callq	_close_on_exec
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	callq	_dmove
	movl	%eax, (%r12)
	movl	%eax, %edi
	movl	$1, %esi
	callq	_close_on_exec
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_dmove
	movl	%eax, (%r15)
	movl	%eax, %edi
	movl	$1, %esi
	callq	_close_on_exec
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_dmove
	movl	%eax, (%r14)
	movl	%eax, %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close_on_exec                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_doneinp,8,3                    ## @doneinp
	.comm	_didcch,4,2                     ## @didcch
	.comm	_didfds,4,2                     ## @didfds
	.comm	_SHIN,4,2                       ## @SHIN
	.comm	_SHOUT,4,2                      ## @SHOUT
	.comm	_SHDIAG,4,2                     ## @SHDIAG
	.comm	_OLDSTD,4,2                     ## @OLDSTD
	.no_dead_strip	_execash_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execash_cleanup
_execash_cleanup:                       ; @execash_cleanup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _SIGINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #48
	mov	x2, #0
	bl	_sigaction
Lloh3:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #44
	mov	x2, #0
	bl	_sigaction
Lloh6:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #40
	mov	x2, #0
	bl	_sigaction
Lloh9:
	adrp	x8, _doneinp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _doneinp@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
Lloh12:
	adrp	x8, _didcch@GOTPAGE
Lloh13:
	ldr	x8, [x8, _didcch@GOTPAGEOFF]
	ldp	w10, w9, [x19, #32]
Lloh14:
	str	w9, [x8]
Lloh15:
	adrp	x8, _didfds@GOTPAGE
Lloh16:
	ldr	x8, [x8, _didfds@GOTPAGEOFF]
Lloh17:
	str	w10, [x8]
Lloh18:
	adrp	x20, _SHIN@GOTPAGE
Lloh19:
	ldr	x20, [x20, _SHIN@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_xclose
Lloh20:
	adrp	x21, _SHOUT@GOTPAGE
Lloh21:
	ldr	x21, [x21, _SHOUT@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_xclose
Lloh22:
	adrp	x22, _SHDIAG@GOTPAGE
Lloh23:
	ldr	x22, [x22, _SHDIAG@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_xclose
Lloh24:
	adrp	x23, _OLDSTD@GOTPAGE
Lloh25:
	ldr	x23, [x23, _OLDSTD@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_xclose
	ldp	w1, w0, [x19, #24]
	bl	_dmove
	str	w0, [x20]
	mov	w1, #1
	bl	_close_on_exec
	ldp	w1, w0, [x19, #16]
	bl	_dmove
	str	w0, [x21]
	mov	w1, #1
	bl	_close_on_exec
	ldp	w1, w0, [x19, #8]
	bl	_dmove
	str	w0, [x22]
	mov	w1, #1
	bl	_close_on_exec
	ldp	w1, w0, [x19]
	bl	_dmove
	str	w0, [x23]
	mov	w1, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_close_on_exec
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_doneinp,8,3                    ; @doneinp
	.comm	_didcch,4,2                     ; @didcch
	.comm	_didfds,4,2                     ; @didfds
	.comm	_SHIN,4,2                       ; @SHIN
	.comm	_SHOUT,4,2                      ; @SHOUT
	.comm	_SHDIAG,4,2                     ; @SHDIAG
	.comm	_OLDSTD,4,2                     ; @OLDSTD
	.no_dead_strip	_execash_cleanup
.subsections_via_symbols
