	.file	"extr_tscServer.c_tscEstimateHeartBeatMsgLength.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tscEstimateHeartBeatMsgLength
	.type	tscEstimateHeartBeatMsgLength, @function
tscEstimateHeartBeatMsgLength:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rsi, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR tsRpcHeadSize[rip]
	mov	rcx, QWORD PTR 8[rsi]
	lea	eax, 8[rdx]
	test	rcx, rcx
	je	.L2
	add	edx, 12
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, QWORD PTR [rcx]
	mov	eax, edx
	add	edx, 4
	test	rcx, rcx
	jne	.L3
.L2:
	mov	rdx, QWORD PTR [rsi]
	add	eax, 4
	test	rdx, rdx
	je	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR [rdx]
	add	eax, 4
	test	rdx, rdx
	jne	.L5
.L4:
	add	eax, DWORD PTR TSDB_EXTRA_PAYLOAD_SIZE[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	tscEstimateHeartBeatMsgLength, .-tscEstimateHeartBeatMsgLength
	.comm	tsRpcHeadSize,8,8
	.comm	TSDB_EXTRA_PAYLOAD_SIZE,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_tscServer.c_tscEstimateHeartBeatMsgLength.c"
	.text
	.align	2
	.global	tscEstimateHeartBeatMsgLength
	.syntax unified
	.arm
	.fpu softvfp
	.type	tscEstimateHeartBeatMsgLength, %function
tscEstimateHeartBeatMsgLength:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r0, [r0, #4]
	ldr	r3, .L15
	ldr	r1, [r0, #4]
	ldr	r2, [r3]
	cmp	r1, #0
	add	r3, r2, #8
	beq	.L2
	add	r2, r2, #12
.L3:
	ldr	r1, [r1]
	mov	r3, r2
	cmp	r1, #0
	add	r2, r2, #4
	bne	.L3
.L2:
	ldr	r2, [r0]
	add	r3, r3, #4
	cmp	r2, #0
	beq	.L4
.L5:
	ldr	r2, [r2]
	add	r3, r3, #4
	cmp	r2, #0
	bne	.L5
.L4:
	ldr	r2, .L15+4
	ldr	r0, [r2]
	add	r0, r3, r0
	bx	lr
.L16:
	.align	2
.L15:
	.word	tsRpcHeadSize
	.word	TSDB_EXTRA_PAYLOAD_SIZE
	.size	tscEstimateHeartBeatMsgLength, .-tscEstimateHeartBeatMsgLength
	.comm	tsRpcHeadSize,4,4
	.comm	TSDB_EXTRA_PAYLOAD_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
