	.file	"extr_sqlite3_omit.c_windowReturnOneRow.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	windowReturnOneRow, @function
windowReturnOneRow:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 16[rsp], rsi
	mov	DWORD PTR 40[rsp], edx
	mov	DWORD PTR 44[rsp], ecx
	call	sqlite3GetVdbe@PLT
	mov	rbp, rax
	test	rbx, rbx
	jne	.L16
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	rax, QWORD PTR leadName[rip]
	je	.L8
	cmp	rax, QWORD PTR lagName[rip]
	je	.L8
.L7:
	mov	rbx, QWORD PTR 40[rbx]
	test	rbx, rbx
	je	.L2
.L16:
	mov	r10, QWORD PTR 32[rbx]
	mov	rax, QWORD PTR [r10]
	cmp	rax, QWORD PTR nth_valueName[rip]
	je	.L3
	cmp	rax, QWORD PTR first_valueName[rip]
	jne	.L4
.L3:
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], r10
	mov	r13d, DWORD PTR [rbx]
	call	sqlite3VdbeMakeLabel@PLT
	mov	rdi, r15
	mov	r12d, eax
	call	sqlite3GetTempReg@PLT
	mov	ecx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR OP_Null[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	r14d, eax
	call	sqlite3VdbeAddOp2@PLT
	mov	r10, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR nth_valueName[rip]
	cmp	QWORD PTR [r10], rax
	je	.L24
	mov	esi, DWORD PTR OP_Integer[rip]
	mov	ecx, r14d
	mov	edx, 1
	mov	rdi, rbp
	call	sqlite3VdbeAddOp2@PLT
.L6:
	mov	ecx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR OP_Add[rip]
	mov	r8d, r14d
	mov	edx, r14d
	mov	rdi, rbp
	call	sqlite3VdbeAddOp3@PLT
	mov	eax, DWORD PTR 16[rbx]
	mov	r8d, r14d
	mov	ecx, r12d
	mov	esi, DWORD PTR OP_Gt[rip]
	mov	rdi, rbp
	lea	edx, 1[rax]
	call	sqlite3VdbeAddOp3@PLT
	mov	rdi, rbp
	call	VdbeCoverageNeverNull@PLT
	mov	esi, DWORD PTR OP_SeekRowid[rip]
	mov	r8d, r14d
	xor	ecx, ecx
	mov	edx, r13d
	mov	rdi, rbp
	call	sqlite3VdbeAddOp3@PLT
	mov	rdi, rbp
	call	VdbeCoverageNeverTaken@PLT
	mov	ecx, DWORD PTR 12[rbx]
	mov	r8d, DWORD PTR 4[rbx]
	mov	edx, r13d
	mov	esi, DWORD PTR OP_Column[rip]
	mov	rdi, rbp
	call	sqlite3VdbeAddOp3@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	sqlite3VdbeResolveLabel@PLT
	mov	esi, r14d
	mov	rdi, r15
	call	sqlite3ReleaseTempReg@PLT
	mov	rbx, QWORD PTR 40[rbx]
	test	rbx, rbx
	jne	.L16
.L2:
	mov	ecx, DWORD PTR 44[rsp]
	mov	edx, DWORD PTR 40[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR OP_Gosub[rip]
	add	rsp, 56
	.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
	jmp	sqlite3VdbeAddOp2@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbx]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r15
	mov	QWORD PTR 32[rsp], r10
	mov	rdx, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR 28[rsp], esi
	mov	r14d, DWORD PTR 8[rdx]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 8[rsp], eax
	call	sqlite3VdbeMakeLabel@PLT
	mov	rdi, r15
	mov	r13d, eax
	call	sqlite3GetTempReg@PLT
	cmp	DWORD PTR 8[rsp], 2
	mov	r10, QWORD PTR 32[rsp]
	mov	r12d, eax
	jg	.L9
	mov	ecx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR OP_Null[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	sqlite3VdbeAddOp2@PLT
	mov	ecx, r12d
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, DWORD PTR OP_Rowid[rip]
	call	sqlite3VdbeAddOp2@PLT
	cmp	DWORD PTR 8[rsp], 2
	mov	r10, QWORD PTR 32[rsp]
	je	.L11
	xor	ecx, ecx
	mov	rax, QWORD PTR leadName[rip]
	cmp	QWORD PTR [r10], rax
	mov	edx, r12d
	sete	cl
	mov	esi, DWORD PTR OP_AddImm[rip]
	mov	rdi, rbp
	lea	ecx, -1[rcx+rcx]
	call	sqlite3VdbeAddOp2@PLT
.L13:
	mov	r14d, DWORD PTR 28[rsp]
	mov	r8d, r12d
	mov	ecx, r13d
	mov	rdi, rbp
	mov	esi, DWORD PTR OP_SeekRowid[rip]
	mov	edx, r14d
	call	sqlite3VdbeAddOp3@PLT
	mov	rdi, rbp
	call	VdbeCoverage@PLT
	mov	ecx, DWORD PTR 12[rbx]
	mov	r8d, DWORD PTR 4[rbx]
	mov	edx, r14d
	mov	esi, DWORD PTR OP_Column[rip]
	mov	rdi, rbp
	call	sqlite3VdbeAddOp3@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	sqlite3VdbeResolveLabel@PLT
	mov	esi, r12d
	mov	rdi, r15
	call	sqlite3ReleaseTempReg@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L24:
	mov	eax, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR OP_Column[rip]
	mov	rdi, rbp
	mov	r8d, r14d
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 8[rax]
	call	sqlite3VdbeAddOp3@PLT
	mov	edx, 2
	mov	esi, r14d
	mov	rdi, r15
	call	windowCheckIntValue@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR 12[rbx]
	mov	r8d, DWORD PTR 4[rbx]
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, DWORD PTR OP_Column[rip]
	mov	QWORD PTR 8[rsp], r10
	lea	ecx, 2[rax]
	call	sqlite3VdbeAddOp3@PLT
	mov	ecx, r12d
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, DWORD PTR OP_Rowid[rip]
	call	sqlite3VdbeAddOp2@PLT
	mov	r10, QWORD PTR 8[rsp]
.L11:
	mov	r11d, DWORD PTR OP_Subtract[rip]
	mov	rax, QWORD PTR leadName[rip]
	cmp	QWORD PTR [r10], rax
	jne	.L15
	mov	r11d, DWORD PTR OP_Add[rip]
.L15:
	mov	rdi, r15
	mov	DWORD PTR 32[rsp], r11d
	call	sqlite3GetTempReg@PLT
	mov	esi, DWORD PTR OP_Column[rip]
	mov	edx, r14d
	mov	rdi, rbp
	mov	r10d, eax
	mov	eax, DWORD PTR 12[rbx]
	mov	r8d, r10d
	mov	DWORD PTR 8[rsp], r10d
	lea	ecx, 1[rax]
	call	sqlite3VdbeAddOp3@PLT
	mov	r10d, DWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	r8d, r12d
	mov	r11d, DWORD PTR 32[rsp]
	mov	ecx, r12d
	mov	edx, r10d
	mov	esi, r11d
	call	sqlite3VdbeAddOp3@PLT
	mov	r10d, DWORD PTR 8[rsp]
	mov	rdi, r15
	mov	esi, r10d
	call	sqlite3ReleaseTempReg@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	windowReturnOneRow, .-windowReturnOneRow
	.comm	nth_valueName,8,8
	.comm	leadName,8,8
	.comm	lagName,8,8
	.comm	first_valueName,8,8
	.comm	OP_Subtract,4,4
	.comm	OP_SeekRowid,4,4
	.comm	OP_Rowid,4,4
	.comm	OP_Null,4,4
	.comm	OP_Integer,4,4
	.comm	OP_Gt,4,4
	.comm	OP_Gosub,4,4
	.comm	OP_Column,4,4
	.comm	OP_AddImm,4,4
	.comm	OP_Add,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_sqlite3_omit.c_windowReturnOneRow.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	windowReturnOneRow, %function
windowReturnOneRow:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	sub	sp, sp, #36
	mov	r10, r0
	str	r1, [sp, #8]
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	bl	sqlite3GetVdbe
	cmp	r4, #0
	mov	fp, r0
	beq	.L2
	ldr	r9, .L26
	b	.L16
.L4:
	ldr	r7, .L26+4
	ldr	r2, [r7]
	cmp	r3, r2
	beq	.L8
	ldr	r2, .L26+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L8
	ldr	r4, [r4, #28]
	cmp	r4, #0
	beq	.L2
.L16:
	ldr	r5, [r4, #24]
	ldr	r2, [r9]
	ldr	r3, [r5]
	cmp	r3, r2
	beq	.L3
	ldr	r2, .L26+12
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L4
.L3:
	mov	r0, r10
	ldr	r8, [r4]
	bl	sqlite3VdbeMakeLabel
	mov	r7, r0
	mov	r0, r10
	bl	sqlite3GetTempReg
	ldr	r1, .L26+16
	mov	r2, #0
	ldr	r3, [r4, #4]
	mov	r6, r0
	ldr	r1, [r1]
	mov	r0, fp
	bl	sqlite3VdbeAddOp2
	ldr	r2, [r5]
	ldr	r3, [r9]
	cmp	r2, r3
	beq	.L25
	ldr	r1, .L26+20
	mov	r3, r6
	mov	r2, #1
	mov	r0, fp
	ldr	r1, [r1]
	bl	sqlite3VdbeAddOp2
.L6:
	ldr	r1, .L26+24
	ldr	r3, [r4, #16]
	str	r6, [sp]
	mov	r2, r6
	ldr	r1, [r1]
	mov	r0, fp
	bl	sqlite3VdbeAddOp3
	ldr	r2, [r4, #16]
	ldr	r1, .L26+28
	str	r6, [sp]
	mov	r3, r7
	ldr	r1, [r1]
	add	r2, r2, #1
	mov	r0, fp
	bl	sqlite3VdbeAddOp3
	mov	r0, fp
	bl	VdbeCoverageNeverNull
	ldr	r1, .L26+32
	str	r6, [sp]
	mov	r3, #0
	mov	r2, r8
	ldr	r1, [r1]
	mov	r0, fp
	bl	sqlite3VdbeAddOp3
	mov	r0, fp
	bl	VdbeCoverageNeverTaken
	mov	r2, r8
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #4]
.L23:
	str	r1, [sp]
	ldr	r1, .L26+36
	mov	r0, fp
	ldr	r1, [r1]
	bl	sqlite3VdbeAddOp3
	mov	r1, r7
	mov	r0, fp
	bl	sqlite3VdbeResolveLabel
	mov	r1, r6
	mov	r0, r10
	bl	sqlite3ReleaseTempReg
	ldr	r4, [r4, #28]
	cmp	r4, #0
	bne	.L16
.L2:
	mov	r0, fp
	ldr	r1, .L26+40
	ldr	r3, [sp, #28]
	ldr	r2, [sp, #24]
	ldr	r1, [r1]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	sqlite3VdbeAddOp2
.L8:
	ldr	r3, [r4, #20]
	ldr	r2, [sp, #8]
	ldr	r3, [r3]
	mov	r0, r10
	ldr	r6, [r3]
	ldr	r3, [r4]
	ldr	r8, [r2, #8]
	str	r3, [sp, #12]
	bl	sqlite3VdbeMakeLabel
	mov	r3, r0
	mov	r0, r10
	str	r3, [sp, #16]
	bl	sqlite3GetTempReg
	cmp	r6, #2
	str	r6, [sp, #20]
	mov	r6, r0
	bgt	.L9
	ldr	r1, .L26+16
	mov	r2, #0
	ldr	r3, [r4, #4]
	ldr	r1, [r1]
	mov	r0, fp
	bl	sqlite3VdbeAddOp2
	ldr	r2, .L26+44
	mov	r3, r6
	ldr	r1, [r2]
	mov	r0, fp
	mov	r2, r8
	bl	sqlite3VdbeAddOp2
	ldr	r3, [sp, #20]
	cmp	r3, #2
	beq	.L11
	ldr	r3, [r7]
	ldr	r1, [r5]
	ldr	r2, .L26+48
	cmp	r1, r3
	moveq	r3, #1
	ldr	r1, [r2]
	mvnne	r3, #0
	mov	r2, r6
	mov	r0, fp
	bl	sqlite3VdbeAddOp2
.L13:
	ldr	r5, [sp, #12]
	ldr	r7, [sp, #16]
	ldr	r1, .L26+32
	str	r6, [sp]
	mov	r3, r7
	mov	r2, r5
	ldr	r1, [r1]
	mov	r0, fp
	bl	sqlite3VdbeAddOp3
	mov	r0, fp
	bl	VdbeCoverage
	mov	r2, r5
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #4]
	b	.L23
.L25:
	ldr	r2, [sp, #8]
	ldr	r3, [r4, #12]
	ldr	r1, .L26+36
	ldr	r2, [r2, #8]
	str	r6, [sp]
	mov	r0, fp
	ldr	r1, [r1]
	add	r3, r3, #1
	bl	sqlite3VdbeAddOp3
	mov	r2, #2
	mov	r1, r6
	mov	r0, r10
	bl	windowCheckIntValue
	b	.L6
.L9:
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #12]
	ldr	r1, .L26+36
	str	r2, [sp]
	ldr	r1, [r1]
	mov	r2, r8
	add	r3, r3, #2
	mov	r0, fp
	bl	sqlite3VdbeAddOp3
	ldr	r2, .L26+44
	mov	r3, r6
	ldr	r1, [r2]
	mov	r0, fp
	mov	r2, r8
	bl	sqlite3VdbeAddOp2
.L11:
	ldr	r3, [r7]
	ldr	r2, [r5]
	mov	r0, r10
	cmp	r2, r3
	ldreq	r3, .L26+24
	ldrne	r3, .L26+52
	ldr	r7, [r3]
	bl	sqlite3GetTempReg
	mov	r5, r0
	ldr	r3, [r4, #12]
	ldr	r1, .L26+36
	str	r0, [sp]
	mov	r2, r8
	mov	r0, fp
	ldr	r1, [r1]
	add	r3, r3, #1
	bl	sqlite3VdbeAddOp3
	mov	r1, r7
	mov	r2, r5
	mov	r3, r6
	mov	r0, fp
	str	r6, [sp]
	bl	sqlite3VdbeAddOp3
	mov	r1, r5
	mov	r0, r10
	bl	sqlite3ReleaseTempReg
	b	.L13
.L27:
	.align	2
.L26:
	.word	nth_valueName
	.word	leadName
	.word	lagName
	.word	first_valueName
	.word	OP_Null
	.word	OP_Integer
	.word	OP_Add
	.word	OP_Gt
	.word	OP_SeekRowid
	.word	OP_Column
	.word	OP_Gosub
	.word	OP_Rowid
	.word	OP_AddImm
	.word	OP_Subtract
	.size	windowReturnOneRow, .-windowReturnOneRow
	.comm	nth_valueName,4,4
	.comm	leadName,4,4
	.comm	lagName,4,4
	.comm	first_valueName,4,4
	.comm	OP_Subtract,4,4
	.comm	OP_SeekRowid,4,4
	.comm	OP_Rowid,4,4
	.comm	OP_Null,4,4
	.comm	OP_Integer,4,4
	.comm	OP_Gt,4,4
	.comm	OP_Gosub,4,4
	.comm	OP_Column,4,4
	.comm	OP_AddImm,4,4
	.comm	OP_Add,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
