	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function whereLoopAddVirtualOne
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_whereLoopAddVirtualOne:                ## @whereLoopAddVirtualOne
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -100(%rbp)                ## 4-byte Spill
	movq	%r8, %r13
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	16(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	72(%r8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rbx
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	notl	%r12d
	xorl	%edi, %edi
	testl	%r12d, %esi
	sete	%dil
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r8), %r15d
	callq	_assert
	movq	16(%rbp), %rax
	movl	$0, (%rax)
	movl	%r14d, -104(%rbp)               ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, 8(%rbx)
	testl	%r15d, %r15d
	jle	LBB0_14
## %bb.1:
	movq	56(%r13), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	cmpl	$1, %r15d
	jne	LBB0_2
LBB0_10:
	testb	$1, %r15b
	je	LBB0_14
## %bb.11:
	movq	(%rax), %rdx
	movl	$0, 8(%rax)
	testl	%r12d, (%rcx,%rdx,8)
	jne	LBB0_14
## %bb.12:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, 4(%rcx,%rdx,8)
	jne	LBB0_14
## %bb.13:
	movl	$1, 8(%rax)
LBB0_14:
	movl	%r15d, %edx
	shll	$4, %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_memset
	xorl	%edi, %edi
	cmpl	$0, 4(%r13)
	sete	%dil
	callq	_assert
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r13)
	movq	$0, 48(%r13)
	movq	_SQLITE_BIG_DBL@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, 8(%r13)
	movq	$25, 16(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	shlq	$4, %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14,%rbx), %rax
	movq	%rax, 64(%r13)
	movq	(%r14,%rbx), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_vtabBestIndex
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movl	%eax, %r12d
	movq	_SQLITE_CONSTRAINT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_48
## %bb.16:
	leaq	L_.str(%rip), %rsi
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_WHERETRACE
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_48
LBB0_17:
	movq	%rbx, %r12
	xorl	%edi, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r15d, 12(%rbx)
	setge	%dil
	callq	_assert
	testl	%r15d, %r15d
	jle	LBB0_18
## %bb.21:
	addq	%r12, %r14
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rdi
	leaq	(,%r15,8), %rsi
	callq	___bzero
	movl	$0, 32(%rbx)
	movq	56(%r13), %rdx
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	shlq	$4, %r15
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movl	$-1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-120(%rbp), %rdx                ## 8-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_22 Depth=1
	addq	$16, %r12
	cmpq	%r12, -144(%rbp)                ## 8-byte Folded Reload
	je	LBB0_35
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r12), %r15d
	testl	%r15d, %r15d
	jle	LBB0_34
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	cmpl	%ecx, %r15d
	jg	LBB0_49
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%rdx,%r12), %r13
	testl	%r13d, %r13d
	js	LBB0_49
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r13d, (%rax)
	jle	LBB0_49
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	leal	-1(%r15), %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movl	%ebx, %esi
	cmpq	$0, (%rax,%rsi,8)
	jne	LBB0_49
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$0, 8(%rdx,%r12)
	je	LBB0_49
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%edi, %edi
	cmpl	%ecx, %r15d
	sete	%dil
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	callq	_testcase
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_testcase
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%r13d, %eax
	sete	%dil
	callq	_testcase
	movq	8(%r14), %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movslq	%r13d, %rcx
	leaq	(%rax,%rcx,8), %rdx
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movl	(%rax,%rcx,8), %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	orl	%eax, 8(%r13)
	xorl	%edi, %edi
	cmpl	12(%r13), %r15d
	setle	%dil
	callq	_assert
	movq	24(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ecx, %ebx
	cmovgl	%ebx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, (%rax,%rcx,8)
	xorl	%edi, %edi
	cmpl	$15, %ebx
	sete	%dil
	callq	_testcase
	xorl	%edi, %edi
	cmpl	$16, %ebx
	sete	%dil
	callq	_testcase
	cmpl	$16, %r15d
	ja	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	$0, 8(%r14,%r12)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, 32(%rcx)
LBB0_31:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_WO_IN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	testl	%eax, 4(%rdx,%rsi,8)
	movq	-128(%rbp), %r13                ## 8-byte Reload
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	$0, 32(%r13)
	movq	_SQLITE_INDEX_SCAN_UNIQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 20(%r13)
	movq	16(%rbp), %rax
	movl	$1, (%rax)
	xorl	%edi, %edi
	movl	(%rcx), %eax
	andl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	sete	%dil
	callq	_assert
	jmp	LBB0_33
LBB0_2:
	movl	%r15d, %edx
	andl	$-2, %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$32, %rax
	addl	$-2, %edx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rsi
	movl	$0, 8(%rax)
	testl	%r12d, (%rcx,%rsi,8)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%edi, 4(%rcx,%rsi,8)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, 8(%rax)
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rax), %rsi
	movl	$0, 24(%rax)
	testl	%r12d, (%rcx,%rsi,8)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%edi, 4(%rcx,%rsi,8)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, 24(%rax)
	jmp	LBB0_9
LBB0_49:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3ErrorMsg
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %edi
LBB0_40:
	callq	_testcase
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_48
LBB0_18:
	movl	$0, 32(%rbx)
	movl	$0, 16(%rbx)
	movl	$-1, %esi
LBB0_19:
	xorl	%edi, %edi
	cmpl	12(%rbx), %esi
	setl	%dil
	callq	_assert
	movq	48(%r13), %rax
	movq	%rax, 56(%rbx)
	movl	4(%r13), %eax
	movl	%eax, 36(%rbx)
	movl	$0, 4(%r13)
	movq	40(%r13), %rax
	movq	%rax, 40(%rbx)
	cmpq	$0, 32(%r13)
	je	LBB0_20
## %bb.41:
	movq	24(%r13), %rax
	jmp	LBB0_42
LBB0_20:
	xorl	%eax, %eax
LBB0_42:
	movq	%rax, 48(%rbx)
	movq	$0, 80(%rbx)
	movsd	8(%r13), %xmm0                  ## xmm0 = mem[0],zero
	callq	_sqlite3LogEstFromDouble
	movl	%eax, 72(%rbx)
	movl	16(%r13), %edi
	callq	_sqlite3LogEst
	movl	%eax, 68(%rbx)
	movq	_SQLITE_INDEX_SCAN_UNIQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WHERE_ONEROW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, 20(%r13)
	je	LBB0_44
## %bb.43:
	orl	%eax, 64(%rbx)
	jmp	LBB0_45
LBB0_44:
	notl	%eax
	andl	%eax, 64(%rbx)
LBB0_45:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_whereLoopInsert
	movl	%eax, %r12d
	cmpl	$0, 36(%rbx)
	je	LBB0_47
## %bb.46:
	movq	40(%rbx), %rdi
	callq	_sqlite3_free
	movl	$0, 36(%rbx)
LBB0_47:
	movl	-104(%rbp), %eax                ## 4-byte Reload
	notl	%eax
	andl	8(%rbx), %eax
	movslq	%eax, %rsi
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_WHERETRACE
LBB0_48:
	movl	%r12d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movl	-100(%rbp), %eax                ## 4-byte Reload
	notl	%eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	andl	%eax, 32(%rbx)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leal	1(%rsi), %ecx
	movl	%ecx, 16(%rbx)
	testl	%esi, %esi
	js	LBB0_19
## %bb.36:
	movq	24(%rbx), %rax
	movl	%ecx, %ecx
	xorl	%edx, %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_38 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_38
	jmp	LBB0_19
LBB0_39:
	movq	(%r8), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_sqlite3ErrorMsg
	movl	4(%r13), %edi
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_BIG_DBL,8,3             ## @SQLITE_BIG_DBL
	.comm	_SQLITE_CONSTRAINT,4,2          ## @SQLITE_CONSTRAINT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  ^^^^--- non-viable plan rejected!\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s.xBestIndex malfunction"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_WO_IN,4,2                      ## @WO_IN
	.comm	_SQLITE_INDEX_SCAN_UNIQUE,4,2   ## @SQLITE_INDEX_SCAN_UNIQUE
	.comm	_WHERE_ONEROW,4,2               ## @WHERE_ONEROW
	.no_dead_strip	_whereLoopAddVirtualOne
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function whereLoopAddVirtualOne
lCPI0_0:
	.long	25                              ; 0x19
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_whereLoopAddVirtualOne:                ; @whereLoopAddVirtualOne
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x6
	str	w5, [sp, #36]                   ; 4-byte Folded Spill
	mov	x21, x4
	stur	w3, [x29, #-84]                 ; 4-byte Folded Spill
	mov	x28, x2
	mov	x27, x1
	mov	x24, x0
	ldp	x22, x10, [x0, #8]
	ldr	x25, [x4, #72]
	ldr	x8, [x0]
	ldp	x8, x9, [x8]
	stp	x9, x10, [sp, #72]              ; 16-byte Folded Spill
	ldr	x19, [x8]
	ldr	x23, [x22]
	ldr	w26, [x4]
	bics	wzr, w1, w2
	cset	w0, eq
	bl	_assert
	str	x20, [sp, #56]                  ; 8-byte Folded Spill
	str	wzr, [x20]
	str	w27, [x22, #8]
	cmp	w26, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x9, [x21, #56]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	add	x9, x9, #8
	mov	w10, #1
	mov	x11, x26
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	w11, w11, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x9, #-8]
	str	wzr, [x9]
	lsl	x13, x12, #3
	ldr	w13, [x8, x13]
	bics	wzr, w13, w28
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x8, x12, lsl #3
	ldr	w12, [x12, #4]
	ldur	w13, [x29, #-84]                ; 4-byte Folded Reload
	tst	w12, w13
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w10, [x9]
	b	LBB0_2
LBB0_6:
	lsl	w2, w26, #4
	mov	x0, x25
	mov	w1, #0
	bl	_memset
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	str	xzr, [x21, #48]
Lloh0:
	adrp	x8, _SQLITE_BIG_DBL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_BIG_DBL@GOTPAGEOFF]
	stp	xzr, xzr, [x21, #32]
Lloh2:
	ldr	d0, [x8]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	stp	d0, d1, [x21, #8]
	add	x19, x19, x23, lsl #4
	ldp	x1, x8, [x19]
	str	x8, [x21, #64]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x2, x21
	bl	_vtabBestIndex
	cbz	w0, LBB0_9
; %bb.7:
	mov	x28, x0
Lloh5:
	adrp	x8, _SQLITE_CONSTRAINT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_CONSTRAINT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_36
; %bb.8:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #65535
	bl	_WHERETRACE
Lloh10:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh12:
	ldr	w28, [x8]
	b	LBB0_36
LBB0_9:
	ldr	w8, [x22, #12]
	cmp	w8, w26
	cset	w0, ge
	bl	_assert
	cmp	w26, #0
	b.le	LBB0_26
; %bb.10:
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	str	w27, [sp, #20]                  ; 4-byte Folded Spill
	ldr	x0, [x22, #24]
	lsl	x1, x26, #3
	bl	_bzero
	str	wzr, [x22, #32]
	ldr	x8, [x21, #56]
	add	x28, x25, #8
	add	x25, x8, #8
	mov	w20, #-1
	mov	x23, x26
	str	x22, [sp, #64]                  ; 8-byte Folded Spill
	stp	x26, x21, [sp, #40]             ; 16-byte Folded Spill
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x28, x28, #16
	add	x25, x25, #16
	subs	x23, x23, #1
	b.eq	LBB0_37
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldur	w27, [x28, #-8]
	subs	w19, w27, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w27, w26
	b.gt	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	x24, [x25, #-8]
	tbnz	w24, #31, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w8, w24
	b.le	LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x22, #24]
	ldr	x8, [x8, w19, uxtw #3]
	cbnz	x8, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w27, w26
	cset	w0, eq
	bl	_testcase
	cmp	w24, #0
	cset	w0, eq
	bl	_testcase
	mov	x21, x20
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w8, w24
	cset	w0, eq
	bl	_testcase
	ldr	x26, [x20, #8]
	lsl	x8, x24, #32
	add	x20, x26, x8, asr #29
	ldr	w8, [x20]
	ldp	w9, w10, [x22, #8]
	orr	w8, w9, w8
	str	w8, [x22, #8]
	cmp	w27, w10
	cset	w0, le
	bl	_assert
	ldr	x8, [x22, #24]
	str	x20, [x8, x19, lsl #3]
	mov	x20, x21
	cmp	w19, w21
	csel	w20, w19, w21, gt
	cmp	w19, #15
	cset	w0, eq
	bl	_testcase
	cmp	w19, #16
	cset	w0, eq
	bl	_testcase
	cmp	w27, #16
	b.hi	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w8, #1
	lsl	w8, w8, w19
	ldr	x10, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w9, [x10, #32]
	orr	w8, w9, w8
	str	w8, [x10, #32]
LBB0_22:                                ;   in Loop: Header=BB0_13 Depth=1
	sxtw	x8, w24
	add	x8, x26, x8, lsl #3
	ldr	w8, [x8, #4]
Lloh13:
	adrp	x10, _WO_IN@GOTPAGE
Lloh14:
	ldr	x10, [x10, _WO_IN@GOTPAGEOFF]
	ldr	w9, [x10]
	tst	w9, w8
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b.eq	LBB0_11
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [x21, #32]
Lloh15:
	adrp	x8, _SQLITE_INDEX_SCAN_UNIQUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SQLITE_INDEX_SCAN_UNIQUE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x21, #20]
	bic	w8, w9, w8
	str	w8, [x21, #20]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	mov	w9, #1
	str	w9, [x8]
	ldr	w8, [x10]
	ldur	w9, [x29, #-84]                 ; 4-byte Folded Reload
	tst	w8, w9
	cset	w0, eq
	bl	_assert
	b	LBB0_11
LBB0_24:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w2, [x8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
LBB0_25:
	bl	_sqlite3ErrorMsg
	ldr	w0, [x21, #4]
	bl	_testcase
Lloh20:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w28, [x8]
	b	LBB0_36
LBB0_26:
	str	wzr, [x22, #32]
	str	wzr, [x22, #16]
	mov	w20, #-1
LBB0_27:
	ldr	w8, [x22, #12]
	cmp	w20, w8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x21, #48]
	str	x8, [x22, #56]
	ldr	w8, [x21, #4]
	str	w8, [x22, #36]
	str	wzr, [x21, #4]
	ldp	x9, x8, [x21, #32]
	str	x8, [x22, #40]
	cbz	x9, LBB0_29
; %bb.28:
	ldr	x8, [x21, #24]
	b	LBB0_30
LBB0_29:
	mov	x8, #0
LBB0_30:
	str	x8, [x22, #48]
	str	xzr, [x22, #80]
	ldr	d0, [x21, #8]
	bl	_sqlite3LogEstFromDouble
	str	w0, [x22, #72]
	ldr	w0, [x21, #16]
	bl	_sqlite3LogEst
	str	w0, [x22, #68]
	ldr	w9, [x21, #20]
Lloh23:
	adrp	x8, _SQLITE_INDEX_SCAN_UNIQUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SQLITE_INDEX_SCAN_UNIQUE@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x8]
Lloh26:
	adrp	x8, _WHERE_ONEROW@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WHERE_ONEROW@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w10, w9
	b.eq	LBB0_32
; %bb.31:
	ldr	w9, [x22, #64]
	orr	w8, w9, w8
	b	LBB0_33
LBB0_32:
	ldr	w9, [x22, #64]
	bic	w8, w9, w8
LBB0_33:
	str	w8, [x22, #64]
	mov	x0, x24
	mov	x1, x22
	bl	_whereLoopInsert
	mov	x28, x0
	ldr	w8, [x22, #36]
	cbz	w8, LBB0_35
; %bb.34:
	ldr	x0, [x22, #40]
	bl	_sqlite3_free
	str	wzr, [x22, #36]
LBB0_35:
	ldr	w8, [x22, #8]
	bic	w8, w8, w27
	sxtw	x1, w8
	mov	w0, #65535
	bl	_WHERETRACE
LBB0_36:
	mov	x0, x28
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_37:
	ldr	w8, [x22, #32]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	bic	w8, w8, w9
	str	w8, [x22, #32]
	add	w8, w20, #1
	str	w8, [x22, #16]
	tbnz	w20, #31, LBB0_41
; %bb.38:
	ldr	x9, [x22, #24]
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_39
	b	LBB0_27
LBB0_41:
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_27
LBB0_42:
	ldr	x8, [x11]
	ldr	w2, [x8]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_25
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_BIG_DBL,8,3             ; @SQLITE_BIG_DBL
	.comm	_SQLITE_CONSTRAINT,4,2          ; @SQLITE_CONSTRAINT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  ^^^^--- non-viable plan rejected!\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s.xBestIndex malfunction"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_WO_IN,4,2                      ; @WO_IN
	.comm	_SQLITE_INDEX_SCAN_UNIQUE,4,2   ; @SQLITE_INDEX_SCAN_UNIQUE
	.comm	_WHERE_ONEROW,4,2               ; @WHERE_ONEROW
	.no_dead_strip	_whereLoopAddVirtualOne
.subsections_via_symbols
