	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdbeSorterIterNext
_vdbeSorterIterNext:                    ## @vdbeSorterIterNext
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movq	(%rsi), %rax
	cmpq	8(%rsi), %rax
	jge	LBB0_1
## %bb.2:
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_vdbeSorterIterVarint
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movl	-24(%rbp), %edx
	movl	%edx, 16(%rbx)
	leaq	20(%rbx), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_vdbeSorterIterRead
	jmp	LBB0_4
LBB0_1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_vdbeSorterIterZero
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.no_dead_strip	_vdbeSorterIterNext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdbeSorterIterNext
_vdbeSorterIterNext:                    ; @vdbeSorterIterNext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	ldp	x8, x9, [x1]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_vdbeSorterIterVarint
Lloh0:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w2, [sp, #8]
	str	w2, [x19, #16]
	add	x3, x19, #20
	mov	x0, x20
	mov	x1, x19
	bl	_vdbeSorterIterRead
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_vdbeSorterIterZero
Lloh3:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.no_dead_strip	_vdbeSorterIterNext
.subsections_via_symbols
