	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renameResolveTrigger
_renameResolveTrigger:                  ## @renameResolveTrigger
	.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, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	32(%rdi), %r14
	movq	40(%rdi), %r15
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%r13, -56(%rbp)
	movl	(%r14), %edi
	callq	_assert
	movl	(%r14), %esi
	movl	28(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r15), %r12
	movq	%r15, %rdi
	callq	_sqlite3SchemaToIndex
	movl	(%r12,%rax,4), %edx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_sqlite3FindTable
	movq	%rax, 16(%r13)
	movl	24(%r14), %ecx
	movl	%ecx, 24(%r13)
	movq	%rax, %rdi
	callq	_ALWAYS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%r13), %rsi
	movq	%r13, %rdi
	callq	_sqlite3ViewGetColumnNames
	movl	%eax, %ebx
LBB0_2:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jne	LBB0_5
## %bb.3:
	movq	16(%r14), %rsi
	movl	%ebx, %eax
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprNames
	movl	%eax, %ebx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	cmpl	%eax, %ebx
	jne	LBB0_36
## %bb.6:
	movq	8(%r14), %r12
	testq	%r12, %r12
	je	LBB0_36
## %bb.7:
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	-96(%rbp), %rdx
	callq	_sqlite3SelectPrep
	cmpq	$0, 8(%r13)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r13), %ebx
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_34
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	24(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_34
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	_sqlite3LocateTable
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r14
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_sqlite3ViewGetColumnNames
	movl	%eax, %ebx
	cmpl	%eax, %r15d
	jne	LBB0_34
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-152(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	$1, -152(%rbp)
	movq	24(%r12), %rax
	movq	-120(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, (%rcx)
	movq	%rbx, -88(%rbp)
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprNames
	movl	%eax, %r15d
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r12), %rsi
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprListNames
	movl	%eax, %r15d
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 16(%r12)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_34
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movb	$1, %al
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 8(%r12)
	sete	%al
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edi, %edi
	movq	_SQLITE_OK@GOTPCREL(%rip), %r14
	cmpl	(%r14), %r15d
	sete	%dil
	callq	_assert
	leaq	-152(%rbp), %rax
	movq	%rax, 32(%rbx)
	movq	%rbx, -72(%rbp)
	movq	_NC_UUpsert@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	24(%rbx), %rsi
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprListNames
	movl	%eax, %r15d
	movl	(%r14), %eax
	cmpl	%eax, %r15d
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%eax, %r15d
	je	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%eax, %r15d
	jne	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rsi
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprNames
	movl	%eax, %r15d
LBB0_32:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	$0, -80(%rbp)
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	$0, -88(%rbp)
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	40(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_8
	jmp	LBB0_36
LBB0_27:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%rbx), %rsi
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprListNames
	movl	%eax, %r15d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jne	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rbx), %rsi
	leaq	-96(%rbp), %rdi
	callq	_sqlite3ResolveExprNames
	movl	%eax, %r15d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	je	LBB0_31
	jmp	LBB0_32
LBB0_36:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_NC_UUpsert,8,3                 ## @NC_UUpsert
	.no_dead_strip	_renameResolveTrigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renameResolveTrigger
_renameResolveTrigger:                  ; @renameResolveTrigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	ldp	x25, x22, [x0, #32]
Lloh0:
	adrp	x24, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SQLITE_OK@GOTPAGEOFF]
	ldr	w21, [x24]
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	x20, [sp, #88]
	ldr	w0, [x25]
	bl	_assert
	ldr	w23, [x25, #28]
	ldr	x26, [x22]
	ldr	w1, [x25]
	mov	x0, x22
	bl	_sqlite3SchemaToIndex
	ldr	w2, [x26, x0, lsl #2]
	mov	x0, x22
	mov	x1, x23
	bl	_sqlite3FindTable
	str	x0, [x20, #16]
	ldr	w8, [x25, #24]
	str	w8, [x20, #24]
	bl	_ALWAYS
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x1, [x20, #16]
	mov	x0, x20
	bl	_sqlite3ViewGetColumnNames
	mov	x21, x0
LBB0_2:
	ldr	w8, [x24]
	cmp	w21, w8
	b.ne	LBB0_5
; %bb.3:
	ldr	x1, [x25, #16]
	mov	x8, x21
	cbz	x1, LBB0_5
; %bb.4:
	add	x0, sp, #48
	bl	_sqlite3ResolveExprNames
	mov	x21, x0
	ldr	w8, [x24]
LBB0_5:
	ldr	x23, [x25, #8]
	cmp	w21, w8
	ccmp	x23, #0, #4, eq
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_7:
Lloh2:
	adrp	x25, _SQLITE_ERROR@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SQLITE_ERROR@GOTPAGEOFF]
	mov	x26, sp
	mov	w27, #1
	mov	x21, x8
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w21, [x25]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x23, [x23, #40]
	ldr	w8, [x24]
	cmp	w21, w8
	ccmp	x23, #0, #4, eq
	b.eq	LBB0_6
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23, #32]
	cbz	x1, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x2, sp, #48
	mov	x0, x20
	bl	_sqlite3SelectPrep
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w21, [x20]
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24]
	cmp	w21, w8
	b.ne	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x2, [x23, #24]
	cbz	x2, LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	w1, #0
	mov	x3, x19
	bl	_sqlite3LocateTable
	cbz	x0, LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x0
	ldr	w28, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_sqlite3ViewGetColumnNames
	mov	x21, x0
	cmp	w28, w0
	b.ne	LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	w27, [sp]
	ldr	x8, [x23, #24]
	ldr	x9, [sp, #32]
	stp	x22, x8, [x9]
	str	x26, [sp, #56]
	ldr	x1, [x23, #16]
	cbz	x1, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #48
	bl	_sqlite3ResolveExprNames
	mov	x21, x0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, x28
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24]
	cmp	w21, w8
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x23, #8]
	add	x0, sp, #48
	bl	_sqlite3ResolveExprListNames
	mov	x21, x0
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #0
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, eq
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_assert
	ldr	x22, [x23]
	cbz	x22, LBB0_35
; %bb.28:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24]
	cmp	w21, w8
	cset	w0, eq
	bl	_assert
	str	x26, [x22, #32]
Lloh4:
	adrp	x8, _NC_UUpsert@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NC_UUpsert@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	stp	x8, x22, [sp, #64]
	ldr	x1, [x22, #24]
	add	x0, sp, #48
	bl	_sqlite3ResolveExprListNames
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x22, #16]
	add	x0, sp, #48
	bl	_sqlite3ResolveExprListNames
	mov	x21, x0
	ldr	w8, [x24]
	cmp	w21, w8
	b.eq	LBB0_31
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, x0
	cmp	w21, w8
	b.ne	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x22, #8]
	add	x0, sp, #48
	bl	_sqlite3ResolveExprNames
	mov	x21, x0
	ldr	w8, [x24]
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w21, w8
	b.ne	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x22]
	add	x0, sp, #48
	bl	_sqlite3ResolveExprNames
	mov	x21, x0
LBB0_34:                                ;   in Loop: Header=BB0_10 Depth=1
	str	xzr, [sp, #64]
LBB0_35:                                ;   in Loop: Header=BB0_10 Depth=1
	str	xzr, [sp, #56]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_NC_UUpsert,8,3                 ; @NC_UUpsert
	.no_dead_strip	_renameResolveTrigger
.subsections_via_symbols
