	.file	"extr_vnodeStore.c_vnodeCleanUpOneVnode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vnodeCleanUpOneVnode
	.type	vnodeCleanUpOneVnode, @function
vnodeCleanUpOneVnode:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR vnodeList[rip], 0
	je	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	lea	rdi, dmutex[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR again.1939[rip]
	test	eax, eax
	jne	.L15
	mov	DWORD PTR again.1939[rip], 1
	movsx	rax, ebp
	lea	rbx, [rax+rax*2]
	mov	rax, QWORD PTR vnodeList[rip]
	sal	rbx, 3
	add	rax, rbx
	cmp	QWORD PTR 8[rax], 0
	jne	.L16
.L5:
	lea	rdi, dmutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	rdi, QWORD PTR vnodeList[rip]
	add	rdi, rbx
	cmp	QWORD PTR 8[rdi], 0
	jne	.L17
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	xor	esi, esi
	call	vnodeProcessCommitTimer@PLT
	mov	rax, QWORD PTR vnodeList[rip]
	cmp	QWORD PTR [rax+rbx], 0
	je	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, 10
	call	taosMsleep@PLT
	mov	rax, QWORD PTR vnodeList[rip]
	cmp	QWORD PTR [rax+rbx], 0
	jne	.L8
.L7:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	vnodeCleanUpCommit@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edx, DWORD PTR TSDB_STATUS_OFFLINE[rip]
	mov	edi, ebp
	mov	DWORD PTR 16[rax], edx
	call	vnodeClosePeerVnode@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, dmutex[rip]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	pthread_mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	vnodeCleanUpOneVnode, .-vnodeCleanUpOneVnode
	.local	again.1939
	.comm	again.1939,4,4
	.comm	vnodeList,8,8
	.comm	dmutex,4,4
	.comm	TSDB_STATUS_OFFLINE,4,4
	.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_vnodeStore.c_vnodeCleanUpOneVnode.c"
	.text
	.align	2
	.global	vnodeCleanUpOneVnode
	.syntax unified
	.arm
	.fpu softvfp
	.type	vnodeCleanUpOneVnode, %function
vnodeCleanUpOneVnode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, .L23
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r5, r0
	ldr	r0, .L23+4
	bl	pthread_mutex_lock
	ldr	r2, .L23+8
	ldr	r3, [r2]
	cmp	r3, #0
	bne	.L21
	mov	r1, #1
	ldr	r3, [r4]
	add	r6, r5, r5, lsl r1
	add	r3, r3, r6, lsl #2
	ldr	r0, [r3, #4]
	lsl	r6, r6, #2
	cmp	r0, #0
	str	r1, [r2]
	bne	.L22
.L5:
	ldr	r0, .L23+4
	bl	pthread_mutex_unlock
	ldr	r0, [r4]
	add	r0, r0, r6
	ldr	r3, [r0, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r1, #0
	bl	vnodeProcessCommitTimer
	ldr	r3, [r4]
	ldr	r3, [r3, r6]
	cmp	r3, #0
	beq	.L7
.L8:
	mov	r0, #10
	bl	taosMsleep
	ldr	r3, [r4]
	ldr	r3, [r3, r6]
	cmp	r3, #0
	bne	.L8
.L7:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	vnodeCleanUpCommit
.L22:
	ldr	r2, .L23+12
	mov	r0, r5
	ldr	r2, [r2]
	str	r2, [r3, #8]
	bl	vnodeClosePeerVnode
	b	.L5
.L21:
	ldr	r0, .L23+4
	pop	{r4, r5, r6, lr}
	b	pthread_mutex_unlock
.L24:
	.align	2
.L23:
	.word	vnodeList
	.word	dmutex
	.word	.LANCHOR0
	.word	TSDB_STATUS_OFFLINE
	.size	vnodeCleanUpOneVnode, .-vnodeCleanUpOneVnode
	.comm	vnodeList,4,4
	.comm	dmutex,4,4
	.comm	TSDB_STATUS_OFFLINE,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	again.4223, %object
	.size	again.4223, 4
again.4223:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
