	.file	"403991.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"USAGE:  ./extract_gradu filename  orig_size  subcube_size "
.LC1:
	.string	"%1i"
.LC2:
	.string	"r"
.LC3:
	.string	"filename = %i %i %s %p\n"
.LC4:
	.string	"error opening file..."
.LC5:
	.string	"subname = %s \n"
.LC6:
	.string	"w"
.LC7:
	.string	"input file: %s\n "
	.align 8
.LC8:
	.string	"original size: %i  subcube size: %i \n"
	.align 8
.LC9:
	.string	"Error: couldn't malloc subcube "
.LC10:
	.string	"%i %i %i \n"
.LC11:
	.string	"u_%1i,%1i "
.LC12:
	.string	"Error on read "
.LC14:
	.string	"min=%f max=%f\n"
.LC15:
	.string	"%18.10e %18.10e %18.10e \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 880
	mov	DWORD PTR -868[rbp], edi
	mov	QWORD PTR -880[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -849[rbp], 65
	cmp	DWORD PTR -868[rbp], 4
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -880[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	lea	rax, -496[rbp]
	mov	edx, 240
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -496[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -820[rbp], eax
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	BYTE PTR -496[rbp+rax], 46
	mov	eax, DWORD PTR -820[rbp]
	add	eax, 3
	cdqe
	mov	BYTE PTR -496[rbp+rax], 0
	mov	DWORD PTR -828[rbp], 0
	jmp	.L3
.L7:
	mov	DWORD PTR -824[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -828[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -820[rbp]
	add	eax, 1
	lea	rcx, -496[rbp]
	cdqe
	add	rax, rcx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -824[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -820[rbp]
	add	eax, 2
	lea	rcx, -496[rbp]
	cdqe
	add	rax, rcx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -496[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -824[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	QWORD PTR -736[rbp+rax*8], rdx
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	rsi, QWORD PTR -736[rbp+rax*8]
	lea	rcx, -496[rbp]
	mov	edx, DWORD PTR -824[rbp]
	mov	eax, DWORD PTR -828[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	rax, QWORD PTR -736[rbp+rax*8]
	test	rax, rax
	jne	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	add	DWORD PTR -824[rbp], 1
.L4:
	cmp	DWORD PTR -824[rbp], 2
	jle	.L6
	add	DWORD PTR -828[rbp], 1
.L3:
	cmp	DWORD PTR -828[rbp], 2
	jle	.L7
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	BYTE PTR -496[rbp+rax], 0
	lea	rdx, -496[rbp]
	lea	rax, -256[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -820[rbp], eax
	lea	rdx, -256[rbp]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	add	rax, rdx
	mov	DWORD PTR [rax], 1634887470
	mov	WORD PTR 4[rax], 30052
	mov	BYTE PTR 6[rax], 0
	lea	rax, -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -256[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -800[rbp], rax
	lea	rdx, -256[rbp]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	add	rax, rdx
	movabs	rsi, 14202822827599662
	mov	QWORD PTR [rax], rsi
	lea	rax, -256[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -792[rbp], rax
	lea	rax, -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -880[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -784[rbp], rax
	mov	rax, QWORD PTR -880[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -776[rbp], rax
	lea	rax, -496[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -776[rbp]
	mov	rax, QWORD PTR -784[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -776[rbp]
	mov	QWORD PTR -768[rbp], rax
	mov	rax, QWORD PTR -768[rbp]
	imul	rax, rax
	mov	rdx, QWORD PTR -768[rbp]
	imul	rax, rdx
	mov	QWORD PTR -768[rbp], rax
	mov	rax, QWORD PTR -768[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -760[rbp], rax
	cmp	QWORD PTR -760[rbp], 0
	jne	.L8
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	DWORD PTR -840[rbp], 0
	jmp	.L9
.L33:
	mov	DWORD PTR -836[rbp], 0
	jmp	.L10
.L32:
	mov	DWORD PTR -832[rbp], 0
	jmp	.L11
.L31:
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rsi, rax
	mov	eax, DWORD PTR -840[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -828[rbp], 0
	jmp	.L12
.L26:
	mov	DWORD PTR -824[rbp], 0
	jmp	.L13
.L25:
	mov	edx, DWORD PTR -824[rbp]
	mov	eax, DWORD PTR -828[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -848[rbp], 0
	jmp	.L14
.L18:
	mov	DWORD PTR -844[rbp], 0
	jmp	.L15
.L17:
	mov	edx, DWORD PTR -848[rbp]
	mov	eax, DWORD PTR -840[rbp]
	add	eax, edx
	cdqe
	imul	rax, QWORD PTR -784[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	add	rax, rdx
	imul	rax, QWORD PTR -784[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -752[rbp], rax
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	imul	rax, QWORD PTR -776[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -776[rbp]
	imul	rax, rdx
	mov	QWORD PTR -744[rbp], rax
	mov	rax, QWORD PTR -752[rbp]
	sal	rax, 3
	mov	QWORD PTR -752[rbp], rax
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	rax, QWORD PTR -736[rbp+rax*8]
	mov	rcx, QWORD PTR -752[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	rdx, QWORD PTR -736[rbp+rax*8]
	mov	rax, QWORD PTR -776[rbp]
	mov	rcx, QWORD PTR -744[rbp]
	lea	rsi, 0[0+rcx*8]
	mov	rcx, QWORD PTR -760[rbp]
	lea	rdi, [rsi+rcx]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 8
	call	fread@PLT
	mov	rdx, QWORD PTR -776[rbp]
	cmp	rax, rdx
	je	.L16
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	add	DWORD PTR -844[rbp], 1
.L15:
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	cmp	QWORD PTR -776[rbp], rax
	jg	.L17
	add	DWORD PTR -848[rbp], 1
.L14:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	cmp	QWORD PTR -776[rbp], rax
	jg	.L18
	mov	rax, QWORD PTR -760[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -816[rbp], xmm0
	mov	rax, QWORD PTR -760[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -808[rbp], xmm0
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -656[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -576[rbp+rax*8], xmm0
	mov	DWORD PTR -848[rbp], 0
	jmp	.L19
.L24:
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -656[rbp+rax*8]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	QWORD PTR -656[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -576[rbp+rax*8]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	QWORD PTR -576[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -816[rbp]
	comisd	xmm0, xmm1
	jbe	.L20
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -816[rbp], xmm0
.L20:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -808[rbp]
	jbe	.L22
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -760[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -808[rbp], xmm0
.L22:
	add	DWORD PTR -848[rbp], 1
.L19:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	cmp	QWORD PTR -768[rbp], rax
	jg	.L24
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	xmm0, QWORD PTR -656[rbp+rax*8]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -768[rbp]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	QWORD PTR -656[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	xmm0, QWORD PTR -576[rbp+rax*8]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -768[rbp]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movsd	QWORD PTR -576[rbp+rax*8], xmm0
	movsd	xmm0, QWORD PTR -808[rbp]
	mov	rax, QWORD PTR -816[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -824[rbp], 1
.L13:
	cmp	DWORD PTR -824[rbp], 2
	jle	.L25
	add	DWORD PTR -828[rbp], 1
.L12:
	cmp	DWORD PTR -828[rbp], 2
	jle	.L26
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rsi, rax
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -840[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -800[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -848[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 640
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 648
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 656
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -800[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -848[rbp], 1
.L27:
	cmp	DWORD PTR -848[rbp], 2
	jle	.L28
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rsi, rax
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -840[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -776[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -792[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -848[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 560
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 568
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 576
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -792[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -848[rbp], 1
.L29:
	cmp	DWORD PTR -848[rbp], 2
	jle	.L30
	mov	rax, QWORD PTR -776[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -832[rbp]
	add	eax, edx
	mov	DWORD PTR -832[rbp], eax
.L11:
	mov	eax, DWORD PTR -832[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -784[rbp]
	sub	rax, QWORD PTR -776[rbp]
	cmp	rdx, rax
	jle	.L31
	mov	rax, QWORD PTR -776[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -836[rbp]
	add	eax, edx
	mov	DWORD PTR -836[rbp], eax
.L10:
	mov	eax, DWORD PTR -836[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -784[rbp]
	sub	rax, QWORD PTR -776[rbp]
	cmp	rdx, rax
	jle	.L32
	mov	rax, QWORD PTR -776[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -840[rbp]
	add	eax, edx
	mov	DWORD PTR -840[rbp], eax
.L9:
	mov	eax, DWORD PTR -840[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -784[rbp]
	sub	rax, QWORD PTR -776[rbp]
	cmp	rdx, rax
	jle	.L33
	nop
.L34:
	mov	DWORD PTR -828[rbp], 0
	jmp	.L35
.L38:
	mov	DWORD PTR -824[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -824[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	rax, QWORD PTR -736[rbp+rax*8]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -824[rbp], 1
.L36:
	cmp	DWORD PTR -824[rbp], 2
	jle	.L37
	add	DWORD PTR -828[rbp], 1
.L35:
	cmp	DWORD PTR -828[rbp], 2
	jle	.L38
	mov	rax, QWORD PTR -800[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"403991.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"USAGE:  ./extract_gradu filename  orig_size  subcub"
	.ascii	"e_size \000"
	.align	2
.LC1:
	.ascii	"%1i\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"filename = %i %i %s %p\012\000"
	.align	2
.LC4:
	.ascii	"error opening file...\000"
	.align	2
.LC5:
	.ascii	".gradu\000"
	.align	2
.LC6:
	.ascii	"subname = %s \012\000"
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	".gradu2\000"
	.align	2
.LC9:
	.ascii	"input file: %s\012 \000"
	.align	2
.LC10:
	.ascii	"original size: %i  subcube size: %i \012\000"
	.align	2
.LC11:
	.ascii	"Error: couldn't malloc subcube \000"
	.global	__aeabi_idiv
	.align	2
.LC12:
	.ascii	"%i %i %i \012\000"
	.align	2
.LC13:
	.ascii	"u_%1i,%1i \000"
	.align	2
.LC14:
	.ascii	"Error on read \000"
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC15:
	.ascii	"min=%f max=%f\012\000"
	.align	2
.LC16:
	.ascii	"%18.10e %18.10e %18.10e \012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 768
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #784
	str	r0, [fp, #-776]
	str	r1, [fp, #-780]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #65
	strb	r3, [fp, #-765]
	ldr	r3, [fp, #-776]
	cmp	r3, #4
	beq	.L2
	ldr	r0, .L43+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-780]
	add	r3, r3, #4
	ldr	r1, [r3]
	sub	r3, fp, #496
	mov	r2, #240
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #496
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-736]
	sub	r2, fp, #496
	ldr	r3, [fp, #-736]
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	ldr	r3, [fp, #-736]
	add	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-484]
	mov	r3, #0
	str	r3, [fp, #-744]
	b	.L3
.L7:
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L4
.L6:
	ldr	r3, [fp, #-736]
	add	r3, r3, #1
	sub	r2, fp, #496
	add	r0, r2, r3
	ldr	r3, [fp, #-744]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L43+8
	bl	sprintf
	ldr	r3, [fp, #-736]
	add	r3, r3, #2
	sub	r2, fp, #496
	add	r0, r2, r3
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L43+8
	bl	sprintf
	sub	r3, fp, #496
	ldr	r1, .L43+12
	mov	r0, r3
	bl	fopen
	mov	r1, r0
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-668]
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-668]
	sub	r2, fp, #496
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-740]
	ldr	r1, [fp, #-744]
	ldr	r0, .L43+16
	bl	printf
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-668]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L43+20
	bl	puts
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L4:
	ldr	r3, [fp, #-740]
	cmp	r3, #2
	ble	.L6
	ldr	r3, [fp, #-744]
	add	r3, r3, #1
	str	r3, [fp, #-744]
.L3:
	ldr	r3, [fp, #-744]
	cmp	r3, #2
	ble	.L7
	sub	r2, fp, #496
	ldr	r3, [fp, #-736]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r2, fp, #496
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #256
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-736]
	sub	r2, fp, #256
	ldr	r3, [fp, #-736]
	add	r3, r2, r3
	ldr	r2, .L43+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #256
	mov	r1, r3
	ldr	r0, .L43+28
	bl	printf
	sub	r3, fp, #256
	ldr	r1, .L43+32
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-732]
	sub	r2, fp, #256
	ldr	r3, [fp, #-736]
	add	r3, r2, r3
	ldr	r2, .L43+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #256
	ldr	r1, .L43+32
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-728]
	sub	r3, fp, #256
	mov	r1, r3
	ldr	r0, .L43+28
	bl	printf
	ldr	r3, [fp, #-780]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-724]
	ldr	r3, [fp, #-780]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-720]
	sub	r3, fp, #496
	mov	r1, r3
	ldr	r0, .L43+40
	bl	printf
	ldr	r2, [fp, #-720]
	ldr	r1, [fp, #-724]
	ldr	r0, .L43+44
	bl	printf
	ldr	r3, [fp, #-720]
	str	r3, [fp, #-716]
	ldr	r3, [fp, #-716]
	mul	r2, r3, r3
	ldr	r3, [fp, #-716]
	mul	r3, r2, r3
	str	r3, [fp, #-716]
	ldr	r3, [fp, #-716]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-712]
	ldr	r3, [fp, #-712]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L43+48
	bl	puts
	mov	r0, #1
	bl	exit
.L8:
	mov	r3, #0
	str	r3, [fp, #-756]
	b	.L9
.L33:
	mov	r3, #0
	str	r3, [fp, #-752]
	b	.L10
.L32:
	mov	r3, #0
	str	r3, [fp, #-748]
	b	.L11
.L31:
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-756]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-752]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r5, r3
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-748]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L43+52
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-744]
	b	.L12
.L26:
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L13
.L25:
	ldr	r2, [fp, #-740]
	ldr	r1, [fp, #-744]
	ldr	r0, .L43+56
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-764]
	b	.L14
.L18:
	mov	r3, #0
	str	r3, [fp, #-760]
	b	.L15
.L17:
	ldr	r2, [fp, #-764]
	ldr	r3, [fp, #-756]
	add	r3, r2, r3
	ldr	r2, [fp, #-724]
	mul	r2, r3, r2
	ldr	r3, [fp, #-760]
	add	r2, r2, r3
	ldr	r3, [fp, #-752]
	add	r3, r2, r3
	ldr	r2, [fp, #-724]
	mul	r3, r2, r3
	ldr	r2, [fp, #-748]
	add	r3, r2, r3
	str	r3, [fp, #-708]
	ldr	r3, [fp, #-720]
	ldr	r2, [fp, #-764]
	mul	r2, r3, r2
	ldr	r3, [fp, #-760]
	add	r2, r2, r3
	ldr	r3, [fp, #-720]
	mul	r3, r2, r3
	str	r3, [fp, #-704]
	ldr	r3, [fp, #-708]
	lsl	r3, r3, #3
	str	r3, [fp, #-708]
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-668]
	mov	r2, #0
	ldr	r1, [fp, #-708]
	mov	r0, r3
	bl	fseek
	ldr	r3, [fp, #-704]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r0, r2, r3
	ldr	r1, [fp, #-720]
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-668]
	mov	r2, r1
	mov	r1, #8
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-720]
	cmp	r2, r3
	beq	.L16
	ldr	r0, .L43+60
	bl	puts
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-760]
	add	r3, r3, #1
	str	r3, [fp, #-760]
.L15:
	ldr	r2, [fp, #-760]
	ldr	r3, [fp, #-720]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-764]
	add	r3, r3, #1
	str	r3, [fp, #-764]
.L14:
	ldr	r2, [fp, #-764]
	ldr	r3, [fp, #-720]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-712]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-700]
	str	r3, [fp, #-696]
	ldr	r3, [fp, #-712]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-692]
	str	r3, [fp, #-688]
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r1, r3, #632
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r1, r3, #560
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-764]
	b	.L19
.L24:
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #632
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #632
	stm	r3, {r0-r1}
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #560
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	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
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #560
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #700
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-700]
	str	r3, [fp, #-696]
.L20:
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #692
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-764]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-712]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-692]
	str	r3, [fp, #-688]
.L22:
	ldr	r3, [fp, #-764]
	add	r3, r3, #1
	str	r3, [fp, #-764]
.L19:
	ldr	r2, [fp, #-764]
	ldr	r3, [fp, #-716]
	cmp	r2, r3
	blt	.L24
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #632
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-716]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #632
	stm	r3, {r0-r1}
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #560
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-716]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #560
	stm	r3, {r0-r1}
	sub	r3, fp, #692
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #700
	ldmia	r3, {r2-r3}
	ldr	r0, .L43+64
	bl	printf
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L13:
	ldr	r3, [fp, #-740]
	cmp	r3, #2
	ble	.L25
	ldr	r3, [fp, #-744]
	add	r3, r3, #1
	str	r3, [fp, #-744]
.L12:
	ldr	r3, [fp, #-744]
	cmp	r3, #2
	ble	.L26
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-756]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-752]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r5, r3
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-748]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L43+52
	ldr	r0, [fp, #-732]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-764]
	b	.L27
.L28:
	ldr	r2, [fp, #-764]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #632
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-764]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #624
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-764]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #616
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r0-r1}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L43+68
	ldr	r0, [fp, #-732]
	bl	fprintf
	ldr	r3, [fp, #-764]
	add	r3, r3, #1
	str	r3, [fp, #-764]
.L27:
	ldr	r3, [fp, #-764]
	cmp	r3, #2
	ble	.L28
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-756]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-752]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r5, r3
	ldr	r1, [fp, #-720]
	ldr	r0, [fp, #-748]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L43+52
	ldr	r0, [fp, #-728]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-764]
	b	.L29
.L30:
	ldr	r2, [fp, #-764]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #560
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-764]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #552
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-764]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #544
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r0-r1}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L43+68
	ldr	r0, [fp, #-728]
	bl	fprintf
	ldr	r3, [fp, #-764]
	add	r3, r3, #1
	str	r3, [fp, #-764]
.L29:
	ldr	r3, [fp, #-764]
	cmp	r3, #2
	ble	.L30
	ldr	r2, [fp, #-748]
	ldr	r3, [fp, #-720]
	add	r3, r2, r3
	str	r3, [fp, #-748]
.L11:
	ldr	r2, [fp, #-724]
	ldr	r3, [fp, #-720]
	sub	r3, r2, r3
	ldr	r2, [fp, #-748]
	cmp	r2, r3
	ble	.L31
	ldr	r2, [fp, #-752]
	ldr	r3, [fp, #-720]
	add	r3, r2, r3
	str	r3, [fp, #-752]
.L10:
	ldr	r2, [fp, #-724]
	ldr	r3, [fp, #-720]
	sub	r3, r2, r3
	ldr	r2, [fp, #-752]
	cmp	r2, r3
	ble	.L32
	ldr	r2, [fp, #-756]
	ldr	r3, [fp, #-720]
	add	r3, r2, r3
	str	r3, [fp, #-756]
.L9:
	ldr	r2, [fp, #-724]
	ldr	r3, [fp, #-720]
	sub	r3, r2, r3
	ldr	r2, [fp, #-756]
	cmp	r2, r3
	ble	.L33
	nop
.L34:
	mov	r3, #0
	str	r3, [fp, #-744]
	b	.L35
.L38:
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L36
.L37:
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-740]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-668]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L36:
	ldr	r3, [fp, #-740]
	cmp	r3, #2
	ble	.L37
	ldr	r3, [fp, #-744]
	add	r3, r3, #1
	str	r3, [fp, #-744]
.L35:
	ldr	r3, [fp, #-744]
	cmp	r3, #2
	ble	.L38
	ldr	r0, [fp, #-732]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC17
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
