	.file	"242331069.c"
	.intel_syntax noprefix
	.text
	.globl	f
	.type	f, @function
f:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L3
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC2:
	.string	" a[%d]= %.3lf\n"
	.text
	.globl	gausspivot
	.type	gausspivot, @function
gausspivot:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.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 -52[rbp], 0
	jmp	.L6
.L17:
	mov	edx, DWORD PTR -52[rbp]
	add	edx, 1
	mov	DWORD PTR -44[rbp], edx
	jmp	.L7
.L12:
	mov	edx, DWORD PTR -52[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]
	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 -52[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rcx+rdx*8]
	movq	xmm2, QWORD PTR .LC1[rip]
	andpd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L8
	mov	DWORD PTR -48[rbp], 0
	jmp	.L10
.L11:
	mov	edx, DWORD PTR -52[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]
	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 -52[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 [rsi+rdx*8]
	mov	edx, DWORD PTR -48[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 -48[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	add	DWORD PTR -48[rbp], 1
.L10:
	mov	edx, DWORD PTR -48[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jle	.L11
.L8:
	add	DWORD PTR -44[rbp], 1
.L7:
	mov	edx, DWORD PTR -44[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jl	.L12
	mov	edx, DWORD PTR -52[rbp]
	add	edx, 1
	mov	DWORD PTR -44[rbp], edx
	jmp	.L13
.L16:
	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 -52[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]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -48[rbp], 0
	jmp	.L14
.L15:
	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 -52[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]
	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 -48[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rcx+rdx*8], xmm0
	add	DWORD PTR -48[rbp], 1
.L14:
	mov	edx, DWORD PTR -48[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jle	.L15
	add	DWORD PTR -44[rbp], 1
.L13:
	mov	edx, DWORD PTR -44[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jl	.L16
	add	DWORD PTR -52[rbp], 1
.L6:
	mov	edx, DWORD PTR -68[rbp]
	sub	edx, 1
	cmp	DWORD PTR -52[rbp], edx
	jl	.L17
	mov	edx, DWORD PTR -68[rbp]
	sub	edx, 1
	mov	DWORD PTR -52[rbp], edx
	jmp	.L18
.L21:
	mov	edx, DWORD PTR -52[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 -52[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 -52[rbp]
	add	edx, 1
	mov	DWORD PTR -48[rbp], edx
	jmp	.L19
.L20:
	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	xmm0, QWORD PTR [rdx]
	mov	edx, DWORD PTR -52[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	xmm2, 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
	movsd	xmm1, QWORD PTR [rdx]
	mulsd	xmm1, xmm2
	mov	edx, DWORD PTR -52[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 -48[rbp], 1
.L19:
	mov	edx, DWORD PTR -48[rbp]
	cmp	edx, DWORD PTR -68[rbp]
	jl	.L20
	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	xmm0, QWORD PTR [rdx]
	mov	edx, DWORD PTR -52[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]
	mov	edx, DWORD PTR -52[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 -52[rbp], 1
.L18:
	cmp	DWORD PTR -52[rbp], 0
	jns	.L21
	mov	DWORD PTR -52[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -52[rbp], 1
.L22:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L23
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	gausspivot, .-gausspivot
	.section	.rodata
	.align 8
.LC3:
	.string	"Enter the order of the polynomial:"
.LC4:
	.string	"%d"
	.align 8
.LC35:
	.string	"The coefficients for order [%d] are:\n"
.LC36:
	.string	"w"
.LC37:
	.string	"polysig.txt"
.LC39:
	.string	"%.2f\t%f\n"
	.align 8
.LC42:
	.string	"Chi square for order [%d]:%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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, 568
	.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 -600[rbp], rax
	mov	DWORD PTR -460[rbp], 11
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -480[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -480[rbp]
	add	eax, 1
	mov	DWORD PTR -480[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -336[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -328[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -320[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -312[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -304[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -296[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -288[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -280[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -272[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -264[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -256[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movsd	QWORD PTR -240[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC16[rip]
	movsd	QWORD PTR -232[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	movsd	QWORD PTR -224[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR -216[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC19[rip]
	movsd	QWORD PTR -208[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC20[rip]
	movsd	QWORD PTR -200[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	movsd	QWORD PTR -192[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC22[rip]
	movsd	QWORD PTR -184[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	movsd	QWORD PTR -176[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC24[rip]
	movsd	QWORD PTR -168[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC25[rip]
	movsd	QWORD PTR -160[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC26[rip]
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC27[rip]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC28[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC29[rip]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC29[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC28[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC30[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC31[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC32[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC33[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC34[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -480[rbp]
	lea	esi, 1[rax]
	mov	edi, DWORD PTR -480[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -416[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -528[rbp], rax
	mov	QWORD PTR -520[rbp], 0
	movsx	rax, esi
	lea	rbx, 0[0+rax*8]
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -408[rbp], rax
	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	rax, esi
	mov	QWORD PTR -496[rbp], rax
	mov	QWORD PTR -488[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -512[rbp], rax
	mov	QWORD PTR -504[rbp], 0
	mov	r8, QWORD PTR -496[rbp]
	mov	r9, QWORD PTR -488[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -512[rbp]
	mov	r11, QWORD PTR -504[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r10
	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	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L26:
	cmp	rsp, rdx
	je	.L27
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L26
.L27:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L28
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L28:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -400[rbp], rax
	mov	DWORD PTR -464[rbp], 0
	jmp	.L29
.L34:
	mov	DWORD PTR -468[rbp], 0
	jmp	.L30
.L33:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -424[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -432[rbp], xmm0
	mov	DWORD PTR -472[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	movsd	xmm0, QWORD PTR .LC14[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -344[rbp], xmm0
	mov	edx, DWORD PTR -464[rbp]
	mov	eax, DWORD PTR -468[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	rax, QWORD PTR -336[rbp+rax*8]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -344[rbp]
	movsd	xmm1, QWORD PTR -424[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -424[rbp], xmm0
	movsd	xmm0, QWORD PTR -432[rbp]
	addsd	xmm0, QWORD PTR -344[rbp]
	movsd	QWORD PTR -432[rbp], xmm0
	add	DWORD PTR -472[rbp], 1
.L31:
	mov	eax, DWORD PTR -472[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L32
	mov	rcx, rbx
	shr	rcx, 3
	movsd	xmm0, QWORD PTR -424[rbp]
	divsd	xmm0, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR -400[rbp]
	mov	edx, DWORD PTR -468[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -464[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -468[rbp], 1
.L30:
	mov	eax, DWORD PTR -480[rbp]
	cmp	DWORD PTR -468[rbp], eax
	jl	.L33
	add	DWORD PTR -464[rbp], 1
.L29:
	mov	eax, DWORD PTR -480[rbp]
	cmp	DWORD PTR -464[rbp], eax
	jl	.L34
	mov	DWORD PTR -464[rbp], 0
	jmp	.L35
.L38:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -440[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -448[rbp], xmm0
	mov	DWORD PTR -472[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	movsd	xmm0, QWORD PTR .LC14[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -352[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -464[rbp]
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	rax, QWORD PTR -336[rbp+rax*8]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -240[rbp+rax*8]
	mulsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -352[rbp]
	movsd	xmm1, QWORD PTR -440[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -440[rbp], xmm0
	movsd	xmm0, QWORD PTR -448[rbp]
	addsd	xmm0, QWORD PTR -352[rbp]
	movsd	QWORD PTR -448[rbp], xmm0
	add	DWORD PTR -472[rbp], 1
.L36:
	mov	eax, DWORD PTR -472[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L37
	mov	rcx, rbx
	shr	rcx, 3
	mov	edx, DWORD PTR -480[rbp]
	movsd	xmm0, QWORD PTR -440[rbp]
	divsd	xmm0, QWORD PTR -448[rbp]
	mov	rax, QWORD PTR -400[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -464[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -464[rbp], 1
.L35:
	mov	eax, DWORD PTR -480[rbp]
	cmp	DWORD PTR -464[rbp], eax
	jl	.L38
	mov	eax, DWORD PTR -480[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	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
.L39:
	cmp	rsp, rdx
	je	.L40
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L39
.L40:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L41
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L41:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -384[rbp], rax
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -376[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -576[rbp], rdx
	mov	QWORD PTR -568[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -592[rbp], rdx
	mov	QWORD PTR -584[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
.L42:
	cmp	rsp, rdx
	je	.L43
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L42
.L43:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L44
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L44:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -368[rbp], rax
	mov	eax, DWORD PTR -480[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -480[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	mov	rcx, QWORD PTR -400[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gausspivot
	mov	QWORD PTR -360[rbp], 0
	lea	rsi, .LC36[rip]
	lea	rdi, .LC37[rip]
	call	fopen@PLT
	mov	QWORD PTR -360[rbp], rax
	pxor	xmm0, xmm0
	movss	DWORD PTR -476[rbp], xmm0
	jmp	.L45
.L46:
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -476[rbp]
	movq	rcx, xmm3
	mov	eax, DWORD PTR -480[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	movq	xmm0, rcx
	mov	rsi, rdx
	mov	edi, eax
	call	f
	movq	rcx, xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -476[rbp]
	movq	rdx, xmm4
	mov	rax, QWORD PTR -360[rbp]
	movq	xmm1, rcx
	movq	xmm0, rdx
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -476[rbp]
	movsd	xmm0, QWORD PTR .LC40[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -476[rbp], xmm0
.L45:
	movss	xmm0, DWORD PTR .LC41[rip]
	comiss	xmm0, DWORD PTR -476[rbp]
	jnb	.L46
	mov	DWORD PTR -472[rbp], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	rcx, QWORD PTR -336[rbp+rax*8]
	mov	eax, DWORD PTR -480[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	movq	xmm0, rcx
	mov	rsi, rdx
	mov	edi, eax
	call	f
	movq	rax, xmm0
	mov	rdx, QWORD PTR -368[rbp]
	mov	ecx, DWORD PTR -472[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR [rdx+rcx*8], rax
	add	DWORD PTR -472[rbp], 1
.L47:
	mov	eax, DWORD PTR -472[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L48
	pxor	xmm0, xmm0
	movsd	QWORD PTR -456[rbp], xmm0
	mov	DWORD PTR -464[rbp], 0
	jmp	.L49
.L50:
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	movsd	xmm0, QWORD PTR .LC14[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm1, xmm0
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, DWORD PTR -464[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	movsd	xmm2, QWORD PTR -240[rbp+rax*8]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, DWORD PTR -464[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	movsd	xmm2, QWORD PTR -240[rbp+rax*8]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -456[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -456[rbp], xmm0
	add	DWORD PTR -464[rbp], 1
.L49:
	mov	eax, DWORD PTR -464[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L50
	mov	eax, DWORD PTR -480[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -456[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC42[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rsp, rbx
	mov	rsp, QWORD PTR -600[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
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC1:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC5:
	.long	-1717986918
	.long	1070176665
	.align 8
.LC6:
	.long	-1717986918
	.long	1071225241
	.align 8
.LC7:
	.long	858993459
	.long	1071854387
	.align 8
.LC8:
	.long	-1717986918
	.long	1072273817
	.align 8
.LC9:
	.long	0
	.long	1072693248
	.align 8
.LC10:
	.long	858993459
	.long	1072902963
	.align 8
.LC11:
	.long	1717986918
	.long	1073112678
	.align 8
.LC12:
	.long	-1717986918
	.long	1073322393
	.align 8
.LC13:
	.long	-858993459
	.long	1073532108
	.align 8
.LC14:
	.long	0
	.long	1073741824
	.align 8
.LC15:
	.long	-2061584302
	.long	1075401195
	.align 8
.LC16:
	.long	1889785610
	.long	1075448381
	.align 8
.LC17:
	.long	-343597384
	.long	1075427409
	.align 8
.LC18:
	.long	1717986918
	.long	1075275366
	.align 8
.LC19:
	.long	1030792151
	.long	1074976522
	.align 8
.LC20:
	.long	1889785610
	.long	1074334269
	.align 8
.LC21:
	.long	1202590843
	.long	1073248993
	.align 8
.LC22:
	.long	1202590843
	.long	1071938273
	.align 8
.LC23:
	.long	343597384
	.long	1073301422
	.align 8
.LC24:
	.long	171798692
	.long	1075291095
	.align 8
.LC25:
	.long	515396076
	.long	1076849541
	.align 8
.LC26:
	.long	-343597384
	.long	1068415057
	.align 8
.LC27:
	.long	171798692
	.long	1069589463
	.align 8
.LC28:
	.long	-2061584302
	.long	1070092779
	.align 8
.LC29:
	.long	-687194767
	.long	1070428323
	.align 8
.LC30:
	.long	-1030792151
	.long	1069295861
	.align 8
.LC31:
	.long	-1717986918
	.long	1068079513
	.align 8
.LC32:
	.long	515396076
	.long	1069673349
	.align 8
.LC33:
	.long	-1374389535
	.long	1071833415
	.align 8
.LC34:
	.long	2061584302
	.long	1073458708
	.align 8
.LC40:
	.long	1202590843
	.long	1065646817
	.align 4
.LC41:
	.long	1073741824
	.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	"242331069.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L3:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	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, #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, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L3
	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	f, .-f
	.global	__aeabi_dcmplt
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC3:
	.ascii	" a[%d]= %.3lf\012\000"
	.text
	.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, #-60]
	b	.L6
.L17:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L7
.L12:
	mov	r2, r4
	ldr	r3, [fp, #-60]
	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}
	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, #-60]
	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	.L8
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L10
.L11:
	mov	r2, r4
	ldr	r3, [fp, #-60]
	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}
	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, #-60]
	mul	r3, r1, r3
	lsl	r3, r3, #3
	ldr	r1, [fp, #-68]
	add	r0, r1, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-56]
	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, #-56]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L10:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L11
.L8:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L7:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L13
.L16:
	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, {r0-r1}
	mov	r2, r4
	ldr	r3, [fp, #-60]
	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}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L14
.L15:
	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}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, r4
	ldr	r3, [fp, #-60]
	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}
	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, #-56]
	lsl	r1, r1, #3
	add	r1, r5, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L14:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L15
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L13:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L6:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L18
.L21:
	mov	r2, r4
	ldr	r3, [fp, #-60]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	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, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L19
.L20:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	mov	r2, r4
	ldr	r3, [fp, #-60]
	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}
	ldr	r3, [fp, #-56]
	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, #-60]
	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, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L19:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r4
	ldr	r3, [fp, #-60]
	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}
	ldr	ip, [fp, #-60]
	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, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
.L18:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bge	.L21
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L22
.L23:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-60]
	ldr	r0, .L25
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L22:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L23
	nop
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.size	gausspivot, .-gausspivot
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Enter the order of the polynomial:\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"The coefficients for order [%d] are:\012\000"
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"polysig.txt\000"
	.global	__aeabi_f2d
	.align	2
.LC9:
	.ascii	"%.2f\011%f\012\000"
	.global	__aeabi_d2f
	.global	__aeabi_fcmple
	.align	2
.LC10:
	.ascii	"Chi square for order [%d]:%lf\012\000"
	.align	3
.LC0:
	.word	0
	.word	0
	.word	2576980378
	.word	1070176665
	.word	2576980378
	.word	1071225241
	.word	858993459
	.word	1071854387
	.word	2576980378
	.word	1072273817
	.word	0
	.word	1072693248
	.word	858993459
	.word	1072902963
	.word	1717986918
	.word	1073112678
	.word	2576980378
	.word	1073322393
	.word	3435973837
	.word	1073532108
	.word	0
	.word	1073741824
	.align	3
.LC1:
	.word	2233382994
	.word	1075401195
	.word	1889785610
	.word	1075448381
	.word	3951369912
	.word	1075427409
	.word	1717986918
	.word	1075275366
	.word	1030792151
	.word	1074976522
	.word	1889785610
	.word	1074334269
	.word	1202590843
	.word	1073248993
	.word	1202590843
	.word	1071938273
	.word	343597384
	.word	1073301422
	.word	171798692
	.word	1075291095
	.word	515396076
	.word	1076849541
	.align	3
.LC2:
	.word	3951369912
	.word	1068415057
	.word	171798692
	.word	1069589463
	.word	2233382994
	.word	1070092779
	.word	3607772529
	.word	1070428323
	.word	3607772529
	.word	1070428323
	.word	2233382994
	.word	1070092779
	.word	3264175145
	.word	1069295861
	.word	2576980378
	.word	1068079513
	.word	515396076
	.word	1069673349
	.word	2920577761
	.word	1071833415
	.word	2061584302
	.word	1073458708
	.align	2
.LC11:
	.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, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #396
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #11
	str	r3, [fp, #-392]
	ldr	r0, .L46+4
	bl	printf
	sub	r3, fp, #412
	mov	r1, r3
	ldr	r0, .L46+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r2, .L46+12
	sub	r3, fp, #300
	mov	r1, r2
	mov	r2, #88
	mov	r0, r3
	bl	memcpy
	ldr	r2, .L46+16
	sub	r3, fp, #212
	mov	r1, r2
	mov	r2, #88
	mov	r0, r3
	bl	memcpy
	ldr	r2, .L46+20
	sub	r3, fp, #124
	mov	r1, r2
	mov	r2, #88
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-412]
	add	ip, r3, #1
	ldr	lr, [fp, #-412]
	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, #-396]
	b	.L28
.L33:
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L29
.L32:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-324]
	str	r3, [fp, #-320]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-332]
	str	r3, [fp, #-328]
	mov	r3, #0
	str	r3, [fp, #-404]
	b	.L30
.L31:
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #96
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L46+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-308]
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #272
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-396]
	ldr	r3, [fp, #-400]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	sub	r3, fp, #308
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #324
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-324]
	str	r3, [fp, #-320]
	sub	r3, fp, #308
	ldmia	r3, {r2-r3}
	sub	r1, fp, #332
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-332]
	str	r3, [fp, #-328]
	ldr	r3, [fp, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
.L30:
	ldr	r2, [fp, #-404]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L31
	lsr	r4, r6, #3
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	sub	r1, fp, #324
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-380]
	ldr	r1, [fp, #-396]
	mul	ip, r1, r4
	ldr	r1, [fp, #-400]
	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]
.L29:
	ldr	r3, [fp, #-412]
	ldr	r2, [fp, #-400]
	cmp	r2, r3
	blt	.L32
	ldr	r3, [fp, #-396]
	add	r3, r3, #1
	str	r3, [fp, #-396]
.L28:
	ldr	r3, [fp, #-412]
	ldr	r2, [fp, #-396]
	cmp	r2, r3
	blt	.L33
	mov	r3, #0
	str	r3, [fp, #-396]
	b	.L34
.L37:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-340]
	str	r3, [fp, #-336]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-348]
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-404]
	b	.L35
.L36:
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #96
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L46+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-316]
	str	r3, [fp, #-312]
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #272
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-396]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #184
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #340
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-340]
	str	r3, [fp, #-336]
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	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, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
.L35:
	ldr	r2, [fp, #-404]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L36
	lsr	r5, r6, #3
	ldr	r4, [fp, #-412]
	sub	r3, fp, #348
	ldmia	r3, {r2-r3}
	sub	r1, fp, #340
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-380]
	ldr	r1, [fp, #-396]
	mul	r1, r5, r1
	add	r1, r1, r4
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-396]
	add	r3, r3, #1
	str	r3, [fp, #-396]
.L34:
	ldr	r3, [fp, #-412]
	ldr	r2, [fp, #-396]
	cmp	r2, r3
	blt	.L37
	ldr	ip, [fp, #-412]
	mov	r3, sp
	mov	r7, 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, #-392]
	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	r3, [fp, #-412]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L46+28
	bl	printf
	ldr	r3, [fp, #-412]
	ldr	r2, [fp, #-372]
	ldr	r1, [fp, #-380]
	mov	r0, r3
	bl	gausspivot
	mov	r3, #0
	str	r3, [fp, #-360]
	ldr	r1, .L46+32
	ldr	r0, .L46+36
	bl	fopen
	str	r0, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-408]	@ float
	b	.L38
.L39:
	ldr	r0, [fp, #-408]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r6, [fp, #-412]
	ldr	r0, [fp, #-408]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-372]
	mov	r0, r6
	bl	f
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L46+40
	ldr	r0, [fp, #-360]
	bl	fprintf
	ldr	r0, [fp, #-408]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L46+44
	ldr	r3, .L46+48
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-408]	@ float
.L38:
	mov	r1, #1073741824
	ldr	r0, [fp, #-408]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	mov	r3, #0
	str	r3, [fp, #-404]
	b	.L40
.L41:
	ldr	r0, [fp, #-412]
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #272
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-372]
	bl	f
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-364]
	ldr	r1, [fp, #-404]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
.L40:
	ldr	r2, [fp, #-404]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L41
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-356]
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-396]
	b	.L42
.L43:
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #96
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L46+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #184
	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
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #184
	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, #-396]
	add	r3, r3, #1
	str	r3, [fp, #-396]
.L42:
	ldr	r2, [fp, #-396]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L43
	ldr	r3, [fp, #-412]
	sub	r1, r3, #1
	sub	r3, fp, #356
	ldmia	r3, {r2-r3}
	ldr	r0, .L46+52
	bl	printf
	mov	sp, r7
	mov	sp, r8
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC11
	.word	.LC4
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1072693248
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1202590843
	.word	1065646817
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
