	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renameParseSql
_renameParseSql:                        ## @renameParseSql
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	movl	$1, %eax
	testl	%r9d, %r9d
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_sqlite3FindDbName
LBB0_2:
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.4:
	movq	_PARSE_MODE_RENAME_COLUMN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_PARSE_MODE_RENAME_TABLE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	%r14, 48(%rbx)
	movl	$1, (%rbx)
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_sqlite3RunParser
	movl	%eax, %r15d
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_assert
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %r15d
	setne	%al
	cmpq	$0, -40(%rbp)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	-40(%rbp), %rax
	movq	%rax, 8(%rbx)
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.6:
	movq	_SQLITE_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_7:
	cmpl	(%r12), %r15d
	jne	LBB0_12
## %bb.8:
	cmpq	$0, 16(%rbx)
	jne	LBB0_12
## %bb.9:
	cmpq	$0, 24(%rbx)
	jne	LBB0_12
## %bb.10:
	cmpq	$0, 32(%rbx)
	jne	LBB0_12
## %bb.11:
	movq	_SQLITE_CORRUPT_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_12:
	movl	$0, (%r14)
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARSE_MODE_RENAME_TABLE,4,2    ## @PARSE_MODE_RENAME_TABLE
	.comm	_PARSE_MODE_RENAME_COLUMN,4,2   ## @PARSE_MODE_RENAME_COLUMN
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_NOMEM,4,2               ## @SQLITE_NOMEM
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ## @SQLITE_CORRUPT_BKPT
	.no_dead_strip	_renameParseSql
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renameParseSql
_renameParseSql:                        ; @renameParseSql
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	str	xzr, [sp, #8]
	mov	w23, #1
	mov	w0, #1
	cbnz	w5, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_sqlite3FindDbName
LBB0_2:
	str	w0, [x19]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x8, _PARSE_MODE_RENAME_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARSE_MODE_RENAME_TABLE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PARSE_MODE_RENAME_COLUMN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PARSE_MODE_RENAME_COLUMN@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x20, #56]
	str	x19, [x20, #48]
	str	w23, [x20]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_sqlite3RunParser
	mov	x21, x0
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh4:
	adrp	x22, _SQLITE_OK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	ldr	x8, [sp, #8]
	ccmp	x8, #0, #4, eq
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #8]
	str	x8, [x20, #8]
Lloh6:
	adrp	x8, _SQLITE_NOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh8:
	ldr	w8, [x8]
	cmp	x9, #0
	csel	w0, w21, w8, eq
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x20, #32]
Lloh9:
	adrp	x9, _SQLITE_CORRUPT_BKPT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SQLITE_CORRUPT_BKPT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, w9, w0, eq
LBB0_6:
	str	wzr, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PARSE_MODE_RENAME_TABLE,4,2    ; @PARSE_MODE_RENAME_TABLE
	.comm	_PARSE_MODE_RENAME_COLUMN,4,2   ; @PARSE_MODE_RENAME_COLUMN
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM,4,2               ; @SQLITE_NOMEM
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ; @SQLITE_CORRUPT_BKPT
	.no_dead_strip	_renameParseSql
.subsections_via_symbols
