	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolveSelectStep
_resolveSelectStep:                     ## @resolveSelectStep
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	movl	(%r14), %eax
	movq	_SF_Resolved@GOTPCREL(%rip), %r13
	movq	_WRC_Prune@GOTPCREL(%rip), %rcx
	testl	%eax, (%r13)
	je	LBB0_3
## %bb.1:
	movq	%rcx, %rax
	jmp	LBB0_2
LBB0_3:
	movq	(%rbx), %r15
	movq	8(%rbx), %rdx
	movq	16(%r15), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_SF_Expanded@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_66
## %bb.4:
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rdx
	xorl	%esi, %esi
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	testq	%rdx, %rdx
	setne	%sil
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	xorl	%edx, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	-144(%rbp), %r15
	movq	%r14, %rbx
	movq	%r14, -160(%rbp)                ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_29 Depth 3
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_54 Depth 2
                                        ##     Child Loop BB0_58 Depth 2
	xorl	%edi, %edi
	testl	%eax, %ecx
	setne	%dil
	callq	_assert
	movl	(%r13), %eax
	xorl	%edi, %edi
	andl	(%rbx), %eax
	sete	%dil
	callq	_assert
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -96(%rbp)
	movq	%rbx, -104(%rbp)
	movl	72(%rbx), %esi
	movq	%r15, %rdi
	callq	_sqlite3ResolveExprNames
	testq	%rax, %rax
	jne	LBB0_67
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_SF_Converted@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%rbx), %rax
	cmpl	$1, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rbx)
	setne	%cl
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rax), %rax
	movq	8(%rax), %rbx
	movzbl	%cl, %edi
	callq	_assert
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rbx)
	sete	%al
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	%rcx, %rbx
	movq	$0, 8(%rcx)
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%rbx), %rax
	cmpl	$0, (%rax)
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$0, 24(%r12,%r15,8)
	sete	%al
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	setle	%cl
	setne	%r14b
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	%r14d, 24(%r12,%r15,8)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	48(%rax), %rax
	movq	_SF_Resolved@GOTPCREL(%rip), %r13
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%rbx
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_30
LBB0_18:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_29 Depth 3
	movq	8(%rax), %r12
	leaq	(%rbx,%rbx,4), %r15
	movq	8(%r12,%r15,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	(%r13), %ecx
	testl	%ecx, (%rsi)
	jne	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	xorl	%r13d, %r13d
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	%rdx, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_18 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	addl	32(%rax), %r13d
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	(%rdi), %r14
	movq	(%r12,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	%rax, (%rdi)
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=2
	callq	_sqlite3ResolveSelectNames
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	cmpq	$0, 8(%rax)
	jne	LBB0_67
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_67
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_16
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_18 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	subl	32(%rax), %r13d
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NC_AllowWin@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_NC_AllowAgg@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, -144(%rbp)
	movq	%rax, -120(%rbp)
	movq	%rdx, -136(%rbp)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	32(%r15), %rsi
	leaq	-144(%rbp), %rdi
	callq	_sqlite3ResolveExprListNames
	testq	%rax, %rax
	jne	LBB0_67
## %bb.31:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, -144(%rbp)
	movq	_SF_Aggregate@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	movq	64(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-144(%rbp), %eax
	movq	_NC_HasAgg@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_65
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NC_MinMaxAgg@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	xorl	%edi, %edi
	movq	_SF_MinMaxAgg@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movl	-144(%rbp), %eax
	movl	(%rbx), %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	andl	%eax, %ecx
	orl	(%r14), %ecx
	orl	%ecx, (%rbx)
LBB0_34:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_EP_Agg@GOTPCREL(%rip), %r14
	leaq	-144(%rbp), %r15
	cmpl	$0, 60(%rbx)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	testq	%r12, %r12
	je	LBB0_79
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NC_UUpsert@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_NC_UAggInfo@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	xorl	%edi, %edi
	testl	%eax, %ecx
	sete	%dil
	callq	_assert
	movq	32(%rbx), %rax
	movq	%rax, -128(%rbp)
	movq	_NC_UEList@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -144(%rbp)
	movl	60(%rbx), %esi
	movq	%r15, %rdi
	callq	_sqlite3ResolveExprNames
	testq	%rax, %rax
	jne	LBB0_67
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	56(%rbx), %esi
	movq	%r15, %rdi
	callq	_sqlite3ResolveExprNames
	testq	%rax, %rax
	jne	LBB0_67
## %bb.38:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%rbx), %rax
	cmpl	$0, (%rax)
	jle	LBB0_44
## %bb.39:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$32, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_42 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	48(%rax), %rax
LBB0_41:                                ##   in Loop: Header=BB0_42 Depth=2
	incq	%r15
	movslq	(%rax), %rcx
	addq	$40, %rbx
	cmpq	%rcx, %r15
	jge	LBB0_44
LBB0_42:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rax), %rcx
	cmpq	$0, (%rcx,%rbx)
	je	LBB0_41
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=2
	movq	-16(%rcx,%rbx), %rsi
	leaq	-144(%rbp), %rdi
	callq	_sqlite3ResolveExprListNames
	testq	%rax, %rax
	je	LBB0_40
	jmp	LBB0_67
LBB0_44:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NC_AllowWin@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_NC_AllowAgg@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	$0, -136(%rbp)
	orl	%ecx, -144(%rbp)
	movq	_SF_Converted@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testl	%ecx, (%rsi)
	leaq	-144(%rbp), %rdi
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	movq	8(%rax), %rcx
	movq	%rcx, 8(%rsi)
	movq	$0, 8(%rax)
LBB0_46:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	-84(%rbp), %eax                 ## 4-byte Folded Reload
	jb	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rsi), %rdx
	leaq	L_.str.1(%rip), %rcx
	callq	_resolveOrderGroupBy
	testq	%rax, %rax
	jne	LBB0_67
LBB0_48:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_67
## %bb.49:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_NC_AllowWin@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -144(%rbp)
	testq	%r12, %r12
	je	LBB0_56
## %bb.50:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-144(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	leaq	L_.str.2(%rip), %rcx
	callq	_resolveOrderGroupBy
	testq	%rax, %rax
	jne	LBB0_67
## %bb.51:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_67
## %bb.52:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%r12)
	jle	LBB0_56
## %bb.53:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_54:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%rbx,4), %edi
	movl	(%r14), %esi
	callq	_ExprHasProperty
	testq	%rax, %rax
	jne	LBB0_73
## %bb.55:                              ##   in Loop: Header=BB0_54 Depth=2
	incq	%rbx
	cmpl	(%r12), %ebx
	jl	LBB0_54
LBB0_56:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_IN_RENAME_OBJECT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-160(%rbp), %r14                ## 8-byte Reload
	leaq	-144(%rbp), %r15
	je	LBB0_61
## %bb.57:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_61
	.p2align	4, 0x90
LBB0_58:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_sqlite3ResolveExprListNames
	testq	%rax, %rax
	jne	LBB0_67
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=2
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_sqlite3ResolveExprListNames
	testq	%rax, %rax
	jne	LBB0_67
## %bb.60:                              ##   in Loop: Header=BB0_58 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_58
LBB0_61:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_89
LBB0_63:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_87
## %bb.64:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movq	_SF_Expanded@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_5
LBB0_65:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rbx
	movq	_NC_AllowAgg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -144(%rbp)
	jmp	LBB0_34
LBB0_66:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sqlite3SelectPrep
	cmpq	$0, 8(%r15)
	jne	LBB0_67
## %bb.69:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_67
LBB0_70:
	movq	_WRC_Prune@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_67:
	movq	_WRC_Abort@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_73:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_80
LBB0_79:
	leaq	L_.str(%rip), %rsi
LBB0_80:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3ErrorMsg
	movq	_WRC_Abort@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_87:
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_70
## %bb.88:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_resolveCompoundOrderBy
	testq	%rax, %rax
	movq	_WRC_Abort@GOTPCREL(%rip), %rax
	jne	LBB0_2
	jmp	LBB0_70
LBB0_89:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3SelectWrongNumTermsError
	movq	_WRC_Abort@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_SF_Resolved,4,2                ## @SF_Resolved
	.comm	_WRC_Prune,4,2                  ## @WRC_Prune
	.comm	_SF_Expanded,4,2                ## @SF_Expanded
	.comm	_WRC_Abort,4,2                  ## @WRC_Abort
	.comm	_SF_Converted,4,2               ## @SF_Converted
	.comm	_NC_AllowAgg,4,2                ## @NC_AllowAgg
	.comm	_NC_AllowWin,4,2                ## @NC_AllowWin
	.comm	_SF_Aggregate,4,2               ## @SF_Aggregate
	.comm	_NC_HasAgg,4,2                  ## @NC_HasAgg
	.comm	_NC_MinMaxAgg,4,2               ## @NC_MinMaxAgg
	.comm	_SF_MinMaxAgg,4,2               ## @SF_MinMaxAgg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a GROUP BY clause is required before HAVING"

	.comm	_NC_UAggInfo,4,2                ## @NC_UAggInfo
	.comm	_NC_UUpsert,4,2                 ## @NC_UUpsert
	.comm	_NC_UEList,4,2                  ## @NC_UEList
L_.str.1:                               ## @.str.1
	.asciz	"ORDER"

L_.str.2:                               ## @.str.2
	.asciz	"GROUP"

	.comm	_EP_Agg,4,2                     ## @EP_Agg
L_.str.3:                               ## @.str.3
	.asciz	"aggregate functions are not allowed in the GROUP BY clause"

	.comm	_IN_RENAME_OBJECT,8,3           ## @IN_RENAME_OBJECT
	.no_dead_strip	_resolveSelectStep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolveSelectStep
_resolveSelectStep:                     ; @resolveSelectStep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x1
	mov	x20, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x28, _SF_Resolved@GOTPAGE
Lloh1:
	ldr	x28, [x28, _SF_Resolved@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	w9, [x28]
Lloh2:
	adrp	x22, _WRC_Prune@GOTPAGE
Lloh3:
	ldr	x22, [x22, _WRC_Prune@GOTPAGEOFF]
	mov	x10, x22
	tst	w9, w8
	b.ne	LBB0_69
; %bb.1:
	ldp	x20, x21, [x20]
	ldr	x9, [x20, #16]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
Lloh4:
	adrp	x9, _SF_Expanded@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SF_Expanded@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_63
; %bb.2:
	ldr	x10, [x19, #16]
	str	x10, [sp]                       ; 8-byte Folded Spill
	cmp	x10, #0
	cset	w10, ne
	stp	w10, wzr, [sp, #8]              ; 8-byte Folded Spill
	mov	w22, #40
	mov	x24, x19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;       Child Loop BB0_27 Depth 3
                                        ;     Child Loop BB0_39 Depth 2
                                        ;     Child Loop BB0_51 Depth 2
                                        ;     Child Loop BB0_55 Depth 2
	tst	w9, w8
	cset	w0, ne
	bl	_assert
	ldr	w8, [x24]
	ldr	w9, [x28]
	tst	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x28]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	stp	x24, x20, [sp, #64]
	ldr	w1, [x24, #72]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprNames
	cbnz	x0, LBB0_68
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
Lloh7:
	adrp	x9, _SF_Converted@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SF_Converted@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #48]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24, #8]
	cmp	x9, #0
	cset	w0, ne
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #8]
	ldr	x23, [x8, #8]
	bl	_assert
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_assert
	ldr	x8, [x24, #8]
	str	x8, [x23, #8]
	str	xzr, [x24, #8]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #48]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_28
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	madd	x23, x25, x22, x23
	ldr	w8, [x23, #24]
	cmp	w8, #0
	ccmp	w27, #1, #0, eq
	cset	w0, lt
	bl	_assert
	cmp	w27, #0
	cset	w8, ne
	str	w8, [x23, #24]
	ldr	x8, [x24, #48]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x25, x25, #1
	ldrsw	x9, [x8]
	cmp	x25, x9
	b.ge	LBB0_28
LBB0_16:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;       Child Loop BB0_27 Depth 3
	ldr	x23, [x8, #8]
	madd	x9, x25, x22, x23
	ldr	x1, [x9, #8]
	cbz	x1, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w9, [x1]
	ldr	w10, [x28]
	tst	w10, w9
	b.ne	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	w27, #0
	cbz	x21, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x8, x21
LBB0_20:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w9, [x8, #32]
	add	w27, w27, w9
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x26, [x20]
	mul	x8, x25, x22
	ldr	x8, [x23, x8]
	cbz	x8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=2
	str	x8, [x20]
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x20
	mov	x2, x21
	bl	_sqlite3ResolveSelectNames
	str	x26, [x20]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_68
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbnz	x8, LBB0_68
; %bb.25:                               ;   in Loop: Header=BB0_16 Depth=2
	cbz	x21, LBB0_14
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x8, x21
LBB0_27:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w9, [x8, #32]
	sub	w27, w27, w9
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_27
	b	LBB0_14
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh10:
	adrp	x9, _NC_AllowAgg@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NC_AllowAgg@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x23, _NC_AllowWin@GOTPAGE
Lloh14:
	ldr	x23, [x23, _NC_AllowWin@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w10, w9
	str	w9, [sp, #24]
	str	x8, [sp, #48]
	str	x21, [sp, #32]
	ldr	x1, [x24, #32]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprListNames
	cbnz	x0, LBB0_68
; %bb.29:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	ldr	w9, [sp, #24]
	bic	w8, w9, w8
	str	w8, [sp, #24]
	ldr	w8, [x24]
Lloh15:
	adrp	x23, _SF_Aggregate@GOTPAGE
Lloh16:
	ldr	x23, [x23, _SF_Aggregate@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	x25, [x24, #64]
	cbnz	x25, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #24]
Lloh17:
	adrp	x9, _NC_HasAgg@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NC_HasAgg@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_62
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x26, _NC_MinMaxAgg@GOTPAGE
Lloh21:
	ldr	x26, [x26, _NC_MinMaxAgg@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh22:
	adrp	x9, _SF_MinMaxAgg@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SF_MinMaxAgg@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w9, [x23]
	ldr	w8, [sp, #24]
	ldr	w10, [x26]
	and	w10, w10, w8
	orr	w9, w10, w9
	ldr	w10, [x24]
	orr	w9, w9, w10
	str	w9, [x24]
	ldr	w9, [x24, #60]
	cbz	w9, LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x25, LBB0_66
LBB0_33:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh25:
	adrp	x9, _NC_UAggInfo@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NC_UAggInfo@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _NC_UUpsert@GOTPAGE
Lloh29:
	ldr	x10, [x10, _NC_UUpsert@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	x8, [x24, #32]
	str	x8, [sp, #40]
Lloh31:
	adrp	x8, _NC_UEList@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NC_UEList@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
	ldr	w1, [x24, #60]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprNames
	cbnz	x0, LBB0_68
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24, #56]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprNames
	cbnz	x0, LBB0_68
; %bb.35:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #48]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_41
; %bb.36:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	mov	x27, #0
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_39 Depth=2
	ldr	x8, [x24, #48]
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=2
	add	x27, x27, #1
	ldrsw	x9, [x8]
	add	x23, x23, #40
	cmp	x27, x9
	b.ge	LBB0_41
LBB0_39:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x8, #8]
	add	x9, x9, x23
	ldr	x10, [x9, #32]
	cbz	x10, LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
	ldr	x1, [x9, #16]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprListNames
	cbz	x0, LBB0_37
	b	LBB0_68
LBB0_41:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [sp, #32]
Lloh34:
	adrp	x9, _NC_AllowAgg@GOTPAGE
Lloh35:
	ldr	x9, [x9, _NC_AllowAgg@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _NC_AllowWin@GOTPAGE
Lloh38:
	ldr	x10, [x10, _NC_AllowWin@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [sp, #24]
	orr	w9, w9, w10
	str	w9, [sp, #24]
	ldr	w9, [x24]
Lloh40:
	adrp	x10, _SF_Converted@GOTPAGE
Lloh41:
	ldr	x10, [x10, _SF_Converted@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x8, #8]
	str	x9, [x24, #8]
	str	xzr, [x8, #8]
LBB0_43:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w9, w8, [sp, #8]                ; 8-byte Folded Reload
	cmp	w8, w9
	b.lo	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x24, #8]
	add	x0, sp, #24
	mov	x1, x24
Lloh43:
	adrp	x3, l_.str.1@PAGE
Lloh44:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_resolveOrderGroupBy
	cbnz	x0, LBB0_68
LBB0_45:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbnz	x8, LBB0_68
; %bb.46:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh45:
	adrp	x8, _NC_AllowWin@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NC_AllowWin@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	bic	w8, w9, w8
	str	w8, [sp, #24]
	cbz	x25, LBB0_53
; %bb.47:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #24
	mov	x1, x24
	mov	x2, x25
Lloh48:
	adrp	x3, l_.str.2@PAGE
Lloh49:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_resolveOrderGroupBy
	cbnz	x0, LBB0_68
; %bb.48:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbnz	x8, LBB0_68
; %bb.49:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_53
; %bb.50:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	ldr	x27, [x25, #8]
LBB0_51:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27, x23, lsl #2]
Lloh50:
	adrp	x8, _EP_Agg@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EP_Agg@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_ExprHasProperty
	cbnz	x0, LBB0_65
; %bb.52:                               ;   in Loop: Header=BB0_51 Depth=2
	ldr	w8, [x25]
	add	x23, x23, #1
	cmp	w23, w8
	b.lt	LBB0_51
LBB0_53:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh53:
	adrp	x8, _IN_RENAME_OBJECT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _IN_RENAME_OBJECT@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cbz	x8, LBB0_58
; %bb.54:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x24, #40]
	cbz	x23, LBB0_58
LBB0_55:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x23, #8]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprListNames
	cbnz	x0, LBB0_68
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=2
	ldr	x1, [x23]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprListNames
	cbnz	x0, LBB0_68
; %bb.57:                               ;   in Loop: Header=BB0_55 Depth=2
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_55
LBB0_58:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x24, #24]
	cbz	x1, LBB0_60
; %bb.59:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #32]
	ldr	x8, [x8]
	ldr	x9, [x1]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_73
LBB0_60:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x24, #16]
	cbz	x24, LBB0_70
; %bb.61:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x24]
Lloh56:
	adrp	x9, _SF_Expanded@GOTPAGE
Lloh57:
	ldr	x9, [x9, _SF_Expanded@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	b	LBB0_3
LBB0_62:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh59:
	adrp	x9, _NC_AllowAgg@GOTPAGE
Lloh60:
	ldr	x9, [x9, _NC_AllowAgg@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [sp, #24]
	ldr	w9, [x24, #60]
	cbnz	w9, LBB0_32
	b	LBB0_33
LBB0_63:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_sqlite3SelectPrep
	ldr	x8, [x20, #8]
Lloh62:
	adrp	x10, _WRC_Abort@GOTPAGE
Lloh63:
	ldr	x10, [x10, _WRC_Abort@GOTPAGEOFF]
	cbnz	x8, LBB0_69
; %bb.64:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x10, x22, x10, eq
	b	LBB0_69
LBB0_65:
Lloh64:
	adrp	x1, l_.str.3@PAGE
Lloh65:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_67
LBB0_66:
Lloh66:
	adrp	x1, l_.str@PAGE
Lloh67:
	add	x1, x1, l_.str@PAGEOFF
LBB0_67:
	mov	x0, x20
	bl	_sqlite3ErrorMsg
LBB0_68:
Lloh68:
	adrp	x10, _WRC_Abort@GOTPAGE
Lloh69:
	ldr	x10, [x10, _WRC_Abort@GOTPAGEOFF]
LBB0_69:
	ldr	w0, [x10]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_70:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cbz	x8, LBB0_72
; %bb.71:
	mov	x0, x20
	mov	x1, x19
	bl	_resolveCompoundOrderBy
	cbnz	x0, LBB0_68
LBB0_72:
Lloh70:
	adrp	x10, _WRC_Prune@GOTPAGE
Lloh71:
	ldr	x10, [x10, _WRC_Prune@GOTPAGEOFF]
	b	LBB0_69
LBB0_73:
	mov	x0, x20
	bl	_sqlite3SelectWrongNumTermsError
	b	LBB0_68
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_SF_Resolved,4,2                ; @SF_Resolved
	.comm	_WRC_Prune,4,2                  ; @WRC_Prune
	.comm	_SF_Expanded,4,2                ; @SF_Expanded
	.comm	_WRC_Abort,4,2                  ; @WRC_Abort
	.comm	_SF_Converted,4,2               ; @SF_Converted
	.comm	_NC_AllowAgg,4,2                ; @NC_AllowAgg
	.comm	_NC_AllowWin,4,2                ; @NC_AllowWin
	.comm	_SF_Aggregate,4,2               ; @SF_Aggregate
	.comm	_NC_HasAgg,4,2                  ; @NC_HasAgg
	.comm	_NC_MinMaxAgg,4,2               ; @NC_MinMaxAgg
	.comm	_SF_MinMaxAgg,4,2               ; @SF_MinMaxAgg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a GROUP BY clause is required before HAVING"

	.comm	_NC_UAggInfo,4,2                ; @NC_UAggInfo
	.comm	_NC_UUpsert,4,2                 ; @NC_UUpsert
	.comm	_NC_UEList,4,2                  ; @NC_UEList
l_.str.1:                               ; @.str.1
	.asciz	"ORDER"

l_.str.2:                               ; @.str.2
	.asciz	"GROUP"

	.comm	_EP_Agg,4,2                     ; @EP_Agg
l_.str.3:                               ; @.str.3
	.asciz	"aggregate functions are not allowed in the GROUP BY clause"

	.comm	_IN_RENAME_OBJECT,8,3           ; @IN_RENAME_OBJECT
	.no_dead_strip	_resolveSelectStep
.subsections_via_symbols
