	.file	"891149.c"
	.intel_syntax noprefix
	.text
	.globl	scilab_rt_svd_i2_d2d2d2
	.type	scilab_rt_svd_i2_d2d2d2, @function
scilab_rt_svd_i2_d2d2d2:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	QWORD PTR -96[rbp], rdx
	mov	DWORD PTR -100[rbp], ecx
	mov	DWORD PTR -104[rbp], r8d
	mov	QWORD PTR -112[rbp], r9
	mov	esi, DWORD PTR -88[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -64[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	mov	ecx, DWORD PTR -104[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -56[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	mov	edx, DWORD PTR 24[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -48[rbp], rax
	movsx	rax, edx
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR 48[rbp]
	movsx	rdi, eax
	sub	rdi, 1
	mov	QWORD PTR -40[rbp], rdi
	movsx	rdi, eax
	mov	r10, rdi
	mov	r11d, 0
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L3
.L4:
	mov	edi, DWORD PTR -68[rbp]
	movsx	r8, edi
	movsx	rdi, esi
	imul	rdi, r8
	lea	r8, 0[0+rdi*4]
	mov	rdi, QWORD PTR -96[rbp]
	add	r8, rdi
	mov	edi, DWORD PTR -72[rbp]
	movsx	rdi, edi
	mov	edi, DWORD PTR [r8+rdi*4]
	add	DWORD PTR -76[rbp], edi
	add	DWORD PTR -72[rbp], 1
.L3:
	mov	edi, DWORD PTR -72[rbp]
	cmp	edi, DWORD PTR -88[rbp]
	jl	.L4
	add	DWORD PTR -68[rbp], 1
.L2:
	mov	edi, DWORD PTR -68[rbp]
	cmp	edi, DWORD PTR -84[rbp]
	jl	.L5
	mov	DWORD PTR -68[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L7
.L8:
	mov	esi, DWORD PTR -68[rbp]
	movsx	rdi, esi
	movsx	rsi, ecx
	imul	rsi, rdi
	lea	rdi, 0[0+rsi*8]
	mov	rsi, QWORD PTR -112[rbp]
	add	rdi, rsi
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -76[rbp]
	mov	esi, DWORD PTR -72[rbp]
	movsx	rsi, esi
	movsd	QWORD PTR [rdi+rsi*8], xmm0
	add	DWORD PTR -72[rbp], 1
.L7:
	mov	esi, DWORD PTR -72[rbp]
	cmp	esi, DWORD PTR -104[rbp]
	jl	.L8
	add	DWORD PTR -68[rbp], 1
.L6:
	mov	esi, DWORD PTR -68[rbp]
	cmp	esi, DWORD PTR -100[rbp]
	jl	.L9
	mov	DWORD PTR -68[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L11
.L12:
	mov	ecx, DWORD PTR -68[rbp]
	movsx	rsi, ecx
	movsx	rcx, edx
	imul	rcx, rsi
	lea	rsi, 0[0+rcx*8]
	mov	rcx, QWORD PTR 32[rbp]
	add	rsi, rcx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -76[rbp]
	mov	ecx, DWORD PTR -72[rbp]
	movsx	rcx, ecx
	movsd	QWORD PTR [rsi+rcx*8], xmm0
	add	DWORD PTR -72[rbp], 1
.L11:
	mov	ecx, DWORD PTR -72[rbp]
	cmp	ecx, DWORD PTR 24[rbp]
	jl	.L12
	add	DWORD PTR -68[rbp], 1
.L10:
	mov	ecx, DWORD PTR -68[rbp]
	cmp	ecx, DWORD PTR 16[rbp]
	jl	.L13
	mov	DWORD PTR -68[rbp], 0
	jmp	.L14
.L17:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L15
.L16:
	mov	edx, DWORD PTR -68[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR 56[rbp]
	add	rcx, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -72[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	add	DWORD PTR -72[rbp], 1
.L15:
	mov	edx, DWORD PTR -72[rbp]
	cmp	edx, DWORD PTR 48[rbp]
	jl	.L16
	add	DWORD PTR -68[rbp], 1
.L14:
	mov	edx, DWORD PTR -68[rbp]
	cmp	edx, DWORD PTR 40[rbp]
	jl	.L17
	nop
	nop
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	scilab_rt_svd_i2_d2d2d2, .-scilab_rt_svd_i2_d2d2d2
	.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	"891149.c"
	.text
	.global	__aeabi_i2d
	.align	2
	.global	scilab_rt_svd_i2_d2d2d2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scilab_rt_svd_i2_d2d2d2, %function
scilab_rt_svd_i2_d2d2d2:
	@ args = 32, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	ip, [fp, #-60]
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r6, [fp, #4]
	sub	r3, r6, #1
	str	r3, [fp, #-32]
	mov	r3, r6
	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	r5, [fp, #16]
	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, #28]
	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
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L3
.L4:
	mov	r2, ip
	ldr	r3, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L3:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L7
.L8:
	mov	r2, r6
	ldr	r3, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r7, r2, r3
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-44]
	lsl	r1, r1, #3
	add	r1, r7, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L7:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L9
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L10
.L13:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L11
.L12:
	mov	r2, r5
	ldr	r3, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #20]
	add	r6, r2, r3
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-44]
	lsl	r1, r1, #3
	add	r1, r6, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L11:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L10:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L13
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L14
.L17:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L15
.L16:
	mov	r2, r4
	ldr	r3, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r5, r2, r3
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-44]
	lsl	r1, r1, #3
	add	r1, r5, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L15:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #28]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L14:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L17
	nop
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	scilab_rt_svd_i2_d2d2d2, .-scilab_rt_svd_i2_d2d2d2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
