	.file	"extr_vdbeaux.c_sqlite3MemCompare.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3MemCompare
	.type	sqlite3MemCompare, @function
sqlite3MemCompare:
.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
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	ebx, DWORD PTR [rdi]
	mov	r15d, DWORD PTR [rsi]
	call	sqlite3VdbeMemIsRowSet@PLT
	xor	edi, edi
	mov	r14d, ebx
	or	r14d, r15d
	test	eax, eax
	je	.L32
.L2:
	call	assert@PLT
	mov	edx, DWORD PTR MEM_Null[rip]
	test	edx, r14d
	jne	.L33
	mov	edx, DWORD PTR MEM_Int[rip]
	mov	ecx, DWORD PTR MEM_Real[rip]
	mov	eax, edx
	or	eax, ecx
	test	eax, r14d
	jne	.L34
	mov	eax, DWORD PTR MEM_Str[rip]
	test	eax, r14d
	je	.L9
	test	eax, ebx
	je	.L19
	test	eax, r15d
	je	.L20
	mov	rax, QWORD PTR 8[r12]
	mov	edi, 1
	cmp	QWORD PTR 8[rbp], rax
	je	.L10
	mov	rax, QWORD PTR 16[rbp]
	xor	edi, edi
	cmp	QWORD PTR [rax], 0
	setne	dil
.L10:
	call	assert@PLT
	mov	rax, QWORD PTR 8[rbp]
	cmp	rax, QWORD PTR SQLITE_UTF8[rip]
	mov	edi, 1
	je	.L11
	cmp	rax, QWORD PTR SQLITE_UTF16LE[rip]
	je	.L11
	xor	edi, edi
	cmp	QWORD PTR SQLITE_UTF16BE[rip], rax
	sete	dil
.L11:
	call	assert@PLT
	test	r13, r13
	je	.L12
	xor	edi, edi
	cmp	QWORD PTR 0[r13], 0
	setne	dil
	call	assert@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdx, r13
	mov	rsi, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, rbp
	xor	ecx, ecx
	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
	jmp	vdbeCompareMemString@PLT
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	mov	eax, ebx
	and	eax, r15d
	test	edx, eax
	jne	.L35
	test	ecx, eax
	je	.L7
	mov	rax, QWORD PTR 32[r12]
	cmp	QWORD PTR 32[rbp], rax
	jl	.L20
.L30:
	setg	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	movzx	eax, al
	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
.L33:
	.cfi_restore_state
	mov	eax, r15d
	and	ebx, edx
	and	eax, edx
	sub	eax, ebx
.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
.L32:
	.cfi_restore_state
	mov	rdi, r12
	call	sqlite3VdbeMemIsRowSet@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rax, QWORD PTR 24[r12]
	cmp	QWORD PTR 24[rbp], rax
	jge	.L30
.L20:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, 1
	call	assert@PLT
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r12
	mov	rdi, rbp
	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
	jmp	sqlite3BlobCompare@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	test	edx, ebx
	jne	.L36
	mov	eax, 1
	test	ecx, ebx
	je	.L1
	test	edx, r15d
	je	.L20
	mov	rsi, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 24[r12]
	call	sqlite3IntFloatCompare@PLT
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	test	ecx, r15d
	je	.L20
	mov	rsi, QWORD PTR 32[r12]
	mov	rdi, QWORD PTR 24[rbp]
	add	rsp, 8
	.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
	jmp	sqlite3IntFloatCompare@PLT
	.cfi_endproc
.LFE0:
	.size	sqlite3MemCompare, .-sqlite3MemCompare
	.comm	SQLITE_UTF8,8,8
	.comm	SQLITE_UTF16LE,8,8
	.comm	SQLITE_UTF16BE,8,8
	.comm	MEM_Str,4,4
	.comm	MEM_Real,4,4
	.comm	MEM_Null,4,4
	.comm	MEM_Int,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_vdbeaux.c_sqlite3MemCompare.c"
	.text
	.align	2
	.global	sqlite3MemCompare
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3MemCompare, %function
sqlite3MemCompare:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r1]
	ldr	r8, [r0]
	mov	r4, r1
	mov	r5, r0
	mov	r7, r2
	bl	sqlite3VdbeMemIsRowSet
	cmp	r0, #0
	movne	r0, #0
	orr	r9, r8, r6
	beq	.L30
.L2:
	bl	assert
	ldr	r3, .L35
	ldr	r3, [r3]
	tst	r3, r9
	bne	.L31
	ldr	r3, .L35+4
	ldr	r2, .L35+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r1, r3, r2
	tst	r1, r9
	bne	.L32
	ldr	r3, .L35+12
	ldr	r3, [r3]
	tst	r3, r9
	beq	.L9
	tst	r3, r8
	beq	.L19
	tst	r3, r6
	beq	.L20
	ldr	r2, [r5, #4]
	ldr	r3, [r4, #4]
	cmp	r2, r3
	moveq	r0, #1
	beq	.L10
	ldr	r3, [r5, #8]
	ldr	r0, [r3]
	subs	r0, r0, #0
	movne	r0, #1
.L10:
	bl	assert
	ldr	r3, .L35+16
	ldr	r0, [r5, #4]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L23
	ldr	r3, .L35+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L23
	ldr	r3, .L35+24
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
.L11:
	bl	assert
	cmp	r7, #0
	beq	.L12
	ldr	r0, [r7]
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r3, #0
	b	vdbeCompareMemString
.L32:
	and	r1, r8, r6
	tst	r3, r1
	bne	.L33
	tst	r2, r1
	beq	.L7
	ldr	r2, [r5, #16]
	ldr	r3, [r4, #16]
	cmp	r2, r3
	blt	.L20
.L28:
	movgt	r0, #1
	movle	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L31:
	and	r0, r3, r6
	and	r3, r3, r8
	sub	r0, r0, r3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L30:
	mov	r0, r4
	bl	sqlite3VdbeMemIsRowSet
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L2
.L33:
	ldr	r2, [r5, #12]
	ldr	r3, [r4, #12]
	cmp	r2, r3
	bge	.L28
.L20:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r0, #1
	bl	assert
.L9:
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	sqlite3BlobCompare
.L7:
	tst	r3, r8
	bne	.L34
	tst	r2, r8
	beq	.L19
	tst	r3, r6
	beq	.L20
	ldr	r1, [r5, #16]
	ldr	r0, [r4, #12]
	bl	sqlite3IntFloatCompare
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	mov	r0, #1
	b	.L11
.L34:
	tst	r2, r6
	beq	.L20
	ldr	r1, [r4, #16]
	ldr	r0, [r5, #12]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	sqlite3IntFloatCompare
.L36:
	.align	2
.L35:
	.word	MEM_Null
	.word	MEM_Int
	.word	MEM_Real
	.word	MEM_Str
	.word	SQLITE_UTF8
	.word	SQLITE_UTF16LE
	.word	SQLITE_UTF16BE
	.size	sqlite3MemCompare, .-sqlite3MemCompare
	.comm	SQLITE_UTF8,4,4
	.comm	SQLITE_UTF16LE,4,4
	.comm	SQLITE_UTF16BE,4,4
	.comm	MEM_Str,4,4
	.comm	MEM_Real,4,4
	.comm	MEM_Null,4,4
	.comm	MEM_Int,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
