	.file	"extr_fts5_index.c_fts5DataWrite.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"REPLACE INTO '%q'.'%q_data'(id, block) VALUES(?,?)"
	.text
	.p2align 4
	.type	fts5DataWrite, @function
fts5DataWrite:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR SQLITE_OK[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L11
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	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, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 8[rdi]
	test	rdi, rdi
	jne	.L4
	mov	rax, QWORD PTR 16[rbx]
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	call	sqlite3_mprintf@PLT
	lea	rsi, 8[rbx]
	mov	rdi, rbx
	mov	edx, eax
	call	fts5IndexPrepareStmt@PLT
	cmp	QWORD PTR [rbx], 0
	jne	.L1
	mov	rdi, QWORD PTR 8[rbx]
.L4:
	mov	edx, r14d
	mov	esi, 1
	call	sqlite3_bind_int64@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	ecx, r12d
	mov	rdx, r13
	mov	r8d, DWORD PTR SQLITE_STATIC[rip]
	mov	esi, 2
	call	sqlite3_bind_blob@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	sqlite3_step@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	sqlite3_reset@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, 2
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	sqlite3_bind_null@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	fts5DataWrite, .-fts5DataWrite
	.comm	SQLITE_STATIC,4,4
	.comm	SQLITE_OK,8,8
	.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_index.c_fts5DataWrite.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"REPLACE INTO '%q'.'%q_data'(id, block) VALUES(?,?)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fts5DataWrite, %function
fts5DataWrite:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r0, .L8
	ldr	ip, [r4]
	ldr	r0, [r0]
	sub	sp, sp, #12
	cmp	ip, r0
	bne	.L1
	ldr	r0, [r4, #4]
	mov	r7, r1
	cmp	r0, #0
	mov	r6, r2
	mov	r5, r3
	bne	.L4
	ldr	r3, [r4, #8]
	ldr	r0, .L8+4
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	bl	sqlite3_mprintf
	add	r1, r4, #4
	mov	r2, r0
	mov	r0, r4
	bl	fts5IndexPrepareStmt
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L1
	ldr	r0, [r4, #4]
.L4:
	mov	r2, r7
	mov	r1, #1
	bl	sqlite3_bind_int64
	ldr	r2, .L8+8
	mov	r3, r5
	ldr	r1, [r2]
	mov	r2, r6
	str	r1, [sp]
	ldr	r0, [r4, #4]
	mov	r1, #2
	bl	sqlite3_bind_blob
	ldr	r0, [r4, #4]
	bl	sqlite3_step
	ldr	r0, [r4, #4]
	bl	sqlite3_reset
	mov	r1, #2
	str	r0, [r4]
	ldr	r0, [r4, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	sqlite3_bind_null
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	.align	2
.L8:
	.word	SQLITE_OK
	.word	.LC0
	.word	SQLITE_STATIC
	.size	fts5DataWrite, .-fts5DataWrite
	.comm	SQLITE_STATIC,4,4
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
