	.file	"extr_sqlite3.c_vdbePmaReaderInit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vdbePmaReaderInit, @function
vdbePmaReaderInit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	xor	edi, edi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r8
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rsi], rdx
	setg	dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], 0
	jne	.L2
	xor	edi, edi
	cmp	QWORD PTR 8[rbp], 0
	sete	dil
.L2:
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rbp], 0
	sete	dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 24[rbp], 0
	sete	dil
	call	assert@PLT
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r14
	call	vdbePmaReaderSeek@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	je	.L9
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rsi, rsp
	mov	rdi, rbp
	mov	QWORD PTR [rsp], 0
	call	vdbePmaReadVarint@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	rcx, QWORD PTR 32[rbp]
	add	rcx, rdx
	mov	QWORD PTR 40[rbp], rcx
	add	QWORD PTR [rbx], rdx
	cmp	DWORD PTR SQLITE_OK[rip], eax
	jne	.L1
	mov	rdi, rbp
	call	vdbePmaReaderNext@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vdbePmaReaderInit, .-vdbePmaReaderInit
	.comm	SQLITE_OK,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_vdbePmaReaderInit.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdbePmaReaderInit, %function
vdbePmaReaderInit:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r3
	ldr	r3, [r1]
	sub	sp, sp, #12
	cmp	r3, r2
	ldr	r3, .L10
	mov	r9, r0
	movle	r0, #0
	movgt	r0, #1
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r8, [sp, #40]
	bl	assert
	ldr	r3, [r4]
	ldr	r7, .L10+4
	cmp	r3, #0
	ldreq	r0, [r4, #4]
	movne	r0, #0
	clzeq	r0, r0
	lsreq	r0, r0, #5
	bl	assert
	ldr	r0, [r4, #8]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r0, [r4, #12]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	mov	r0, r9
	bl	vdbePmaReaderSeek
	ldr	r3, [r7]
	cmp	r3, r0
	beq	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	mov	r3, #0
	mov	r1, sp
	mov	r0, r4
	str	r3, [sp]
	bl	vdbePmaReadVarint
	ldr	r1, [sp]
	ldr	r2, [r4, #16]
	ldr	ip, [r7]
	add	r2, r2, r1
	str	r2, [r4, #20]
	ldr	r3, [r8]
	cmp	ip, r0
	add	r3, r3, r1
	str	r3, [r8]
	bne	.L1
	mov	r0, r4
	bl	vdbePmaReaderNext
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	SQLITE_OK
	.size	vdbePmaReaderInit, .-vdbePmaReaderInit
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
