	.file	"extr_sqlite3.c_renameParentFunc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"%s%.*s\"%w\""
.LC2:
	.string	"%s%s"
	.text
	.p2align 4
	.type	renameParentFunc, @function
renameParentFunc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, 0
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 24[rsp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	sqlite3_context_db_handle@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r12, rax
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	r15, rax
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rsp], rax
	call	sqlite3_value_text@PLT
	mov	edi, ebp
	mov	QWORD PTR 16[rsp], rax
	call	UNUSED_PARAMETER@PLT
	cmp	BYTE PTR [r15], 0
	mov	QWORD PTR [rsp], r15
	lea	rdx, .LC0[rip]
	je	.L2
	lea	rbp, 36[rsp]
	mov	r14, r15
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	add	r14, rbx
	cmp	BYTE PTR [r14], 0
	je	.L5
.L8:
	mov	rsi, rbp
	mov	rdi, r14
	call	sqlite3GetToken@PLT
	movsx	rbx, eax
	mov	eax, DWORD PTR TK_REFERENCES[rip]
	cmp	DWORD PTR 36[rsp], eax
	jne	.L22
	mov	eax, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	cdqe
	mov	rsi, rbp
	add	r14, rax
	mov	rdi, r14
	call	sqlite3GetToken@PLT
	mov	ecx, DWORD PTR TK_SPACE[rip]
	cmp	DWORD PTR 36[rsp], ecx
	je	.L3
	movsx	rbx, eax
	mov	rsi, r14
	mov	rdi, r12
	mov	edx, ebx
	call	sqlite3DbStrNDup@PLT
	mov	r15, rax
	test	rax, rax
	je	.L5
	mov	rdi, rax
	add	rbx, r14
	call	sqlite3Dequote@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r15
	call	sqlite3StrICmp@PLT
	test	rax, rax
	jne	.L6
	mov	r8, QWORD PTR [rsp]
	mov	rcx, r14
	mov	r9, QWORD PTR 16[rsp]
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	sub	rcx, r8
	test	r13, r13
	cmovne	rdx, r13
	call	sqlite3MPrintf@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	r14, rax
	call	sqlite3DbFree@PLT
	mov	QWORD PTR [rsp], rbx
	mov	r13, r14
.L6:
	mov	rsi, r15
	mov	rdi, r12
	mov	r14, rbx
	call	sqlite3DbFree@PLT
	cmp	BYTE PTR [r14], 0
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	test	r13, r13
	lea	rdx, .LC0[rip]
	cmovne	rdx, r13
.L2:
	mov	rcx, QWORD PTR [rsp]
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	xor	eax, eax
	call	sqlite3MPrintf@PLT
	mov	ecx, DWORD PTR SQLITE_DYNAMIC[rip]
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, -1
	mov	rsi, rax
	call	sqlite3_result_text@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	sqlite3DbFree@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 56
	.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
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	renameParentFunc, .-renameParentFunc
	.comm	TK_SPACE,4,4
	.comm	TK_REFERENCES,4,4
	.comm	SQLITE_DYNAMIC,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_sqlite3.c_renameParentFunc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%s%.*s\"%w\"\000"
	.align	2
.LC2:
	.ascii	"%s%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	renameParentFunc, %function
renameParentFunc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L23
	sub	sp, sp, #36
	mov	r4, r2
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	str	r0, [sp, #20]
	bl	sqlite3_context_db_handle
	mov	r8, r0
	ldr	r0, [r4]
	bl	sqlite3_value_text
	mov	r10, r0
	ldr	r0, [r4, #4]
	bl	sqlite3_value_text
	mov	fp, r0
	ldr	r0, [r4, #8]
	bl	sqlite3_value_text
	mov	r2, r0
	mov	r0, r5
	str	r2, [sp, #16]
	bl	UNUSED_PARAMETER
	ldrb	r9, [r10]	@ zero_extendqisi2
	str	r10, [sp, #12]
	cmp	r9, #0
	beq	.L10
	mov	r9, #0
	ldr	r6, .L23+4
	ldr	r5, .L23+8
	b	.L8
.L4:
	ldrb	r2, [r10]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L5
.L8:
	mov	r0, r10
	add	r1, sp, #24
	bl	sqlite3GetToken
	ldr	ip, [sp, #24]
	ldr	r1, [r6]
	cmp	ip, r1
	addne	r10, r10, r0
	bne	.L4
.L3:
	add	r10, r10, r0
	mov	r0, r10
	add	r1, sp, #24
	bl	sqlite3GetToken
	ldr	r2, [sp, #24]
	ldr	r3, [r5]
	cmp	r2, r3
	beq	.L3
	mov	r2, r0
	mov	r4, r0
	mov	r1, r10
	mov	r0, r8
	bl	sqlite3DbStrNDup
	subs	r7, r0, #0
	beq	.L5
	bl	sqlite3Dequote
	mov	r1, r7
	mov	r0, fp
	bl	sqlite3StrICmp
	cmp	r0, #0
	add	r4, r10, r4
	bne	.L6
	ldr	r3, [sp, #16]
	cmp	r9, #0
	str	r3, [sp, #4]
	ldr	r3, [sp, #12]
	ldr	r2, .L23+12
	ldr	r1, .L23+16
	movne	r2, r9
	str	r3, [sp]
	mov	r0, r8
	sub	r3, r10, r3
	bl	sqlite3MPrintf
	mov	r3, r0
	mov	r1, r9
	mov	r0, r8
	mov	r9, r3
	bl	sqlite3DbFree
	str	r4, [sp, #12]
.L6:
	mov	r10, r4
	mov	r1, r7
	mov	r0, r8
	bl	sqlite3DbFree
	ldrb	r2, [r10]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L8
.L5:
	cmp	r9, #0
	ldr	r2, .L23+12
	movne	r2, r9
.L2:
	ldr	r3, [sp, #12]
	ldr	r1, .L23+20
	mov	r0, r8
	bl	sqlite3MPrintf
	ldr	r3, .L23+24
	mov	r1, r0
	mvn	r2, #0
	ldr	r3, [r3]
	ldr	r0, [sp, #20]
	bl	sqlite3_result_text
	mov	r1, r9
	mov	r0, r8
	bl	sqlite3DbFree
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r2, .L23+12
	b	.L2
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	TK_REFERENCES
	.word	TK_SPACE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	SQLITE_DYNAMIC
	.size	renameParentFunc, .-renameParentFunc
	.comm	TK_SPACE,4,4
	.comm	TK_REFERENCES,4,4
	.comm	SQLITE_DYNAMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
