	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function likeFunc
_likeFunc:                              ## @likeFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	callq	_sqlite3_context_db_handle
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_sqlite3_user_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdi
	callq	_sqlite3_value_bytes
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	_SQLITE_LIMIT_LIKE_PATTERN_LENGTH@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	xorl	%edi, %edi
	cmpl	(%rax,%rcx,4), %r14d
	sete	%dil
	callq	_testcase
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	incl	%eax
	xorl	%edi, %edi
	cmpl	%eax, %r14d
	sete	%dil
	callq	_testcase
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	cmpl	(%rax,%rcx,4), %r14d
	jle	LBB0_1
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$-1, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_error           ## TAILCALL
LBB0_1:
	cmpl	$3, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.2:
	movq	16(%r13), %rdi
	callq	_sqlite3_value_text
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %rdi
	movl	$-1, %esi
	callq	_sqlite3Utf8CharLen
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:
	leaq	-64(%rbp), %rdi
	callq	_sqlite3Utf8Read
	movl	%eax, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_6:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %r14d
LBB0_7:
	movq	(%r13), %rdi
	callq	_sqlite3_value_text
	movq	%rax, %rbx
	movq	8(%r13), %rdi
	callq	_sqlite3_value_text
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_patternCompare
	movq	_SQLITE_MATCH@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	sete	%sil
	movq	%r15, %rdi
	callq	_sqlite3_result_int
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_sqlite3_result_error
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_LIMIT_LIKE_PATTERN_LENGTH,8,3 ## @SQLITE_LIMIT_LIKE_PATTERN_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LIKE or GLOB pattern too complex"

L_.str.1:                               ## @.str.1
	.asciz	"ESCAPE expression must be a single character"

	.comm	_SQLITE_MATCH,8,3               ## @SQLITE_MATCH
	.comm	_SQLITE_BLOB,8,3                ## @SQLITE_BLOB
	.comm	_sqlite3_like_count,4,2         ## @sqlite3_like_count
	.no_dead_strip	_likeFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function likeFunc
_likeFunc:                              ; @likeFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_sqlite3_context_db_handle
	mov	x23, x0
	mov	x0, x19
	bl	_sqlite3_user_data
	mov	x20, x0
	ldr	x0, [x21]
	bl	_sqlite3_value_bytes
	mov	x24, x0
Lloh0:
	adrp	x25, _SQLITE_LIMIT_LIKE_PATTERN_LENGTH@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SQLITE_LIMIT_LIKE_PATTERN_LENGTH@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x25]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w0, w8
	cset	w0, eq
	bl	_testcase
	ldr	x8, [x23]
	ldr	x9, [x25]
	ldr	w8, [x8, x9, lsl #2]
	add	w8, w8, #1
	cmp	w24, w8
	cset	w0, eq
	bl	_testcase
	ldr	x8, [x23]
	ldr	x9, [x25]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w24, w8
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_sqlite3_result_error
LBB0_2:
	cmp	w22, #3
	b.ne	LBB0_6
; %bb.3:
	ldr	x0, [x21, #16]
	bl	_sqlite3_value_text
	str	x0, [sp, #8]
	cbz	x0, LBB0_11
; %bb.4:
	mov	w1, #-1
	bl	_sqlite3Utf8CharLen
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.5:
	add	x0, sp, #8
	bl	_sqlite3Utf8Read
	mov	x22, x0
	b	LBB0_7
LBB0_6:
	ldr	w22, [x20]
LBB0_7:
	ldr	x0, [x21]
	bl	_sqlite3_value_text
	mov	x23, x0
	ldr	x0, [x21, #8]
	bl	_sqlite3_value_text
	cbz	x0, LBB0_11
; %bb.8:
	cbz	x23, LBB0_11
; %bb.9:
	mov	x1, x0
	mov	x0, x23
	mov	x2, x20
	mov	x3, x22
	bl	_patternCompare
Lloh4:
	adrp	x8, _SQLITE_MATCH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQLITE_MATCH@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w1, eq
	mov	x0, x19
	bl	_sqlite3_result_int
	b	LBB0_11
LBB0_10:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_sqlite3_result_error
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_LIMIT_LIKE_PATTERN_LENGTH,8,3 ; @SQLITE_LIMIT_LIKE_PATTERN_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LIKE or GLOB pattern too complex"

l_.str.1:                               ; @.str.1
	.asciz	"ESCAPE expression must be a single character"

	.comm	_SQLITE_MATCH,8,3               ; @SQLITE_MATCH
	.comm	_SQLITE_BLOB,8,3                ; @SQLITE_BLOB
	.comm	_sqlite3_like_count,4,2         ; @sqlite3_like_count
	.no_dead_strip	_likeFunc
.subsections_via_symbols
