	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IndexNext
_IndexNext:                             ## @IndexNext
	.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	%rdi, %r13
	movq	80(%rdi), %rax
	movq	88(%rdi), %rbx
	movl	4(%rbx), %r14d
	movl	(%rax), %edi
	callq	_ScanDirectionIsBackward
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	movl	%r14d, %edi
	callq	_ScanDirectionIsForward
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_BackwardScanDirection@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %edi
	callq	_ScanDirectionIsBackward
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r14d
LBB0_6:
	movq	40(%r13), %rbx
	movq	64(%r13), %r15
	movq	72(%r13), %r12
	testq	%rbx, %rbx
	jne	LBB0_10
## %bb.7:
	movl	56(%r13), %edi
	movl	48(%r13), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	16(%r13), %r8d
	movl	24(%r13), %ecx
	callq	_index_beginscan
	movq	%rax, %rbx
	movq	%rax, 40(%r13)
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.8:
	cmpq	$0, 32(%r13)
	je	LBB0_10
LBB0_9:
	movl	28(%r13), %esi
	movl	24(%r13), %edx
	movl	16(%r13), %r8d
	movl	20(%r13), %ecx
	movq	%rbx, %rdi
	callq	_index_rescan
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_index_getnext_slot
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	cmpq	$0, (%rbx)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, (%r12)
	movl	12(%r13), %edi
	movq	%r12, %rsi
	callq	_ExecQualAndReset
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_InstrCountFiltered2
	jmp	LBB0_10
LBB0_14:
	movl	$1, 8(%r13)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExecClearTuple                 ## TAILCALL
LBB0_15:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BackwardScanDirection,4,2      ## @BackwardScanDirection
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.no_dead_strip	_IndexNext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IndexNext
_IndexNext:                             ; @IndexNext
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x8, x24, [x0, #80]
	ldr	w20, [x24, #4]
	ldr	w0, [x8]
	bl	_ScanDirectionIsBackward
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_ScanDirectionIsForward
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _BackwardScanDirection@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BackwardScanDirection@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_ScanDirectionIsBackward
Lloh3:
	adrp	x8, _ForwardScanDirection@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ForwardScanDirection@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w20, w8, eq
LBB0_4:
	ldr	x23, [x19, #40]
	ldp	x21, x22, [x19, #64]
	cbnz	x23, LBB0_8
; %bb.5:
	ldr	w0, [x19, #56]
	ldr	w1, [x19, #48]
	ldr	w2, [x24]
	ldr	w3, [x19, #24]
	ldr	w4, [x19, #16]
	bl	_index_beginscan
	mov	x23, x0
	str	x0, [x19, #40]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_8
LBB0_7:
	ldp	w2, w1, [x19, #24]
	ldp	w4, w3, [x19, #16]
	mov	x0, x23
	bl	_index_rescan
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	bl	_index_getnext_slot
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_CHECK_FOR_INTERRUPTS
	ldr	x8, [x23]
	cbz	x8, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x21, [x22]
	ldr	w0, [x19, #12]
	mov	x1, x22
	bl	_ExecQualAndReset
	cbnz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	_InstrCountFiltered2
	b	LBB0_8
LBB0_12:
	mov	w8, #1
	str	w8, [x19, #8]
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ExecClearTuple
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BackwardScanDirection,4,2      ; @BackwardScanDirection
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.no_dead_strip	_IndexNext
.subsections_via_symbols
