	.file	"extr_fts5_storage.c_sqlite3Fts5StorageDocsize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3Fts5StorageDocsize
	.type	sqlite3Fts5StorageDocsize, @function
sqlite3Fts5StorageDocsize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR 4[rax]
	mov	r14d, DWORD PTR [rax]
	mov	QWORD PTR [rsp], 0
	call	assert@PLT
	mov	esi, DWORD PTR FTS5_STMT_LOOKUP_DOCSIZE[rip]
	xor	ecx, ecx
	mov	rdx, rsp
	mov	rdi, rbp
	call	fts5StorageGetStmt@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	je	.L9
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.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	rdi, QWORD PTR [rsp]
	mov	edx, r12d
	mov	esi, 1
	call	sqlite3_bind_int64@PLT
	mov	rdi, QWORD PTR [rsp]
	call	sqlite3_step@PLT
	cmp	rax, QWORD PTR SQLITE_ROW[rip]
	je	.L3
	mov	rdi, QWORD PTR [rsp]
	call	sqlite3_reset@PLT
.L4:
	cmp	DWORD PTR SQLITE_OK[rip], eax
	jne	.L1
	mov	eax, DWORD PTR FTS5_CORRUPT[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR [rsp]
	xor	esi, esi
	call	sqlite3_column_blob@PLT
	mov	rdi, QWORD PTR [rsp]
	xor	esi, esi
	mov	r12, rax
	call	sqlite3_column_bytes@PLT
	mov	rdi, r13
	mov	rdx, r12
	mov	esi, r14d
	mov	ecx, eax
	call	fts5StorageDecodeSizeArray@PLT
	mov	rdi, QWORD PTR [rsp]
	test	rax, rax
	jne	.L5
	call	sqlite3_reset@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	call	sqlite3_reset@PLT
	jmp	.L4
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sqlite3Fts5StorageDocsize, .-sqlite3Fts5StorageDocsize
	.comm	SQLITE_ROW,8,8
	.comm	SQLITE_OK,4,4
	.comm	FTS5_STMT_LOOKUP_DOCSIZE,4,4
	.comm	FTS5_CORRUPT,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_fts5_storage.c_sqlite3Fts5StorageDocsize.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sqlite3Fts5StorageDocsize
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3Fts5StorageDocsize, %function
sqlite3Fts5StorageDocsize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, #0
	mov	r4, r0
	ldr	r3, [r0]
	mov	r7, r2
	ldr	r2, .L11
	sub	sp, sp, #8
	ldr	r0, [r3, #4]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r8, [r3]
	mov	r5, r1
	str	r6, [sp]
	bl	assert
	ldr	r2, .L11+4
	mov	r0, r4
	mov	r3, r6
	ldr	r1, [r2]
	mov	r2, sp
	bl	fts5StorageGetStmt
	ldr	r4, .L11+8
	ldr	r3, [r4]
	cmp	r3, r0
	beq	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r5
	mov	r1, #1
	ldr	r0, [sp]
	bl	sqlite3_bind_int64
	ldr	r0, [sp]
	bl	sqlite3_step
	ldr	r3, .L11+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	ldr	r0, [sp]
	bl	sqlite3_reset
.L4:
	ldr	r3, [r4]
	cmp	r3, r0
	ldreq	r3, .L11+16
	ldreq	r0, [r3]
	b	.L1
.L3:
	mov	r1, r6
	ldr	r0, [sp]
	bl	sqlite3_column_blob
	mov	r1, r6
	mov	r5, r0
	ldr	r0, [sp]
	bl	sqlite3_column_bytes
	mov	r2, r5
	mov	r3, r0
	mov	r1, r8
	mov	r0, r7
	bl	fts5StorageDecodeSizeArray
	cmp	r0, #0
	ldr	r0, [sp]
	bne	.L5
	bl	sqlite3_reset
	b	.L1
.L5:
	bl	sqlite3_reset
	b	.L4
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	FTS5_STMT_LOOKUP_DOCSIZE
	.word	SQLITE_OK
	.word	SQLITE_ROW
	.word	FTS5_CORRUPT
	.size	sqlite3Fts5StorageDocsize, .-sqlite3Fts5StorageDocsize
	.comm	SQLITE_ROW,4,4
	.comm	SQLITE_OK,4,4
	.comm	FTS5_STMT_LOOKUP_DOCSIZE,4,4
	.comm	FTS5_CORRUPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
