	.file	"extr_sqlite3_omit.c_patternCompare.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	patternCompare, @function
patternCompare:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	r13d, DWORD PTR [rdx]
	mov	QWORD PTR 56[rsp], rdi
	lea	r12, 56[rsp]
	mov	QWORD PTR 48[rsp], rsi
	mov	DWORD PTR 8[rsp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 4[rdx]
	mov	DWORD PTR 12[rsp], eax
	mov	rax, QWORD PTR 8[rdx]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 48[rsp]
	mov	QWORD PTR 24[rsp], rax
.L2:
	call	Utf8Read@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L101
	cmp	DWORD PTR 12[rsp], r14d
	je	.L102
	cmp	r14d, DWORD PTR 8[rsp]
	jne	.L22
	cmp	QWORD PTR 16[rbx], 0
	jne	.L23
	mov	rdi, r12
	call	sqlite3Utf8Read@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L39
	mov	r15, QWORD PTR 56[rsp]
.L22:
	mov	rdi, QWORD PTR 48[rsp]
	call	Utf8Read@PLT
	mov	ebp, eax
	cmp	r14d, eax
	je	.L34
	cmp	QWORD PTR 16[rsp], 0
	jne	.L103
.L38:
	cmp	r14d, r13d
	jne	.L39
	mov	rdi, QWORD PTR 56[rsp]
	cmp	rdi, r15
	je	.L39
	test	ebp, ebp
	jne	.L2
.L39:
	mov	eax, DWORD PTR SQLITE_NOMATCH[rip]
.L1:
	mov	rsi, QWORD PTR 72[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L104
	add	rsp, 88
	.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
.L107:
	.cfi_restore_state
	mov	ebp, ebx
	mov	rbx, QWORD PTR 40[rsp]
.L32:
	test	eax, eax
	je	.L39
	cmp	DWORD PTR 36[rsp], ebp
	je	.L39
.L34:
	mov	rdi, QWORD PTR 56[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L103:
	mov	edi, r14d
	call	sqlite3Tolower@PLT
	mov	edi, ebp
	mov	BYTE PTR 32[rsp], al
	call	sqlite3Tolower@PLT
	cmp	BYTE PTR 32[rsp], al
	jne	.L38
	cmp	r14d, 127
	jg	.L38
	cmp	ebp, 127
	jg	.L38
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, QWORD PTR 24[rsp]
	call	sqlite3Utf8Read@PLT
	mov	DWORD PTR 32[rsp], eax
	test	eax, eax
	je	.L39
	mov	rdi, r12
	call	sqlite3Utf8Read@PLT
	mov	DWORD PTR 36[rsp], 0
	cmp	eax, 94
	je	.L105
.L26:
	xor	ebp, ebp
	cmp	eax, 93
	je	.L106
.L90:
	xor	r14d, r14d
	test	eax, eax
	je	.L39
	mov	QWORD PTR 40[rsp], rbx
	mov	ebx, ebp
	mov	ebp, r14d
	mov	r14d, DWORD PTR 32[rsp]
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L28:
	cmp	r14d, eax
	mov	ebp, eax
	mov	eax, 1
	cmove	ebx, eax
.L29:
	mov	rdi, r12
	call	sqlite3Utf8Read@PLT
	test	eax, eax
	je	.L39
	cmp	eax, 93
	je	.L107
.L30:
	cmp	eax, 45
	jne	.L28
	mov	rcx, QWORD PTR 56[rsp]
	mov	rcx, QWORD PTR [rcx]
	test	rcx, rcx
	setne	sil
	cmp	rcx, 93
	setne	cl
	test	sil, cl
	je	.L28
	test	ebp, ebp
	jle	.L28
	mov	rdi, r12
	call	sqlite3Utf8Read@PLT
	cmp	r14d, ebp
	jl	.L46
	cmp	r14d, eax
	jg	.L46
	mov	ebx, 1
	xor	ebp, ebp
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L106:
	xor	ebp, ebp
	mov	rdi, r12
	cmp	DWORD PTR 32[rsp], 93
	sete	bpl
	call	sqlite3Utf8Read@PLT
	cmp	eax, 93
	jne	.L90
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L105:
	mov	rdi, r12
	call	sqlite3Utf8Read@PLT
	mov	DWORD PTR 36[rsp], 1
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L46:
	xor	ebp, ebp
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L101:
	mov	rdx, QWORD PTR 48[rsp]
	mov	eax, DWORD PTR SQLITE_NOMATCH[rip]
	cmp	QWORD PTR [rdx], 0
	jne	.L1
.L99:
	mov	eax, DWORD PTR SQLITE_MATCH[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L102:
	lea	rbp, 48[rsp]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR 56[rsp]
	call	Utf8Read@PLT
	cmp	r14d, eax
	je	.L7
	cmp	r13d, eax
	jne	.L108
.L8:
	mov	rdi, rbp
	call	sqlite3Utf8Read@PLT
	test	eax, eax
	jne	.L5
.L19:
	mov	eax, DWORD PTR SQLITE_NOWILDCARDMATCH[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	r13d, r14d
	jne	.L5
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L108:
	mov	r12d, eax
	test	eax, eax
	je	.L99
	cmp	DWORD PTR 8[rsp], eax
	je	.L109
.L10:
	cmp	r12d, 128
	jg	.L20
	cmp	QWORD PTR 16[rsp], 0
	jne	.L110
	mov	BYTE PTR 69[rsp], r12b
	mov	BYTE PTR 70[rsp], 0
.L16:
	mov	r12d, DWORD PTR 8[rsp]
	lea	rbp, 69[rsp]
.L18:
	mov	rdi, QWORD PTR 48[rsp]
	mov	rsi, rbp
	call	strcspn@PLT
	mov	rdx, QWORD PTR 48[rsp]
	cdqe
	lea	rsi, [rdx+rax*8]
	cmp	QWORD PTR [rsi], 0
	je	.L19
	mov	rdi, QWORD PTR 56[rsp]
	add	rsi, 8
	mov	ecx, r12d
	mov	rdx, rbx
	mov	QWORD PTR 48[rsp], rsi
	call	patternCompare
	cmp	DWORD PTR SQLITE_NOMATCH[rip], eax
	je	.L18
	jmp	.L1
.L111:
	mov	ecx, DWORD PTR 8[rsp]
	mov	rsi, QWORD PTR 48[rsp]
	mov	rdx, rbx
	mov	rdi, QWORD PTR 56[rsp]
	call	patternCompare
	cmp	DWORD PTR SQLITE_NOMATCH[rip], eax
	jne	.L1
.L20:
	mov	rdi, QWORD PTR 48[rsp]
	call	Utf8Read@PLT
	test	eax, eax
	je	.L19
	cmp	r12d, eax
	jne	.L20
	jmp	.L111
.L109:
	cmp	QWORD PTR 16[rbx], 0
	jne	.L11
	lea	rdi, 56[rsp]
	call	sqlite3Utf8Read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	jmp	.L19
.L11:
	xor	edi, edi
	cmp	eax, 127
	setle	dil
	call	assert@PLT
	mov	rsi, QWORD PTR 48[rsp]
	cmp	QWORD PTR [rsi], 0
	je	.L19
.L12:
	mov	rax, QWORD PTR 56[rsp]
	mov	ecx, r12d
	mov	rdx, rbx
	lea	rdi, -8[rax]
	call	patternCompare
	cmp	DWORD PTR SQLITE_NOMATCH[rip], eax
	jne	.L1
	mov	rdi, QWORD PTR 48[rsp]
	call	SQLITE_SKIP_UTF8@PLT
	mov	rsi, QWORD PTR 48[rsp]
	cmp	QWORD PTR [rsi], 0
	jne	.L12
	jmp	.L19
.L110:
	mov	edi, r12d
	call	sqlite3Toupper@PLT
	mov	edi, r12d
	mov	BYTE PTR 69[rsp], al
	call	sqlite3Tolower@PLT
	mov	BYTE PTR 71[rsp], 0
	mov	BYTE PTR 70[rsp], al
	jmp	.L16
.L104:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	patternCompare, .-patternCompare
	.comm	SQLITE_NOWILDCARDMATCH,4,4
	.comm	SQLITE_NOMATCH,4,4
	.comm	SQLITE_MATCH,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_omit.c_patternCompare.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	patternCompare, %function
patternCompare:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldm	r2, {r7, r9, fp}
	sub	sp, sp, #28
	mov	r5, r3
	ldr	r3, .L80
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r10, #0
.L2:
	bl	Utf8Read
	subs	r6, r0, #0
	beq	.L72
	cmp	r9, r6
	beq	.L5
	cmp	r6, r5
	bne	.L22
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L23
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	subs	r6, r0, #0
	beq	.L38
	ldr	r10, [sp, #12]
.L22:
	ldr	r0, [sp, #8]
	bl	Utf8Read
	cmp	r6, r0
	mov	r8, r0
	beq	.L32
	cmp	fp, #0
	bne	.L73
.L35:
	cmp	r6, r7
	bne	.L38
	ldr	r0, [sp, #12]
	cmp	r0, r10
	cmpne	r8, #0
	bne	.L2
.L38:
	ldr	r3, .L80+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L80
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L74
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	cmp	r7, r6
	beq	.L8
.L5:
	ldr	r0, [sp, #12]
	bl	Utf8Read
	cmp	r6, r0
	mov	r8, r0
	beq	.L7
	cmp	r7, r0
	bne	.L75
.L8:
	add	r0, sp, #8
	bl	sqlite3Utf8Read
	cmp	r0, #0
	bne	.L5
.L19:
	ldr	r3, .L80+8
	ldr	r0, [r3]
	b	.L1
.L31:
	ldm	sp, {r2, r3}
	cmp	r3, r2
	cmpne	r0, #0
	beq	.L38
.L32:
	ldr	r0, [sp, #12]
	b	.L2
.L73:
	mov	r0, r6
	bl	sqlite3Tolower
	mov	r3, r0
	mov	r0, r8
	str	r3, [sp]
	bl	sqlite3Tolower
	ldr	r3, [sp]
	cmp	r3, r0
	bne	.L35
	cmp	r6, #127
	cmple	r8, #127
	bgt	.L35
	b	.L32
.L23:
	add	r0, sp, #8
	bl	sqlite3Utf8Read
	subs	r6, r0, #0
	beq	.L38
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	cmp	r0, #94
	movne	r3, #0
	strne	r3, [sp, #4]
	beq	.L76
.L26:
	cmp	r0, #93
	movne	r3, #0
	strne	r3, [sp]
	beq	.L77
.L27:
	cmp	r0, #93
	cmpne	r0, #0
	movne	r8, #0
	bne	.L30
	b	.L31
.L28:
	cmp	r6, r0
	moveq	r3, #1
	moveq	r8, r6
	movne	r8, r0
	streq	r3, [sp]
.L29:
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	cmp	r0, #0
	cmpne	r0, #93
	beq	.L31
.L30:
	cmp	r0, #45
	bne	.L28
	ldr	r3, [sp, #12]
	ldr	r2, [r3]
	subs	r3, r2, #93
	movne	r3, #1
	cmp	r2, #0
	moveq	r3, #0
	cmp	r8, #0
	movle	r3, #0
	andgt	r3, r3, #1
	cmp	r3, #0
	beq	.L28
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	cmp	r6, r8
	movlt	r8, #0
	movge	r8, #1
	cmp	r6, r0
	movgt	r8, #0
	cmp	r8, #0
	ldr	r3, [sp]
	movne	r3, #1
	mov	r8, #0
	str	r3, [sp]
	b	.L29
.L77:
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	sub	r3, r6, #93
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [sp]
	b	.L27
.L76:
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	mov	r3, #1
	str	r3, [sp, #4]
	b	.L26
.L72:
	ldr	r3, [sp, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
.L70:
	ldr	r3, .L80+12
	ldr	r0, [r3]
	b	.L1
.L75:
	cmp	r0, #0
	beq	.L70
	cmp	r5, r0
	beq	.L78
.L10:
	cmp	r8, #128
	ble	.L67
	ldr	r6, .L80+4
.L20:
	ldr	r0, [sp, #8]
	bl	Utf8Read
	cmp	r0, #0
	beq	.L19
	cmp	r8, r0
	bne	.L20
	mov	r3, r5
	mov	r2, r4
	ldr	r1, [sp, #8]
	ldr	r0, [sp, #12]
	bl	patternCompare
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L20
	b	.L1
.L67:
	cmp	fp, #0
	strbeq	r8, [sp, #16]
	strbeq	fp, [sp, #17]
	bne	.L79
.L16:
	ldr	r7, .L80+4
.L18:
	ldr	r6, [sp, #8]
	add	r1, sp, #16
	mov	r0, r6
	bl	strcspn
	ldr	r3, [r6, r0, lsl #2]
	add	r1, r6, r0, lsl #2
	cmp	r3, #0
	beq	.L19
	mov	r3, r5
	add	r1, r1, #4
	mov	r2, r4
	ldr	r0, [sp, #12]
	str	r1, [sp, #8]
	bl	patternCompare
	ldr	r3, [r7]
	cmp	r3, r0
	beq	.L18
	b	.L1
.L78:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L11
	add	r0, sp, #12
	bl	sqlite3Utf8Read
	subs	r8, r0, #0
	bne	.L10
	b	.L19
.L11:
	cmp	r0, #127
	movgt	r0, #0
	movle	r0, #1
	bl	assert
	ldr	r1, [sp, #8]
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L19
	ldr	r5, .L80+4
.L12:
	ldr	r0, [sp, #12]
	mov	r3, r8
	mov	r2, r4
	sub	r0, r0, #4
	bl	patternCompare
	ldr	r3, [r5]
	cmp	r3, r0
	bne	.L1
	ldr	r0, [sp, #8]
	bl	SQLITE_SKIP_UTF8
	ldr	r1, [sp, #8]
	ldr	r3, [r1]
	cmp	r3, #0
	bne	.L12
	b	.L19
.L79:
	mov	r0, r8
	bl	sqlite3Toupper
	mov	r3, r0
	mov	r0, r8
	strb	r3, [sp, #16]
	bl	sqlite3Tolower
	mov	r3, #0
	strb	r0, [sp, #17]
	strb	r3, [sp, #18]
	b	.L16
.L74:
	bl	__stack_chk_fail
.L81:
	.align	2
.L80:
	.word	.LC0
	.word	SQLITE_NOMATCH
	.word	SQLITE_NOWILDCARDMATCH
	.word	SQLITE_MATCH
	.size	patternCompare, .-patternCompare
	.comm	SQLITE_NOWILDCARDMATCH,4,4
	.comm	SQLITE_NOMATCH,4,4
	.comm	SQLITE_MATCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
