	.file	"extr_sqlite3.c_walFramePage.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	walFramePage, @function
walFramePage:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR HASHTABLE_NPAGE[rip]
	mov	esi, DWORD PTR HASHTABLE_NPAGE_ONE[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	eax, [rcx+rdi]
	sub	eax, esi
	mov	r12d, eax
	sub	r12d, 1
	mov	eax, r12d
	cdq
	idiv	ecx
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	cmp	esi, edi
	jl	.L16
	add	esi, ecx
.L6:
	xor	r8d, r8d
	cmp	edi, esi
	setle	r8b
	mov	edi, r8d
	call	assert@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	esi, edi
	jge	.L16
	test	eax, eax
	jle	.L16
	add	esi, ecx
	cmp	r12d, 1
	je	.L6
	cmp	edi, esi
	jg	.L7
.L16:
	xor	r8d, r8d
.L4:
	mov	edi, r8d
	call	assert@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r8d, 1
	cmp	r12d, 2
	je	.L4
	add	ecx, esi
	xor	r8d, r8d
	cmp	ecx, edi
	setl	r8b
	mov	edi, r8d
	call	assert@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	walFramePage, .-walFramePage
	.comm	HASHTABLE_NPAGE_ONE,4,4
	.comm	HASHTABLE_NPAGE,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_walFramePage.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	walFramePage, %function
walFramePage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L18
	ldr	r3, .L18+4
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r2]
	ldr	r6, [r3]
	mov	r4, r0
	add	r0, r7, r0
	sub	r0, r0, r6
	mov	r1, r7
	sub	r0, r0, #1
	bl	__aeabi_idiv
	subs	r5, r0, #0
	bne	.L17
	cmp	r6, r4
	blt	.L15
	add	r6, r7, r6
.L6:
	cmp	r4, r6
	movgt	r0, #0
	movle	r0, #1
	b	.L4
.L17:
	cmp	r6, r4
	bge	.L15
	cmp	r5, #0
	ble	.L15
	cmp	r5, #1
	add	r6, r7, r6
	beq	.L6
	cmp	r4, r6
	bgt	.L7
.L15:
	mov	r0, #0
.L4:
	bl	assert
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	cmp	r5, #2
	moveq	r0, #1
	beq	.L4
	add	r0, r7, r6
	cmp	r0, r4
	movge	r0, #0
	movlt	r0, #1
	b	.L4
.L19:
	.align	2
.L18:
	.word	HASHTABLE_NPAGE
	.word	HASHTABLE_NPAGE_ONE
	.size	walFramePage, .-walFramePage
	.comm	HASHTABLE_NPAGE_ONE,4,4
	.comm	HASHTABLE_NPAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
