	.file	"extr_fts1.c_docListOfTerm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	docListOfTerm, @function
docListOfTerm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	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
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 16[rsp], rdi
	mov	edi, DWORD PTR DL_POSITIONS[rip]
	mov	QWORD PTR 24[rsp], rcx
	call	docListNew@PLT
	mov	ecx, DWORD PTR 4[r13]
	mov	edx, DWORD PTR 8[r13]
	mov	esi, r15d
	mov	r8, rax
	mov	rdi, rbx
	mov	r12, rax
	call	term_select_all@PLT
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR 0[r13]
	lea	rbx, 16[r13]
	mov	ebp, 1
	mov	rdx, r12
	test	eax, eax
	jg	.L9
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR DL_DOCIDS[rip]
	cmp	DWORD PTR 0[r13], ebp
	jle	.L8
	mov	edi, DWORD PTR DL_POSITIONS[rip]
.L8:
	call	docListNew@PLT
	mov	rsi, r14
	mov	rdi, r12
	add	ebp, 1
	mov	rdx, rax
	mov	QWORD PTR 8[rsp], rax
	add	rbx, 12
	call	docListPhraseMerge@PLT
	mov	rdi, r12
	call	docListDelete@PLT
	mov	rdi, r14
	call	docListDelete@PLT
	cmp	DWORD PTR 0[r13], ebp
	mov	rdx, QWORD PTR 8[rsp]
	jl	.L4
	mov	r12, rdx
.L9:
	mov	edi, DWORD PTR DL_POSITIONS[rip]
	call	docListNew@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR [rbx]
	mov	esi, r15d
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8, rax
	mov	r14, rax
	call	term_select_all@PLT
	test	eax, eax
	je	.L6
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], eax
	call	docListDelete@PLT
	mov	r9d, DWORD PTR 8[rsp]
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r9d
	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
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rsp]
	mov	r9d, DWORD PTR SQLITE_OK[rip]
	mov	QWORD PTR [rax], rdx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], eax
	call	docListDelete@PLT
	mov	r9d, DWORD PTR 8[rsp]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	docListOfTerm, .-docListOfTerm
	.comm	SQLITE_OK,4,4
	.comm	DL_POSITIONS,4,4
	.comm	DL_DOCIDS,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_fts1.c_docListOfTerm.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	docListOfTerm, %function
docListOfTerm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L14
	sub	sp, sp, #20
	mov	r10, r0
	ldr	r0, [r9]
	mov	r8, r2
	mov	fp, r1
	str	r3, [sp, #12]
	bl	docListNew
	ldr	r3, [r8, #4]
	str	r0, [sp]
	mov	r7, r0
	mov	r1, fp
	mov	r0, r10
	ldr	r2, [r8, #8]
	bl	term_select_all
	subs	r3, r0, #0
	bne	.L12
	ldr	r3, [r8]
	cmp	r3, #0
	movle	r2, r7
	ble	.L4
	mov	r5, r8
	mov	r6, #1
	b	.L9
.L6:
	ldr	r3, [r8]
	add	r5, r5, #12
	cmp	r3, r6
	ldrle	r3, .L14+4
	ldrgt	r0, [r9]
	ldrle	r0, [r3]
	bl	docListNew
	mov	r1, r4
	mov	r2, r0
	str	r0, [sp, #8]
	mov	r0, r7
	bl	docListPhraseMerge
	mov	r0, r7
	bl	docListDelete
	mov	r0, r4
	bl	docListDelete
	ldr	r3, [r8]
	add	r6, r6, #1
	cmp	r3, r6
	ldr	r2, [sp, #8]
	blt	.L4
	mov	r7, r2
.L9:
	ldr	r0, [r9]
	bl	docListNew
	ldr	r3, [r5, #16]
	ldr	r2, [r5, #20]
	mov	r4, r0
	str	r0, [sp]
	mov	r1, fp
	mov	r0, r10
	bl	term_select_all
	cmp	r0, #0
	beq	.L6
	mov	r3, r0
.L12:
	mov	r0, r7
	str	r3, [sp, #8]
	bl	docListDelete
	ldr	r3, [sp, #8]
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r3, .L14+8
	ldr	r1, [sp, #12]
	ldr	r3, [r3]
	str	r2, [r1]
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	DL_POSITIONS
	.word	DL_DOCIDS
	.word	SQLITE_OK
	.size	docListOfTerm, .-docListOfTerm
	.comm	SQLITE_OK,4,4
	.comm	DL_POSITIONS,4,4
	.comm	DL_DOCIDS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
