	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function updateAccumulator
_updateAccumulator:                     ## @updateAccumulator
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	16(%rdi), %r14
	movl	$1, (%rsi)
	callq	_sqlite3ExprCacheClear
	cmpl	$0, 4(%r12)
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r12), %r12
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	addq	$32, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	4(%rax), %ebx
	jge	LBB0_24
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	24(%r12), %rdi
	movq	(%rdi), %rbx
	movq	_EP_xIsSelect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ExprHasProperty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	$0, %r15d
	movl	$0, %r14d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %r15d
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_sqlite3GetTempRange
	movl	%eax, %r14d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_sqlite3ExprCodeExprList
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r12)
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3VdbeMakeLabel
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$1, %r15d
	sete	%dil
	callq	_assert
	movq	(%r12), %rsi
	movq	%r13, %rdi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	$1, %ecx
	movl	%r14d, %r8d
	callq	_codeDistinct
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %r9
	movq	_SQLITE_FUNC_NEEDCOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r9)
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	testl	%r15d, %r15d
	jle	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_sqlite3ExprCollSeq
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	%rbx
	cmpl	%r15d, %ebx
	jl	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	jne	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	movq	(%rax), %rax
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 8(%rcx)
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edx
	incl	%edx
	movl	%edx, (%r13)
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_OP_CollSeq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_P4_COLLSEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	%r14, %rdi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rax, %r9
	callq	_sqlite3VdbeAddOp4
	movq	8(%r12), %r9
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_OP_AggStep@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	16(%r12), %r8d
	movq	_P4_FUNCDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r14, %r12
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_sqlite3VdbeAddOp4
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_sqlite3VdbeChangeP5
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_sqlite3ExprCacheAffinityChange
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r12, %r14
	movl	%r15d, %edx
	callq	_sqlite3ReleaseTempRange
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_sqlite3VdbeResolveLabel
	movq	%r13, %rdi
	callq	_sqlite3ExprCacheClear
	jmp	LBB0_23
LBB0_24:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	je	LBB0_25
## %bb.26:
	movq	_OP_If@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sqlite3VdbeAddOp1
	movl	%eax, %r14d
	jmp	LBB0_27
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_28
LBB0_25:
	xorl	%r14d, %r14d
LBB0_27:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_28:
	movq	%r13, %rdi
	callq	_sqlite3ExprCacheClear
	cmpl	$0, 8(%r12)
	jle	LBB0_31
## %bb.29:
	movq	16(%r12), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,8), %edx
	movl	4(%r15,%rbx,8), %esi
	movq	%r13, %rdi
	callq	_sqlite3ExprCode
	incq	%rbx
	cmpl	8(%r12), %ebx
	jl	LBB0_30
LBB0_31:
	movl	$0, (%r12)
	movq	%r13, %rdi
	callq	_sqlite3ExprCacheClear
	testl	%r14d, %r14d
	je	LBB0_32
## %bb.33:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeJumpHere            ## TAILCALL
LBB0_32:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EP_xIsSelect,4,2               ## @EP_xIsSelect
	.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_AggStep,4,2                 ## @OP_AggStep
	.comm	_P4_FUNCDEF,4,2                 ## @P4_FUNCDEF
	.comm	_OP_If,4,2                      ## @OP_If
	.no_dead_strip	_updateAccumulator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function updateAccumulator
_updateAccumulator:                     ; @updateAccumulator
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	mov	w8, #1
	str	w8, [x1]
	bl	_sqlite3ExprCacheClear
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.1:
	mov	w27, #0
	mov	w22, #0
	ldr	x28, [x21, #24]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w27, w27, #1
	add	x28, x28, #32
	ldr	w8, [x21, #4]
	cmp	w27, w8
	b.ge	LBB0_21
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x0, [x28, #24]
	ldr	x26, [x0]
Lloh0:
	adrp	x8, _EP_xIsSelect@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EP_xIsSelect@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ExprHasProperty
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	cbz	x26, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x26]
	mov	x0, x20
	mov	x1, x23
	bl	_sqlite3GetTempRange
	mov	x24, x0
	mov	x0, x20
	mov	x1, x26
	mov	x2, x24
	mov	w3, #1
	bl	_sqlite3ExprCodeExprList
	ldr	x8, [x28]
	tbnz	x8, #63, LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_sqlite3VdbeMakeLabel
	mov	x25, x0
	cmp	w23, #1
	cset	w0, eq
	bl	_assert
	ldr	x1, [x28]
	mov	x0, x20
	mov	x2, x25
	mov	w3, #1
	mov	x4, x24
	bl	_codeDistinct
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
	mov	w24, #0
	ldr	x8, [x28]
	tbz	x8, #63, LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x5, [x28, #8]
	ldr	w8, [x5]
Lloh3:
	adrp	x9, _SQLITE_FUNC_NEEDCOLL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQLITE_FUNC_NEEDCOLL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x26, #0
	cset	w0, ne
	bl	_assert
	cmp	w23, #1
	b.lt	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x21
	mov	x21, x22
	mov	x22, #0
	ldr	x26, [x26, #8]
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x26, x22, lsl #2]
	mov	x0, x20
	bl	_sqlite3ExprCollSeq
	add	x22, x22, #1
	cmp	x0, #0
	ccmp	w22, w23, #0, eq
	b.lt	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x5, x0
	mov	x22, x21
	mov	x21, x19
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w22, LBB0_18
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldr	x5, [x8]
	cbnz	w22, LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	add	w22, w8, #1
	str	w22, [x20]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh6:
	adrp	x8, _OP_CollSeq@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_CollSeq@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _P4_COLLSEQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _P4_COLLSEQ@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x2, x22
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3VdbeAddOp4
	ldr	x5, [x28, #8]
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh12:
	adrp	x8, _OP_AggStep@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OP_AggStep@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w4, [x28, #16]
Lloh15:
	adrp	x8, _P4_FUNCDEF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _P4_FUNCDEF@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x24
	bl	_sqlite3VdbeAddOp4
	mov	x0, x19
	mov	x1, x23
	bl	_sqlite3VdbeChangeP5
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_sqlite3ExprCacheAffinityChange
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_sqlite3ReleaseTempRange
	cbz	w25, LBB0_2
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_sqlite3VdbeResolveLabel
	mov	x0, x20
	bl	_sqlite3ExprCacheClear
	b	LBB0_2
LBB0_21:
	cbz	w22, LBB0_24
; %bb.22:
Lloh18:
	adrp	x8, _OP_If@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OP_If@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_sqlite3VdbeAddOp1
	mov	x22, x0
	b	LBB0_24
LBB0_23:
	mov	w22, #0
LBB0_24:
	mov	x0, x20
	bl	_sqlite3ExprCacheClear
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.25:
	mov	w23, #0
	ldr	x8, [x21, #16]
	add	x24, x8, #4
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x24, #-4]
	mov	x0, x20
	bl	_sqlite3ExprCode
	add	w23, w23, #1
	ldr	w8, [x21, #8]
	add	x24, x24, #8
	cmp	w23, w8
	b.lt	LBB0_26
LBB0_27:
	str	wzr, [x21]
	mov	x0, x20
	bl	_sqlite3ExprCacheClear
	cbz	w22, LBB0_29
; %bb.28:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_sqlite3VdbeJumpHere
LBB0_29:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EP_xIsSelect,4,2               ; @EP_xIsSelect
	.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_AggStep,4,2                 ; @OP_AggStep
	.comm	_P4_FUNCDEF,4,2                 ; @P4_FUNCDEF
	.comm	_OP_If,4,2                      ; @OP_If
	.no_dead_strip	_updateAccumulator
.subsections_via_symbols
