	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isLikeOrGlob
_isLikeOrGlob:                          ## @isLikeOrGlob
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	16(%rdi), %r15
	leaq	-43(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r8, %rdx
	callq	_sqlite3IsLikeFunction
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_34
## %bb.1:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rbx
	movq	(%rbx), %rax
	movq	_TK_COLUMN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.2:
	movq	%rbx, %rdi
	callq	_sqlite3ExprAffinity
	movq	_SQLITE_AFF_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.3:
	movl	24(%rbx), %edi
	callq	_IsVirtual
	testq	%rax, %rax
	jne	LBB0_34
## %bb.4:
	xorl	%edi, %edi
	cmpl	$-1, 8(%rbx)
	setne	%dil
	callq	_assert
	movq	(%r12), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edi
	movq	_TK_REGISTER@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	12(%rbx), %edi
LBB0_6:
	movq	_TK_VARIABLE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_10
## %bb.7:
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rdi
	movl	8(%rbx), %ebx
	movq	_SQLITE_AFF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %esi
	callq	_sqlite3VdbeGetValue
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	%r14, %rdi
	callq	_sqlite3_value_type
	movq	_SQLITE_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	_sqlite3_value_text
	movq	%rax, %r12
	jmp	LBB0_14
LBB0_10:
	movq	_TK_STRING@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	movl	$0, %r12d
	cmpl	(%rax), %edi
	jne	LBB0_33
## %bb.11:
	movq	16(%rbx), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_13:
	xorl	%r12d, %r12d
LBB0_14:
	movq	(%r13), %rdi
	movl	%ebx, %esi
	callq	_sqlite3VdbeSetVarmask
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	_TK_VARIABLE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rax
	sete	%cl
	movq	_TK_REGISTER@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	cmpq	%rdx, %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movl	-56(%rbp), %edi                 ## 4-byte Reload
LBB0_15:
	testq	%r12, %r12
	je	LBB0_23
## %bb.16:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movb	-43(%rbp), %sil
	movb	-42(%rbp), %cl
	movb	-41(%rbp), %al
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rbx), %edx
	incq	%rbx
	testb	%dl, %dl
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	%sil, %dl
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	%cl, %dl
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	%al, %dl
	jne	LBB0_17
LBB0_21:
	xorl	%eax, %eax
	cmpl	$1, %ebx
	jne	LBB0_24
## %bb.22:
	xorl	%r12d, %r12d
	jmp	LBB0_32
LBB0_23:
	xorl	%r12d, %r12d
	jmp	LBB0_33
LBB0_24:
	movl	%edi, %r14d
	cmpb	%sil, %dl
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %ecx
	xorl	%eax, %eax
	cmpb	$0, (%r12,%rcx)
	sete	%al
LBB0_26:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_TK_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_sqlite3Expr
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leal	-1(%rbx), %ecx
	movq	16(%rax), %rdx
	movb	$0, (%rdx,%rcx)
LBB0_28:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_TK_VARIABLE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_32
## %bb.29:
	movq	(%r13), %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_sqlite3VdbeSetVarmask
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_32
## %bb.30:
	movq	16(%r15), %rax
	cmpb	$0, 1(%rax)
	je	LBB0_32
## %bb.31:
	movq	%r13, %rdi
	callq	_sqlite3GetTempReg
	movl	%eax, %r14d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_sqlite3ExprCodeTarget
	movq	%rbx, %rdi
	callq	_sqlite3VdbeCurrentAddr
	leaq	-1(%rax), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_sqlite3VdbeChangeP3
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_sqlite3ReleaseTempReg
LBB0_32:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_33:
	movq	%r14, %rdi
	callq	_sqlite3ValueFree
	xorl	%r14d, %r14d
	testq	%r12, %r12
	setne	%r14b
LBB0_34:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_COLUMN,8,3                  ## @TK_COLUMN
	.comm	_SQLITE_AFF_TEXT,8,3            ## @SQLITE_AFF_TEXT
	.comm	_TK_REGISTER,4,2                ## @TK_REGISTER
	.comm	_TK_VARIABLE,4,2                ## @TK_VARIABLE
	.comm	_SQLITE_AFF_NONE,4,2            ## @SQLITE_AFF_NONE
	.comm	_SQLITE_TEXT,8,3                ## @SQLITE_TEXT
	.comm	_TK_STRING,4,2                  ## @TK_STRING
	.no_dead_strip	_isLikeOrGlob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isLikeOrGlob
_isLikeOrGlob:                          ; @isLikeOrGlob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x23, [x0, #16]
	add	x3, sp, #13
	mov	x0, x23
	mov	x2, x4
	bl	_sqlite3IsLikeFunction
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x24, [x22, #32]
	ldr	x8, [x24]
	ldr	x22, [x8, #8]
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _TK_COLUMN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TK_COLUMN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_sqlite3ExprAffinity
Lloh3:
	adrp	x8, _SQLITE_AFF_TEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_AFF_TEXT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x22, #24]
	bl	_IsVirtual
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	ldr	w8, [x22, #8]
	cmn	w8, #1
	cset	w0, ne
	bl	_assert
	ldr	x8, [x24]
	ldr	x24, [x8]
	ldr	w27, [x24]
Lloh6:
	adrp	x28, _TK_REGISTER@GOTPAGE
Lloh7:
	ldr	x28, [x28, _TK_REGISTER@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, w27
	b.ne	LBB0_8
; %bb.7:
	ldr	w27, [x24, #12]
LBB0_8:
Lloh8:
	adrp	x26, _TK_VARIABLE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TK_VARIABLE@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w27, w8
	b.ne	LBB0_12
; %bb.9:
	ldr	x0, [x19, #8]
	ldr	w26, [x24, #8]
Lloh10:
	adrp	x8, _SQLITE_AFF_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_AFF_NONE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x1, x26
	bl	_sqlite3VdbeGetValue
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.10:
	mov	x0, x22
	bl	_sqlite3_value_type
Lloh13:
	adrp	x8, _SQLITE_TEXT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SQLITE_TEXT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.11:
	mov	x0, x22
	bl	_sqlite3_value_text
	mov	x25, x0
	b	LBB0_15
LBB0_12:
Lloh16:
	adrp	x8, _TK_STRING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TK_STRING@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ne	LBB0_21
; %bb.13:
	mov	x22, #0
	ldr	x25, [x24, #16]
	b	LBB0_16
LBB0_14:
	mov	x25, #0
LBB0_15:
	ldr	x0, [x19]
	mov	x1, x26
	bl	_sqlite3VdbeSetVarmask
	ldr	x8, [x24]
Lloh19:
	adrp	x26, _TK_VARIABLE@GOTPAGE
Lloh20:
	ldr	x26, [x26, _TK_VARIABLE@GOTPAGEOFF]
	ldrsw	x9, [x26]
	cmp	x8, x9
	ldrsw	x9, [x28]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
LBB0_16:
	cbz	x25, LBB0_31
; %bb.17:
	mov	x28, x26
	mov	x8, #0
	ldrb	w9, [sp, #13]
	ldrb	w10, [sp, #14]
	ldrb	w11, [sp, #15]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x25, x8]
	add	x8, x8, #1
	cmp	w12, #0
	ccmp	w12, w9, #4, ne
	ccmp	w12, w10, #4, ne
	ccmp	w12, w11, #4, ne
	b.ne	LBB0_18
; %bb.19:
	subs	w26, w8, #1
	b.ne	LBB0_22
; %bb.20:
	mov	x25, #0
	b	LBB0_31
LBB0_21:
	mov	x22, #0
	mov	x25, #0
	b	LBB0_31
LBB0_22:
	cmp	w12, w9
	b.ne	LBB0_24
; %bb.23:
	ldrb	w8, [x25, w8, uxtw]
	cmp	w8, #0
	cset	w8, eq
	b	LBB0_25
LBB0_24:
	mov	w8, #0
LBB0_25:
	str	w8, [x20]
Lloh21:
	adrp	x8, _TK_STRING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TK_STRING@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x25
	bl	_sqlite3Expr
	cbz	x0, LBB0_27
; %bb.26:
	ldr	x8, [x0, #16]
	strb	wzr, [x8, x26]
LBB0_27:
	str	x0, [x21]
	ldr	w8, [x28]
	cmp	w27, w8
	b.ne	LBB0_31
; %bb.28:
	ldr	x21, [x19]
	ldr	w1, [x24, #8]
	mov	x0, x21
	bl	_sqlite3VdbeSetVarmask
	ldr	w8, [x20]
	cbz	w8, LBB0_31
; %bb.29:
	ldr	x8, [x24, #16]
	ldrb	w8, [x8, #1]
	cbz	w8, LBB0_31
; %bb.30:
	mov	x0, x19
	bl	_sqlite3GetTempReg
	mov	x20, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_sqlite3ExprCodeTarget
	mov	x0, x21
	bl	_sqlite3VdbeCurrentAddr
	sub	x1, x0, #1
	mov	x0, x21
	mov	w2, #0
	bl	_sqlite3VdbeChangeP3
	mov	x0, x19
	mov	x1, x20
	bl	_sqlite3ReleaseTempReg
LBB0_31:
	mov	x0, x22
	bl	_sqlite3ValueFree
	cmp	x25, #0
	cset	w0, ne
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_COLUMN,8,3                  ; @TK_COLUMN
	.comm	_SQLITE_AFF_TEXT,8,3            ; @SQLITE_AFF_TEXT
	.comm	_TK_REGISTER,4,2                ; @TK_REGISTER
	.comm	_TK_VARIABLE,4,2                ; @TK_VARIABLE
	.comm	_SQLITE_AFF_NONE,4,2            ; @SQLITE_AFF_NONE
	.comm	_SQLITE_TEXT,8,3                ; @SQLITE_TEXT
	.comm	_TK_STRING,4,2                  ; @TK_STRING
	.no_dead_strip	_isLikeOrGlob
.subsections_via_symbols
