	.file	"1042636.c"
	.intel_syntax noprefix
	.text
	.globl	N1
	.bss
	.align 4
	.type	N1, @object
	.size	N1, 4
N1:
	.zero	4
	.globl	N2
	.align 4
	.type	N2, @object
	.size	N2, 4
N2:
	.zero	4
	.globl	N3
	.align 4
	.type	N3, @object
	.size	N3, 4
N3:
	.zero	4
	.globl	ITER
	.align 4
	.type	ITER, @object
	.size	ITER, 4
ITER:
	.zero	4
	.globl	ETA
	.align 4
	.type	ETA, @object
	.size	ETA, 4
ETA:
	.zero	4
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	NERROR
	.align 4
	.type	NERROR, @object
	.size	NERROR, 4
NERROR:
	.zero	4
	.globl	WTS
	.align 4
	.type	WTS, @object
	.size	WTS, 4
WTS:
	.zero	4
	.globl	PTOT
	.align 4
	.type	PTOT, @object
	.size	PTOT, 4
PTOT:
	.zero	4
	.globl	PR
	.align 4
	.type	PR, @object
	.size	PR, 4
PR:
	.zero	4
	.globl	PTEST
	.align 4
	.type	PTEST, @object
	.size	PTEST, 4
PTEST:
	.zero	4
	.globl	SEED
	.align 4
	.type	SEED, @object
	.size	SEED, 4
SEED:
	.zero	4
	.globl	CONTROL
	.align 4
	.type	CONTROL, @object
	.size	CONTROL, 4
CONTROL:
	.zero	4
	.globl	test
	.align 8
	.type	test, @object
	.size	test, 8
test:
	.zero	8
	.globl	filepat
	.align 32
	.type	filepat, @object
	.size	filepat, 100
filepat:
	.zero	100
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	error
	.align 4
	.type	error, @object
	.size	error, 4
error:
	.zero	4
	.text
	.globl	define_matrix
	.type	define_matrix, @function
define_matrix:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	eax, DWORD PTR PTEST[rip]
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR PTEST[rip]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR test[rip], rax
.L2:
	mov	eax, DWORD PTR PTEST[rip]
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR test[rip]
	test	rax, rax
	jne	.L3
	mov	eax, 1
	jmp	.L4
.L3:
	mov	DWORD PTR i[rip], 0
	jmp	.L5
.L7:
	mov	edx, DWORD PTR N1[rip]
	mov	eax, DWORD PTR N3[rip]
	add	eax, edx
	add	eax, 1
	cdqe
	mov	rcx, QWORD PTR test[rip]
	mov	edx, DWORD PTR i[rip]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L6
	mov	eax, 1
	jmp	.L4
.L6:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L5:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR PTEST[rip]
	cmp	edx, eax
	jl	.L7
	mov	eax, 0
.L4:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	define_matrix, .-define_matrix
	.section	.rodata
.LC0:
	.string	"%s.net"
.LC1:
	.string	"r"
	.align 8
.LC2:
	.string	"Error al abrir el archivo de parametros"
.LC3:
	.string	"%d"
.LC4:
	.string	"%f"
	.align 8
.LC5:
	.string	"Error en la definicion de matrices"
	.align 8
.LC6:
	.string	"\nArquitectura de la red: %d:%d:%d"
.LC7:
	.string	"\nArchivo de patrones: %s"
	.align 8
.LC8:
	.string	"\nCantidad total de patrones: %d"
	.align 8
.LC9:
	.string	"\nCantidad de patrones de entrenamiento: %d"
	.align 8
.LC10:
	.string	"\nCantidad de patrones de validacion: %d"
	.align 8
.LC11:
	.string	"\nCantidad de patrones de test: %d"
	.text
	.globl	arquitec
	.type	arquitec, @function
arquitec:
.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]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, filepat[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, filepat[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, N1[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, N2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, N3[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, PTOT[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, PR[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, PTEST[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, ITER[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, ETA[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, u[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, NERROR[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, WTS[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, SEED[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, CONTROL[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	call	define_matrix
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L11
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L10
.L11:
	mov	ecx, DWORD PTR N3[rip]
	mov	edx, DWORD PTR N2[rip]
	mov	eax, DWORD PTR N1[rip]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR PTOT[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR PR[rip]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR PTOT[rip]
	mov	edx, DWORD PTR PR[rip]
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR PTEST[rip]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	arquitec, .-arquitec
	.section	.rodata
.LC12:
	.string	"%s.predic"
	.align 8
.LC13:
	.string	"Error al abrir el archivo de predicciones"
.LC14:
	.string	"%s.0"
.LC15:
	.string	"w"
	.align 8
.LC16:
	.string	"Error al abrir el archivo de salida"
.LC17:
	.string	"%s.1"
.LC18:
	.string	"\n\nDatos de prediccion:"
.LC19:
	.string	"\nP%d:\t"
.LC21:
	.string	"%f\t"
.LC23:
	.string	"->%d"
	.text
	.globl	convierte_data
	.type	convierte_data, @function
convierte_data:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	lea	rsi, .LC12[rip]
	lea	rdi, filepat[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, filepat[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L13
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L31
.L13:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	lea	rsi, .LC14[rip]
	lea	rdi, filepat[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, .LC15[rip]
	lea	rdi, filepat[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L15
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L31
.L15:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	lea	rsi, .LC17[rip]
	lea	rdi, filepat[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, .LC15[rip]
	lea	rdi, filepat[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L16
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L31
.L16:
	mov	eax, DWORD PTR CONTROL[rip]
	cmp	eax, 1
	jle	.L17
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	mov	DWORD PTR k[rip], 0
	jmp	.L18
.L30:
	mov	eax, DWORD PTR CONTROL[rip]
	cmp	eax, 1
	jle	.L19
	mov	eax, DWORD PTR k[rip]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR k[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC20[rip]
	movss	DWORD PTR [rax], xmm0
	mov	DWORD PTR i[rip], 1
	jmp	.L20
.L23:
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR k[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR -48[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR CONTROL[rip]
	cmp	eax, 1
	jle	.L21
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR k[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC21[rip]
	mov	eax, 1
	call	printf@PLT
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 44
	je	.L22
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
.L22:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L20:
	mov	edx, DWORD PTR N1[rip]
	mov	eax, DWORD PTR N3[rip]
	add	edx, eax
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L23
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR k[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR N1[rip]
	cdqe
	add	rax, 1
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC22[rip]
	comiss	xmm0, xmm1
	jbe	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L26
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -40[rbp], rax
.L26:
	mov	DWORD PTR i[rip], 1
	jmp	.L27
.L28:
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR k[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rdx, xmm3
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L27:
	mov	edx, DWORD PTR N1[rip]
	mov	eax, DWORD PTR N3[rip]
	add	edx, eax
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	eax, DWORD PTR CONTROL[rip]
	cmp	eax, 1
	jle	.L29
	mov	rdx, QWORD PTR test[rip]
	mov	eax, DWORD PTR k[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC22[rip]
	comiss	xmm0, xmm1
	seta	al
	xor	eax, 1
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L18:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR PTEST[rip]
	cmp	edx, eax
	jl	.L30
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L31:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	convierte_data, .-convierte_data
	.section	.rodata
	.align 8
.LC24:
	.string	"Modo de uso: separa_clases <filename>\ndonde filename es el nombre del archivo (sin extension)"
.LC25:
	.string	"Separar clase"
	.align 8
.LC26:
	.string	"Error en la definicion de la red"
	.align 8
.LC27:
	.string	"No hay puntos en prediccion: PTEST=0!!"
.LC28:
	.string	"Error en el proceso de datos"
.LC29:
	.string	"\nSeparar clase terminado"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 2
	je	.L36
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L37
.L36:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	arquitec
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L38
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L37
.L38:
	mov	eax, DWORD PTR PTEST[rip]
	test	eax, eax
	jne	.L39
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L37
.L39:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	convierte_data
	mov	DWORD PTR error[rip], eax
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	je	.L40
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L37
.L40:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	eax, 0
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC20:
	.long	-1082130432
	.align 4
.LC22:
	.long	1056964608
	.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	"1042636.c"
	.text
	.comm	N1,4,4
	.comm	N2,4,4
	.comm	N3,4,4
	.comm	ITER,4,4
	.comm	ETA,4,4
	.comm	u,4,4
	.comm	NERROR,4,4
	.comm	WTS,4,4
	.comm	PTOT,4,4
	.comm	PR,4,4
	.comm	PTEST,4,4
	.comm	SEED,4,4
	.comm	CONTROL,4,4
	.comm	test,4,4
	.comm	filepat,100,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	k,4,4
	.comm	h,4,4
	.comm	error,4,4
	.align	2
	.global	define_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	define_matrix, %function
define_matrix:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L8
	ldr	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L8+4
	str	r2, [r3]
.L2:
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	mov	r3, #1
	b	.L4
.L3:
	ldr	r3, .L8+8
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L7:
	ldr	r3, .L8+12
	ldr	r2, [r3]
	ldr	r3, .L8+16
	ldr	r3, [r3]
	add	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, .L8+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r1, #4
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, .L8+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	mov	r3, #1
	b	.L4
.L6:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+8
	str	r3, [r2]
.L5:
	ldr	r3, .L8+8
	ldr	r2, [r3]
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
.L4:
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	PTEST
	.word	test
	.word	i
	.word	N1
	.word	N3
	.size	define_matrix, .-define_matrix
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s.net\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Error al abrir el archivo de parametros\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"%f\000"
	.align	2
.LC5:
	.ascii	"Error en la definicion de matrices\000"
	.align	2
.LC6:
	.ascii	"\012Arquitectura de la red: %d:%d:%d\000"
	.align	2
.LC7:
	.ascii	"\012Archivo de patrones: %s\000"
	.align	2
.LC8:
	.ascii	"\012Cantidad total de patrones: %d\000"
	.align	2
.LC9:
	.ascii	"\012Cantidad de patrones de entrenamiento: %d\000"
	.align	2
.LC10:
	.ascii	"\012Cantidad de patrones de validacion: %d\000"
	.align	2
.LC11:
	.ascii	"\012Cantidad de patrones de test: %d\000"
	.text
	.align	2
	.global	arquitec
	.syntax unified
	.arm
	.fpu softvfp
	.type	arquitec, %function
arquitec:
	@ 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	r2, [fp, #-16]
	ldr	r1, .L14
	ldr	r0, .L14+4
	bl	sprintf
	ldr	r1, .L14+8
	ldr	r0, .L14+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L14+12
	str	r2, [r3]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L14+16
	bl	puts
	mov	r3, #1
	b	.L12
.L11:
	ldr	r2, .L14+20
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+28
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+32
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+36
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+40
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+44
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+48
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+52
	ldr	r1, .L14+56
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+60
	ldr	r1, .L14+56
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+64
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+68
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+72
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r2, .L14+76
	ldr	r1, .L14+24
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-8]
	bl	fclose
	bl	define_matrix
	mov	r3, r0
	ldr	r2, .L14+12
	str	r3, [r2]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L14+80
	bl	puts
	mov	r3, #1
	b	.L12
.L13:
	ldr	r3, .L14+20
	ldr	r1, [r3]
	ldr	r3, .L14+28
	ldr	r2, [r3]
	ldr	r3, .L14+32
	ldr	r3, [r3]
	ldr	r0, .L14+84
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L14+88
	bl	printf
	ldr	r3, .L14+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+92
	bl	printf
	ldr	r3, .L14+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+96
	bl	printf
	ldr	r3, .L14+36
	ldr	r2, [r3]
	ldr	r3, .L14+40
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L14+100
	bl	printf
	ldr	r3, .L14+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+104
	bl	printf
	mov	r3, #0
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	filepat
	.word	.LC1
	.word	error
	.word	.LC2
	.word	N1
	.word	.LC3
	.word	N2
	.word	N3
	.word	PTOT
	.word	PR
	.word	PTEST
	.word	ITER
	.word	ETA
	.word	.LC4
	.word	u
	.word	NERROR
	.word	WTS
	.word	SEED
	.word	CONTROL
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	arquitec, .-arquitec
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%s.predic\000"
	.align	2
.LC13:
	.ascii	"Error al abrir el archivo de predicciones\000"
	.align	2
.LC14:
	.ascii	"%s.0\000"
	.align	2
.LC15:
	.ascii	"w\000"
	.align	2
.LC16:
	.ascii	"Error al abrir el archivo de salida\000"
	.align	2
.LC17:
	.ascii	"%s.1\000"
	.align	2
.LC18:
	.ascii	"\012\012Datos de prediccion:\000"
	.align	2
.LC19:
	.ascii	"\012P%d:\011\000"
	.global	__aeabi_f2d
	.align	2
.LC20:
	.ascii	"%f\011\000"
	.global	__aeabi_fcmplt
	.align	2
.LC21:
	.ascii	"->%d\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	convierte_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	convierte_data, %function
convierte_data:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, [fp, #-48]
	ldr	r1, .L40+4
	ldr	r0, .L40+8
	bl	sprintf
	ldr	r1, .L40+12
	ldr	r0, .L40+8
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L40+16
	str	r2, [r3]
	ldr	r3, .L40+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L40+20
	bl	puts
	mov	r3, #1
	b	.L36
.L17:
	ldr	r2, [fp, #-48]
	ldr	r1, .L40+24
	ldr	r0, .L40+8
	bl	sprintf
	ldr	r1, .L40+28
	ldr	r0, .L40+8
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L40+16
	str	r2, [r3]
	ldr	r3, .L40+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L40+32
	bl	puts
	mov	r3, #1
	b	.L36
.L19:
	ldr	r2, [fp, #-48]
	ldr	r1, .L40+36
	ldr	r0, .L40+8
	bl	sprintf
	ldr	r1, .L40+28
	ldr	r0, .L40+8
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L40+16
	str	r2, [r3]
	ldr	r3, .L40+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L40+32
	bl	puts
	mov	r3, #1
	b	.L36
.L20:
	ldr	r3, .L40+40
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L21
	ldr	r0, .L40+44
	bl	printf
.L21:
	ldr	r3, .L40+48
	mov	r2, #0
	str	r2, [r3]
	b	.L22
.L35:
	ldr	r3, .L40+40
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L23
	ldr	r3, .L40+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+52
	bl	printf
.L23:
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r3, .L40+48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L40+60
	str	r2, [r3]	@ float
	ldr	r3, .L40+64
	mov	r2, #1
	str	r2, [r3]
	b	.L24
.L27:
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L40+68
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r3, .L40+48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L40+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-40]	@ float
	str	r2, [r3]	@ float
	ldr	r3, .L40+40
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L25
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r3, .L40+48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L40+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L40+72
	bl	printf
.L25:
	ldr	r0, [fp, #-32]
	bl	getc
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #44
	beq	.L26
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-20]
	bl	ungetc
.L26:
	ldr	r3, .L40+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L40+64
	str	r3, [r2]
.L24:
	ldr	r3, .L40+76
	ldr	r2, [r3]
	ldr	r3, .L40+80
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L40+64
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L27
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r3, .L40+48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L40+76
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-36]
	b	.L30
.L39:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-36]
.L30:
	ldr	r3, .L40+64
	mov	r2, #1
	str	r2, [r3]
	b	.L31
.L32:
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r3, .L40+48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L40+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L40+72
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r3, .L40+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L40+64
	str	r3, [r2]
.L31:
	ldr	r3, .L40+76
	ldr	r2, [r3]
	ldr	r3, .L40+80
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L40+64
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L32
	ldr	r1, [fp, #-36]
	mov	r0, #10
	bl	fputc
	ldr	r3, .L40+40
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L33
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r3, .L40+48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L40+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r2, #1
	mov	r4, r2
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	mov	r3, #0
	mov	r4, r3
.L34:
	and	r3, r4, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+84
	bl	printf
.L33:
	ldr	r3, .L40+48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L40+48
	str	r3, [r2]
.L22:
	ldr	r3, .L40+48
	ldr	r2, [r3]
	ldr	r3, .L40+88
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L35
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r3, #0
.L36:
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC22
	.word	.LC12
	.word	filepat
	.word	.LC1
	.word	error
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	CONTROL
	.word	.LC18
	.word	k
	.word	.LC19
	.word	test
	.word	-1082130432
	.word	i
	.word	.LC4
	.word	.LC20
	.word	N1
	.word	N3
	.word	.LC21
	.word	PTEST
	.size	convierte_data, .-convierte_data
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Modo de uso: separa_clases <filename>\012donde file"
	.ascii	"name es el nombre del archivo (sin extension)\000"
	.align	2
.LC24:
	.ascii	"Separar clase\000"
	.align	2
.LC25:
	.ascii	"Error en la definicion de la red\000"
	.align	2
.LC26:
	.ascii	"No hay puntos en prediccion: PTEST=0!!\000"
	.align	2
.LC27:
	.ascii	"Error en el proceso de datos\000"
	.align	2
.LC28:
	.ascii	"\012Separar clase terminado\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L43
	ldr	r0, .L48
	bl	puts
	mov	r3, #0
	b	.L44
.L43:
	ldr	r0, .L48+4
	bl	puts
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	arquitec
	mov	r3, r0
	ldr	r2, .L48+8
	str	r3, [r2]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L45
	ldr	r0, .L48+12
	bl	puts
	mov	r3, #1
	b	.L44
.L45:
	ldr	r3, .L48+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L46
	ldr	r0, .L48+20
	bl	puts
	mov	r3, #1
	b	.L44
.L46:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	convierte_data
	mov	r3, r0
	ldr	r2, .L48+8
	str	r3, [r2]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r0, .L48+24
	bl	puts
	mov	r3, #1
	b	.L44
.L47:
	ldr	r0, .L48+28
	bl	puts
	mov	r3, #0
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC23
	.word	.LC24
	.word	error
	.word	.LC25
	.word	PTEST
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
