	.file	"extr_sqlite3.c_journalHdrOffset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	journalHdrOffset, @function
journalHdrOffset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ebx, DWORD PTR [rdi]
	test	ebx, ebx
	jne	.L8
.L2:
	mov	rdi, rbp
	call	JOURNAL_HDR_SZ@PLT
	xor	edi, edi
	mov	r8d, eax
	mov	eax, r12d
	cdq
	idiv	r8d
	test	edx, edx
	sete	dil
	call	assert@PLT
	xor	edi, edi
	cmp	r12d, ebx
	setge	dil
	call	assert@PLT
	mov	eax, r12d
	mov	rdi, rbp
	sub	eax, ebx
	mov	ebx, eax
	call	JOURNAL_HDR_SZ@PLT
	xor	edi, edi
	cmp	ebx, eax
	setl	dil
	call	assert@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	JOURNAL_HDR_SZ@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	JOURNAL_HDR_SZ@PLT
	mov	r8d, eax
	lea	eax, -1[rbx]
	cdq
	idiv	r13d
	lea	r12d, 1[rax]
	imul	r12d, r8d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	journalHdrOffset, .-journalHdrOffset
	.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_journalHdrOffset.c"
	.text
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	journalHdrOffset, %function
journalHdrOffset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	mov	r5, r0
	cmp	r4, #0
	moveq	r6, r4
	bne	.L6
.L2:
	mov	r0, r5
	bl	JOURNAL_HDR_SZ
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_idivmod
	clz	r0, r1
	lsr	r0, r0, #5
	bl	assert
	cmp	r6, r4
	movlt	r0, #0
	movge	r0, #1
	bl	assert
	mov	r0, r5
	bl	JOURNAL_HDR_SZ
	sub	r4, r6, r4
	cmp	r4, r0
	movge	r0, #0
	movlt	r0, #1
	bl	assert
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	JOURNAL_HDR_SZ
	mov	r7, r0
	mov	r0, r5
	bl	JOURNAL_HDR_SZ
	mov	r6, r0
	mov	r1, r7
	sub	r0, r4, #1
	bl	__aeabi_idiv
	mov	r7, r6
	add	r6, r0, #1
	mul	r6, r7, r6
	b	.L2
	.size	journalHdrOffset, .-journalHdrOffset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
