	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function windowCodeOp
_windowCodeOp:                          ## @windowCodeOp
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	48(%rdi), %rdi
	movq	32(%r15), %r13
	movq	40(%r15), %r12
	movq	(%r12), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_TK_ROWS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_sqlite3VdbeMakeLabel
	movl	%eax, %edx
	cmpl	$129, %r14d
	jne	LBB0_3
## %bb.1:
	movq	8(%r12), %rax
	movq	_TK_UNBOUNDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	orl	%ebx, -88(%rbp)                 ## 4-byte Folded Spill
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	jmp	LBB0_46
LBB0_3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	$0, %eax
	testl	%ebx, %ebx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	jle	LBB0_11
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_TK_RANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	cmpl	$129, %r14d
	sete	%r12b
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movq	_WINDOW_AGGSTEP@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	sete	%al
	orb	%r12b, %al
	movzbl	%al, %edi
	callq	_assert
	cmpl	$129, %r14d
	jne	LBB0_13
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_TK_FOLLOWING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	_OP_Le@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %r8d
	movl	24(%r15), %edx
	jmp	LBB0_8
LBB0_10:
	movq	_OP_IfPos@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_sqlite3VdbeAddOp3
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_VdbeCoverage
	movl	%ebx, %eax
LBB0_11:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$128, %r14d
	jne	LBB0_18
## %bb.12:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_windowAggFinal
LBB0_17:
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	24(%r15), %r12d
	movl	28(%r15), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_windowReturnOneRow
	cmpl	%r14d, (%r15)
	je	LBB0_29
	jmp	LBB0_30
LBB0_18:
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	cmpl	$129, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_19
	jmp	LBB0_24
LBB0_13:
	movq	_OP_Gt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movl	24(%r15), %r8d
	movq	%r15, %rdi
	movl	%ebx, %ecx
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_windowCodeRangeTest
	cmpl	$128, %r14d
	jne	LBB0_23
## %bb.14:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
LBB0_9:
	movq	_OP_Ge@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movl	24(%r15), %r8d
LBB0_8:
	movq	%r15, %rdi
	movl	%ebx, %ecx
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_windowCodeRangeTest
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_19:
	movl	16(%r15), %r12d
	movl	20(%r15), %eax
	cmpq	$0, 16(%rbx)
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_22
## %bb.20:
	movl	24(%rbx), %edi
	callq	_assert
	movq	_OP_AddImm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	jmp	LBB0_21
LBB0_22:
	movl	4(%r15), %r8d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movl	$1, %ecx
	jmp	LBB0_27
LBB0_23:
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_24:
	movq	_WINDOW_AGGSTEP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	sete	%dil
	callq	_assert
	movl	8(%r15), %r12d
	movl	12(%r15), %eax
	cmpq	$0, 16(%rbx)
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_26
## %bb.25:
	movl	24(%rbx), %edi
	callq	_assert
	movq	_OP_AddImm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %edx
LBB0_21:
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_sqlite3VdbeAddOp2
	cmpl	%r14d, (%r15)
	jne	LBB0_30
LBB0_29:
	movq	_OP_Delete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_sqlite3VdbeAddOp1
	movq	_OPFLAG_SAVEPOSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sqlite3VdbeChangeP5
LBB0_30:
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	movq	_OP_Next@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_sqlite3VdbeCurrentAddr
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_31
## %bb.33:
	addl	$2, %eax
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	%r13, %rdi
	callq	_VdbeCoverage
	movq	_OP_Goto@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sqlite3VdbeAddOp0
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -112(%rbp)                ## 8-byte Folded Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jne	LBB0_34
	jmp	LBB0_39
LBB0_31:
	xorl	%ecx, %ecx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	cmpq	%r12, %r14
	sete	%cl
	subl	%ecx, %eax
	addl	$2, %eax
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	%r13, %rdi
	callq	_VdbeCoverage
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r13d
	cmpq	%r12, %r14
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_39
## %bb.32:
	movq	_OP_Goto@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3VdbeAddOp0
	movl	%eax, %r13d
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
LBB0_34:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_35
## %bb.36:
	movl	(%rax), %r12d
	movl	$0, %r14d
	testl	%r12d, %r12d
	je	LBB0_38
## %bb.37:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_sqlite3GetTempRange
	movl	%eax, %r14d
	movl	%r12d, %ecx
	jmp	LBB0_38
LBB0_35:
	xorl	%r14d, %r14d
LBB0_38:
	movq	%r15, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	%ecx, %r15d
	movl	%r14d, %edx
	callq	_windowReadPeerValues
	movq	32(%rbx), %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	callq	_windowIfNewPeer
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_sqlite3ReleaseTempRange
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_39:
	testl	%r14d, %r14d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_41
## %bb.40:
	movq	_OP_Goto@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_sqlite3VdbeAddOp2
LBB0_41:
	movq	%rbx, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_sqlite3VdbeResolveLabel
	testl	%r13d, %r13d
	je	LBB0_43
## %bb.42:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_sqlite3VdbeJumpHere
LBB0_43:
	testl	%r12d, %r12d
	je	LBB0_45
## %bb.44:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_sqlite3VdbeJumpHere
LBB0_45:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
LBB0_46:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	4(%r15), %r8d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
LBB0_27:
	callq	_windowAggStep
	cmpl	%r14d, (%r15)
	je	LBB0_29
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_ROWS,8,3                    ## @TK_ROWS
	.comm	_TK_UNBOUNDED,8,3               ## @TK_UNBOUNDED
	.comm	_TK_RANGE,8,3                   ## @TK_RANGE
	.comm	_WINDOW_AGGSTEP,4,2             ## @WINDOW_AGGSTEP
	.comm	_TK_FOLLOWING,8,3               ## @TK_FOLLOWING
	.comm	_OP_Le,4,2                      ## @OP_Le
	.comm	_OP_Ge,4,2                      ## @OP_Ge
	.comm	_OP_Gt,4,2                      ## @OP_Gt
	.comm	_OP_IfPos,4,2                   ## @OP_IfPos
	.comm	_OP_AddImm,4,2                  ## @OP_AddImm
	.comm	_OP_Delete,4,2                  ## @OP_Delete
	.comm	_OPFLAG_SAVEPOSITION,4,2        ## @OPFLAG_SAVEPOSITION
	.comm	_OP_Next,4,2                    ## @OP_Next
	.comm	_OP_Goto,4,2                    ## @OP_Goto
	.no_dead_strip	_windowCodeOp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function windowCodeOp
_windowCodeOp:                          ; @windowCodeOp
	.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	x26, x3
	mov	x20, x2
	mov	x27, x1
	mov	x23, x0
	ldp	x22, x21, [x0, #40]
	ldr	x19, [x0, #32]
	ldr	x8, [x22]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _TK_ROWS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_ROWS@GOTPAGEOFF]
Lloh2:
	ldr	x28, [x8]
	mov	x0, x21
	bl	_sqlite3VdbeMakeLabel
	mov	x25, x0
	cmp	w27, #129
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _TK_UNBOUNDED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TK_UNBOUNDED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	orr	w8, w26, w20
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	mov	w26, #0
	b	LBB0_46
LBB0_3:
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.4:
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _TK_RANGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TK_RANGE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.5:
	cmp	w27, #129
	cset	w24, eq
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
Lloh9:
	adrp	x8, _WINDOW_AGGSTEP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WINDOW_AGGSTEP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w27
	cset	w8, eq
	orr	w0, w24, w8
	bl	_assert
	cmp	w27, #129
	b.ne	LBB0_14
; %bb.6:
	ldr	x8, [x22, #8]
Lloh12:
	adrp	x9, _TK_FOLLOWING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TK_FOLLOWING@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.7:
Lloh15:
	adrp	x8, _OP_Le@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OP_Le@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x23, #24]
	ldr	w4, [x23, #16]
	b	LBB0_17
LBB0_8:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w27, #128
	b.ne	LBB0_13
LBB0_9:
	str	wzr, [sp, #16]                  ; 4-byte Folded Spill
	ldr	x8, [x22, #16]
	cbnz	x8, LBB0_11
LBB0_10:
	mov	x0, x23
	mov	w1, #0
	bl	_windowAggFinal
LBB0_11:
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	ldp	w20, w8, [x23, #24]
	stp	w0, w8, [sp, #4]                ; 8-byte Folded Spill
	mov	x0, x23
	bl	_windowReturnOneRow
	b	LBB0_27
LBB0_12:
Lloh18:
	adrp	x8, _OP_IfPos@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OP_IfPos@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	mov	w4, #1
	bl	_sqlite3VdbeAddOp3
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_VdbeCoverage
	cmp	w27, #128
	b.eq	LBB0_9
LBB0_13:
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	str	wzr, [sp, #16]                  ; 4-byte Folded Spill
	cmp	w27, #129
	b.eq	LBB0_18
	b	LBB0_22
LBB0_14:
Lloh21:
	adrp	x8, _OP_Gt@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OP_Gt@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x23, #8]
	ldr	w4, [x23, #24]
	mov	x0, x23
	mov	x3, x20
	mov	x5, x25
	bl	_windowCodeRangeTest
	cmp	w27, #128
	b.ne	LBB0_21
; %bb.15:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	ldr	x8, [x22, #16]
	cbnz	x8, LBB0_11
	b	LBB0_10
LBB0_16:
Lloh24:
	adrp	x8, _OP_Ge@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OP_Ge@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x23, #16]
	ldr	w4, [x23, #24]
LBB0_17:
	mov	x0, x23
	mov	x3, x20
	mov	x5, x25
	bl	_windowCodeRangeTest
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_18:
	ldp	w20, w9, [x23, #16]
	ldr	x8, [x22, #16]
	str	w9, [sp, #8]                    ; 4-byte Folded Spill
	cbz	x8, LBB0_20
; %bb.19:
	ldr	w0, [x22, #24]
	bl	_assert
Lloh27:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x22, #16]
	b	LBB0_24
LBB0_20:
	ldr	w4, [x23, #4]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	w3, #1
	b	LBB0_26
LBB0_21:
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_22:
Lloh30:
	adrp	x8, _WINDOW_AGGSTEP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WINDOW_AGGSTEP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w8, w27
	cset	w0, eq
	bl	_assert
	ldp	w20, w9, [x23, #8]
	ldr	x8, [x22, #16]
	str	w9, [sp, #8]                    ; 4-byte Folded Spill
	cbz	x8, LBB0_25
; %bb.23:
	ldr	w0, [x22, #24]
	bl	_assert
Lloh33:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x22, #24]
LBB0_24:
	mov	x0, x19
	mov	w3, #1
	bl	_sqlite3VdbeAddOp2
	b	LBB0_27
LBB0_25:
	ldr	w4, [x23, #4]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	w3, #0
LBB0_26:
	bl	_windowAggStep
LBB0_27:
	str	w25, [sp, #20]                  ; 4-byte Folded Spill
	ldr	w8, [x23]
	cmp	w8, w27
	b.ne	LBB0_29
; %bb.28:
Lloh36:
	adrp	x8, _OP_Delete@GOTPAGE
Lloh37:
	ldr	x8, [x8, _OP_Delete@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_sqlite3VdbeAddOp1
Lloh39:
	adrp	x8, _OPFLAG_SAVEPOSITION@GOTPAGE
Lloh40:
	ldr	x8, [x8, _OPFLAG_SAVEPOSITION@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeChangeP5
LBB0_29:
Lloh42:
	adrp	x8, _OP_Next@GOTPAGE
Lloh43:
	ldr	x8, [x8, _OP_Next@GOTPAGEOFF]
Lloh44:
	ldr	w24, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
Lloh45:
	adrp	x27, _OP_Goto@GOTPAGE
Lloh46:
	ldr	x27, [x27, _OP_Goto@GOTPAGEOFF]
	cbz	w26, LBB0_34
; %bb.30:
	mov	x25, x21
	add	w3, w0, #2
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_sqlite3VdbeAddOp2
	mov	x0, x19
	bl	_VdbeCoverage
	mov	x21, x27
	ldr	w1, [x27]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp0
	mov	x26, x0
	mov	w27, #0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x28
	b.eq	LBB0_40
; %bb.31:
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_37
LBB0_32:
	ldr	w28, [x8]
	cbz	w28, LBB0_38
; %bb.33:
	mov	x0, x25
	mov	x1, x28
	bl	_sqlite3GetTempRange
	mov	x24, x0
	b	LBB0_39
LBB0_34:
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	cmp	x26, x28
	mov	w8, #1
	cinc	w8, w8, ne
	add	w3, w8, w0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_sqlite3VdbeAddOp2
	mov	x0, x19
	bl	_VdbeCoverage
	cmp	x26, x28
	b.ne	LBB0_36
; %bb.35:
	mov	x21, x27
	mov	w26, #0
	mov	w27, #0
	b	LBB0_40
LBB0_36:
	mov	x25, x21
	mov	x21, x27
	ldr	w1, [x27]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp0
	mov	x27, x0
	mov	w26, #0
	ldr	x8, [x22, #32]
	cbnz	x8, LBB0_32
LBB0_37:
	mov	w28, #0
LBB0_38:
	mov	w24, #0
LBB0_39:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	bl	_windowReadPeerValues
	ldr	x1, [x22, #32]
	mov	x0, x25
	mov	x2, x24
	ldp	w4, w3, [sp, #4]                ; 8-byte Folded Reload
	bl	_windowIfNewPeer
	mov	x0, x25
	mov	x1, x24
	mov	x2, x28
	bl	_sqlite3ReleaseTempRange
LBB0_40:
	ldr	w3, [sp, #16]                   ; 4-byte Folded Reload
	cbz	w3, LBB0_42
; %bb.41:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_sqlite3VdbeAddOp2
LBB0_42:
	mov	x0, x19
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sqlite3VdbeResolveLabel
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w27, LBB0_44
; %bb.43:
	mov	x0, x19
	mov	x1, x27
	bl	_sqlite3VdbeJumpHere
LBB0_44:
	cbz	w20, LBB0_46
; %bb.45:
	mov	x0, x19
	mov	x1, x20
	bl	_sqlite3VdbeJumpHere
LBB0_46:
	mov	x0, x26
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_ROWS,8,3                    ; @TK_ROWS
	.comm	_TK_UNBOUNDED,8,3               ; @TK_UNBOUNDED
	.comm	_TK_RANGE,8,3                   ; @TK_RANGE
	.comm	_WINDOW_AGGSTEP,4,2             ; @WINDOW_AGGSTEP
	.comm	_TK_FOLLOWING,8,3               ; @TK_FOLLOWING
	.comm	_OP_Le,4,2                      ; @OP_Le
	.comm	_OP_Ge,4,2                      ; @OP_Ge
	.comm	_OP_Gt,4,2                      ; @OP_Gt
	.comm	_OP_IfPos,4,2                   ; @OP_IfPos
	.comm	_OP_AddImm,4,2                  ; @OP_AddImm
	.comm	_OP_Delete,4,2                  ; @OP_Delete
	.comm	_OPFLAG_SAVEPOSITION,4,2        ; @OPFLAG_SAVEPOSITION
	.comm	_OP_Next,4,2                    ; @OP_Next
	.comm	_OP_Goto,4,2                    ; @OP_Goto
	.no_dead_strip	_windowCodeOp
.subsections_via_symbols
