	.file	"119686.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"Value of system clock at start = %ld\n"
	.align 8
.LC2:
	.string	"ERROR: only %d command line options detected"
	.align 8
.LC3:
	.string	" - need 2 options, filename and cutoff."
	.align 8
.LC4:
	.string	"Coordinates will be read from file: %s\n"
.LC5:
	.string	"r"
	.align 8
.LC6:
	.string	"ERROR: Could not open file called %s\n"
.LC7:
	.string	"%ld"
.LC8:
	.string	"Natom = %ld\n"
.LC9:
	.string	"cut = %10.4f\n"
.LC10:
	.string	"Allocation error coords"
.LC11:
	.string	"Allocation error q"
.LC12:
	.string	"%lf %lf %lf %lf"
	.align 8
.LC13:
	.string	"Value of system clock after coord read = %ld\n"
	.align 8
.LC16:
	.string	"Value of system clock after coord read and E calc = %ld\n"
	.align 8
.LC17:
	.string	"                         Final Results"
	.align 8
.LC18:
	.string	"                         -------------"
	.align 8
.LC19:
	.string	"                   Num Pairs = %ld\n"
	.align 8
.LC20:
	.string	"                     Total E = %14.10f\n"
	.align 8
.LC22:
	.string	"     Time to read coord file = %14.4f Seconds\n"
	.align 8
.LC23:
	.string	"         Time to calculate E = %14.4f Seconds\n"
	.align 8
.LC24:
	.string	"        Total Execution Time = %14.4f Seconds\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -152[rbp], xmm0
	call	clock@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -212[rbp], 3
	je	.L2
	mov	eax, DWORD PTR -212[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdx, -200[rbp]
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	esi, eax
	mov	edi, 3
	call	alloc_2D_double
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L4
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -200[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L5
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	QWORD PTR -184[rbp], 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	QWORD PTR -184[rbp], 1
.L6:
	mov	rax, QWORD PTR -200[rbp]
	cmp	QWORD PTR -184[rbp], rax
	jl	.L7
	call	clock@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	QWORD PTR -168[rbp], 0
	movsd	xmm0, QWORD PTR .LC15[rip]
	mov	rax, QWORD PTR -128[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	jmp	.L8
.L13:
	mov	QWORD PTR -176[rbp], 0
	jmp	.L9
.L12:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -176[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -176[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -176[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	comisd	xmm0, QWORD PTR -56[rbp]
	jb	.L10
	add	QWORD PTR -168[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -160[rbp]
	addsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -160[rbp], xmm0
.L10:
	add	QWORD PTR -176[rbp], 1
.L9:
	mov	rax, QWORD PTR -176[rbp]
	cmp	rax, QWORD PTR -184[rbp]
	jl	.L12
	add	QWORD PTR -184[rbp], 1
.L8:
	mov	rax, QWORD PTR -200[rbp]
	cmp	QWORD PTR -184[rbp], rax
	jl	.L13
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -168[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -152[rbp]
	movsd	xmm0, QWORD PTR -160[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	call	clock@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -160[rbp]
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	sub	rax, QWORD PTR -144[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC21[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC22[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -104[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC21[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC23[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -144[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC21[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC24[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	double_2D_array_free
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	alloc_2D_double
	.type	alloc_2D_double, @function
alloc_2D_double:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	eax, 0
	jmp	.L18
.L17:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L19
	mov	eax, 0
	jmp	.L18
.L19:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rsi
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -12[rbp], 1
.L20:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L21
	mov	rax, QWORD PTR -8[rbp]
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	alloc_2D_double, .-alloc_2D_double
	.globl	double_2D_array_free
	.type	double_2D_array_free, @function
double_2D_array_free:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	double_2D_array_free, .-double_2D_array_free
	.section	.rodata
	.align 8
.LC0:
	.long	-1717986918
	.long	1074370969
	.align 8
.LC15:
	.long	0
	.long	1073741824
	.align 8
.LC21:
	.long	0
	.long	1093567616
	.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	"119686.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Value of system clock at start = %ld\012\000"
	.align	2
.LC1:
	.ascii	"ERROR: only %d command line options detected\000"
	.align	2
.LC2:
	.ascii	" - need 2 options, filename and cutoff.\000"
	.align	2
.LC3:
	.ascii	"Coordinates will be read from file: %s\012\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"ERROR: Could not open file called %s\012\000"
	.align	2
.LC6:
	.ascii	"%ld\000"
	.align	2
.LC7:
	.ascii	"Natom = %ld\012\000"
	.align	2
.LC8:
	.ascii	"cut = %10.4f\012\000"
	.align	2
.LC9:
	.ascii	"Allocation error coords\000"
	.align	2
.LC10:
	.ascii	"Allocation error q\000"
	.align	2
.LC11:
	.ascii	"%lf %lf %lf %lf\000"
	.align	2
.LC12:
	.ascii	"Value of system clock after coord read = %ld\012\000"
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.global	__aeabi_dcmple
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_i2d
	.align	2
.LC13:
	.ascii	"Value of system clock after coord read and E calc ="
	.ascii	" %ld\012\000"
	.align	2
.LC14:
	.ascii	"                         Final Results\000"
	.align	2
.LC15:
	.ascii	"                         -------------\000"
	.align	2
.LC16:
	.ascii	"                   Num Pairs = %ld\012\000"
	.align	2
.LC17:
	.ascii	"                     Total E = %14.10f\012\000"
	.align	2
.LC18:
	.ascii	"     Time to read coord file = %14.4f Seconds\012\000"
	.align	2
.LC19:
	.ascii	"         Time to calculate E = %14.4f Seconds\012\000"
	.align	2
.LC20:
	.ascii	"        Total Execution Time = %14.4f Seconds\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L16+4
	ldr	r3, .L16+8
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	bl	clock
	str	r0, [fp, #-140]
	ldr	r1, [fp, #-140]
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #-168]
	cmp	r3, #3
	beq	.L2
	ldr	r3, [fp, #-168]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+16
	bl	printf
	ldr	r0, .L16+20
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-172]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, [fp, #-172]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L16+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-172]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+32
	bl	printf
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #160
	mov	r2, r3
	ldr	r1, .L16+36
	ldr	r0, [fp, #-136]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-160]
	mov	r1, r3
	ldr	r0, .L16+40
	bl	printf
	ldr	r3, [fp, #-172]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #156
	mov	r1, r2
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, [fp, #-160]
	mov	r1, r3
	mov	r0, #3
	bl	alloc_2D_double
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L16+48
	bl	printf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L16+52
	bl	printf
	mov	r0, #1
	bl	exit
.L5:
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L6
.L7:
	ldr	r3, [fp, #-132]
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r0, r2, r3
	ldr	r3, [fp, #-132]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	ip, r2, r3
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-152]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-128]
	add	r2, r1, r2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L16+56
	ldr	r0, [fp, #-136]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L6:
	ldr	r3, [fp, #-160]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	blt	.L7
	bl	clock
	str	r0, [fp, #-124]
	ldr	r1, [fp, #-124]
	ldr	r0, .L16+60
	bl	printf
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	pow
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L8
.L13:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L9
.L12:
	ldr	r3, [fp, #-132]
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-132]
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	ldr	r3, [fp, #-132]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	exp
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	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}
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
.L10:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L9:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-152]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L8:
	ldr	r3, [fp, #-160]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	blt	.L13
	ldr	r0, [fp, #-144]
	bl	__aeabi_i2d
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	bl	clock
	str	r0, [fp, #-120]
	ldr	r1, [fp, #-120]
	ldr	r0, .L16+64
	bl	printf
	ldr	r0, .L16+68
	bl	puts
	ldr	r0, .L16+72
	bl	puts
	ldr	r1, [fp, #-144]
	ldr	r0, .L16+76
	bl	printf
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	ldr	r0, .L16+80
	bl	printf
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-140]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+88
	bl	printf
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+92
	bl	printf
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-140]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+96
	bl	printf
	ldr	r0, [fp, #-128]
	bl	free
	ldr	r0, [fp, #-132]
	bl	double_2D_array_free
	ldr	r0, [fp, #-136]
	bl	fclose
	mov	r0, #0
	bl	exit
.L17:
	.align	2
.L16:
	.word	.LC21
	.word	-1717986918
	.word	1074370969
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	1093567616
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.align	2
	.global	alloc_2D_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_2D_double, %function
alloc_2D_double:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	b	.L20
.L19:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	b	.L20
.L21:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L22
.L23:
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	lsl	r2, r3, #3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-8]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-8]
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	alloc_2D_double, .-alloc_2D_double
	.align	2
	.global	double_2D_array_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	double_2D_array_free, %function
double_2D_array_free:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	double_2D_array_free, .-double_2D_array_free
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
