	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whereLoopAddVirtual
_whereLoopAddVirtual:                   ## @whereLoopAddVirtual
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	xorl	%edi, %edi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rdx
	sete	%dil
	callq	_assert
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r13
	movq	8(%rbx), %r12
	movq	16(%rbx), %r14
	movq	(%rcx), %rax
	movq	(%r12), %rcx
	leaq	(%rax,%rcx,8), %r15
	movq	(%rax,%rcx,8), %rdi
	callq	_IsVirtual
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r8d
	leaq	-52(%rbp), %r9
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%r14, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %r14
	movq	%r15, %rcx
	callq	_allocateIndexInfo
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movq	$0, 40(%r12)
	movq	_WHERE_VIRTUALTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r12)
	movl	(%r13), %ebx
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movl	(%r15), %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_whereLoopResize
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%r15), %edi
	movq	%r13, %rsi
	callq	_sqlite3DbFree
LBB0_3:
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_37
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movslq	(%rax), %rsi
	movl	$2048, %edi                     ## imm = 0x800
	callq	_WHERETRACE
	leaq	L_.str.1(%rip), %rsi
	movl	$64, %edi
	callq	_WHERETRACE
	movq	_ALLBITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	-52(%rbp), %r9d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_whereLoopAddVirtualOne
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.5:
	notq	%r14
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	8(%r15), %rdx
	movl	-44(%rbp), %ecx
	andq	%r14, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	jne	LBB0_7
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_33
LBB0_7:
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movl	$64, %edi
	callq	_WHERETRACE
	movq	_ALLBITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_WO_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-52(%rbp), %r9d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_whereLoopAddVirtualOne
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$0, -44(%rbp)
	sete	%dil
	callq	_assert
	movq	_ALLBITS@GOTPCREL(%rip), %r8
	xorl	%ecx, %ecx
	movq	8(%r15), %rax
	andq	%r14, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	sete	%cl
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %ebx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
	jmp	LBB0_25
LBB0_9:
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	_ALLBITS@GOTPCREL(%rip), %r8
LBB0_10:
	movl	%ebx, %r12d
	andl	$-2, %r12d
	xorl	%r15d, %r15d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	_ALLBITS@GOTPCREL(%rip), %r8
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, -60(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_25
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	%r15, %r13
	movq	(%r8), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setg	%dil
	callq	_assert
	testl	%ebx, %ebx
	jle	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rcx
	xorl	%edx, %edx
	movq	_ALLBITS@GOTPCREL(%rip), %r8
	cmpl	$1, %ebx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdx,8), %rsi
	movq	8(%rcx,%rdx,8), %rdi
	movq	(%rax,%rsi,8), %rsi
	andq	%r14, %rsi
	cmpq	%r15, %rsi
	movq	%r15, %rbx
	cmovlq	%rsi, %rbx
	cmpq	%r13, %rsi
	cmovleq	%r15, %rbx
	movq	(%rax,%rdi,8), %rsi
	andq	%r14, %rsi
	cmpq	%rbx, %rsi
	movq	%rbx, %r15
	cmovlq	%rsi, %r15
	cmpq	%r13, %rsi
	cmovleq	%rbx, %r15
	addq	$2, %rdx
	cmpq	%rdx, %r12
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testb	$1, %bl
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rax,%rcx,8), %rax
	andq	%r14, %rax
	cmpq	%r15, %rax
	movq	%r15, %rcx
	cmovlq	%rax, %rcx
	cmpq	%r13, %rax
	cmovgq	%rcx, %r15
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_ALLBITS@GOTPCREL(%rip), %r8
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpq	(%r8), %r15
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	-128(%rbp), %r15                ## 8-byte Folded Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_12
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	je	LBB0_12
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%r15d, %rsi
	movl	$64, %edi
	callq	_WHERETRACE
	movq	%r15, %rdx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	orq	%rbx, %rdx
	movl	-52(%rbp), %r9d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_whereLoopAddVirtualOne
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpq	%rbx, 8(%rax)
	jne	LBB0_11
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -44(%rbp)
	movl	$1, %ecx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	cmovel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
LBB0_24:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %r13                 ## 8-byte Reload
LBB0_25:
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%eax, %ebx
	jne	LBB0_28
## %bb.26:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	leaq	-44(%rbp), %r15
	jne	LBB0_29
## %bb.27:
	leaq	L_.str.4(%rip), %rsi
	movl	$64, %edi
	callq	_WHERETRACE
	movl	-52(%rbp), %r9d
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_whereLoopAddVirtualOne
	movl	%eax, %ebx
	cmpl	$0, -44(%rbp)
	movl	$1, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmovel	%eax, %ecx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_30
LBB0_28:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	leaq	-44(%rbp), %r15
LBB0_29:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_30:
	cmpl	%eax, %ebx
	jne	LBB0_34
## %bb.31:
	testl	%ecx, %ecx
	jne	LBB0_34
## %bb.32:
	leaq	L_.str.5(%rip), %rsi
	movl	$64, %edi
	callq	_WHERETRACE
	movq	_WO_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-52(%rbp), %r9d
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movq	%r13, %r8
	callq	_whereLoopAddVirtualOne
LBB0_33:
	movl	%eax, %ebx
LBB0_34:
	cmpq	$0, 8(%r13)
	je	LBB0_36
## %bb.35:
	movl	4(%r13), %edi
	callq	_sqlite3_free
LBB0_36:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_sqlite3DbFreeNN
	movslq	%ebx, %rsi
	movl	$2048, %edi                     ## imm = 0x800
	callq	_WHERETRACE
LBB0_37:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_NOMEM_BKPT,4,2          ## @SQLITE_NOMEM_BKPT
	.comm	_WHERE_VIRTUALTABLE,4,2         ## @WHERE_VIRTUALTABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"  VirtualOne: all usable\n"

	.comm	_ALLBITS,8,3                    ## @ALLBITS
L_.str.2:                               ## @.str.2
	.asciz	"  VirtualOne: all usable w/o IN\n"

	.comm	_WO_IN,4,2                      ## @WO_IN
L_.str.4:                               ## @.str.4
	.asciz	"  VirtualOne: all disabled\n"

L_.str.5:                               ## @.str.5
	.asciz	"  VirtualOne: all disabled and w/o IN\n"

	.no_dead_strip	_whereLoopAddVirtual
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereLoopAddVirtual
_whereLoopAddVirtual:                   ; @whereLoopAddVirtual
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	tst	x2, x1
	cset	w0, eq
	bl	_assert
	ldp	x23, x8, [x21, #16]
	ldr	x24, [x21, #8]
	ldp	x8, x19, [x8]
	ldr	x8, [x8]
	ldr	x9, [x24]
	add	x26, x8, x9, lsl #3
	ldr	x0, [x26]
	bl	_IsVirtual
	bl	_assert
	ldr	w4, [x21]
	add	x5, sp, #40
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x26
	bl	_allocateIndexInfo
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	str	xzr, [x24, #40]
Lloh0:
	adrp	x8, _WHERE_VIRTUALTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WHERE_VIRTUALTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x24, #32]
	stp	xzr, xzr, [x24, #16]
	ldr	w25, [x0]
	ldr	w0, [x19]
	mov	x1, x24
	mov	x2, x25
	bl	_whereLoopResize
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	mov	x1, x22
	bl	_sqlite3DbFree
LBB0_3:
Lloh3:
	adrp	x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	b	LBB0_31
LBB0_4:
	ldr	x8, [x26]
	ldrsw	x1, [x8]
	mov	w0, #2048
	bl	_WHERETRACE
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #64
	bl	_WHERETRACE
Lloh8:
	adrp	x8, _ALLBITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ALLBITS@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	ldr	w5, [sp, #40]
	add	x6, sp, #44
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	mov	x4, x22
	bl	_whereLoopAddVirtualOne
	mov	x27, x0
Lloh11:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_28
; %bb.5:
	ldr	x9, [x24, #8]
	ldr	w8, [sp, #44]
	bics	x9, x9, x20
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	b.ne	LBB0_7
; %bb.6:
	cbz	w8, LBB0_28
LBB0_7:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mvn	x28, x20
Lloh14:
	adrp	x19, _WO_IN@GOTPAGE
Lloh15:
	ldr	x19, [x19, _WO_IN@GOTPAGEOFF]
	cbz	w8, LBB0_10
; %bb.8:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #64
	bl	_WHERETRACE
Lloh18:
	adrp	x8, _ALLBITS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALLBITS@GOTPAGEOFF]
Lloh20:
	ldr	x2, [x8]
	ldr	w3, [x19]
	ldr	w5, [sp, #40]
	add	x6, sp, #44
	mov	x0, x21
	mov	x1, x20
	mov	x4, x22
	bl	_whereLoopAddVirtualOne
	mov	x26, x0
	ldr	w8, [sp, #44]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x24, #8]
	ands	x8, x8, x28
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	cset	w9, eq
Lloh21:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh23:
	ldr	w27, [x8]
	mov	x8, x9
	cmp	w26, w27
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x26
	mov	x23, x8
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
Lloh24:
	adrp	x26, _WO_IN@GOTPAGE
Lloh25:
	ldr	x26, [x26, _WO_IN@GOTPAGEOFF]
	b	LBB0_24
LBB0_10:
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
LBB0_11:
	mov	x26, #0
	stp	w8, w8, [sp, #16]               ; 8-byte Folded Spill
	mov	x0, x27
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh26:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh28:
	ldr	w27, [x8]
	cmp	w0, w27
	b.ne	LBB0_21
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	mov	x19, x0
Lloh29:
	adrp	x8, _ALLBITS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ALLBITS@GOTPAGEOFF]
Lloh31:
	ldr	x27, [x8]
	cmp	x27, #0
	cset	w0, gt
	bl	_assert
	cmp	w25, #1
	b.lt	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x22, #16]
	mov	x10, x25
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9], #8
	ldr	x11, [x8, x11, lsl #3]
	and	x11, x11, x28
	cmp	x11, x27
	ccmp	x11, x26, #4, lt
	csel	x27, x11, x27, gt
	subs	x10, x10, #1
	b.ne	LBB0_16
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh32:
	adrp	x8, _ALLBITS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ALLBITS@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x27, x8
	b.eq	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x26, x27
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	x27, x8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ccmp	x27, x8, #4, ne
	b.eq	LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	sxtw	x1, w26
	mov	w0, #64
	bl	_WHERETRACE
	orr	x2, x26, x20
	ldr	w5, [sp, #40]
	add	x6, sp, #44
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	mov	x4, x22
	bl	_whereLoopAddVirtualOne
	ldr	x8, [x24, #8]
	cmp	x8, x20
	b.ne	LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp, #44]
	cmp	w8, #0
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	csinc	w9, w8, wzr, ne
	mov	w8, #1
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
	b	LBB0_13
LBB0_21:
Lloh35:
	adrp	x26, _WO_IN@GOTPAGE
Lloh36:
	ldr	x26, [x26, _WO_IN@GOTPAGEOFF]
	ldp	w8, w23, [sp, #16]              ; 8-byte Folded Reload
	b	LBB0_23
LBB0_22:
Lloh37:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh39:
	ldr	w27, [x8]
Lloh40:
	adrp	x26, _WO_IN@GOTPAGE
Lloh41:
	ldr	x26, [x26, _WO_IN@GOTPAGEOFF]
	ldp	w8, w23, [sp, #16]              ; 8-byte Folded Reload
	mov	x0, x19
LBB0_23:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
LBB0_24:
	cmp	w0, w27
	ccmp	w8, #0, #0, eq
	b.ne	LBB0_26
; %bb.25:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #64
	bl	_WHERETRACE
	ldr	w5, [sp, #40]
	add	x6, sp, #44
	mov	x0, x21
	mov	x1, x20
	mov	x2, x20
	mov	w3, #0
	mov	x4, x22
	bl	_whereLoopAddVirtualOne
	ldr	w8, [sp, #44]
	cmp	w8, #0
	csinc	w23, w23, wzr, ne
Lloh44:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh46:
	ldr	w27, [x8]
LBB0_26:
	cmp	w0, w27
	ccmp	w23, #0, #0, eq
	mov	x27, x0
	b.ne	LBB0_28
; %bb.27:
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #64
	bl	_WHERETRACE
	ldr	w3, [x26]
	ldr	w5, [sp, #40]
	add	x6, sp, #44
	mov	x0, x21
	mov	x1, x20
	mov	x2, x20
	mov	x4, x22
	bl	_whereLoopAddVirtualOne
	mov	x27, x0
LBB0_28:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_30
; %bb.29:
	ldr	w0, [x22, #4]
	bl	_sqlite3_free
LBB0_30:
	ldr	w0, [x19]
	mov	x1, x22
	bl	_sqlite3DbFreeNN
	sxtw	x1, w27
	mov	w0, #2048
	bl	_WHERETRACE
LBB0_31:
	mov	x0, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
	.comm	_WHERE_VIRTUALTABLE,4,2         ; @WHERE_VIRTUALTABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"  VirtualOne: all usable\n"

	.comm	_ALLBITS,8,3                    ; @ALLBITS
l_.str.2:                               ; @.str.2
	.asciz	"  VirtualOne: all usable w/o IN\n"

	.comm	_WO_IN,4,2                      ; @WO_IN
l_.str.4:                               ; @.str.4
	.asciz	"  VirtualOne: all disabled\n"

l_.str.5:                               ; @.str.5
	.asciz	"  VirtualOne: all disabled and w/o IN\n"

	.no_dead_strip	_whereLoopAddVirtual
.subsections_via_symbols
