	.file	"622526.c"
	.intel_syntax noprefix
	.text
	.globl	scilab_rt_mean_i3_
	.type	scilab_rt_mean_i3_, @function
scilab_rt_mean_i3_:
.LFB0:
	.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
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	DWORD PTR -76[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -48[rbp], rax
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, ecx
	lea	rbx, 0[0+rax*4]
	mov	esi, DWORD PTR -72[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -40[rbp], rax
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L4
.L5:
	mov	r8, rbx
	shr	r8, 2
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	movsx	rdi, ecx
	movsx	rax, esi
	imul	rax, rdi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdi, edx
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	imul	rdx, r8
	add	rdx, rdi
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -64[rbp], eax
	add	DWORD PTR -60[rbp], 1
.L4:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L5
	add	DWORD PTR -56[rbp], 1
.L3:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L6
	add	DWORD PTR -52[rbp], 1
.L2:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L7
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -64[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	scilab_rt_mean_i3_, .-scilab_rt_mean_i3_
	.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	"622526.c"
	.text
	.global	__aeabi_i2d
	.align	2
	.global	scilab_rt_mean_i3_
	.syntax unified
	.arm
	.fpu softvfp
	.type	scilab_rt_mean_i3_, %function
scilab_rt_mean_i3_:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	ip, [fp, #-56]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	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
	mov	r3, ip
	lsl	r6, r3, #2
	ldr	lr, [fp, #-52]
	sub	r3, lr, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L4
.L5:
	lsr	r2, r6, #2
	mov	r3, ip
	mov	r1, lr
	mul	r3, r1, r3
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldr	r1, [fp, #-36]
	mul	r1, r2, r1
	ldr	r2, [fp, #-40]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L4:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	scilab_rt_mean_i3_, .-scilab_rt_mean_i3_
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
