	.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, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	(%rdi), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_sqlite3GetVdbe
	testq	%r15, %r15
	je	LBB0_52
## %bb.1:
	movq	%rax, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	xorl	%ecx, %ecx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	setb	%cl
	movl	%ecx, -112(%rbp)                ## 4-byte Spill
	movl	$1, %ecx
	subl	%eax, %ecx
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
	movq	%r15, %r12
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 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	-112(%rbp), %edi                ## 4-byte Reload
	callq	_assert
	movq	_OP_AddImm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %edx
	addl	-108(%rbp), %edx                ## 4-byte Folded Reload
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_sqlite3VdbeAddOp2
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	72(%r12), %r12
	testq	%r12, %r12
	je	LBB0_52
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
	movq	64(%r12), %r14
	cmpq	$0, 40(%r12)
	movl	$0, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_windowArgCount
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movb	$1, %bl
	movb	$1, %al
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	_TK_UNBOUNDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%al
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movzbl	%al, %edi
	callq	_assert
	cmpq	%r15, %r12
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_sqlite3WindowCompare
	testq	%rax, %rax
	sete	%bl
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%bl, %edi
	callq	_assert
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	_OP_Column@GOTPCREL(%rip), %rax
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	jle	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rsi
	movl	8(%r12), %ecx
	movl	%ebx, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_sqlite3VdbeAddOp3
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	$1, %edx
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_nth_valueName@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %ebx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_Column@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movl	8(%r12), %ecx
	incl	%ecx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	-104(%rbp), %r8d                ## 4-byte Reload
	callq	_sqlite3VdbeAddOp3
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	$2, %edx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_OP_Column@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	8(%r12), %ecx
	addl	%ebx, %ecx
	leal	(%rbx,%r13), %r8d
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_sqlite3VdbeAddOp3
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	incl	%ebx
	cmpl	%ebx, %edx
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	cmpq	$0, 16(%r15)
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_16
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 24(%r12)
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_noopStepFunc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_51
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 56(%r12)
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 40(%r12)
	movb	$1, %r15b
	movb	$1, %al
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %al
	testl	%edx, %edx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%r12), %rax
	movq	(%rax), %rax
	cmpl	(%rax), %edx
	sete	%al
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_assert
	cmpq	$0, 40(%r12)
	jne	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%r12), %rax
	cmpq	$0, (%rax)
	sete	%r15b
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %edi
	callq	_assert
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_sqlite3GetTempReg
	movl	%eax, %r15d
	movq	_OP_Column@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	8(%r12), %ecx
	addl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_sqlite3VdbeAddOp3
	movq	_OP_IfNot@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_sqlite3VdbeAddOp3
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_VdbeCoverage
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_sqlite3ReleaseTempReg
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_SQLITE_FUNC_MINMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	_TK_UNBOUNDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_IsNull@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_sqlite3VdbeAddOp1
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_VdbeCoverage
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_SeekGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	movl	%ebx, %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_21
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 40(%r12)
	movl	%eax, %r14d
	je	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	48(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_sqlite3GetTempRange
	movq	48(%r12), %rcx
	movq	(%rcx), %rsi
	movq	%r14, %rdi
	movl	%eax, %r14d
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3ExprCodeExprList
	movq	%r13, %rdi
	movl	$-1, %esi
	callq	_sqlite3VdbeGetOp
	movq	%rax, %r15
	movq	%r13, %rdi
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_sqlite3VdbeGetOp
	cmpq	%r15, %rax
	jbe	LBB0_36
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_SQLITE_FUNC_NEEDCOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setg	%dil
	callq	_assert
	movq	48(%r12), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movq	-72(%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
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_AggInverse@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_AggStep@GOTPCREL(%rip), %rax
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rsi
	movl	32(%r12), %r8d
	movq	%r13, %rdi
	movl	%r14d, %ecx
	callq	_sqlite3VdbeAddOp3
	movq	_P4_FUNCDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3VdbeAppendP4
	movq	%r13, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_sqlite3VdbeChangeP5
	cmpq	$0, 40(%r12)
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_sqlite3ReleaseTempRange
LBB0_48:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	jmp	LBB0_50
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_Column@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_37 Depth=2
	addq	$16, %rax
	cmpq	%r15, %rax
	ja	LBB0_41
LBB0_37:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, (%rax)
	jne	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	8(%rax), %edx
	cmpl	12(%r12), %edx
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	%esi, 8(%rax)
	jmp	LBB0_40
LBB0_19:                                ##   in Loop: Header=BB0_2 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	%ebx, %edx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_MakeRecord@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	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_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_sqlite3VdbeJumpHere
	jmp	LBB0_51
LBB0_52:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_UNBOUNDED,8,3               ## @TK_UNBOUNDED
	.comm	_nth_valueName,8,3              ## @nth_valueName
	.comm	_OP_Column,8,3                  ## @OP_Column
	.comm	_SQLITE_FUNC_MINMAX,4,2         ## @SQLITE_FUNC_MINMAX
	.comm	_OP_IsNull,4,2                  ## @OP_IsNull
	.comm	_OP_AddImm,4,2                  ## @OP_AddImm
	.comm	_OP_SCopy,4,2                   ## @OP_SCopy
	.comm	_OP_MakeRecord,8,3              ## @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,8,3                   ## @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,8,3              ## @OP_AggInverse
	.comm	_OP_AggStep,8,3                 ## @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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, #44]                   ; 4-byte Folded Spill
	mov	x21, x2
	mov	x22, x1
	ldr	x0, [x0]
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_sqlite3GetVdbe
	cbz	x22, LBB0_52
; %bb.1:
	mov	x24, x0
Lloh0:
	adrp	x20, _OP_Column@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OP_Column@GOTPAGEOFF]
Lloh2:
	adrp	x26, _nth_valueName@GOTPAGE
Lloh3:
	ldr	x26, [x26, _nth_valueName@GOTPAGEOFF]
	add	w10, w19, #1
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w9, #2
	cset	w8, lo
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	w8, #1
	sub	w8, w8, w9
	stp	w10, w8, [sp, #20]              ; 8-byte Folded Spill
	mov	x27, x22
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x26]
	cmp	x8, x9
Lloh4:
	adrp	x9, _first_valueName@GOTPAGE
Lloh5:
	ldr	x9, [x9, _first_valueName@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	bl	_assert
Lloh7:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh9:
	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, #72]
	cbz	x27, LBB0_52
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
	ldr	x28, [x27, #64]
	ldr	x8, [x27, #40]
	cbz	x8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
Lloh10:
	adrp	x9, _TK_UNBOUNDED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TK_UNBOUNDED@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_windowArgCount
	mov	x25, x0
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	cmp	x27, x22
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x22
	mov	w3, #0
	bl	_sqlite3WindowCompare
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	cmp	w25, #1
	b.lt	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x20]
	ldr	w3, [x27, #8]
	mov	x0, x24
	mov	x2, x21
	mov	x4, x19
	bl	_sqlite3VdbeAddOp3
	cmp	w25, #1
	b.eq	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x26]
	mov	x2, x21
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x22, #12]
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x20]
	ldr	w8, [x27, #8]
	add	w3, w8, #1
	mov	x0, x24
	ldr	w4, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sqlite3VdbeAddOp3
	cmp	w25, #2
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #2
LBB0_18:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x20]
	ldr	w8, [x27, #8]
	add	w3, w23, w8
	add	w4, w19, w23
	mov	x0, x24
	mov	x2, x21
	bl	_sqlite3VdbeAddOp3
	add	w23, w23, #1
	cmp	w25, w23
	b.ne	LBB0_18
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_30
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27, #24]
	cbnz	w8, LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #16]
Lloh13:
	adrp	x9, _noopStepFunc@GOTPAGE
Lloh14:
	ldr	x9, [x9, _noopStepFunc@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #56]
	cbz	x8, LBB0_34
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #40]
	mov	w0, #1
	cbnz	x8, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	w25, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #48]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w25, w8
	cset	w0, eq
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	ldr	x8, [x27, #40]
	mov	w0, #1
	cbnz	x8, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w25, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #48]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x26
	bl	_sqlite3GetTempReg
	mov	x23, x0
	ldr	x1, [x20]
	ldr	w8, [x27, #8]
	add	w3, w8, w25
	mov	x0, x24
	mov	x2, x21
	mov	x4, x23
	bl	_sqlite3VdbeAddOp3
Lloh16:
	adrp	x8, _OP_IfNot@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OP_IfNot@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	mov	x0, x24
	mov	x2, x23
	mov	w3, #0
	mov	w4, #1
	bl	_sqlite3VdbeAddOp3
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x24
	bl	_VdbeCoverage
	mov	x0, x26
	mov	x1, x23
	bl	_sqlite3ReleaseTempReg
Lloh19:
	adrp	x26, _nth_valueName@GOTPAGE
Lloh20:
	ldr	x26, [x26, _nth_valueName@GOTPAGEOFF]
	b	LBB0_35
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28, #8]
Lloh21:
	adrp	x9, _SQLITE_FUNC_MINMAX@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SQLITE_FUNC_MINMAX@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
Lloh24:
	adrp	x9, _TK_UNBOUNDED@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TK_UNBOUNDED@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh27:
	adrp	x8, _OP_IsNull@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OP_IsNull@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x24
	mov	x2, x19
	bl	_sqlite3VdbeAddOp1
	mov	x23, x0
	mov	x0, x24
	bl	_VdbeCoverage
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_49
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x8, _OP_SeekGE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OP_SeekGE@GOTPAGEOFF]
Lloh32:
	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
Lloh33:
	adrp	x8, _OP_Delete@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OP_Delete@GOTPAGEOFF]
Lloh35:
	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_50
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #16]                  ; 4-byte Folded Spill
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #40]
	mov	x23, x19
	cbz	x8, LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_sqlite3VdbeCurrentAddr
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x8, [x27, #48]
	ldr	x8, [x8]
	ldr	w25, [x8]
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x26
	mov	x1, x25
	bl	_sqlite3GetTempRange
	mov	x23, x0
	ldr	x8, [x27, #48]
	ldr	x1, [x8]
	mov	x0, x26
	mov	x2, x23
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3ExprCodeExprList
	mov	x0, x24
	mov	w1, #-1
	bl	_sqlite3VdbeGetOp
	mov	x26, x0
	mov	x0, x24
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_sqlite3VdbeGetOp
	cmp	x0, x26
	b.ls	LBB0_44
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x26, _nth_valueName@GOTPAGE
Lloh37:
	ldr	x26, [x26, _nth_valueName@GOTPAGEOFF]
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28, #8]
Lloh38:
	adrp	x9, _SQLITE_FUNC_NEEDCOLL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _SQLITE_FUNC_NEEDCOLL@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x27, #48]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_sqlite3ExprNNCollSeq
	mov	x5, x0
Lloh41:
	adrp	x8, _OP_CollSeq@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OP_CollSeq@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _P4_COLLSEQ@GOTPAGE
Lloh45:
	ldr	x8, [x8, _P4_COLLSEQ@GOTPAGEOFF]
Lloh46:
	ldr	w6, [x8]
	mov	x0, x24
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3VdbeAddOp4
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w2, #0
Lloh47:
	adrp	x8, _OP_AggInverse@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OP_AggInverse@GOTPAGEOFF]
Lloh49:
	adrp	x9, _OP_AggStep@GOTPAGE
Lloh50:
	ldr	x9, [x9, _OP_AggStep@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	x1, [x8]
	ldr	w4, [x27, #32]
	mov	x0, x24
	mov	x3, x23
	bl	_sqlite3VdbeAddOp3
Lloh51:
	adrp	x8, _P4_FUNCDEF@GOTPAGE
Lloh52:
	ldr	x8, [x8, _P4_FUNCDEF@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x28
	bl	_sqlite3VdbeAppendP4
	mov	x0, x24
	mov	x1, x25
	bl	_sqlite3VdbeChangeP5
	ldr	x8, [x27, #40]
	cbz	x8, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x25
	bl	_sqlite3ReleaseTempRange
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [sp, #16]                   ; 4-byte Folded Reload
	cbz	w1, LBB0_3
; %bb.43:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	b	LBB0_51
LBB0_44:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_46 Depth=2
	add	x0, x0, #16
	cmp	x0, x26
	b.hi	LBB0_37
LBB0_46:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x0]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=2
	ldr	w9, [x0, #8]
	ldr	w10, [x27, #12]
	cmp	w9, w10
	b.ne	LBB0_45
; %bb.48:                               ;   in Loop: Header=BB0_46 Depth=2
	str	w21, [x0, #8]
	b	LBB0_45
LBB0_49:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh54:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh55:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	ldr	w8, [x27, #24]
	add	w2, w8, #1
	mov	x0, x24
	mov	w3, #1
	bl	_sqlite3VdbeAddOp2
Lloh57:
	adrp	x8, _OP_SCopy@GOTPAGE
Lloh58:
	ldr	x8, [x8, _OP_SCopy@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	ldr	w3, [x27, #24]
	mov	x0, x24
	mov	x2, x19
	bl	_sqlite3VdbeAddOp2
Lloh60:
	adrp	x8, _OP_MakeRecord@GOTPAGE
Lloh61:
	ldr	x8, [x8, _OP_MakeRecord@GOTPAGEOFF]
Lloh62:
	ldr	x1, [x8]
	ldr	w2, [x27, #24]
	add	w4, w2, #2
	mov	x0, x24
	mov	w3, #2
	bl	_sqlite3VdbeAddOp3
Lloh63:
	adrp	x8, _OP_IdxInsert@GOTPAGE
Lloh64:
	ldr	x8, [x8, _OP_IdxInsert@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	ldp	w8, w2, [x27, #24]
	add	w3, w8, #2
	mov	x0, x24
	bl	_sqlite3VdbeAddOp2
LBB0_50:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
LBB0_51:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_sqlite3VdbeJumpHere
	b	LBB0_3
LBB0_52:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_UNBOUNDED,8,3               ; @TK_UNBOUNDED
	.comm	_nth_valueName,8,3              ; @nth_valueName
	.comm	_OP_Column,8,3                  ; @OP_Column
	.comm	_SQLITE_FUNC_MINMAX,4,2         ; @SQLITE_FUNC_MINMAX
	.comm	_OP_IsNull,4,2                  ; @OP_IsNull
	.comm	_OP_AddImm,4,2                  ; @OP_AddImm
	.comm	_OP_SCopy,4,2                   ; @OP_SCopy
	.comm	_OP_MakeRecord,8,3              ; @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,8,3                   ; @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,8,3              ; @OP_AggInverse
	.comm	_OP_AggStep,8,3                 ; @OP_AggStep
	.comm	_P4_FUNCDEF,4,2                 ; @P4_FUNCDEF
	.no_dead_strip	_windowAggStep
.subsections_via_symbols
