	.file	"extr_expr.c_sqlite3ExprCompare.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3ExprCompare
	.type	sqlite3ExprCompare, @function
sqlite3ExprCompare:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rsi, rsi
	je	.L23
	test	rdx, rdx
	je	.L23
	mov	r12, rdi
	mov	r15d, ecx
	test	rdi, rdi
	je	.L9
	mov	rax, QWORD PTR TK_VARIABLE[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L35
.L9:
	mov	edx, DWORD PTR 8[rbp]
	mov	eax, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR EP_IntValue[rip]
	mov	r13d, edx
	or	r13d, eax
	test	esi, r13d
	je	.L36
	and	eax, esi
	test	eax, edx
	je	.L4
	mov	rax, QWORD PTR 48[rbx]
	cmp	QWORD PTR 48[rbp], rax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, 2
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rbx]
	cmp	rsi, rdi
	je	.L37
.L11:
	mov	rax, QWORD PTR TK_COLLATE[rip]
	cmp	rsi, rax
	je	.L38
.L13:
	cmp	rdi, rax
	jne	.L4
	mov	rdx, QWORD PTR 40[rbx]
	mov	ecx, r15d
	mov	rsi, rbp
	mov	rdi, r12
	call	sqlite3ExprCompare
	cmp	eax, 1
	jg	.L4
.L14:
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	cmp	rsi, QWORD PTR TK_RAISE[rip]
	je	.L11
	cmp	rsi, QWORD PTR TK_COLUMN[rip]
	je	.L15
	cmp	rsi, QWORD PTR TK_AGG_COLUMN[rip]
	je	.L15
	mov	rdi, QWORD PTR 56[rbp]
	test	rdi, rdi
	je	.L15
	cmp	rsi, QWORD PTR TK_FUNCTION[rip]
	je	.L39
	cmp	rsi, QWORD PTR TK_NULL[rip]
	je	.L10
	cmp	rsi, QWORD PTR TK_COLLATE[rip]
	mov	r8, QWORD PTR 56[rbx]
	je	.L40
	xor	edi, edi
	test	r8, r8
	setne	dil
	call	ALWAYS@PLT
	test	rax, rax
	jne	.L19
.L33:
	mov	edx, DWORD PTR 8[rbp]
	mov	eax, DWORD PTR 8[rbx]
	.p2align 4,,10
	.p2align 3
.L15:
	xor	eax, edx
	test	DWORD PTR EP_Distinct[rip], eax
	jne	.L4
	test	DWORD PTR EP_TokenOnly[rip], r13d
	jne	.L10
	test	DWORD PTR EP_xIsSelect[rip], r13d
	jne	.L4
	test	DWORD PTR EP_FixedCol[rip], r13d
	jne	.L22
	mov	rdx, QWORD PTR 40[rbx]
	mov	rsi, QWORD PTR 40[rbp]
	mov	ecx, r15d
	mov	rdi, r12
	call	sqlite3ExprCompare
	test	eax, eax
	jne	.L4
.L22:
	mov	rdx, QWORD PTR 32[rbx]
	mov	rsi, QWORD PTR 32[rbp]
	mov	ecx, r15d
	mov	rdi, r12
	call	sqlite3ExprCompare
	test	eax, eax
	jne	.L4
	mov	esi, DWORD PTR 28[rbx]
	mov	edi, DWORD PTR 28[rbp]
	mov	edx, r15d
	call	sqlite3ExprListCompare@PLT
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR TK_STRING[rip]
	je	.L10
	cmp	rax, QWORD PTR TK_TRUEFALSE[rip]
	je	.L10
	test	DWORD PTR EP_Reduced[rip], r13d
	jne	.L10
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR 16[rbp], rax
	jne	.L4
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 24[rbx]
	cmp	edx, eax
	je	.L10
	cmp	edx, r15d
	jne	.L4
	not	eax
	shr	eax, 31
	mov	edi, eax
	call	NEVER@PLT
	test	rax, rax
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
.L41:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmp	rbp, rbx
	jne	.L4
	xor	eax, eax
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L35:
	call	exprCompareVariable@PLT
	test	rax, rax
	je	.L9
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rsi, QWORD PTR 40[rbp]
	mov	ecx, r15d
	mov	rdx, rbx
	mov	rdi, r12
	call	sqlite3ExprCompare
	cmp	eax, 1
	jle	.L14
	mov	rdi, QWORD PTR [rbx]
	mov	rax, QWORD PTR TK_COLLATE[rip]
	jmp	.L13
.L40:
	mov	rsi, r8
	call	sqlite3_stricmp@PLT
	test	rax, rax
	je	.L33
	jmp	.L4
.L39:
	mov	rsi, QWORD PTR 56[rbx]
	call	sqlite3StrICmp@PLT
	test	rax, rax
	jne	.L4
	mov	esi, DWORD PTR EP_WinFunc[rip]
	mov	rdi, rbp
	call	ExprHasProperty@PLT
	mov	esi, DWORD PTR EP_WinFunc[rip]
	mov	rdi, rbx
	mov	r14, rax
	call	ExprHasProperty@PLT
	xor	edi, edi
	cmp	r14, rax
	sete	dil
	call	assert@PLT
	mov	esi, DWORD PTR EP_WinFunc[rip]
	mov	rdi, rbp
	call	ExprHasProperty@PLT
	test	rax, rax
	je	.L33
	mov	edx, DWORD PTR 64[rbx]
	mov	esi, DWORD PTR 64[rbp]
	mov	rdi, r12
	call	sqlite3WindowCompare@PLT
	test	rax, rax
	je	.L33
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rsi, QWORD PTR 56[rbx]
	mov	rdi, QWORD PTR 56[rbp]
	call	strcmp@PLT
	test	rax, rax
	je	.L33
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	sqlite3ExprCompare, .-sqlite3ExprCompare
	.comm	TK_VARIABLE,8,8
	.comm	TK_TRUEFALSE,8,8
	.comm	TK_STRING,8,8
	.comm	TK_RAISE,8,8
	.comm	TK_NULL,8,8
	.comm	TK_FUNCTION,8,8
	.comm	TK_COLUMN,8,8
	.comm	TK_COLLATE,8,8
	.comm	TK_AGG_COLUMN,8,8
	.comm	EP_xIsSelect,4,4
	.comm	EP_WinFunc,4,4
	.comm	EP_TokenOnly,4,4
	.comm	EP_Reduced,4,4
	.comm	EP_IntValue,4,4
	.comm	EP_FixedCol,4,4
	.comm	EP_Distinct,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_expr.c_sqlite3ExprCompare.c"
	.text
	.align	2
	.global	sqlite3ExprCompare
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3ExprCompare, %function
sqlite3ExprCompare:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	cmpne	r1, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r5, r2
	beq	.L34
	cmp	r0, #0
	mov	r7, r3
	mov	r6, r0
	beq	.L8
	ldr	r3, .L41
	ldr	ip, [r1]
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L35
.L8:
	ldr	r2, .L41+4
	ldr	r3, [r4, #4]
	ldr	r1, [r5, #4]
	ldr	r2, [r2]
	orr	r8, r3, r1
	tst	r2, r8
	beq	.L36
	and	r2, r2, r1
	tst	r2, r3
	beq	.L3
	ldr	r2, [r4, #28]
	ldr	r3, [r5, #28]
	cmp	r2, r3
	beq	.L9
.L3:
	mov	r0, #2
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L36:
	ldr	r2, [r4]
	ldr	r0, [r5]
	cmp	r2, r0
	beq	.L37
.L10:
	ldr	r8, .L41+8
	ldr	r3, [r8]
	cmp	r2, r3
	beq	.L38
.L12:
	cmp	r0, r3
	bne	.L3
	mov	r3, r7
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [r5, #24]
	bl	sqlite3ExprCompare
	cmp	r0, #1
	bgt	.L3
.L13:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L37:
	ldr	ip, .L41+12
	ldr	ip, [ip]
	cmp	r2, ip
	beq	.L10
	ldr	r0, .L41+16
	ldr	r0, [r0]
	cmp	r2, r0
	beq	.L14
	ldr	r0, .L41+20
	ldr	r0, [r0]
	cmp	r2, r0
	beq	.L14
	ldr	r0, [r4, #32]
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L41+24
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L39
	ldr	r3, .L41+28
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L41+8
	ldr	r1, [r5, #32]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L40
	subs	r0, r1, #0
	movne	r0, #1
	bl	ALWAYS
	cmp	r0, #0
	bne	.L18
.L31:
	ldr	r3, [r4, #4]
	ldr	r1, [r5, #4]
.L14:
	ldr	r2, .L41+32
	eor	r3, r3, r1
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L3
	ldr	r3, .L41+36
	ldr	r3, [r3]
	tst	r8, r3
	bne	.L9
	ldr	r3, .L41+40
	ldr	r3, [r3]
	tst	r8, r3
	bne	.L3
	ldr	r3, .L41+44
	ldr	r3, [r3]
	tst	r8, r3
	bne	.L21
	mov	r3, r7
	mov	r0, r6
	ldr	r2, [r5, #24]
	ldr	r1, [r4, #24]
	bl	sqlite3ExprCompare
	cmp	r0, #0
	bne	.L3
.L21:
	mov	r0, r6
	mov	r3, r7
	ldr	r2, [r5, #20]
	ldr	r1, [r4, #20]
	bl	sqlite3ExprCompare
	cmp	r0, #0
	bne	.L3
	mov	r2, r7
	ldr	r1, [r5, #16]
	ldr	r0, [r4, #16]
	bl	sqlite3ExprListCompare
	cmp	r0, #0
	bne	.L3
	ldr	r2, .L41+48
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L41+52
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r3, .L41+56
	ldr	r3, [r3]
	tst	r8, r3
	bne	.L9
	ldr	r2, [r4, #8]
	ldr	r3, [r5, #8]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [r4, #12]
	ldr	r0, [r5, #12]
	cmp	r3, r0
	beq	.L9
	cmp	r3, r7
	bne	.L3
	mvn	r0, r0
	lsr	r0, r0, #31
	bl	NEVER
	cmp	r0, #0
	bne	.L3
.L9:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L34:
	cmp	r1, r2
	beq	.L9
	mov	r0, #2
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L35:
	bl	exprCompareVariable
	cmp	r0, #0
	beq	.L8
	b	.L9
.L38:
	mov	r3, r7
	mov	r2, r5
	mov	r0, r6
	ldr	r1, [r4, #24]
	bl	sqlite3ExprCompare
	cmp	r0, #1
	ble	.L13
	ldr	r3, [r8]
	ldr	r0, [r5]
	b	.L12
.L40:
	bl	sqlite3_stricmp
	cmp	r0, #0
	beq	.L31
	b	.L3
.L39:
	ldr	r1, [r5, #32]
	bl	sqlite3StrICmp
	cmp	r0, #0
	bne	.L3
	ldr	r9, .L41+60
	mov	r0, r4
	ldr	r1, [r9]
	bl	ExprHasProperty
	ldr	r1, [r9]
	mov	r10, r0
	mov	r0, r5
	bl	ExprHasProperty
	sub	r0, r10, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r4
	ldr	r1, [r9]
	bl	ExprHasProperty
	cmp	r0, #0
	beq	.L31
	mov	r0, r6
	ldr	r2, [r5, #36]
	ldr	r1, [r4, #36]
	bl	sqlite3WindowCompare
	cmp	r0, #0
	beq	.L31
	b	.L3
.L18:
	ldr	r1, [r5, #32]
	ldr	r0, [r4, #32]
	bl	strcmp
	cmp	r0, #0
	beq	.L31
	b	.L3
.L42:
	.align	2
.L41:
	.word	TK_VARIABLE
	.word	EP_IntValue
	.word	TK_COLLATE
	.word	TK_RAISE
	.word	TK_COLUMN
	.word	TK_AGG_COLUMN
	.word	TK_FUNCTION
	.word	TK_NULL
	.word	EP_Distinct
	.word	EP_TokenOnly
	.word	EP_xIsSelect
	.word	EP_FixedCol
	.word	TK_STRING
	.word	TK_TRUEFALSE
	.word	EP_Reduced
	.word	EP_WinFunc
	.size	sqlite3ExprCompare, .-sqlite3ExprCompare
	.comm	TK_VARIABLE,4,4
	.comm	TK_TRUEFALSE,4,4
	.comm	TK_STRING,4,4
	.comm	TK_RAISE,4,4
	.comm	TK_NULL,4,4
	.comm	TK_FUNCTION,4,4
	.comm	TK_COLUMN,4,4
	.comm	TK_COLLATE,4,4
	.comm	TK_AGG_COLUMN,4,4
	.comm	EP_xIsSelect,4,4
	.comm	EP_WinFunc,4,4
	.comm	EP_TokenOnly,4,4
	.comm	EP_Reduced,4,4
	.comm	EP_IntValue,4,4
	.comm	EP_FixedCol,4,4
	.comm	EP_Distinct,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
