	.file	"extr_sqlite3.c_likeFunc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"LIKE or GLOB pattern too complex"
	.align 8
.LC1:
	.string	"ESCAPE expression must be a single character"
	.text
	.p2align 4
	.type	likeFunc, @function
likeFunc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	sqlite3_context_db_handle@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	sqlite3_user_data@PLT
	mov	rdi, QWORD PTR [r12]
	mov	r14, rax
	call	sqlite3_value_bytes@PLT
	mov	rdx, QWORD PTR SQLITE_LIMIT_LIKE_PATTERN_LENGTH[rip]
	xor	edi, edi
	mov	ebx, eax
	mov	rax, QWORD PTR 0[rbp]
	cmp	DWORD PTR [rax+rdx*4], ebx
	sete	dil
	call	testcase@PLT
	mov	rdx, QWORD PTR SQLITE_LIMIT_LIKE_PATTERN_LENGTH[rip]
	mov	rax, QWORD PTR 0[rbp]
	xor	edi, edi
	mov	eax, DWORD PTR [rax+rdx*4]
	add	eax, 1
	cmp	eax, ebx
	sete	dil
	call	testcase@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR SQLITE_LIMIT_LIKE_PATTERN_LENGTH[rip]
	cmp	DWORD PTR [rax+rdx*4], ebx
	jl	.L20
	cmp	r15d, 3
	je	.L21
	mov	r15d, DWORD PTR [r14]
.L7:
	mov	rdi, QWORD PTR [r12]
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 8[r12]
	mov	rbp, rax
	call	sqlite3_value_text@PLT
	test	rax, rax
	je	.L1
	test	rbp, rbp
	je	.L1
	mov	rsi, rax
	mov	rdi, rbp
	mov	ecx, r15d
	mov	rdx, r14
	call	patternCompare@PLT
	xor	esi, esi
	cmp	QWORD PTR SQLITE_MATCH[rip], rax
	mov	rdi, r13
	sete	sil
	call	sqlite3_result_int@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 24
	.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
.L20:
	.cfi_restore_state
	mov	edx, -1
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	sqlite3_result_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, QWORD PTR 16[r12]
	call	sqlite3_value_text@PLT
	mov	QWORD PTR [rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L1
	mov	esi, -1
	call	sqlite3Utf8CharLen@PLT
	cmp	eax, 1
	je	.L6
	mov	edx, -1
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	sqlite3_result_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rsp
	call	sqlite3Utf8Read@PLT
	mov	r15d, eax
	jmp	.L7
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	likeFunc, .-likeFunc
	.comm	sqlite3_like_count,4,4
	.comm	SQLITE_MATCH,8,8
	.comm	SQLITE_LIMIT_LIKE_PATTERN_LENGTH,8,8
	.comm	SQLITE_BLOB,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_likeFunc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LIKE or GLOB pattern too complex\000"
	.align	2
.LC1:
	.ascii	"ESCAPE expression must be a single character\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	likeFunc, %function
likeFunc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L21
	sub	sp, sp, #8
	mov	r10, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r7, r0
	bl	sqlite3_context_db_handle
	mov	r5, r0
	mov	r0, r7
	bl	sqlite3_user_data
	mov	r9, r0
	ldr	r0, [r6]
	bl	sqlite3_value_bytes
	mov	r4, r0
	ldr	r8, .L21+4
	ldr	r3, [r5]
	ldr	r2, [r8]
	ldr	r0, [r3, r2, lsl #2]
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	testcase
	ldr	r2, [r8]
	ldr	r3, [r5]
	ldr	r3, [r3, r2, lsl #2]
	add	r3, r3, #1
	sub	r0, r3, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	testcase
	ldr	r3, [r5]
	ldr	r2, [r8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, r4
	blt	.L17
	cmp	r10, #3
	ldrne	r5, [r9]
	beq	.L18
.L7:
	ldr	r0, [r6]
	bl	sqlite3_value_text
	mov	r4, r0
	ldr	r0, [r6, #4]
	bl	sqlite3_value_text
	cmp	r0, #0
	cmpne	r4, #0
	bne	.L19
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	mov	r3, r5
	mov	r2, r9
	mov	r1, r0
	mov	r0, r4
	bl	patternCompare
	mov	r3, r0
	ldr	r2, .L21+8
	mov	r0, r7
	ldr	r1, [r2]
	sub	r1, r1, r3
	clz	r1, r1
	lsr	r1, r1, #5
	bl	sqlite3_result_int
	b	.L1
.L17:
	mov	r0, r7
	mvn	r2, #0
	ldr	r1, .L21+12
	bl	sqlite3_result_error
	b	.L1
.L18:
	ldr	r0, [r6, #8]
	bl	sqlite3_value_text
	cmp	r0, #0
	str	r0, [sp]
	beq	.L1
	mvn	r1, #0
	bl	sqlite3Utf8CharLen
	cmp	r0, #1
	beq	.L6
	mov	r0, r7
	mvn	r2, #0
	ldr	r1, .L21+16
	bl	sqlite3_result_error
	b	.L1
.L6:
	mov	r0, sp
	bl	sqlite3Utf8Read
	mov	r5, r0
	b	.L7
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	SQLITE_LIMIT_LIKE_PATTERN_LENGTH
	.word	SQLITE_MATCH
	.word	.LC0
	.word	.LC1
	.size	likeFunc, .-likeFunc
	.comm	sqlite3_like_count,4,4
	.comm	SQLITE_MATCH,4,4
	.comm	SQLITE_LIMIT_LIKE_PATTERN_LENGTH,4,4
	.comm	SQLITE_BLOB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
