	.file	"299773.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"Error"
.LC2:
	.string	"%c%d "
.LC3:
	.string	"%d %d %d"
.LC4:
	.string	"%d %d %d "
	.text
	.globl	readImage
	.type	readImage, @function
readImage:
.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, 368
	mov	QWORD PTR -360[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -340[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	rax, QWORD PTR -360[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L3
.L2:
	mov	edi, 48
	call	malloc@PLT
	mov	QWORD PTR -336[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	lea	rcx, 20[rax]
	lea	rdx, -341[rbp]
	mov	rax, QWORD PTR -328[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L4
.L5:
	movzx	edx, BYTE PTR -341[rbp]
	mov	eax, DWORD PTR -340[rbp]
	cdqe
	mov	BYTE PTR -320[rbp+rax], dl
	add	DWORD PTR -340[rbp], 1
.L4:
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -341[rbp], al
	movzx	eax, BYTE PTR -341[rbp]
	cmp	al, 10
	jne	.L5
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, -320[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -336[rbp]
	lea	rcx, 16[rax]
	mov	rdx, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -336[rbp]
	lea	rsi, 4[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -336[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L6
	mov	eax, 0
	jmp	.L12
.L6:
	mov	rax, QWORD PTR -336[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L8
	mov	eax, 0
	jmp	.L12
.L8:
	mov	rax, QWORD PTR -336[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L9
	mov	eax, 0
	jmp	.L12
.L9:
	mov	DWORD PTR -340[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -336[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -340[rbp]
	cdqe
	sal	rax, 2
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -336[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -340[rbp]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -336[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -340[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -340[rbp], 1
.L10:
	mov	rax, QWORD PTR -336[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cmp	DWORD PTR -340[rbp], eax
	jl	.L11
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L3:
	mov	rax, QWORD PTR -336[rbp]
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	readImage, .-readImage
	.section	.rodata
.LC5:
	.string	"Error: "
.LC6:
	.string	"%d,%d,"
.LC7:
	.string	"%f,"
.LC8:
	.string	"%f"
	.text
	.globl	readKernel
	.type	readKernel, @function
readKernel:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L15
	lea	rdi, .LC5[rip]
	call	perror@PLT
	jmp	.L16
.L15:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 4[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	eax, edx
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	DWORD PTR -20[rbp], 0
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -20[rbp], 1
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	eax, edx
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L16:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	readKernel, .-readKernel
	.globl	duplicateImageData
	.type	duplicateImageData, @function
duplicateImageData:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	QWORD PTR -360[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -340[rbp], 0
	mov	edi, 48
	call	malloc@PLT
	mov	QWORD PTR -328[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	rax, QWORD PTR -360[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -360[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -360[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -336[rbp], eax
	mov	rax, QWORD PTR -360[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -332[rbp], eax
	mov	edx, DWORD PTR -336[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR -332[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	eax, DWORD PTR -336[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	eax, eax
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L21
	mov	eax, 0
	jmp	.L25
.L21:
	mov	eax, DWORD PTR -336[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	eax, eax
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L23
	mov	eax, 0
	jmp	.L25
.L23:
	mov	eax, DWORD PTR -336[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	eax, eax
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L24
	mov	eax, 0
	jmp	.L25
.L24:
	mov	eax, DWORD PTR -336[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -360[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -336[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -360[rbp]
	mov	rcx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -336[rbp]
	imul	eax, DWORD PTR -332[rbp]
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -360[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -328[rbp]
.L25:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	duplicateImageData, .-duplicateImageData
	.section	.rodata
.LC9:
	.string	"w"
	.align 8
.LC10:
	.string	"Error opening the result file: %s\n"
.LC11:
	.string	"P%d\n%s\n%d %d\n%d\n"
	.text
	.globl	saveFile
	.type	saveFile, @function
saveFile:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edi, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L30
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, esi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L31:
	add	DWORD PTR -12[rbp], 1
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	jl	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	saveFile, .-saveFile
	.globl	convolve2D
	.type	convolve2D, @function
convolve2D:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	DWORD PTR -104[rbp], ecx
	mov	QWORD PTR -112[rbp], r8
	mov	DWORD PTR -116[rbp], r9d
	cmp	QWORD PTR -88[rbp], 0
	je	.L34
	cmp	QWORD PTR -96[rbp], 0
	je	.L34
	cmp	QWORD PTR -112[rbp], 0
	jne	.L35
.L34:
	mov	eax, -1
	jmp	.L36
.L35:
	cmp	DWORD PTR -100[rbp], 0
	jle	.L37
	cmp	DWORD PTR -116[rbp], 0
	jg	.L38
.L37:
	mov	eax, -1
	jmp	.L36
.L38:
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -76[rbp], 0
	jmp	.L39
.L52:
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, DWORD PTR -104[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L40
.L51:
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, DWORD PTR -100[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	mov	DWORD PTR -36[rbp], eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -60[rbp], xmm0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L41
.L47:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jg	.L42
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jle	.L42
	mov	DWORD PTR -64[rbp], 0
	jmp	.L43
.L45:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jg	.L44
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L44
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 2
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -60[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -60[rbp], xmm0
.L44:
	add	QWORD PTR -8[rbp], 4
	add	DWORD PTR -64[rbp], 1
.L43:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L45
	jmp	.L46
.L42:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 2
	add	QWORD PTR -8[rbp], rax
.L46:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 2
	neg	rax
	add	QWORD PTR -32[rbp], rax
	add	DWORD PTR -68[rbp], 1
.L41:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR 16[rbp]
	jl	.L47
	movss	xmm0, DWORD PTR -60[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L54
	movss	xmm1, DWORD PTR -60[rbp]
	movss	xmm0, DWORD PTR .LC13[rip]
	addss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L50
.L54:
	movss	xmm0, DWORD PTR -60[rbp]
	movss	xmm1, DWORD PTR .LC13[rip]
	subss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
.L50:
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -8[rbp], rax
	add	QWORD PTR -24[rbp], 4
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -32[rbp], rax
	add	QWORD PTR -16[rbp], 4
	add	DWORD PTR -72[rbp], 1
.L40:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L51
	add	DWORD PTR -76[rbp], 1
.L39:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L52
	mov	eax, 0
.L36:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	convolve2D, .-convolve2D
	.section	.rodata
	.align 8
.LC14:
	.string	"Usage: %s <image-file> <kernel-file> <result-file>\n"
.LC15:
	.string	"\n\nError, missing parameters:"
	.align 8
.LC16:
	.string	"format: image_file kernel_file result_file"
	.align 8
.LC17:
	.string	"- image_file : source image path (*.ppm)"
	.align 8
.LC18:
	.string	"- kernel_file: kernel path (text file with 1D kernel matrix)"
	.align 8
.LC19:
	.string	"- result_file: result image path (*.ppm)\n"
.LC21:
	.string	"Error saving the image"
.LC22:
	.string	"Image: %s\n"
.LC23:
	.string	"SizeX : %d\n"
.LC24:
	.string	"SizeY : %d\n"
	.align 8
.LC25:
	.string	"%.6lf seconds elapsed for Reading image file.\n"
	.align 8
.LC26:
	.string	"%.6lf seconds elapsed for copying image structure.\n"
	.align 8
.LC27:
	.string	"%.6lf seconds elapsed for Reading kernel matrix.\n"
	.align 8
.LC28:
	.string	"%.6lf seconds elapsed for make the convolution.\n"
	.align 8
.LC29:
	.string	"%.6lf seconds elapsed for writing the resulting image.\n"
.LC30:
	.string	"%.6lf seconds elapsed\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	cmp	DWORD PTR -132[rbp], 4
	je	.L56
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L62
.L56:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	readImage
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L58
	mov	eax, -1
	jmp	.L62
.L58:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	duplicateImageData
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	jne	.L59
	mov	eax, -1
	jmp	.L62
.L59:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	mov	QWORD PTR -72[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	readKernel
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L60
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, -1
	jmp	.L62
.L60:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9d, DWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 24[rax]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	convolve2D
	add	rsp, 16
	mov	rax, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9d, DWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 32[rax]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	convolve2D
	add	rsp, 16
	mov	rax, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9d, DWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 40[rax]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	convolve2D
	add	rsp, 16
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	saveFile
	test	eax, eax
	je	.L61
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, -1
	jmp	.L62
.L61:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	call	clock@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR -88[rbp]
	subsd	xmm0, QWORD PTR -112[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC25[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -80[rbp]
	subsd	xmm0, QWORD PTR -88[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC26[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -64[rbp]
	subsd	xmm0, QWORD PTR -80[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC27[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC28[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC29[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -112[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC30[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L62:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC13:
	.long	1056964608
	.align 8
.LC20:
	.long	0
	.long	1093567616
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"299773.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"Error\000"
	.align	2
.LC2:
	.ascii	"%c%d \000"
	.align	2
.LC3:
	.ascii	"%d %d %d\000"
	.align	2
.LC4:
	.ascii	"%d %d %d \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readImage
	.syntax unified
	.arm
	.fpu softvfp
	.type	readImage, %function
readImage:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #336
	str	r0, [fp, #-328]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-320]
	mov	r3, #0
	str	r3, [fp, #-316]
	ldr	r1, .L14+4
	ldr	r0, [fp, #-328]
	bl	fopen
	str	r0, [fp, #-312]
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L14+8
	bl	perror
	b	.L3
.L2:
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-316]
	ldr	r3, [fp, #-316]
	add	r3, r3, #16
	sub	r2, fp, #320
	sub	r2, r2, #1
	ldr	r1, .L14+12
	ldr	r0, [fp, #-312]
	bl	__isoc99_fscanf
	b	.L4
.L5:
	ldrb	r1, [fp, #-321]	@ zero_extendqisi2
	sub	r2, fp, #308
	ldr	r3, [fp, #-320]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L4:
	ldr	r0, [fp, #-312]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	strb	r3, [fp, #-321]
	ldrb	r3, [fp, #-321]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L5
	sub	r3, fp, #308
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-316]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #8]
	sub	r2, fp, #308
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-316]
	add	r2, r3, #4
	ldr	r1, [fp, #-316]
	ldr	r3, [fp, #-316]
	add	r3, r3, #12
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L14+16
	ldr	r0, [fp, #-312]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-316]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-316]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L6
	mov	r3, #0
	b	.L12
.L6:
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-316]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-316]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	b	.L12
.L8:
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-316]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-316]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L12
.L9:
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L10
.L11:
	ldr	r3, [fp, #-316]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r1, r2, r3
	ldr	r3, [fp, #-316]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, [fp, #-316]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L14+20
	ldr	r0, [fp, #-312]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L10:
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-316]
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	blt	.L11
	ldr	r0, [fp, #-312]
	bl	fclose
.L3:
	ldr	r3, [fp, #-316]
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	readImage, .-readImage
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Error: \000"
	.align	2
.LC7:
	.ascii	"%d,%d,\000"
	.align	2
.LC8:
	.ascii	"%f,\000"
	.align	2
.LC9:
	.ascii	"%f\000"
	.text
	.align	2
	.global	readKernel
	.syntax unified
	.arm
	.fpu softvfp
	.type	readKernel, %function
readKernel:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r1, .L22
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L22+4
	bl	perror
	b	.L18
.L17:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r1, .L22+8
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #4]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L19
.L20:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L22+12
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L19:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #4]
	mul	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L22+16
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-8]
	bl	fclose
.L18:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	readKernel, .-readKernel
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	duplicateImageData
	.syntax unified
	.arm
	.fpu softvfp
	.type	duplicateImageData, %function
duplicateImageData:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #328
	str	r0, [fp, #-328]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-324]
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-320]
	ldr	r3, [fp, #-328]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-320]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-328]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-320]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-320]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-328]
	ldr	r3, [r3, #8]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-328]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-316]
	ldr	r3, [fp, #-328]
	ldr	r3, [r3]
	str	r3, [fp, #-312]
	ldr	r2, [fp, #-316]
	ldr	r3, [fp, #-320]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-312]
	ldr	r3, [fp, #-320]
	str	r2, [r3]
	ldr	r3, [fp, #-328]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-320]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-312]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-320]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-320]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	b	.L29
.L25:
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-312]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-320]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-320]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L27
	mov	r3, #0
	b	.L29
.L27:
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-312]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-320]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-320]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	b	.L29
.L28:
	ldr	r3, [fp, #-320]
	ldr	r0, [r3, #20]
	ldr	r3, [fp, #-328]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-312]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-320]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-328]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-312]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-320]
	ldr	r0, [r3, #28]
	ldr	r3, [fp, #-328]
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-312]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-320]
.L29:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC10
	.size	duplicateImageData, .-duplicateImageData
	.section	.rodata
	.align	2
.LC11:
	.ascii	"w\000"
	.align	2
.LC12:
	.ascii	"Error opening the result file: %s\012\000"
	.align	2
.LC13:
	.ascii	"P%d\012%s\012%d %d\012%d\012\000"
	.global	__aeabi_idivmod
	.text
	.align	2
	.global	saveFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	saveFile, %function
saveFile:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, .L39
	ldr	r0, [fp, #-20]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L34
	ldr	r1, [fp, #-20]
	ldr	r0, .L39+4
	bl	printf
	mvn	r3, #0
	b	.L35
.L34:
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	ip, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	ldr	r1, [fp, #-16]
	ldr	r1, [r1, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L39+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L36
.L38:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L39+12
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L37
	ldr	r1, [fp, #-8]
	mov	r0, #10
	bl	fputc
.L37:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L36:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L38
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC4
	.size	saveFile, .-saveFile
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_fcmpge
	.global	__aeabi_f2iz
	.global	__aeabi_fsub
	.align	2
	.global	convolve2D
	.syntax unified
	.arm
	.fpu softvfp
	.type	convolve2D, %function
convolve2D:
	@ args = 12, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L43
.L42:
	mvn	r3, #0
	b	.L44
.L43:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L45
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bgt	.L46
.L45:
	mvn	r3, #0
	b	.L44
.L46:
	ldr	r3, [fp, #8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-24]
	mul	r2, r3, r2
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L47
.L60:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-84]
	sub	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L48
.L59:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-80]
	sub	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-32]	@ float
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L49
.L55:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L50
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L50
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L51
.L53:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L52
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L52
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
.L52:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L51:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L53
	b	.L54
.L50:
	ldr	r3, [fp, #8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
.L54:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L49:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L55
	mov	r1, #0
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	mov	r1, #1056964608
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	b	.L58
.L62:
	mov	r1, #1056964608
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3]
.L58:
	ldr	r3, [fp, #4]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L48:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L59
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L47:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L60
	mov	r3, #0
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	convolve2D, .-convolve2D
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Usage: %s <image-file> <kernel-file> <result-file>\012"
	.ascii	"\000"
	.align	2
.LC15:
	.ascii	"\012\012Error, missing parameters:\000"
	.align	2
.LC16:
	.ascii	"format: image_file kernel_file result_file\000"
	.align	2
.LC17:
	.ascii	"- image_file : source image path (*.ppm)\000"
	.align	2
.LC18:
	.ascii	"- kernel_file: kernel path (text file with 1D kerne"
	.ascii	"l matrix)\000"
	.align	2
.LC19:
	.ascii	"- result_file: result image path (*.ppm)\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
.LC20:
	.ascii	"Error saving the image\000"
	.align	2
.LC21:
	.ascii	"Image: %s\012\000"
	.align	2
.LC22:
	.ascii	"SizeX : %d\012\000"
	.align	2
.LC23:
	.ascii	"SizeY : %d\012\000"
	.global	__aeabi_dsub
	.align	2
.LC24:
	.ascii	"%.6lf seconds elapsed for Reading image file.\012\000"
	.align	2
.LC25:
	.ascii	"%.6lf seconds elapsed for copying image structure.\012"
	.ascii	"\000"
	.align	2
.LC26:
	.ascii	"%.6lf seconds elapsed for Reading kernel matrix.\012"
	.ascii	"\000"
	.align	2
.LC27:
	.ascii	"%.6lf seconds elapsed for make the convolution.\012"
	.ascii	"\000"
	.align	2
.LC28:
	.ascii	"%.6lf seconds elapsed for writing the resulting ima"
	.ascii	"ge.\012\000"
	.align	2
.LC29:
	.ascii	"%.6lf seconds elapsed\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-112]
	cmp	r3, #4
	beq	.L64
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+4
	bl	printf
	ldr	r0, .L72+8
	bl	puts
	ldr	r0, .L72+12
	bl	puts
	ldr	r0, .L72+16
	bl	puts
	ldr	r0, .L72+20
	bl	puts
	ldr	r0, .L72+24
	bl	puts
	mvn	r3, #0
	b	.L70
.L64:
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L72+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	readImage
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L66
	mvn	r3, #0
	b	.L70
.L66:
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L72+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-92]
	bl	duplicateImageData
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L67
	mvn	r3, #0
	b	.L70
.L67:
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L72+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	readKernel
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L68
	ldr	r0, [fp, #-92]
	bl	free
	ldr	r0, [fp, #-88]
	bl	free
	mvn	r3, #0
	b	.L70
.L68:
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L72+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-92]
	ldr	r0, [r3, #20]
	ldr	r3, [fp, #-88]
	ldr	ip, [r3, #20]
	ldr	r3, [fp, #-92]
	ldr	lr, [r3, #4]
	ldr	r3, [fp, #-92]
	ldr	r4, [r3]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-84]
	ldr	r2, [r2]
	ldr	r1, [fp, #-84]
	ldr	r1, [r1, #4]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	convolve2D
	ldr	r3, [fp, #-92]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-88]
	ldr	ip, [r3, #24]
	ldr	r3, [fp, #-92]
	ldr	lr, [r3, #4]
	ldr	r3, [fp, #-92]
	ldr	r4, [r3]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-84]
	ldr	r2, [r2]
	ldr	r1, [fp, #-84]
	ldr	r1, [r1, #4]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	convolve2D
	ldr	r3, [fp, #-92]
	ldr	r0, [r3, #28]
	ldr	r3, [fp, #-88]
	ldr	ip, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	lr, [r3, #4]
	ldr	r3, [fp, #-92]
	ldr	r4, [r3]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-84]
	ldr	r2, [r2]
	ldr	r1, [fp, #-84]
	ldr	r1, [r1, #4]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	convolve2D
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L72+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-116]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	saveFile
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	ldr	r0, .L72+32
	bl	puts
	ldr	r0, [fp, #-92]
	bl	free
	ldr	r0, [fp, #-88]
	bl	free
	mvn	r3, #0
	b	.L70
.L69:
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L72+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	bl	clock
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L72+48
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L72+52
	bl	printf
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L72+56
	bl	printf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L72+60
	bl	printf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L72+64
	bl	printf
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L72+68
	bl	printf
	mov	r3, #0
.L70:
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC30
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	1093567616
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
