	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup
_cleanup:                               ## @cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_output_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_2
## %bb.1:
	callq	_close
LBB0_2:
	movq	_input_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_4
## %bb.3:
	callq	_close
LBB0_4:
	movq	_success@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_output_f@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	popq	%rbp
	jmp	_unlink                         ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_output_file,8,3                ## @output_file
	.comm	_input_file,8,3                 ## @input_file
	.comm	_success,8,3                    ## @success
	.comm	_output_f,8,3                   ## @output_f
	.no_dead_strip	_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup
_cleanup:                               ; @cleanup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _output_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _output_file@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	bl	_close
LBB0_2:
Lloh3:
	adrp	x8, _input_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _input_file@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_4
; %bb.3:
	bl	_close
LBB0_4:
Lloh6:
	adrp	x8, _success@GOTPAGE
Lloh7:
	ldr	x8, [x8, _success@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _output_f@GOTPAGE
Lloh10:
	ldr	x9, [x9, _output_f@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x9]
	cmp	x8, #0
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_unlink
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_output_file,8,3                ; @output_file
	.comm	_input_file,8,3                 ; @input_file
	.comm	_success,8,3                    ; @success
	.comm	_output_f,8,3                   ; @output_f
	.no_dead_strip	_cleanup
.subsections_via_symbols
