	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addWhereTerm
_addWhereTerm:                          ## @addWhereTerm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdi), %r13
	xorl	%edi, %edi
	cmpl	%r8d, %edx
	setl	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	%r15d, (%rbx)
	setg	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %edi
	callq	_assert
	movq	8(%rbx), %rax
	movslq	%r15d, %r15
	movl	(%rax,%r15,4), %edi
	callq	_assert
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3CreateColumnExpr
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3CreateColumnExpr
	movq	%rax, %r15
	movq	_TK_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_sqlite3PExpr
	movq	%rax, %rbx
	cmpl	$0, 16(%rbp)
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	_EP_FromJoin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ExprSetProperty
	movq	_EP_TokenOnly@GOTPCREL(%rip), %rax
	movq	_EP_Reduced@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ExprHasProperty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_EP_NoReduce@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ExprSetVVAProperty
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
LBB0_3:
	movq	24(%rbp), %r14
	movq	(%r14), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_sqlite3ExprAnd
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_EQ,4,2                      ## @TK_EQ
	.comm	_EP_FromJoin,4,2                ## @EP_FromJoin
	.comm	_EP_TokenOnly,4,2               ## @EP_TokenOnly
	.comm	_EP_Reduced,4,2                 ## @EP_Reduced
	.comm	_EP_NoReduce,4,2                ## @EP_NoReduce
	.no_dead_strip	_addWhereTerm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addWhereTerm
_addWhereTerm:                          ; @addWhereTerm
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x20, x0
	ldr	x27, [x0]
	cmp	w2, w4
	cset	w0, lt
	bl	_assert
	ldr	w8, [x26]
	cmp	w8, w23
	cset	w0, gt
	bl	_assert
	ldr	x8, [x26, #8]
	ldr	w0, [x8, w25, sxtw #2]
	bl	_assert
	ldr	x8, [x26, #8]
	ldr	w0, [x8, w23, sxtw #2]
	bl	_assert
	mov	x0, x27
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	bl	_sqlite3CreateColumnExpr
	mov	x24, x0
	mov	x0, x27
	mov	x1, x26
	mov	x2, x23
	mov	x3, x22
	bl	_sqlite3CreateColumnExpr
	mov	x22, x0
Lloh0:
	adrp	x8, _TK_EQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_EQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x22
	bl	_sqlite3PExpr
	mov	x23, x0
	cbz	w21, LBB0_3
; %bb.1:
	cbz	x23, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EP_FromJoin@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EP_FromJoin@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_ExprSetProperty
Lloh6:
	adrp	x8, _EP_TokenOnly@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EP_TokenOnly@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _EP_Reduced@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EP_Reduced@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x23
	bl	_ExprHasProperty
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
Lloh12:
	adrp	x8, _EP_NoReduce@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EP_NoReduce@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_ExprSetVVAProperty
	ldr	x8, [x22]
	str	x8, [x23, #8]
LBB0_3:
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x23
	bl	_sqlite3ExprAnd
	str	x0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_EQ,4,2                      ; @TK_EQ
	.comm	_EP_FromJoin,4,2                ; @EP_FromJoin
	.comm	_EP_TokenOnly,4,2               ; @EP_TokenOnly
	.comm	_EP_Reduced,4,2                 ; @EP_Reduced
	.comm	_EP_NoReduce,4,2                ; @EP_NoReduce
	.no_dead_strip	_addWhereTerm
.subsections_via_symbols
