	.file	"667412.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	"wb"
	.align 8
.LC2:
	.string	"Error: could not open %s for writing.\n"
	.align 8
.LC3:
	.string	"Error in WriteBinary(): Unable to write ndims to output file.\n"
	.align 8
.LC4:
	.string	"Error in WriteBinary(): Unable to write nvars to output file.\n"
	.align 8
.LC5:
	.string	"Error in WriteBinary(): Unable to write dimensions to output file.\n"
	.align 8
.LC6:
	.string	"Error in WriteBinary(): Unable to write grid to output file.\n"
	.align 8
.LC7:
	.string	"Error in WriteBinary(): Unable to write solution to output file.\n"
	.text
	.globl	WriteBinary
	.type	WriteBinary, @function
WriteBinary:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	QWORD PTR -96[rbp], rdx
	mov	QWORD PTR -104[rbp], rcx
	mov	QWORD PTR -112[rbp], r8
	mov	QWORD PTR -120[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -120[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L14
.L13:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -84[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	eax, 1
	je	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
.L15:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -88[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	eax, 1
	je	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
.L16:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cmp	edx, eax
	je	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
.L17:
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -80[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -76[rbp], eax
	add	DWORD PTR -80[rbp], 1
.L18:
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L19
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	DWORD PTR -76[rbp], eax
	je	.L20
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 61
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
.L20:
	mov	DWORD PTR -76[rbp], 1
	mov	DWORD PTR -80[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -76[rbp]
	imul	eax, edx
	mov	DWORD PTR -76[rbp], eax
	add	DWORD PTR -80[rbp], 1
.L21:
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L22
	mov	eax, DWORD PTR -88[rbp]
	mov	edx, DWORD PTR -76[rbp]
	imul	eax, edx
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	DWORD PTR -76[rbp], eax
	je	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 65
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
.L23:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L14:
	mov	rsp, rbx
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	WriteBinary, .-WriteBinary
	.section	.rodata
.LC8:
	.string	"rb"
.LC9:
	.string	"Reading file %s.\n"
.LC10:
	.string	"Dimensions: "
.LC11:
	.string	"%d "
.LC12:
	.string	"Nvars     : %d\n"
	.align 8
.LC13:
	.string	"Length of domain along dimension being eliminated: %lf\n"
	.align 8
.LC14:
	.string	"Slice position along dimension being eliminated: %lf\n"
	.align 8
.LC15:
	.string	"Grid indices (along dimension being eliminated) between which the slice lies: %d, %d\n"
	.align 8
.LC16:
	.string	"Spatial coordinates corresponding to these grid indices: %lf, %lf\n"
	.align 8
.LC18:
	.string	"Interpolation weights corresponding to these grid indices: %lf, %lf\n"
.LC19:
	.string	"Slice dimensions: "
.LC20:
	.string	"Writing slice file %s.\n"
	.text
	.globl	ExtractSlice
	.type	ExtractSlice, @function
ExtractSlice:
.LFB8:
	.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, 536
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -424[rbp], rdi
	mov	DWORD PTR -428[rbp], esi
	movsd	QWORD PTR -440[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -448[rbp], rax
	mov	rax, QWORD PTR -424[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -304[rbp], rax
	cmp	QWORD PTR -304[rbp], 0
	jne	.L27
	mov	eax, 1
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -424[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -304[rbp]
	lea	rdi, -408[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	rax, QWORD PTR -304[rbp]
	lea	rdi, -404[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	edx, DWORD PTR -408[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -296[rbp], rax
	movsx	rax, edx
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, edx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L29:
	cmp	rsp, rcx
	je	.L30
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L29
.L30:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L31
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L31:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -288[rbp], rax
	mov	eax, DWORD PTR -408[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, QWORD PTR -288[rbp]
	mov	rcx, rax
	mov	esi, 4
	call	fread@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -356[rbp], 0
	jmp	.L32
.L33:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -356[rbp], 1
.L32:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L33
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -404[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -360[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	jmp	.L34
.L35:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	DWORD PTR -360[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L34:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L35
	mov	eax, DWORD PTR -404[rbp]
	mov	DWORD PTR -364[rbp], eax
	mov	DWORD PTR -356[rbp], 0
	jmp	.L36
.L37:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -364[rbp]
	imul	eax, edx
	mov	DWORD PTR -364[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L36:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L37
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -280[rbp], rax
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -272[rbp], rax
	mov	eax, DWORD PTR -360[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, QWORD PTR -280[rbp]
	mov	rcx, rax
	mov	esi, 8
	call	fread@PLT
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, QWORD PTR -272[rbp]
	mov	rcx, rax
	mov	esi, 8
	call	fread@PLT
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	QWORD PTR -312[rbp], rax
	mov	DWORD PTR -356[rbp], 0
	jmp	.L38
.L39:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	sal	rax, 3
	add	QWORD PTR -312[rbp], rax
	add	DWORD PTR -356[rbp], 1
.L38:
	mov	eax, DWORD PTR -356[rbp]
	cmp	eax, DWORD PTR -428[rbp]
	jl	.L39
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -312[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -264[rbp], xmm0
	mov	rax, QWORD PTR -264[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -312[rbp]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -440[rbp]
	mulsd	xmm0, QWORD PTR -264[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -256[rbp], xmm0
	mov	rax, QWORD PTR -256[rbp]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -368[rbp], -1
	mov	DWORD PTR -356[rbp], 0
	jmp	.L40
.L43:
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -256[rbp]
	comisd	xmm0, xmm1
	jb	.L41
	mov	eax, DWORD PTR -356[rbp]
	mov	DWORD PTR -368[rbp], eax
.L41:
	add	DWORD PTR -356[rbp], 1
.L40:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L43
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -368[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -256[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movsd	QWORD PTR -248[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	subsd	xmm0, QWORD PTR -248[rbp]
	mov	rax, QWORD PTR -248[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, DWORD PTR -408[rbp]
	lea	edx, -1[rax]
	mov	rax, rsp
	mov	r12, rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -240[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -464[rbp], rax
	mov	QWORD PTR -456[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -480[rbp], rax
	mov	QWORD PTR -472[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L44:
	cmp	rsp, rcx
	je	.L45
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L44
.L45:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L46
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L46:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -232[rbp], rax
	mov	DWORD PTR -372[rbp], 0
	mov	rax, QWORD PTR -232[rbp]
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -232[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -232[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -356[rbp], 0
	jmp	.L47
.L49:
	mov	eax, DWORD PTR -356[rbp]
	cmp	eax, DWORD PTR -428[rbp]
	je	.L48
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -372[rbp], 1
.L48:
	add	DWORD PTR -356[rbp], 1
.L47:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L49
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -356[rbp], 0
	jmp	.L50
.L51:
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -356[rbp], 1
.L50:
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 1
	cmp	DWORD PTR -356[rbp], eax
	jl	.L51
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	jmp	.L52
.L53:
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	DWORD PTR -376[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L52:
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 1
	cmp	DWORD PTR -356[rbp], eax
	jl	.L53
	mov	eax, DWORD PTR -404[rbp]
	mov	DWORD PTR -380[rbp], eax
	mov	DWORD PTR -356[rbp], 0
	jmp	.L54
.L55:
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -380[rbp]
	imul	eax, edx
	mov	DWORD PTR -380[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L54:
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 1
	cmp	DWORD PTR -356[rbp], eax
	jl	.L55
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -224[rbp], rax
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	DWORD PTR -384[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	jmp	.L56
.L60:
	mov	eax, DWORD PTR -356[rbp]
	cmp	eax, DWORD PTR -428[rbp]
	je	.L57
	mov	DWORD PTR -392[rbp], 0
	jmp	.L58
.L59:
	mov	edx, DWORD PTR -384[rbp]
	mov	eax, DWORD PTR -392[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -280[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -388[rbp]
	mov	eax, DWORD PTR -392[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -392[rbp], 1
.L58:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -392[rbp], eax
	jl	.L59
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	DWORD PTR -388[rbp], eax
.L57:
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	DWORD PTR -384[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L56:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L60
	mov	edx, DWORD PTR -408[rbp]
	mov	rax, rsp
	mov	rbx, rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -208[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -496[rbp], rax
	mov	QWORD PTR -488[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -512[rbp], rax
	mov	QWORD PTR -504[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L61:
	cmp	rsp, rdx
	je	.L62
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L61
.L62:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L63
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L63:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -200[rbp], rax
	mov	DWORD PTR -396[rbp], 0
	mov	DWORD PTR -400[rbp], 0
	jmp	.L64
.L65:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -400[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -400[rbp], 1
.L64:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -400[rbp], eax
	jl	.L65
	jmp	.L66
.L92:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -368[rbp], eax
	jne	.L67
	mov	rax, rsp
	mov	rdi, rax
	mov	eax, DWORD PTR -408[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -192[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -528[rbp], rdx
	mov	QWORD PTR -520[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -544[rbp], rdx
	mov	QWORD PTR -536[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L68:
	cmp	rsp, rdx
	je	.L69
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L68
.L69:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L70
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L70:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -184[rbp], rax
	mov	DWORD PTR -344[rbp], 0
	jmp	.L71
.L72:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -344[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rdx, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -344[rbp], 1
.L71:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -344[rbp], eax
	jl	.L72
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -408[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -200[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -352[rbp], eax
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 2
	mov	DWORD PTR -340[rbp], eax
	jmp	.L73
.L74:
	mov	rax, QWORD PTR -288[rbp]
	mov	edx, DWORD PTR -340[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	imul	eax, DWORD PTR -352[rbp]
	mov	ecx, eax
	mov	rdx, QWORD PTR -200[rbp]
	mov	eax, DWORD PTR -340[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	eax, ecx
	mov	DWORD PTR -352[rbp], eax
	sub	DWORD PTR -340[rbp], 1
.L73:
	cmp	DWORD PTR -340[rbp], 0
	jns	.L74
	mov	eax, DWORD PTR -408[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -184[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -348[rbp], eax
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 2
	mov	DWORD PTR -336[rbp], eax
	jmp	.L75
.L76:
	mov	rax, QWORD PTR -288[rbp]
	mov	edx, DWORD PTR -336[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	imul	eax, DWORD PTR -348[rbp]
	mov	ecx, eax
	mov	rdx, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	eax, ecx
	mov	DWORD PTR -348[rbp], eax
	sub	DWORD PTR -336[rbp], 1
.L75:
	cmp	DWORD PTR -336[rbp], 0
	jns	.L76
	mov	eax, DWORD PTR -408[rbp]
	lea	edx, -1[rax]
	mov	rax, rsp
	mov	rsi, rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -176[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -560[rbp], rax
	mov	QWORD PTR -552[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -576[rbp], rax
	mov	QWORD PTR -568[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L77:
	cmp	rsp, rcx
	je	.L78
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L77
.L78:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L79
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L79:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -168[rbp], rax
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -344[rbp], 0
	jmp	.L80
.L82:
	mov	eax, DWORD PTR -344[rbp]
	cmp	eax, DWORD PTR -428[rbp]
	je	.L81
	mov	rdx, QWORD PTR -200[rbp]
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -328[rbp], 1
.L81:
	add	DWORD PTR -344[rbp], 1
.L80:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -344[rbp], eax
	jl	.L82
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 2
	mov	rdx, QWORD PTR -168[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -332[rbp], eax
	mov	eax, DWORD PTR -408[rbp]
	sub	eax, 3
	mov	DWORD PTR -324[rbp], eax
	jmp	.L83
.L84:
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	imul	eax, DWORD PTR -332[rbp]
	mov	ecx, eax
	mov	rdx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	eax, ecx
	mov	DWORD PTR -332[rbp], eax
	sub	DWORD PTR -324[rbp], 1
.L83:
	cmp	DWORD PTR -324[rbp], 0
	jns	.L84
	mov	DWORD PTR -320[rbp], 0
	jmp	.L85
.L86:
	mov	eax, DWORD PTR -404[rbp]
	imul	eax, DWORD PTR -352[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -320[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -248[rbp]
	movsd	xmm0, QWORD PTR .LC17[rip]
	movapd	xmm2, xmm0
	subsd	xmm2, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -404[rbp]
	imul	eax, DWORD PTR -348[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -320[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	mov	eax, DWORD PTR -404[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -320[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -320[rbp], 1
.L85:
	mov	eax, DWORD PTR -404[rbp]
	cmp	DWORD PTR -320[rbp], eax
	jl	.L86
	mov	rsp, rsi
	mov	rsp, rdi
.L67:
	mov	DWORD PTR -316[rbp], 0
	jmp	.L87
.L90:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -288[rbp]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	sub	eax, 1
	cmp	ecx, eax
	jne	.L88
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -316[rbp], 1
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	jmp	.L89
.L87:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -316[rbp], eax
	jl	.L90
.L89:
	mov	eax, DWORD PTR -408[rbp]
	cmp	DWORD PTR -316[rbp], eax
	jne	.L91
	mov	DWORD PTR -396[rbp], 1
	jmp	.L66
.L91:
	mov	DWORD PTR -396[rbp], 0
.L66:
	cmp	DWORD PTR -396[rbp], 0
	je	.L92
	movabs	rax, 13356203202145395
	mov	edx, 0
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -404[rbp]
	mov	edx, DWORD PTR -408[rbp]
	lea	edi, -1[rdx]
	lea	r8, -160[rbp]
	mov	rsi, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	r9, r8
	mov	r8, rsi
	mov	esi, eax
	call	WriteBinary
	mov	rax, QWORD PTR -272[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rsp, r12
.L28:
	mov	rsp, QWORD PTR -448[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L94
	call	__stack_chk_fail@PLT
.L94:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ExtractSlice, .-ExtractSlice
	.section	.rodata
.LC21:
	.string	"r"
.LC22:
	.string	"solver.inp"
	.align 8
.LC23:
	.string	"Error: File \"solver.inp\" not found.\n"
.LC24:
	.string	"%s"
.LC25:
	.string	"begin"
.LC26:
	.string	"dt"
.LC27:
	.string	"%lf"
.LC28:
	.string	"op_file_format"
.LC29:
	.string	"file_op_iter"
.LC30:
	.string	"%d"
.LC31:
	.string	"op_overwrite"
.LC32:
	.string	"end"
.LC33:
	.string	"binary"
.LC34:
	.string	"bin"
	.align 8
.LC35:
	.string	"Error: solution output needs to be in binary files."
	.align 8
.LC36:
	.string	"Enter dimension to eliminate: "
	.align 8
.LC37:
	.string	"Enter nondimensional position along %d-dimension to extract the (n-1)-dimensional slice at ([0,1]): "
.LC38:
	.string	"no"
.LC39:
	.string	"No more files found. Exiting."
.LC40:
	.string	"yes"
.LC41:
	.string	"File not found. Exiting."
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC21[rip]
	lea	rdi, .LC22[rip]
	call	fopen@PLT
	mov	QWORD PTR -248[rbp], rax
	cmp	QWORD PTR -248[rbp], 0
	jne	.L97
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L111
.L97:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L99
	jmp	.L100
.L104:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L101
	lea	rdx, -264[rbp]
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L100
.L101:
	lea	rax, -112[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L102
	lea	rdx, -240[rbp]
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L100
.L102:
	lea	rax, -112[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L103
	lea	rdx, -280[rbp]
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L100
.L103:
	lea	rax, -112[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L100
	lea	rdx, -176[rbp]
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L100:
	lea	rax, -112[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L104
.L99:
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -240[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L105
	lea	rax, -240[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L105
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L111
.L105:
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -276[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -276[rbp]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -176[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L106
	lea	rax, -112[rbp]
	movabs	rcx, 3472328296230776943
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1852400174
	mov	BYTE PTR 12[rax], 0
.L109:
	mov	rcx, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR -276[rbp]
	lea	rax, -112[rbp]
	movq	xmm0, rcx
	mov	esi, edx
	mov	rdi, rax
	call	ExtractSlice
	mov	DWORD PTR -268[rbp], eax
	cmp	DWORD PTR -268[rbp], 0
	je	.L107
	lea	rdi, .LC39[rip]
	call	puts@PLT
	jmp	.L110
.L107:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	IncrementFilename
	jmp	.L109
.L106:
	lea	rax, -176[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L110
	lea	rax, -112[rbp]
	mov	DWORD PTR [rax], 1647210607
	mov	WORD PTR 4[rax], 28265
	mov	BYTE PTR 6[rax], 0
	mov	rcx, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR -276[rbp]
	lea	rax, -112[rbp]
	movq	xmm0, rcx
	mov	esi, edx
	mov	rdi, rax
	call	ExtractSlice
	mov	DWORD PTR -272[rbp], eax
	cmp	DWORD PTR -272[rbp], 0
	je	.L110
	lea	rdi, .LC41[rip]
	call	puts@PLT
.L110:
	mov	eax, 0
.L111:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L112
	call	__stack_chk_fail@PLT
.L112:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC17:
	.long	0
	.long	1072693248
	.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	"667412.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	"wb\000"
	.align	2
.LC2:
	.ascii	"Error: could not open %s for writing.\012\000"
	.align	2
.LC3:
	.ascii	"Error in WriteBinary(): Unable to write ndims to ou"
	.ascii	"tput file.\012\000"
	.align	2
.LC4:
	.ascii	"Error in WriteBinary(): Unable to write nvars to ou"
	.ascii	"tput file.\012\000"
	.align	2
.LC5:
	.ascii	"Error in WriteBinary(): Unable to write dimensions "
	.ascii	"to output file.\012\000"
	.align	2
.LC6:
	.ascii	"Error in WriteBinary(): Unable to write grid to out"
	.ascii	"put file.\012\000"
	.align	2
.LC7:
	.ascii	"Error in WriteBinary(): Unable to write solution to"
	.ascii	" output file.\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	WriteBinary
	.syntax unified
	.arm
	.fpu softvfp
	.type	WriteBinary, %function
WriteBinary:
	@ args = 8, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-68]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-48]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r1, .L25+4
	ldr	r0, [fp, #-68]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L13
.L12:
	sub	r0, fp, #48
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L14
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L25+16
	bl	fwrite
.L14:
	sub	r0, fp, #52
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L15
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L25+20
	bl	fwrite
.L15:
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #4
	ldr	r0, [fp, #-56]
	bl	fwrite
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L16
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L25+24
	bl	fwrite
.L16:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L17
.L18:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L17:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L18
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	mov	r1, #8
	ldr	r0, [fp, #-60]
	bl	fwrite
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	beq	.L19
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r2, #61
	mov	r1, #1
	ldr	r0, .L25+28
	bl	fwrite
.L19:
	mov	r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L20
.L21:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L20:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L21
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	mov	r1, #8
	ldr	r0, [fp, #-64]
	bl	fwrite
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	beq	.L22
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r2, #65
	mov	r1, #1
	ldr	r0, .L25+32
	bl	fwrite
.L22:
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r3, #0
.L13:
	mov	sp, r4
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC8
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	WriteBinary, .-WriteBinary
	.section	.rodata
	.align	2
.LC9:
	.ascii	"rb\000"
	.align	2
.LC10:
	.ascii	"Reading file %s.\012\000"
	.align	2
.LC11:
	.ascii	"Dimensions: \000"
	.align	2
.LC12:
	.ascii	"%d \000"
	.align	2
.LC13:
	.ascii	"Nvars     : %d\012\000"
	.global	__aeabi_dsub
	.align	2
.LC14:
	.ascii	"Length of domain along dimension being eliminated: "
	.ascii	"%lf\012\000"
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
.LC15:
	.ascii	"Slice position along dimension being eliminated: %l"
	.ascii	"f\012\000"
	.global	__aeabi_dcmpge
	.align	2
.LC16:
	.ascii	"Grid indices (along dimension being eliminated) bet"
	.ascii	"ween which the slice lies: %d, %d\012\000"
	.align	2
.LC17:
	.ascii	"Spatial coordinates corresponding to these grid ind"
	.ascii	"ices: %lf, %lf\012\000"
	.global	__aeabi_ddiv
	.align	2
.LC18:
	.ascii	"Interpolation weights corresponding to these grid i"
	.ascii	"ndices: %lf, %lf\012\000"
	.align	2
.LC19:
	.ascii	"Slice dimensions: \000"
	.align	2
.LC21:
	.ascii	"Writing slice file %s.\012\000"
	.align	2
.LC20:
	.ascii	"slices/\000"
	.space	92
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ExtractSlice
	.syntax unified
	.arm
	.fpu softvfp
	.type	ExtractSlice, %function
ExtractSlice:
	@ args = 0, pretend = 0, frame = 312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #324
	str	r0, [fp, #-328]
	str	r1, [fp, #-332]
	str	r2, [fp, #-340]
	str	r3, [fp, #-336]
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	ldr	r1, .L82+4
	ldr	r0, [fp, #-328]
	bl	fopen
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L28
	mov	r3, #1
	b	.L29
.L28:
	ldr	r1, [fp, #-328]
	ldr	r0, .L82+8
	bl	printf
	sub	r0, fp, #324
	ldr	r3, [fp, #-224]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #320
	ldr	r3, [fp, #-224]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	ip, [fp, #-324]
	sub	r3, ip, #1
	str	r3, [fp, #-220]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-324]
	mov	r2, r3
	ldr	r3, [fp, #-224]
	mov	r1, #4
	ldr	r0, [fp, #-216]
	bl	fread
	ldr	r0, .L82+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L30
.L31:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L82+16
	bl	printf
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L30:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L31
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-320]
	mov	r1, r3
	ldr	r0, .L82+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L32
.L33:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L32:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L33
	ldr	r3, [fp, #-320]
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L34
.L35:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-276]
	mul	r3, r2, r3
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L34:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-272]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-276]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-208]
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-224]
	mov	r1, #8
	ldr	r0, [fp, #-212]
	bl	fread
	ldr	r2, [fp, #-276]
	ldr	r3, [fp, #-224]
	mov	r1, #8
	ldr	r0, [fp, #-208]
	bl	fread
	ldr	r0, [fp, #-224]
	bl	fclose
	ldr	r3, [fp, #-212]
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L36
.L37:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L36:
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-332]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-332]
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-280]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	ldr	r0, .L82+24
	bl	printf
	ldr	r3, [fp, #-280]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	sub	r1, fp, #340
	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
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	ldr	r0, .L82+28
	bl	printf
	mvn	r3, #0
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L38
.L41:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-268]
	str	r3, [fp, #-284]
.L39:
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L38:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-332]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-284]
	ldr	r0, .L82+32
	bl	printf
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L82+36
	bl	printf
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L82+40
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	ldr	r0, .L82+44
	bl	printf
	ldr	r3, [fp, #-324]
	sub	ip, r3, #1
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	str	r3, [fp, #-204]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-200]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-200]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-200]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L42
.L44:
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-332]
	cmp	r2, r3
	beq	.L43
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-288]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
.L43:
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L42:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L44
	ldr	r0, .L82+48
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L45
.L46:
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L82+16
	bl	printf
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L45:
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L46
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L47
.L48:
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L47:
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-320]
	str	r3, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L49
.L50:
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-268]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-296]
	mul	r3, r2, r3
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L49:
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L50
	ldr	r3, [fp, #-292]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-296]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-192]
	mov	r3, #0
	str	r3, [fp, #-300]
	mov	r3, #0
	str	r3, [fp, #-304]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L51
.L55:
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-332]
	cmp	r2, r3
	beq	.L52
	mov	r3, #0
	str	r3, [fp, #-308]
	b	.L53
.L54:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-308]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r1, [fp, #-304]
	ldr	r2, [fp, #-308]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-196]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L53:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-308]
	cmp	r2, r3
	blt	.L54
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-304]
	add	r3, r2, r3
	str	r3, [fp, #-304]
.L52:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-268]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	str	r3, [fp, #-300]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L51:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L55
	ldr	ip, [fp, #-324]
	mov	r3, sp
	mov	r9, r3
	sub	r3, ip, #1
	str	r3, [fp, #-188]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-184]
	mov	r3, #0
	str	r3, [fp, #-312]
	mov	r3, #0
	str	r3, [fp, #-316]
	b	.L56
.L57:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-316]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-316]
.L56:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-316]
	cmp	r2, r3
	blt	.L57
	b	.L58
.L78:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-332]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-284]
	cmp	r2, r3
	bne	.L59
	mov	r3, sp
	mov	r10, r3
	ldr	ip, [fp, #-324]
	sub	r3, ip, #1
	str	r3, [fp, #-180]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L60
.L61:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-256]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-256]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L60:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L61
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-332]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-332]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-324]
	sub	r2, r3, #1
	ldr	r3, [fp, #-184]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-324]
	sub	r3, r3, #2
	str	r3, [fp, #-252]
	b	.L62
.L63:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-252]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-264]
	mul	r2, r3, r2
	ldr	r3, [fp, #-184]
	ldr	r1, [fp, #-252]
	ldr	r3, [r3, r1, lsl #2]
	add	r3, r2, r3
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	str	r3, [fp, #-252]
.L62:
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	bge	.L63
	ldr	r3, [fp, #-324]
	sub	r2, r3, #1
	ldr	r3, [fp, #-176]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-260]
	ldr	r3, [fp, #-324]
	sub	r3, r3, #2
	str	r3, [fp, #-248]
	b	.L64
.L65:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-248]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-260]
	mul	r2, r3, r2
	ldr	r3, [fp, #-176]
	ldr	r1, [fp, #-248]
	ldr	r3, [r3, r1, lsl #2]
	add	r3, r2, r3
	str	r3, [fp, #-260]
	ldr	r3, [fp, #-248]
	sub	r3, r3, #1
	str	r3, [fp, #-248]
.L64:
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bge	.L65
	ldr	r3, [fp, #-324]
	sub	ip, r3, #1
	mov	r3, sp
	str	r3, [fp, #-344]
	sub	r3, ip, #1
	str	r3, [fp, #-172]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-240]
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L66
.L68:
	ldr	r2, [fp, #-256]
	ldr	r3, [fp, #-332]
	cmp	r2, r3
	beq	.L67
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-256]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-240]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
.L67:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L66:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L68
	ldr	r3, [fp, #-324]
	sub	r2, r3, #2
	ldr	r3, [fp, #-168]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-324]
	sub	r3, r3, #3
	str	r3, [fp, #-236]
	b	.L69
.L70:
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-236]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-244]
	mul	r2, r3, r2
	ldr	r3, [fp, #-168]
	ldr	r1, [fp, #-236]
	ldr	r3, [r3, r1, lsl #2]
	add	r3, r2, r3
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-236]
	sub	r3, r3, #1
	str	r3, [fp, #-236]
.L69:
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bge	.L70
	mov	r3, #0
	str	r3, [fp, #-232]
	b	.L71
.L72:
	ldr	r3, [fp, #-320]
	ldr	r2, [fp, #-264]
	mul	r2, r3, r2
	ldr	r3, [fp, #-232]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-208]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L82+40
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-320]
	ldr	r2, [fp, #-260]
	mul	r2, r3, r2
	ldr	r3, [fp, #-232]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-208]
	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, #-320]
	ldr	r2, [fp, #-244]
	mul	r2, r3, r2
	ldr	r3, [fp, #-232]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-192]
	add	r4, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L71:
	ldr	r3, [fp, #-320]
	ldr	r2, [fp, #-232]
	cmp	r2, r3
	blt	.L72
	ldr	sp, [fp, #-344]
	mov	sp, r10
.L59:
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L73
.L76:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-228]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-216]
	ldr	r1, [fp, #-228]
	ldr	r3, [r3, r1, lsl #2]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L74
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-228]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
	b	.L73
.L74:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-228]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-228]
	str	r1, [r3, r2, lsl #2]
	b	.L75
.L73:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-228]
	cmp	r2, r3
	blt	.L76
.L75:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-228]
	cmp	r2, r3
	bne	.L77
	mov	r3, #1
	str	r3, [fp, #-312]
	b	.L58
.L77:
	mov	r3, #0
	str	r3, [fp, #-312]
.L58:
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	beq	.L78
	ldr	r2, .L82+52
	sub	r3, fp, #140
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #132
	mov	r2, #92
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #140
	ldr	r1, [fp, #-328]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #140
	mov	r1, r3
	ldr	r0, .L82+56
	bl	printf
	ldr	r3, [fp, #-324]
	sub	r0, r3, #1
	ldr	r1, [fp, #-320]
	sub	r3, fp, #140
	str	r3, [sp, #4]
	ldr	r3, [fp, #-192]
	str	r3, [sp]
	ldr	r3, [fp, #-196]
	ldr	r2, [fp, #-200]
	bl	WriteBinary
	ldr	r0, [fp, #-208]
	bl	free
	ldr	r0, [fp, #-212]
	bl	free
	ldr	r0, [fp, #-192]
	bl	free
	ldr	r0, [fp, #-196]
	bl	free
	mov	r3, #0
	mov	sp, r9
	mov	sp, r5
.L29:
	mov	sp, r8
	ldr	r2, .L82
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L80
	bl	__stack_chk_fail
.L80:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC22
	.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
	.size	ExtractSlice, .-ExtractSlice
	.section	.rodata
	.align	2
.LC23:
	.ascii	"r\000"
	.align	2
.LC24:
	.ascii	"solver.inp\000"
	.align	2
.LC25:
	.ascii	"Error: File \"solver.inp\" not found.\012\000"
	.align	2
.LC26:
	.ascii	"%s\000"
	.align	2
.LC27:
	.ascii	"begin\000"
	.align	2
.LC28:
	.ascii	"dt\000"
	.align	2
.LC29:
	.ascii	"%lf\000"
	.align	2
.LC30:
	.ascii	"op_file_format\000"
	.align	2
.LC31:
	.ascii	"file_op_iter\000"
	.align	2
.LC32:
	.ascii	"%d\000"
	.align	2
.LC33:
	.ascii	"op_overwrite\000"
	.align	2
.LC34:
	.ascii	"end\000"
	.align	2
.LC35:
	.ascii	"binary\000"
	.align	2
.LC36:
	.ascii	"bin\000"
	.align	2
.LC37:
	.ascii	"Error: solution output needs to be in binary files."
	.ascii	"\000"
	.align	2
.LC38:
	.ascii	"Enter dimension to eliminate: \000"
	.align	2
.LC39:
	.ascii	"Enter nondimensional position along %d-dimension to"
	.ascii	" extract the (n-1)-dimensional slice at ([0,1]): \000"
	.align	2
.LC40:
	.ascii	"no\000"
	.align	2
.LC41:
	.ascii	"op_00000.bin\000"
	.align	2
.LC42:
	.ascii	"No more files found. Exiting.\000"
	.align	2
.LC43:
	.ascii	"yes\000"
	.align	2
.LC44:
	.ascii	"op.bin\000"
	.align	2
.LC45:
	.ascii	"File not found. Exiting.\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L101+4
	ldr	r0, .L101+8
	bl	fopen
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L85
	ldr	r3, .L101+12
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L101+16
	bl	fwrite
	mov	r3, #1
	b	.L99
.L85:
	sub	r3, fp, #108
	mov	r2, r3
	ldr	r1, .L101+20
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	sub	r3, fp, #108
	ldr	r1, .L101+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L87
	b	.L88
.L92:
	sub	r3, fp, #108
	mov	r2, r3
	ldr	r1, .L101+20
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	sub	r3, fp, #108
	ldr	r1, .L101+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L89
	sub	r3, fp, #228
	mov	r2, r3
	ldr	r1, .L101+32
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	b	.L88
.L89:
	sub	r3, fp, #108
	ldr	r1, .L101+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	sub	r3, fp, #212
	mov	r2, r3
	ldr	r1, .L101+20
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	b	.L88
.L90:
	sub	r3, fp, #108
	ldr	r1, .L101+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L91
	sub	r3, fp, #248
	mov	r2, r3
	ldr	r1, .L101+44
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	b	.L88
.L91:
	sub	r3, fp, #108
	ldr	r1, .L101+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L88
	sub	r3, fp, #160
	mov	r2, r3
	ldr	r1, .L101+20
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
.L88:
	sub	r3, fp, #108
	ldr	r1, .L101+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L92
.L87:
	ldr	r0, [fp, #-240]
	bl	fclose
	sub	r3, fp, #212
	ldr	r1, .L101+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L93
	sub	r3, fp, #212
	ldr	r1, .L101+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L93
	ldr	r0, .L101+64
	bl	puts
	mov	r3, #0
	b	.L99
.L93:
	ldr	r0, .L101+68
	bl	printf
	sub	r3, fp, #244
	mov	r1, r3
	ldr	r0, .L101+44
	bl	__isoc99_scanf
	ldr	r3, [fp, #-244]
	mov	r1, r3
	ldr	r0, .L101+72
	bl	printf
	sub	r3, fp, #220
	mov	r1, r3
	ldr	r0, .L101+32
	bl	__isoc99_scanf
	sub	r3, fp, #160
	ldr	r1, .L101+76
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L94
	sub	r3, fp, #108
	ldr	r2, .L101+80
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
.L97:
	ldr	r1, [fp, #-244]
	sub	r3, fp, #220
	ldmia	r3, {r2-r3}
	sub	r0, fp, #108
	bl	ExtractSlice
	str	r0, [fp, #-232]
	ldr	r3, [fp, #-232]
	cmp	r3, #0
	beq	.L95
	ldr	r0, .L101+84
	bl	puts
	b	.L98
.L95:
	sub	r3, fp, #108
	mov	r0, r3
	bl	IncrementFilename
	b	.L97
.L94:
	sub	r3, fp, #160
	ldr	r1, .L101+88
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L98
	sub	r3, fp, #108
	ldr	r2, .L101+92
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	ldr	r1, [fp, #-244]
	sub	r3, fp, #220
	ldmia	r3, {r2-r3}
	sub	r0, fp, #108
	bl	ExtractSlice
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	beq	.L98
	ldr	r0, .L101+96
	bl	puts
.L98:
	mov	r3, #0
.L99:
	ldr	r2, .L101
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L100
	bl	__stack_chk_fail
.L100:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	.LC46
	.word	.LC23
	.word	.LC24
	.word	stderr
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
