	.file	"extr_sqlite3.c_whereLoopAddVirtual.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"  VirtualOne: all usable\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"  VirtualOne: all usable w/o IN\n"
	.section	.rodata.str1.1
.LC2:
	.string	"  VirtualOne: all disabled\n"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"  VirtualOne: all disabled and w/o IN\n"
	.text
	.p2align 4
	.type	whereLoopAddVirtual, @function
whereLoopAddVirtual:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	test	rsi, rdx
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	r14, QWORD PTR 8[rbp]
	mov	rbx, QWORD PTR 16[rbp]
	mov	r13, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [r14]
	mov	QWORD PTR [rsp], rbx
	mov	rax, QWORD PTR [rax]
	lea	rbx, [rax+rdx*4]
	mov	edi, DWORD PTR [rbx]
	call	IsVirtual@PLT
	mov	edi, eax
	call	assert@PLT
	mov	r8d, DWORD PTR 0[rbp]
	mov	rsi, QWORD PTR [rsp]
	mov	rcx, rbx
	lea	r9, 84[rsp]
	mov	rdx, r15
	mov	rdi, r13
	call	allocateIndexInfo@PLT
	test	rax, rax
	je	.L46
	mov	r15, rax
	mov	eax, DWORD PTR WHERE_VIRTUALTABLE[rip]
	mov	QWORD PTR 40[r14], 0
	mov	rsi, r14
	mov	QWORD PTR 24[r14], 0
	mov	edi, DWORD PTR 0[r13]
	mov	DWORD PTR 32[r14], eax
	mov	eax, DWORD PTR [r15]
	mov	QWORD PTR 16[r14], 0
	mov	edx, eax
	mov	DWORD PTR 12[rsp], eax
	call	whereLoopResize@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L48
	lea	rsi, .LC0[rip]
	mov	edi, 64
	call	WHERETRACE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	xor	ecx, ecx
	mov	rsi, r12
	lea	rax, 88[rsp]
	mov	rdx, QWORD PTR ALLBITS[rip]
	mov	r8, r15
	mov	rdi, rbp
	mov	QWORD PTR 24[rsp], rax
	push	rax
	.cfi_def_cfa_offset 176
	mov	r9d, DWORD PTR 100[rsp]
	call	whereLoopAddVirtualOne@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	pop	rcx
	.cfi_def_cfa_offset 168
	mov	r9d, eax
	pop	rsi
	.cfi_def_cfa_offset 160
	je	.L49
.L5:
	cmp	QWORD PTR 8[r15], 0
	jne	.L50
.L16:
	mov	edi, DWORD PTR 0[r13]
	mov	rsi, r15
	mov	DWORD PTR [rsp], r9d
	call	sqlite3DbFreeNN@PLT
	mov	r9d, DWORD PTR [rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L48:
	mov	edi, DWORD PTR 0[r13]
	mov	rsi, r15
	call	sqlite3DbFree@PLT
.L46:
	mov	r9d, DWORD PTR SQLITE_NOMEM_BKPT[rip]
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L51
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r9d
	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
.L49:
	.cfi_restore_state
	mov	r11, r12
	not	r11
	mov	rax, r11
	and	rax, QWORD PTR 8[r14]
	mov	QWORD PTR 24[rsp], rax
	je	.L5
	mov	QWORD PTR 40[rsp], 0
	mov	eax, DWORD PTR 80[rsp]
	mov	DWORD PTR 68[rsp], eax
	test	eax, eax
	jne	.L52
.L6:
	mov	eax, DWORD PTR 12[rsp]
	mov	QWORD PTR 48[rsp], rbp
	mov	QWORD PTR 72[rsp], r13
	mov	r13d, r9d
	sub	eax, 1
	mov	QWORD PTR 56[rsp], r14
	mov	r14, r11
	sal	rax, 3
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 68[rsp]
	mov	DWORD PTR 64[rsp], eax
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rbp, QWORD PTR ALLBITS[rip]
	xor	edi, edi
	test	rbp, rbp
	setg	dil
	call	assert@PLT
	mov	r11d, DWORD PTR 12[rsp]
	test	r11d, r11d
	jle	.L20
	mov	rax, QWORD PTR [rsp]
	mov	rcx, QWORD PTR 16[r15]
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR [rax]
	lea	rax, 8[rcx]
	add	rsi, rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L53:
	add	rax, 8
.L11:
	mov	rdx, QWORD PTR [rcx]
	mov	rcx, QWORD PTR [rdi+rdx*8]
	and	rcx, r14
	cmp	rcx, rbx
	jle	.L9
	cmp	rcx, rbp
	cmovl	rbp, rcx
.L9:
	mov	rcx, rax
	cmp	rsi, rax
	jne	.L53
.L20:
	cmp	QWORD PTR ALLBITS[rip], rbp
	mov	rbx, rbp
	je	.L12
	cmp	QWORD PTR 24[rsp], rbp
	je	.L13
	cmp	QWORD PTR 40[rsp], rbp
	je	.L13
	movsx	rsi, ebp
	mov	edi, 64
	call	WHERETRACE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	mov	rdx, rbp
	mov	r8, r15
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 176
	mov	r9d, DWORD PTR 100[rsp]
	or	rdx, r12
	xor	ecx, ecx
	mov	rdi, QWORD PTR 64[rsp]
	mov	rsi, r12
	call	whereLoopAddVirtualOne@PLT
	pop	r9
	.cfi_def_cfa_offset 168
	pop	r10
	.cfi_def_cfa_offset 160
	mov	r13d, eax
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR 8[rax], r12
	jne	.L13
	mov	r8d, DWORD PTR 80[rsp]
	mov	eax, 1
	mov	DWORD PTR 68[rsp], 1
	test	r8d, r8d
	cmovne	eax, DWORD PTR 64[rsp]
	mov	DWORD PTR 64[rsp], eax
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR SQLITE_OK[rip]
	cmp	eax, r13d
	je	.L14
	mov	r9d, r13d
	mov	rbp, QWORD PTR 48[rsp]
	mov	r13, QWORD PTR 72[rsp]
.L7:
	cmp	r9d, eax
	sete	al
.L15:
	test	BYTE PTR 64[rsp], 1
	jne	.L5
	test	al, al
	je	.L5
	lea	rsi, .LC3[rip]
	mov	edi, 64
	call	WHERETRACE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	mov	rdx, r12
	mov	r8, r15
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 176
	mov	ecx, DWORD PTR WO_IN[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	r9d, DWORD PTR 100[rsp]
	call	whereLoopAddVirtualOne@PLT
	mov	r9d, eax
	pop	rax
	.cfi_def_cfa_offset 168
	pop	rdx
	.cfi_def_cfa_offset 160
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L50:
	mov	edi, DWORD PTR 4[r15]
	mov	DWORD PTR [rsp], r9d
	call	sqlite3_free@PLT
	mov	r9d, DWORD PTR [rsp]
	jmp	.L16
.L12:
	mov	r9d, r13d
	cmp	DWORD PTR SQLITE_OK[rip], r9d
	mov	r13, QWORD PTR 72[rsp]
	mov	rbp, QWORD PTR 48[rsp]
	sete	al
	test	BYTE PTR 68[rsp], 1
	jne	.L15
	test	al, al
	je	.L15
	lea	rsi, .LC2[rip]
	mov	edi, 64
	call	WHERETRACE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	xor	ecx, ecx
	mov	rsi, r12
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 176
	mov	r9d, DWORD PTR 100[rsp]
	mov	rdi, rbp
	mov	r8, r15
	mov	rdx, r12
	call	whereLoopAddVirtualOne@PLT
	pop	rcx
	.cfi_def_cfa_offset 168
	pop	rsi
	.cfi_def_cfa_offset 160
	mov	edi, DWORD PTR 80[rsp]
	mov	r9d, eax
	test	edi, edi
	je	.L5
	cmp	DWORD PTR SQLITE_OK[rip], eax
	sete	al
	jmp	.L15
.L52:
	lea	rsi, .LC1[rip]
	mov	edi, 64
	mov	QWORD PTR 40[rsp], r11
	call	WHERETRACE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	mov	r8, r15
	mov	rsi, r12
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 176
	mov	ecx, DWORD PTR WO_IN[rip]
	mov	rdi, rbp
	mov	r9d, DWORD PTR 100[rsp]
	mov	rdx, QWORD PTR ALLBITS[rip]
	call	whereLoopAddVirtualOne@PLT
	xor	edi, edi
	mov	DWORD PTR 48[rsp], eax
	mov	eax, DWORD PTR 96[rsp]
	test	eax, eax
	sete	dil
	call	assert@PLT
	pop	rax
	.cfi_def_cfa_offset 168
	pop	rdx
	.cfi_def_cfa_offset 160
	mov	r11, QWORD PTR 40[rsp]
	mov	r9d, DWORD PTR SQLITE_OK[rip]
	mov	edx, DWORD PTR 32[rsp]
	mov	rax, r11
	and	rax, QWORD PTR 8[r14]
	sete	cl
	mov	QWORD PTR 40[rsp], rax
	movzx	ecx, cl
	mov	DWORD PTR 68[rsp], ecx
	cmp	edx, r9d
	je	.L6
	mov	eax, r9d
	mov	DWORD PTR 64[rsp], ecx
	mov	r9d, edx
	jmp	.L7
.L51:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	whereLoopAddVirtual, .-whereLoopAddVirtual
	.comm	WO_IN,4,4
	.comm	WHERE_VIRTUALTABLE,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM_BKPT,4,4
	.comm	ALLBITS,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_whereLoopAddVirtual.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"  VirtualOne: all usable\012\000"
	.align	2
.LC1:
	.ascii	"  VirtualOne: all usable w/o IN\012\000"
	.align	2
.LC2:
	.ascii	"  VirtualOne: all disabled\012\000"
	.align	2
.LC3:
	.ascii	"  VirtualOne: all disabled and w/o IN\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	whereLoopAddVirtual, %function
whereLoopAddVirtual:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	tst	r1, r2
	ldr	r3, .L47
	sub	sp, sp, #76
	moveq	r0, #1
	movne	r0, #0
	mov	r8, r1
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	bl	assert
	ldr	r2, [r5, #12]
	ldr	r7, [r5, #4]
	ldr	r3, [r2]
	ldr	r6, [r7]
	ldr	r3, [r3]
	ldr	r10, [r2, #4]
	ldr	r0, [r3, r6, lsl #2]
	add	r6, r3, r6, lsl #2
	ldr	r3, [r5, #8]
	mov	r9, r3
	str	r3, [sp, #20]
	bl	IsVirtual
	bl	assert
	ldr	lr, [r5]
	add	ip, sp, #64
	mov	r3, r6
	mov	r2, r4
	mov	r0, r10
	mov	r1, r9
	str	lr, [sp]
	str	ip, [sp, #4]
	bl	allocateIndexInfo
	subs	r6, r0, #0
	beq	.L40
	mov	r3, #0
	ldr	r2, .L47+4
	ldr	r1, [r6]
	ldr	r2, [r2]
	str	r1, [sp, #24]
	str	r2, [r7, #16]
	ldr	r0, [r10]
	mov	r2, r1
	str	r3, [r7, #20]
	mov	r1, r7
	str	r3, [r7, #12]
	str	r3, [r7, #8]
	bl	whereLoopResize
	subs	r4, r0, #0
	bne	.L42
	ldr	r1, .L47+8
	mov	r0, #64
	bl	WHERETRACE
	ldr	r3, [sp, #64]
	ldr	r2, .L47+12
	str	r6, [sp]
	ldr	r2, [r2]
	str	r3, [sp, #4]
	add	r3, sp, #60
	str	r3, [sp, #8]
	mov	r1, r8
	mov	r3, r4
	mov	r0, r5
	bl	whereLoopAddVirtualOne
	ldr	r3, .L47+16
	mov	r2, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L43
.L5:
	ldr	r3, [r6, #8]
	cmp	r3, #0
	bne	.L44
.L15:
	mov	r1, r6
	ldr	r0, [r10]
	str	r2, [sp, #20]
	bl	sqlite3DbFreeNN
	ldr	r2, [sp, #20]
	b	.L1
.L42:
	mov	r1, r6
	ldr	r0, [r10]
	bl	sqlite3DbFree
.L40:
	ldr	r3, .L47+20
	ldr	r2, [r3]
.L1:
	ldr	r3, .L47
	ldr	r1, [r3]
	ldr	r3, [sp, #68]
	eors	r1, r3, r1
	mov	r3, #0
	bne	.L45
	mov	r0, r2
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L43:
	ldr	r3, [r7, #4]
	mvn	r9, r8
	bics	r3, r3, r8
	str	r3, [sp, #32]
	beq	.L5
	ldr	r3, [sp, #60]
	cmp	r3, #0
	str	r3, [sp, #44]
	bne	.L46
	ldr	r3, [sp, #44]
	str	r3, [sp, #36]
.L6:
	str	r10, [sp, #52]
	mov	r10, r2
	ldr	r3, [sp, #44]
	str	r3, [sp, #48]
	ldr	r3, [sp, #24]
	lsl	r3, r3, #2
	str	r3, [sp, #40]
.L13:
	ldr	r3, .L47+12
	ldr	fp, [r3]
	cmp	fp, #0
	movle	r0, #0
	movgt	r0, #1
	bl	assert
	ldr	r3, [sp, #24]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [sp, #20]
	ldr	r2, [r6, #12]
	ldr	ip, [r3]
	ldr	r3, [sp, #40]
	sub	r2, r2, #4
	add	r0, r2, r3
.L10:
	ldr	r3, [r2, #4]!
	ldr	r3, [ip, r3, lsl #2]
	and	r3, r3, r9
	cmp	r3, r4
	movle	r1, #0
	movgt	r1, #1
	cmp	r3, fp
	movge	r1, #0
	cmp	r1, #0
	movne	fp, r3
	cmp	r0, r2
	bne	.L10
.L19:
	ldr	r3, .L47+12
	mov	r4, fp
	ldr	r3, [r3]
	cmp	r3, fp
	beq	.L11
	ldr	r3, [sp, #32]
	ldr	r2, [sp, #36]
	cmp	r2, fp
	cmpne	r3, fp
	moveq	r3, #1
	movne	r3, #0
	str	r3, [sp, #28]
	beq	.L12
	mov	r1, fp
	mov	r0, #64
	bl	WHERETRACE
	ldr	r0, [sp, #64]
	add	r3, sp, #60
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	ldr	r3, [sp, #28]
	mov	r1, r8
	mov	r0, r5
	str	r6, [sp]
	orr	r2, r8, fp
	bl	whereLoopAddVirtualOne
	ldr	r3, [r7, #4]
	mov	r10, r0
	cmp	r3, r8
	bne	.L12
	ldr	r3, [sp, #60]
	cmp	r3, #0
	mov	r3, #1
	streq	r3, [sp, #48]
	str	r3, [sp, #44]
.L12:
	ldr	r3, .L47+16
	ldr	r3, [r3]
	cmp	r3, r10
	beq	.L13
	mov	r2, r10
	ldr	r10, [sp, #52]
.L7:
	sub	r3, r2, r3
	clz	r3, r3
	lsr	r3, r3, #5
.L14:
	ldr	r1, [sp, #48]
	eor	r1, r1, #1
	tst	r1, r3
	beq	.L5
	ldr	r1, .L47+24
	mov	r0, #64
	bl	WHERETRACE
	ldr	r2, [sp, #64]
	add	r1, sp, #60
	ldr	r3, .L47+28
	str	r1, [sp, #8]
	str	r6, [sp]
	ldr	r3, [r3]
	mov	r0, r5
	str	r2, [sp, #4]
	mov	r1, r8
	mov	r2, r8
	bl	whereLoopAddVirtualOne
	mov	r2, r0
	b	.L5
.L44:
	ldr	r0, [r6, #4]
	str	r2, [sp, #20]
	bl	sqlite3_free
	ldr	r2, [sp, #20]
	b	.L15
.L11:
	mov	r2, r10
	ldr	r3, .L47+16
	ldr	r1, [sp, #44]
	ldr	r3, [r3]
	eor	r1, r1, #1
	sub	r3, r3, r2
	clz	r3, r3
	lsr	r3, r3, #5
	tst	r1, r3
	ldr	r10, [sp, #52]
	beq	.L14
	ldr	r1, .L47+32
	mov	r0, #64
	bl	WHERETRACE
	ldr	r3, [sp, #64]
	add	r2, sp, #60
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r2, r8
	mov	r3, #0
	mov	r1, r8
	mov	r0, r5
	str	r6, [sp]
	bl	whereLoopAddVirtualOne
	ldr	r3, [sp, #60]
	mov	r2, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L47+16
	ldr	r3, [r3]
	sub	r3, r3, r0
	clz	r3, r3
	lsr	r3, r3, #5
	b	.L14
.L46:
	ldr	r1, .L47+36
	mov	r0, #64
	bl	WHERETRACE
	ldr	r2, [sp, #64]
	add	r1, sp, #60
	ldr	r3, .L47+28
	str	r1, [sp, #8]
	str	r6, [sp]
	ldr	r3, [r3]
	str	r2, [sp, #4]
	ldr	r2, .L47+12
	mov	r1, r8
	ldr	r2, [r2]
	mov	r0, r5
	bl	whereLoopAddVirtualOne
	ldr	r3, [sp, #60]
	mov	fp, r0
	clz	r0, r3
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, [r7, #4]
	ldr	r2, .L47+16
	ands	r3, r9, r3
	moveq	r1, #1
	movne	r1, #0
	ldr	r2, [r2]
	str	r3, [sp, #36]
	cmp	fp, r2
	str	r1, [sp, #44]
	beq	.L6
	mov	r3, r2
	str	r1, [sp, #48]
	mov	r2, fp
	b	.L7
.L45:
	bl	__stack_chk_fail
.L48:
	.align	2
.L47:
	.word	.LC4
	.word	WHERE_VIRTUALTABLE
	.word	.LC0
	.word	ALLBITS
	.word	SQLITE_OK
	.word	SQLITE_NOMEM_BKPT
	.word	.LC3
	.word	WO_IN
	.word	.LC2
	.word	.LC1
	.size	whereLoopAddVirtual, .-whereLoopAddVirtual
	.comm	WO_IN,4,4
	.comm	WHERE_VIRTUALTABLE,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM_BKPT,4,4
	.comm	ALLBITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
