	.file	"extr_sqlite3_omit.c_pcache1RemoveFromHash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pcache1RemoveFromHash, @function
pcache1RemoveFromHash:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rax]
	call	sqlite3_mutex_held@PLT
	mov	edi, eax
	call	assert@PLT
	mov	eax, DWORD PTR 0[rbp]
	xor	edx, edx
	div	DWORD PTR [rbx]
	mov	rax, QWORD PTR 8[rbx]
	lea	rdx, [rax+rdx*8]
	mov	rax, QWORD PTR [rdx]
	cmp	rax, rbp
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, rax
	mov	rax, QWORD PTR 8[rax]
	cmp	rax, rbp
	jne	.L3
	add	rdx, 8
.L2:
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR [rdx], rax
	sub	DWORD PTR 4[rbx], 1
	test	r12d, r12d
	jne	.L8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	pcache1FreePage@PLT
	.cfi_endproc
.LFE0:
	.size	pcache1RemoveFromHash, .-pcache1RemoveFromHash
	.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_omit.c_pcache1RemoveFromHash.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcache1RemoveFromHash, %function
pcache1RemoveFromHash:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, [r0, #8]
	mov	r6, r1
	ldr	r3, [r5, #12]
	ldr	r0, [r3]
	bl	sqlite3_mutex_held
	bl	assert
	ldr	r1, [r5]
	ldr	r0, [r4]
	bl	__aeabi_uidivmod
	ldr	r2, [r5, #8]
	ldr	r3, [r2, r1, lsl #2]
	add	r2, r2, r1, lsl #2
	cmp	r3, r4
	beq	.L2
.L3:
	mov	r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, r4
	bne	.L3
	add	r2, r2, #4
.L2:
	ldr	r3, [r5, #4]
	ldr	r1, [r4, #4]
	sub	r3, r3, #1
	cmp	r6, #0
	str	r1, [r2]
	str	r3, [r5, #4]
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	pcache1FreePage
	.size	pcache1RemoveFromHash, .-pcache1RemoveFromHash
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
