	.file	"extr_sqlite3.c_pcache1Create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pcache1Create, @function
pcache1Create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	eax, -1[rdi]
	mov	r15d, edi
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	eax, r15d
	jne	.L2
	lea	eax, -512[r15]
	xor	edi, edi
	cmp	eax, 65024
	setbe	dil
.L2:
	call	assert@PLT
	xor	edi, edi
	cmp	r13d, 299
	setle	dil
	xor	r14d, r14d
	call	assert@PLT
	mov	edx, DWORD PTR pcache1[rip]
	lea	eax, [rdx+rdx*4]
	lea	edi, 56[0+rax*8]
	call	sqlite3MallocZero@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR pcache1[rip]
	mov	r14, rax
	lea	r12, pcache1[rip+8]
	test	edx, edx
	je	.L4
	mov	DWORD PTR 56[rax], 10
	lea	r12, 56[rax]
.L4:
	mov	eax, DWORD PTR 16[r12]
	test	eax, eax
	jne	.L5
	mov	DWORD PTR 16[r12], 1
	lea	rax, 16[r12]
	mov	QWORD PTR 24[r12], rax
	mov	QWORD PTR 32[r12], rax
.L5:
	mov	QWORD PTR 48[rbp], r12
	mov	edi, 4
	mov	DWORD PTR 0[rbp], r15d
	mov	DWORD PTR 4[rbp], r13d
	call	ROUND8@PLT
	mov	rdi, r12
	mov	r8, rax
	lea	eax, [r15+r13]
	cdqe
	add	rax, r8
	mov	QWORD PTR 40[rbp], rax
	xor	eax, eax
	test	ebx, ebx
	setne	al
	mov	DWORD PTR 8[rbp], eax
	call	pcache1EnterMutex@PLT
	mov	rdi, rbp
	call	pcache1ResizeHash@PLT
	test	ebx, ebx
	jne	.L15
	lea	rax, 24[rbp]
	mov	QWORD PTR 32[rbp], rax
.L7:
	mov	rdi, r12
	call	pcache1LeaveMutex@PLT
	cmp	QWORD PTR 16[rbp], 0
	je	.L16
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	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
.L15:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR 8[r12]
	mov	DWORD PTR 12[rbp], 10
	lea	edx, 10[rax]
	sub	ecx, eax
	lea	rax, 12[r12]
	mov	DWORD PTR 4[r12], edx
	mov	DWORD PTR [r12], ecx
	mov	QWORD PTR 32[rbp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	xor	r14d, r14d
	call	pcache1Destroy@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	pcache1Create, .-pcache1Create
	.comm	pcache1,48,32
	.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_pcache1Create.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcache1Create, %function
pcache1Create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r3, r0, #1
	tst	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	mov	r7, r1
	mov	r6, r2
	movne	r0, #0
	bne	.L2
	sub	r0, r8, #512
	cmp	r0, #65024
	movhi	r0, #0
	movls	r0, #1
.L2:
	bl	assert
	ldr	r5, .L14
	cmp	r7, #300
	movge	r0, #0
	movlt	r0, #1
	bl	assert
	ldr	r3, [r5]
	rsb	r3, r3, r3, lsl #3
	lsl	r3, r3, #2
	add	r0, r3, #36
	bl	sqlite3MallocZero
	subs	r4, r0, #0
	moveq	r9, r4
	beq	.L1
	ldr	r3, [r5]
	mov	r0, #4
	cmp	r3, #0
	movne	r3, #10
	addne	r5, r4, #36
	addeq	r5, r5, #4
	strne	r3, [r4, #36]
	ldr	r3, [r5, #16]
	mov	r9, r4
	cmp	r3, #0
	moveq	r2, #1
	moveq	r3, r5
	streq	r2, [r3, #16]!
	streq	r3, [r5, #20]
	streq	r3, [r5, #24]
	str	r5, [r4, #32]
	str	r8, [r4]
	str	r7, [r4, #4]
	bl	ROUND8
	subs	r3, r6, #0
	movne	r3, #1
	add	r1, r8, r7
	add	r1, r1, r0
	str	r3, [r4, #8]
	str	r1, [r4, #28]
	mov	r0, r5
	bl	pcache1EnterMutex
	mov	r0, r4
	bl	pcache1ResizeHash
	cmp	r6, #0
	movne	r0, #10
	ldmibne	r5, {r1, r2}
	movne	r3, r5
	strne	r0, [r4, #12]
	subne	r2, r2, r1
	addne	r0, r1, r0
	strne	r0, [r5, #4]
	addeq	r3, r4, #20
	strne	r2, [r3], #12
	mov	r0, r5
	str	r3, [r4, #24]
	bl	pcache1LeaveMutex
	ldr	r5, [r4, #16]
	cmp	r5, #0
	beq	.L13
.L1:
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	mov	r0, r4
	bl	pcache1Destroy
	mov	r9, r5
	b	.L1
.L15:
	.align	2
.L14:
	.word	pcache1
	.size	pcache1Create, .-pcache1Create
	.comm	pcache1,32,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
