	.file	"extr_sqlite3.c_disconnectAllVtab.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	disconnectAllVtab, @function
disconnectAllVtab:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sqlite3BtreeEnterAll@PLT
	mov	eax, DWORD PTR 0[r13]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR 0[r13], ebx
	jle	.L2
.L6:
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L3
	call	sqliteHashFirst@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L5
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	sqliteHashNext@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L3
.L5:
	mov	rdi, rbp
	call	sqliteHashData@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IsVirtual@PLT
	test	rax, rax
	je	.L4
	mov	rsi, r12
	mov	rdi, r13
	call	sqlite3VtabDisconnect@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rdi, 4[r13]
	call	sqliteHashFirst@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	sqliteHashData@PLT
	mov	rsi, QWORD PTR [rax]
	test	rsi, rsi
	je	.L8
	mov	rdi, r13
	call	sqlite3VtabDisconnect@PLT
.L8:
	mov	rdi, rbp
	call	sqliteHashNext@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L9
.L7:
	mov	rdi, r13
	call	sqlite3VtabUnlockList@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sqlite3BtreeLeaveAll@PLT
	.cfi_endproc
.LFE0:
	.size	disconnectAllVtab, .-disconnectAllVtab
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sqlite3.c_disconnectAllVtab.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	disconnectAllVtab, %function
disconnectAllVtab:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	sqlite3BtreeEnterAll
	ldr	r2, [r6]
	cmp	r2, #0
	ble	.L2
	mov	r7, #0
	b	.L6
.L3:
	add	r7, r7, #1
	cmp	r2, r7
	ble	.L2
.L6:
	ldr	r3, [r6, #8]
	ldr	r0, [r3, r7, lsl #2]
	cmp	r0, #0
	beq	.L3
	bl	sqliteHashFirst
	subs	r4, r0, #0
	bne	.L5
	b	.L28
.L4:
	mov	r0, r4
	bl	sqliteHashNext
	subs	r4, r0, #0
	beq	.L28
.L5:
	mov	r0, r4
	bl	sqliteHashData
	mov	r5, r0
	bl	IsVirtual
	cmp	r0, #0
	beq	.L4
	mov	r1, r5
	mov	r0, r6
	bl	sqlite3VtabDisconnect
	mov	r0, r4
	bl	sqliteHashNext
	subs	r4, r0, #0
	bne	.L5
.L28:
	ldr	r2, [r6]
	add	r7, r7, #1
	cmp	r2, r7
	bgt	.L6
.L2:
	add	r0, r6, #4
	bl	sqliteHashFirst
	subs	r4, r0, #0
	beq	.L7
.L9:
	mov	r0, r4
	bl	sqliteHashData
	ldr	r1, [r0]
	cmp	r1, #0
	beq	.L8
	mov	r0, r6
	bl	sqlite3VtabDisconnect
.L8:
	mov	r0, r4
	bl	sqliteHashNext
	subs	r4, r0, #0
	bne	.L9
.L7:
	mov	r0, r6
	bl	sqlite3VtabUnlockList
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	sqlite3BtreeLeaveAll
	.size	disconnectAllVtab, .-disconnectAllVtab
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
