	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comparisonAffinity
_comparisonAffinity:                    ## @comparisonAffinity
	.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	%rdi, %r15
	movq	(%rdi), %rax
	movq	_TK_EQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_TK_IN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	orb	%cl, %dl
	movq	_TK_LT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_TK_GT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	sete	%bl
	orb	%cl, %bl
	orb	%dl, %bl
	movq	_TK_GE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_TK_LE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	orb	%cl, %dl
	movq	_TK_NE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	orb	%dl, %cl
	orb	%bl, %cl
	movq	_TK_IS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	movq	_TK_ISNOT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	sete	%al
	orb	%dl, %al
	orb	%cl, %al
	movzbl	%al, %edi
	andl	$1, %edi
	callq	_assert
	movl	8(%r15), %edi
	callq	_assert
	movl	8(%r15), %edi
	callq	_sqlite3ExprAffinity
	movl	%eax, %r14d
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	movq	_EP_xIsSelect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
LBB0_3:
	movsbl	%r14b, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3CompareAffinity         ## TAILCALL
LBB0_4:
	testb	%r14b, %r14b
	movq	_SQLITE_AFF_BLOB@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movzbl	%r14b, %ecx
	cmovel	%eax, %ecx
	movsbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_EQ,8,3                      ## @TK_EQ
	.comm	_TK_IN,8,3                      ## @TK_IN
	.comm	_TK_LT,8,3                      ## @TK_LT
	.comm	_TK_GT,8,3                      ## @TK_GT
	.comm	_TK_GE,8,3                      ## @TK_GE
	.comm	_TK_LE,8,3                      ## @TK_LE
	.comm	_TK_NE,8,3                      ## @TK_NE
	.comm	_TK_IS,8,3                      ## @TK_IS
	.comm	_TK_ISNOT,8,3                   ## @TK_ISNOT
	.comm	_EP_xIsSelect,4,2               ## @EP_xIsSelect
	.comm	_SQLITE_AFF_BLOB,1,0            ## @SQLITE_AFF_BLOB
	.no_dead_strip	_comparisonAffinity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comparisonAffinity
_comparisonAffinity:                    ; @comparisonAffinity
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _TK_EQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_EQ@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
Lloh3:
	adrp	x8, _TK_IN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TK_IN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh6:
	adrp	x8, _TK_LT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TK_LT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x10, _TK_GT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TK_GT@GOTPAGEOFF]
	ccmp	x9, x8, #4, ne
Lloh11:
	ldr	x8, [x10]
	ccmp	x9, x8, #4, ne
Lloh12:
	adrp	x8, _TK_GE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TK_GE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh15:
	adrp	x8, _TK_LE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TK_LE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x10, _TK_NE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _TK_NE@GOTPAGEOFF]
	ccmp	x9, x8, #4, ne
Lloh20:
	ldr	x8, [x10]
	ccmp	x9, x8, #4, ne
Lloh21:
	adrp	x8, _TK_IS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TK_IS@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh24:
	adrp	x8, _TK_ISNOT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TK_ISNOT@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	w0, [x19, #8]
	bl	_assert
	ldr	w0, [x19, #8]
	bl	_sqlite3ExprAffinity
	mov	x20, x0
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_3
; %bb.1:
Lloh27:
	adrp	x8, _EP_xIsSelect@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EP_xIsSelect@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ExprHasProperty
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
LBB0_3:
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sqlite3CompareAffinity
LBB0_4:
Lloh30:
	adrp	x8, _SQLITE_AFF_BLOB@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SQLITE_AFF_BLOB@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w20, #0
	csel	w8, w8, w20, eq
	sxtb	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_EQ,8,3                      ; @TK_EQ
	.comm	_TK_IN,8,3                      ; @TK_IN
	.comm	_TK_LT,8,3                      ; @TK_LT
	.comm	_TK_GT,8,3                      ; @TK_GT
	.comm	_TK_GE,8,3                      ; @TK_GE
	.comm	_TK_LE,8,3                      ; @TK_LE
	.comm	_TK_NE,8,3                      ; @TK_NE
	.comm	_TK_IS,8,3                      ; @TK_IS
	.comm	_TK_ISNOT,8,3                   ; @TK_ISNOT
	.comm	_EP_xIsSelect,4,2               ; @EP_xIsSelect
	.comm	_SQLITE_AFF_BLOB,1,0            ; @SQLITE_AFF_BLOB
	.no_dead_strip	_comparisonAffinity
.subsections_via_symbols
