	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_open_inarch                    ## -- Begin function open_inarch
	.p2align	4, 0x90
_open_inarch:                           ## @open_inarch
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_bfd_error_no_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_bfd_fatal
LBB0_4:
	movq	_operation_alters_arch@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.6:
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bfd_openr
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rax, %rbx
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	callq	_bfd_get_target
	movq	%rax, %r15
	jmp	LBB0_11
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_9:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%rbx, %rdi
	callq	_bfd_close
LBB0_12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bfd_openw
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%rax, %rbx
	movq	_bfd_archive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bfd_set_format
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_bfd_close
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	_silent_create@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_non_fatal
	jmp	LBB0_18
LBB0_15:
	movq	%r14, %rdi
	callq	_bfd_fatal
LBB0_18:
	movq	_output_filename@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
LBB0_19:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bfd_openr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_20
LBB0_5:
	movq	%r14, %rdi
	callq	_open_inarch.cold.1
	xorl	%r15d, %r15d
	jmp	LBB0_29
LBB0_20:
	movq	%r14, %rdi
	callq	_bfd_fatal
LBB0_21:
	movq	_bfd_archive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_bfd_check_format_matches
	testl	%eax, %eax
	jne	LBB0_25
## %bb.22:
	movq	%r14, %rdi
	callq	_bfd_nonfatal
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_file_ambiguously_recognized@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.23:
	movq	-40(%rbp), %rdi
	callq	_list_matching_formats
	movq	-40(%rbp), %rdi
	callq	_free
LBB0_24:
	movl	$1, %edi
	callq	_xexit
LBB0_25:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bfd_openr_next_archived_file
	movq	%r15, %r12
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	%rax, %rbx
	movq	%r15, %r12
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_PROGRESS
	movq	%rbx, (%r12)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bfd_openr_next_archived_file
	movq	%rbx, %r12
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_27
LBB0_28:
	movq	$0, (%r12)
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_no_more_archived_files@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
LBB0_29:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function open_inarch.cold.1
_open_inarch.cold.1:                    ## @open_inarch.cold.1
	.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	%rdi, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_program_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_perror
	xorl	%eax, %eax
	callq	_maybequit
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_error_no_error,4,2         ## @bfd_error_no_error
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_operation_alters_arch,4,2      ## @operation_alters_arch
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: "

	.comm	_program_name,8,3               ## @program_name
	.comm	_bfd_object,4,2                 ## @bfd_object
	.comm	_bfd_archive,4,2                ## @bfd_archive
	.comm	_silent_create,4,2              ## @silent_create
L_.str.1:                               ## @.str.1
	.asciz	"creating %s"

	.comm	_output_filename,8,3            ## @output_filename
	.comm	_bfd_error_file_ambiguously_recognized,8,3 ## @bfd_error_file_ambiguously_recognized
	.comm	_bfd_error_no_more_archived_files,8,3 ## @bfd_error_no_more_archived_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_open_inarch                    ; -- Begin function open_inarch
	.p2align	2
_open_inarch:                           ; @open_inarch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _bfd_error_no_error@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_error_no_error@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_bfd_set_error
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
Lloh3:
	adrp	x22, _bfd_archive@GOTPAGE
Lloh4:
	ldr	x22, [x22, _bfd_archive@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.1:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _ENOENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_bfd_fatal
LBB0_3:
Lloh11:
	adrp	x8, _operation_alters_arch@GOTPAGE
Lloh12:
	ldr	x8, [x8, _operation_alters_arch@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbz	w8, LBB0_20
; %bb.4:
	cbz	x20, LBB0_12
; %bb.5:
	mov	x0, x20
	mov	x1, #0
	bl	_bfd_openr
	cbz	x0, LBB0_9
; %bb.6:
	mov	x21, x0
Lloh14:
	adrp	x8, _bfd_object@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_bfd_check_format
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x21
	bl	_bfd_get_target
	mov	x20, x0
	b	LBB0_11
LBB0_8:
	mov	x20, #0
	b	LBB0_19
LBB0_9:
	mov	x20, #0
	b	LBB0_12
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	x0, x21
	bl	_bfd_close
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_openw
	cbz	x0, LBB0_17
; %bb.13:
	mov	x21, x0
	ldr	w1, [x22]
	bl	_bfd_set_format
	cbz	w0, LBB0_17
; %bb.14:
	mov	x0, x21
	bl	_bfd_close
	cbz	w0, LBB0_17
; %bb.15:
Lloh17:
	adrp	x8, _silent_create@GOTPAGE
Lloh18:
	ldr	x8, [x8, _silent_create@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbnz	w8, LBB0_18
; %bb.16:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_non_fatal
	b	LBB0_18
LBB0_17:
	mov	x0, x19
	bl	_bfd_fatal
LBB0_18:
Lloh22:
	adrp	x8, _output_filename@GOTPAGE
Lloh23:
	ldr	x8, [x8, _output_filename@GOTPAGEOFF]
Lloh24:
	str	x19, [x8]
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_openr
	mov	x20, x0
	cbnz	x0, LBB0_22
	b	LBB0_21
LBB0_20:
	mov	x0, x19
	bl	_open_inarch.cold.1
	mov	x20, #0
	b	LBB0_30
LBB0_21:
	mov	x0, x19
	bl	_bfd_fatal
LBB0_22:
	ldr	w1, [x22]
	mov	x2, sp
	mov	x0, x20
	bl	_bfd_check_format_matches
	cbnz	w0, LBB0_26
; %bb.23:
	mov	x0, x19
	bl	_bfd_nonfatal
	bl	_bfd_get_error
Lloh25:
	adrp	x8, _bfd_error_file_ambiguously_recognized@GOTPAGE
Lloh26:
	ldr	x8, [x8, _bfd_error_file_ambiguously_recognized@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.24:
	ldr	x0, [sp]
	bl	_list_matching_formats
	ldr	x0, [sp]
	bl	_free
LBB0_25:
	mov	w0, #1
	bl	_xexit
LBB0_26:
	mov	x0, x20
	mov	x1, #0
	bl	_bfd_openr_next_archived_file
	mov	x23, x20
	cbz	x0, LBB0_29
; %bb.27:
	mov	x21, x0
	mov	x23, x20
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_PROGRESS
	str	x21, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_bfd_openr_next_archived_file
	mov	x23, x21
	mov	x21, x0
	cbnz	x0, LBB0_28
LBB0_29:
	str	xzr, [x23]
	bl	_bfd_get_error
Lloh28:
	adrp	x8, _bfd_error_no_more_archived_files@GOTPAGE
Lloh29:
	ldr	x8, [x8, _bfd_error_no_more_archived_files@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_21
LBB0_30:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function open_inarch.cold.1
_open_inarch.cold.1:                    ; @open_inarch.cold.1
	.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
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _program_name@GOTPAGE
Lloh35:
	ldr	x8, [x8, _program_name@GOTPAGEOFF]
Lloh36:
	ldr	x2, [x8]
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	x0, x19
	bl	_perror
	bl	_maybequit
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_error_no_error,4,2         ; @bfd_error_no_error
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_operation_alters_arch,4,2      ; @operation_alters_arch
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: "

	.comm	_program_name,8,3               ; @program_name
	.comm	_bfd_object,4,2                 ; @bfd_object
	.comm	_bfd_archive,4,2                ; @bfd_archive
	.comm	_silent_create,4,2              ; @silent_create
l_.str.1:                               ; @.str.1
	.asciz	"creating %s"

	.comm	_output_filename,8,3            ; @output_filename
	.comm	_bfd_error_file_ambiguously_recognized,8,3 ; @bfd_error_file_ambiguously_recognized
	.comm	_bfd_error_no_more_archived_files,8,3 ; @bfd_error_no_more_archived_files
.subsections_via_symbols
