	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idxFindCompatible
_idxFindCompatible:                     ## @idxFindCompatible
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	movq	(%rax), %r8
	movq	$0, -64(%rbp)
	testq	%rcx, %rcx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r12d
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	leaq	L_.str(%rip), %rcx
	leaq	-64(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_idxPrintfPrepareStmt
	movl	%eax, -44(%rbp)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_33
## %bb.5:
	movq	_SQLITE_ROW@GOTPCREL(%rip), %r14
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%ecx, %eax
	jne	LBB0_33
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_18 Depth 3
	movq	-64(%rbp), %rdi
	callq	_sqlite3_step
	cmpq	(%r14), %rax
	jne	LBB0_33
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, -56(%rbp)
	movq	-64(%rbp), %rdi
	movl	$1, %esi
	callq	_sqlite3_column_text
	testq	%r15, %r15
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rcx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$0, (%rcx)
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rax, %r8
	callq	_idxPrintfPrepareStmt
	movl	%eax, -44(%rbp)
	movb	$1, %r13b
	cmpl	(%rbx), %eax
	jne	LBB0_30
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_18 Depth 3
	movq	-56(%rbp), %rdi
	callq	_sqlite3_step
	cmpq	(%r14), %rax
	jne	LBB0_30
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sqlite3_column_int
	movl	%eax, %r15d
	movq	-56(%rbp), %rdi
	movl	$1, %esi
	callq	_sqlite3_column_int
	movl	%eax, %r13d
	movq	-56(%rbp), %rdi
	movl	$4, %esi
	callq	_sqlite3_column_text
	movq	%rax, %r14
	cmpl	%r12d, %r15d
	jge	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r15, %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=3
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
LBB0_18:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpl	$0, (%rbx)
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=3
	cmpl	%r13d, 4(%rbx)
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=3
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_sqlite3_stricmp
	testq	%rax, %rax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	$1, (%rbx)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpl	%r13d, 4(%rbx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_16
## %bb.27:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_sqlite3_stricmp
	testq	%rax, %rax
	movb	$1, %r13b
	jne	LBB0_16
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	8(%rbx), %rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	movq	_SQLITE_ROW@GOTPCREL(%rip), %r14
	jmp	LBB0_29
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	_SQLITE_ROW@GOTPCREL(%rip), %r14
	movb	$1, %r13b
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	-44(%rbp), %eax
	cmpl	(%rbx), %eax
	je	LBB0_13
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r13d, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	movq	_SQLITE_ROW@GOTPCREL(%rip), %r14
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdi
	callq	_idxFinalize
	movl	-44(%rbp), %eax
	movl	(%rbx), %ecx
	testb	%r13b, %r13b
	je	LBB0_6
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%ecx, %eax
	jne	LBB0_6
## %bb.32:
	movq	-64(%rbp), %rdi
	callq	_sqlite3_finalize
	movl	$1, %eax
	jmp	LBB0_34
LBB0_33:
	movq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rdi
	callq	_idxFinalize
	movl	-44(%rbp), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_34:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PRAGMA index_list=%Q"

	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_ROW,8,3                 ## @SQLITE_ROW
L_.str.1:                               ## @.str.1
	.asciz	"PRAGMA index_xInfo=%Q"

	.no_dead_strip	_idxFindCompatible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idxFindCompatible
_idxFindCompatible:                     ; @idxFindCompatible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x4
	mov	x21, x3
	mov	x22, x1
	ldr	x8, [x2]
	ldr	x4, [x8]
	str	xzr, [sp, #24]
	str	x0, [sp]                        ; 8-byte Folded Spill
	mov	w27, #0
	cbz	x3, LBB0_3
; %bb.1:
	mov	x8, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w27, w27, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
LBB0_3:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	add	x1, sp, #24
	mov	x0, x22
	mov	w2, #0
	bl	_idxPrintfPrepareStmt
	str	w0, [sp, #20]
Lloh2:
	adrp	x28, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x28, [x28, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_31
; %bb.4:
Lloh4:
	adrp	x19, _SQLITE_ROW@GOTPAGE
Lloh5:
	ldr	x19, [x19, _SQLITE_ROW@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, w9
	b.ne	LBB0_31
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	ldr	x0, [sp, #24]
	bl	_sqlite3_step
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_31
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [sp, #8]
	ldr	x0, [sp, #24]
	mov	w1, #1
	bl	_sqlite3_column_text
	mov	x4, x0
	cbz	x21, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x21
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	wzr, [x8]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #0
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_idxPrintfPrepareStmt
	str	w0, [sp, #20]
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x23
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	ldr	x0, [sp, #8]
	bl	_sqlite3_step
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_sqlite3_column_int
	mov	x26, x0
	ldr	x0, [sp, #8]
	mov	w1, #1
	bl	_sqlite3_column_int
	mov	x24, x0
	ldr	x0, [sp, #8]
	mov	w1, #4
	bl	_sqlite3_column_text
	mov	x25, x0
	cmp	w26, w27
	b.ge	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	x21, LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x26, x21
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	ldr	x26, [x26, #8]
	cbz	x26, LBB0_27
LBB0_17:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x26]
	cbnz	w8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	w8, [x26, #4]
	cmp	w8, w24
	b.ne	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	w0, [x26, #16]
	mov	x1, x25
	bl	_sqlite3_stricmp
	cbnz	x0, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w8, #1
	str	w8, [x26]
	b	LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=2
	cbz	x20, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w8, [x20, #4]
	cmp	w8, w24
	b.ne	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [x20, #16]
	mov	x1, x25
	bl	_sqlite3_stricmp
	cbnz	x0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x20, [x20, #8]
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	w8, [sp, #20]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_12
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w20, #1
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w20, #0
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [sp, #8]
	add	x0, sp, #20
	bl	_idxFinalize
	ldr	w8, [sp, #20]
	ldr	w9, [x28]
	cbz	w20, LBB0_5
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.30:
	ldr	x0, [sp, #24]
	bl	_sqlite3_finalize
	mov	w0, #1
	b	LBB0_32
LBB0_31:
	ldr	x1, [sp, #24]
	add	x0, sp, #20
	bl	_idxFinalize
	mov	w0, #0
	ldr	w8, [sp, #20]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_32:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PRAGMA index_list=%Q"

	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_ROW,8,3                 ; @SQLITE_ROW
l_.str.1:                               ; @.str.1
	.asciz	"PRAGMA index_xInfo=%Q"

	.no_dead_strip	_idxFindCompatible
.subsections_via_symbols
