	.file	"extr_alter.c_renameTableTest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	renameTableTest, @function
renameTableTest:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	DWORD PTR 8[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	sqlite3_context_db_handle@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	rbx, rax
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	r12, rax
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 32[rbp]
	mov	r13, rax
	call	sqlite3_value_int@PLT
	mov	r14, QWORD PTR 8[rbx]
	mov	r9d, DWORD PTR 8[rsp]
	mov	QWORD PTR 8[rbx], 0
	mov	ecx, DWORD PTR [rbx]
	mov	esi, DWORD PTR SQLITE_LegacyAlter[rip]
	mov	DWORD PTR 16[rsp], eax
	mov	edi, r9d
	mov	DWORD PTR 24[rsp], ecx
	mov	DWORD PTR 28[rsp], esi
	call	UNUSED_PARAMETER@PLT
	test	r12, r12
	je	.L2
	test	r13, r13
	jne	.L28
.L2:
	mov	QWORD PTR 8[rbx], r14
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	lea	r11, 48[rsp]
	mov	r9d, DWORD PTR 16[rsp]
	mov	rcx, rbx
	mov	r8, r13
	mov	rdi, r11
	mov	edx, 1
	mov	rsi, r12
	mov	QWORD PTR 8[rsp], r11
	call	renameParseSql@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	mov	r11, QWORD PTR 8[rsp]
	mov	ecx, eax
	je	.L30
.L9:
	mov	rcx, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	mov	r8, r11
	mov	esi, 1
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], r11
	call	renameColumnParseError@PLT
	mov	r11, QWORD PTR 8[rsp]
.L13:
	mov	rdi, r11
	call	renameParseCleanup@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edx, DWORD PTR 28[rsp]
	test	DWORD PTR 24[rsp], edx
	jne	.L4
	mov	rax, QWORD PTR 72[rsp]
	test	rax, rax
	je	.L5
	cmp	QWORD PTR [rax], 0
	jne	.L31
.L5:
	cmp	QWORD PTR 56[rsp], 0
	je	.L13
	mov	eax, DWORD PTR 16[rsp]
	mov	esi, 0
	mov	rdi, r11
	mov	QWORD PTR 8[rsp], r11
	test	eax, eax
	cmove	rsi, r12
	call	renameResolveTrigger@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	mov	r11, QWORD PTR 8[rsp]
	mov	ecx, eax
	jne	.L9
	mov	rax, QWORD PTR 56[rsp]
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR [rax]
	mov	rdi, rbx
	mov	QWORD PTR 16[rsp], r11
	mov	DWORD PTR 8[rsp], ecx
	call	sqlite3SchemaToIndex@PLT
	mov	rsi, r12
	mov	rdi, rbx
	mov	r13d, eax
	call	sqlite3FindDbName@PLT
	mov	ecx, DWORD PTR 8[rsp]
	mov	r11, QWORD PTR 16[rsp]
	cmp	r13d, eax
	je	.L32
.L7:
	cmp	DWORD PTR SQLITE_OK[rip], ecx
	jne	.L9
	mov	rdi, r11
	call	renameParseCleanup@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 56[rsp]
	test	rax, rax
	jne	.L10
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L31:
	lea	r12, 40[rsp]
	xor	esi, esi
	mov	edx, 8
	mov	DWORD PTR 16[rsp], ecx
	mov	rdi, r12
	call	memset@PLT
	mov	rax, QWORD PTR 72[rsp]
	mov	r11, QWORD PTR 8[rsp]
	mov	rdx, r12
	mov	rsi, QWORD PTR [rax]
	mov	rdi, r11
	mov	QWORD PTR 40[rsp], r11
	call	sqlite3SelectPrep@PLT
	cmp	QWORD PTR 64[rsp], 0
	mov	r11, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR 16[rsp]
	je	.L7
	mov	ecx, DWORD PTR 48[rsp]
	jmp	.L7
.L32:
	mov	esi, 1
	mov	rdi, r15
	call	sqlite3_result_int@PLT
	mov	r11, QWORD PTR 16[rsp]
	mov	ecx, DWORD PTR 8[rsp]
	jmp	.L7
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	renameTableTest, .-renameTableTest
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_LegacyAlter,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_alter.c_renameTableTest.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	renameTableTest, %function
renameTableTest:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L36
	sub	sp, sp, #44
	mov	r5, r2
	mov	r9, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r8, r0
	bl	sqlite3_context_db_handle
	mov	r4, r0
	ldr	r0, [r5]
	bl	sqlite3_value_text
	mov	r6, r0
	ldr	r0, [r5, #4]
	bl	sqlite3_value_text
	mov	r10, r0
	ldr	r0, [r5, #16]
	bl	sqlite3_value_int
	mov	r1, #0
	ldr	r2, .L36+4
	mov	r7, r0
	ldr	r3, [r2]
	mov	r0, r9
	ldr	r9, [r4, #4]
	str	r1, [r4, #4]
	ldr	fp, [r4]
	str	r3, [sp, #12]
	bl	UNUSED_PARAMETER
	cmp	r6, #0
	cmpne	r10, #0
	bne	.L31
.L2:
	ldr	r3, .L36
	str	r9, [r4, #4]
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L32
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L31:
	mov	r3, r4
	mov	r2, #1
	mov	r1, r6
	str	r10, [sp]
	str	r7, [sp, #4]
	add	r0, sp, #20
	bl	renameParseSql
	ldr	r3, .L36+8
	mov	r1, r0
	ldr	r2, [r3]
	mov	r10, r0
	cmp	r2, r0
	beq	.L33
.L9:
	add	r3, sp, #20
	str	r3, [sp]
	mov	r0, r8
	mov	r1, #1
	ldr	r3, [r5, #12]
	ldr	r2, [r5, #8]
	bl	renameColumnParseError
.L13:
	add	r0, sp, #20
	bl	renameParseCleanup
	b	.L2
.L33:
	ldr	r2, [sp, #12]
	tst	fp, r2
	bne	.L4
	ldr	r2, [sp, #32]
	cmp	r2, #0
	beq	.L5
	ldr	r1, [r2]
	cmp	r1, #0
	bne	.L34
.L5:
	ldr	r2, [sp, #24]
	cmp	r2, #0
	beq	.L13
	cmp	r7, #0
	moveq	r1, r6
	movne	r1, #0
	add	r0, sp, #20
	bl	renameResolveTrigger
	ldr	r3, .L36+8
	mov	r10, r0
	ldr	r2, [r3]
	cmp	r2, r0
	bne	.L9
	ldr	r2, [sp, #24]
.L10:
	ldr	r1, [r2]
	mov	r0, r4
	bl	sqlite3SchemaToIndex
	mov	r2, r0
	mov	r1, r6
	mov	r0, r4
	mov	r6, r2
	bl	sqlite3FindDbName
	cmp	r6, r0
	ldr	r3, .L36+8
	beq	.L35
.L7:
	ldr	r3, [r3]
	cmp	r3, r10
	beq	.L13
	b	.L9
.L4:
	ldr	r2, [sp, #24]
	cmp	r2, #0
	bne	.L10
	b	.L13
.L34:
	add	r2, sp, #16
	add	r0, sp, #20
	str	r0, [sp, #16]
	bl	sqlite3SelectPrep
	ldr	r2, [sp, #28]
	ldr	r3, .L36+8
	cmp	r2, #0
	ldrne	r2, [sp, #20]
	movne	r10, r2
	b	.L7
.L35:
	mov	r1, #1
	mov	r0, r8
	bl	sqlite3_result_int
	ldr	r3, .L36+8
	b	.L7
.L32:
	bl	__stack_chk_fail
.L37:
	.align	2
.L36:
	.word	.LC0
	.word	SQLITE_LegacyAlter
	.word	SQLITE_OK
	.size	renameTableTest, .-renameTableTest
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_LegacyAlter,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
