	.file	"extr_sqlite3.c_lowerFunc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lowerFunc, @function
lowerFunc:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, esi
	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, 8
	.cfi_def_cfa_offset 64
	call	UNUSED_PARAMETER@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	rbx, rax
	call	sqlite3_value_bytes@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r13d, eax
	call	sqlite3_value_text@PLT
	xor	edi, edi
	cmp	rax, rbx
	sete	dil
	call	assert@PLT
	test	rbx, rbx
	jne	.L13
.L1:
	add	rsp, 8
	.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
.L13:
	.cfi_restore_state
	movsx	rsi, r13d
	mov	rdi, r12
	add	rsi, 1
	call	contextMalloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L1
	test	r13d, r13d
	jle	.L5
	lea	eax, -1[r13]
	mov	r15, r14
	lea	rbp, 1[rbx+rax]
	sub	r15, rbx
	.p2align 4,,10
	.p2align 3
.L6:
	movsx	edi, BYTE PTR [rbx]
	call	sqlite3Tolower@PLT
	mov	BYTE PTR [r15+rbx], al
	add	rbx, 1
	cmp	rbx, rbp
	jne	.L6
.L5:
	mov	ecx, DWORD PTR sqlite3_free[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edx, r13d
	mov	rsi, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r12
	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
	jmp	sqlite3_result_text@PLT
	.cfi_endproc
.LFE0:
	.size	lowerFunc, .-lowerFunc
	.comm	sqlite3_free,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_lowerFunc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lowerFunc, %function
lowerFunc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	mov	r7, r0
	mov	r0, r1
	bl	UNUSED_PARAMETER
	ldr	r0, [r4]
	bl	sqlite3_value_text
	mov	r5, r0
	ldr	r0, [r4]
	bl	sqlite3_value_bytes
	mov	r6, r0
	ldr	r0, [r4]
	bl	sqlite3_value_text
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r7
	add	r1, r6, #1
	bl	contextMalloc
	subs	r8, r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	cmp	r6, #0
	ble	.L5
	add	r5, r5, #1
	sub	r9, r6, #1
	sub	r5, r5, r8
	add	r9, r9, r8
	sub	r4, r8, #1
.L6:
	ldrb	r0, [r5, r4]	@ zero_extendqisi2
	bl	sqlite3Tolower
	strb	r0, [r4, #1]!
	cmp	r4, r9
	bne	.L6
.L5:
	ldr	r3, .L13
	mov	r2, r6
	mov	r1, r8
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	b	sqlite3_result_text
.L14:
	.align	2
.L13:
	.word	sqlite3_free
	.size	lowerFunc, .-lowerFunc
	.comm	sqlite3_free,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
