	.file	"extr_tscFunctionImpl.c_spread_function_finalizer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	spread_function_finalizer
	.type	spread_function_finalizer, @function
spread_function_finalizer:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	GET_RES_INFO@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR SECONDARY_STAGE_MERGE[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L12
	mov	rax, QWORD PTR 8[rbp]
	cmp	rax, QWORD PTR TSDB_DATA_TYPE_TINYINT[rip]
	jge	.L13
.L5:
	xor	edi, edi
	cmp	QWORD PTR TSDB_DATA_TYPE_TIMESTAMP[rip], rax
	sete	dil
.L6:
	call	assert@PLT
	mov	rdi, rbp
	call	GET_RES_INFO@PLT
	mov	rcx, QWORD PTR DATA_SET_FLAG[rip]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR [rax], rcx
	jne	.L10
	movsd	xmm0, QWORD PTR 8[rax]
	subsd	xmm0, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 16[rbp]
	movsd	QWORD PTR [rdx], xmm0
.L4:
	mov	rdi, rbp
	call	GET_RES_INFO@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	rdi, rax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	resetResultInfo@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	cmp	rax, QWORD PTR TSDB_DATA_TYPE_DOUBLE[rip]
	mov	edi, 1
	jle	.L6
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	xor	edi, edi
	cmp	QWORD PTR 8[rbp], rax
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR DATA_SET_FLAG[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L3
.L10:
	mov	edx, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR 28[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	setNull@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 32[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	movsd	xmm0, QWORD PTR 24[rax]
	subsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR [rdx], xmm0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	spread_function_finalizer, .-spread_function_finalizer
	.comm	TSDB_DATA_TYPE_TINYINT,8,8
	.comm	TSDB_DATA_TYPE_TIMESTAMP,8,8
	.comm	TSDB_DATA_TYPE_DOUBLE,8,8
	.comm	TSDB_DATA_TYPE_BINARY,8,8
	.comm	SECONDARY_STAGE_MERGE,8,8
	.comm	DATA_SET_FLAG,8,8
	.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_tscFunctionImpl.c_spread_function_finalizer.c"
	.text
	.global	__aeabi_dsub
	.align	2
	.global	spread_function_finalizer
	.syntax unified
	.arm
	.fpu softvfp
	.type	spread_function_finalizer, %function
spread_function_finalizer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	GET_RES_INFO
	ldr	r3, .L14
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
	ldr	r2, .L14+4
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	bge	.L13
.L5:
	ldr	r2, .L14+8
	ldr	r0, [r2]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
.L6:
	bl	assert
	mov	r0, r4
	bl	GET_RES_INFO
	ldr	r3, .L14+12
	ldr	r1, [r0, #4]
	ldr	r3, [r3]
	ldr	r2, [r1]
	cmp	r2, r3
	bne	.L10
	add	r3, r1, #16
	ldmia	r3, {r2-r3}
	add	r1, r1, #8
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	ldr	r3, [r4, #8]
	stm	r3, {r0-r1}
	mov	r0, r4
	bl	GET_RES_INFO
	pop	{r4, r5, r6, lr}
	b	resetResultInfo
.L13:
	ldr	r2, .L14+16
	ldr	r2, [r2]
	cmp	r3, r2
	movle	r0, #1
	ble	.L6
	b	.L5
.L12:
	ldr	r3, .L14+20
	mov	r5, r0
	ldr	r3, [r3]
	ldr	r0, [r4, #4]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, .L14+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
.L10:
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #16]
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	setNull
.L3:
	ldr	r1, [r4, #20]
	ldr	r5, [r4, #8]
	ldmia	r1, {r2-r3}
	add	r1, r1, #24
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	stm	r5, {r0-r1}
	mov	r0, r4
	bl	GET_RES_INFO
	pop	{r4, r5, r6, lr}
	b	resetResultInfo
.L15:
	.align	2
.L14:
	.word	SECONDARY_STAGE_MERGE
	.word	TSDB_DATA_TYPE_TINYINT
	.word	TSDB_DATA_TYPE_TIMESTAMP
	.word	DATA_SET_FLAG
	.word	TSDB_DATA_TYPE_DOUBLE
	.word	TSDB_DATA_TYPE_BINARY
	.size	spread_function_finalizer, .-spread_function_finalizer
	.comm	TSDB_DATA_TYPE_TINYINT,4,4
	.comm	TSDB_DATA_TYPE_TIMESTAMP,4,4
	.comm	TSDB_DATA_TYPE_DOUBLE,4,4
	.comm	TSDB_DATA_TYPE_BINARY,4,4
	.comm	SECONDARY_STAGE_MERGE,4,4
	.comm	DATA_SET_FLAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
