	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_expert_analyze         ## -- Begin function sqlite3_expert_analyze
	.p2align	4, 0x90
_sqlite3_expert_analyze:                ## @sqlite3_expert_analyze
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_idxProcessTriggers
	movl	%eax, -44(%rbp)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_idxCreateCandidates
	movl	%eax, -44(%rbp)
	movl	(%rbx), %ecx
LBB0_2:
	cmpl	%ecx, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_idxPopulateStat1
	movl	%eax, -44(%rbp)
LBB0_4:
	movq	8(%r15), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.5:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %eax
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str(%rip), %r12
	leaq	-44(%rbp), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %ecx
	movq	(%r13), %r9
	testq	%r9, %r9
	movq	%r14, %r8
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rdx, %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_idxAppendText
	movl	%eax, 4(%r15)
	movq	16(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_6
## %bb.7:
	movl	-44(%rbp), %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
LBB0_8:
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_idxFindIndexes
	movl	(%rbx), %ecx
LBB0_10:
	cmpl	%ecx, %eax
	jne	LBB0_12
## %bb.11:
	movl	$1, (%r15)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s;%s%s\n"

L_.str.1:                               ## @.str.1
	.asciz	" -- stat1: "

L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_expert_analyze         ; -- Begin function sqlite3_expert_analyze
	.p2align	2
_sqlite3_expert_analyze:                ; @sqlite3_expert_analyze
	.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	x20, x1
	mov	x19, x0
	bl	_idxProcessTriggers
	str	w0, [sp, #12]
Lloh0:
	adrp	x22, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, w8
	b.eq	LBB0_4
LBB0_2:
	ldr	x23, [x19, #8]
	cbnz	x23, LBB0_5
	b	LBB0_8
LBB0_3:
	mov	x0, x19
	bl	_idxCreateCandidates
	str	w0, [sp, #12]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_2
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_idxPopulateStat1
	str	w0, [sp, #12]
	ldr	x23, [x19, #8]
	cbz	x23, LBB0_8
LBB0_5:
	ldr	w1, [x19, #4]
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x23, #8]
	ldr	x5, [x23]
	cmp	x5, #0
	csel	x4, x25, x24, eq
	add	x0, sp, #12
	mov	x2, x21
	bl	_idxAppendText
	mov	x1, x0
	str	w0, [x19, #4]
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_6
; %bb.7:
	ldr	w0, [sp, #12]
LBB0_8:
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_idxFindIndexes
	ldr	w8, [x22]
LBB0_10:
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x19]
LBB0_12:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s;%s%s\n"

l_.str.1:                               ; @.str.1
	.asciz	" -- stat1: "

l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
