	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function termIsEquivalence
_termIsEquivalence:                     ## @termIsEquivalence
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_SQLITE_Transitive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OptimizationEnabled
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	movq	_TK_EQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_TK_IS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_3:
	movq	_EP_FromJoin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movl	12(%rbx), %edi
	callq	_sqlite3ExprAffinity
	movl	%eax, %r13d
	movl	8(%rbx), %edi
	callq	_sqlite3ExprAffinity
	cmpb	%al, %r13b
	je	LBB0_7
## %bb.5:
	movl	%eax, %r12d
	movsbl	%r13b, %edi
	callq	_sqlite3IsNumericAffinity
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movsbl	%r12b, %edi
	callq	_sqlite3IsNumericAffinity
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3BinaryCompareCollSeq
	movq	%rax, %rdi
	callq	_sqlite3IsBinary
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3ExprCollSeqMatch        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_Transitive,4,2          ## @SQLITE_Transitive
	.comm	_TK_EQ,8,3                      ## @TK_EQ
	.comm	_TK_IS,8,3                      ## @TK_IS
	.comm	_EP_FromJoin,4,2                ## @EP_FromJoin
	.no_dead_strip	_termIsEquivalence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function termIsEquivalence
_termIsEquivalence:                     ; @termIsEquivalence
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _SQLITE_Transitive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_Transitive@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_OptimizationEnabled
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _TK_EQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TK_EQ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _TK_IS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TK_IS@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _EP_FromJoin@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EP_FromJoin@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ExprHasProperty
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x20, #12]
	bl	_sqlite3ExprAffinity
	mov	x22, x0
	ldr	w0, [x20, #8]
	bl	_sqlite3ExprAffinity
	cmp	w22, w0
	b.eq	LBB0_8
; %bb.6:
	mov	x21, x0
	mov	x0, x22
	bl	_sqlite3IsNumericAffinity
	cbz	w0, LBB0_4
; %bb.7:
	mov	x0, x21
	bl	_sqlite3IsNumericAffinity
	cbz	w0, LBB0_4
LBB0_8:
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	bl	_sqlite3BinaryCompareCollSeq
	bl	_sqlite3IsBinary
	cbz	x0, LBB0_10
; %bb.9:
	mov	w0, #1
	b	LBB0_4
LBB0_10:
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sqlite3ExprCollSeqMatch
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_Transitive,4,2          ; @SQLITE_Transitive
	.comm	_TK_EQ,8,3                      ; @TK_EQ
	.comm	_TK_IS,8,3                      ; @TK_IS
	.comm	_EP_FromJoin,4,2                ; @EP_FromJoin
	.no_dead_strip	_termIsEquivalence
.subsections_via_symbols
