	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_file
_process_file:                          ## @process_file
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_get_file_size
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bfd_openr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_bfd_fatal
LBB0_4:
	movq	_bfd_archive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_6:
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	callq	_bfd_check_format_matches
	testl	%eax, %eax
	je	LBB0_7
## %bb.10:
	testq	%r14, %r14
	je	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	xorl	%ebx, %ebx
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_14
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_17
LBB0_7:
	movq	%r12, %rdi
	callq	_bfd_get_filename
	movl	%eax, %edi
	callq	_bfd_nonfatal
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_file_ambiguously_recognized@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	-40(%rbp), %rdi
	callq	_list_matching_formats
	movq	-40(%rbp), %rdi
	callq	_free
LBB0_9:
	movl	$1, %edi
	callq	_xexit
	testq	%r14, %r14
	jne	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%r12, %rdi
	callq	_slurp_symtab
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_translate_addresses
	movq	_syms@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_free
	movq	$0, (%rbx)
LBB0_16:
	movq	%r12, %rdi
	callq	_bfd_close
	xorl	%eax, %eax
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_archive,4,2                ## @bfd_archive
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: cannot get addresses from archive"

	.comm	_bfd_object,4,2                 ## @bfd_object
	.comm	_bfd_error_file_ambiguously_recognized,8,3 ## @bfd_error_file_ambiguously_recognized
L_.str.1:                               ## @.str.1
	.asciz	"%s: cannot find section %s"

	.comm	_syms,8,3                       ## @syms
	.no_dead_strip	_process_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_file
_process_file:                          ; @process_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_get_file_size
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_bfd_openr
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_bfd_fatal
LBB0_3:
Lloh0:
	adrp	x8, _bfd_archive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_archive@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bfd_check_format
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_fatal
LBB0_5:
Lloh5:
	adrp	x8, _bfd_object@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_bfd_check_format_matches
	cbz	w0, LBB0_10
; %bb.6:
	cbz	x21, LBB0_13
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_get_section_by_name
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.8:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	str	x21, [sp]
	mov	x1, x20
	bl	_fatal
	b	LBB0_14
LBB0_9:
	mov	w0, #1
	b	LBB0_17
LBB0_10:
	mov	x0, x19
	bl	_bfd_get_filename
	bl	_bfd_nonfatal
	bl	_bfd_get_error
Lloh10:
	adrp	x8, _bfd_error_file_ambiguously_recognized@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bfd_error_file_ambiguously_recognized@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	ldr	x0, [sp, #8]
	bl	_list_matching_formats
	ldr	x0, [sp, #8]
	bl	_free
LBB0_12:
	mov	w0, #1
	bl	_xexit
	cbnz	x21, LBB0_7
LBB0_13:
	mov	x22, #0
LBB0_14:
	mov	x0, x19
	bl	_slurp_symtab
	mov	x0, x19
	mov	x1, x22
	bl	_translate_addresses
Lloh13:
	adrp	x20, _syms@GOTPAGE
Lloh14:
	ldr	x20, [x20, _syms@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_free
	str	xzr, [x20]
LBB0_16:
	mov	x0, x19
	bl	_bfd_close
	mov	w0, #0
LBB0_17:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_archive,4,2                ; @bfd_archive
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: cannot get addresses from archive"

	.comm	_bfd_object,4,2                 ; @bfd_object
	.comm	_bfd_error_file_ambiguously_recognized,8,3 ; @bfd_error_file_ambiguously_recognized
l_.str.1:                               ; @.str.1
	.asciz	"%s: cannot find section %s"

	.comm	_syms,8,3                       ; @syms
	.no_dead_strip	_process_file
.subsections_via_symbols
