	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pragmaVtabBestIndex
_pragmaVtabBestIndex:                   ## @pragmaVtabBestIndex
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movabsq	$4607182418800017408, %rax      ## imm = 0x3FF0000000000000
	movq	%rax, (%rsi)
	cmpq	$0, (%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r15
	movq	24(%rsi), %rbx
	movq	$0, -56(%rbp)
	movl	8(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	addq	$16, %rbx
	movl	$1, %r13d
	movq	_SQLITE_INDEX_CONSTRAINT_EQ@GOTPCREL(%rip), %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r13), %ecx
	addq	$24, %rbx
	cmpl	%eax, %r13d
	movl	%ecx, %r13d
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rbx)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-8(%rbx), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %r12
	subq	8(%rdi), %r12
	jl	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	cmpl	$2, %r12d
	setl	%dil
	callq	_assert
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movslq	%r12d, %rax
	movl	%r13d, -56(%rbp,%rax,4)
	movl	8(%r15), %eax
	jmp	LBB0_7
LBB0_8:
	movslq	-56(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.10:
	movq	16(%r15), %rax
	movabsq	$4294967297, %rdx               ## imm = 0x100000001
	movq	%rdx, -8(%rax,%rcx,8)
	movslq	-52(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	movabsq	$4626322717216342016, %rdx      ## imm = 0x4034000000000000
	movq	%rdx, (%r15)
	movl	$20, 12(%r15)
	movabsq	$4294967298, %rdx               ## imm = 0x100000002
	movq	%rdx, -8(%rax,%rcx,8)
	jmp	LBB0_12
LBB0_9:
	movabsq	$4746794007244308480, %rax      ## imm = 0x41DFFFFFFFC00000
	movq	%rax, (%r15)
	movl	$2147483647, 12(%r15)           ## imm = 0x7FFFFFFF
LBB0_12:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_INDEX_CONSTRAINT_EQ,8,3 ## @SQLITE_INDEX_CONSTRAINT_EQ
	.no_dead_strip	_pragmaVtabBestIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pragmaVtabBestIndex
lCPI0_0:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pragmaVtabBestIndex:                   ; @pragmaVtabBestIndex
	.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	x8, #4607182418800017408
	str	x8, [x1]
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x19, x1
	ldr	x9, [x1, #24]
	str	xzr, [sp, #8]
	ldr	w8, [x1, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x20, x0
	add	x21, x9, #16
	mov	w22, #1
Lloh0:
	adrp	x23, _SQLITE_INDEX_CONSTRAINT_EQ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SQLITE_INDEX_CONSTRAINT_EQ@GOTPAGEOFF]
	add	x24, sp, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w22, #1
	add	x21, x21, #24
	cmp	w22, w8
	mov	x22, x9
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x9, [x21, #-16]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x9, [x21, #-8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x21]
	ldr	x10, [x20, #8]
	subs	x25, x9, x10
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #2
	cset	w0, lt
	bl	_assert
	sbfiz	x8, x25, #2, #32
	str	w22, [x24, x8]
	ldr	w8, [x19, #8]
	b	LBB0_3
LBB0_8:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_11
; %bb.9:
	sub	w9, w8, #1
	ldr	x8, [x19, #16]
	movi.2s	v0, #1
	str	d0, [x8, w9, sxtw #3]
	ldr	w9, [sp, #12]
	cbz	w9, LBB0_12
; %bb.10:
	mov	x10, #4626322717216342016
	str	x10, [x19]
	mov	w10, #20
	str	w10, [x19, #12]
	sub	w9, w9, #1
Lloh2:
	adrp	x10, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [x8, w9, sxtw #3]
	b	LBB0_12
LBB0_11:
	mov	x8, #281474972516352
	movk	x8, #16863, lsl #48
	str	x8, [x19]
	mov	w8, #2147483647
	str	w8, [x19, #12]
LBB0_12:
Lloh4:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	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 AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_INDEX_CONSTRAINT_EQ,8,3 ; @SQLITE_INDEX_CONSTRAINT_EQ
	.no_dead_strip	_pragmaVtabBestIndex
.subsections_via_symbols
