	.file	"115764646.c"
	.intel_syntax noprefix
	.text
	.globl	average
	.type	average, @function
average:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L3
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	average, .-average
	.globl	average1
	.type	average1, @function
average1:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L7:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L7
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	average1, .-average1
	.globl	gausspivot
	.type	gausspivot, @function
gausspivot:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -40[rbp], rdx
	movsx	rdx, eax
	mov	rcx, rdx
	mov	ebx, 0
	mov	DWORD PTR -48[rbp], 0
	jmp	.L10
.L21:
	mov	edx, DWORD PTR -48[rbp]
	add	edx, 1
	mov	DWORD PTR -44[rbp], edx
	jmp	.L11
.L16:
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rcx+rdx*8]
	movq	xmm1, QWORD PTR .LC1[rip]
	andpd	xmm1, xmm0
	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 -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rcx+rdx*8]
	movq	xmm2, QWORD PTR .LC1[rip]
	andpd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L12
	mov	DWORD PTR -52[rbp], 0
	jmp	.L14
.L15:
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rcx+rdx*8]
	movsd	QWORD PTR -24[rbp], xmm0
	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 -80[rbp]
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rsi+rdx*8]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	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 -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	add	DWORD PTR -52[rbp], 1
.L14:
	mov	edx, DWORD PTR -52[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jle	.L15
.L12:
	add	DWORD PTR -44[rbp], 1
.L11:
	mov	edx, DWORD PTR -44[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jl	.L16
	mov	edx, DWORD PTR -48[rbp]
	add	edx, 1
	mov	DWORD PTR -44[rbp], edx
	jmp	.L17
.L20:
	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 -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rcx+rdx*8]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rcx+rdx*8]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L18
.L19:
	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 -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rcx+rdx*8]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rcx+rdx*8]
	mulsd	xmm1, QWORD PTR -32[rbp]
	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 -80[rbp]
	add	rcx, rdx
	subsd	xmm0, xmm1
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	add	DWORD PTR -52[rbp], 1
.L18:
	mov	edx, DWORD PTR -52[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jle	.L19
	add	DWORD PTR -44[rbp], 1
.L17:
	mov	edx, DWORD PTR -44[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jl	.L20
	add	DWORD PTR -48[rbp], 1
.L10:
	mov	edx, DWORD PTR -68[rbp]
	sub	edx, 1
	cmp	DWORD PTR -48[rbp], edx
	jl	.L21
	mov	edx, DWORD PTR -68[rbp]
	sub	edx, 1
	mov	DWORD PTR -48[rbp], edx
	jmp	.L22
.L25:
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -88[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rsi+rdx*8]
	movsd	QWORD PTR [rcx], xmm0
	mov	edx, DWORD PTR -48[rbp]
	add	edx, 1
	mov	DWORD PTR -52[rbp], edx
	jmp	.L23
.L24:
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rdx]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	movsd	xmm2, QWORD PTR [rcx+rdx*8]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	movsd	xmm1, QWORD PTR [rdx]
	mulsd	xmm1, xmm2
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	subsd	xmm0, xmm1
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -52[rbp], 1
.L23:
	mov	edx, DWORD PTR -52[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jl	.L24
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rdx]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rcx+rdx*8]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rdx], xmm0
	sub	DWORD PTR -48[rbp], 1
.L22:
	cmp	DWORD PTR -48[rbp], 0
	jns	.L25
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gausspivot, .-gausspivot
	.section	.rodata
	.align 8
.LC38:
	.string	"The coefficients for order [%d] are:\n"
.LC39:
	.string	" a[%d]= %.3lf\n"
.LC40:
	.string	"w"
.LC41:
	.string	"2.txt"
.LC42:
	.string	"%.3lf\t%lf\n"
	.align 8
.LC43:
	.string	"Chi square for order [%d]:%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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
	push	rbx
	sub	rsp, 520
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -496[rbp], rax
	mov	DWORD PTR -456[rbp], 19
	mov	DWORD PTR -452[rbp], 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR -368[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -360[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -352[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -344[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -336[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -328[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -320[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -312[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -304[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -296[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -288[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -280[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -272[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -264[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movsd	QWORD PTR -256[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC16[rip]
	movsd	QWORD PTR -248[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	movsd	QWORD PTR -240[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR -232[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC19[rip]
	movsd	QWORD PTR -224[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC20[rip]
	movsd	QWORD PTR -208[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	movsd	QWORD PTR -200[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC22[rip]
	movsd	QWORD PTR -192[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	movsd	QWORD PTR -184[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC24[rip]
	movsd	QWORD PTR -176[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC25[rip]
	movsd	QWORD PTR -168[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC26[rip]
	movsd	QWORD PTR -160[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC27[rip]
	movsd	QWORD PTR -152[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC28[rip]
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC29[rip]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC30[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC31[rip]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC32[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC33[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC34[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC35[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC35[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC36[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC37[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -452[rbp]
	lea	esi, 1[rax]
	mov	edi, DWORD PTR -452[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -432[rbp], rax
	movsx	rax, esi
	mov	rcx, rax
	mov	ebx, 0
	movsx	rax, esi
	sal	rax, 3
	mov	QWORD PTR -488[rbp], rax
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -424[rbp], rax
	movsx	rax, esi
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, edi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L28:
	cmp	rsp, rdx
	je	.L29
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L28
.L29:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L30
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L30:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -416[rbp], rax
	mov	DWORD PTR -460[rbp], 0
	jmp	.L31
.L34:
	mov	DWORD PTR -464[rbp], 0
	jmp	.L32
.L33:
	mov	rbx, QWORD PTR -488[rbp]
	shr	rbx, 3
	lea	rax, -368[rbp]
	mov	edx, DWORD PTR -456[rbp]
	mov	esi, DWORD PTR -464[rbp]
	mov	edi, DWORD PTR -460[rbp]
	mov	rcx, rax
	call	average
	movq	rdx, xmm0
	mov	rcx, QWORD PTR -416[rbp]
	mov	eax, DWORD PTR -464[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	imul	rax, rbx
	add	rax, rsi
	mov	QWORD PTR [rcx+rax*8], rdx
	add	DWORD PTR -464[rbp], 1
.L32:
	mov	eax, DWORD PTR -464[rbp]
	cmp	eax, DWORD PTR -452[rbp]
	jl	.L33
	add	DWORD PTR -460[rbp], 1
.L31:
	mov	eax, DWORD PTR -460[rbp]
	cmp	eax, DWORD PTR -452[rbp]
	jl	.L34
	mov	DWORD PTR -460[rbp], 0
	jmp	.L35
.L36:
	mov	rbx, QWORD PTR -488[rbp]
	shr	rbx, 3
	lea	rax, -208[rbp]
	lea	rdx, -368[rbp]
	mov	esi, DWORD PTR -456[rbp]
	mov	edi, DWORD PTR -460[rbp]
	mov	rcx, rax
	call	average1
	movq	rdx, xmm0
	mov	rcx, QWORD PTR -416[rbp]
	mov	eax, DWORD PTR -452[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	imul	rax, rbx
	add	rax, rsi
	mov	QWORD PTR [rcx+rax*8], rdx
	add	DWORD PTR -460[rbp], 1
.L35:
	mov	eax, DWORD PTR -460[rbp]
	cmp	eax, DWORD PTR -452[rbp]
	jl	.L36
	mov	eax, DWORD PTR -452[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -408[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -512[rbp], rdx
	mov	QWORD PTR -504[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -528[rbp], rdx
	mov	QWORD PTR -520[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L37:
	cmp	rsp, rdx
	je	.L38
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L37
.L38:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L39
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L39:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -400[rbp], rax
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -392[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -544[rbp], rdx
	mov	QWORD PTR -536[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -560[rbp], rdx
	mov	QWORD PTR -552[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L40:
	cmp	rsp, rdx
	je	.L41
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L40
.L41:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L42
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L42:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -384[rbp], rax
	mov	rdx, QWORD PTR -400[rbp]
	mov	rcx, QWORD PTR -416[rbp]
	mov	eax, DWORD PTR -452[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gausspivot
	mov	eax, DWORD PTR -452[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -460[rbp], 0
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -400[rbp]
	mov	edx, DWORD PTR -460[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -460[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -460[rbp], 1
.L43:
	mov	eax, DWORD PTR -460[rbp]
	cmp	eax, DWORD PTR -452[rbp]
	jl	.L44
	mov	QWORD PTR -376[rbp], 0
	lea	rsi, .LC40[rip]
	lea	rdi, .LC41[rip]
	call	fopen@PLT
	mov	QWORD PTR -376[rbp], rax
	mov	DWORD PTR -468[rbp], 0
	jmp	.L45
.L48:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -440[rbp], xmm0
	mov	DWORD PTR -460[rbp], 0
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -400[rbp]
	mov	edx, DWORD PTR -460[rbp]
	movsx	rdx, edx
	movsd	xmm3, QWORD PTR [rax+rdx*8]
	movsd	QWORD PTR -488[rbp], xmm3
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -460[rbp]
	mov	eax, DWORD PTR -468[rbp]
	cdqe
	mov	rax, QWORD PTR -368[rbp+rax*8]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -488[rbp]
	movsd	xmm1, QWORD PTR -440[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -440[rbp], xmm0
	add	DWORD PTR -460[rbp], 1
.L46:
	mov	eax, DWORD PTR -460[rbp]
	cmp	eax, DWORD PTR -452[rbp]
	jl	.L47
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR -468[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR -440[rbp]
	movsd	QWORD PTR [rax+rdx*8], xmm0
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR -468[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -468[rbp]
	cdqe
	mov	rdx, QWORD PTR -368[rbp+rax*8]
	mov	rax, QWORD PTR -376[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -468[rbp], 1
.L45:
	mov	eax, DWORD PTR -468[rbp]
	cmp	eax, DWORD PTR -456[rbp]
	jl	.L48
	pxor	xmm0, xmm0
	movsd	QWORD PTR -448[rbp], xmm0
	mov	DWORD PTR -460[rbp], 0
	jmp	.L49
.L50:
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR -460[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	movsd	xmm2, QWORD PTR -208[rbp+rax*8]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR -460[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	movsd	xmm2, QWORD PTR -208[rbp+rax*8]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -448[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -448[rbp], xmm0
	add	DWORD PTR -460[rbp], 1
.L49:
	mov	eax, DWORD PTR -460[rbp]
	cmp	eax, DWORD PTR -456[rbp]
	jl	.L50
	mov	eax, DWORD PTR -452[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -448[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC43[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rsp, rbx
	mov	rsp, QWORD PTR -496[rbp]
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC1:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC2:
	.long	1202590843
	.long	1065646817
	.align 8
.LC3:
	.long	1202590843
	.long	1066695393
	.align 8
.LC4:
	.long	-343597384
	.long	1067366481
	.align 8
.LC5:
	.long	1202590843
	.long	1067743969
	.align 8
.LC6:
	.long	-1717986918
	.long	1068079513
	.align 8
.LC7:
	.long	-343597384
	.long	1068415057
	.align 8
.LC8:
	.long	515396076
	.long	1068624773
	.align 8
.LC9:
	.long	1202590843
	.long	1068792545
	.align 8
.LC10:
	.long	1889785610
	.long	1068960317
	.align 8
.LC11:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC12:
	.long	-1030792151
	.long	1069295861
	.align 8
.LC13:
	.long	-343597384
	.long	1069463633
	.align 8
.LC14:
	.long	171798692
	.long	1069589463
	.align 8
.LC15:
	.long	515396076
	.long	1069673349
	.align 8
.LC16:
	.long	858993459
	.long	1069757235
	.align 8
.LC17:
	.long	1202590843
	.long	1069841121
	.align 8
.LC18:
	.long	1546188227
	.long	1069925007
	.align 8
.LC19:
	.long	1889785610
	.long	1070008893
	.align 8
.LC20:
	.long	-1717986918
	.long	1070176665
	.align 8
.LC21:
	.long	1083018953
	.long	1070444220
	.align 8
.LC22:
	.long	219352570
	.long	1070657618
	.align 8
.LC23:
	.long	-137164076
	.long	1070760474
	.align 8
.LC24:
	.long	-159429186
	.long	1070941475
	.align 8
.LC25:
	.long	996982168
	.long	1071091053
	.align 8
.LC26:
	.long	-1894733413
	.long	1071238084
	.align 8
.LC27:
	.long	-1603912587
	.long	1071382066
	.align 8
.LC28:
	.long	-461245128
	.long	1071530909
	.align 8
.LC29:
	.long	1459326808
	.long	1071662315
	.align 8
.LC30:
	.long	1257291546
	.long	1071736722
	.align 8
.LC31:
	.long	2055536988
	.long	1071810810
	.align 8
.LC32:
	.long	-224850128
	.long	1071884321
	.align 8
.LC33:
	.long	401871500
	.long	1071957114
	.align 8
.LC34:
	.long	-927438058
	.long	1072028989
	.align 8
.LC35:
	.long	-1025569471
	.long	1072099770
	.align 8
.LC36:
	.long	1306769570
	.long	1072237438
	.align 8
.LC37:
	.long	-219352570
	.long	1072304045
	.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	"115764646.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	average
	.syntax unified
	.arm
	.fpu softvfp
	.type	average, %function
average:
	@ args = 0, 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]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L3:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	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	.L3
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	average, .-average
	.global	__aeabi_dmul
	.align	2
	.global	average1
	.syntax unified
	.arm
	.fpu softvfp
	.type	average1, %function
average1:
	@ args = 0, 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]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L7:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L6:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	average1, .-average1
	.global	__aeabi_dcmplt
	.global	__aeabi_dsub
	.align	2
	.global	gausspivot
	.syntax unified
	.arm
	.fpu softvfp
	.type	gausspivot, %function
gausspivot:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r4, r3, #1
	sub	r3, r4, #1
	str	r3, [fp, #-48]
	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, #-56]
	b	.L10
.L21:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L11
.L16:
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, r4
	ldr	r3, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r8, r2
	bic	r9, r3, #-2147483648
	mov	r2, r8
	mov	r3, r9
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L14
.L15:
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, r4
	ldr	r3, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	mov	r1, r4
	ldr	r3, [fp, #-56]
	mul	r3, r1, r3
	lsl	r3, r3, #3
	ldr	r1, [fp, #-68]
	add	r0, r1, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-60]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	mov	r2, r4
	ldr	r3, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L14:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L15
.L12:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L11:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L17
.L20:
	mov	r2, r4
	ldr	r3, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L18
.L19:
	mov	r2, r4
	ldr	r3, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r4
	ldr	r3, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r5, r2, r3
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-60]
	lsl	r1, r1, #3
	add	r1, r5, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L18:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L19
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L17:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L10:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L22
.L25:
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-72]
	add	r1, r1, r3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L23
.L24:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r5, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r5, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L23:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r4
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-56]
	lsl	ip, ip, #3
	ldr	lr, [fp, #-72]
	add	r5, lr, ip
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r5, {r2-r3}
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
.L22:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L25
	nop
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	gausspivot, .-gausspivot
	.section	.rodata
	.align	2
.LC2:
	.ascii	"The coefficients for order [%d] are:\012\000"
	.align	2
.LC3:
	.ascii	" a[%d]= %.3lf\012\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"2.txt\000"
	.align	2
.LC6:
	.ascii	"%.3lf\011%lf\012\000"
	.align	2
.LC7:
	.ascii	"Chi square for order [%d]:%lf\012\000"
	.align	3
.LC0:
	.word	0
	.word	0
	.word	1202590843
	.word	1065646817
	.word	1202590843
	.word	1066695393
	.word	3951369912
	.word	1067366481
	.word	1202590843
	.word	1067743969
	.word	2576980378
	.word	1068079513
	.word	3951369912
	.word	1068415057
	.word	515396076
	.word	1068624773
	.word	1202590843
	.word	1068792545
	.word	1889785610
	.word	1068960317
	.word	2576980378
	.word	1069128089
	.word	3264175145
	.word	1069295861
	.word	3951369912
	.word	1069463633
	.word	171798692
	.word	1069589463
	.word	515396076
	.word	1069673349
	.word	858993459
	.word	1069757235
	.word	1202590843
	.word	1069841121
	.word	1546188227
	.word	1069925007
	.word	1889785610
	.word	1070008893
	.align	3
.LC1:
	.word	2576980378
	.word	1070176665
	.word	1083018953
	.word	1070444220
	.word	219352570
	.word	1070657618
	.word	4157803220
	.word	1070760474
	.word	4135538110
	.word	1070941475
	.word	996982168
	.word	1071091053
	.word	2400233883
	.word	1071238084
	.word	2691054709
	.word	1071382066
	.word	3833722168
	.word	1071530909
	.word	1459326808
	.word	1071662315
	.word	1257291546
	.word	1071736722
	.word	2055536988
	.word	1071810810
	.word	4070117168
	.word	1071884321
	.word	401871500
	.word	1071957114
	.word	3367529238
	.word	1072028989
	.word	3269397825
	.word	1072099770
	.word	3269397825
	.word	1072099770
	.word	1306769570
	.word	1072237438
	.word	4075614726
	.word	1072304045
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #392
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #19
	str	r3, [fp, #-396]
	mov	r3, #8
	str	r3, [fp, #-392]
	ldr	r2, .L44+4
	sub	r3, fp, #340
	mov	r1, r2
	mov	r2, #152
	mov	r0, r3
	bl	memcpy
	ldr	r2, .L44+8
	sub	r3, fp, #188
	mov	r1, r2
	mov	r2, #152
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-392]
	add	ip, r3, #1
	ldr	lr, [fp, #-392]
	sub	r3, ip, #1
	str	r3, [fp, #-388]
	mov	r3, ip
	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, ip
	lsl	r6, r3, #3
	sub	r3, lr, #1
	str	r3, [fp, #-384]
	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, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	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, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L28
.L31:
	mov	r3, #0
	str	r3, [fp, #-404]
	b	.L29
.L30:
	lsr	r4, r6, #3
	sub	r3, fp, #340
	ldr	r2, [fp, #-396]
	ldr	r1, [fp, #-404]
	ldr	r0, [fp, #-400]
	bl	average
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-380]
	ldr	r1, [fp, #-400]
	mul	ip, r1, r4
	ldr	r1, [fp, #-404]
	add	r1, ip, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
.L29:
	ldr	r2, [fp, #-404]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L28:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L31
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L32
.L33:
	lsr	r4, r6, #3
	sub	r3, fp, #188
	sub	r2, fp, #340
	ldr	r1, [fp, #-396]
	ldr	r0, [fp, #-400]
	bl	average1
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-380]
	ldr	r1, [fp, #-400]
	mul	ip, r1, r4
	ldr	r1, [fp, #-392]
	add	r1, ip, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L32:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L33
	ldr	ip, [fp, #-392]
	mov	r3, sp
	mov	r9, r3
	sub	r3, ip, #1
	str	r3, [fp, #-376]
	mov	r3, ip
	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, ip
	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, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-372]
	ldr	ip, [fp, #-396]
	sub	r3, ip, #1
	str	r3, [fp, #-368]
	mov	r3, ip
	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, ip
	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, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-364]
	ldr	r2, [fp, #-372]
	ldr	r1, [fp, #-380]
	ldr	r0, [fp, #-392]
	bl	gausspivot
	ldr	r3, [fp, #-392]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L44+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L34
.L35:
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-400]
	ldr	r0, .L44+16
	bl	printf
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L34:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
	str	r3, [fp, #-360]
	ldr	r1, .L44+20
	ldr	r0, .L44+24
	bl	fopen
	str	r0, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-408]
	b	.L36
.L39:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-348]
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L37
.L38:
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-408]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #312
	ldmia	r3, {r6-r7}
	ldr	r0, [fp, #-400]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #348
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-348]
	str	r3, [fp, #-344]
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L37:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L38
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-408]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #348
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-408]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #312
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-408]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L44+28
	ldr	r0, [fp, #-360]
	bl	fprintf
	ldr	r3, [fp, #-408]
	add	r3, r3, #1
	str	r3, [fp, #-408]
.L36:
	ldr	r2, [fp, #-408]
	ldr	r3, [fp, #-396]
	cmp	r2, r3
	blt	.L39
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-356]
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L40
.L41:
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #160
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #160
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #356
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-356]
	str	r3, [fp, #-352]
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L40:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-396]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-392]
	sub	r1, r3, #1
	sub	r3, fp, #356
	ldmia	r3, {r2-r3}
	ldr	r0, .L44+32
	bl	printf
	mov	sp, r9
	mov	sp, r8
	mov	r3, #0
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
