	.file	"extr_sqlite3.c_whereLoopCheaperProperSubset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	whereLoopCheaperProperSubset, @function
whereLoopCheaperProperSubset:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rdx, DWORD PTR [rdi]
	movsx	rax, DWORD PTR [rsi]
	mov	r10, QWORD PTR 8[rdi]
	mov	r9, QWORD PTR 8[rsi]
	mov	rcx, rdx
	mov	r8, rax
	sub	rdx, r10
	sub	rax, r9
	cmp	rdx, rax
	jge	.L11
	cmp	r10, r9
	jl	.L11
	mov	rax, QWORD PTR 16[rsi]
	cmp	QWORD PTR 16[rdi], rax
	jl	.L3
	mov	eax, 0
	jg	.L1
	mov	rdx, QWORD PTR 24[rsi]
	cmp	QWORD PTR 24[rdi], rdx
	jg	.L1
.L3:
	sub	ecx, 1
	js	.L10
	mov	r9, QWORD PTR 32[rdi]
	movsx	rcx, ecx
	sub	r8d, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	sub	rcx, 1
	test	ecx, ecx
	js	.L10
.L6:
	mov	rdx, QWORD PTR [r9+rcx*8]
	test	rdx, rdx
	je	.L4
	test	r8d, r8d
	js	.L11
	mov	rdi, QWORD PTR 32[rsi]
	movsx	rax, r8d
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	rdx, QWORD PTR [rdi+rax*8]
	je	.L4
	sub	rax, 1
	test	eax, eax
	jns	.L5
.L11:
	xor	eax, eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	whereLoopCheaperProperSubset, .-whereLoopCheaperProperSubset
	.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_whereLoopCheaperProperSubset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	whereLoopCheaperProperSubset, %function
whereLoopCheaperProperSubset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #4]
	ldr	r2, [r1, #4]
	push	{r4, r5, r6, r7, lr}
	cmp	ip, r2
	movge	r3, #0
	movlt	r3, #1
	ldr	r6, [r0]
	ldr	r5, [r1]
	sub	ip, r6, ip
	sub	r2, r5, r2
	cmp	ip, r2
	orrge	r3, r3, #1
	cmp	r3, #0
	beq	.L20
.L11:
	mov	r0, #0
	pop	{r4, r5, r6, r7, pc}
.L20:
	ldr	ip, [r0, #8]
	ldr	r2, [r1, #8]
	cmp	ip, r2
	blt	.L3
	bgt	.L11
	ldr	ip, [r0, #12]
	ldr	r2, [r1, #12]
	cmp	ip, r2
	bgt	.L11
.L3:
	subs	lr, r6, #1
	bmi	.L10
	ldr	r4, [r0, #16]
	lsl	r7, r5, #2
	add	r4, r4, r6, lsl #2
	b	.L6
.L4:
	subs	lr, lr, #1
	bcc	.L10
.L6:
	ldr	ip, [r4, #-4]!
	cmp	ip, #0
	beq	.L4
	subs	r3, r5, #1
	bmi	.L11
	ldr	r2, [r1, #16]
	add	r2, r2, r7
	b	.L5
.L21:
	cmn	r3, #1
	beq	.L11
.L5:
	ldr	r0, [r2, #-4]!
	sub	r3, r3, #1
	cmp	ip, r0
	bne	.L21
	subs	lr, lr, #1
	bcs	.L6
.L10:
	mov	r0, #1
	pop	{r4, r5, r6, r7, pc}
	.size	whereLoopCheaperProperSubset, .-whereLoopCheaperProperSubset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
