	.file	"515357.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\007\nUnexpected number of arguments"
.LC1:
	.string	"\nUSAGE:"
	.align 8
.LC2:
	.string	"gradient  PHIT  G  V  d_order  eps  PHIN\n"
	.align 8
.LC3:
	.string	"\t PHIT = first approximation of the solution"
.LC4:
	.string	"\t G = interpolation function"
	.align 8
.LC5:
	.string	"\t V = multiresolution support constraint"
	.align 8
.LC6:
	.string	"\t d_order = decomposition order of the constraint"
	.align 8
.LC7:
	.string	"\t eps = threshold for residual"
.LC8:
	.string	"\t PHIN = final solution"
.LC9:
	.string	"\t \n"
	.align 8
.LC10:
	.string	"\007\nFATAL ERROR : [%s & %s] have different sizes\n"
.LC11:
	.string	"%d"
	.align 8
.LC12:
	.string	"\007\nFATAL ERROR : incorrect decomposition order [%d]\n"
.LC13:
	.string	"%f"
	.align 8
.LC16:
	.string	"\007\nFATAL ERROR : incorrect threshold for residual [%f]\n"
	.align 8
.LC19:
	.string	"\007\nFATAL ERROR : problem in the decomposition\n\n"
	.align 8
.LC20:
	.string	"\007\nFATAL ERROR : problem in the recomposition\n\n"
.LC21:
	.string	"it = %d  eps = %f\n"
.LC22:
	.string	"  Number of iterations: %d\n\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
	push	r13
	push	r12
	push	rbx
	sub	rsp, 1288
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -1300[rbp], edi
	mov	QWORD PTR -1312[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1300[rbp], 7
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	DWORD PTR -1260[rbp], 2
	lea	rax, -1104[rbp]
	mov	DWORD PTR [rax], 1634692198
	mov	WORD PTR 4[rax], 116
	lea	rax, -1088[rbp]
	mov	DWORD PTR [rax], 1818322290
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	r9, -1088[rbp]
	lea	r8, -1112[rbp]
	lea	rcx, -1104[rbp]
	lea	rdx, -1136[rbp]
	mov	esi, DWORD PTR -1260[rbp]
	sub	rsp, 8
	lea	rdi, -1072[rbp]
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	read_data@PLT
	add	rsp, 16
	cdqe
	mov	QWORD PTR -1224[rbp], rax
	mov	eax, DWORD PTR -1136[rbp]
	mov	DWORD PTR -1256[rbp], eax
	mov	eax, DWORD PTR -1132[rbp]
	mov	DWORD PTR -1252[rbp], eax
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	r9, -1088[rbp]
	lea	r8, -1112[rbp]
	lea	rcx, -1104[rbp]
	lea	rdx, -1136[rbp]
	mov	esi, DWORD PTR -1260[rbp]
	sub	rsp, 8
	lea	rdi, -1072[rbp]
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	read_data@PLT
	add	rsp, 16
	cdqe
	mov	QWORD PTR -1216[rbp], rax
	mov	eax, DWORD PTR -1136[rbp]
	cmp	DWORD PTR -1256[rbp], eax
	jne	.L3
	mov	eax, DWORD PTR -1132[rbp]
	cmp	DWORD PTR -1252[rbp], eax
	je	.L4
.L3:
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	r9, -1088[rbp]
	lea	r8, -1112[rbp]
	lea	rcx, -1104[rbp]
	lea	rdx, -1136[rbp]
	mov	esi, DWORD PTR -1260[rbp]
	sub	rsp, 8
	lea	rdi, -1072[rbp]
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	read_data@PLT
	add	rsp, 16
	cdqe
	mov	QWORD PTR -1208[rbp], rax
	mov	eax, DWORD PTR -1136[rbp]
	cmp	DWORD PTR -1256[rbp], eax
	jne	.L5
	mov	eax, DWORD PTR -1132[rbp]
	cmp	DWORD PTR -1252[rbp], eax
	je	.L6
.L5:
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 24
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1292[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -1248[rbp], eax
	cmp	DWORD PTR -1248[rbp], 1
	jne	.L7
	mov	eax, DWORD PTR -1292[rbp]
	test	eax, eax
	js	.L7
	mov	eax, DWORD PTR -1292[rbp]
	cmp	eax, 10
	jle	.L8
.L7:
	mov	edx, DWORD PTR -1292[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1288[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -1248[rbp], eax
	cmp	DWORD PTR -1248[rbp], 1
	jne	.L9
	movss	xmm0, DWORD PTR -1288[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	comisd	xmm0, xmm1
	ja	.L9
	movss	xmm0, DWORD PTR -1288[rbp]
	comiss	xmm0, DWORD PTR .LC15[rip]
	jbe	.L70
.L9:
	movss	xmm0, DWORD PTR -1288[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	mov	rax, QWORD PTR stderr[rip]
	movq	xmm0, rdx
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L70:
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1200[rbp], rax
	mov	ebx, 0
	jmp	.L12
.L15:
	mov	r12d, 0
	jmp	.L13
.L14:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1224[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rdx, rax
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	add	eax, eax
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -1200[rbp]
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1200[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L13:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L14
	add	ebx, 1
.L12:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L15
	mov	DWORD PTR -1244[rbp], 2
	mov	DWORD PTR -1240[rbp], -1
	mov	eax, DWORD PTR -1256[rbp]
	mov	DWORD PTR -1144[rbp], eax
	mov	eax, DWORD PTR -1252[rbp]
	mov	DWORD PTR -1140[rbp], eax
	lea	rax, -1144[rbp]
	sub	rax, 4
	mov	rdx, QWORD PTR -1200[rbp]
	lea	rdi, -4[rdx]
	mov	ecx, DWORD PTR -1240[rbp]
	mov	edx, DWORD PTR -1244[rbp]
	mov	rsi, rax
	mov	eax, 0
	call	fourn@PLT
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1192[rbp], rax
	mov	ebx, 0
	jmp	.L16
.L19:
	mov	r12d, 0
	jmp	.L17
.L18:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1216[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rdx, rax
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -1192[rbp]
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L17:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L18
	add	ebx, 1
.L16:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L19
	mov	edx, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1216[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	free_square_float@PLT
	mov	edx, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1224[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	free_square_float@PLT
	mov	edx, DWORD PTR -1252[rbp]
	mov	eax, DWORD PTR -1256[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	alloc_square_float@PLT
	mov	QWORD PTR -1184[rbp], rax
	mov	edx, DWORD PTR -1252[rbp]
	mov	eax, DWORD PTR -1256[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	alloc_square_float@PLT
	mov	QWORD PTR -1176[rbp], rax
	mov	edx, DWORD PTR -1252[rbp]
	mov	eax, DWORD PTR -1256[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	alloc_square_float@PLT
	mov	QWORD PTR -1168[rbp], rax
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1160[rbp], rax
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1152[rbp], rax
	mov	DWORD PTR -1280[rbp], 0
	movss	xmm0, DWORD PTR .LC18[rip]
	movss	DWORD PTR -1284[rbp], xmm0
	jmp	.L20
.L67:
	add	DWORD PTR -1280[rbp], 1
	mov	ebx, 0
	jmp	.L21
.L24:
	mov	r12d, 0
	jmp	.L22
.L23:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rdx, rax
	movsx	rax, ebx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L22:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L23
	add	ebx, 1
.L21:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L24
	mov	ebx, 0
	jmp	.L25
.L28:
	mov	r12d, 0
	jmp	.L26
.L27:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rdx, rax
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	add	eax, eax
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L26:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L27
	add	ebx, 1
.L25:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L28
	mov	DWORD PTR -1244[rbp], 2
	mov	DWORD PTR -1240[rbp], -1
	mov	eax, DWORD PTR -1256[rbp]
	mov	DWORD PTR -1144[rbp], eax
	mov	eax, DWORD PTR -1252[rbp]
	mov	DWORD PTR -1140[rbp], eax
	lea	rax, -1144[rbp]
	sub	rax, 4
	mov	rdx, QWORD PTR -1160[rbp]
	lea	rdi, -4[rdx]
	mov	ecx, DWORD PTR -1240[rbp]
	mov	edx, DWORD PTR -1244[rbp]
	mov	rsi, rax
	mov	eax, 0
	call	fourn@PLT
	mov	r13d, 0
	jmp	.L29
.L30:
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1200[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	subss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r13d, 1
.L29:
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, eax
	cmp	r13d, eax
	jl	.L30
	mov	r13d, 0
	jmp	.L31
.L32:
	lea	eax, [r13+r13]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1192[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	lea	eax, [r13+r13]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	lea	eax, [r13+r13]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1192[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	lea	eax, [r13+r13]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r13d, 1
.L31:
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	cmp	r13d, eax
	jl	.L32
	mov	DWORD PTR -1240[rbp], 1
	lea	rax, -1144[rbp]
	sub	rax, 4
	mov	rdx, QWORD PTR -1160[rbp]
	lea	rdi, -4[rdx]
	mov	ecx, DWORD PTR -1240[rbp]
	mov	edx, DWORD PTR -1244[rbp]
	mov	rsi, rax
	mov	eax, 0
	call	fourn@PLT
	mov	r13d, 0
	jmp	.L33
.L34:
	mov	eax, r13d
	cdq
	idiv	DWORD PTR -1252[rbp]
	mov	ebx, eax
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	mov	r12d, r13d
	sub	r12d, eax
	lea	eax, [r13+r13]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1160[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	divss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r13d, 1
.L33:
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	cmp	r13d, eax
	jl	.L34
	mov	ecx, DWORD PTR -1292[rbp]
	mov	edx, DWORD PTR -1252[rbp]
	mov	esi, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	decomposition_mallat_ncs@PLT
	mov	DWORD PTR -1248[rbp], eax
	cmp	DWORD PTR -1248[rbp], 0
	je	.L35
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L35:
	mov	ebx, 0
	jmp	.L36
.L39:
	mov	r12d, 0
	jmp	.L37
.L38:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1208[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L37:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L38
	add	ebx, 1
.L36:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L39
	mov	ecx, DWORD PTR -1292[rbp]
	mov	edx, DWORD PTR -1252[rbp]
	mov	esi, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	recomposition_mallat_ncs@PLT
	mov	DWORD PTR -1248[rbp], eax
	cmp	DWORD PTR -1248[rbp], 0
	je	.L40
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L40:
	mov	ebx, 0
	jmp	.L41
.L44:
	mov	r12d, 0
	jmp	.L42
.L43:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rdx, rax
	movsx	rax, ebx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -1176[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L42:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L43
	add	ebx, 1
.L41:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L44
	mov	ebx, 0
	jmp	.L45
.L48:
	mov	r12d, 0
	jmp	.L46
.L47:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1176[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rdx, rax
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	add	eax, eax
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	add	eax, r12d
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L46:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L47
	add	ebx, 1
.L45:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L48
	mov	DWORD PTR -1244[rbp], 2
	mov	DWORD PTR -1240[rbp], -1
	mov	eax, DWORD PTR -1256[rbp]
	mov	DWORD PTR -1144[rbp], eax
	mov	eax, DWORD PTR -1252[rbp]
	mov	DWORD PTR -1140[rbp], eax
	lea	rax, -1144[rbp]
	sub	rax, 4
	mov	rdx, QWORD PTR -1152[rbp]
	lea	rdi, -4[rdx]
	mov	ecx, DWORD PTR -1240[rbp]
	mov	edx, DWORD PTR -1244[rbp]
	mov	rsi, rax
	mov	eax, 0
	call	fourn@PLT
	mov	r13d, 0
	jmp	.L49
.L50:
	lea	eax, [r13+r13]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1192[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	lea	eax, [r13+r13]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	lea	eax, [r13+r13]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, r13d
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1192[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	lea	eax, [r13+r13]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r13d, 1
.L49:
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	cmp	r13d, eax
	jl	.L50
	mov	DWORD PTR -1240[rbp], 1
	lea	rax, -1144[rbp]
	sub	rax, 4
	mov	rdx, QWORD PTR -1152[rbp]
	lea	rdi, -4[rdx]
	mov	ecx, DWORD PTR -1240[rbp]
	mov	edx, DWORD PTR -1244[rbp]
	mov	rsi, rax
	mov	eax, 0
	call	fourn@PLT
	mov	r13d, 0
	jmp	.L51
.L52:
	mov	eax, r13d
	cdq
	idiv	DWORD PTR -1252[rbp]
	mov	ebx, eax
	mov	eax, ebx
	imul	eax, DWORD PTR -1252[rbp]
	mov	r12d, r13d
	sub	r12d, eax
	lea	eax, [r13+r13]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1176[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	divss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r13d, 1
.L51:
	mov	eax, DWORD PTR -1256[rbp]
	imul	eax, DWORD PTR -1252[rbp]
	cmp	r13d, eax
	jl	.L52
	mov	ecx, DWORD PTR -1292[rbp]
	mov	edx, DWORD PTR -1252[rbp]
	mov	esi, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	decomposition_mallat_ncs@PLT
	mov	DWORD PTR -1248[rbp], eax
	cmp	DWORD PTR -1248[rbp], 0
	je	.L53
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L53:
	mov	ebx, 0
	jmp	.L54
.L57:
	mov	r12d, 0
	jmp	.L55
.L56:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1208[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	r12d, 1
.L55:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L56
	add	ebx, 1
.L54:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L57
	mov	ecx, DWORD PTR -1292[rbp]
	mov	edx, DWORD PTR -1252[rbp]
	mov	esi, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	recomposition_mallat_ncs@PLT
	mov	DWORD PTR -1248[rbp], eax
	cmp	DWORD PTR -1248[rbp], 0
	je	.L58
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L58:
	pxor	xmm0, xmm0
	movss	DWORD PTR -1276[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -1264[rbp], xmm0
	mov	ebx, 0
	jmp	.L59
.L62:
	mov	r12d, 0
	jmp	.L60
.L61:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1176[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -1264[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1264[rbp], xmm0
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -1276[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1276[rbp], xmm0
	add	r12d, 1
.L60:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L61
	add	ebx, 1
.L59:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L62
	movss	xmm0, DWORD PTR -1276[rbp]
	divss	xmm0, DWORD PTR -1264[rbp]
	movss	DWORD PTR -1236[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -1268[rbp], xmm0
	movss	xmm0, DWORD PTR -1268[rbp]
	movss	DWORD PTR -1272[rbp], xmm0
	mov	ebx, 0
	jmp	.L63
.L66:
	mov	r12d, 0
	jmp	.L64
.L65:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -1232[rbp], xmm0
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, DWORD PTR -1236[rbp]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	addss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -1228[rbp], xmm0
	movss	xmm0, DWORD PTR -1228[rbp]
	mulss	xmm0, xmm0
	movss	xmm1, DWORD PTR -1272[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1272[rbp], xmm0
	movss	xmm0, DWORD PTR -1228[rbp]
	movaps	xmm1, xmm0
	subss	xmm1, DWORD PTR -1232[rbp]
	movss	xmm0, DWORD PTR -1228[rbp]
	subss	xmm0, DWORD PTR -1232[rbp]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -1268[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1268[rbp], xmm0
	add	r12d, 1
.L64:
	cmp	r12d, DWORD PTR -1252[rbp]
	jl	.L65
	add	ebx, 1
.L63:
	cmp	ebx, DWORD PTR -1256[rbp]
	jl	.L66
	movss	xmm0, DWORD PTR -1268[rbp]
	divss	xmm0, DWORD PTR -1272[rbp]
	movss	DWORD PTR -1284[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -1284[rbp]
	movq	rcx, xmm3
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -1280[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
.L20:
	movss	xmm1, DWORD PTR -1288[rbp]
	movss	xmm0, DWORD PTR -1284[rbp]
	comiss	xmm0, xmm1
	ja	.L67
	mov	eax, DWORD PTR -1280[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1160[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1152[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1192[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edx, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	free_square_float@PLT
	mov	edx, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1176[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	free_square_float@PLT
	mov	edx, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1208[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	free_square_float@PLT
	mov	DWORD PTR -1260[rbp], 2
	mov	eax, DWORD PTR -1256[rbp]
	mov	DWORD PTR -1136[rbp], eax
	mov	eax, DWORD PTR -1252[rbp]
	mov	DWORD PTR -1132[rbp], eax
	lea	rax, -1112[rbp]
	mov	DWORD PTR [rax], 7235938
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	lea	r9, -1112[rbp]
	lea	r8, -1104[rbp]
	lea	rcx, -1136[rbp]
	mov	edx, DWORD PTR -1260[rbp]
	mov	rsi, QWORD PTR -1168[rbp]
	lea	rdi, -1072[rbp]
	push	rdi
	lea	rdi, -1088[rbp]
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	write_data@PLT
	add	rsp, 16
	mov	edx, DWORD PTR -1256[rbp]
	mov	rax, QWORD PTR -1168[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	free_square_float@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -40[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC14:
	.long	-400107883
	.long	1041313291
	.align 4
.LC15:
	.long	1120403456
	.align 4
.LC18:
	.long	1065353216
	.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	"515357.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\007\012Unexpected number of arguments\000"
	.align	2
.LC1:
	.ascii	"\012USAGE:\000"
	.align	2
.LC2:
	.ascii	"gradient  PHIT  G  V  d_order  eps  PHIN\012\000"
	.align	2
.LC3:
	.ascii	"\011 PHIT = first approximation of the solution\000"
	.align	2
.LC4:
	.ascii	"\011 G = interpolation function\000"
	.align	2
.LC5:
	.ascii	"\011 V = multiresolution support constraint\000"
	.align	2
.LC6:
	.ascii	"\011 d_order = decomposition order of the constrain"
	.ascii	"t\000"
	.align	2
.LC7:
	.ascii	"\011 eps = threshold for residual\000"
	.align	2
.LC8:
	.ascii	"\011 PHIN = final solution\000"
	.align	2
.LC9:
	.ascii	"\011 \012\000"
	.align	2
.LC10:
	.ascii	"float\000"
	.align	2
.LC11:
	.ascii	"real\000"
	.align	2
.LC12:
	.ascii	"\007\012FATAL ERROR : [%s & %s] have different size"
	.ascii	"s\012\000"
	.align	2
.LC13:
	.ascii	"%d\000"
	.align	2
.LC14:
	.ascii	"\007\012FATAL ERROR : incorrect decomposition order"
	.ascii	" [%d]\012\000"
	.align	2
.LC15:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.global	__aeabi_dcmplt
	.global	__aeabi_fcmpgt
	.align	2
.LC16:
	.ascii	"\007\012FATAL ERROR : incorrect threshold for resid"
	.ascii	"ual [%f]\012\000"
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_idiv
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
.LC17:
	.ascii	"\007\012FATAL ERROR : problem in the decomposition\012"
	.ascii	"\012\000"
	.align	2
.LC18:
	.ascii	"\007\012FATAL ERROR : problem in the recomposition\012"
	.ascii	"\012\000"
	.global	__aeabi_fadd
	.align	2
.LC19:
	.ascii	"it = %d  eps = %f\012\000"
	.align	2
.LC20:
	.ascii	"  Number of iterations: %d\012\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #1216
	sub	sp, sp, #8
	str	r0, [fp, #-1224]
	str	r1, [fp, #-1228]
	ldr	r3, .L71+104
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-1224]
	cmp	r3, #7
	beq	.L2
	ldr	r0, .L71
	bl	puts
	ldr	r0, .L71+4
	bl	puts
	ldr	r0, .L71+8
	bl	puts
	ldr	r0, .L71+12
	bl	puts
	ldr	r0, .L71+16
	bl	puts
	ldr	r0, .L71+20
	bl	puts
	ldr	r0, .L71+24
	bl	puts
	ldr	r0, .L71+28
	bl	puts
	ldr	r0, .L71+32
	bl	puts
	ldr	r0, .L71+36
	bl	puts
	mvn	r0, #0
	bl	exit
.L2:
	mov	r3, #2
	str	r3, [fp, #-1188]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L71+40
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L71+44
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r1, fp, #1072
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r2, fp, #1088
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #8]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-1188]
	bl	read_data
	mov	r3, r0
	str	r3, [fp, #-1184]
	ldr	r3, [fp, #-1104]
	str	r3, [fp, #-1180]
	ldr	r3, [fp, #-1100]
	str	r3, [fp, #-1176]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #8
	ldr	r0, [r3]
	sub	r1, fp, #1072
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r2, fp, #1088
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #8]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-1188]
	bl	read_data
	mov	r3, r0
	str	r3, [fp, #-1172]
	ldr	r3, [fp, #-1104]
	ldr	r2, [fp, #-1180]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1176]
	cmp	r2, r3
	beq	.L4
.L3:
	ldr	r3, .L71+88
	ldr	r0, [r3]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L71+48
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-1228]
	add	r3, r3, #12
	ldr	r0, [r3]
	sub	r1, fp, #1072
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r2, fp, #1088
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #8]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-1188]
	bl	read_data
	mov	r3, r0
	str	r3, [fp, #-1168]
	ldr	r3, [fp, #-1104]
	ldr	r2, [fp, #-1180]
	cmp	r2, r3
	bne	.L5
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1176]
	cmp	r2, r3
	beq	.L6
.L5:
	ldr	r3, .L71+88
	ldr	r0, [r3]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L71+48
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L6:
	ldr	r3, [fp, #-1228]
	add	r3, r3, #16
	ldr	r3, [r3]
	sub	r2, fp, #1216
	sub	r2, r2, #4
	ldr	r1, .L71+52
	mov	r0, r3
	bl	__isoc99_sscanf
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #1
	bne	.L7
	ldr	r3, [fp, #-1220]
	cmp	r3, #0
	blt	.L7
	ldr	r3, [fp, #-1220]
	cmp	r3, #10
	ble	.L8
.L7:
	ldr	r3, .L71+88
	ldr	r3, [r3]
	ldr	r2, [fp, #-1220]
	ldr	r1, .L71+56
	mov	r0, r3
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L8:
	ldr	r3, [fp, #-1228]
	add	r3, r3, #20
	ldr	r0, [r3]
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L71+60
	bl	__isoc99_sscanf
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #1
	bne	.L9
	ldr	r3, [fp, #-1216]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L71+64
	ldr	r3, .L71+68
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-1216]	@ float
	ldr	r1, .L71+72
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
.L9:
	ldr	r3, .L71+88
	ldr	r4, [r3]
	ldr	r3, [fp, #-1216]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L71+76
	mov	r0, r4
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L70:
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1160]
	mov	r4, #0
	b	.L12
.L15:
	mov	r5, #0
	b	.L13
.L14:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1184]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #3
	ldr	r1, [fp, #-1160]
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1160]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]	@ float
	add	r5, r5, #1
.L13:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L14
	add	r4, r4, #1
.L12:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L15
	mov	r3, #2
	str	r3, [fp, #-1156]
	mvn	r3, #0
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1180]
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1176]
	str	r3, [fp, #-1108]
	ldr	r3, [fp, #-1160]
	sub	r0, r3, #4
	sub	r1, fp, #1104
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r3, [fp, #-1152]
	ldr	r2, [fp, #-1156]
	bl	fourn
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1148]
	mov	r4, #0
	b	.L16
.L19:
	mov	r5, #0
	b	.L17
.L18:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1172]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-1148]
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	add	r5, r5, #1
.L17:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L18
	add	r4, r4, #1
.L16:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L19
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1172]
	bl	free_square_float
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1184]
	bl	free_square_float
	ldr	r1, [fp, #-1176]
	ldr	r0, [fp, #-1180]
	bl	alloc_square_float
	str	r0, [fp, #-1144]
	ldr	r1, [fp, #-1176]
	ldr	r0, [fp, #-1180]
	bl	alloc_square_float
	str	r0, [fp, #-1140]
	ldr	r1, [fp, #-1176]
	ldr	r0, [fp, #-1180]
	bl	alloc_square_float
	str	r0, [fp, #-1136]
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1132]
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1128]
	mov	r3, #0
	str	r3, [fp, #-1208]
	mov	r3, #1065353216
	str	r3, [fp, #-1212]	@ float
	b	.L20
.L67:
	ldr	r3, [fp, #-1208]
	add	r3, r3, #1
	str	r3, [fp, #-1208]
	mov	r4, #0
	b	.L21
.L24:
	mov	r5, #0
	b	.L22
.L23:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1136]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r2, r2, r3
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r1, [fp, #-1144]
	add	r3, r1, r3
	ldr	r1, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	add	r5, r5, #1
.L22:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L23
	add	r4, r4, #1
.L21:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L24
	mov	r4, #0
	b	.L25
.L28:
	mov	r5, #0
	b	.L26
.L27:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #3
	ldr	r1, [fp, #-1132]
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1132]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]	@ float
	add	r5, r5, #1
.L26:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L27
	add	r4, r4, #1
.L25:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L28
	mov	r3, #2
	str	r3, [fp, #-1156]
	mvn	r3, #0
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1180]
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1176]
	str	r3, [fp, #-1108]
	ldr	r3, [fp, #-1132]
	sub	r0, r3, #4
	sub	r1, fp, #1104
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r3, [fp, #-1152]
	ldr	r2, [fp, #-1156]
	bl	fourn
	mov	r6, #0
	b	.L29
.L30:
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1160]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1132]
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1132]
	add	r4, r2, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [r4]	@ float
	add	r6, r6, #1
.L29:
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	cmp	r6, r3
	blt	.L30
	mov	r6, #0
	b	.L31
.L32:
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1132]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1148]
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1132]
	add	r4, r2, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r4]	@ float
	mov	r3, r6
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1132]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1148]
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1132]
	add	r4, r2, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r4]	@ float
	add	r6, r6, #1
.L31:
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	cmp	r6, r3
	blt	.L32
	mov	r3, #1
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1132]
	sub	r0, r3, #4
	sub	r1, fp, #1104
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r3, [fp, #-1152]
	ldr	r2, [fp, #-1156]
	bl	fourn
	mov	r6, #0
	b	.L33
.L34:
	ldr	r1, [fp, #-1176]
	mov	r0, r6
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	sub	r5, r6, r3
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1132]
	add	r3, r2, r3
	ldr	r7, [r3]	@ float
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r7
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [r4]	@ float
	add	r6, r6, #1
.L33:
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	cmp	r6, r3
	blt	.L34
	ldr	r3, [fp, #-1220]
	ldr	r2, [fp, #-1176]
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1144]
	bl	decomposition_mallat_ncs
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L71+88
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L71+80
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L35:
	mov	r4, #0
	b	.L36
.L39:
	mov	r5, #0
	b	.L37
.L38:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1168]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r6, r2, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r6]	@ float
	add	r5, r5, #1
.L37:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L38
	add	r4, r4, #1
.L36:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L39
	ldr	r3, [fp, #-1220]
	ldr	r2, [fp, #-1176]
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1144]
	bl	recomposition_mallat_ncs
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L71+88
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L71+84
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L40:
	mov	r4, #0
	b	.L41
.L44:
	mov	r5, #0
	b	.L42
.L43:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r2, r2, r3
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r1, [fp, #-1140]
	add	r3, r1, r3
	ldr	r1, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	add	r5, r5, #1
.L42:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L43
	add	r4, r4, #1
.L41:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L44
	mov	r4, #0
	b	.L45
.L48:
	mov	r5, #0
	b	.L46
.L47:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1140]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #3
	ldr	r1, [fp, #-1128]
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	add	r3, r5, r3
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1128]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]	@ float
	add	r5, r5, #1
.L46:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L47
	add	r4, r4, #1
.L45:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L48
	mov	r3, #2
	str	r3, [fp, #-1156]
	mvn	r3, #0
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1180]
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1176]
	str	r3, [fp, #-1108]
	ldr	r3, [fp, #-1128]
	sub	r0, r3, #4
	sub	r1, fp, #1104
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r3, [fp, #-1152]
	ldr	r2, [fp, #-1156]
	bl	fourn
	mov	r6, #0
	b	.L49
.L50:
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1128]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1148]
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1128]
	add	r4, r2, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r4]	@ float
	mov	r3, r6
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1128]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1148]
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r6
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-1128]
	add	r4, r2, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r4]	@ float
	add	r6, r6, #1
.L49:
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	cmp	r6, r3
	blt	.L50
	mov	r3, #1
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1128]
	sub	r0, r3, #4
	sub	r1, fp, #1104
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r3, [fp, #-1152]
	ldr	r2, [fp, #-1156]
	bl	fourn
	mov	r6, #0
	b	.L51
.L52:
	ldr	r1, [fp, #-1176]
	mov	r0, r6
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-1176]
	mul	r3, r4, r3
	sub	r5, r6, r3
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1128]
	add	r3, r2, r3
	ldr	r7, [r3]	@ float
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1140]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r7
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [r4]	@ float
	add	r6, r6, #1
.L51:
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	mul	r3, r2, r3
	cmp	r6, r3
	blt	.L52
	ldr	r3, [fp, #-1220]
	ldr	r2, [fp, #-1176]
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1144]
	bl	decomposition_mallat_ncs
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L71+88
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L71+80
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L53:
	mov	r4, #0
	b	.L54
.L57:
	mov	r5, #0
	b	.L55
.L56:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1168]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r6, r2, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r6]	@ float
	add	r5, r5, #1
.L55:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L56
	add	r4, r4, #1
.L54:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L57
	ldr	r3, [fp, #-1220]
	ldr	r2, [fp, #-1176]
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1144]
	bl	recomposition_mallat_ncs
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L71+88
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L71+84
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L58:
	mov	r3, #0
	str	r3, [fp, #-1204]	@ float
	mov	r3, #0
	str	r3, [fp, #-1192]	@ float
	mov	r4, #0
	b	.L59
.L62:
	mov	r5, #0
	b	.L60
.L61:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1140]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1192]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1192]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1204]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1204]	@ float
	add	r5, r5, #1
.L60:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L61
	add	r4, r4, #1
.L59:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L62
	ldr	r1, [fp, #-1192]	@ float
	ldr	r0, [fp, #-1204]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1124]	@ float
	mov	r3, #0
	str	r3, [fp, #-1196]	@ float
	ldr	r3, [fp, #-1196]	@ float
	str	r3, [fp, #-1200]	@ float
	mov	r4, #0
	b	.L63
.L66:
	mov	r5, #0
	b	.L64
.L72:
	.align	2
.L71:
	.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	-400107883
	.word	1041313291
	.word	1120403456
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	stderr
	.word	.LC19
	.word	.LC20
	.word	7235938
	.word	.LC21
.L65:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1136]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-1120]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1136]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r7, [r3]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-1124]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1136]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r6, r2, r3
	mov	r0, r7
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [r6]	@ float
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1136]
	add	r3, r2, r3
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-1116]	@ float
	ldr	r1, [fp, #-1116]	@ float
	ldr	r0, [fp, #-1116]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1200]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1200]	@ float
	ldr	r1, [fp, #-1120]	@ float
	ldr	r0, [fp, #-1116]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r6, r3
	ldr	r1, [fp, #-1120]	@ float
	ldr	r0, [fp, #-1116]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1196]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1196]	@ float
	add	r5, r5, #1
.L64:
	ldr	r3, [fp, #-1176]
	cmp	r5, r3
	blt	.L65
	add	r4, r4, #1
.L63:
	ldr	r3, [fp, #-1180]
	cmp	r4, r3
	blt	.L66
	ldr	r1, [fp, #-1200]	@ float
	ldr	r0, [fp, #-1196]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1212]	@ float
	ldr	r3, .L71+88
	ldr	r4, [r3]
	ldr	r0, [fp, #-1212]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-1208]
	ldr	r1, .L71+92
	mov	r0, r4
	bl	fprintf
.L20:
	ldr	r3, [fp, #-1216]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1212]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r1, [fp, #-1208]
	ldr	r0, .L71+96
	bl	printf
	ldr	r0, [fp, #-1160]
	bl	free
	ldr	r0, [fp, #-1132]
	bl	free
	ldr	r0, [fp, #-1128]
	bl	free
	ldr	r0, [fp, #-1148]
	bl	free
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1144]
	bl	free_square_float
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1140]
	bl	free_square_float
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1168]
	bl	free_square_float
	mov	r3, #2
	str	r3, [fp, #-1188]
	ldr	r3, [fp, #-1180]
	str	r3, [fp, #-1104]
	ldr	r3, [fp, #-1176]
	str	r3, [fp, #-1100]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L71+100
	str	r2, [r3]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #24
	ldr	r0, [r3]
	sub	r2, fp, #1088
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #12]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #8]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp, #4]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-1188]
	ldr	r1, [fp, #-1136]
	bl	write_data
	ldr	r1, [fp, #-1180]
	ldr	r0, [fp, #-1136]
	bl	free_square_float
	mov	r3, #0
	ldr	r2, .L71+104
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
