	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exprCompareVariable
_exprCompareVariable:                   ## @exprCompareVariable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movl	8(%rdi), %edi
	movq	_SQLITE_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SQLITE_AFF_BLOB@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	-32(%rbp), %r8
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_sqlite3ValueFromExpr
	cmpq	$0, -32(%rbp)
	je	LBB0_1
## %bb.2:
	movl	(%r14), %r14d
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_sqlite3VdbeSetVarmask
	movl	(%rbx), %edi
	movl	(%r15), %edx
	movl	%r14d, %esi
	callq	_sqlite3VdbeGetBoundValue
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_sqlite3_value_type
	movq	_SQLITE_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_sqlite3_value_text
LBB0_6:
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_sqlite3MemCompare
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_3:
	xorl	%ebx, %ebx
LBB0_7:
	movq	-32(%rbp), %rdi
	callq	_sqlite3ValueFree
	movq	%r14, %rdi
	callq	_sqlite3ValueFree
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_UTF8,4,2                ## @SQLITE_UTF8
	.comm	_SQLITE_AFF_BLOB,4,2            ## @SQLITE_AFF_BLOB
	.comm	_SQLITE_TEXT,8,3                ## @SQLITE_TEXT
	.no_dead_strip	_exprCompareVariable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exprCompareVariable
_exprCompareVariable:                   ; @exprCompareVariable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x9, _SQLITE_UTF8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQLITE_UTF8@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
Lloh3:
	adrp	x21, _SQLITE_AFF_BLOB@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SQLITE_AFF_BLOB@GOTPAGEOFF]
	ldr	w3, [x21]
	add	x4, sp, #8
	mov	x1, x8
	bl	_sqlite3ValueFromExpr
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w20, [x20]
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_sqlite3VdbeSetVarmask
	ldr	w0, [x19]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_sqlite3VdbeGetBoundValue
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_sqlite3_value_type
Lloh5:
	adrp	x8, _SQLITE_TEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_TEXT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_sqlite3_value_text
LBB0_4:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_sqlite3MemCompare
	cmp	x0, #0
	cset	w20, eq
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	b	LBB0_8
LBB0_6:
	mov	w20, #0
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_sqlite3ValueFree
	mov	x0, x19
	bl	_sqlite3ValueFree
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_UTF8,4,2                ; @SQLITE_UTF8
	.comm	_SQLITE_AFF_BLOB,4,2            ; @SQLITE_AFF_BLOB
	.comm	_SQLITE_TEXT,8,3                ; @SQLITE_TEXT
	.no_dead_strip	_exprCompareVariable
.subsections_via_symbols
