	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function whereLoopAddOr
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_whereLoopAddOr:                        ## @whereLoopAddOr
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	32(%rdi), %r14
	movq	_SQLITE_OK@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movq	(%rdi), %r12
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	(%r12), %rax
	leaq	(%rax,%rax,2), %rbx
	shlq	$3, %rbx
	addq	8(%r12), %rbx
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%rbx, %rcx
	movq	%r12, -176(%rbp)                ## 8-byte Spill
	movq	8(%r12), %rbx
	cmpq	%rcx, %rbx
	jae	LBB0_1
## %bb.2:
	cmpl	(%r15), %r13d
	movl	%r13d, %edi
	jne	LBB0_3
## %bb.4:
	movq	(%r14), %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rsi
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	movl	(%rdx,%rsi,8), %edx
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	leaq	48(%rax), %rdx
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	addq	$32, %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_WO_OR@GOTPCREL(%rip), %rdx
	leaq	-104(%rbp), %r15
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##         Child Loop BB0_28 Depth 4
                                        ##     Child Loop BB0_36 Depth 2
	movl	(%rdx), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rsi
	movq	16(%rbx), %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movslq	8(%r14), %rax
	leaq	(%rax,%rax,2), %rbx
	shlq	$3, %rbx
	addq	16(%r14), %rbx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movq	32(%rax), %rax
	movq	%rax, -224(%rbp)
	movq	$0, -240(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -248(%rbp)
	movl	$512, %edi                      ## imm = 0x200
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	callq	_WHERETRACE
	movq	16(%r14), %rdx
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	cmpq	%rbx, %rdx
	jae	LBB0_33
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rdi
	leaq	-80(%rbp), %rsi
	callq	_whereOrMove
LBB0_31:                                ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
LBB0_32:                                ##   in Loop: Header=BB0_11 Depth=2
	addq	$24, %rdx
	cmpq	-200(%rbp), %rdx                ## 8-byte Folded Reload
	jae	LBB0_33
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##         Child Loop BB0_28 Depth 4
	movq	_WO_AND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-108(%rbp), %eax                ## 4-byte Reload
	cmpl	%eax, 4(%rdx)
	jne	LBB0_32
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movl	32(%rcx), %eax
	movl	%eax, -264(%rbp)
	movq	%rcx, -272(%rbp)
	movq	_TK_AND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -280(%rbp)
	movl	$1, -296(%rbp)
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -288(%rbp)
	leaq	-296(%rbp), %rax
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%rax, -256(%rbp)
	movl	$0, -80(%rbp)
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movl	4(%rax,%rcx,8), %edi
	callq	_IsVirtual
	leaq	-256(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_whereLoopAddVirtual
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_whereLoopAddBtree
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	%eax, %ecx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-256(%rbp), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_whereLoopAddOr
	movl	%eax, %ecx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %ecx
	sete	%al
	cmpl	$0, -80(%rbp)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpl	$0, -80(%rbp)
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=2
	testl	%ebx, %ebx
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-144(%rbp), %rdi
	movq	%r15, %rsi
	callq	_whereOrMove
	movl	$0, -104(%rbp)
	movl	-144(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	-80(%rbp), %eax
	xorl	%esi, %esi
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=3
	incq	%rsi
	movslq	%ecx, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_31
LBB0_26:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_28 Depth 4
	testl	%eax, %eax
	jle	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=3
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%rsi, -208(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ##       Parent Loop BB0_26 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	-136(%rbp), %rax
	leaq	(,%rsi,8), %rcx
	leaq	(%rcx,%rcx,2), %r15
	movq	-72(%rbp), %rcx
	movl	(%rcx,%r13), %ebx
	orl	(%rax,%r15), %ebx
	movq	16(%rax,%r15), %rdi
	movq	16(%rcx,%r13), %rsi
	callq	_sqlite3LogEstAdd
	movl	%eax, %r12d
	movq	-136(%rbp), %rax
	movq	8(%rax,%r15), %rdi
	leaq	-104(%rbp), %r15
	movq	-72(%rbp), %rax
	movq	8(%rax,%r13), %rsi
	callq	_sqlite3LogEstAdd
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_whereOrInsert
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	incq	%r14
	movslq	-80(%rbp), %rax
	addq	$24, %r13
	cmpq	%rax, %r14
	jl	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=3
	movl	-144(%rbp), %ecx
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, %r12d
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, %r12d
	movq	%rsi, %rbx
	jmp	LBB0_39
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -104(%rbp)
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, 8(%rcx)
	movq	72(%rcx), %rax
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, (%rax)
	movq	_WHERE_MULTI_OR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rcx)
	movq	-160(%rbp), %rax                ## 8-byte Reload
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	cmpl	(%rax), %r12d
	jne	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -104(%rbp)
	jle	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$16, %ebx
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-96(%rbp), %rax
	movq	(%rax,%rbx), %rcx
	incq	%rcx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rcx, 24(%rsi)
	movq	-8(%rax,%rbx), %rcx
	movq	%rcx, 16(%rsi)
	movl	-16(%rax,%rbx), %eax
	movl	%eax, 12(%rsi)
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_whereLoopInsert
	movl	%eax, %r12d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	addq	$24, %rbx
	leaq	1(%r14), %rax
	movslq	-104(%rbp), %rcx
	cmpq	%rcx, %r14
	movq	%rax, %r14
	jl	LBB0_36
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$512, %edi                      ## imm = 0x200
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_WHERETRACE
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	_WO_OR@GOTPCREL(%rip), %rdx
LBB0_39:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$24, %rbx
	cmpq	%rcx, %rbx
	jae	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%edi, %r12d
	je	LBB0_5
	jmp	LBB0_41
LBB0_1:
	movl	%r13d, %r12d
	jmp	LBB0_41
LBB0_3:
	movl	%edi, %r12d
LBB0_41:
	movl	%r12d, %eax
	addq	$264, %rsp                      ## imm = 0x108
	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	_WO_OR,4,2                      ## @WO_OR
	.comm	_WO_AND,4,2                     ## @WO_AND
	.comm	_TK_AND,4,2                     ## @TK_AND
	.comm	_WHERE_MULTI_OR,4,2             ## @WHERE_MULTI_OR
	.comm	_sqlite3WhereTrace,4,2          ## @sqlite3WhereTrace
	.no_dead_strip	_whereLoopAddOr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereLoopAddOr
_whereLoopAddOr:                        ; @whereLoopAddOr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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, x2
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x26, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SQLITE_OK@GOTPAGEOFF]
	ldr	w25, [x26]
	ldr	x23, [x0]
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23]
	mov	w10, #24
	madd	x27, x9, x10, x8
	ldp	x22, x19, [x0, #24]
	add	x0, sp, #112
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x9, x23
	ldr	x23, [x23, #8]
	ldr	w8, [x26]
	cmp	x23, x27
	ccmp	w25, w8, #0, lo
	b.eq	LBB0_2
; %bb.1:
	mov	x26, x25
	b	LBB0_37
LBB0_2:
	mov	x11, x27
	stp	x24, x9, [sp, #32]              ; 16-byte Folded Spill
	str	w21, [sp, #76]                  ; 4-byte Folded Spill
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldrsw	x9, [x22]
	lsl	x10, x9, #3
	ldr	w10, [x8, x10]
	str	w10, [sp, #48]                  ; 4-byte Folded Spill
	add	x8, x8, x9, lsl #3
	add	x8, x8, #4
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	add	x9, x22, #48
	add	x8, x22, #32
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
Lloh2:
	adrp	x10, _WO_OR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WO_OR@GOTPAGEOFF]
	str	w20, [sp, #52]                  ; 4-byte Folded Spill
	str	x27, [sp, #24]                  ; 8-byte Folded Spill
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;         Child Loop BB0_25 Depth 4
                                        ;     Child Loop BB0_32 Depth 2
	ldr	w8, [x23]
	ldr	w9, [x10]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x23, #16]
	ldr	w8, [x19]
	ldr	w9, [x22, #4]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #24
	madd	x21, x9, x10, x8
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldp	q1, q0, [x8]
	stp	q1, q0, [sp, #128]
	ldr	x8, [x8, #32]
	str	x8, [sp, #160]
	add	x8, sp, #96
	stp	x8, xzr, [sp, #136]
	mov	w0, #512
	mov	x1, x23
	bl	_WHERETRACE
	ldr	x19, [x19, #16]
	cmp	x19, x21
	b.hs	LBB0_30
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [sp, #64]                  ; 8-byte Folded Spill
	mov	w26, #1
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w26, #0
	ldr	w20, [sp, #52]                  ; 4-byte Folded Reload
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x19, x19, #24
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	x19, x8
	b.hs	LBB0_30
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;         Child Loop BB0_25 Depth 4
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _WO_AND@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WO_AND@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x19, #8]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [x19, #4]
	ldr	w9, [sp, #48]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x9, #32]
	stur	w8, [x29, #-96]
	stur	x9, [x29, #-104]
Lloh7:
	adrp	x8, _TK_AND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TK_AND@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stur	w8, [x29, #-112]
	mov	w8, #1
	stur	w8, [x29, #-128]
	stur	x19, [x29, #-120]
	sub	x8, x29, #128
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	str	x8, [sp, #128]
	str	wzr, [sp, #96]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_IsVirtual
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #128
	ldr	w1, [sp, #76]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_whereLoopAddVirtual
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #128
	ldr	w1, [sp, #76]                   ; 4-byte Folded Reload
	bl	_whereLoopAddBtree
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x25, x0
Lloh10:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #128
	ldr	w1, [sp, #76]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_whereLoopAddOr
	mov	x25, x0
Lloh13:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	cmp	w25, w8
	ldr	w8, [sp, #96]
	ccmp	w8, #0, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #96]
	cbz	w8, LBB0_29
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=2
	cbnz	w26, LBB0_27
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #80
	add	x1, sp, #112
	bl	_whereOrMove
	str	wzr, [sp, #112]
	ldr	w9, [sp, #80]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x20, #0
	ldr	w8, [sp, #96]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=3
	add	x20, x20, #1
	cmp	x20, w9, sxtw
	b.ge	LBB0_7
LBB0_23:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_25 Depth 4
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=3
	mov	x28, #0
	mov	x24, #0
LBB0_25:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ;       Parent Loop BB0_23 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x8, [sp, #88]
	add	x9, x20, x20, lsl #1
	lsl	x21, x9, #3
	add	x8, x8, x21
	ldr	w9, [x8]
	ldr	x10, [sp, #104]
	add	x10, x10, x28
	ldr	w11, [x10]
	orr	w26, w11, w9
	ldr	x0, [x8, #16]
	ldr	x1, [x10, #16]
	bl	_sqlite3LogEstAdd
	mov	x27, x0
	ldr	x8, [sp, #88]
	add	x8, x8, x21
	ldr	x0, [x8, #8]
	ldr	x8, [sp, #104]
	add	x8, x8, x28
	ldr	x1, [x8, #8]
	bl	_sqlite3LogEstAdd
	mov	x3, x0
	add	x0, sp, #112
	mov	x1, x26
	mov	x2, x27
	bl	_whereOrInsert
	add	x24, x24, #1
	ldrsw	x8, [sp, #96]
	add	x28, x28, #24
	cmp	x24, x8
	b.lt	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=3
	ldr	w9, [sp, #80]
	b	LBB0_22
LBB0_27:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #112
	add	x1, sp, #96
	bl	_whereOrMove
	mov	w26, #0
	b	LBB0_8
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x25
	b	LBB0_35
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #112]
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [x22, #8]
	ldr	x8, [x22, #72]
	str	x23, [x8]
Lloh16:
	adrp	x8, _WHERE_MULTI_OR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WHERE_MULTI_OR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x22, #64]
	ldp	x0, x8, [sp, #8]                ; 16-byte Folded Reload
	stp	xzr, xzr, [x8]
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh19:
	adrp	x24, _SQLITE_OK@GOTPAGE
Lloh20:
	ldr	x24, [x24, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [sp, #112]
	cmp	w25, w8
	ccmp	w9, #1, #8, eq
	b.lt	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
	mov	w20, #1
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
LBB0_32:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #120]
	add	x8, x8, x19
	ldr	x9, [x8, #16]
	add	x9, x9, #1
	str	x9, [x22, #24]
	ldr	x9, [x8, #8]
	str	x9, [x22, #16]
	ldr	w8, [x8]
	str	w8, [x22, #12]
	mov	x0, x21
	mov	x1, x22
	bl	_whereLoopInsert
	ldr	w8, [x24]
	ldrsw	x9, [sp, #112]
	add	x19, x19, #24
	cmp	w0, w8
	ccmp	x20, x9, #0, eq
	add	x20, x20, #1
	b.lt	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	ldr	w20, [sp, #52]                  ; 4-byte Folded Reload
LBB0_34:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x25
	mov	w0, #512
	mov	x1, x23
	bl	_WHERETRACE
	ldr	w25, [x24]
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
Lloh21:
	adrp	x10, _WO_OR@GOTPAGE
Lloh22:
	ldr	x10, [x10, _WO_OR@GOTPAGEOFF]
LBB0_35:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #24
	cmp	x23, x11
	b.hs	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, w25
	b.eq	LBB0_3
LBB0_37:
	mov	x0, x26
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_WO_OR,4,2                      ; @WO_OR
	.comm	_WO_AND,4,2                     ; @WO_AND
	.comm	_TK_AND,4,2                     ; @TK_AND
	.comm	_WHERE_MULTI_OR,4,2             ; @WHERE_MULTI_OR
	.comm	_sqlite3WhereTrace,4,2          ; @sqlite3WhereTrace
	.no_dead_strip	_whereLoopAddOr
.subsections_via_symbols
