	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_objfile                   ## -- Begin function free_objfile
	.p2align	4, 0x90
_free_objfile:                          ## @free_objfile
	.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
	movq	%rdi, %rbx
	movq	72(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free_objfile
LBB0_2:
	movq	64(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, (%rax)
LBB0_4:
	movq	56(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_6:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.7:
	callq	_bfd_get_filename
	movq	%rax, %r14
	movq	48(%rbx), %rdi
	callq	_bfd_close
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_warning
LBB0_9:
	movq	%r14, %rdi
	callq	_xfree
LBB0_10:
	movq	%rbx, %rdi
	callq	_unlink_objfile
	movq	_rt_common_objfile@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	$0, (%rax)
LBB0_12:
	xorl	%eax, %eax
	callq	_clear_pc_function_cache
	movq	%rbx, %rdi
	callq	_objfile_free_data
	movq	40(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:
	movl	(%rbx), %edi
	callq	_xmfree
LBB0_14:
	movq	32(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	movl	(%rbx), %edi
	callq	_xmfree
LBB0_16:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:
	movl	(%rbx), %edi
	callq	_xmfree
LBB0_18:
	movl	20(%rbx), %edi
	callq	_bcache_xfree
	movl	16(%rbx), %edi
	callq	_bcache_xfree
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_htab_delete
LBB0_20:
	leaq	4(%rbx), %rdi
	xorl	%esi, %esi
	callq	_obstack_free
	movl	(%rbx), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xmfree                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot close \"%s\": %s"

	.comm	_rt_common_objfile,8,3          ## @rt_common_objfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_objfile                   ; -- Begin function free_objfile
	.p2align	2
_free_objfile:                          ; @free_objfile
	.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
	ldr	x0, [x0, #72]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free_objfile
LBB0_2:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_4
; %bb.3:
	str	xzr, [x8]
LBB0_4:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_6:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_10
; %bb.7:
	bl	_bfd_get_filename
	mov	x20, x0
	ldr	x0, [x19, #48]
	bl	_bfd_close
	cbnz	w0, LBB0_9
; %bb.8:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_warning
LBB0_9:
	mov	x0, x20
	bl	_xfree
LBB0_10:
	mov	x0, x19
	bl	_unlink_objfile
Lloh2:
	adrp	x8, _rt_common_objfile@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rt_common_objfile@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x19
	b.ne	LBB0_12
; %bb.11:
	str	xzr, [x8]
LBB0_12:
	bl	_clear_pc_function_cache
	mov	x0, x19
	bl	_objfile_free_data
	ldr	x1, [x19, #40]
	cbz	x1, LBB0_14
; %bb.13:
	ldr	w0, [x19]
	bl	_xmfree
LBB0_14:
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_16
; %bb.15:
	ldr	w0, [x19]
	bl	_xmfree
LBB0_16:
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_18
; %bb.17:
	ldr	w0, [x19]
	bl	_xmfree
LBB0_18:
	ldr	w0, [x19, #20]
	bl	_bcache_xfree
	ldr	w0, [x19, #16]
	bl	_bcache_xfree
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_htab_delete
LBB0_20:
	add	x0, x19, #4
	mov	w1, #0
	bl	_obstack_free
	ldr	w0, [x19]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xmfree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot close \"%s\": %s"

	.comm	_rt_common_objfile,8,3          ; @rt_common_objfile
.subsections_via_symbols
