	.file	"extr_fts5_main.c_fts5FreeCursorComponents.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fts5FreeCursorComponents, @function
fts5FreeCursorComponents:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 88[rdi]
	mov	rdi, QWORD PTR 80[rdi]
	call	sqlite3_free@PLT
	mov	rdi, QWORD PTR 72[r12]
	call	sqlite3_free@PLT
	cmp	QWORD PTR 64[r12], 0
	jne	.L24
.L2:
	mov	rbp, QWORD PTR 56[r12]
	test	rbp, rbp
	je	.L3
	mov	edi, DWORD PTR 24[rbp]
	call	sqlite3_finalize@PLT
	mov	rdi, rbp
	call	sqlite3_free@PLT
.L3:
	mov	rax, QWORD PTR FTS5_PLAN_SOURCE[rip]
	cmp	QWORD PTR [r12], rax
	je	.L4
	mov	edi, DWORD PTR 48[r12]
	call	sqlite3Fts5ExprFree@PLT
.L4:
	mov	rbx, QWORD PTR 40[r12]
	test	rbx, rbx
	je	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rbp, rbx
	mov	rbx, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR 0[rbp]
	call	rax
.L6:
	mov	rdi, rbp
	call	sqlite3_free@PLT
	test	rbx, rbx
	jne	.L7
.L5:
	mov	edi, DWORD PTR 32[r12]
	call	sqlite3_finalize@PLT
	mov	rdi, QWORD PTR 24[r12]
	call	sqlite3_free@PLT
	mov	esi, DWORD PTR FTS5CSR_FREE_ZRANK[rip]
	mov	rdi, r12
	call	CsrFlagTest@PLT
	test	rax, rax
	jne	.L25
.L8:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edx, 96
	xor	esi, esi
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	memset@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rdi, r12
	call	fts5StmtType@PLT
	mov	rdx, QWORD PTR 64[r12]
	mov	edi, DWORD PTR [rbx]
	mov	esi, eax
	call	sqlite3Fts5StorageStmtRelease@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, QWORD PTR 16[r12]
	call	sqlite3_free@PLT
	mov	rdi, QWORD PTR 8[r12]
	call	sqlite3_free@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	fts5FreeCursorComponents, .-fts5FreeCursorComponents
	.comm	FTS5_PLAN_SOURCE,8,8
	.comm	FTS5CSR_FREE_ZRANK,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_main.c_fts5FreeCursorComponents.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fts5FreeCursorComponents, %function
fts5FreeCursorComponents:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r0, [r0, #40]
	ldr	r4, [r6, #44]
	bl	sqlite3_free
	ldr	r0, [r6, #36]
	bl	sqlite3_free
	ldr	r3, [r6, #32]
	cmp	r3, #0
	bne	.L27
.L2:
	ldr	r4, [r6, #28]
	cmp	r4, #0
	beq	.L3
	ldr	r0, [r4, #12]
	bl	sqlite3_finalize
	mov	r0, r4
	bl	sqlite3_free
.L3:
	ldr	r3, .L29
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	ldr	r0, [r6, #24]
	bl	sqlite3Fts5ExprFree
.L4:
	ldr	r4, [r6, #20]
	cmp	r4, #0
	beq	.L5
.L7:
	ldr	r3, [r4, #4]
	mov	r5, r4
	cmp	r3, #0
	ldr	r4, [r4, #8]
	beq	.L6
	ldr	r0, [r5]
	blx	r3
.L6:
	mov	r0, r5
	bl	sqlite3_free
	cmp	r4, #0
	bne	.L7
.L5:
	ldr	r0, [r6, #16]
	bl	sqlite3_finalize
	ldr	r0, [r6, #12]
	bl	sqlite3_free
	ldr	r3, .L29+4
	mov	r0, r6
	ldr	r1, [r3]
	bl	CsrFlagTest
	cmp	r0, #0
	bne	.L28
.L8:
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	mov	r2, #48
	mov	r1, #0
	b	memset
.L27:
	mov	r0, r6
	bl	fts5StmtType
	ldr	r2, [r6, #32]
	mov	r1, r0
	ldr	r0, [r4]
	bl	sqlite3Fts5StorageStmtRelease
	b	.L2
.L28:
	ldr	r0, [r6, #8]
	bl	sqlite3_free
	ldr	r0, [r6, #4]
	bl	sqlite3_free
	b	.L8
.L30:
	.align	2
.L29:
	.word	FTS5_PLAN_SOURCE
	.word	FTS5CSR_FREE_ZRANK
	.size	fts5FreeCursorComponents, .-fts5FreeCursorComponents
	.comm	FTS5_PLAN_SOURCE,4,4
	.comm	FTS5CSR_FREE_ZRANK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
