	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whereLikeOptimizationStringFixup
_whereLikeOptimizationStringFixup:      ## @whereLikeOptimizationStringFixup
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TERM_LIKEOPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_4
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rsi)
	setg	%dil
	callq	_assert
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_sqlite3VdbeGetOp
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	_OP_String8@GOTPCREL(%rip), %rcx
	movl	$1, %edi
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
LBB0_3:
	callq	_assert
	movl	(%r14), %eax
	movl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 8(%rbx)
	andl	$1, %eax
	movq	%rax, 16(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TERM_LIKEOPT,4,2               ## @TERM_LIKEOPT
	.comm	_OP_String8,8,3                 ## @OP_String8
	.no_dead_strip	_whereLikeOptimizationStringFixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereLikeOptimizationStringFixup
_whereLikeOptimizationStringFixup:      ; @whereLikeOptimizationStringFixup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _TERM_LIKEOPT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TERM_LIKEOPT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	mov	x0, x20
	mov	w1, #-1
	bl	_sqlite3VdbeGetOp
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _OP_String8@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OP_String8@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
LBB0_4:
	bl	_assert
	ldr	w8, [x19]
	asr	w9, w8, #1
	str	w9, [x20, #8]
	and	x8, x8, #0x1
	str	x8, [x20, #16]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TERM_LIKEOPT,4,2               ; @TERM_LIKEOPT
	.comm	_OP_String8,8,3                 ; @OP_String8
	.no_dead_strip	_whereLikeOptimizationStringFixup
.subsections_via_symbols
