	.file	"extr_fts3_porter.c_porterNext.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	porterNext, @function
porterNext:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	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
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR [rsp], rcx
	mov	QWORD PTR 8[rsp], r8
	mov	QWORD PTR 16[rsp], r9
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	QWORD PTR 16[r13], rax
	ja	.L11
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r13]
	add	rax, 1
	mov	QWORD PTR 8[r13], rax
	cmp	rax, QWORD PTR 16[r13]
	jnb	.L3
.L11:
	movsx	edi, BYTE PTR [rbx+rax]
	call	isDelim@PLT
	test	rax, rax
	jne	.L4
	mov	rbp, QWORD PTR 8[r13]
	mov	r12d, ebp
	mov	rax, rbp
	cmp	rbp, QWORD PTR 16[r13]
	jb	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	add	rax, 1
	mov	QWORD PTR 8[r13], rax
	cmp	rax, QWORD PTR 16[r13]
	jnb	.L6
.L5:
	movsx	edi, BYTE PTR [rbx+rax]
	call	isDelim@PLT
	test	rax, rax
	mov	rax, QWORD PTR 8[r13]
	je	.L7
.L6:
	movsx	rdx, r12d
	cmp	rdx, rax
	jnb	.L2
.L18:
	sub	eax, ebp
	mov	r8, QWORD PTR 32[r13]
	mov	ebp, eax
	cmp	DWORD PTR 24[r13], eax
	jge	.L8
	lea	esi, 20[rax]
	mov	rdi, r8
	mov	QWORD PTR 24[rsp], rdx
	mov	DWORD PTR 24[r13], esi
	call	sqlite3_realloc@PLT
	mov	rdx, QWORD PTR 24[rsp]
	mov	r8, rax
	mov	eax, DWORD PTR SQLITE_NOMEM[rip]
	test	r8, r8
	je	.L1
	mov	QWORD PTR 32[r13], r8
.L8:
	lea	rdi, [rbx+rdx]
	mov	rcx, r15
	mov	rdx, r8
	mov	esi, ebp
	call	porter_stemmer@PLT
	mov	rax, QWORD PTR 32[r13]
	mov	rcx, QWORD PTR 8[rsp]
	mov	QWORD PTR [r14], rax
	mov	rax, QWORD PTR [rsp]
	mov	DWORD PTR [rax], r12d
	mov	rax, QWORD PTR 8[r13]
	mov	DWORD PTR [rcx], eax
	mov	eax, DWORD PTR 40[r13]
	mov	rcx, QWORD PTR 16[rsp]
	lea	edx, 1[rax]
	mov	DWORD PTR 40[r13], edx
	mov	DWORD PTR [rcx], eax
	mov	eax, DWORD PTR SQLITE_OK[rip]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L17:
	.cfi_restore_state
	mov	eax, DWORD PTR SQLITE_DONE[rip]
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L3:
	.cfi_restore_state
	mov	r12d, eax
	mov	rbp, rax
	movsx	rdx, r12d
	cmp	rdx, rax
	jnb	.L2
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	porterNext, .-porterNext
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM,4,4
	.comm	SQLITE_DONE,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_fts3_porter.c_porterNext.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	porterNext, %function
porterNext:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldm	r0, {r5, ip}
	mov	r4, r0
	mov	r7, r1
	mov	r8, r2
	mov	r6, r3
	ldr	r3, [r0, #8]
.L2:
	cmp	ip, r3
	bcc	.L12
	b	.L16
.L4:
	ldr	ip, [r4, #4]
	ldr	r3, [r4, #8]
	add	ip, ip, #1
	cmp	ip, r3
	str	ip, [r4, #4]
	bcs	.L16
.L12:
	ldrb	r0, [r5, ip]	@ zero_extendqisi2
	bl	isDelim
	cmp	r0, #0
	bne	.L4
	ldr	r9, [r4, #4]
	ldr	r3, [r4, #8]
	mov	ip, r9
	cmp	r9, r3
	bcc	.L5
	b	.L2
.L7:
	ldr	r3, [r4, #8]
	add	ip, ip, #1
	cmp	ip, r3
	str	ip, [r4, #4]
	bcs	.L6
.L5:
	ldrb	r0, [r5, ip]	@ zero_extendqisi2
	bl	isDelim
	cmp	r0, #0
	ldr	ip, [r4, #4]
	beq	.L7
.L6:
	cmp	r9, ip
	bcc	.L19
	ldr	r3, [r4, #8]
	b	.L2
.L16:
	ldr	r3, .L21
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	ldr	r3, [r4, #12]
	sub	r10, ip, r9
	cmp	r3, r10
	ldr	r2, [r4, #16]
	bge	.L9
	add	r1, r10, #20
	mov	r0, r2
	str	r1, [r4, #12]
	bl	sqlite3_realloc
	subs	r2, r0, #0
	strne	r2, [r4, #16]
	beq	.L20
.L9:
	mov	r3, r8
	mov	r1, r10
	add	r0, r5, r9
	bl	porter_stemmer
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #4]
	str	r2, [r7]
	ldr	r2, [sp, #32]
	str	r9, [r6]
	str	r3, [r2]
	ldr	r3, [r4, #20]
	ldr	r2, .L21+4
	add	r1, r3, #1
	str	r1, [r4, #20]
	ldr	r1, [sp, #36]
	str	r3, [r1]
	ldr	r0, [r2]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	ldr	r3, .L21+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	.align	2
.L21:
	.word	SQLITE_DONE
	.word	SQLITE_OK
	.word	SQLITE_NOMEM
	.size	porterNext, .-porterNext
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM,4,4
	.comm	SQLITE_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
