	.file	"extr_sqlite3.c_fcntlSizeHint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.type	fcntlSizeHint, @function
fcntlSizeHint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jg	.L14
.L2:
	mov	eax, DWORD PTR SQLITE_OK[rip]
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L14:
	.cfi_restore_state
	mov	rbp, rdi
	mov	edi, DWORD PTR 24[rdi]
	mov	ebx, esi
	mov	rsi, rsp
	call	osFstat@PLT
	test	rax, rax
	jne	.L16
	mov	ecx, DWORD PTR 0[rbp]
	lea	eax, -1[rcx+rbx]
	cdq
	idiv	ecx
	imul	eax, ecx
	mov	ecx, DWORD PTR [rsp]
	mov	r12d, eax
	cmp	ecx, eax
	jge	.L2
	mov	r13d, DWORD PTR 4[rsp]
	mov	eax, ecx
	xor	edi, edi
	cdq
	idiv	r13d
	imul	eax, r13d
	lea	r15d, [rax+r13]
	mov	r14d, eax
	lea	ebx, -1[r15]
	cmp	ecx, ebx
	setle	dil
	call	assert@PLT
	mov	eax, r15d
	xor	edi, edi
	lea	r15d, -1[r12+r13]
	cdq
	idiv	r13d
	test	edx, edx
	sete	dil
	call	assert@PLT
	cmp	r14d, r12d
	jge	.L2
	lea	r14d, -1[r12]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	add	ebx, r13d
	cmp	ebx, r15d
	jge	.L2
.L8:
	cmp	r12d, ebx
	mov	ecx, 1
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	cmovle	ebx, r14d
	mov	esi, ebx
	call	seekAndWrite@PLT
	cmp	eax, 1
	je	.L7
	mov	eax, DWORD PTR SQLITE_IOERR_WRITE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR SQLITE_IOERR_FSTAT[rip]
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fcntlSizeHint, .-fcntlSizeHint
	.comm	errno,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_IOERR_WRITE,4,4
	.comm	SQLITE_IOERR_TRUNCATE,4,4
	.comm	SQLITE_IOERR_FSTAT,4,4
	.comm	EINVAL,4,4
	.comm	EINTR,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_fcntlSizeHint.c"
	.text
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fcntlSizeHint, %function
fcntlSizeHint:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r0]
	sub	sp, sp, #16
	cmp	r3, #0
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bgt	.L14
.L2:
	ldr	r3, .L17+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r0, #16]
	add	r1, sp, #4
	bl	osFstat
	cmp	r0, #0
	bne	.L16
	ldr	r6, [r4]
	add	r0, r6, r5
	mov	r1, r6
	sub	r0, r0, #1
	bl	__aeabi_idiv
	mul	r6, r0, r6
	ldr	r8, [sp, #4]
	cmp	r8, r6
	bge	.L2
	ldr	r7, [sp, #8]
	mov	r0, r8
	mov	r1, r7
	bl	__aeabi_idiv
	mul	r9, r7, r0
	add	r10, r9, r7
	sub	r5, r10, #1
	cmp	r8, r5
	movgt	r0, #0
	movle	r0, #1
	bl	assert
	mov	r1, r7
	mov	r0, r10
	bl	__aeabi_idivmod
	clz	r0, r1
	lsr	r0, r0, #5
	bl	assert
	add	r8, r6, r7
	cmp	r9, r6
	sub	r8, r8, #1
	bge	.L2
	ldr	r9, .L17+8
	b	.L8
.L7:
	add	r5, r5, r7
	cmp	r5, r8
	bge	.L2
.L8:
	cmp	r6, r5
	suble	r5, r6, #1
	mov	r3, #1
	mov	r2, r9
	mov	r1, r5
	mov	r0, r4
	bl	seekAndWrite
	cmp	r0, #1
	beq	.L7
	ldr	r3, .L17+12
	ldr	r0, [r3]
	b	.L1
.L16:
	ldr	r3, .L17+16
	ldr	r0, [r3]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	SQLITE_OK
	.word	.LC0
	.word	SQLITE_IOERR_WRITE
	.word	SQLITE_IOERR_FSTAT
	.size	fcntlSizeHint, .-fcntlSizeHint
	.comm	errno,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_IOERR_WRITE,4,4
	.comm	SQLITE_IOERR_TRUNCATE,4,4
	.comm	SQLITE_IOERR_FSTAT,4,4
	.comm	EINVAL,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
