	.file	"extr_fts2.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
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	edi, 1
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	r9d, DWORD PTR [rdx]
	mov	DWORD PTR 20[rsp], esi
	mov	QWORD PTR 24[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	test	r9d, r9d
	je	.L2
	xor	edi, edi
	mov	rax, QWORD PTR DL_DOCIDS[rip]
	cmp	QWORD PTR DL_DEFAULT[rip], rax
	setne	dil
.L2:
	call	assert@PLT
	mov	rdi, QWORD PTR [r14]
	lea	r15, 32[rsp]
	shr	rdi, 63
	call	assert@PLT
	xor	esi, esi
	mov	rdi, r15
	call	dataBufferInit@PLT
	mov	r8d, DWORD PTR [r12]
	mov	r9, QWORD PTR DL_DOCIDS[rip]
	test	r8d, r8d
	jle	.L4
	mov	r9, QWORD PTR DL_POSITIONS[rip]
.L4:
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	mov	r8d, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR 8[r12]
	mov	rdi, r14
	push	r15
	.cfi_def_cfa_offset 176
	mov	edx, DWORD PTR 12[r12]
	mov	esi, DWORD PTR 36[rsp]
	call	termSelect@PLT
	pop	rsi
	.cfi_def_cfa_offset 168
	pop	rdi
	.cfi_def_cfa_offset 160
	mov	r8d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR [r12]
	test	ecx, ecx
	jle	.L6
	lea	rbx, 20[r12]
	mov	ebp, 1
	lea	r13, 48[rsp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	xor	esi, esi
	mov	rdi, r13
	call	dataBufferInit@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	mov	edx, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR 4[rbx]
	mov	r8d, DWORD PTR [rbx]
	mov	r9, QWORD PTR DL_POSITIONS[rip]
	push	r13
	.cfi_def_cfa_offset 176
	mov	rdi, r14
	mov	esi, DWORD PTR 36[rsp]
	call	termSelect@PLT
	mov	r8d, eax
	pop	rax
	.cfi_def_cfa_offset 168
	pop	rdx
	.cfi_def_cfa_offset 160
	test	r8d, r8d
	jne	.L17
	lea	r9, 64[rsp]
	xor	esi, esi
	mov	rdi, r9
	mov	QWORD PTR 8[rsp], r9
	call	dataBufferInit@PLT
	cmp	DWORD PTR [r12], ebp
	mov	r9, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR DL_DOCIDS[rip]
	jle	.L10
	mov	r8, QWORD PTR DL_POSITIONS[rip]
.L10:
	mov	rcx, QWORD PTR 48[rsp]
	mov	edx, DWORD PTR 56[rsp]
	add	ebp, 1
	add	rbx, 16
	mov	rsi, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR 40[rsp]
	call	docListPhraseMerge@PLT
	mov	rdi, r15
	call	dataBufferDestroy@PLT
	mov	rdi, r13
	call	dataBufferDestroy@PLT
	movdqa	xmm0, XMMWORD PTR 64[rsp]
	movaps	XMMWORD PTR 32[rsp], xmm0
	cmp	DWORD PTR [r12], ebp
	jl	.L6
.L7:
	cmp	QWORD PTR 32[rsp], 0
	jg	.L11
.L6:
	mov	rax, QWORD PTR 24[rsp]
	movdqa	xmm1, XMMWORD PTR 32[rsp]
	mov	r8d, DWORD PTR SQLITE_OK[rip]
	movups	XMMWORD PTR [rax], xmm1
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L17:
	.cfi_restore_state
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], r8d
	call	dataBufferDestroy@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	docListOfTerm, .-docListOfTerm
	.comm	SQLITE_OK,4,4
	.comm	DL_POSITIONS,8,8
	.comm	DL_DOCIDS,8,8
	.comm	DL_DEFAULT,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_fts2.c_docListOfTerm.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	docListOfTerm, %function
docListOfTerm:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r2
	sub	sp, sp, #60
	ldr	r2, [r2]
	str	r3, [sp, #20]
	ldr	r3, .L18
	cmp	r2, #0
	mov	r9, r0
	mov	r10, r1
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	moveq	r0, #1
	beq	.L2
	ldr	r2, .L18+4
	ldr	r3, .L18+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	subs	r0, r0, r3
	movne	r0, #1
.L2:
	bl	assert
	ldr	r0, [r9]
	add	r7, sp, #28
	lsr	r0, r0, #31
	bl	assert
	mov	r1, #0
	mov	r0, r7
	bl	dataBufferInit
	ldr	r3, [r8]
	ldr	r2, [r8, #12]
	cmp	r3, #0
	ldrgt	r0, .L18+12
	ldrle	r0, .L18+8
	ldmib	r8, {r1, r3}
	ldr	r0, [r0]
	str	r1, [sp]
	stmib	sp, {r0, r7}
	mov	r1, r10
	mov	r0, r9
	bl	termSelect
	subs	r3, r0, #0
	bne	.L1
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L6
	mov	r4, r8
	mov	r6, #1
	ldr	fp, .L18+12
	b	.L7
.L11:
	mov	r1, #0
	add	r0, sp, #36
	bl	dataBufferInit
	ldr	r1, [fp]
	ldr	r3, [r4, #24]
	ldr	r2, [r4, #28]
	str	r1, [sp, #4]
	add	r1, sp, #36
	str	r1, [sp, #8]
	ldr	r1, [r4, #20]
	mov	r0, r9
	str	r1, [sp]
	mov	r1, r10
	bl	termSelect
	subs	r1, r0, #0
	bne	.L16
	add	r5, sp, #44
	mov	r0, r5
	bl	dataBufferInit
	ldr	r3, [r8]
	ldr	r1, [sp, #28]
	cmp	r3, r6
	ldrle	ip, .L18+8
	ldrgt	ip, [fp]
	ldrle	ip, [ip]
	ldr	r3, [sp, #36]
	ldr	r2, [sp, #40]
	str	ip, [sp]
	ldr	r0, [sp, #32]
	str	r5, [sp, #4]
	bl	docListPhraseMerge
	mov	r0, r7
	bl	dataBufferDestroy
	add	r0, sp, #36
	bl	dataBufferDestroy
	ldm	r5, {r0, r1}
	ldr	r3, [r8]
	add	r6, r6, #1
	cmp	r3, r6
	stm	r7, {r0, r1}
	add	r4, r4, #16
	blt	.L6
.L7:
	ldr	r3, [sp, #28]
	cmp	r3, #0
	bgt	.L11
.L6:
	ldr	r3, .L18+16
	ldr	r2, [sp, #20]
	ldr	r3, [r3]
	ldm	r7, {r0, r1}
	stm	r2, {r0, r1}
.L1:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [sp, #52]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L17
	mov	r0, r3
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r0, r7
	str	r1, [sp, #20]
	bl	dataBufferDestroy
	ldr	r3, [sp, #20]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	DL_DEFAULT
	.word	DL_DOCIDS
	.word	DL_POSITIONS
	.word	SQLITE_OK
	.size	docListOfTerm, .-docListOfTerm
	.comm	SQLITE_OK,4,4
	.comm	DL_POSITIONS,4,4
	.comm	DL_DOCIDS,4,4
	.comm	DL_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
