	.file	"685632.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Warning: file increment hit max limit. Resetting to zero.\n"
	.text
	.globl	IncrementFilename
	.type	IncrementFilename, @function
IncrementFilename:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jne	.L2
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 58
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	jmp	.L8
.L6:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L5:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L4:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L3:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L2:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	IncrementFilename, .-IncrementFilename
	.section	.rodata
.LC1:
	.string	"r"
.LC2:
	.string	"solver.inp"
	.align 8
.LC3:
	.string	"Error: File \"solver.inp\" not found.\n"
.LC4:
	.string	"%s"
.LC5:
	.string	"begin"
.LC6:
	.string	"dt"
.LC7:
	.string	"%lf"
.LC8:
	.string	"op_file_format"
.LC9:
	.string	"file_op_iter"
.LC10:
	.string	"%d"
.LC11:
	.string	"end"
.LC12:
	.string	"binary"
.LC13:
	.string	"bin"
	.align 8
.LC14:
	.string	"Error: solution output needs to be in binary files."
.LC16:
	.string	"w"
.LC17:
	.string	"energy.dat"
.LC19:
	.string	"rb"
.LC20:
	.string	"No more files found. Exiting."
.LC21:
	.string	"File %s.\n"
	.align 8
.LC22:
	.string	"Error: ndims in %s not equal to 3!\n"
	.align 8
.LC23:
	.string	"Error: nvars in %s not equal to 4!\n"
.LC24:
	.string	"Dimensions: %d x %d x %d\n"
	.align 8
.LC25:
	.string	"Error: Unequal number of points in the 3 dimensions!"
.LC28:
	.string	"%1.16E\t%1.16E\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 368
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -304[rbp], rax
	cmp	QWORD PTR -304[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L29
.L10:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	jmp	.L13
.L16:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	lea	rdx, -336[rbp]
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L13
.L14:
	lea	rax, -112[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	lea	rdx, -176[rbp]
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L13
.L15:
	lea	rax, -112[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	lea	rdx, -364[rbp]
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L13:
	lea	rax, -112[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
.L12:
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -176[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L17
	lea	rax, -176[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L17
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L29
.L17:
	mov	DWORD PTR -352[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -328[rbp], xmm0
	lea	rsi, .LC16[rip]
	lea	rdi, .LC17[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	lea	rax, -112[rbp]
	movabs	rcx, 3472328296230776943
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1852400174
	mov	BYTE PTR 12[rax], 0
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR -320[rbp], xmm0
.L28:
	lea	rax, -112[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L18
	lea	rdi, .LC20[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L29
.L18:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -312[rbp], xmm0
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -360[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -356[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -360[rbp]
	cmp	eax, 3
	je	.L20
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L29
.L20:
	mov	eax, DWORD PTR -356[rbp]
	cmp	eax, 5
	je	.L22
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L29
.L22:
	mov	eax, DWORD PTR -360[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -288[rbp]
	lea	rax, -188[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	ecx, DWORD PTR -180[rbp]
	mov	edx, DWORD PTR -184[rbp]
	mov	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR -344[rbp], eax
	mov	eax, DWORD PTR -344[rbp]
	imul	eax, eax
	mov	edx, DWORD PTR -344[rbp]
	imul	eax, edx
	mov	DWORD PTR -340[rbp], eax
	mov	eax, DWORD PTR -184[rbp]
	cmp	DWORD PTR -344[rbp], eax
	jne	.L23
	mov	eax, DWORD PTR -180[rbp]
	cmp	DWORD PTR -344[rbp], eax
	je	.L24
.L23:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L29
.L24:
	movsd	xmm0, QWORD PTR .LC26[rip]
	movsd	QWORD PTR -280[rbp], xmm0
	movsd	xmm0, QWORD PTR -280[rbp]
	addsd	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -344[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -272[rbp], xmm0
	movsd	xmm0, QWORD PTR -272[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR -272[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -264[rbp], xmm0
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -248[rbp], rax
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -240[rbp], rax
	mov	eax, DWORD PTR -356[rbp]
	imul	eax, DWORD PTR -340[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -232[rbp], rax
	mov	eax, DWORD PTR -344[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -256[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -344[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -248[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -344[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -356[rbp]
	imul	eax, DWORD PTR -340[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -348[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -356[rbp]
	imul	eax, DWORD PTR -348[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -232[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -224[rbp], xmm0
	mov	eax, DWORD PTR -356[rbp]
	imul	eax, DWORD PTR -348[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -232[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -224[rbp]
	movsd	QWORD PTR -216[rbp], xmm0
	mov	eax, DWORD PTR -356[rbp]
	imul	eax, DWORD PTR -348[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -232[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -224[rbp]
	movsd	QWORD PTR -208[rbp], xmm0
	mov	eax, DWORD PTR -356[rbp]
	imul	eax, DWORD PTR -348[rbp]
	cdqe
	add	rax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -232[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -224[rbp]
	movsd	QWORD PTR -200[rbp], xmm0
	movsd	xmm0, QWORD PTR -216[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -208[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -200[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -264[rbp]
	movsd	xmm1, QWORD PTR -312[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -312[rbp], xmm0
	add	DWORD PTR -348[rbp], 1
.L25:
	mov	eax, DWORD PTR -348[rbp]
	cmp	eax, DWORD PTR -340[rbp]
	jl	.L26
	movsd	xmm0, QWORD PTR -312[rbp]
	movsd	xmm1, QWORD PTR .LC27[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -312[rbp], xmm0
	cmp	DWORD PTR -352[rbp], 0
	jne	.L27
	movsd	xmm0, QWORD PTR -312[rbp]
	movsd	QWORD PTR -320[rbp], xmm0
.L27:
	movsd	xmm0, QWORD PTR -312[rbp]
	divsd	xmm0, QWORD PTR -320[rbp]
	movsd	QWORD PTR -312[rbp], xmm0
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	free@PLT
	movsd	xmm0, QWORD PTR -312[rbp]
	mov	rdx, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR -296[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -352[rbp], 1
	mov	eax, DWORD PTR -364[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -336[rbp]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -328[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -328[rbp], xmm0
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	IncrementFilename
	jmp	.L28
.L29:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC18:
	.long	0
	.long	1072693248
	.align 8
.LC26:
	.long	1413754136
	.long	1074340347
	.align 8
.LC27:
	.long	0
	.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	"685632.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Warning: file increment hit max limit. Resetting to"
	.ascii	" zero.\012\000"
	.text
	.align	2
	.global	IncrementFilename
	.syntax unified
	.arm
	.fpu softvfp
	.type	IncrementFilename, %function
IncrementFilename:
	@ 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]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L2
	ldr	r3, [fp, #-8]
	add	r3, r3, #7
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L3
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L4
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L5
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L6
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #58
	mov	r1, #1
	ldr	r0, .L9+4
	bl	fwrite
	b	.L8
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L2:
	ldr	r3, [fp, #-8]
	add	r3, r3, #7
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
.L8:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stderr
	.word	.LC0
	.size	IncrementFilename, .-IncrementFilename
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"solver.inp\000"
	.align	2
.LC3:
	.ascii	"Error: File \"solver.inp\" not found.\012\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"begin\000"
	.align	2
.LC6:
	.ascii	"dt\000"
	.align	2
.LC7:
	.ascii	"%lf\000"
	.align	2
.LC8:
	.ascii	"op_file_format\000"
	.align	2
.LC9:
	.ascii	"file_op_iter\000"
	.align	2
.LC10:
	.ascii	"%d\000"
	.align	2
.LC11:
	.ascii	"end\000"
	.align	2
.LC12:
	.ascii	"binary\000"
	.align	2
.LC13:
	.ascii	"bin\000"
	.align	2
.LC14:
	.ascii	"Error: solution output needs to be in binary files."
	.ascii	"\000"
	.align	2
.LC15:
	.ascii	"w\000"
	.align	2
.LC16:
	.ascii	"energy.dat\000"
	.align	2
.LC17:
	.ascii	"op_00000.bin\000"
	.align	2
.LC18:
	.ascii	"rb\000"
	.align	2
.LC19:
	.ascii	"No more files found. Exiting.\000"
	.align	2
.LC20:
	.ascii	"File %s.\012\000"
	.align	2
.LC21:
	.ascii	"Error: ndims in %s not equal to 3!\012\000"
	.align	2
.LC22:
	.ascii	"Error: nvars in %s not equal to 4!\012\000"
	.align	2
.LC23:
	.ascii	"Dimensions: %d x %d x %d\012\000"
	.align	2
.LC24:
	.ascii	"Error: Unequal number of points in the 3 dimensions"
	.ascii	"!\000"
	.global	__aeabi_dadd
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.align	2
.LC25:
	.ascii	"%1.16E\011%1.16E\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #320
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L33+4
	ldr	r0, .L33+8
	bl	fopen
	str	r0, [fp, #-304]
	ldr	r3, [fp, #-304]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L33+12
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L33+16
	bl	fwrite
	mov	r3, #1
	b	.L31
.L12:
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L33+20
	ldr	r0, [fp, #-304]
	bl	__isoc99_fscanf
	sub	r3, fp, #116
	ldr	r1, .L33+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	b	.L15
.L18:
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L33+20
	ldr	r0, [fp, #-304]
	bl	__isoc99_fscanf
	sub	r3, fp, #116
	ldr	r1, .L33+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	sub	r3, fp, #268
	mov	r2, r3
	ldr	r1, .L33+32
	ldr	r0, [fp, #-304]
	bl	__isoc99_fscanf
	b	.L15
.L16:
	sub	r3, fp, #116
	ldr	r1, .L33+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #168
	mov	r2, r3
	ldr	r1, .L33+20
	ldr	r0, [fp, #-304]
	bl	__isoc99_fscanf
	b	.L15
.L17:
	sub	r3, fp, #116
	ldr	r1, .L33+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #324
	mov	r2, r3
	ldr	r1, .L33+44
	ldr	r0, [fp, #-304]
	bl	__isoc99_fscanf
.L15:
	sub	r3, fp, #116
	ldr	r1, .L33+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
.L14:
	ldr	r0, [fp, #-304]
	bl	fclose
	sub	r3, fp, #168
	ldr	r1, .L33+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #168
	ldr	r1, .L33+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L33+60
	bl	puts
	mov	r3, #0
	b	.L31
.L19:
	mov	r3, #0
	str	r3, [fp, #-312]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-260]
	str	r3, [fp, #-256]
	ldr	r1, .L33+64
	ldr	r0, .L33+68
	bl	fopen
	str	r0, [fp, #-300]
	sub	r3, fp, #116
	ldr	r2, .L33+72
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	mov	r2, #0
	ldr	r3, .L33+76
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
.L30:
	sub	r3, fp, #116
	ldr	r1, .L33+80
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-296]
	ldr	r3, [fp, #-296]
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L33+84
	bl	puts
	nop
	ldr	r0, [fp, #-300]
	bl	fclose
	mov	r3, #0
	b	.L31
.L20:
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L33+88
	bl	printf
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	sub	r0, fp, #320
	ldr	r3, [fp, #-296]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #316
	ldr	r3, [fp, #-296]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-320]
	cmp	r3, #3
	beq	.L22
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L33+92
	bl	printf
	mov	r3, #0
	b	.L31
.L22:
	ldr	r3, [fp, #-316]
	cmp	r3, #5
	beq	.L24
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L33+96
	bl	printf
	mov	r3, #0
	b	.L31
.L24:
	ldr	r3, [fp, #-320]
	mov	r2, r3
	sub	r0, fp, #180
	ldr	r3, [fp, #-296]
	mov	r1, #4
	bl	fread
	ldr	r1, [fp, #-180]
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-172]
	ldr	r0, .L33+100
	bl	printf
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-292]
	mul	r2, r3, r3
	ldr	r3, [fp, #-292]
	mul	r3, r2, r3
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-292]
	cmp	r2, r3
	bne	.L25
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-292]
	cmp	r2, r3
	beq	.L26
.L25:
	ldr	r0, .L33+104
	bl	puts
	mov	r3, #0
	b	.L31
.L26:
	ldr	r2, .L33+108
	ldr	r3, .L33+112
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	sub	r1, fp, #236
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-292]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-228]
	str	r3, [fp, #-224]
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	sub	r1, fp, #228
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #228
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-220]
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-292]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-292]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-292]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-288]
	mul	r3, r2, r3
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-272]
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-296]
	mov	r1, #8
	ldr	r0, [fp, #-284]
	bl	fread
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-296]
	mov	r1, #8
	ldr	r0, [fp, #-280]
	bl	fread
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-296]
	mov	r1, #8
	ldr	r0, [fp, #-276]
	bl	fread
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-288]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-296]
	mov	r1, #8
	ldr	r0, [fp, #-272]
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-308]
	b	.L27
.L28:
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-308]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-212]
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-308]
	mul	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #212
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-204]
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-308]
	mul	r3, r2, r3
	add	r3, r3, #2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #212
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-196]
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-308]
	mul	r3, r2, r3
	add	r3, r3, #3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #212
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	sub	r3, fp, #204
	ldmia	r3, {r2-r3}
	sub	r1, fp, #204
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #220
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #244
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L27:
	ldr	r2, [fp, #-308]
	ldr	r3, [fp, #-288]
	cmp	r2, r3
	blt	.L28
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #244
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	bne	.L29
	sub	r3, fp, #244
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
.L29:
	sub	r3, fp, #252
	ldmia	r3, {r2-r3}
	sub	r1, fp, #244
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	ldr	r0, [fp, #-272]
	bl	free
	ldr	r0, [fp, #-284]
	bl	free
	ldr	r0, [fp, #-280]
	bl	free
	ldr	r0, [fp, #-276]
	bl	free
	sub	r3, fp, #244
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #260
	ldmia	r3, {r2-r3}
	ldr	r1, .L33+116
	ldr	r0, [fp, #-300]
	bl	fprintf
	ldr	r0, [fp, #-296]
	bl	fclose
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
	ldr	r3, [fp, #-324]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #268
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #260
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-260]
	str	r3, [fp, #-256]
	sub	r3, fp, #116
	mov	r0, r3
	bl	IncrementFilename
	b	.L30
.L31:
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC26
	.word	.LC1
	.word	.LC2
	.word	stderr
	.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	1072693248
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	1413754136
	.word	1074340347
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
