	.file	"extr_vnodeCommit.c_vnodeWriteToCommitLog.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"vid:%d, mem mapping space is not enough, wait for commit"
	.align 8
.LC1:
	.string	"vid:%d, mem mapping is close to limit, commit"
	.align 8
.LC2:
	.string	"vid:%d sid:%d, data is written to commit log"
	.text
	.p2align 4
	.globl	vnodeWriteToCommitLog
	.type	vnodeWriteToCommitLog, @function
vnodeWriteToCommitLog:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	movsx	rbp, DWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rdx
	sal	rbp, 5
	add	rbp, QWORD PTR vnodeList[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 0[rbp], 0
	je	.L1
	mov	eax, DWORD PTR 4[rbx]
	mov	BYTE PTR 36[rsp], sil
	mov	edi, esi
	lea	r12, 28[rbp]
	mov	esi, DWORD PTR 8[rbx]
	movsx	edi, dil
	mov	r13d, ecx
	mov	DWORD PTR 44[rsp], ecx
	mov	DWORD PTR 32[rsp], eax
	movsx	r15, r13d
	mov	DWORD PTR 40[rsp], esi
	add	esi, eax
	add	esi, ecx
	add	esi, edi
	mov	rdi, r12
	and	esi, 16777215
	mov	DWORD PTR 48[rsp], esi
	mov	DWORD PTR 28[rsp], esi
	call	pthread_mutex_lock@PLT
	mov	r14, QWORD PTR 0[rbp]
	movsx	rax, DWORD PTR 8[rbp]
	mov	rdx, r14
	sub	rdx, QWORD PTR 16[rbp]
	sub	rax, rdx
	lea	rdx, 124[r15]
	cmp	rax, rdx
	jb	.L9
	lea	rax, 24[r14+r15]
	lea	rsi, 32[rsp]
	mov	edx, 20
	mov	rdi, r14
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	call	memcpy@PLT
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, 20[r14]
	xor	eax, eax
	mov	edx, r13d
	call	memcpy@PLT
	mov	edx, 4
	lea	rsi, 28[rsp]
	xor	eax, eax
	lea	rdi, 20[r14+r15]
	call	memcpy@PLT
	mov	rdi, r12
	call	pthread_mutex_unlock@PLT
	movsx	rdx, DWORD PTR 24[rbp]
	mov	rax, QWORD PTR 0[rbp]
	sub	rax, QWORD PTR 16[rbp]
	cmp	rax, rdx
	jg	.L10
.L4:
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	dTrace@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r12
	call	pthread_mutex_unlock@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	dTrace@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	vnodeProcessCommitTimer@PLT
	mov	eax, DWORD PTR TSDB_CODE_ACTION_IN_PROGRESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	dTrace@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	vnodeProcessCommitTimer@PLT
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vnodeWriteToCommitLog, .-vnodeWriteToCommitLog
	.comm	vnodeList,8,8
	.comm	TSDB_CODE_ACTION_IN_PROGRESS,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_vnodeCommit.c_vnodeWriteToCommitLog.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vid:%d, mem mapping space is not enough, wait for c"
	.ascii	"ommit\000"
	.align	2
.LC1:
	.ascii	"vid:%d, mem mapping is close to limit, commit\000"
	.align	2
.LC2:
	.ascii	"vid:%d sid:%d, data is written to commit log\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vnodeWriteToCommitLog
	.syntax unified
	.arm
	.fpu softvfp
	.type	vnodeWriteToCommitLog, %function
vnodeWriteToCommitLog:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [r0]
	mov	r6, r0
	ldr	r0, .L12
	add	r4, r4, r4, lsl #2
	ldr	r7, [r0]
	lsl	r8, r4, #2
	ldr	ip, [r7, r8]
	mov	r5, r3
	ldr	r3, .L12+4
	sub	sp, sp, #36
	cmp	ip, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	moveq	r0, ip
	add	r4, r7, r4, lsl #2
	beq	.L1
	ldr	ip, [r6, #4]
	mov	r9, r2
	ldr	r2, [r6, #8]
	add	r10, r4, #16
	add	r3, ip, r2
	add	r3, r3, r5
	add	r3, r3, r1
	bic	r3, r3, #-16777216
	mov	r0, r10
	str	r3, [sp, #24]
	str	r3, [sp, #4]
	str	r2, [sp, #16]
	strb	r1, [sp, #12]
	str	r5, [sp, #20]
	str	ip, [sp, #8]
	bl	pthread_mutex_lock
	ldr	fp, [r7, r8]
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	sub	r2, fp, r2
	sub	r3, r3, r2
	add	r2, r5, #124
	cmp	r3, r2
	bcc	.L9
	add	r3, r5, #24
	add	r3, fp, r3
	str	r3, [r7, r8]
	mov	r2, #20
	add	r1, sp, #8
	mov	r0, fp
	bl	memcpy
	mov	r2, r5
	mov	r1, r9
	add	r0, fp, #20
	bl	memcpy
	mov	r2, #4
	add	r0, r5, #20
	add	r1, sp, r2
	add	r0, fp, r0
	bl	memcpy
	mov	r0, r10
	bl	pthread_mutex_unlock
	ldr	r3, [r7, r8]
	ldr	r1, [r4, #8]
	ldr	r2, [r4, #12]
	sub	r3, r3, r1
	cmp	r3, r2
	bgt	.L10
.L4:
	ldm	r6, {r1, r2}
	ldr	r0, .L12+8
	bl	dTrace
	mov	r0, #0
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r0, r10
	bl	pthread_mutex_unlock
	ldr	r1, [r6]
	ldr	r0, .L12+12
	bl	dTrace
	mov	r0, r4
	mov	r1, #0
	bl	vnodeProcessCommitTimer
	ldr	r3, .L12+16
	ldr	r0, [r3]
	b	.L1
.L10:
	ldr	r1, [r6]
	ldr	r0, .L12+20
	bl	dTrace
	mov	r0, r4
	mov	r1, #0
	bl	vnodeProcessCommitTimer
	b	.L4
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	vnodeList
	.word	.LC3
	.word	.LC2
	.word	.LC0
	.word	TSDB_CODE_ACTION_IN_PROGRESS
	.word	.LC1
	.size	vnodeWriteToCommitLog, .-vnodeWriteToCommitLog
	.comm	vnodeList,4,4
	.comm	TSDB_CODE_ACTION_IN_PROGRESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
