	.file	"extr_sqlite3.c_whereLoopResize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	whereLoopResize, @function
whereLoopResize:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR [rsi], edx
	jl	.L2
	mov	eax, DWORD PTR SQLITE_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	ebp, 7[rdx]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	and	ebp, -8
	mov	rbx, rsi
	lea	esi, 0[0+rbp*8]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sqlite3DbMallocRawNN@PLT
	mov	r12, rax
	mov	eax, DWORD PTR SQLITE_NOMEM_BKPT[rip]
	test	r12, r12
	je	.L1
	mov	eax, DWORD PTR [rbx]
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, r12
	lea	edx, 0[0+rax*8]
	call	memcpy@PLT
	mov	rsi, QWORD PTR 8[rbx]
	cmp	rsi, QWORD PTR 16[rbx]
	je	.L5
	mov	rdi, r13
	call	sqlite3DbFreeNN@PLT
.L5:
	mov	QWORD PTR 8[rbx], r12
	mov	eax, DWORD PTR SQLITE_OK[rip]
	mov	DWORD PTR [rbx], ebp
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	whereLoopResize, .-whereLoopResize
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM_BKPT,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_sqlite3.c_whereLoopResize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	whereLoopResize, %function
whereLoopResize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	cmp	r3, r2
	blt	.L2
	ldr	r3, .L11
	ldr	r0, [r3]
	bx	lr
.L2:
	add	r2, r2, #7
	push	{r4, r5, r6, r7, r8, lr}
	bic	r4, r2, #7
	mov	r5, r1
	lsl	r1, r4, #2
	mov	r7, r0
	bl	sqlite3DbMallocRawNN
	subs	r6, r0, #0
	beq	.L10
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	lsl	r2, r2, #2
	bl	memcpy
	ldmib	r5, {r1, r3}
	cmp	r1, r3
	beq	.L5
	mov	r0, r7
	bl	sqlite3DbFreeNN
.L5:
	ldr	r3, .L11
	str	r6, [r5, #4]
	ldr	r0, [r3]
	str	r4, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	SQLITE_OK
	.word	SQLITE_NOMEM_BKPT
	.size	whereLoopResize, .-whereLoopResize
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM_BKPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
