	.file	"extr_sqlite3.c_indexMightHelpWithOrderBy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	indexMightHelpWithOrderBy, @function
indexMightHelpWithOrderBy:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 24[rsi], 0
	jne	.L26
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L2
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	jle	.L2
	mov	rbp, rsi
	mov	r13d, edx
	xor	r12d, r12d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[rsp]
	add	r12, 1
	cmp	DWORD PTR [rax], r12d
	jle	.L2
.L12:
	mov	rax, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR 8[rax]
	mov	edi, DWORD PTR [rax+r12*4]
	call	sqlite3ExprSkipCollate@PLT
	mov	r15, rax
	mov	rax, QWORD PTR TK_COLUMN[rip]
	cmp	QWORD PTR [r15], rax
	je	.L31
.L3:
	mov	r14, QWORD PTR 16[rbp]
	test	r14, r14
	je	.L6
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L6
	xor	ebx, ebx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L6
.L10:
	mov	rax, QWORD PTR 8[rbp]
	mov	rcx, QWORD PTR XN_EXPR[rip]
	cmp	QWORD PTR [rax+rbx*8], rcx
	jne	.L11
	mov	rax, QWORD PTR 8[r14]
	mov	edx, r13d
	mov	rdi, r15
	mov	esi, DWORD PTR [rax+rbx*4]
	call	sqlite3ExprCompare@PLT
	test	rax, rax
	jne	.L11
.L7:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	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
.L31:
	.cfi_restore_state
	cmp	DWORD PTR 8[r15], r13d
	jne	.L3
	mov	rdx, QWORD PTR 16[r15]
	test	rdx, rdx
	js	.L7
	mov	ecx, DWORD PTR 0[rbp]
	test	ecx, ecx
	jle	.L6
	mov	rax, QWORD PTR 8[rbp]
	sub	ecx, 1
	lea	rcx, 8[rax+rcx*8]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L32:
	add	rax, 8
	cmp	rax, rcx
	je	.L6
.L8:
	cmp	rdx, QWORD PTR [rax]
	jne	.L32
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L26:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	indexMightHelpWithOrderBy, .-indexMightHelpWithOrderBy
	.comm	XN_EXPR,8,8
	.comm	TK_COLUMN,8,8
	.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_sqlite3.c_indexMightHelpWithOrderBy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	indexMightHelpWithOrderBy, %function
indexMightHelpWithOrderBy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, [r1, #12]
	cmp	r8, #0
	bne	.L2
	ldr	r3, [r0]
	ldr	r10, [r3]
	cmp	r10, #0
	beq	.L2
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L2
	mov	r5, r1
	mov	r9, r2
	ldr	r7, .L29
	b	.L12
.L6:
	ldr	r3, [r10]
	add	r8, r8, #1
	cmp	r3, r8
	ble	.L2
.L12:
	ldr	r3, [r10, #4]
	ldr	r0, [r3, r8, lsl #2]
	bl	sqlite3ExprSkipCollate
	ldr	r3, .L29+4
	ldr	r2, [r0]
	ldr	r3, [r3]
	mov	r6, r0
	cmp	r2, r3
	beq	.L27
.L3:
	ldr	fp, [r5, #8]
	cmp	fp, #0
	beq	.L6
	ldr	r0, [r5]
	cmp	r0, #0
	ble	.L6
	mov	r4, #0
	b	.L10
.L11:
	add	r4, r4, #1
	cmp	r0, r4
	ble	.L6
.L10:
	ldr	r1, [r5, #4]
	ldr	r2, [r7]
	ldr	r1, [r1, r4, lsl #2]
	cmp	r1, r2
	bne	.L11
	ldr	r1, [fp, #4]
	mov	r2, r9
	mov	r0, r6
	ldr	r1, [r1, r4, lsl #2]
	bl	sqlite3ExprCompare
	cmp	r0, #0
	beq	.L7
	ldr	r0, [r5]
	b	.L11
.L27:
	ldr	r3, [r0, #4]
	cmp	r3, r9
	bne	.L3
	ldr	r0, [r0, #8]
	cmp	r0, #0
	blt	.L7
	ldr	ip, [r5]
	cmp	ip, #0
	ble	.L6
	ldr	r2, [r5, #4]
	mov	r3, #0
	sub	r2, r2, #4
	b	.L8
.L28:
	cmp	r3, ip
	beq	.L6
.L8:
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r0, r1
	bne	.L28
.L7:
	mov	r0, #1
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	.align	2
.L29:
	.word	XN_EXPR
	.word	TK_COLUMN
	.size	indexMightHelpWithOrderBy, .-indexMightHelpWithOrderBy
	.comm	XN_EXPR,4,4
	.comm	TK_COLUMN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
