	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function windowAggStep
_windowAggStep:                         ## @windowAggStep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_sqlite3GetVdbe
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_33
## %bb.1:
	movq	%rax, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	xorl	%ecx, %ecx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	setb	%cl
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movl	$1, %ecx
	subl	%eax, %ecx
	movl	%ecx, -112(%rbp)                ## 4-byte Spill
	movq	_OP_Column@GOTPCREL(%rip), %r14
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	movq	_nth_valueName@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_first_valueName@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movl	-116(%rbp), %edi                ## 4-byte Reload
	callq	_assert
	movq	_OP_AddImm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %edx
	addl	-112(%rbp), %edx                ## 4-byte Folded Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_sqlite3VdbeAddOp2
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_Column@GOTPCREL(%rip), %r14
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	64(%r12), %r12
	testq	%r12, %r12
	je	LBB0_33
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	56(%r12), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_windowArgCount
	movl	%eax, %edx
	testl	%eax, %eax
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jle	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %esi
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	%r15d, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_sqlite3VdbeAddOp3
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	$1, %edx
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_nth_valueName@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_Column@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rdi, %r12
	movl	(%rdi), %ecx
	incl	%ecx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	-108(%rbp), %r8d                ## 4-byte Reload
	callq	_sqlite3VdbeAddOp3
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	$2, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %r15d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_OP_Column@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	addl	%r15d, %ecx
	leal	(%rbx,%r15), %r8d
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_sqlite3VdbeAddOp3
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	incl	%r15d
	cmpl	%r15d, %edx
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 24(%r12)
	jne	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rax
	movq	_noopStepFunc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	_OP_Column@GOTPCREL(%rip), %r14
	je	LBB0_4
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 48(%r12)
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%edx, %edx
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r12), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %edx
	sete	%dil
	movl	%edx, %ebx
	callq	_assert
	movb	$1, %al
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_SQLITE_FUNC_MINMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r12), %rax
	movq	_TK_UNBOUNDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_IsNull@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_sqlite3VdbeAddOp1
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_VdbeCoverage
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_SeekGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	movl	$1, %r9d
	callq	_sqlite3VdbeAddOp4Int
	movq	%r13, %rdi
	callq	_VdbeCoverageNeverTaken
	movq	_OP_Delete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %edx
	movq	%r13, %rdi
	callq	_sqlite3VdbeAddOp1
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %esi
	movq	%r13, %rdi
	callq	_sqlite3VdbeJumpHere
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_AddImm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %edx
	incl	%edx
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_SCopy@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %ecx
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_MakeRecord@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %edx
	leal	2(%rdx), %r8d
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$2, %ecx
	callq	_sqlite3VdbeAddOp3
	movq	_OP_IdxInsert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %ecx
	movl	28(%r12), %edx
	addl	$2, %ecx
	movq	%r13, %rdi
	callq	_sqlite3VdbeAddOp2
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_sqlite3VdbeJumpHere
	jmp	LBB0_3
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movl	%edx, %ebx
	callq	_assert
	movq	40(%r12), %rax
	cmpq	$0, (%rax)
	sete	%al
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3GetTempReg
	movl	(%r14), %esi
	movl	(%r12), %ecx
	addl	%ebx, %ecx
	movq	%r13, %rdi
	movl	%r15d, %edx
	movl	%eax, %r8d
	movl	%eax, %ebx
	callq	_sqlite3VdbeAddOp3
	movq	_OP_IfNot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_sqlite3VdbeAddOp3
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_VdbeCoverage
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_sqlite3ReleaseTempReg
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_SQLITE_FUNC_NEEDCOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	setg	%dil
	callq	_assert
	movq	40(%r12), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3ExprNNCollSeq
	movq	_OP_CollSeq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_P4_COLLSEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rax, %r9
	callq	_sqlite3VdbeAddOp4
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_AggInverse@GOTPCREL(%rip), %rax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_OP_AggStep@GOTPCREL(%rip), %rax
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %esi
	movl	32(%r12), %r8d
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_sqlite3VdbeAddOp3
	movq	_P4_FUNCDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3VdbeAppendP4
	movq	%r13, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_sqlite3VdbeChangeP5
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_4
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_sqlite3VdbeJumpHere
	jmp	LBB0_4
LBB0_33:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nth_valueName,8,3              ## @nth_valueName
	.comm	_OP_Column,4,2                  ## @OP_Column
	.comm	_SQLITE_FUNC_MINMAX,4,2         ## @SQLITE_FUNC_MINMAX
	.comm	_TK_UNBOUNDED,8,3               ## @TK_UNBOUNDED
	.comm	_OP_IsNull,4,2                  ## @OP_IsNull
	.comm	_OP_AddImm,4,2                  ## @OP_AddImm
	.comm	_OP_SCopy,4,2                   ## @OP_SCopy
	.comm	_OP_MakeRecord,4,2              ## @OP_MakeRecord
	.comm	_OP_IdxInsert,4,2               ## @OP_IdxInsert
	.comm	_OP_SeekGE,4,2                  ## @OP_SeekGE
	.comm	_OP_Delete,4,2                  ## @OP_Delete
	.comm	_first_valueName,8,3            ## @first_valueName
	.comm	_noopStepFunc,8,3               ## @noopStepFunc
	.comm	_OP_IfNot,4,2                   ## @OP_IfNot
	.comm	_SQLITE_FUNC_NEEDCOLL,4,2       ## @SQLITE_FUNC_NEEDCOLL
	.comm	_OP_CollSeq,4,2                 ## @OP_CollSeq
	.comm	_P4_COLLSEQ,4,2                 ## @P4_COLLSEQ
	.comm	_OP_AggInverse,4,2              ## @OP_AggInverse
	.comm	_OP_AggStep,4,2                 ## @OP_AggStep
	.comm	_P4_FUNCDEF,4,2                 ## @P4_FUNCDEF
	.no_dead_strip	_windowAggStep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function windowAggStep
_windowAggStep:                         ; @windowAggStep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	str	w3, [sp, #20]                   ; 4-byte Folded Spill
	mov	x21, x2
	mov	x22, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_sqlite3GetVdbe
	cbz	x22, LBB0_31
; %bb.1:
	mov	x24, x0
Lloh0:
	adrp	x26, _OP_Column@GOTPAGE
Lloh1:
	ldr	x26, [x26, _OP_Column@GOTPAGEOFF]
	add	w8, w19, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w9, #2
	cset	w10, lo
	mov	w8, #1
	sub	w8, w8, w9
	stp	w8, w10, [sp, #24]              ; 8-byte Folded Spill
	mov	x27, x22
	str	x22, [sp]                       ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
Lloh2:
	adrp	x9, _nth_valueName@GOTPAGE
Lloh3:
	ldr	x9, [x9, _nth_valueName@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh5:
	adrp	x9, _first_valueName@GOTPAGE
Lloh6:
	ldr	x9, [x9, _first_valueName@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	bl	_assert
Lloh8:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w8, [x27, #24]
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	add	w2, w9, w8
	mov	x0, x24
	mov	w3, #1
	bl	_sqlite3VdbeAddOp2
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x27, [x27, #64]
	cbz	x27, LBB0_31
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x28, [x27, #56]
	mov	x0, x27
	bl	_windowArgCount
	mov	x25, x0
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	ldr	w3, [x27]
	mov	x0, x24
	mov	x2, x21
	mov	x4, x19
	bl	_sqlite3VdbeAddOp3
	cmp	w25, #1
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
Lloh11:
	adrp	x9, _nth_valueName@GOTPAGE
Lloh12:
	ldr	x9, [x9, _nth_valueName@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	mov	x2, x21
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x22, #4]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	ldr	w8, [x27]
	add	w3, w8, #1
	mov	x0, x24
	ldr	w4, [sp, #16]                   ; 4-byte Folded Reload
	bl	_sqlite3VdbeAddOp3
	cmp	w25, #2
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #2
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x26]
	ldr	w8, [x27]
	add	w3, w20, w8
	add	w4, w19, w20
	mov	x0, x24
	mov	x2, x21
	bl	_sqlite3VdbeAddOp3
	add	w20, w20, #1
	cmp	w25, w20
	b.ne	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_17
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27, #24]
	cbnz	w8, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #16]
Lloh14:
	adrp	x9, _noopStepFunc@GOTPAGE
Lloh15:
	ldr	x9, [x9, _noopStepFunc@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #48]
	cbz	x8, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	w25, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #40]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w25, w8
	cset	w0, eq
	bl	_assert
	mov	w0, #1
	b	LBB0_25
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28, #8]
Lloh17:
	adrp	x9, _SQLITE_FUNC_MINMAX@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SQLITE_FUNC_MINMAX@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #16]
Lloh20:
	adrp	x9, _TK_UNBOUNDED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _TK_UNBOUNDED@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh23:
	adrp	x8, _OP_IsNull@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OP_IsNull@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x24
	mov	x2, x19
	bl	_sqlite3VdbeAddOp1
	mov	x25, x0
	mov	x0, x24
	bl	_VdbeCoverage
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh26:
	adrp	x8, _OP_SeekGE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OP_SeekGE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x27, #28]
	mov	x0, x24
	mov	w3, #0
	mov	x4, x19
	mov	w5, #1
	bl	_sqlite3VdbeAddOp4Int
	mov	x0, x24
	bl	_VdbeCoverageNeverTaken
Lloh29:
	adrp	x8, _OP_Delete@GOTPAGE
Lloh30:
	ldr	x8, [x8, _OP_Delete@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x27, #28]
	mov	x0, x24
	bl	_sqlite3VdbeAddOp1
	mov	x0, x24
	bl	_sqlite3VdbeCurrentAddr
	sub	w1, w0, #2
	mov	x0, x24
	bl	_sqlite3VdbeJumpHere
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	b	LBB0_26
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w8, [x27, #24]
	add	w2, w8, #1
	mov	x0, x24
	mov	w3, #1
	bl	_sqlite3VdbeAddOp2
Lloh35:
	adrp	x8, _OP_SCopy@GOTPAGE
Lloh36:
	ldr	x8, [x8, _OP_SCopy@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	w3, [x27, #24]
	mov	x0, x24
	mov	x2, x19
	bl	_sqlite3VdbeAddOp2
Lloh38:
	adrp	x8, _OP_MakeRecord@GOTPAGE
Lloh39:
	ldr	x8, [x8, _OP_MakeRecord@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	w2, [x27, #24]
	add	w4, w2, #2
	mov	x0, x24
	mov	w3, #2
	bl	_sqlite3VdbeAddOp3
Lloh41:
	adrp	x8, _OP_IdxInsert@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OP_IdxInsert@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldp	w8, w2, [x27, #24]
	add	w3, w8, #2
	mov	x0, x24
	bl	_sqlite3VdbeAddOp2
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x25
	b	LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_assert
	ldr	x8, [x27, #40]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x22
	bl	_sqlite3GetTempReg
	mov	x20, x0
	ldr	w1, [x26]
	ldr	w8, [x27]
	add	w3, w8, w25
	mov	x0, x24
	mov	x2, x21
	mov	x4, x20
	bl	_sqlite3VdbeAddOp3
Lloh44:
	adrp	x8, _OP_IfNot@GOTPAGE
Lloh45:
	ldr	x8, [x8, _OP_IfNot@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x24
	mov	x2, x20
	mov	w3, #0
	mov	w4, #1
	bl	_sqlite3VdbeAddOp3
	mov	x23, x0
	mov	x0, x24
	bl	_VdbeCoverage
	mov	x0, x22
	mov	x1, x20
	bl	_sqlite3ReleaseTempReg
	ldr	x22, [sp]                       ; 8-byte Folded Reload
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28, #8]
Lloh47:
	adrp	x9, _SQLITE_FUNC_NEEDCOLL@GOTPAGE
Lloh48:
	ldr	x9, [x9, _SQLITE_FUNC_NEEDCOLL@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x27, #40]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_sqlite3ExprNNCollSeq
	mov	x5, x0
Lloh50:
	adrp	x8, _OP_CollSeq@GOTPAGE
Lloh51:
	ldr	x8, [x8, _OP_CollSeq@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
Lloh53:
	adrp	x8, _P4_COLLSEQ@GOTPAGE
Lloh54:
	ldr	x8, [x8, _P4_COLLSEQ@GOTPAGEOFF]
Lloh55:
	ldr	w6, [x8]
	mov	x0, x24
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3VdbeAddOp4
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w2, #0
Lloh56:
	adrp	x8, _OP_AggInverse@GOTPAGE
Lloh57:
	ldr	x8, [x8, _OP_AggInverse@GOTPAGEOFF]
Lloh58:
	adrp	x9, _OP_AggStep@GOTPAGE
Lloh59:
	ldr	x9, [x9, _OP_AggStep@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	ldr	w4, [x27, #32]
	mov	x0, x24
	mov	x3, x19
	bl	_sqlite3VdbeAddOp3
Lloh60:
	adrp	x8, _P4_FUNCDEF@GOTPAGE
Lloh61:
	ldr	x8, [x8, _P4_FUNCDEF@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x28
	bl	_sqlite3VdbeAppendP4
	mov	x0, x24
	mov	x1, x25
	bl	_sqlite3VdbeChangeP5
	cbz	w23, LBB0_3
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_sqlite3VdbeJumpHere
	b	LBB0_3
LBB0_31:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_nth_valueName,8,3              ; @nth_valueName
	.comm	_OP_Column,4,2                  ; @OP_Column
	.comm	_SQLITE_FUNC_MINMAX,4,2         ; @SQLITE_FUNC_MINMAX
	.comm	_TK_UNBOUNDED,8,3               ; @TK_UNBOUNDED
	.comm	_OP_IsNull,4,2                  ; @OP_IsNull
	.comm	_OP_AddImm,4,2                  ; @OP_AddImm
	.comm	_OP_SCopy,4,2                   ; @OP_SCopy
	.comm	_OP_MakeRecord,4,2              ; @OP_MakeRecord
	.comm	_OP_IdxInsert,4,2               ; @OP_IdxInsert
	.comm	_OP_SeekGE,4,2                  ; @OP_SeekGE
	.comm	_OP_Delete,4,2                  ; @OP_Delete
	.comm	_first_valueName,8,3            ; @first_valueName
	.comm	_noopStepFunc,8,3               ; @noopStepFunc
	.comm	_OP_IfNot,4,2                   ; @OP_IfNot
	.comm	_SQLITE_FUNC_NEEDCOLL,4,2       ; @SQLITE_FUNC_NEEDCOLL
	.comm	_OP_CollSeq,4,2                 ; @OP_CollSeq
	.comm	_P4_COLLSEQ,4,2                 ; @P4_COLLSEQ
	.comm	_OP_AggInverse,4,2              ; @OP_AggInverse
	.comm	_OP_AggStep,4,2                 ; @OP_AggStep
	.comm	_P4_FUNCDEF,4,2                 ; @P4_FUNCDEF
	.no_dead_strip	_windowAggStep
.subsections_via_symbols
