	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeDeferredSeek
_codeDeferredSeek:                      ## @codeDeferredSeek
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	movq	8(%r15), %rbx
	xorl	%edi, %edi
	testl	%ecx, %ecx
	setg	%dil
	callq	_assert
	movq	(%r13), %rax
	movslq	8(%r13), %rcx
	xorl	%edi, %edi
	cmpl	$-1, -4(%rax,%rcx,4)
	sete	%dil
	callq	_assert
	movq	_OP_DeferredSeek@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp3
	movq	_WHERE_OR_SUBCLAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	callq	_sqlite3ParseToplevel
	movl	(%rax), %edi
	callq	_DbMaskAllZero
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	16(%r13), %r14
	movl	(%r15), %edi
	movl	(%r14), %eax
	leal	4(,%rax,4), %esi
	callq	_sqlite3DbMallocZero
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r15
	movl	(%r14), %eax
	movl	%eax, (%r15)
	cmpl	$2, 8(%r13)
	jl	LBB0_8
## %bb.4:
	movq	(%r13), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movslq	8(%r13), %rdx
	decq	%rdx
	movq	%rcx, %rbx
	cmpq	%rdx, %rcx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rbx,4), %eax
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setl	%dil
	callq	_assert
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	leaq	1(%rbx), %rcx
	testl	%edx, %edx
	js	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	%ebx, 4(%r15,%rdx,4)
	jmp	LBB0_7
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_P4_INTARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %esi
	movq	%r15, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeChangeP4            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_DeferredSeek,4,2            ## @OP_DeferredSeek
	.comm	_WHERE_OR_SUBCLAUSE,4,2         ## @WHERE_OR_SUBCLAUSE
	.comm	_P4_INTARRAY,4,2                ## @P4_INTARRAY
	.no_dead_strip	_codeDeferredSeek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeDeferredSeek
_codeDeferredSeek:                      ; @codeDeferredSeek
	.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	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x24, x0
	ldr	x21, [x0, #8]
	ldr	x19, [x21, #8]
	cmp	w3, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x20]
	ldrsw	x9, [x20, #8]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	cmn	w8, #1
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x8, _OP_DeferredSeek@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_DeferredSeek@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	mov	w3, #0
	mov	x4, x23
	bl	_sqlite3VdbeAddOp3
	ldr	w8, [x24]
Lloh3:
	adrp	x9, _WHERE_OR_SUBCLAUSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WHERE_OR_SUBCLAUSE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
	mov	x0, x21
	bl	_sqlite3ParseToplevel
	ldr	w0, [x0]
	bl	_DbMaskAllZero
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x22, [x20, #16]
	ldr	w0, [x21]
	ldr	w8, [x22]
	lsl	w8, w8, #2
	add	w1, w8, #4
	bl	_sqlite3DbMallocZero
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	ldr	w8, [x22]
	str	w8, [x0]
	ldr	w8, [x20, #8]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.4:
	mov	x23, #0
	ldr	x8, [x20]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldrsw	x9, [x20, #8]
	sub	x9, x9, #1
	cmp	x23, x9
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x23, #2
	ldr	w8, [x8, x24]
	ldr	w9, [x22]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20]
	ldr	w9, [x8, x24]
	tbnz	w9, #31, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x21, x9, lsl #2
	add	w10, w23, #1
	str	w10, [x9, #4]
	b	LBB0_5
LBB0_8:
	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
LBB0_9:
Lloh6:
	adrp	x8, _P4_INTARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _P4_INTARRAY@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #-1
	mov	x2, 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	_sqlite3VdbeChangeP4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_DeferredSeek,4,2            ; @OP_DeferredSeek
	.comm	_WHERE_OR_SUBCLAUSE,4,2         ; @WHERE_OR_SUBCLAUSE
	.comm	_P4_INTARRAY,4,2                ; @P4_INTARRAY
	.no_dead_strip	_codeDeferredSeek
.subsections_via_symbols
