	.file	"extr_sqlite3.c_sqlite3_strnicmp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3_strnicmp
	.type	sqlite3_strnicmp, @function
sqlite3_strnicmp:
.LFB0:
	.cfi_startproc
	endbr64
	lea	ecx, -1[rdx]
	test	edx, edx
	jle	.L2
	mov	rdx, QWORD PTR UpperToLower[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	movzx	r8d, BYTE PTR [rsi]
	mov	r9, QWORD PTR [rdx+r8*8]
	cmp	QWORD PTR [rdx+rax*8], r9
	jne	.L2
	sub	ecx, 1
	add	rdi, 1
	add	rsi, 1
	cmp	ecx, -1
	je	.L7
.L3:
	movzx	eax, BYTE PTR [rdi]
	test	al, al
	jne	.L12
.L2:
	test	ecx, ecx
	js	.L7
	mov	rdx, QWORD PTR UpperToLower[rip]
	movzx	eax, BYTE PTR [rdi]
	movzx	ecx, BYTE PTR [rsi]
	mov	rax, QWORD PTR [rdx+rax*8]
	sub	eax, DWORD PTR [rdx+rcx*8]
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	sqlite3_strnicmp, .-sqlite3_strnicmp
	.comm	UpperToLower,8,8
	.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_sqlite3_strnicmp.c"
	.text
	.align	2
	.global	sqlite3_strnicmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3_strnicmp, %function
sqlite3_strnicmp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	push	{r4, r5, r6, lr}
	sub	r2, r2, #1
	ble	.L2
	ldr	lr, .L15
	mov	r3, r0
	mov	ip, r1
	ldr	r4, [lr]
	b	.L3
.L14:
	ldrb	r6, [ip]	@ zero_extendqisi2
	ldr	r5, [r4, lr, lsl #2]
	ldr	lr, [r4, r6, lsl #2]
	add	ip, ip, #1
	cmp	r5, lr
	bne	.L2
	subs	r2, r2, #1
	bcc	.L7
.L3:
	mov	r0, r3
	ldrb	lr, [r3], #1	@ zero_extendqisi2
	mov	r1, ip
	cmp	lr, #0
	bne	.L14
.L2:
	cmp	r2, #0
	blt	.L7
	ldr	r3, .L15
	ldrb	r0, [r0]	@ zero_extendqisi2
	ldr	r3, [r3]
	ldrb	r2, [r1]	@ zero_extendqisi2
	ldr	r0, [r3, r0, lsl #2]
	ldr	r3, [r3, r2, lsl #2]
	sub	r0, r0, r3
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	UpperToLower
	.size	sqlite3_strnicmp, .-sqlite3_strnicmp
	.comm	UpperToLower,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
