	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_output
_remove_output:                         ## @remove_output
	.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	_output_filename@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	_output_bfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_bfd_cache_close
LBB0_3:
	movq	_delete_output_file_on_failure@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_unlink_if_ordinary             ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_output_filename,8,3            ## @output_filename
	.comm	_output_bfd,8,3                 ## @output_bfd
	.comm	_delete_output_file_on_failure,8,3 ## @delete_output_file_on_failure
	.no_dead_strip	_remove_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_output
_remove_output:                         ; @remove_output
	.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
Lloh0:
	adrp	x19, _output_filename@GOTPAGE
Lloh1:
	ldr	x19, [x19, _output_filename@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _output_bfd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _output_bfd@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_bfd_cache_close
LBB0_3:
Lloh5:
	adrp	x8, _delete_output_file_on_failure@GOTPAGE
Lloh6:
	ldr	x8, [x8, _delete_output_file_on_failure@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_unlink_if_ordinary
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_output_filename,8,3            ; @output_filename
	.comm	_output_bfd,8,3                 ; @output_bfd
	.comm	_delete_output_file_on_failure,8,3 ; @delete_output_file_on_failure
	.no_dead_strip	_remove_output
.subsections_via_symbols
