	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renameTableFunc
_renameTableFunc:                       ## @renameTableFunc
	.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	$40, %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, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_sqlite3_context_db_handle
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_UNUSED_PARAMETER
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	xorl	%r15d, %r15d
	leaq	-44(%rbp), %rbx
	movq	_TK_SPACE@GOTPCREL(%rip), %r12
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpb	$0, (%r13)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 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	(%r12), %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setg	%dil
	callq	_assert
	movl	-44(%rbp), %eax
	movq	_TK_LP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_TK_USING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
LBB0_7:
	movl	%r14d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subl	%ecx, %edx
	movslq	-48(%rbp), %r9                  ## 4-byte Folded Reload
	addq	%r14, %r9
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_sqlite3MPrintf
	movq	_SQLITE_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$-1, %edx
	callq	_sqlite3_result_text
LBB0_8:
	addq	$40, %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_LP,4,2                      ## @TK_LP
	.comm	_TK_USING,4,2                   ## @TK_USING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s\"%w\"%s"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renameTableFunc
_renameTableFunc:                       ; @renameTableFunc
	.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	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]                        ; 8-byte Folded Spill
	mov	x0, x19
	bl	_sqlite3_context_db_handle
	mov	x22, x0
	mov	x0, x23
	bl	_UNUSED_PARAMETER
	cbz	x20, LBB0_7
; %bb.1:
	mov	w23, #0
Lloh0:
	adrp	x25, _TK_SPACE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TK_SPACE@GOTPAGEOFF]
Lloh2:
	adrp	x26, _TK_LP@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TK_LP@GOTPAGEOFF]
	mov	x24, x20
Lloh4:
	adrp	x21, _TK_USING@GOTPAGE
Lloh5:
	ldr	x21, [x21, _TK_USING@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldrb	w8, [x24]
	cbz	w8, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x24
	mov	x28, x23
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x24, x24, w23, sxtw
	add	x1, sp, #12
	mov	x0, x24
	bl	_sqlite3GetToken
	mov	x23, x0
	ldr	w8, [sp, #12]
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, #0
	cset	w0, gt
	bl	_assert
	ldr	w8, [sp, #12]
	ldr	w9, [x26]
	ldr	w10, [x21]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_2
; %bb.6:
	sub	w2, w27, w20
	add	x5, x27, w28, sxtw
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x3, x20
	ldr	x4, [sp]                        ; 8-byte Folded Reload
	bl	_sqlite3MPrintf
	mov	x1, x0
Lloh8:
	adrp	x8, _SQLITE_DYNAMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SQLITE_DYNAMIC@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_sqlite3_result_text
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_SPACE,4,2                   ; @TK_SPACE
	.comm	_TK_LP,4,2                      ; @TK_LP
	.comm	_TK_USING,4,2                   ; @TK_USING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s\"%w\"%s"

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