	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_collect_exit                   ## -- Begin function collect_exit
	.p2align	4, 0x90
_collect_exit:                          ## @collect_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_c_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.2:
	callq	_maybe_unlink
LBB0_3:
	movq	_o_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:
	callq	_maybe_unlink
LBB0_6:
	movq	_ldout@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:
	cmpq	$0, (%rdi)
	je	LBB0_9
## %bb.8:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dump_file
	movq	(%rbx), %rdi
	callq	_maybe_unlink
LBB0_9:
	movq	_lderrout@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	cmpq	$0, (%rdi)
	je	LBB0_12
## %bb.11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dump_file
	movq	(%rbx), %rdi
	callq	_maybe_unlink
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.13:
	movq	_output_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.14:
	cmpq	$0, (%rdi)
	je	LBB0_16
## %bb.15:
	callq	_maybe_unlink
LBB0_16:
	movl	%r14d, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_c_file,8,3                     ## @c_file
	.comm	_o_file,8,3                     ## @o_file
	.comm	_ldout,8,3                      ## @ldout
	.comm	_stdout,4,2                     ## @stdout
	.comm	_lderrout,8,3                   ## @lderrout
	.comm	_stderr,4,2                     ## @stderr
	.comm	_output_file,8,3                ## @output_file
	.comm	_export_file,8,3                ## @export_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_collect_exit                   ; -- Begin function collect_exit
	.p2align	2
_collect_exit:                          ; @collect_exit
	.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
Lloh0:
	adrp	x8, _c_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _c_file@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_maybe_unlink
LBB0_3:
Lloh3:
	adrp	x8, _o_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _o_file@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_maybe_unlink
LBB0_6:
Lloh6:
	adrp	x20, _ldout@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ldout@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _stdout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_dump_file
	ldr	x0, [x20]
	bl	_maybe_unlink
LBB0_9:
Lloh11:
	adrp	x20, _lderrout@GOTPAGE
Lloh12:
	ldr	x20, [x20, _lderrout@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_dump_file
	ldr	x0, [x20]
	bl	_maybe_unlink
LBB0_12:
	cbz	w19, LBB0_16
; %bb.13:
Lloh16:
	adrp	x8, _output_file@GOTPAGE
Lloh17:
	ldr	x8, [x8, _output_file@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	cbz	x0, LBB0_16
; %bb.14:
	ldr	x8, [x0]
	cbz	x8, LBB0_16
; %bb.15:
	bl	_maybe_unlink
LBB0_16:
	mov	x0, x19
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_c_file,8,3                     ; @c_file
	.comm	_o_file,8,3                     ; @o_file
	.comm	_ldout,8,3                      ; @ldout
	.comm	_stdout,4,2                     ; @stdout
	.comm	_lderrout,8,3                   ; @lderrout
	.comm	_stderr,4,2                     ; @stderr
	.comm	_output_file,8,3                ; @output_file
	.comm	_export_file,8,3                ; @export_file
.subsections_via_symbols
