	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee_openr_next_archived_file
_ieee_openr_next_archived_file:         ## @ieee_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_IEEE_AR_DATA
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movl	$2, (%rax)
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.4:
	movq	8(%rax), %r8
	movl	4(%rax), %ecx
	movslq	(%rax), %rdi
	movl	%edi, %r9d
	cmpl	%ecx, %edi
	cmovgl	%edi, %ecx
	movslq	%ecx, %rdx
	movq	%rdi, %rcx
	shlq	$32, %rcx
	movabsq	$-4294967296, %rsi              ## imm = 0xFFFFFFFF00000000
	addq	%rcx, %rsi
	movq	%rdi, %rcx
	subq	%rdx, %rcx
	shlq	$4, %rdi
	addq	%r8, %rdi
	xorl	%ebx, %ebx
	movabsq	$4294967296, %rdx               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %rcx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	%rdx, %rsi
	decq	%rbx
	leaq	16(%rdi), %r15
	cmpq	$0, (%rdi)
	movq	%r15, %rdi
	je	LBB0_5
## %bb.7:
	subl	%ebx, %r9d
	movl	%r9d, (%rax)
	sarq	$28, %rsi
	movq	8(%r8,%rsi), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	leaq	(%r8,%rsi), %rbx
	addq	$8, %rbx
	movq	%r14, %rdi
	callq	__bfd_create_empty_archive_element_shell
	movq	%rax, (%rbx)
	movq	-16(%r15), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_10
LBB0_3:
                                        ## implicit-def: $rax
	jmp	LBB0_10
LBB0_9:
	subl	%ebx, %r9d
	incl	%r9d
	movl	%r9d, (%rax)
	movq	_bfd_error_no_more_archived_files@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_bfd_error_no_more_archived_files,4,2 ## @bfd_error_no_more_archived_files
	.no_dead_strip	_ieee_openr_next_archived_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee_openr_next_archived_file
_ieee_openr_next_archived_file:         ; @ieee_openr_next_archived_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, x1
	mov	x19, x0
	bl	_IEEE_AR_DATA
	cbnz	x20, LBB0_2
; %bb.1:
	mov	w8, #2
	str	w8, [x0]
LBB0_2:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	x8, [x0, #8]
	ldp	w9, w10, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	w9, w10
	csel	w10, w9, w10, gt
	sxtw	x11, w10
	mov	x10, #-4294967296
	add	x10, x10, x9, lsl #32
	sub	x11, x11, x9
	add	x20, x8, x9, lsl #4
	mov	x12, #4294967296
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x11, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x20], #16
	add	x10, x10, x12
	sub	x11, x11, #1
	add	w9, w9, #1
	cbz	x13, LBB0_4
; %bb.6:
	str	w9, [x0]
	add	x21, x8, x10, asr #28
	ldr	x0, [x21, #8]!
	cbnz	x0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	__bfd_create_empty_archive_element_shell
	str	x0, [x21]
	ldur	x8, [x20, #-16]
	str	x8, [x0]
	b	LBB0_10
LBB0_8:
                                        ; implicit-def: $x0
	b	LBB0_10
LBB0_9:
	add	w8, w9, #1
	str	w8, [x0]
Lloh3:
	adrp	x8, _bfd_error_no_more_archived_files@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_error_no_more_archived_files@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	x0, #0
LBB0_10:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_bfd_error_no_more_archived_files,4,2 ; @bfd_error_no_more_archived_files
	.no_dead_strip	_ieee_openr_next_archived_file
.subsections_via_symbols
