	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lintFkeyIndexes
_lintFkeyIndexes:                       ## @lintFkeyIndexes
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	cmpl	$3, %edx
	jl	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movl	%edx, %r12d
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$2, %r13d
	leaq	L_.str.3(%rip), %r14
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r13,8), %rdi
	callq	_strlen30
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r15d
	movq	(%rbx,%r13,8), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sqlite3_strnicmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r13,8), %rsi
	leaq	L_.str.4(%rip), %rdi
	movl	%r15d, %edx
	callq	_sqlite3_strnicmp
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.5(%rip), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_raw_printf
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_51
LBB0_8:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movq	_SQLITE_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_shellFkeyCollateClause@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.7(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	$0
	callq	_sqlite3_create_function
	addq	$16, %rsp
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	%eax, %r13d
	jne	LBB0_10
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %edx
	xorl	%r8d, %r8d
	callq	_sqlite3_prepare_v2
	movl	%eax, %r13d
	movl	(%r12), %eax
	cmpl	%eax, %r13d
	je	LBB0_15
LBB0_11:
	cmpl	%eax, %r13d
	jne	LBB0_16
LBB0_12:
	movq	_SQLITE_ROW@GOTPCREL(%rip), %r15
	movq	(%r15), %r14
	movq	-48(%rbp), %rdi
	callq	_sqlite3_step
	cmpq	%rax, %r14
	jne	LBB0_41
## %bb.13:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_21
LBB0_10:
	cmpl	%eax, %r13d
	jne	LBB0_11
LBB0_15:
	movq	-48(%rbp), %rdi
	movl	$1, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_sqlite3_bind_int
	movl	(%r12), %eax
	cmpl	%eax, %r13d
	je	LBB0_12
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3_errmsg
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_raw_printf
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.11(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_raw_printf
LBB0_19:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r15), %rbx
	movq	-48(%rbp), %rdi
	callq	_sqlite3_step
	cmpq	%rax, %rbx
	jne	LBB0_46
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r14
	movq	$0, -88(%rbp)
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sqlite3_column_text
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_sqlite3_column_text
	movq	%rax, %r15
	movq	-48(%rbp), %rdi
	movl	$2, %esi
	callq	_sqlite3_column_text
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdi
	movl	$3, %esi
	callq	_sqlite3_column_text
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdi
	movl	$4, %esi
	callq	_sqlite3_column_text
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdi
	movl	$5, %esi
	callq	_sqlite3_column_text
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$-1, %edx
	leaq	-88(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_sqlite3_prepare_v2
	cmpl	(%r12), %eax
	jne	LBB0_42
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r14), %rbx
	movq	-88(%rbp), %rdi
	callq	_sqlite3_step
	movl	$-1, %r12d
	cmpq	%rax, %rbx
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-88(%rbp), %rdi
	movl	$3, %esi
	callq	_sqlite3_column_text
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_sqlite3_strglob
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_sqlite3_strglob
	testq	%rax, %rax
	sete	%al
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movb	$1, %al
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movzbl	%al, %r12d
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-88(%rbp), %rdi
	callq	_sqlite3_finalize
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_45
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	testl	%r12d, %r12d
	js	LBB0_44
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=1
	testl	%r12d, %r12d
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	movq	%r14, %r15
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %r15
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movq	%r14, %r15
	movq	-128(%rbp), %r14                ## 8-byte Reload
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3_stricmp
	testq	%rax, %rax
	je	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_raw_printf
	movq	%rbx, %rdi
	callq	_sqlite3_free
	leaq	L_.str.10(%rip), %rdi
	movq	%r14, %rsi
	callq	_sqlite3_mprintf
	movq	%rax, %rbx
LBB0_37:                                ##   in Loop: Header=BB0_21 Depth=1
	testl	%r12d, %r12d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.38:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.39:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.12(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	jmp	LBB0_18
LBB0_41:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_46
LBB0_42:
	movl	%eax, %r13d
	jmp	LBB0_46
LBB0_44:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_raw_printf
LBB0_45:
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
LBB0_46:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3_free
	cmpl	(%r12), %r13d
	je	LBB0_48
## %bb.47:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3_errmsg
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_raw_printf
LBB0_48:
	movq	-48(%rbp), %rdi
	callq	_sqlite3_finalize
	movl	%eax, %r14d
	movl	(%r12), %eax
	cmpl	%eax, %r13d
	jne	LBB0_51
## %bb.49:
	cmpl	%eax, %r14d
	je	LBB0_51
## %bb.50:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3_errmsg
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_raw_printf
	movl	%r14d, %r13d
LBB0_51:
	movl	%r13d, %eax
	addq	$88, %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
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"SELECT      'EXPLAIN QUERY PLAN SELECT 1 FROM ' || quote(s.name) || ' WHERE '  || group_concat(quote(s.name) || '.' || quote(f.[from]) || '=?'   || fkey_collate_clause(       f.[table], COALESCE(f.[to], p.[name]), s.name, f.[from]),' AND '),      'SEARCH TABLE ' || s.name || ' USING COVERING INDEX*('  || group_concat('*=?', ' AND ') || ')',      s.name  || '(' || group_concat(f.[from],  ', ') || ')',      f.[table] || '(' || group_concat(COALESCE(f.[to], p.[name])) || ')',      'CREATE INDEX ' || quote(s.name ||'_'|| group_concat(f.[from], '_'))  || ' ON ' || quote(s.name) || '('  || group_concat(quote(f.[from]) ||        fkey_collate_clause(          f.[table], COALESCE(f.[to], p.[name]), s.name, f.[from]), ', ')  || ');',      f.[table] FROM sqlite_master AS s, pragma_foreign_key_list(s.name) AS f LEFT JOIN pragma_table_info AS p ON (pk-1=seq AND p.arg=f.[table]) GROUP BY s.name, f.id ORDER BY (CASE WHEN ? THEN f.[table] ELSE s.name END)"

L_.str.2:                               ## @.str.2
	.asciz	"SEARCH TABLE * USING INTEGER PRIMARY KEY (rowid=?)"

L_.str.3:                               ## @.str.3
	.asciz	"-verbose"

L_.str.4:                               ## @.str.4
	.asciz	"-groupbyparent"

L_.str.5:                               ## @.str.5
	.asciz	"    "

	.comm	_stderr,8,3                     ## @stderr
L_.str.6:                               ## @.str.6
	.asciz	"Usage: %s %s ?-verbose? ?-groupbyparent?\n"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
L_.str.7:                               ## @.str.7
	.asciz	"fkey_collate_clause"

	.comm	_SQLITE_UTF8,4,2                ## @SQLITE_UTF8
	.comm	_shellFkeyCollateClause,4,2     ## @shellFkeyCollateClause
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_ROW,8,3                 ## @SQLITE_ROW
L_.str.8:                               ## @.str.8
	.asciz	"Error: internal error"

L_.str.9:                               ## @.str.9
	.asciz	"-- Parent table %s\n"

L_.str.10:                              ## @.str.10
	.asciz	"%s"

L_.str.11:                              ## @.str.11
	.asciz	"%s%s --> %s\n"

L_.str.12:                              ## @.str.12
	.asciz	"%s/* no extra indexes required for %s -> %s */\n"

L_.str.13:                              ## @.str.13
	.asciz	"%s\n"

	.no_dead_strip	_lintFkeyIndexes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lintFkeyIndexes
_lintFkeyIndexes:                       ; @lintFkeyIndexes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldp	x8, x20, [x0]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	str	xzr, [sp, #56]
	cmp	w2, #3
	b.lt	LBB0_8
; %bb.1:
	mov	x22, x1
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
	mov	w21, #0
	mov	w8, w2
	lsl	x26, x8, #3
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	w27, #16
Lloh2:
	adrp	x23, l_.str.3@PAGE
Lloh3:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh4:
	adrp	x24, l_.str.4@PAGE
Lloh5:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh6:
	adrp	x28, l_.str.5@PAGE
Lloh7:
	add	x28, x28, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #8
	cmp	x26, x27
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22, x27]
	bl	_strlen30
	cmp	w0, #2
	b.lt	LBB0_38
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldr	x1, [x22, x27]
	mov	x0, x23
	mov	x2, x25
	bl	_sqlite3_strnicmp
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x22, x27]
	mov	x0, x24
	mov	x2, x25
	bl	_sqlite3_strnicmp
	cbnz	x0, LBB0_38
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, #1
	mov	x19, x28
	b	LBB0_3
LBB0_8:
	mov	w21, #0
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
Lloh8:
	adrp	x19, l_.str@PAGE
Lloh9:
	add	x19, x19, l_.str@PAGEOFF
LBB0_9:
Lloh10:
	adrp	x8, _SQLITE_UTF8@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x8, _shellFkeyCollateClause@GOTPAGE
Lloh14:
	ldr	x8, [x8, _shellFkeyCollateClause@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x25, x20
	mov	x0, x20
	mov	w2, #4
	mov	w4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_sqlite3_create_function
Lloh18:
	adrp	x20, _SQLITE_OK@GOTPAGE
Lloh19:
	ldr	x20, [x20, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x3, sp, #56
	mov	x0, x25
	mov	w2, #-1
	mov	w4, #0
	bl	_sqlite3_prepare_v2
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w23, w8
	b.eq	LBB0_12
	b	LBB0_13
LBB0_11:
	mov	x23, x0
	cmp	w23, w8
	b.ne	LBB0_13
LBB0_12:
	ldr	x0, [sp, #56]
	mov	w1, #1
	mov	x2, x21
	bl	_sqlite3_bind_int
	ldr	w8, [x20]
LBB0_13:
	cmp	w23, w8
	b.ne	LBB0_15
; %bb.14:
Lloh22:
	adrp	x22, _SQLITE_ROW@GOTPAGE
Lloh23:
	ldr	x22, [x22, _SQLITE_ROW@GOTPAGEOFF]
	ldr	x24, [x22]
	ldr	x0, [sp, #56]
	bl	_sqlite3_step
	cmp	x24, x0
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	mov	x20, #0
	b.eq	LBB0_19
	b	LBB0_41
LBB0_15:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	x20, [x8]
	mov	x0, x25
	bl	_sqlite3_errmsg
	str	x0, [sp]
Lloh27:
	adrp	x1, l_.str.13@PAGE
Lloh28:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_raw_printf
	b	LBB0_45
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x20, x9
	stp	x25, x28, [sp, #8]
	str	x19, [sp]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
Lloh29:
	adrp	x1, l_.str.11@PAGE
Lloh30:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	bl	_raw_printf
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x24, [x22]
	ldr	x0, [sp, #56]
	bl	_sqlite3_step
	cmp	x24, x0
	b.ne	LBB0_41
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #48]
	ldr	x0, [sp, #56]
	mov	w1, #0
	bl	_sqlite3_column_text
	mov	x23, x0
	ldr	x0, [sp, #56]
	mov	w1, #1
	bl	_sqlite3_column_text
	mov	x24, x0
	ldr	x0, [sp, #56]
	mov	w1, #2
	bl	_sqlite3_column_text
	mov	x27, x0
	ldr	x0, [sp, #56]
	mov	w1, #3
	bl	_sqlite3_column_text
	mov	x28, x0
	ldr	x0, [sp, #56]
	mov	w1, #4
	bl	_sqlite3_column_text
	mov	x25, x0
	ldr	x0, [sp, #56]
	mov	w1, #5
	bl	_sqlite3_column_text
	mov	x26, x0
	add	x3, sp, #48
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	w2, #-1
	mov	w4, #0
	bl	_sqlite3_prepare_v2
Lloh31:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_39
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x23, [x22]
	ldr	x0, [sp, #48]
	bl	_sqlite3_step
	cmp	x23, x0
	b.ne	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x0, [sp, #48]
	mov	w1, #3
	bl	_sqlite3_column_text
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_sqlite3_strglob
	cbz	x0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_sqlite3_strglob
	cmp	x0, #0
	cset	w24, eq
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w24, #-1
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w24, #1
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x0, [sp, #48]
	bl	_sqlite3_finalize
	mov	x23, x0
Lloh36:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_41
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	tbnz	w24, #31, LBB0_40
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	cbz	w21, LBB0_34
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	cbnz	w24, LBB0_18
LBB0_30:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x9, x20
	cbz	x20, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x26
	mov	x1, x20
	bl	_sqlite3_stricmp
	mov	x9, x20
	cbz	x0, LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=1
	str	x26, [sp]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x20, x9
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_raw_printf
	mov	x0, x20
	bl	_sqlite3_free
Lloh41:
	adrp	x0, l_.str.10@PAGE
Lloh42:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x26
	bl	_sqlite3_mprintf
	mov	x9, x0
LBB0_33:                                ;   in Loop: Header=BB0_19 Depth=1
	cbnz	w24, LBB0_35
	b	LBB0_16
LBB0_34:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x9, x20
	cbz	w24, LBB0_16
LBB0_35:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x20, x9
	stp	x27, x28, [sp, #8]
	str	x19, [sp]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
Lloh43:
	adrp	x1, l_.str.12@PAGE
Lloh44:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_17
LBB0_37:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x20, x9
	b	LBB0_18
LBB0_38:
Lloh45:
	adrp	x8, _stderr@GOTPAGE
Lloh46:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh47:
	ldr	x0, [x8]
	ldp	x8, x9, [x22]
	stp	x8, x9, [sp]
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_raw_printf
Lloh50:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh52:
	ldr	w23, [x8]
	b	LBB0_45
LBB0_39:
	mov	x23, x0
	b	LBB0_41
LBB0_40:
Lloh53:
	adrp	x8, _stderr@GOTPAGE
Lloh54:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh55:
	ldr	x0, [x8]
Lloh56:
	adrp	x1, l_.str.8@PAGE
Lloh57:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_raw_printf
LBB0_41:
	mov	x0, x20
	bl	_sqlite3_free
Lloh58:
	adrp	x21, _SQLITE_OK@GOTPAGE
Lloh59:
	ldr	x21, [x21, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w23, w8
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	b.eq	LBB0_43
; %bb.42:
Lloh60:
	adrp	x8, _stderr@GOTPAGE
Lloh61:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh62:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_sqlite3_errmsg
	str	x0, [sp]
Lloh63:
	adrp	x1, l_.str.13@PAGE
Lloh64:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_raw_printf
LBB0_43:
	ldr	x0, [sp, #56]
	bl	_sqlite3_finalize
	ldr	w8, [x21]
	cmp	w23, w8
	ccmp	w0, w8, #4, eq
	b.eq	LBB0_45
; %bb.44:
	mov	x20, x0
Lloh65:
	adrp	x8, _stderr@GOTPAGE
Lloh66:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh67:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_sqlite3_errmsg
	str	x0, [sp]
Lloh68:
	adrp	x1, l_.str.13@PAGE
Lloh69:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_raw_printf
	mov	x23, x20
LBB0_45:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"SELECT      'EXPLAIN QUERY PLAN SELECT 1 FROM ' || quote(s.name) || ' WHERE '  || group_concat(quote(s.name) || '.' || quote(f.[from]) || '=?'   || fkey_collate_clause(       f.[table], COALESCE(f.[to], p.[name]), s.name, f.[from]),' AND '),      'SEARCH TABLE ' || s.name || ' USING COVERING INDEX*('  || group_concat('*=?', ' AND ') || ')',      s.name  || '(' || group_concat(f.[from],  ', ') || ')',      f.[table] || '(' || group_concat(COALESCE(f.[to], p.[name])) || ')',      'CREATE INDEX ' || quote(s.name ||'_'|| group_concat(f.[from], '_'))  || ' ON ' || quote(s.name) || '('  || group_concat(quote(f.[from]) ||        fkey_collate_clause(          f.[table], COALESCE(f.[to], p.[name]), s.name, f.[from]), ', ')  || ');',      f.[table] FROM sqlite_master AS s, pragma_foreign_key_list(s.name) AS f LEFT JOIN pragma_table_info AS p ON (pk-1=seq AND p.arg=f.[table]) GROUP BY s.name, f.id ORDER BY (CASE WHEN ? THEN f.[table] ELSE s.name END)"

l_.str.2:                               ; @.str.2
	.asciz	"SEARCH TABLE * USING INTEGER PRIMARY KEY (rowid=?)"

l_.str.3:                               ; @.str.3
	.asciz	"-verbose"

l_.str.4:                               ; @.str.4
	.asciz	"-groupbyparent"

l_.str.5:                               ; @.str.5
	.asciz	"    "

	.comm	_stderr,8,3                     ; @stderr
l_.str.6:                               ; @.str.6
	.asciz	"Usage: %s %s ?-verbose? ?-groupbyparent?\n"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
l_.str.7:                               ; @.str.7
	.asciz	"fkey_collate_clause"

	.comm	_SQLITE_UTF8,4,2                ; @SQLITE_UTF8
	.comm	_shellFkeyCollateClause,4,2     ; @shellFkeyCollateClause
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_ROW,8,3                 ; @SQLITE_ROW
l_.str.8:                               ; @.str.8
	.asciz	"Error: internal error"

l_.str.9:                               ; @.str.9
	.asciz	"-- Parent table %s\n"

l_.str.10:                              ; @.str.10
	.asciz	"%s"

l_.str.11:                              ; @.str.11
	.asciz	"%s%s --> %s\n"

l_.str.12:                              ; @.str.12
	.asciz	"%s/* no extra indexes required for %s -> %s */\n"

l_.str.13:                              ; @.str.13
	.asciz	"%s\n"

	.no_dead_strip	_lintFkeyIndexes
.subsections_via_symbols
