	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function analyzeTable
_analyzeTable:                          ## @analyzeTable
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	movl	16(%rbx), %edi
	callq	_sqlite3BtreeHoldsAllMutexes
	movl	%eax, %edi
	callq	_assert
	movl	16(%rbx), %edi
	movl	4(%r15), %esi
	callq	_sqlite3SchemaToIndex
	movl	%eax, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_sqlite3BeginWriteOperation
	movl	(%rbx), %r13d
	leal	3(%r13), %eax
	movl	%eax, (%rbx)
	testq	%r14, %r14
	movq	%r14, %rax
	cmoveq	%r15, %rax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %r8
	cmoveq	%rcx, %r8
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_openStatTable
	movq	8(%rbx), %r8
	incq	%r8
	movl	(%rbx), %r9d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_analyzeOneTable
	movq	%rbx, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_loadAnalysis                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"idx"

L_.str.1:                               ## @.str.1
	.asciz	"tbl"

	.no_dead_strip	_analyzeTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function analyzeTable
_analyzeTable:                          ; @analyzeTable
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	ldr	w0, [x19, #16]
	bl	_sqlite3BtreeHoldsAllMutexes
	bl	_assert
	ldr	w0, [x19, #16]
	ldr	w1, [x21, #4]
	bl	_sqlite3SchemaToIndex
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	bl	_sqlite3BeginWriteOperation
	ldr	w23, [x19]
	add	w8, w23, #3
	str	w8, [x19]
	cmp	x20, #0
	csel	x8, x21, x20, eq
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	csel	x4, x10, x9, eq
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_openStatTable
	ldr	x8, [x19, #8]
	add	x4, x8, #1
	ldr	w5, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_analyzeOneTable
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_loadAnalysis
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"idx"

l_.str.1:                               ; @.str.1
	.asciz	"tbl"

	.no_dead_strip	_analyzeTable
.subsections_via_symbols
