	.file	"7949363.c"
	.intel_syntax noprefix
	.text
	.globl	scilab_rt_cumsum_d2s0_d2
	.type	scilab_rt_cumsum_d2s0_d2, @function
scilab_rt_cumsum_d2s0_d2:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -64[rbp], rdx
	mov	QWORD PTR -72[rbp], rcx
	mov	DWORD PTR -76[rbp], r8d
	mov	DWORD PTR -80[rbp], r9d
	mov	edx, DWORD PTR -56[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -32[rbp], rax
	movsx	rax, edx
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	sub	rcx, 1
	mov	QWORD PTR -24[rbp], rcx
	movsx	rcx, eax
	mov	r10, rcx
	mov	r11d, 0
	cmp	QWORD PTR -72[rbp], 0
	je	.L11
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -44[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L4
.L5:
	mov	ecx, DWORD PTR -44[rbp]
	movsx	rsi, ecx
	movsx	rcx, edx
	imul	rcx, rsi
	lea	rsi, 0[0+rcx*8]
	mov	rcx, QWORD PTR -64[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -48[rbp]
	movsx	rcx, ecx
	movsd	xmm0, QWORD PTR [rsi+rcx*8]
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	add	DWORD PTR -48[rbp], 1
.L4:
	mov	ecx, DWORD PTR -48[rbp]
	cmp	ecx, DWORD PTR -56[rbp]
	jl	.L5
	add	DWORD PTR -44[rbp], 1
.L3:
	mov	ecx, DWORD PTR -44[rbp]
	cmp	ecx, DWORD PTR -52[rbp]
	jl	.L6
	mov	DWORD PTR -44[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L8
.L9:
	mov	edx, DWORD PTR -44[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR 16[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	add	DWORD PTR -48[rbp], 1
.L8:
	mov	edx, DWORD PTR -48[rbp]
	cmp	edx, DWORD PTR -80[rbp]
	jl	.L9
	add	DWORD PTR -44[rbp], 1
.L7:
	mov	edx, DWORD PTR -44[rbp]
	cmp	edx, DWORD PTR -76[rbp]
	jl	.L10
.L11:
	nop
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	scilab_rt_cumsum_d2s0_d2, .-scilab_rt_cumsum_d2s0_d2
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"7949363.c"
	.text
	.global	__aeabi_dadd
	.align	2
	.global	scilab_rt_cumsum_d2s0_d2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scilab_rt_cumsum_d2s0_d2, %function
scilab_rt_cumsum_d2s0_d2:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r5, [fp, #-44]
	sub	r3, r5, #1
	str	r3, [fp, #-28]
	mov	r3, r5
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r4, [fp, #8]
	sub	r3, r4, #1
	str	r3, [fp, #-24]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L11
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L4
.L5:
	mov	r2, r5
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L4:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L7
.L10:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L8
.L9:
	mov	r2, r4
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L8:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L7:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L10
.L11:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	scilab_rt_cumsum_d2s0_d2, .-scilab_rt_cumsum_d2s0_d2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
