	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_iterator_next            ## -- Begin function index_iterator_next
	.p2align	4, 0x90
_index_iterator_next:                   ## @index_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_iterator_metafile_number@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_metafile_number@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	je	LBB0_7
## %bb.2:
	movq	_iterator_metafile_position@GOTPCREL(%rip), %r15
	movq	_metafiles@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_index_iterator_next_meta
	movq	(%r12), %rdi
	cmpq	(%rbx), %rdi
	jne	LBB0_3
	jmp	LBB0_8
LBB0_5:
	jge	LBB0_7
## %bb.6:
	leaq	1(%rsi), %rax
	movq	%rax, (%r15)
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_metafile_get_entry
	movq	%rax, %r14
	jmp	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movq	_index_iterator@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iterator_metafile_number,8,3   ## @iterator_metafile_number
	.comm	_metafile_number,8,3            ## @metafile_number
	.comm	_iterator_metafile_position,8,3 ## @iterator_metafile_position
	.comm	_metafiles,8,3                  ## @metafiles
	.comm	_index_iterator,8,3             ## @index_iterator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_iterator_next            ; -- Begin function index_iterator_next
	.p2align	2
_index_iterator_next:                   ; @index_iterator_next
	.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
Lloh0:
	adrp	x19, _iterator_metafile_number@GOTPAGE
Lloh1:
	ldr	x19, [x19, _iterator_metafile_number@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x20, _metafile_number@GOTPAGE
Lloh3:
	ldr	x20, [x20, _metafile_number@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.1:
Lloh4:
	adrp	x21, _iterator_metafile_position@GOTPAGE
Lloh5:
	ldr	x21, [x21, _iterator_metafile_position@GOTPAGEOFF]
Lloh6:
	adrp	x22, _metafiles@GOTPAGE
Lloh7:
	ldr	x22, [x22, _metafiles@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	ldr	x8, [x22]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_index_iterator_next_meta
	ldr	x0, [x19]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	b.ge	LBB0_6
; %bb.5:
	add	x8, x1, #1
	str	x8, [x21]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_metafile_get_entry
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
Lloh8:
	adrp	x8, _index_iterator@GOTPAGE
Lloh9:
	ldr	x8, [x8, _index_iterator@GOTPAGEOFF]
Lloh10:
	str	x0, [x8]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_iterator_metafile_number,8,3   ; @iterator_metafile_number
	.comm	_metafile_number,8,3            ; @metafile_number
	.comm	_iterator_metafile_position,8,3 ; @iterator_metafile_position
	.comm	_metafiles,8,3                  ; @metafiles
	.comm	_index_iterator,8,3             ; @index_iterator
.subsections_via_symbols
