	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolveAlias
_resolveAlias:                          ## @resolveAlias
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%edi, %edi
	testl	%edx, %edx
	js	LBB0_2
## %bb.1:
	cmpl	%ebx, (%r14)
	setg	%dil
LBB0_2:
	callq	_assert
	movq	8(%r14), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%r12), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sqlite3ExprDup
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$71, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_incrAggFunctionDepth
LBB0_5:
	movq	(%r13), %rax
	movq	_TK_COLLATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movl	24(%r13), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_sqlite3ExprAddCollateString
	movq	%rax, %r15
LBB0_7:
	movq	_EP_Static@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ExprSetProperty
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_sqlite3ExprDelete
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$32, %edx
	callq	_memcpy
	movq	_EP_IntValue@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	cmpl	$0, 24(%r13)
	je	LBB0_10
## %bb.9:
	movq	_EP_Reduced@GOTPCREL(%rip), %rax
	movq	_EP_TokenOnly@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%edi, %edi
	andl	8(%r13), %ecx
	sete	%dil
	callq	_assert
	movl	24(%r13), %esi
	movq	%r14, %rdi
	callq	_sqlite3DbStrDup
	movl	%eax, 24(%r13)
	movq	_EP_MemToken@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r13)
LBB0_10:
	movq	_EP_WinFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r13, (%rax)
	jmp	LBB0_14
LBB0_13:
	movl	(%r14), %edi
	callq	_assert
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sqlite3DbFree
LBB0_15:
	movq	_EP_Alias@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExprSetProperty                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_COLLATE,8,3                 ## @TK_COLLATE
	.comm	_EP_Static,4,2                  ## @EP_Static
	.comm	_EP_IntValue,4,2                ## @EP_IntValue
	.comm	_EP_Reduced,4,2                 ## @EP_Reduced
	.comm	_EP_TokenOnly,4,2               ## @EP_TokenOnly
	.comm	_EP_MemToken,4,2                ## @EP_MemToken
	.comm	_EP_WinFunc,4,2                 ## @EP_WinFunc
	.comm	_EP_Alias,4,2                   ## @EP_Alias
	.no_dead_strip	_resolveAlias
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolveAlias
_resolveAlias:                          ; @resolveAlias
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x5
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	tbnz	w2, #31, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, w20
	cset	w0, gt
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	ldr	x8, [x21, #8]
	ldr	x21, [x8, w20, sxtw #3]
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	ldr	x20, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_sqlite3ExprDup
	cbz	x0, LBB0_16
; %bb.4:
	mov	x21, x0
	ldrb	w8, [x24]
	cmp	w8, #71
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x23
	bl	_incrAggFunctionDepth
LBB0_6:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TK_COLLATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TK_COLLATE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w2, [x19, #24]
	mov	x0, x22
	mov	x1, x21
	bl	_sqlite3ExprAddCollateString
	mov	x21, x0
LBB0_8:
Lloh3:
	adrp	x8, _EP_Static@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EP_Static@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ExprSetProperty
	mov	x0, x20
	mov	x1, x19
	bl	_sqlite3ExprDelete
	mov	x0, x19
	mov	x1, x21
	mov	w2, #32
	bl	_memcpy
Lloh6:
	adrp	x8, _EP_IntValue@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EP_IntValue@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ExprHasProperty
	cbnz	x0, LBB0_11
; %bb.9:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_11
; %bb.10:
	ldr	w8, [x19, #8]
Lloh9:
	adrp	x9, _EP_Reduced@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EP_Reduced@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _EP_TokenOnly@GOTPAGE
Lloh13:
	ldr	x10, [x10, _EP_TokenOnly@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_sqlite3DbStrDup
	str	w0, [x19, #24]
Lloh15:
	adrp	x8, _EP_MemToken@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EP_MemToken@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_11:
Lloh18:
	adrp	x8, _EP_WinFunc@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EP_WinFunc@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ExprHasProperty
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_14
; %bb.13:
	str	x19, [x8]
	b	LBB0_15
LBB0_14:
	ldr	w0, [x20]
	bl	_assert
LBB0_15:
	mov	x0, x20
	mov	x1, x21
	bl	_sqlite3DbFree
LBB0_16:
Lloh21:
	adrp	x8, _EP_Alias@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EP_Alias@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ExprSetProperty
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_COLLATE,8,3                 ; @TK_COLLATE
	.comm	_EP_Static,4,2                  ; @EP_Static
	.comm	_EP_IntValue,4,2                ; @EP_IntValue
	.comm	_EP_Reduced,4,2                 ; @EP_Reduced
	.comm	_EP_TokenOnly,4,2               ; @EP_TokenOnly
	.comm	_EP_MemToken,4,2                ; @EP_MemToken
	.comm	_EP_WinFunc,4,2                 ; @EP_WinFunc
	.comm	_EP_Alias,4,2                   ; @EP_Alias
	.no_dead_strip	_resolveAlias
.subsections_via_symbols
