	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function bestVirtualIndex
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bestVirtualIndex:                      ## @bestVirtualIndex
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	112(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	96(%rdi), %rax
	movq	104(%rdi), %r15
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_WHERE_VIRTUALTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	88(%r14), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_allocateIndexInfo
	movq	%rax, %r13
	movq	88(%r14), %rax
	movq	%r13, (%rax)
	testq	%r13, %r13
	je	LBB0_58
LBB0_2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	setne	%bl
LBB0_4:
	movl	%ebx, %edi
	callq	_assert
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3GetVTable
	movl	%eax, %edi
	callq	_assert
	leaq	32(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r9d
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
	xorl	%edi, %edi
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	cmpl	$2, %r9d
	setb	%dil
	callq	_assert
	movq	56(%r13), %r12
	movl	(%r13), %edx
	testl	%edx, %edx
	jle	LBB0_23
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	28(%r13), %rax
	movq	(%r15), %rcx
	movl	(%r14), %r9d
	movq	_WO_IN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	cmpl	$1, %edx
	jne	LBB0_7
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	testb	$1, %dl
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%rax), %rdi
	testl	%r9d, (%rcx,%rdi,8)
	je	LBB0_19
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %esi
	andl	$-2, %esi
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%ebx, %ebx
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%ebx, 12(%rax)
	addq	$16, %rax
	addl	$-2, %esi
	je	LBB0_17
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax), %rdi
	testl	%r9d, (%rcx,%rdi,8)
	je	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=2
	movl	$1, %ebx
	testl	%r10d, %r10d
	je	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%ebx, 4(%rax)
	movslq	8(%rax), %rdi
	testl	%r9d, (%rcx,%rdi,8)
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$1, %ebx
	testl	%r10d, %r10d
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	testl	%r8d, 4(%rcx,%rdi,8)
	jne	LBB0_15
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	testl	%r8d, 4(%rcx,%rdi,8)
	jne	LBB0_11
	jmp	LBB0_12
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %esi
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, 4(%rax)
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	shll	$6, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%r13), %rdi
	callq	_sqlite3_free
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, 8(%r13)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movq	_SQLITE_BIG_DBL@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, 16(%r13)
	movl	24(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 80(%r14)
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, 24(%r13)
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_vtabBestIndex
	testq	%rax, %rax
	jne	LBB0_58
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %eax
	testl	%eax, %eax
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	jle	LBB0_35
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	28(%r13), %r8
	movq	_WO_IN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shlq	$3, %rax
	xorl	%esi, %esi
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_30 Depth=2
	addq	$8, %rsi
	cmpq	%rsi, %rax
	je	LBB0_35
LBB0_30:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%r12,%rsi,8)
	jle	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	movslq	(%r8,%rsi), %rdi
	movq	(%r15), %rbx
	movl	(%rbx,%rdi,8), %ecx
	orl	%ecx, 16(%r14)
	testl	%edx, 4(%rbx,%rdi,8)
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=2
	cmpq	$0, 16(%r12,%rsi,8)
	je	LBB0_59
## %bb.33:                              ##   in Loop: Header=BB0_30 Depth=2
	movq	$0, 8(%r13)
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_59:                                ##   in Loop: Header=BB0_5 Depth=1
	decl	%r9d
	jmp	LBB0_5
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r8d, 4(%rcx,%rdi,8)
	jne	LBB0_21
	jmp	LBB0_22
LBB0_35:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.37:
	movl	4(%r14), %ebx
	testl	%ebx, %ebx
	jle	LBB0_60
## %bb.38:
	movq	72(%r14), %rdx
	movq	_WHERE_UNIQUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	$1, %ebx
	jne	LBB0_40
## %bb.39:
	xorl	%edi, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_46:
	testb	$1, %bl
	je	LBB0_49
## %bb.47:
	testl	%esi, (%rdx,%rdi,8)
	jne	LBB0_49
## %bb.48:
	movq	$0, 8(%r13)
	xorl	%eax, %eax
	jmp	LBB0_49
LBB0_36:
	xorl	%eax, %eax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_49:
	movsd	16(%r13), %xmm1                 ## xmm1 = mem[0],zero
	cmpq	$0, 80(%r14)
	je	LBB0_52
## %bb.50:
	testq	%rax, %rax
	jne	LBB0_52
## %bb.51:
	movapd	%xmm1, %xmm0
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	callq	_estLog
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm1
	jmp	LBB0_52
LBB0_60:
	movsd	16(%r13), %xmm1                 ## xmm1 = mem[0],zero
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_52:
	movq	_SQLITE_BIG_DBL@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	minsd	%xmm1, %xmm0
	movsd	%xmm0, 32(%r14)
	movq	%r13, 64(%r14)
	cmpq	$0, 8(%r13)
	je	LBB0_54
## %bb.53:
	movq	_WHERE_ORDERED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 56(%r14)
	movl	%r15d, %eax
	jmp	LBB0_57
LBB0_54:
	movslq	4(%r14), %rax
	testq	%rax, %rax
	je	LBB0_55
## %bb.56:
	movq	72(%r14), %rcx
	movl	-4(%rcx,%rax,8), %eax
	jmp	LBB0_57
LBB0_58:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	movl	%ebx, %ecx
	andl	$-2, %ecx
	xorl	%edi, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=1
	addq	$2, %rdi
	cmpq	%rdi, %rcx
	je	LBB0_46
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	testl	%esi, (%rdx,%rdi,8)
	je	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=1
	testl	%esi, 8(%rdx,%rdi,8)
	jne	LBB0_45
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	$0, 8(%r13)
	xorl	%eax, %eax
	testl	%esi, 8(%rdx,%rdi,8)
	jne	LBB0_45
LBB0_44:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	$0, 8(%r13)
	xorl	%eax, %eax
	jmp	LBB0_45
LBB0_55:
	xorl	%eax, %eax
LBB0_57:
	movl	%eax, 40(%r14)
	movq	$0, 48(%r14)
	movl	%r15d, 24(%r13)
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bestOrClauseIndex              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WHERE_VIRTUALTABLE,4,2         ## @WHERE_VIRTUALTABLE
	.comm	_WO_IN,4,2                      ## @WO_IN
	.comm	_SQLITE_BIG_DBL,8,3             ## @SQLITE_BIG_DBL
	.comm	_WHERE_UNIQUE,4,2               ## @WHERE_UNIQUE
	.comm	_WHERE_ORDERED,4,2              ## @WHERE_ORDERED
	.no_dead_strip	_bestVirtualIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bestVirtualIndex
_bestVirtualIndex:                      ; @bestVirtualIndex
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	ldp	x25, x21, [x0, #104]
	ldr	x8, [x0, #96]
	ldr	x22, [x8]
	add	x0, x0, #8
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x8, _WHERE_VIRTUALTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WHERE_VIRTUALTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	ldr	x8, [x19, #88]
	ldr	x20, [x8]
	cbnz	x20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_allocateIndexInfo
	mov	x20, x0
	ldr	x8, [x19, #88]
	str	x0, [x8]
	cbz	x0, LBB0_35
LBB0_2:
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_assert
	ldr	w0, [x21]
	mov	x1, x22
	bl	_sqlite3GetVTable
	bl	_assert
	add	x27, x20, #32
	mov	w28, #1
Lloh3:
	adrp	x26, _SQLITE_BIG_DBL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SQLITE_BIG_DBL@GOTPAGEOFF]
	fmov	d8, #0.50000000
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	cmp	w28, #2
	cset	w0, lo
	bl	_assert
	ldr	x23, [x20, #56]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x9, [x20, #28]
	ldr	x10, [x25]
	ldr	w11, [x19]
	mov	x12, x8
Lloh5:
	adrp	x13, _WO_IN@GOTPAGE
Lloh6:
	ldr	x13, [x13, _WO_IN@GOTPAGEOFF]
Lloh7:
	ldr	w13, [x13]
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=2
	add	x14, x10, x14, lsl #3
	ldr	w14, [x14, #4]
	tst	w13, w14
	b.eq	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	mov	w14, #0
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	str	w14, [x9, #4]
	add	x9, x9, #8
	subs	w12, w12, #1
	b.eq	LBB0_14
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x14, [x9]
	lsl	x15, x14, #3
	ldr	w15, [x10, x15]
	tst	w11, w15
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	cbz	w28, LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	w14, #1
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	w2, w8, #6
	mov	x0, x23
	mov	w1, #0
	bl	_memset
	ldr	x8, [x27]
	cbz	x8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20, #48]
	bl	_sqlite3_free
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x20, #8]
	stp	xzr, xzr, [x27, #8]
	str	xzr, [x27]
	mov	x24, x26
	ldr	d0, [x26]
	fmul	d0, d0, d8
	str	d0, [x20, #16]
	ldr	w26, [x20, #24]
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x20, #24]
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_vtabBestIndex
	cbnz	x0, LBB0_35
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x9, [x20, #28]
Lloh8:
	adrp	x10, _WO_IN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _WO_IN@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	add	x11, x23, #16
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
	str	xzr, [x20, #8]
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x9, x9, #8
	add	x11, x11, #64
	subs	x8, x8, #1
	b.eq	LBB0_27
LBB0_23:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x12, [x11, #-16]
	cmp	x12, #1
	b.lt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldrsw	x12, [x9]
	ldr	x13, [x25]
	add	x12, x13, x12, lsl #3
	ldr	w13, [x19, #16]
	ldp	w14, w12, [x12]
	orr	w13, w13, w14
	str	w13, [x19, #16]
	tst	w10, w12
	b.eq	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x12, [x11]
	cbnz	x12, LBB0_21
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w28, w28, #1
	mov	x26, x24
	b	LBB0_6
LBB0_27:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_33
; %bb.28:
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.lt	LBB0_36
; %bb.29:
	ldr	x10, [x19, #72]
Lloh11:
	adrp	x11, _WHERE_UNIQUE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _WHERE_UNIQUE@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_33
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	tst	w11, w12
	b.ne	LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x8, #0
	str	xzr, [x20, #8]
	b	LBB0_30
LBB0_33:
	ldr	d8, [x20, #16]
	ldr	x9, [x19, #80]
	cmp	x9, #0
	ccmp	x8, #0, #0, ne
	b.ne	LBB0_37
; %bb.34:
	fmov	d0, d8
	bl	_estLog
	fmadd	d8, d0, d8, d8
	b	LBB0_37
LBB0_35:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_36:
	ldr	d8, [x20, #16]
LBB0_37:
	ldr	d0, [x24]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	fcmp	d0, d8
	fcsel	d0, d0, d8, mi
	str	d0, [x19, #32]
	str	x20, [x19, #64]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_39
; %bb.38:
Lloh14:
	adrp	x8, _WHERE_ORDERED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WHERE_ORDERED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19, #56]
	orr	w8, w9, w8
	str	w8, [x19, #56]
	mov	x8, x26
	b	LBB0_41
LBB0_39:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_41
; %bb.40:
	ldr	x9, [x19, #72]
	sub	w8, w8, #1
	add	x8, x9, w8, sxtw #3
	ldr	w8, [x8, #4]
LBB0_41:
	str	w8, [x19, #40]
	str	xzr, [x19, #48]
	str	w26, [x20, #24]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	b	_bestOrClauseIndex
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_WHERE_VIRTUALTABLE,4,2         ; @WHERE_VIRTUALTABLE
	.comm	_WO_IN,4,2                      ; @WO_IN
	.comm	_SQLITE_BIG_DBL,8,3             ; @SQLITE_BIG_DBL
	.comm	_WHERE_UNIQUE,4,2               ; @WHERE_UNIQUE
	.comm	_WHERE_ORDERED,4,2              ; @WHERE_ORDERED
	.no_dead_strip	_bestVirtualIndex
.subsections_via_symbols
