	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_obj_file
_scan_obj_file:                         ## @scan_obj_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_bfd_openr
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_fatal
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_inform
	movq	_bfd_archive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bfd_openr_next_archived_file
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %rbx
	movq	_bfd_object@GOTPCREL(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_bfd_close
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bfd_openr_next_archived_file
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_scan_open_obj_file
	jmp	LBB0_7
LBB0_8:
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_scan_open_obj_file
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfd_close                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to open object file: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Scanning object file %s"

	.comm	_bfd_archive,4,2                ## @bfd_archive
	.comm	_bfd_object,4,2                 ## @bfd_object
	.comm	_mcore_elf_out_file,8,3         ## @mcore_elf_out_file
	.no_dead_strip	_scan_obj_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_obj_file
_scan_obj_file:                         ; @scan_obj_file
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	mov	w1, #0
	bl	_bfd_openr
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_fatal
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_inform
Lloh4:
	adrp	x8, _bfd_archive@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bfd_archive@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bfd_check_format
	cbz	x0, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	x1, #0
	bl	_bfd_openr_next_archived_file
	cbz	x0, LBB0_10
; %bb.4:
	mov	x20, x0
Lloh7:
	adrp	x21, _bfd_object@GOTPAGE
Lloh8:
	ldr	x21, [x21, _bfd_object@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_bfd_close
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_openr_next_archived_file
	mov	x20, x0
	cbz	x0, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_bfd_check_format
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_scan_open_obj_file
	b	LBB0_5
LBB0_8:
Lloh9:
	adrp	x8, _bfd_object@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bfd_check_format
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_scan_open_obj_file
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bfd_close
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to open object file: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Scanning object file %s"

	.comm	_bfd_archive,4,2                ; @bfd_archive
	.comm	_bfd_object,4,2                 ; @bfd_object
	.comm	_mcore_elf_out_file,8,3         ; @mcore_elf_out_file
	.no_dead_strip	_scan_obj_file
.subsections_via_symbols
