	.file	"extr_fts5_expr.c_sqlite3Fts5ExprNext.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3Fts5ExprNext
	.type	sqlite3Fts5ExprNext, @function
sqlite3Fts5ExprNext:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	xor	edi, edi
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jne	.L2
	xor	edi, edi
	cmp	QWORD PTR 8[rbx], 0
	sete	dil
.L2:
	call	assert@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, rbp
	mov	rsi, rbx
	call	fts5ExprNodeNext@PLT
	cmp	QWORD PTR 8[rbx], 0
	mov	edi, 1
	mov	r12d, eax
	je	.L3
	xor	edi, edi
	cmp	DWORD PTR SQLITE_OK[rip], eax
	jne	.L3
	mov	eax, DWORD PTR [rbx]
	xor	edi, edi
	test	eax, eax
	sete	dil
	.p2align 4,,10
	.p2align 3
.L3:
	call	assert@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L4
	mov	esi, DWORD PTR 16[rbx]
	mov	edx, r13d
	mov	rdi, rbp
	call	fts5RowidCmp@PLT
	test	rax, rax
	jle	.L1
	mov	DWORD PTR [rbx], 1
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sqlite3Fts5ExprNext, .-sqlite3Fts5ExprNext
	.comm	SQLITE_OK,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_expr.c_sqlite3Fts5ExprNext.c"
	.text
	.align	2
	.global	sqlite3Fts5ExprNext
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3Fts5ExprNext, %function
sqlite3Fts5ExprNext:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	mov	r6, r0
	ldr	r3, [r4]
	mov	r8, r1
	cmp	r3, #0
	ldreq	r0, [r4, #4]
	movne	r0, #0
	clzeq	r0, r0
	lsreq	r0, r0, #5
	bl	assert
	ldr	r7, .L12
.L4:
	mov	r3, #0
	mov	r1, r4
	mov	r2, r3
	mov	r0, r6
	bl	fts5ExprNodeNext
	ldr	r3, [r4, #4]
	mov	r5, r0
	cmp	r3, #0
	moveq	r0, #1
	beq	.L3
	ldr	r3, [r7]
	cmp	r3, r5
	ldreq	r3, [r4]
	movne	r0, #0
	clzeq	r0, r3
	lsreq	r0, r0, #5
.L3:
	bl	assert
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L4
	mov	r2, r8
	mov	r0, r6
	ldr	r1, [r4, #8]
	bl	fts5RowidCmp
	cmp	r0, #0
	movgt	r3, #1
	mov	r0, r5
	strgt	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	SQLITE_OK
	.size	sqlite3Fts5ExprNext, .-sqlite3Fts5ExprNext
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
