	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___archive_rb_tree_iterate      ## -- Begin function __archive_rb_tree_iterate
	.p2align	4, 0x90
___archive_rb_tree_iterate:             ## @__archive_rb_tree_iterate
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	_RB_DIR_OTHER@GOTPCREL(%rip), %rax
	movl	%r14d, %r12d
	xorl	(%rax), %r14d
	movq	(%rsi), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_RB_SENTINEL_P
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_RB_ROOT_P
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_RB_ROOT_P
	testl	%eax, %eax
	jne	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_RB_POSITION
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_RB_FATHER
	movq	%rax, %rbx
	cmpl	%r12d, %r14d
	jne	LBB0_4
	jmp	LBB0_15
LBB0_6:
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_RB_SENTINEL_P
	testq	%rax, %rax
	je	LBB0_11
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%rbx), %rax
	movl	%r14d, %r14d
	movq	(%rax,%r12,8), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_RB_SENTINEL_P
	testq	%rax, %rax
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rbx
	jmp	LBB0_9
LBB0_11:
	movl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_RB_SENTINEL_P
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rbx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_DIR_OTHER,4,2               ## @RB_DIR_OTHER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___archive_rb_tree_iterate      ; -- Begin function __archive_rb_tree_iterate
	.p2align	2
___archive_rb_tree_iterate:             ; @__archive_rb_tree_iterate
	.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	x21, x2
	mov	x20, x0
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _RB_DIR_OTHER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RB_DIR_OTHER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	eor	w22, w8, w21
	ldr	x8, [x1]
	ldr	x0, [x8, w21, uxtw #3]
	bl	_RB_SENTINEL_P
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_RB_ROOT_P
	cbnz	w0, LBB0_6
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_RB_ROOT_P
	cbnz	w0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_RB_POSITION
	mov	x21, x0
	mov	x0, x19
	bl	_RB_FATHER
	mov	x19, x0
	cmp	w22, w21
	b.ne	LBB0_3
	b	LBB0_13
LBB0_5:
	ldr	x19, [x20]
	mov	x0, x19
	bl	_RB_SENTINEL_P
	cbz	x0, LBB0_10
LBB0_6:
	mov	x19, #0
	b	LBB0_13
LBB0_7:
	mov	w8, w21
	ldr	x9, [x19]
	ldr	x19, [x9, x8, lsl #3]
	ldr	x8, [x19]
	ldr	x0, [x8, w22, uxtw #3]
	bl	_RB_SENTINEL_P
	cbnz	x0, LBB0_13
; %bb.8:
	lsl	x20, x22, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x19, [x8, x20]
	ldr	x8, [x19]
	ldr	x0, [x8, x20]
	bl	_RB_SENTINEL_P
	cbz	x0, LBB0_9
	b	LBB0_13
LBB0_10:
	ldr	x8, [x19]
	ldr	x0, [x8, w21, uxtw #3]
	bl	_RB_SENTINEL_P
	cbnz	x0, LBB0_13
; %bb.11:
	mov	w8, w21
	lsl	x20, x8, #3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x19, [x8, x20]
	ldr	x8, [x19]
	ldr	x0, [x8, x20]
	bl	_RB_SENTINEL_P
	cbz	x0, LBB0_12
LBB0_13:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_DIR_OTHER,4,2               ; @RB_DIR_OTHER
.subsections_via_symbols
