	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iterator_next
_iterator_next:                         ## @iterator_next
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	cmpl	%ecx, %eax
	jne	LBB0_5
## %bb.2:
	movl	%ecx, %eax
	jmp	LBB0_7
LBB0_3:
	movl	%ecx, (%rbx)
	cmpl	$-1, %ecx
	jne	LBB0_20
## %bb.6:
	movl	$-1, %eax
LBB0_7:
	movq	24(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movq	$0, 8(%rbx)
LBB0_9:
	testq	%rcx, %rcx
	je	LBB0_15
LBB0_10:
	movq	8(%rbx), %r14
	movl	(%rcx), %edi
	callq	_DPA_GetPtrCount
	cmpq	%rax, %r14
	jge	LBB0_19
## %bb.11:
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	leaq	1(%rsi), %rax
	movq	%rax, 8(%rbx)
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DPA_GetPtr
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	shrq	$32, %rax
	jmp	LBB0_17
LBB0_5:
	incl	%eax
	movl	%eax, (%rbx)
	cmpl	%ecx, %eax
	jne	LBB0_13
LBB0_12:
	incl	%ecx
	movl	%ecx, (%rbx)
	movl	%ecx, %eax
LBB0_13:
	cmpl	16(%rbx), %eax
	jl	LBB0_20
## %bb.14:
	movq	24(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
LBB0_15:
	cmpl	16(%rbx), %eax
	jge	LBB0_19
## %bb.16:
	movl	20(%rbx), %eax
LBB0_17:
	movl	%eax, (%rbx)
	testl	%eax, %eax
	js	LBB0_19
## %bb.18:
	movl	4(%rbx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_12
	jmp	LBB0_13
LBB0_19:
	movl	$-1, (%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_iterator_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iterator_next
_iterator_next:                         ; @iterator_next
	.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
	ldp	w8, w9, [x0]
	cmn	w8, #1
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.2:
	mov	x8, x9
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_4
LBB0_3:
	str	xzr, [x19, #8]
LBB0_4:
	cbz	x9, LBB0_14
LBB0_5:
	ldr	x20, [x19, #8]
	ldr	w0, [x9]
	bl	_DPA_GetPtrCount
	cmp	x20, x0
	b.ge	LBB0_10
; %bb.6:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	add	x8, x1, #1
	str	x8, [x19, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_DPA_GetPtr
	ldr	x8, [x0]
	str	x8, [x19, #16]
	lsr	x8, x8, #32
	str	w8, [x19]
	tbz	w8, #31, LBB0_16
	b	LBB0_10
LBB0_7:
	str	w9, [x19]
	cmn	w9, #1
	b.ne	LBB0_17
; %bb.8:
	mov	w8, #-1
	ldr	x9, [x19, #24]
	cbnz	x9, LBB0_3
	b	LBB0_4
LBB0_9:
	add	w8, w8, #1
	str	w8, [x19]
	cmp	w8, w9
	b.ne	LBB0_12
	b	LBB0_11
LBB0_10:
	mov	w8, #-1
	str	w8, [x19]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
	add	w8, w9, #1
	str	w8, [x19]
LBB0_12:
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.lt	LBB0_17
; %bb.13:
	ldr	x9, [x19, #24]
	cbnz	x9, LBB0_5
LBB0_14:
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.15:
	ldr	w8, [x19, #20]
	str	w8, [x19]
	tbnz	w8, #31, LBB0_10
LBB0_16:
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.eq	LBB0_11
	b	LBB0_12
LBB0_17:
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_iterator_next
.subsections_via_symbols
