	.file	"177160.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%F_%H-%M-%S"
	.align 8
.LC1:
	.string	"%s/%s_E1_%.2Le_E2_%.2Le_%s_%s.csv"
.LC2:
	.string	"w"
.LC3:
	.string	"Iteraci\303\263n,W\n"
.LC4:
	.string	"%d,%.15Le\n"
	.text
	.globl	guardaVariaciones
	.type	guardaVariaciones, @function
guardaVariaciones:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -120[rbp], r8
	mov	eax, r9d
	mov	BYTE PTR -104[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 30
	mov	rdi, rax
	call	strftime@PLT
	cmp	BYTE PTR -104[rbp], 0
	je	.L2
	mov	edi, 3
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 115
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 105
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L3
.L2:
	mov	edi, 3
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 110
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 111
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 0
.L3:
	lea	rcx, -20[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	sub	rsp, 8
	push	QWORD PTR -56[rbp]
	push	QWORD PTR 40[rbp]
	push	QWORD PTR 32[rbp]
	push	QWORD PTR 24[rbp]
	push	QWORD PTR 16[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	rcx, rax
	lea	rdx, .LC1[rip]
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 48
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rdi, QWORD PTR -56[rbp]
	lea	rsi, -20[rbp]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -40[rbp]
	push	QWORD PTR 40[rbp]
	push	QWORD PTR 32[rbp]
	push	QWORD PTR 24[rbp]
	push	QWORD PTR 16[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	add	DWORD PTR -72[rbp], 1
.L4:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L5
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	guardaVariaciones, .-guardaVariaciones
	.section	.rodata
.LC6:
	.string	"r"
	.text
	.globl	existeArchivo
	.type	existeArchivo, @function
existeArchivo:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L8:
	cmp	QWORD PTR -8[rbp], 0
	setne	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	existeArchivo, .-existeArchivo
	.section	.rodata
.LC7:
	.string	"%s"
	.align 8
.LC9:
	.string	"epsilon1,epsilon2,Spot Tan[m], Spot Sag[m],Iteraciones,\n"
	.align 8
.LC10:
	.string	"%.15Le,%.15Le,%.15Le,%.15Le,%d\n"
.LC11:
	.string	"a"
	.text
	.globl	guardaSpotIteraciones
	.type	guardaSpotIteraciones, @function
guardaSpotIteraciones:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -40[rbp], al
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, rax
	lea	rdx, .LC7[rip]
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	movzx	eax, BYTE PTR -40[rbp]
	xor	eax, 1
	test	al, al
	je	.L11
	fldz
	fstp	TBYTE PTR 16[rbp]
	fldz
	fstp	TBYTE PTR 32[rbp]
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	existeArchivo
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	push	QWORD PTR 40[rbp]
	push	QWORD PTR 32[rbp]
	push	QWORD PTR 24[rbp]
	push	QWORD PTR 16[rbp]
	push	QWORD PTR 72[rbp]
	push	QWORD PTR 64[rbp]
	push	QWORD PTR 56[rbp]
	push	QWORD PTR 48[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 64
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	push	QWORD PTR 40[rbp]
	push	QWORD PTR 32[rbp]
	push	QWORD PTR 24[rbp]
	push	QWORD PTR 16[rbp]
	push	QWORD PTR 72[rbp]
	push	QWORD PTR 64[rbp]
	push	QWORD PTR 56[rbp]
	push	QWORD PTR 48[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 64
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	guardaSpotIteraciones, .-guardaSpotIteraciones
	.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	"177160.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%F_%H-%M-%S\000"
	.align	2
.LC1:
	.ascii	"%s/%s_E1_%.2Le_E2_%.2Le_%s_%s.csv\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"Iteraci\303\263n,W\012\000"
	.align	2
.LC4:
	.ascii	"%d,%.15Le\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	guardaVariaciones
	.syntax unified
	.arm
	.fpu softvfp
	.type	guardaVariaciones, %function
guardaVariaciones:
	@ args = 28, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #24]
	str	r3, [fp, #-72]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r0, r3
	bl	time
	sub	r3, fp, #48
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-36]
	sub	r0, fp, #20
	ldr	r3, [fp, #-36]
	ldr	r2, .L7+4
	mov	r1, #30
	bl	strftime
	ldrb	r3, [fp, #28]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	mov	r0, #3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, #115
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	mov	r2, #105
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L3
.L2:
	mov	r0, #3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, #110
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	mov	r2, #111
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
.L3:
	ldr	r3, [fp, #-44]
	str	r3, [sp, #28]
	sub	r3, fp, #20
	str	r3, [sp, #24]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldmib	fp, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-68]
	str	r3, [sp]
	ldr	r3, [fp, #-72]
	ldr	r2, .L7+8
	mov	r1, #0
	mov	r0, #0
	bl	snprintf
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #20]
	sub	r3, fp, #20
	str	r3, [sp, #16]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-72]
	ldr	r1, .L7+8
	ldr	r0, [fp, #-28]
	bl	sprintf
	ldr	r1, .L7+12
	ldr	r0, [fp, #-28]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L7+16
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L4
.L5:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L7+20
	ldr	r0, [fp, #-24]
	bl	fprintf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L4:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L5
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	guardaVariaciones, .-guardaVariaciones
	.section	.rodata
	.align	2
.LC6:
	.ascii	"r\000"
	.text
	.align	2
	.global	existeArchivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	existeArchivo, %function
existeArchivo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L12
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L10
	ldr	r0, [fp, #-8]
	bl	fclose
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC6
	.size	existeArchivo, .-existeArchivo
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s\000"
	.align	2
.LC8:
	.ascii	"epsilon1,epsilon2,Spot Tan[m], Spot Sag[m],Iteracio"
	.ascii	"nes,\012\000"
	.align	2
.LC9:
	.ascii	"%.15Le,%.15Le,%.15Le,%.15Le,%d\012\000"
	.align	2
.LC10:
	.ascii	"a\000"
	.text
	.align	2
	.global	guardaSpotIteraciones
	.syntax unified
	.arm
	.fpu softvfp
	.type	guardaSpotIteraciones, %function
guardaSpotIteraciones:
	@ args = 32, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #28]
	ldr	r2, .L18
	mov	r1, #0
	mov	r0, #0
	bl	snprintf
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #28]
	ldr	r1, .L18
	ldr	r0, [fp, #-8]
	bl	sprintf
	ldrb	r3, [fp, #32]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L15
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L15:
	ldr	r0, [fp, #-8]
	bl	existeArchivo
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r1, .L18+4
	ldr	r0, [fp, #-8]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L18+8
	bl	fwrite
	ldr	r3, [fp, #4]
	str	r3, [sp, #24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r1, .L18+12
	ldr	r0, [fp, #-16]
	bl	fprintf
	b	.L17
.L16:
	ldr	r1, .L18+16
	ldr	r0, [fp, #-8]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #4]
	str	r3, [sp, #24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r1, .L18+12
	ldr	r0, [fp, #-16]
	bl	fprintf
.L17:
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC7
	.word	.LC2
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	guardaSpotIteraciones, .-guardaSpotIteraciones
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
