	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolveExprStep
_resolveExprStep:                       ## @resolveExprStep
	.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, %rbx
	movq	8(%rdi), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movq	32(%r13), %r15
	xorl	%edi, %edi
	cmpq	(%rbx), %r15
	sete	%dil
	callq	_assert
	movq	_EP_Resolved@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_ExprHasAnyProperty
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_WRC_Prune@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ExprSetProperty
	movq	16(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:
	cmpq	$0, (%rbx)
	jle	LBB0_11
## %bb.5:
	cmpl	$0, 8(%rbx)
	jle	LBB0_11
## %bb.6:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movzbl	%al, %edi
	callq	_assert
	incq	%r14
	movq	16(%r13), %rax
	movslq	8(%rax), %rax
	addq	$16, %r12
	cmpq	%rax, %r14
	jge	LBB0_11
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r12), %rax
	testq	%rax, %rax
	js	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	(%r15), %rax
	setl	%al
	jmp	LBB0_8
LBB0_11:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %eax
	leal	-128(%rax), %ecx
	cmpl	$8, %ecx
	ja	LBB0_23
## %bb.12:
	movl	$1, %edi
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_13:
	xorl	%edi, %edi
	cmpl	$134, %eax
	sete	%dil
	callq	_testcase
	xorl	%edi, %edi
	cmpl	$131, (%r12)
	sete	%dil
LBB0_14:
	callq	_testcase
	movq	_EP_xIsSelect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ExprHasProperty
	testl	%eax, %eax
	je	LBB0_23
## %bb.15:
	movl	4(%r13), %ebx
	movq	_NC_IsCheck@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_17
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sqlite3ErrorMsg
LBB0_17:
	movl	24(%r12), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3WalkSelect
	xorl	%edi, %edi
	cmpl	%ebx, 4(%r13)
	setge	%dil
	callq	_assert
	cmpl	4(%r13), %ebx
	je	LBB0_23
## %bb.18:
	movq	_EP_VarSelect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ExprSetProperty
	jmp	LBB0_23
LBB0_19:
	movq	32(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_31
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_32
LBB0_21:
	movq	_NC_IsCheck@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_23
## %bb.22:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sqlite3ErrorMsg
LBB0_23:
	cmpq	$0, 16(%r15)
	jne	LBB0_24
## %bb.25:
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	jne	LBB0_24
## %bb.26:
	movq	_WRC_Continue@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_24:
	movq	_WRC_Abort@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_27:
	movq	48(%r12), %rcx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_49
LBB0_28:
	movq	56(%r12), %rbx
	movl	(%rbx), %eax
	cmpl	$132, %eax
	jne	LBB0_47
## %bb.29:
	xorl	%esi, %esi
	movq	%r12, %rax
	jmp	LBB0_48
LBB0_31:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_32:
	movq	8(%r15), %rdi
	callq	_ENC
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	cmpl	$136, (%r12)
	sete	%dil
	callq	_testcase
	movq	_EP_xIsSelect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ExprHasProperty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	48(%r12), %r14
	movq	%r14, %rdi
	callq	_sqlite3Strlen30
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_sqlite3FindFunction
	testq	%rax, %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_34
## %bb.33:
	xorl	%ecx, %ecx
	cmpl	$0, 4(%rax)
	sete	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r14d
	jmp	LBB0_35
LBB0_34:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	8(%r15), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	$-2, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_sqlite3FindFunction
	testq	%rax, %rax
	movl	%ebx, %r14d
	je	LBB0_50
LBB0_35:
	movq	_SQLITE_FUNCTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rbx
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_sqlite3AuthCheck
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_44
## %bb.36:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_38
## %bb.37:
	movq	_NC_AllowAgg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_52
LBB0_38:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_40
## %bb.39:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sqlite3ErrorMsg
	incl	24(%r13)
LBB0_40:
	testl	%ebx, %ebx
	je	LBB0_54
## %bb.41:
	movq	_NC_AllowAgg@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, (%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3WalkExprList
	movq	_TK_AGG_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movl	$0, 40(%r12)
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rsi
	movq	%r12, %rdi
	callq	_sqlite3FunctionUsesThisSrc
	testl	%eax, %eax
	jne	LBB0_55
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	incl	40(%r12)
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_42
	jmp	LBB0_56
LBB0_44:
	movq	_SQLITE_DENY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_46
## %bb.45:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sqlite3ErrorMsg
	incl	24(%r13)
LBB0_46:
	movq	_TK_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	jmp	LBB0_1
LBB0_47:
	xorl	%edi, %edi
	cmpl	$135, %eax
	sete	%dil
	callq	_assert
	movq	64(%r12), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rax
	movq	56(%rbx), %rbx
LBB0_48:
	movq	64(%rax), %rax
	movq	48(%rbx), %rcx
	movq	(%rax), %rdx
	movq	%r15, %rdi
LBB0_49:
	movq	%r13, %r8
	movq	%r12, %r9
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lookupName                     ## TAILCALL
LBB0_50:
	movq	8(%r15), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_54
## %bb.51:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_53
LBB0_52:
	leaq	L_.str.1(%rip), %rsi
LBB0_53:
	movq	%r15, %rdi
	movl	%r14d, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sqlite3ErrorMsg
	incl	24(%r13)
LBB0_54:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3WalkExprList
	jmp	LBB0_1
LBB0_55:
	movq	_NC_HasAgg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_56:
	movl	(%r14), %eax
	orl	%eax, (%r13)
	jmp	LBB0_1
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_13
	.long	L0_0_set_23
	.long	L0_0_set_14
	.long	L0_0_set_27
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_28
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_EP_Resolved,4,2                ## @EP_Resolved
	.comm	_WRC_Prune,4,2                  ## @WRC_Prune
	.comm	_EP_xIsSelect,4,2               ## @EP_xIsSelect
	.comm	_SQLITE_FUNCTION,4,2            ## @SQLITE_FUNCTION
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_DENY,4,2                ## @SQLITE_DENY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not authorized to use function: %s"

	.comm	_TK_NULL,4,2                    ## @TK_NULL
	.comm	_NC_AllowAgg,4,2                ## @NC_AllowAgg
L_.str.1:                               ## @.str.1
	.asciz	"misuse of aggregate function %.*s()"

L_.str.2:                               ## @.str.2
	.asciz	"no such function: %.*s"

L_.str.3:                               ## @.str.3
	.asciz	"wrong number of arguments to function %.*s()"

	.comm	_TK_AGG_FUNCTION,4,2            ## @TK_AGG_FUNCTION
	.comm	_NC_HasAgg,4,2                  ## @NC_HasAgg
	.comm	_NC_IsCheck,4,2                 ## @NC_IsCheck
L_.str.4:                               ## @.str.4
	.asciz	"subqueries prohibited in CHECK constraints"

	.comm	_EP_VarSelect,4,2               ## @EP_VarSelect
L_.str.5:                               ## @.str.5
	.asciz	"parameters prohibited in CHECK constraints"

	.comm	_WRC_Abort,4,2                  ## @WRC_Abort
	.comm	_WRC_Continue,4,2               ## @WRC_Continue
	.comm	_SQLITE_AFF_INTEGER,4,2         ## @SQLITE_AFF_INTEGER
	.comm	_TK_COLUMN,4,2                  ## @TK_COLUMN
	.no_dead_strip	_resolveExprStep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolveExprStep
_resolveExprStep:                       ; @resolveExprStep
	.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	x20, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x21, [x19, #32]
	ldr	x8, [x22]
	cmp	x21, x8
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x23, _EP_Resolved@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EP_Resolved@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_ExprHasAnyProperty
	cbz	x0, LBB0_3
LBB0_1:
Lloh2:
	adrp	x8, _WRC_Prune@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WRC_Prune@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	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
LBB0_3:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_ExprSetProperty
	ldr	x23, [x19, #16]
	cbz	x23, LBB0_11
; %bb.4:
	ldr	x8, [x23]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.5:
	ldr	w8, [x23, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x24, #0
	mov	x25, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #0
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_assert
	add	x25, x25, #1
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #8]
	add	x24, x24, #16
	cmp	x25, x8
	b.ge	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #16]
	ldr	x8, [x8, x24]
	tbnz	x8, #63, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, lt
	b	LBB0_8
LBB0_11:
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #8
	b.hi	LBB0_23
; %bb.12:
	mov	w0, #1
Lloh4:
	adrp	x10, lJTI0_0@PAGE
Lloh5:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_13
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_13:
	cmp	w8, #134
	cset	w0, eq
	bl	_testcase
	ldr	w8, [x20]
	cmp	w8, #131
	cset	w0, eq
LBB0_14:
	bl	_testcase
Lloh6:
	adrp	x8, _EP_xIsSelect@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EP_xIsSelect@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ExprHasProperty
	cbz	w0, LBB0_23
; %bb.15:
	ldp	w8, w23, [x19]
Lloh9:
	adrp	x9, _NC_IsCheck@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NC_IsCheck@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_sqlite3ErrorMsg
LBB0_17:
	ldr	w1, [x20, #24]
	mov	x0, x22
	bl	_sqlite3WalkSelect
	ldr	w8, [x19, #4]
	cmp	w8, w23
	cset	w0, ge
	bl	_assert
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.eq	LBB0_23
; %bb.18:
Lloh14:
	adrp	x8, _EP_VarSelect@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EP_VarSelect@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ExprSetProperty
	b	LBB0_23
LBB0_19:
	ldr	x23, [x20, #32]
	cbz	x23, LBB0_28
; %bb.20:
	ldr	w26, [x23]
	b	LBB0_29
LBB0_21:
	ldr	w8, [x19]
Lloh17:
	adrp	x9, _NC_IsCheck@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NC_IsCheck@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_sqlite3ErrorMsg
LBB0_23:
	ldr	x9, [x21, #16]
Lloh22:
	adrp	x8, _WRC_Abort@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WRC_Abort@GOTPAGEOFF]
	cbnz	x9, LBB0_2
; %bb.24:
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _WRC_Continue@GOTPAGE
Lloh25:
	ldr	x10, [x10, _WRC_Continue@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	b	LBB0_2
LBB0_25:
	ldr	x3, [x20, #48]
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	b	LBB0_47
LBB0_26:
	ldr	x22, [x20, #56]
	ldr	w8, [x22]
	cmp	w8, #132
	b.ne	LBB0_45
; %bb.27:
	mov	x1, #0
	mov	x8, x20
	b	LBB0_46
LBB0_28:
	mov	w26, #0
LBB0_29:
	ldr	x0, [x21, #8]
	bl	_ENC
	mov	x27, x0
	ldr	w8, [x20]
	cmp	w8, #136
	cset	w0, eq
	bl	_testcase
Lloh26:
	adrp	x8, _EP_xIsSelect@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EP_xIsSelect@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ExprHasProperty
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x24, [x20, #48]
	mov	x0, x24
	bl	_sqlite3Strlen30
	mov	x25, x0
	ldr	x0, [x21, #8]
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	mov	x4, x27
	mov	w5, #0
	bl	_sqlite3FindFunction
	mov	x26, x0
	cbz	x0, LBB0_31
; %bb.30:
	ldr	w8, [x26, #4]
	cmp	w8, #0
	cset	w28, eq
	mov	x27, x26
	b	LBB0_33
LBB0_31:
	ldr	x0, [x21, #8]
	mov	x1, x24
	mov	x2, x25
	mov	w3, #-2
	mov	x4, x27
	mov	w5, #0
	bl	_sqlite3FindFunction
	cbz	x0, LBB0_48
; %bb.32:
	mov	x27, x0
	mov	w28, #0
LBB0_33:
Lloh29:
	adrp	x8, _SQLITE_FUNCTION@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SQLITE_FUNCTION@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x21
	mov	w2, #0
	mov	w4, #0
	bl	_sqlite3AuthCheck
Lloh32:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_42
; %bb.34:
Lloh35:
	adrp	x27, _NC_AllowAgg@GOTPAGE
Lloh36:
	ldr	x27, [x27, _NC_AllowAgg@GOTPAGEOFF]
	cbz	w28, LBB0_36
; %bb.35:
	ldr	w8, [x19]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_50
LBB0_36:
	cbnz	x26, LBB0_38
; %bb.37:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	stp	x25, x24, [sp]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_sqlite3ErrorMsg
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_38:
	cbz	w28, LBB0_52
; %bb.39:
	ldr	w8, [x27]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	mov	x0, x22
	mov	x1, x23
	bl	_sqlite3WalkExprList
Lloh39:
	adrp	x8, _TK_AGG_FUNCTION@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TK_AGG_FUNCTION@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	str	w8, [x20]
	str	wzr, [x20, #40]
	mov	x21, x19
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21, #16]
	mov	x0, x20
	bl	_sqlite3FunctionUsesThisSrc
	cbnz	w0, LBB0_53
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	ldr	w8, [x20, #40]
	add	w8, w8, #1
	str	w8, [x20, #40]
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_40
	b	LBB0_54
LBB0_42:
Lloh42:
	adrp	x8, _SQLITE_DENY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SQLITE_DENY@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_44
; %bb.43:
	ldr	w8, [x27]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str@PAGE
Lloh46:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sqlite3ErrorMsg
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_44:
Lloh47:
	adrp	x8, _TK_NULL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TK_NULL@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_1
LBB0_45:
	cmp	w8, #135
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #64]
	ldr	x1, [x8]
	mov	x8, x22
	ldr	x22, [x22, #56]
LBB0_46:
	ldr	x8, [x8, #64]
	ldr	x3, [x22, #48]
	ldr	x2, [x8]
	mov	x0, x21
LBB0_47:
	mov	x4, x19
	mov	x5, x20
	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	_lookupName
LBB0_48:
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_52
; %bb.49:
Lloh50:
	adrp	x1, l_.str.2@PAGE
Lloh51:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_51
LBB0_50:
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_51:
	stp	x25, x24, [sp]
	mov	x0, x21
	bl	_sqlite3ErrorMsg
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_52:
	mov	x0, x22
	mov	x1, x23
	bl	_sqlite3WalkExprList
	b	LBB0_1
LBB0_53:
Lloh54:
	adrp	x8, _NC_HasAgg@GOTPAGE
Lloh55:
	ldr	x8, [x8, _NC_HasAgg@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_54:
	ldr	w8, [x27]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_23-LBB0_13)>>2
	.byte	(LBB0_14-LBB0_13)>>2
	.byte	(LBB0_25-LBB0_13)>>2
	.byte	(LBB0_19-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_26-LBB0_13)>>2
	.byte	(LBB0_19-LBB0_13)>>2
                                        ; -- End function
	.comm	_EP_Resolved,4,2                ; @EP_Resolved
	.comm	_WRC_Prune,4,2                  ; @WRC_Prune
	.comm	_EP_xIsSelect,4,2               ; @EP_xIsSelect
	.comm	_SQLITE_FUNCTION,4,2            ; @SQLITE_FUNCTION
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_DENY,4,2                ; @SQLITE_DENY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not authorized to use function: %s"

	.comm	_TK_NULL,4,2                    ; @TK_NULL
	.comm	_NC_AllowAgg,4,2                ; @NC_AllowAgg
l_.str.1:                               ; @.str.1
	.asciz	"misuse of aggregate function %.*s()"

l_.str.2:                               ; @.str.2
	.asciz	"no such function: %.*s"

l_.str.3:                               ; @.str.3
	.asciz	"wrong number of arguments to function %.*s()"

	.comm	_TK_AGG_FUNCTION,4,2            ; @TK_AGG_FUNCTION
	.comm	_NC_HasAgg,4,2                  ; @NC_HasAgg
	.comm	_NC_IsCheck,4,2                 ; @NC_IsCheck
l_.str.4:                               ; @.str.4
	.asciz	"subqueries prohibited in CHECK constraints"

	.comm	_EP_VarSelect,4,2               ; @EP_VarSelect
l_.str.5:                               ; @.str.5
	.asciz	"parameters prohibited in CHECK constraints"

	.comm	_WRC_Abort,4,2                  ; @WRC_Abort
	.comm	_WRC_Continue,4,2               ; @WRC_Continue
	.comm	_SQLITE_AFF_INTEGER,4,2         ; @SQLITE_AFF_INTEGER
	.comm	_TK_COLUMN,4,2                  ; @TK_COLUMN
	.no_dead_strip	_resolveExprStep
.subsections_via_symbols
