	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destroyTable
_destroyTable:                          ## @destroyTable
	.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, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	cmpl	(%rax), %r12d
	setl	%al
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_destroyRootPage
	movl	%ebx, %r12d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%r12d, %eax
	movl	$0, %ebx
	cmovll	%eax, %ebx
	testl	%r12d, %r12d
	cmovel	%eax, %ebx
	movq	16(%r15), %r14
	testq	%r14, %r14
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %r13d
	movq	8(%r14), %rax
	xorl	%edi, %edi
	cmpq	8(%r15), %rax
	sete	%dil
	callq	_assert
	cmpl	%ebx, %r13d
	movl	%ebx, %eax
	cmovgl	%r13d, %eax
	cmpl	%r12d, %r13d
	cmovll	%eax, %ebx
	testl	%r12d, %r12d
	cmovel	%eax, %ebx
	movq	16(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	movq	8(%r15), %rsi
	callq	_sqlite3SchemaToIndex
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_destroyTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destroyTable
_destroyTable:                          ; @destroyTable
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
	mov	w22, #0
	ldr	w23, [x1]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w22, w8
	cset	w0, lt
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_assert
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_destroyRootPage
	mov	x22, x21
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cmp	w23, w22
	ccmp	w22, #0, #4, ge
	csel	w21, w23, wzr, eq
	ldr	x24, [x19, #16]
	cbz	x24, LBB0_5
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w25, [x24]
	ldr	x8, [x24, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	cmp	w25, w22
	ccmp	w22, #0, #4, ge
	ccmp	w25, w21, #4, eq
	csel	w21, w25, w21, gt
	ldr	x24, [x24, #16]
	cbnz	x24, LBB0_4
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	ldr	x1, [x19, #8]
	bl	_sqlite3SchemaToIndex
	mov	x22, x0
	tbz	w0, #31, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_destroyTable
.subsections_via_symbols
