	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_openr_next_archived_file   ## -- Begin function bfd_openr_next_archived_file
	.p2align	4, 0x90
_bfd_openr_next_archived_file:          ## @bfd_openr_next_archived_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_bfd_get_format
	movq	_bfd_archive@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_write_direction@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_openr_next_archived_file@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BFD_SEND                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_archive,8,3                ## @bfd_archive
	.comm	_write_direction,8,3            ## @write_direction
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.comm	_openr_next_archived_file,4,2   ## @openr_next_archived_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_openr_next_archived_file   ; -- Begin function bfd_openr_next_archived_file
	.p2align	2
_bfd_openr_next_archived_file:          ; @bfd_openr_next_archived_file
	.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, x1
	mov	x20, x0
	bl	_bfd_get_format
Lloh0:
	adrp	x8, _bfd_archive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_archive@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _write_direction@GOTPAGE
Lloh4:
	ldr	x9, [x9, _write_direction@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _bfd_error_invalid_operation@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_error_invalid_operation@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh9:
	adrp	x8, _openr_next_archived_file@GOTPAGE
Lloh10:
	ldr	x8, [x8, _openr_next_archived_file@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BFD_SEND
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_archive,8,3                ; @bfd_archive
	.comm	_write_direction,8,3            ; @write_direction
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.comm	_openr_next_archived_file,4,2   ; @openr_next_archived_file
.subsections_via_symbols
