	.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
	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
	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, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 12[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	sqlite3_context_db_handle@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r15, rax
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	r13, rax
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r14, rax
	call	sqlite3_value_bytes@PLT
	mov	rcx, QWORD PTR SQLITE_LIMIT_LIKE_PATTERN_LENGTH[rip]
	xor	edi, edi
	mov	ebp, eax
	mov	rax, QWORD PTR [r15]
	cmp	DWORD PTR [rax+rcx*4], ebp
	sete	dil
	call	testcase@PLT
	mov	rax, QWORD PTR [r15]
	mov	rcx, QWORD PTR SQLITE_LIMIT_LIKE_PATTERN_LENGTH[rip]
	xor	edi, edi
	mov	eax, DWORD PTR [rax+rcx*4]
	add	eax, 1
	cmp	eax, ebp
	sete	dil
	call	testcase@PLT
	mov	rax, QWORD PTR [r15]
	mov	rdx, QWORD PTR SQLITE_LIMIT_LIKE_PATTERN_LENGTH[rip]
	cmp	DWORD PTR [rax+rdx*4], ebp
	jl	.L20
	mov	rdi, QWORD PTR [rbx]
	call	sqlite3_value_text@PLT
	xor	edi, edi
	cmp	r13, rax
	sete	dil
	xor	ebp, ebp
	call	assert@PLT
	cmp	DWORD PTR 12[rsp], 3
	je	.L21
.L4:
	test	r14, r14
	je	.L1
	test	r13, r13
	jne	.L22
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 40
	.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, r12
	call	sqlite3_result_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, r12
	call	sqlite3_user_data@PLT
	mov	rsi, r14
	mov	rdi, r13
	mov	ecx, ebp
	mov	rdx, rax
	call	patternCompare@PLT
	mov	rdi, r12
	mov	esi, eax
	call	sqlite3_result_int@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, QWORD PTR 16[rbx]
	call	sqlite3_value_text@PLT
	mov	QWORD PTR 16[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, r12
	call	sqlite3_result_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rdi, 16[rsp]
	call	sqlite3Utf8Read@PLT
	mov	ebp, eax
	jmp	.L4
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	likeFunc, .-likeFunc
	.comm	sqlite3_like_count,4,4
	.comm	SQLITE_LIMIT_LIKE_PATTERN_LENGTH,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, fp, lr}
	ldr	r3, .L21
	sub	sp, sp, #12
	mov	r4, r2
	mov	fp, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r9, r0
	bl	sqlite3_context_db_handle
	mov	r6, r0
	ldr	r0, [r4]
	bl	sqlite3_value_text
	mov	r7, r0
	ldr	r0, [r4, #4]
	bl	sqlite3_value_text
	mov	r10, r0
	ldr	r0, [r4]
	bl	sqlite3_value_bytes
	mov	r5, r0
	ldr	r8, .L21+4
	ldr	r3, [r6]
	ldr	r2, [r8]
	ldr	r0, [r3, r2, lsl #2]
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	testcase
	ldr	r3, [r6]
	ldr	r2, [r8]
	ldr	r0, [r3, r2, lsl #2]
	add	r0, r0, #1
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	testcase
	ldr	r3, [r6]
	ldr	r2, [r8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, r5
	blt	.L17
	ldr	r0, [r4]
	bl	sqlite3_value_text
	sub	r0, r7, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	cmp	fp, #3
	movne	r4, #0
	beq	.L18
.L4:
	cmp	r10, #0
	cmpne	r7, #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, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	mov	r0, r9
	mvn	r2, #0
	ldr	r1, .L21+8
	bl	sqlite3_result_error
	b	.L1
.L19:
	mov	r0, r9
	bl	sqlite3_user_data
	mov	r1, r10
	mov	r2, r0
	mov	r3, r4
	mov	r0, r7
	bl	patternCompare
	mov	r1, r0
	mov	r0, r9
	bl	sqlite3_result_int
	b	.L1
.L18:
	ldr	r0, [r4, #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, r9
	mvn	r2, #0
	ldr	r1, .L21+12
	bl	sqlite3_result_error
	b	.L1
.L6:
	mov	r0, sp
	bl	sqlite3Utf8Read
	mov	r4, r0
	b	.L4
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	SQLITE_LIMIT_LIKE_PATTERN_LENGTH
	.word	.LC0
	.word	.LC1
	.size	likeFunc, .-likeFunc
	.comm	sqlite3_like_count,4,4
	.comm	SQLITE_LIMIT_LIKE_PATTERN_LENGTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
