	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renameTriggerFunc
_renameTriggerFunc:                     ## @renameTriggerFunc
	.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	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdx), %rdi
	callq	_sqlite3_value_text
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	callq	_sqlite3_value_text
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_sqlite3_context_db_handle
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_UNUSED_PARAMETER
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_13
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_13
## %bb.2:
	xorl	%r15d, %r15d
	movl	$3, %r12d
	leaq	-44(%rbp), %rbx
	movq	_TK_SPACE@GOTPCREL(%rip), %r14
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%r13)
	movl	%ecx, %r12d
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r15d, %rax
	addq	%rax, %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3GetToken
	movl	%eax, %r15d
	movl	-44(%rbp), %eax
	cmpl	(%r14), %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setg	%dil
	callq	_assert
	movl	-44(%rbp), %eax
	xorl	%ecx, %ecx
	movq	_TK_DOT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TK_ON@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movl	%r12d, %ecx
	cmpl	$2, %r12d
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TK_WHEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_TK_FOR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %ecx
	movq	_TK_BEGIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_8
LBB0_12:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subl	%ecx, %edx
	movslq	-60(%rbp), %r9                  ## 4-byte Folded Reload
	addq	%rax, %r9
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_sqlite3MPrintf
	movq	_SQLITE_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$-1, %edx
	callq	_sqlite3_result_text
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_SPACE,4,2                   ## @TK_SPACE
	.comm	_TK_DOT,4,2                     ## @TK_DOT
	.comm	_TK_ON,4,2                      ## @TK_ON
	.comm	_TK_WHEN,4,2                    ## @TK_WHEN
	.comm	_TK_FOR,4,2                     ## @TK_FOR
	.comm	_TK_BEGIN,4,2                   ## @TK_BEGIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s\"%w\"%s"

	.comm	_SQLITE_DYNAMIC,4,2             ## @SQLITE_DYNAMIC
	.no_dead_strip	_renameTriggerFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renameTriggerFunc
_renameTriggerFunc:                     ; @renameTriggerFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x0, [x2]
	bl	_sqlite3_value_text
	mov	x20, x0
	ldr	x0, [x21, #8]
	bl	_sqlite3_value_text
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_sqlite3_context_db_handle
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x23
	bl	_UNUSED_PARAMETER
	cbz	x20, LBB0_12
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
; %bb.2:
	mov	w23, #0
Lloh0:
	adrp	x25, _TK_SPACE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TK_SPACE@GOTPAGEOFF]
Lloh2:
	adrp	x26, _TK_DOT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TK_DOT@GOTPAGEOFF]
Lloh4:
	adrp	x27, _TK_ON@GOTPAGE
Lloh5:
	ldr	x27, [x27, _TK_ON@GOTPAGEOFF]
	mov	w28, #3
	mov	x24, x20
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x24]
	cbz	w8, LBB0_12
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x21, x23
	mov	x22, x24
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x24, x24, w23, sxtw
	add	x1, sp, #28
	mov	x0, x24
	bl	_sqlite3GetToken
	mov	x23, x0
	ldr	w8, [sp, #28]
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #0
	cset	w0, gt
	bl	_assert
	ldr	w8, [sp, #28]
	ldr	w9, [x26]
	ldr	w10, [x27]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w28, w28, #1
	cmp	w28, #2
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh6:
	adrp	x9, _TK_WHEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TK_WHEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _TK_FOR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TK_FOR@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _TK_BEGIN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _TK_BEGIN@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #2
	b	LBB0_4
LBB0_11:
	sub	w2, w22, w20
	add	x5, x22, w21, sxtw
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x0, x4, [sp, #8]                ; 16-byte Folded Reload
	mov	x3, x20
	bl	_sqlite3MPrintf
	mov	x1, x0
Lloh17:
	adrp	x8, _SQLITE_DYNAMIC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SQLITE_DYNAMIC@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_sqlite3_result_text
LBB0_12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_SPACE,4,2                   ; @TK_SPACE
	.comm	_TK_DOT,4,2                     ; @TK_DOT
	.comm	_TK_ON,4,2                      ; @TK_ON
	.comm	_TK_WHEN,4,2                    ; @TK_WHEN
	.comm	_TK_FOR,4,2                     ; @TK_FOR
	.comm	_TK_BEGIN,4,2                   ; @TK_BEGIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s\"%w\"%s"

	.comm	_SQLITE_DYNAMIC,4,2             ; @SQLITE_DYNAMIC
	.no_dead_strip	_renameTriggerFunc
.subsections_via_symbols
