	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeAllEqualityTerms
_codeAllEqualityTerms:                  ## @codeAllEqualityTerms
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	(%rsi), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	8(%rsi), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r14
	movq	_WHERE_INDEXED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	12(%rsi), %edi
	callq	_assert
	movq	16(%r12), %rbx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	addl	8(%r12), %r15d
	movl	(%r13), %r12d
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	leal	(%r15,%r12), %eax
	movl	%eax, (%r13)
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r15
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3IndexAffinityStr
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sqlite3DbStrDup
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	$1, (%rax)
LBB0_2:
	incl	%r12d
	xorl	%edi, %edi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	cmpl	%r15d, (%rbx)
	setge	%dil
	callq	_assert
	testl	%r15d, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_17
## %bb.3:
	xorl	%r15d, %r15d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_OP_SCopy@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_sqlite3VdbeAddOp2
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_WO_ISNULL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	andl	4(%r14), %edi
	callq	_testcase
	movq	_WO_IN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	andl	4(%r14), %edi
	callq	_testcase
	movl	(%rbx), %eax
	orl	(%r13), %eax
	testl	%eax, 4(%r14)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_10
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, %rbx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r15,4), %edx
	movl	12(%r12), %r8d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r9
	callq	_findTerm
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	_TERM_CODED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	setne	%dil
	callq	_testcase
	movq	_TERM_VIRTUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r14), %edi
	callq	_testcase
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	addq	%r15, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_codeEqualityTerm
	cmpl	%eax, %ebx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r13d
	cmpl	$1, -112(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_sqlite3ReleaseTempReg
	movl	%r13d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movq	(%rax), %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%r15,%rax), %edx
	movl	4(%r12), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_sqlite3ExprCodeIsNullJump
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movsbl	(%rbx,%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3CompareAffinity
	movq	_SQLITE_AFF_NONE@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	%al, (%rbx,%r15)
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rbx,%r15), %eax
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprNeedsNoAffinityChange
	testq	%rax, %rax
	movq	%r13, %rbx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_SQLITE_AFF_NONE@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%r15)
	jmp	LBB0_16
LBB0_17:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WHERE_INDEXED,4,2              ## @WHERE_INDEXED
	.comm	_TERM_CODED,4,2                 ## @TERM_CODED
	.comm	_TERM_VIRTUAL,4,2               ## @TERM_VIRTUAL
	.comm	_OP_SCopy,4,2                   ## @OP_SCopy
	.comm	_WO_ISNULL,4,2                  ## @WO_ISNULL
	.comm	_WO_IN,4,2                      ## @WO_IN
	.comm	_SQLITE_AFF_NONE,1,0            ## @SQLITE_AFF_NONE
	.no_dead_strip	_codeAllEqualityTerms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeAllEqualityTerms
_codeAllEqualityTerms:                  ; @codeAllEqualityTerms
	.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	x20, x5
	mov	x19, x4
	str	w3, [sp, #44]                   ; 4-byte Folded Spill
	str	x2, [sp, #32]                   ; 8-byte Folded Spill
	mov	x22, x1
	mov	x23, x0
	ldr	x24, [x0, #16]
	ldr	w8, [x1]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldp	w25, w8, [x1, #8]
Lloh0:
	adrp	x9, _WHERE_INDEXED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WHERE_INDEXED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_assert
	ldr	x27, [x22, #16]
	ldr	w8, [x23]
	add	w21, w8, #1
	ldr	w9, [x22, #8]
	add	w9, w9, w19
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	add	w8, w9, w8
	str	w8, [x23]
	ldr	x19, [x23, #8]
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	mov	x0, x24
	mov	x1, x27
	bl	_sqlite3IndexAffinityStr
	mov	x1, x0
	mov	x0, x19
	bl	_sqlite3DbStrDup
	mov	x28, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x23, #8]
	mov	w9, #1
	str	w9, [x8]
LBB0_2:
	ldr	w8, [x27]
	cmp	w8, w25
	cset	w0, ge
	bl	_assert
	cmp	w25, #1
	str	x20, [sp]                       ; 8-byte Folded Spill
	b.lt	LBB0_17
; %bb.3:
	mov	x19, #0
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh3:
	adrp	x8, _OP_SCopy@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_SCopy@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x26
	mov	x3, x20
	bl	_sqlite3VdbeAddOp2
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x24, #4]
Lloh6:
	adrp	x20, _WO_ISNULL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _WO_ISNULL@GOTPAGEOFF]
	ldr	w9, [x20]
	and	w0, w9, w8
	bl	_testcase
	ldr	w8, [x24, #4]
Lloh8:
	adrp	x26, _WO_IN@GOTPAGE
Lloh9:
	ldr	x26, [x26, _WO_IN@GOTPAGEOFF]
	ldr	w9, [x26]
	and	w0, w9, w8
	bl	_testcase
	ldr	w8, [x24, #4]
	ldr	w9, [x20]
	ldr	w10, [x26]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #1
	cmp	x25, x19
	b.eq	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, #8]
	ldr	w2, [x8, x19, lsl #2]
	ldr	w4, [x22, #12]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	mov	x5, x27
	bl	_findTerm
	cbz	x0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
	ldr	w8, [x0]
Lloh10:
	adrp	x9, _TERM_CODED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TERM_CODED@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_testcase
	ldr	w8, [x24]
Lloh13:
	adrp	x9, _TERM_VIRTUAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TERM_VIRTUAL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_testcase
	add	x20, x19, w21, uxtw
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	mov	x3, x19
	mov	x4, x20
	bl	_codeEqualityTerm
	cmp	w20, w0
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_sqlite3ReleaseTempReg
	mov	x21, x26
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24, #8]
	ldr	x24, [x8]
	add	w2, w19, w21
	ldr	w3, [x22, #4]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_sqlite3ExprCodeIsNullJump
	cbz	x28, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrsb	w1, [x28, x19]
	mov	x0, x24
	bl	_sqlite3CompareAffinity
Lloh16:
	adrp	x8, _SQLITE_AFF_NONE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SQLITE_AFF_NONE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	strb	w0, [x28, x19]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w0, [x28, x19]
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w1, w0
	mov	x0, x24
	bl	_sqlite3ExprNeedsNoAffinityChange
	cbz	x0, LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh18:
	adrp	x8, _SQLITE_AFF_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SQLITE_AFF_NONE@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x28, x19]
	b	LBB0_6
LBB0_17:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x28, [x8]
	mov	x0, x21
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_WHERE_INDEXED,4,2              ; @WHERE_INDEXED
	.comm	_TERM_CODED,4,2                 ; @TERM_CODED
	.comm	_TERM_VIRTUAL,4,2               ; @TERM_VIRTUAL
	.comm	_OP_SCopy,4,2                   ; @OP_SCopy
	.comm	_WO_ISNULL,4,2                  ; @WO_ISNULL
	.comm	_WO_IN,4,2                      ; @WO_IN
	.comm	_SQLITE_AFF_NONE,1,0            ; @SQLITE_AFF_NONE
	.no_dead_strip	_codeAllEqualityTerms
.subsections_via_symbols
