	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disconnectAllVtab
_disconnectAllVtab:                     ## @disconnectAllVtab
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_sqlite3BtreeEnterAll
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	8(%r14), %rax
	movq	(%rax,%r12,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_sqliteHashFirst
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	%rbx, %rdi
	callq	_sqliteHashNext
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_sqliteHashData
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IsVirtual
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sqlite3VtabDisconnect
	jmp	LBB0_7
LBB0_9:
	leaq	4(%r14), %rdi
	callq	_sqliteHashFirst
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_sqliteHashNext
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_sqliteHashData
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	callq	_sqlite3VtabDisconnect
	jmp	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	callq	_sqlite3VtabUnlockList
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3BtreeLeaveAll           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_disconnectAllVtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disconnectAllVtab
_disconnectAllVtab:                     ; @disconnectAllVtab
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_sqlite3BtreeEnterAll
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x22, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x22, lsl #3]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_sqliteHashFirst
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	bl	_sqliteHashNext
	mov	x20, x0
	cbz	x0, LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_sqliteHashData
	mov	x21, x0
	bl	_IsVirtual
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_sqlite3VtabDisconnect
	b	LBB0_6
LBB0_9:
	add	x0, x19, #4
	bl	_sqliteHashFirst
	cbz	x0, LBB0_14
; %bb.10:
	mov	x20, x0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_sqliteHashNext
	mov	x20, x0
	cbz	x0, LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_sqliteHashData
	ldr	x1, [x0]
	cbz	x1, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_sqlite3VtabDisconnect
	b	LBB0_11
LBB0_14:
	mov	x0, x19
	bl	_sqlite3VtabUnlockList
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sqlite3BtreeLeaveAll
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_disconnectAllVtab
.subsections_via_symbols
