	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeEqualityTerm
_codeEqualityTerm:                      ## @codeEqualityTerm
	.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
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rsi), %r13
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	testl	%r8d, %r8d
	setg	%dil
	callq	_assert
	movq	(%r13), %rax
	movq	_TK_EQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	12(%r13), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_sqlite3ExprCodeTarget
	movl	%eax, %r15d
	jmp	LBB0_27
LBB0_2:
	movq	_TK_ISNULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_OP_Null@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_sqlite3VdbeAddOp2
	jmp	LBB0_27
LBB0_4:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %esi
	movq	_WHERE_REVERSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%ecx, %ecx
	testl	%esi, %edi
	setne	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_WHERE_INDEXED@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_8
## %bb.5:
	movq	32(%rbx), %rcx
	movq	8(%rcx), %rcx
	movslq	%r14d, %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_8
## %bb.6:
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	testl	%r14d, %r14d
	sete	%dil
	callq	_testcase
	movq	32(%rbx), %rax
	movl	(%rax), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	sete	%dil
	callq	_testcase
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.7:
	incl	%r14d
	movq	32(%rbx), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	setl	%dil
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %r14
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_11
LBB0_9:
	xorl	%edi, %edi
LBB0_10:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	xorl	%ebx, %ebx
	testl	%eax, -68(%rbp)                 ## 4-byte Folded Reload
	sete	%bl
	callq	_testcase
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_testcase
	movq	(%r13), %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_11:
	movq	_TK_IN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_sqlite3FindInIndex
	movq	_IN_INDEX_INDEX_DESC@GOTPCREL(%rip), %rcx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %edi
	callq	_testcase
	xorl	$1, %ebx
LBB0_13:
	movl	8(%r13), %r13d
	testl	%ebx, %ebx
	jne	LBB0_15
## %bb.14:
	movq	_OP_Rewind@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_OP_Last@GOTPCREL(%rip), %rax
LBB0_16:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_WHERE_IN_ABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	24(%r14), %edi
	callq	_assert
	movl	(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3VdbeMakeLabel
	movl	%eax, 16(%r14)
	movl	(%r14), %eax
LBB0_18:
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	movl	(%r12), %edi
	movq	8(%r14), %rsi
	leal	4(,%rax,4), %eax
	leal	(%rax,%rax,2), %edx
	callq	_sqlite3DbReallocOrFree
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	%rax, %rbx
	movslq	(%r14), %rax
	decq	%rax
	leaq	(%rax,%rax,2), %r14
	movl	%r13d, (%rbx,%r14,4)
	movq	_IN_INDEX_ROWID@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_22
## %bb.20:
	movq	_OP_Rowid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_sqlite3VdbeAddOp2
	jmp	LBB0_23
LBB0_21:
	movl	$0, (%r14)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_22:
	movq	_OP_Column@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	callq	_sqlite3VdbeAddOp3
LBB0_23:
	movl	%eax, 8(%rbx,%r14,4)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_25
## %bb.24:
	movq	_OP_Next@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_25:
	movq	_OP_Prev@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx,%r14,4)
	movq	_OP_IsNull@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_sqlite3VdbeAddOp1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_27:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_28:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_disableTerm
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_EQ,8,3                      ## @TK_EQ
	.comm	_TK_ISNULL,8,3                  ## @TK_ISNULL
	.comm	_OP_Null,4,2                    ## @OP_Null
	.comm	_WHERE_REVERSE,4,2              ## @WHERE_REVERSE
	.comm	_WHERE_INDEXED,4,2              ## @WHERE_INDEXED
	.comm	_TK_IN,8,3                      ## @TK_IN
	.comm	_IN_INDEX_INDEX_DESC,4,2        ## @IN_INDEX_INDEX_DESC
	.comm	_OP_Last,4,2                    ## @OP_Last
	.comm	_OP_Rewind,4,2                  ## @OP_Rewind
	.comm	_WHERE_IN_ABLE,4,2              ## @WHERE_IN_ABLE
	.comm	_IN_INDEX_ROWID,4,2             ## @IN_INDEX_ROWID
	.comm	_OP_Rowid,4,2                   ## @OP_Rowid
	.comm	_OP_Column,4,2                  ## @OP_Column
	.comm	_OP_Prev,4,2                    ## @OP_Prev
	.comm	_OP_Next,4,2                    ## @OP_Next
	.comm	_OP_IsNull,4,2                  ## @OP_IsNull
	.no_dead_strip	_codeEqualityTerm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeEqualityTerm
_codeEqualityTerm:                      ; @codeEqualityTerm
	.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, x4
	mov	x26, x3
	mov	x21, x2
	mov	x20, x1
	mov	x24, x0
	ldr	x25, [x1]
	ldr	x22, [x0, #8]
	cmp	w4, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x25]
Lloh0:
	adrp	x9, _TK_EQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TK_EQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x25, #12]
	mov	x0, x24
	mov	x2, x19
	bl	_sqlite3ExprCodeTarget
	mov	x19, x0
	b	LBB0_20
LBB0_2:
Lloh3:
	adrp	x9, _TK_ISNULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TK_ISNULL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _OP_Null@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_Null@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	x3, x19
	bl	_sqlite3VdbeAddOp2
	b	LBB0_20
LBB0_4:
	ldr	w9, [x21, #24]
Lloh9:
	adrp	x10, _WHERE_REVERSE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WHERE_REVERSE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	ands	w27, w10, w9
	cset	w23, ne
Lloh12:
	adrp	x10, _WHERE_INDEXED@GOTPAGE
Lloh13:
	ldr	x10, [x10, _WHERE_INDEXED@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.5:
	ldr	x9, [x21, #32]
	ldr	x9, [x9, #8]
	ldr	x9, [x9, w26, sxtw #3]
	cbz	x9, LBB0_10
; %bb.6:
	cmp	w26, #0
	cset	w0, eq
	bl	_testcase
	ldr	x8, [x21, #32]
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w8, w26
	cset	w0, eq
	bl	_testcase
	cmp	w26, #1
	b.lt	LBB0_8
; %bb.7:
	add	w8, w26, #1
	ldr	x9, [x21, #32]
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, lt
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	cmp	w27, #0
	cset	w26, eq
	bl	_testcase
	mov	x0, x23
	bl	_testcase
	ldr	x8, [x25]
	mov	x23, x26
LBB0_10:
Lloh15:
	adrp	x9, _TK_IN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TK_IN@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	mov	x0, x24
	mov	x1, x25
	mov	w2, #0
	bl	_sqlite3FindInIndex
	mov	x26, x0
Lloh18:
	adrp	x8, _IN_INDEX_INDEX_DESC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IN_INDEX_INDEX_DESC@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x23
	bl	_testcase
	eor	w23, w23, #0x1
LBB0_12:
Lloh21:
	adrp	x8, _OP_Last@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OP_Last@GOTPAGEOFF]
	ldr	w25, [x25, #8]
Lloh23:
	adrp	x9, _OP_Rewind@GOTPAGE
Lloh24:
	ldr	x9, [x9, _OP_Rewind@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x25
	mov	w3, #0
	bl	_sqlite3VdbeAddOp2
	ldr	w8, [x21, #24]
Lloh25:
	adrp	x9, _WHERE_IN_ABLE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _WHERE_IN_ABLE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_assert
	ldr	w8, [x21]
	cbnz	w8, LBB0_14
; %bb.13:
	mov	x0, x22
	bl	_sqlite3VdbeMakeLabel
	str	w0, [x21, #16]
	ldr	w8, [x21]
LBB0_14:
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w0, [x24]
	ldr	x1, [x21, #8]
	add	w8, w8, w8, lsl #1
	lsl	w2, w8, #2
	bl	_sqlite3DbReallocOrFree
	str	x0, [x21, #8]
	cbz	x0, LBB0_17
; %bb.15:
	mov	x24, x0
	ldrsw	x8, [x21]
	sub	x27, x8, #1
	mov	w8, #12
	mul	x8, x27, x8
	str	w25, [x0, x8]
Lloh28:
	adrp	x8, _IN_INDEX_ROWID@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IN_INDEX_ROWID@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_18
; %bb.16:
Lloh31:
	adrp	x8, _OP_Rowid@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OP_Rowid@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x25
	mov	x3, x19
	bl	_sqlite3VdbeAddOp2
	b	LBB0_19
LBB0_17:
	str	wzr, [x21]
	b	LBB0_20
LBB0_18:
Lloh34:
	adrp	x8, _OP_Column@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OP_Column@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x25
	mov	w3, #0
	mov	x4, x19
	bl	_sqlite3VdbeAddOp3
LBB0_19:
	mov	w8, #12
	madd	x8, x27, x8, x24
	str	w0, [x8, #8]
Lloh37:
	adrp	x9, _OP_Prev@GOTPAGE
Lloh38:
	ldr	x9, [x9, _OP_Prev@GOTPAGEOFF]
Lloh39:
	adrp	x10, _OP_Next@GOTPAGE
Lloh40:
	ldr	x10, [x10, _OP_Next@GOTPAGEOFF]
	cmp	w23, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x8, #4]
Lloh41:
	adrp	x8, _OP_IsNull@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OP_IsNull@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x19
	bl	_sqlite3VdbeAddOp1
LBB0_20:
	mov	x0, x21
	mov	x1, x20
	bl	_disableTerm
	mov	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_EQ,8,3                      ; @TK_EQ
	.comm	_TK_ISNULL,8,3                  ; @TK_ISNULL
	.comm	_OP_Null,4,2                    ; @OP_Null
	.comm	_WHERE_REVERSE,4,2              ; @WHERE_REVERSE
	.comm	_WHERE_INDEXED,4,2              ; @WHERE_INDEXED
	.comm	_TK_IN,8,3                      ; @TK_IN
	.comm	_IN_INDEX_INDEX_DESC,4,2        ; @IN_INDEX_INDEX_DESC
	.comm	_OP_Last,4,2                    ; @OP_Last
	.comm	_OP_Rewind,4,2                  ; @OP_Rewind
	.comm	_WHERE_IN_ABLE,4,2              ; @WHERE_IN_ABLE
	.comm	_IN_INDEX_ROWID,4,2             ; @IN_INDEX_ROWID
	.comm	_OP_Rowid,4,2                   ; @OP_Rowid
	.comm	_OP_Column,4,2                  ; @OP_Column
	.comm	_OP_Prev,4,2                    ; @OP_Prev
	.comm	_OP_Next,4,2                    ; @OP_Next
	.comm	_OP_IsNull,4,2                  ; @OP_IsNull
	.no_dead_strip	_codeEqualityTerm
.subsections_via_symbols
