	.file	"485527.c"
	.intel_syntax noprefix
	.text
	.globl	dirhom
	.bss
	.align 16
	.type	dirhom, @object
	.size	dirhom, 30
dirhom:
	.zero	30
	.globl	dir_out
	.align 32
	.type	dir_out, @object
	.size	dir_out, 256
dir_out:
	.zero	256
	.globl	dirbas
	.align 32
	.type	dirbas, @object
	.size	dirbas, 200
dirbas:
	.zero	200
	.globl	dirrel
	.align 32
	.type	dirrel, @object
	.size	dirrel, 200
dirrel:
	.zero	200
	.globl	dirout
	.align 32
	.type	dirout, @object
	.size	dirout, 200
dirout:
	.zero	200
	.globl	inbas
	.align 32
	.type	inbas, @object
	.size	inbas, 50
inbas:
	.zero	50
	.globl	inrel
	.align 32
	.type	inrel, @object
	.size	inrel, 50
inrel:
	.zero	50
	.globl	nambas
	.align 32
	.type	nambas, @object
	.size	nambas, 150
nambas:
	.zero	150
	.globl	namrel
	.align 32
	.type	namrel, @object
	.size	namrel, 150
namrel:
	.zero	150
	.globl	name_incfg
	.align 32
	.type	name_incfg, @object
	.size	name_incfg, 256
name_incfg:
	.zero	256
	.globl	name_file
	.align 32
	.type	name_file, @object
	.size	name_file, 256
name_file:
	.zero	256
	.globl	name_vect
	.align 32
	.type	name_vect, @object
	.size	name_vect, 256
name_vect:
	.zero	256
	.globl	outfil
	.align 32
	.type	outfil, @object
	.size	outfil, 50
outfil:
	.zero	50
	.globl	out_vecbas
	.align 32
	.type	out_vecbas, @object
	.size	out_vecbas, 256
out_vecbas:
	.zero	256
	.globl	out_vecrel
	.align 32
	.type	out_vecrel, @object
	.size	out_vecrel, 256
out_vecrel:
	.zero	256
	.globl	n_varfile
	.align 4
	.type	n_varfile, @object
	.size	n_varfile, 4
n_varfile:
	.zero	4
	.globl	n_vecfile
	.align 4
	.type	n_vecfile, @object
	.size	n_vecfile, 4
n_vecfile:
	.zero	4
	.globl	n_base
	.align 4
	.type	n_base, @object
	.size	n_base, 4
n_base:
	.zero	4
	.globl	n_rela
	.align 4
	.type	n_rela, @object
	.size	n_rela, 4
n_rela:
	.zero	4
	.globl	tipmodo
	.align 4
	.type	tipmodo, @object
	.size	tipmodo, 4
tipmodo:
	.zero	4
	.globl	conexit
	.align 4
	.type	conexit, @object
	.size	conexit, 4
conexit:
	.zero	4
	.globl	essum
	.align 4
	.type	essum, @object
	.size	essum, 4
essum:
	.zero	4
	.globl	distmax
	.align 4
	.type	distmax, @object
	.size	distmax, 4
distmax:
	.zero	4
	.globl	hayvar
	.align 4
	.type	hayvar, @object
	.size	hayvar, 4
hayvar:
	.zero	4
	.globl	hayvec
	.align 4
	.type	hayvec, @object
	.size	hayvec, 4
hayvec:
	.zero	4
	.globl	baspro
	.align 4
	.type	baspro, @object
	.size	baspro, 4
baspro:
	.zero	4
	.globl	bascat
	.align 4
	.type	bascat, @object
	.size	bascat, 4
bascat:
	.zero	4
	.globl	baslin
	.align 4
	.type	baslin, @object
	.size	baslin, 4
baslin:
	.zero	4
	.globl	basdis
	.align 4
	.type	basdis, @object
	.size	basdis, 4
basdis:
	.zero	4
	.globl	basord
	.align 4
	.type	basord, @object
	.size	basord, 4
basord:
	.zero	4
	.globl	relpro
	.align 4
	.type	relpro, @object
	.size	relpro, 4
relpro:
	.zero	4
	.globl	relcat
	.align 4
	.type	relcat, @object
	.size	relcat, 4
relcat:
	.zero	4
	.globl	rellin
	.align 4
	.type	rellin, @object
	.size	rellin, 4
rellin:
	.zero	4
	.globl	reldis
	.align 4
	.type	reldis, @object
	.size	reldis, 4
reldis:
	.zero	4
	.globl	relord
	.align 4
	.type	relord, @object
	.size	relord, 4
relord:
	.zero	4
	.globl	txtsize
	.align 4
	.type	txtsize, @object
	.size	txtsize, 4
txtsize:
	.zero	4
	.globl	txtsizefin
	.align 4
	.type	txtsizefin, @object
	.size	txtsizefin, 4
txtsizefin:
	.zero	4
	.globl	varfiles
	.align 32
	.type	varfiles, @object
	.size	varfiles, 84000
varfiles:
	.zero	84000
	.globl	vecfiles
	.align 32
	.type	vecfiles, @object
	.size	vecfiles, 84000
vecfiles:
	.zero	84000
	.globl	capabase
	.align 32
	.type	capabase, @object
	.size	capabase, 168000000
capabase:
	.zero	168000000
	.globl	caparela
	.align 32
	.type	caparela, @object
	.size	caparela, 168000000
caparela:
	.zero	168000000
	.section	.rodata
.LC0:
	.string	"\n***Reading cfg file, %s***\n"
.LC1:
	.string	"rt"
	.align 8
.LC2:
	.string	"-------ERROR open file--------"
	.align 8
.LC3:
	.string	"-----------ERROR--------------"
.LC4:
	.string	"%s"
.LC5:
	.string	"%s %i"
.LC6:
	.string	"%s %f"
.LC7:
	.string	"%s %s"
.LC8:
	.string	"%s%s"
.LC9:
	.string	"Se ha excedido dir_out en %i\n"
.LC10:
	.string	"TIPO MODO %i\n"
.LC11:
	.string	"CON EXIT %i\n"
.LC12:
	.string	"DIR_IN BASE %s\n"
.LC13:
	.string	"DIR_IN RELA %s\n"
.LC14:
	.string	"DIR_OUTGEN %s\n"
.LC15:
	.string	"UAE_FILE_BASE %s\n"
.LC16:
	.string	"UAE_FILE_RELA %s\n"
.LC17:
	.string	"RADIO BUSQUEDA %f\n"
	.text
	.globl	read_cfg
	.type	read_cfg, @function
read_cfg:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rsi, name_incfg[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_incfg[rip]
	call	fopen@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, tipmodo[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, conexit[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, distmax[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, dirbas[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, dirrel[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, dirout[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, inbas[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, inrel[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rsi, dirout[rip]
	lea	rdi, dirhom[rip]
	call	calc_size2
	mov	DWORD PTR txtsize[rip], eax
	mov	eax, DWORD PTR txtsize[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -160[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L3:
	cmp	rsp, rdx
	je	.L4
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L3
.L4:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L5
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L5:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	lea	rcx, dirout[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 255
	jg	.L6
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, dir_out[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	esi, 511
	lea	rdi, dir_out[rip]
	call	crea_mkdir
	mov	eax, DWORD PTR tipmodo[rip]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR conexit[rip]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, dirbas[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, dirrel[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, dirout[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, inbas[rip]
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, inrel[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L9
	jmp	.L10
.L6:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L10:
	call	__stack_chk_fail@PLT
.L9:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_cfg, .-read_cfg
	.section	.rodata
	.align 8
.LC18:
	.string	"\n***Lectura archivo variables, %s***\n"
.LC19:
	.string	"%i %i %i %i %i %s %s %s\n"
.LC20:
	.string	"%i %i %i %i %i %s %s %s"
	.align 8
.LC21:
	.string	"Atencion error de lectura en variables"
	.align 8
.LC22:
	.string	"Numero total de variables = %i\n"
.LC23:
	.string	"end read file"
	.align 8
.LC24:
	.string	"Numero total de variables a procesar = %i\n"
	.align 8
.LC25:
	.string	"Atencion: No se han activado variables vectoriales de base, revise configuracion"
	.align 8
.LC26:
	.string	"Ponga el valor de la primera columna en 1 para las que quiera procesar"
	.align 8
.LC27:
	.string	"Atencion: No se han activado variables vectoriales de analisis, revise configuracion"
	.align 8
.LC28:
	.string	"---------------------------------\n"
	.text
	.globl	read_infiles
	.type	read_infiles, @function
read_infiles:
.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, 656
	mov	DWORD PTR -644[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -620[rbp], 0
	lea	rsi, name_file[rip]
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_file[rip]
	call	fopen@PLT
	mov	QWORD PTR -616[rbp], rax
	cmp	QWORD PTR -616[rbp], 0
	jne	.L12
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	mov	rdx, QWORD PTR -616[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L13
.L16:
	cmp	DWORD PTR -644[rbp], 1
	jne	.L14
	mov	edx, DWORD PTR -624[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, varfiles[rip]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -640[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, varfiles[rip+4]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -636[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, varfiles[rip+8]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -632[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, varfiles[rip+12]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -628[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, varfiles[rip+16]
	mov	DWORD PTR [rax+rcx], edx
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 16[rax]
	lea	rax, varfiles[rip]
	add	rax, rdx
	lea	rcx, 4[rax]
	lea	rax, -608[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 160[rax]
	lea	rax, varfiles[rip]
	add	rax, rdx
	lea	rcx, 10[rax]
	lea	rax, -496[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 320[rax]
	lea	rax, varfiles[rip]
	lea	rcx, [rdx+rax]
	lea	rax, -384[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	r8d, DWORD PTR -628[rbp]
	mov	edi, DWORD PTR -632[rbp]
	mov	ecx, DWORD PTR -636[rbp]
	mov	edx, DWORD PTR -640[rbp]
	mov	eax, DWORD PTR -624[rbp]
	sub	rsp, 8
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -496[rbp]
	push	rsi
	lea	rsi, -608[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	mov	eax, DWORD PTR -624[rbp]
	cmp	eax, 1
	jne	.L14
	mov	eax, DWORD PTR hayvar[rip]
	add	eax, 1
	mov	DWORD PTR hayvar[rip], eax
.L14:
	cmp	DWORD PTR -644[rbp], 2
	jne	.L15
	mov	edx, DWORD PTR -624[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, vecfiles[rip]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -640[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, vecfiles[rip+4]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -636[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, vecfiles[rip+8]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -632[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, vecfiles[rip+12]
	mov	DWORD PTR [rax+rcx], edx
	mov	edx, DWORD PTR -628[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, vecfiles[rip+16]
	mov	DWORD PTR [rax+rcx], edx
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 16[rax]
	lea	rax, vecfiles[rip]
	add	rax, rdx
	lea	rcx, 4[rax]
	lea	rax, -608[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 160[rax]
	lea	rax, vecfiles[rip]
	add	rax, rdx
	lea	rcx, 10[rax]
	lea	rax, -496[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 320[rax]
	lea	rax, vecfiles[rip]
	lea	rcx, [rdx+rax]
	lea	rax, -384[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	r8d, DWORD PTR -628[rbp]
	mov	edi, DWORD PTR -632[rbp]
	mov	ecx, DWORD PTR -636[rbp]
	mov	edx, DWORD PTR -640[rbp]
	mov	eax, DWORD PTR -624[rbp]
	sub	rsp, 8
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -496[rbp]
	push	rsi
	lea	rsi, -608[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	mov	eax, DWORD PTR -624[rbp]
	cmp	eax, 1
	jne	.L15
	mov	eax, DWORD PTR hayvec[rip]
	add	eax, 1
	mov	DWORD PTR hayvec[rip], eax
.L15:
	add	DWORD PTR -620[rbp], 1
.L13:
	lea	r8, -632[rbp]
	lea	rdi, -636[rbp]
	lea	rcx, -640[rbp]
	lea	rdx, -624[rbp]
	mov	rax, QWORD PTR -616[rbp]
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -496[rbp]
	push	rsi
	lea	rsi, -608[rbp]
	push	rsi
	lea	rsi, -628[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 32
	cmp	eax, 8
	je	.L16
	cmp	DWORD PTR -620[rbp], 0
	jne	.L17
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -616[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -620[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	cmp	DWORD PTR -644[rbp], 1
	jne	.L18
	mov	eax, DWORD PTR -620[rbp]
	mov	DWORD PTR n_varfile[rip], eax
	mov	eax, DWORD PTR hayvar[rip]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR hayvar[rip]
	test	eax, eax
	jne	.L18
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L18:
	cmp	DWORD PTR -644[rbp], 2
	jne	.L19
	mov	eax, DWORD PTR -620[rbp]
	mov	DWORD PTR n_vecfile[rip], eax
	mov	eax, DWORD PTR hayvec[rip]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR hayvec[rip]
	test	eax, eax
	jne	.L19
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L19:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_infiles, .-read_infiles
	.section	.rodata
	.align 8
.LC29:
	.string	"\n***Lectura archivo vector-csv, %s tipo %i***\n"
.LC30:
	.string	"%li %i %lf %lf"
	.align 8
.LC31:
	.string	"Numero total de elementos %i en %i\n"
	.align 8
.LC32:
	.string	"Error: No se pudieron leer datos de entrada, revise archivo"
	.text
	.globl	read_data
	.type	read_data, @function
read_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, 336
	mov	DWORD PTR -324[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -308[rbp], 0
	mov	eax, DWORD PTR -324[rbp]
	mov	edx, eax
	lea	rsi, name_vect[rip]
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_vect[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L23
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L23:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L24
.L27:
	cmp	DWORD PTR -324[rbp], 1
	jne	.L25
	mov	rdx, QWORD PTR -304[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, capabase[rip]
	mov	QWORD PTR [rcx+rax], rdx
	mov	edx, DWORD PTR -312[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, capabase[rip+8]
	mov	DWORD PTR [rcx+rax], edx
	movsd	xmm0, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+16]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+24]
	movsd	QWORD PTR [rdx+rax], xmm0
.L25:
	cmp	DWORD PTR -324[rbp], 2
	jne	.L26
	mov	rdx, QWORD PTR -304[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, caparela[rip]
	mov	QWORD PTR [rcx+rax], rdx
	mov	edx, DWORD PTR -312[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, caparela[rip+8]
	mov	DWORD PTR [rcx+rax], edx
	movsd	xmm0, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+16]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+24]
	movsd	QWORD PTR [rdx+rax], xmm0
.L26:
	add	DWORD PTR -308[rbp], 1
.L24:
	lea	rdi, -288[rbp]
	lea	rsi, -296[rbp]
	lea	rcx, -312[rbp]
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 4
	je	.L27
	cmp	DWORD PTR -324[rbp], 1
	jne	.L28
	mov	eax, DWORD PTR -308[rbp]
	mov	DWORD PTR n_base[rip], eax
.L28:
	cmp	DWORD PTR -324[rbp], 2
	jne	.L29
	mov	eax, DWORD PTR -308[rbp]
	mov	DWORD PTR n_rela[rip], eax
.L29:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -324[rbp]
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	cmp	DWORD PTR -308[rbp], 0
	jne	.L30
	lea	rdi, .LC32[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L30:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_data, .-read_data
	.globl	calc_size2
	.type	calc_size2, @function
calc_size2:
.LFB9:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, ebx
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	calc_size2, .-calc_size2
	.globl	calc_size3
	.type	calc_size3, @function
calc_size3:
.LFB10:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	ebx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, ebx
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	calc_size3, .-calc_size3
	.globl	calc_size4
	.type	calc_size4, @function
calc_size4:
.LFB11:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	ebx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	ebx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, ebx
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	calc_size4, .-calc_size4
	.section	.rodata
.LC33:
	.string	"Current Time : %s\n"
	.text
	.globl	getime
	.type	getime, @function
getime:
.LFB12:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	ctime@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getime, .-getime
	.section	.rodata
	.align 8
.LC34:
	.string	"Directorio de categorias creado"
	.align 8
.LC35:
	.string	"Atencion: Directorio de categorias no creado"
	.align 8
.LC36:
	.string	"Porque el directorio Ya existe"
	.align 8
.LC37:
	.string	"Porque la ruta esta equivocada %s, revise la configuracion\n"
	.text
	.globl	crea_mkdir
	.type	crea_mkdir, @function
crea_mkdir:
.LFB13:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	jne	.L43
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L43:
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mkdir@PLT
	cmp	eax, -1
	jne	.L46
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	je	.L45
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 17
	jne	.L45
	lea	rdi, .LC36[rip]
	call	puts@PLT
.L45:
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	je	.L46
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 17
	je	.L46
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L46:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	crea_mkdir, .-crea_mkdir
	.globl	caldist
	.type	caldist, @function
caldist:
.LFB14:
	.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
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	movsd	QWORD PTR -40[rbp], xmm2
	movsd	QWORD PTR -48[rbp], xmm3
	movsd	xmm0, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm0
	subsd	xmm2, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	caldist, .-caldist
	.section	.rodata
.LC38:
	.string	"%s%s%s"
	.align 8
.LC39:
	.string	"Se ha excedido name_vect en variable base en %i\n"
	.align 8
.LC40:
	.string	"Calucla vec-base %i -- orden %i cat %i lin %i dis %i\n\n"
	.text
	.globl	selec_base
	.type	selec_base, @function
selec_base:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -84[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, varfiles[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR baspro[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, varfiles[rip+4]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR bascat[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, varfiles[rip+8]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR baslin[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, varfiles[rip+12]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR basdis[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, varfiles[rip+16]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR basord[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 16[rax]
	lea	rax, varfiles[rip]
	add	rax, rdx
	add	rax, 4
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, nambas[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, nambas[rip]
	lea	rsi, dirbas[rip]
	lea	rdi, dirhom[rip]
	call	calc_size3
	mov	DWORD PTR txtsize[rip], eax
	mov	eax, DWORD PTR txtsize[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L50:
	cmp	rsp, rdx
	je	.L51
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L50
.L51:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L52
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L52:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	r8, nambas[rip]
	lea	rcx, dirbas[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 255
	jg	.L53
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_vect[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, DWORD PTR basdis[rip]
	mov	esi, DWORD PTR baslin[rip]
	mov	ecx, DWORD PTR bascat[rip]
	mov	edx, DWORD PTR basord[rip]
	mov	eax, DWORD PTR -84[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	read_data
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L56
	jmp	.L57
.L53:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L57:
	call	__stack_chk_fail@PLT
.L56:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	selec_base, .-selec_base
	.section	.rodata
	.align 8
.LC41:
	.string	"Se ha excedido name_vect en variable rela en %i\n"
	.align 8
.LC42:
	.string	"Calucla vec-rela %i -- orden %i cat %i lin %i dis %i\n\n"
	.text
	.globl	selec_rela
	.type	selec_rela, @function
selec_rela:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vecfiles[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR relpro[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vecfiles[rip+4]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR relcat[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vecfiles[rip+8]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR rellin[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vecfiles[rip+12]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR reldis[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vecfiles[rip+16]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR relord[rip], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 16[rax]
	lea	rax, vecfiles[rip]
	add	rax, rdx
	add	rax, 4
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, namrel[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, namrel[rip]
	lea	rsi, dirbas[rip]
	lea	rdi, dirhom[rip]
	call	calc_size3
	mov	DWORD PTR txtsize[rip], eax
	mov	eax, DWORD PTR txtsize[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L59:
	cmp	rsp, rdx
	je	.L60
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L59
.L60:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L61
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L61:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	r8, namrel[rip]
	lea	rcx, dirbas[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 255
	jg	.L62
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_vect[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, DWORD PTR reldis[rip]
	mov	esi, DWORD PTR rellin[rip]
	mov	ecx, DWORD PTR relcat[rip]
	mov	edx, DWORD PTR relord[rip]
	mov	eax, DWORD PTR -84[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	read_data
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L65
	jmp	.L66
.L62:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L66:
	call	__stack_chk_fail@PLT
.L65:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	selec_rela, .-selec_rela
	.section	.rodata
	.align 8
.LC43:
	.string	"Generando nombre de archivo de salida v-base"
.LC44:
	.string	"VV_vb-sis_"
.LC45:
	.string	"VV_vb-usu_"
.LC46:
	.string	"."
.LC47:
	.string	"%s%s%s-%i_VAR_%s-%i.csv"
	.align 8
.LC48:
	.string	"Se ha excedido out_vecbas en %i\n"
	.text
	.globl	getnamout
	.type	getnamout, @function
getnamout:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -116[rbp], edi
	mov	DWORD PTR -120[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC43[rip]
	call	puts@PLT
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 1
	jne	.L68
	lea	rax, -80[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L68:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jne	.L69
	lea	rax, -80[rbp]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L69:
	lea	rsi, .LC46[rip]
	lea	rdi, nambas[rip]
	call	strtok@PLT
	mov	QWORD PTR -112[rbp], rax
	lea	rsi, .LC46[rip]
	lea	rdi, namrel[rip]
	call	strtok@PLT
	mov	QWORD PTR -104[rbp], rax
	lea	rax, -80[rbp]
	lea	rdx, nambas[rip]
	mov	rsi, rax
	lea	rdi, dir_out[rip]
	call	calc_size3
	mov	DWORD PTR txtsize[rip], eax
	mov	eax, DWORD PTR txtsize[rip]
	add	eax, 11
	mov	DWORD PTR txtsizefin[rip], eax
	mov	eax, DWORD PTR txtsizefin[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L70:
	cmp	rsp, rdx
	je	.L71
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L70
.L71:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L72
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L72:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -88[rbp], rax
	mov	edi, DWORD PTR basord[rip]
	mov	rsi, QWORD PTR -112[rbp]
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -120[rbp]
	push	rcx
	push	QWORD PTR -104[rbp]
	mov	r9d, edi
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, dir_out[rip]
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR txtsizefin[rip]
	cmp	eax, 255
	jg	.L73
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, out_vecbas[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L76
	jmp	.L77
.L73:
	mov	eax, DWORD PTR txtsizefin[rip]
	mov	esi, eax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L77:
	call	__stack_chk_fail@PLT
.L76:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	getnamout, .-getnamout
	.section	.rodata
.LC49:
	.string	"VV_sis-vr_"
.LC50:
	.string	"VV_usu-vr_"
.LC51:
	.string	"%s%s%s-%i_vb_%s-%i.csv"
	.align 8
.LC52:
	.string	"Se ha excedido out_vecrel en %i\n"
	.text
	.globl	getnamout_rela
	.type	getnamout_rela, @function
getnamout_rela:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -116[rbp], edi
	mov	DWORD PTR -120[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC43[rip]
	call	puts@PLT
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 1
	jne	.L79
	lea	rax, -80[rbp]
	lea	rsi, .LC49[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L79:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jne	.L80
	lea	rax, -80[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L80:
	lea	rsi, .LC46[rip]
	lea	rdi, nambas[rip]
	call	strtok@PLT
	mov	QWORD PTR -112[rbp], rax
	lea	rsi, .LC46[rip]
	lea	rdi, namrel[rip]
	call	strtok@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	lea	rdi, dir_out[rip]
	call	calc_size3
	mov	DWORD PTR txtsize[rip], eax
	mov	eax, DWORD PTR txtsize[rip]
	add	eax, 10
	mov	DWORD PTR txtsizefin[rip], eax
	mov	eax, DWORD PTR txtsizefin[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L81:
	cmp	rsp, rdx
	je	.L82
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L81
.L82:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L83
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L83:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -88[rbp], rax
	mov	ecx, DWORD PTR basord[rip]
	mov	edi, DWORD PTR -116[rbp]
	mov	rsi, QWORD PTR -104[rbp]
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	push	rcx
	push	QWORD PTR -112[rbp]
	mov	r9d, edi
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, dir_out[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 255
	jg	.L84
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, out_vecrel[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L87
	jmp	.L88
.L84:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L88:
	call	__stack_chk_fail@PLT
.L87:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	getnamout_rela, .-getnamout_rela
	.globl	inic_rela
	.type	inic_rela, @function
inic_rela:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], 0
	jmp	.L90
.L91:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+8]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+16]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+24]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+32]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+40]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+48]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -4[rbp], 1
.L90:
	mov	eax, DWORD PTR n_rela[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L91
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	inic_rela, .-inic_rela
	.globl	inic_base
	.type	inic_base, @function
inic_base:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 1
	jne	.L93
	mov	DWORD PTR -4[rbp], 0
	jmp	.L94
.L95:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+32]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+40]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+48]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -4[rbp], 1
.L94:
	mov	eax, DWORD PTR n_base[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L95
.L93:
	cmp	DWORD PTR -20[rbp], 2
	jne	.L99
	mov	DWORD PTR -4[rbp], 0
	jmp	.L97
.L98:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+8]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+16]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+24]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+32]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+40]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+48]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -4[rbp], 1
.L97:
	mov	eax, DWORD PTR n_base[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L98
.L99:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	inic_base, .-inic_base
	.section	.rodata
.LC55:
	.string	"Calculando punto mas proximo"
	.align 8
.LC56:
	.string	"Calculando puntos mas proximos por distancia m\303\255nima en metros %f\n"
.LC59:
	.string	"%i -- Err %i Con %i Sin %i\n"
	.align 8
.LC60:
	.string	"Elementos v-base sin coordenadas %i\n"
	.align 8
.LC61:
	.string	"Elementos v-base con valores proximos %i\n"
	.align 8
.LC62:
	.string	"Elementos v-base sin valores proximos %i\n"
	.text
	.globl	calcprox
	.type	calcprox, @function
calcprox:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -80[rbp], 50
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L101
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L101
	lea	rdi, .LC55[rip]
	call	puts@PLT
.L101:
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L103
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC56[rip]
	mov	eax, 1
	call	printf@PLT
.L103:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L105
.L130:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+16]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+24]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	ucomisd	xmm0, QWORD PTR .LC57[rip]
	jp	.L134
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC57[rip]
	je	.L145
.L134:
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L108
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L108
	movss	xmm0, DWORD PTR .LC58[rip]
	movss	DWORD PTR -60[rbp], xmm0
.L108:
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L110
	movss	xmm0, DWORD PTR distmax[rip]
	movss	DWORD PTR -60[rbp], xmm0
.L110:
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L112
.L123:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+16]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+24]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	ucomisd	xmm0, QWORD PTR .LC57[rip]
	jp	.L137
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, QWORD PTR .LC57[rip]
	je	.L113
.L137:
	movsd	xmm2, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	caldist
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L115
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L115
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -60[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L115
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+32]
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rcx, rax
	lea	rdx, capabase[rip+40]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+48]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rcx, rax
	lea	rdx, caparela[rip+40]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+32]
	movss	DWORD PTR [rdx+rax], xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
	movss	DWORD PTR -60[rbp], xmm0
	mov	DWORD PTR -64[rbp], 1
.L115:
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L113
	movss	xmm0, DWORD PTR distmax[rip]
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L113
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+48]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+48]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+48]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+48]
	mov	DWORD PTR [rdx+rax], ecx
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -60[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L120
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+32]
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rcx, rax
	lea	rdx, capabase[rip+40]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rcx, rax
	lea	rdx, caparela[rip+40]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+32]
	movss	DWORD PTR [rdx+rax], xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
	movss	DWORD PTR -60[rbp], xmm0
.L120:
	add	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -64[rbp], 1
	mov	eax, DWORD PTR conexit[rip]
	cmp	eax, 1
	je	.L146
.L113:
	add	DWORD PTR -88[rbp], 1
.L112:
	mov	eax, DWORD PTR n_rela[rip]
	cmp	DWORD PTR -88[rbp], eax
	jl	.L123
	jmp	.L122
.L146:
	nop
.L122:
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L124
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L124
	cmp	DWORD PTR -64[rbp], 0
	jne	.L126
	add	DWORD PTR -68[rbp], 1
.L126:
	cmp	DWORD PTR -64[rbp], 1
	jne	.L124
	add	DWORD PTR -72[rbp], 1
.L124:
	movss	xmm0, DWORD PTR distmax[rip]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L127
	cmp	DWORD PTR -64[rbp], 0
	jne	.L127
	add	DWORD PTR -68[rbp], 1
	jmp	.L127
.L145:
	add	DWORD PTR -76[rbp], 1
.L127:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jne	.L129
	mov	esi, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -72[rbp]
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC59[rip]
	mov	eax, 0
	call	printf@PLT
	sal	DWORD PTR -80[rbp]
.L129:
	add	DWORD PTR -84[rbp], 1
.L105:
	mov	eax, DWORD PTR n_base[rip]
	cmp	DWORD PTR -84[rbp], eax
	jl	.L130
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC62[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	calcprox, .-calcprox
	.section	.rodata
.LC63:
	.string	"\nEscritura vector base %s\n"
.LC64:
	.string	"wt"
	.align 8
.LC65:
	.string	"ID CODE X Y DISTMIN IDREL SUMREL\n"
.LC66:
	.string	"%li %i %lf %lf %f %li %i\n"
	.align 8
.LC67:
	.string	"Finaliza escritura archivo de salida"
	.text
	.globl	write_base
	.type	write_base, @function
write_base:
.LFB22:
	.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
	lea	rsi, out_vecbas[rip]
	lea	rdi, .LC63[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC64[rip]
	lea	rdi, out_vecbas[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L148
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L148:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L149
.L150:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+48]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+40]
	mov	rdi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+32]
	movss	xmm0, DWORD PTR [rdx+rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+24]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+16]
	mov	rsi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, capabase[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9d, r8d
	mov	r8, rdi
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	lea	rsi, .LC66[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L149:
	mov	eax, DWORD PTR n_base[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L150
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC67[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	write_base, .-write_base
	.section	.rodata
.LC68:
	.string	"\nEscritura vector rela %s\n"
	.text
	.globl	write_rela
	.type	write_rela, @function
write_rela:
.LFB23:
	.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
	lea	rsi, out_vecrel[rip]
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC64[rip]
	lea	rdi, out_vecrel[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L153
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L153:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L154
.L155:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+48]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+40]
	mov	rdi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+32]
	movss	xmm0, DWORD PTR [rdx+rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+24]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+16]
	mov	rsi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, caparela[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9d, r8d
	mov	r8, rdi
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	lea	rsi, .LC66[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L154:
	mov	eax, DWORD PTR n_rela[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L155
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC67[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	write_rela, .-write_rela
	.section	.rodata
.LC69:
	.string	"Inicio del proceso de calculo"
.LC70:
	.string	"HOME"
.LC71:
	.string	"Homedir es %s\n"
	.align 8
.LC72:
	.string	"ERROR: Por favor ingrese el archivo de configuracion"
	.align 8
.LC73:
	.string	"Finalizacion del proceso de calculo"
	.text
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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
	lea	rdi, .LC69[rip]
	call	puts@PLT
	call	getime
	lea	rdi, .LC70[rip]
	call	getenv@PLT
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, dirhom[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, dirhom[rip]
	lea	rdi, .LC71[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L158
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_incfg[rip]
	mov	eax, 0
	call	sprintf@PLT
	call	read_cfg
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 1
	jne	.L160
	jmp	.L168
.L158:
	lea	rdi, .LC72[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L168:
	lea	rdx, inbas[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, name_file[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, 1
	call	read_infiles
	lea	rdx, inrel[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, name_file[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, 2
	call	read_infiles
	mov	DWORD PTR -16[rbp], 0
	jmp	.L161
.L166:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, varfiles[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 1
	jne	.L162
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	selec_base
	mov	DWORD PTR -20[rbp], 0
	jmp	.L163
.L165:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vecfiles[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L164
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	selec_rela
	call	calcprox
	mov	edx, DWORD PTR basord[rip]
	mov	eax, DWORD PTR relord[rip]
	mov	esi, edx
	mov	edi, eax
	call	getnamout_rela
	call	write_rela
	call	inic_rela
	mov	edx, DWORD PTR relord[rip]
	mov	eax, DWORD PTR basord[rip]
	mov	esi, edx
	mov	edi, eax
	call	getnamout
	call	write_base
	mov	edi, 1
	call	inic_base
.L164:
	add	DWORD PTR -20[rbp], 1
.L163:
	mov	eax, DWORD PTR n_vecfile[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L165
	mov	edi, 2
	call	inic_base
.L162:
	add	DWORD PTR -16[rbp], 1
.L161:
	mov	eax, DWORD PTR n_varfile[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L166
.L160:
	lea	rdi, .LC73[rip]
	call	puts@PLT
	call	getime
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC57:
	.long	0
	.long	-1060927616
	.align 4
.LC58:
	.long	1203982336
	.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	"485527.c"
	.text
	.comm	dirhom,30,4
	.comm	dir_out,256,4
	.comm	dirbas,200,4
	.comm	dirrel,200,4
	.comm	dirout,200,4
	.comm	inbas,50,4
	.comm	inrel,50,4
	.comm	nambas,150,4
	.comm	namrel,150,4
	.comm	name_incfg,256,4
	.comm	name_file,256,4
	.comm	name_vect,256,4
	.comm	outfil,50,4
	.comm	out_vecbas,256,4
	.comm	out_vecrel,256,4
	.comm	n_varfile,4,4
	.comm	n_vecfile,4,4
	.comm	n_base,4,4
	.comm	n_rela,4,4
	.comm	tipmodo,4,4
	.comm	conexit,4,4
	.comm	essum,4,4
	.comm	distmax,4,4
	.comm	hayvar,4,4
	.comm	hayvec,4,4
	.comm	baspro,4,4
	.comm	bascat,4,4
	.comm	baslin,4,4
	.comm	basdis,4,4
	.comm	basord,4,4
	.comm	relpro,4,4
	.comm	relcat,4,4
	.comm	rellin,4,4
	.comm	reldis,4,4
	.comm	relord,4,4
	.comm	txtsize,4,4
	.comm	txtsizefin,4,4
	.comm	varfiles,84000,4
	.comm	vecfiles,84000,4
	.comm	capabase,120000000,8
	.comm	caparela,120000000,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012***Reading cfg file, %s***\012\000"
	.align	2
.LC1:
	.ascii	"rt\000"
	.align	2
.LC2:
	.ascii	"-------ERROR open file--------\000"
	.align	2
.LC3:
	.ascii	"-----------ERROR--------------\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"%s %i\000"
	.align	2
.LC6:
	.ascii	"%s %f\000"
	.align	2
.LC7:
	.ascii	"%s %s\000"
	.align	2
.LC8:
	.ascii	"%s%s\000"
	.align	2
.LC9:
	.ascii	"Se ha excedido dir_out en %i\012\000"
	.align	2
.LC10:
	.ascii	"TIPO MODO %i\012\000"
	.align	2
.LC11:
	.ascii	"CON EXIT %i\012\000"
	.align	2
.LC12:
	.ascii	"DIR_IN BASE %s\012\000"
	.align	2
.LC13:
	.ascii	"DIR_IN RELA %s\012\000"
	.align	2
.LC14:
	.ascii	"DIR_OUTGEN %s\012\000"
	.align	2
.LC15:
	.ascii	"UAE_FILE_BASE %s\012\000"
	.align	2
.LC16:
	.ascii	"UAE_FILE_RELA %s\012\000"
	.global	__aeabi_f2d
	.align	2
.LC17:
	.ascii	"RADIO BUSQUEDA %f\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_cfg
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_cfg, %function
read_cfg:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #100
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	printf
	ldr	r1, .L8+12
	ldr	r0, .L8+4
	bl	fopen
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L8+16
	bl	puts
	ldr	r0, .L8+20
	bl	puts
	ldr	r0, .L8+20
	bl	puts
	ldr	r0, .L8+20
	bl	puts
	ldr	r0, .L8+20
	bl	puts
	ldr	r0, .L8+20
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	sub	r3, fp, #96
	mov	r2, r3
	ldr	r1, .L8+24
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+28
	ldr	r1, .L8+32
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+36
	ldr	r1, .L8+32
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+40
	ldr	r1, .L8+44
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r3, fp, #96
	mov	r2, r3
	ldr	r1, .L8+24
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+48
	ldr	r1, .L8+52
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+56
	ldr	r1, .L8+52
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+60
	ldr	r1, .L8+52
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r3, fp, #96
	mov	r2, r3
	ldr	r1, .L8+24
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+64
	ldr	r1, .L8+52
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+68
	ldr	r1, .L8+52
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	ldr	r1, .L8+60
	ldr	r0, .L8+72
	bl	calc_size2
	mov	r3, r0
	ldr	r2, .L8+76
	str	r3, [r2]
	ldr	r3, .L8+76
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-104]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-100]
	ldr	r3, .L8+60
	ldr	r2, .L8+72
	ldr	r1, .L8+80
	ldr	r0, [fp, #-100]
	bl	sprintf
	ldr	r3, .L8+76
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L3
	ldr	r2, [fp, #-100]
	ldr	r1, .L8+24
	ldr	r0, .L8+84
	bl	sprintf
	ldr	r1, .L8+88
	ldr	r0, .L8+84
	bl	crea_mkdir
	ldr	r3, .L8+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+92
	bl	printf
	ldr	r3, .L8+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+96
	bl	printf
	ldr	r1, .L8+48
	ldr	r0, .L8+100
	bl	printf
	ldr	r1, .L8+56
	ldr	r0, .L8+104
	bl	printf
	ldr	r1, .L8+60
	ldr	r0, .L8+108
	bl	printf
	ldr	r1, .L8+64
	ldr	r0, .L8+112
	bl	printf
	ldr	r1, .L8+68
	ldr	r0, .L8+116
	bl	printf
	ldr	r3, .L8+40
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L8+120
	bl	printf
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	b	.L7
.L3:
	ldr	r3, .L8+76
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+124
	bl	printf
	mov	r0, #0
	bl	exit
.L7:
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC18
	.word	name_incfg
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	tipmodo
	.word	.LC5
	.word	conexit
	.word	distmax
	.word	.LC6
	.word	dirbas
	.word	.LC7
	.word	dirrel
	.word	dirout
	.word	inbas
	.word	inrel
	.word	dirhom
	.word	txtsize
	.word	.LC8
	.word	dir_out
	.word	511
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC9
	.size	read_cfg, .-read_cfg
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012***Lectura archivo variables, %s***\012\000"
	.align	2
.LC20:
	.ascii	"%i %i %i %i %i %s %s %s\012\000"
	.align	2
.LC21:
	.ascii	"%i %i %i %i %i %s %s %s\000"
	.align	2
.LC22:
	.ascii	"Atencion error de lectura en variables\000"
	.align	2
.LC23:
	.ascii	"Numero total de variables = %i\012\000"
	.align	2
.LC24:
	.ascii	"end read file\000"
	.align	2
.LC25:
	.ascii	"Numero total de variables a procesar = %i\012\000"
	.align	2
.LC26:
	.ascii	"Atencion: No se han activado variables vectoriales "
	.ascii	"de base, revise configuracion\000"
	.align	2
.LC27:
	.ascii	"Ponga el valor de la primera columna en 1 para las "
	.ascii	"que quiera procesar\000"
	.align	2
.LC28:
	.ascii	"Atencion: No se han activado variables vectoriales "
	.ascii	"de analisis, revise configuracion\000"
	.align	2
.LC29:
	.ascii	"---------------------------------\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_infiles
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_infiles, %function
read_infiles:
	@ args = 0, pretend = 0, frame = 600
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #624
	str	r0, [fp, #-600]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-572]
	ldr	r1, .L21+4
	ldr	r0, .L21+8
	bl	printf
	ldr	r1, .L21+12
	ldr	r0, .L21+4
	bl	fopen
	str	r0, [fp, #-568]
	ldr	r3, [fp, #-568]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L21+16
	bl	puts
	ldr	r0, .L21+20
	bl	puts
	ldr	r0, .L21+20
	bl	puts
	ldr	r0, .L21+20
	bl	puts
	ldr	r0, .L21+20
	bl	puts
	ldr	r0, .L21+20
	bl	puts
	mov	r0, #0
	bl	exit
.L11:
	sub	r3, fp, #264
	ldr	r2, [fp, #-568]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	b	.L12
.L15:
	ldr	r3, [fp, #-600]
	cmp	r3, #1
	bne	.L13
	ldr	r1, [fp, #-576]
	ldr	r0, .L21+24
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	str	r1, [r3]
	ldr	r1, [fp, #-592]
	ldr	r0, .L21+24
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r1, [fp, #-588]
	ldr	r0, .L21+24
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r1, [fp, #-584]
	ldr	r0, .L21+24
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #12
	str	r1, [r3]
	ldr	r1, [fp, #-580]
	ldr	r0, .L21+24
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #16
	ldr	r2, .L21+24
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #564
	ldr	r1, .L21+28
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #168
	ldr	r2, .L21+24
	add	r3, r3, r2
	add	r3, r3, #2
	sub	r2, fp, #464
	ldr	r1, .L21+28
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #320
	ldr	r2, .L21+24
	add	r3, r3, r2
	sub	r2, fp, #364
	ldr	r1, .L21+28
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-576]
	ldr	ip, [fp, #-592]
	ldr	lr, [fp, #-588]
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-580]
	sub	r1, fp, #364
	str	r1, [sp, #16]
	sub	r1, fp, #464
	str	r1, [sp, #12]
	sub	r1, fp, #564
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L21+32
	bl	printf
	ldr	r3, [fp, #-576]
	cmp	r3, #1
	bne	.L13
	ldr	r3, .L21+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+36
	str	r3, [r2]
.L13:
	ldr	r3, [fp, #-600]
	cmp	r3, #2
	bne	.L14
	ldr	r1, [fp, #-576]
	ldr	r0, .L21+40
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	str	r1, [r3]
	ldr	r1, [fp, #-592]
	ldr	r0, .L21+40
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r1, [fp, #-588]
	ldr	r0, .L21+40
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r1, [fp, #-584]
	ldr	r0, .L21+40
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #12
	str	r1, [r3]
	ldr	r1, [fp, #-580]
	ldr	r0, .L21+40
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r0, r2
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #16
	ldr	r2, .L21+40
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #564
	ldr	r1, .L21+28
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #168
	ldr	r2, .L21+40
	add	r3, r3, r2
	add	r3, r3, #2
	sub	r2, fp, #464
	ldr	r1, .L21+28
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-572]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #320
	ldr	r2, .L21+40
	add	r3, r3, r2
	sub	r2, fp, #364
	ldr	r1, .L21+28
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-576]
	ldr	ip, [fp, #-592]
	ldr	lr, [fp, #-588]
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-580]
	sub	r1, fp, #364
	str	r1, [sp, #16]
	sub	r1, fp, #464
	str	r1, [sp, #12]
	sub	r1, fp, #564
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L21+32
	bl	printf
	ldr	r3, [fp, #-576]
	cmp	r3, #1
	bne	.L14
	ldr	r3, .L21+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+44
	str	r3, [r2]
.L14:
	ldr	r3, [fp, #-572]
	add	r3, r3, #1
	str	r3, [fp, #-572]
.L12:
	sub	r1, fp, #592
	sub	r2, fp, #576
	sub	r3, fp, #364
	str	r3, [sp, #20]
	sub	r3, fp, #464
	str	r3, [sp, #16]
	sub	r3, fp, #564
	str	r3, [sp, #12]
	sub	r3, fp, #580
	str	r3, [sp, #8]
	sub	r3, fp, #584
	str	r3, [sp, #4]
	sub	r3, fp, #588
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L21+48
	ldr	r0, [fp, #-568]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #8
	beq	.L15
	ldr	r3, [fp, #-572]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L21+52
	bl	puts
	mov	r0, #0
	bl	exit
.L16:
	ldr	r0, [fp, #-568]
	bl	fclose
	ldr	r1, [fp, #-572]
	ldr	r0, .L21+56
	bl	printf
	ldr	r0, .L21+60
	bl	puts
	ldr	r3, [fp, #-600]
	cmp	r3, #1
	bne	.L17
	ldr	r2, .L21+64
	ldr	r3, [fp, #-572]
	str	r3, [r2]
	ldr	r3, .L21+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+68
	bl	printf
	ldr	r3, .L21+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L21+72
	bl	puts
	ldr	r0, .L21+76
	bl	puts
	mov	r0, #0
	bl	exit
.L17:
	ldr	r3, [fp, #-600]
	cmp	r3, #2
	bne	.L18
	ldr	r2, .L21+80
	ldr	r3, [fp, #-572]
	str	r3, [r2]
	ldr	r3, .L21+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+68
	bl	printf
	ldr	r3, .L21+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L21+84
	bl	puts
	ldr	r0, .L21+76
	bl	puts
	mov	r0, #0
	bl	exit
.L18:
	ldr	r0, .L21+88
	bl	puts
	mov	r3, #1
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC30
	.word	name_file
	.word	.LC19
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	varfiles
	.word	.LC4
	.word	.LC20
	.word	hayvar
	.word	vecfiles
	.word	hayvec
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	n_varfile
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	n_vecfile
	.word	.LC28
	.word	.LC29
	.size	read_infiles, .-read_infiles
	.section	.rodata
	.align	2
.LC31:
	.ascii	"\012***Lectura archivo vector-csv, %s tipo %i***\012"
	.ascii	"\000"
	.align	2
.LC32:
	.ascii	"%li %i %lf %lf\000"
	.align	2
.LC33:
	.ascii	"Numero total de elementos %i en %i\012\000"
	.align	2
.LC34:
	.ascii	"Error: No se pudieron leer datos de entrada, revise"
	.ascii	" archivo\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_data, %function
read_data:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #312
	str	r0, [fp, #-304]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-292]
	ldr	r2, [fp, #-304]
	ldr	r1, .L34+4
	ldr	r0, .L34+8
	bl	printf
	ldr	r1, .L34+12
	ldr	r0, .L34+4
	bl	fopen
	str	r0, [fp, #-288]
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L24
	ldr	r0, .L34+16
	bl	puts
	ldr	r0, .L34+20
	bl	puts
	ldr	r0, .L34+20
	bl	puts
	ldr	r0, .L34+20
	bl	puts
	ldr	r0, .L34+20
	bl	puts
	ldr	r0, .L34+20
	bl	puts
	mov	r0, #0
	bl	exit
.L24:
	sub	r3, fp, #264
	ldr	r2, [fp, #-288]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	b	.L25
.L28:
	ldr	r3, [fp, #-304]
	cmp	r3, #1
	bne	.L26
	ldr	r1, [fp, #-296]
	ldr	r0, .L34+24
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-300]
	ldr	r0, .L34+24
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	sub	r1, fp, #284
	ldmia	r1, {r0-r1}
	ldr	ip, .L34+24
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r1, fp, #276
	ldmia	r1, {r0-r1}
	ldr	ip, .L34+24
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #16
	stm	r3, {r0-r1}
.L26:
	ldr	r3, [fp, #-304]
	cmp	r3, #2
	bne	.L27
	ldr	r1, [fp, #-296]
	ldr	r0, .L34+28
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-300]
	ldr	r0, .L34+28
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	sub	r1, fp, #284
	ldmia	r1, {r0-r1}
	ldr	ip, .L34+28
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r1, fp, #276
	ldmia	r1, {r0-r1}
	ldr	ip, .L34+28
	ldr	r2, [fp, #-292]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #16
	stm	r3, {r0-r1}
.L27:
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L25:
	sub	r1, fp, #300
	sub	r2, fp, #296
	sub	r3, fp, #276
	str	r3, [sp, #4]
	sub	r3, fp, #284
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L34+32
	ldr	r0, [fp, #-288]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #4
	beq	.L28
	ldr	r3, [fp, #-304]
	cmp	r3, #1
	bne	.L29
	ldr	r2, .L34+36
	ldr	r3, [fp, #-292]
	str	r3, [r2]
.L29:
	ldr	r3, [fp, #-304]
	cmp	r3, #2
	bne	.L30
	ldr	r2, .L34+40
	ldr	r3, [fp, #-292]
	str	r3, [r2]
.L30:
	ldr	r0, [fp, #-288]
	bl	fclose
	ldr	r2, [fp, #-304]
	ldr	r1, [fp, #-292]
	ldr	r0, .L34+44
	bl	printf
	ldr	r0, .L34+48
	bl	puts
	ldr	r3, [fp, #-292]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L34+52
	bl	puts
	mov	r0, #0
	bl	exit
.L31:
	ldr	r0, .L34+56
	bl	puts
	mov	r3, #1
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC35
	.word	name_vect
	.word	.LC31
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	capabase
	.word	caparela
	.word	.LC32
	.word	n_base
	.word	n_rela
	.word	.LC33
	.word	.LC24
	.word	.LC34
	.word	.LC29
	.size	read_data, .-read_data
	.align	2
	.global	calc_size2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_size2, %function
calc_size2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	calc_size2, .-calc_size2
	.align	2
	.global	calc_size3
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_size3, %function
calc_size3:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r4, r4, r3
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	calc_size3, .-calc_size3
	.align	2
	.global	calc_size4
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_size4, %function
calc_size4:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r4, r4, r3
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r4, r4, r3
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	calc_size4, .-calc_size4
	.section	.rodata
	.align	2
.LC36:
	.ascii	"Current Time : %s\012\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getime
	.syntax unified
	.arm
	.fpu softvfp
	.type	getime, %function
getime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r0, r3
	bl	ctime
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-12]
	ldr	r0, .L45+4
	bl	printf
	mov	r3, #1
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC37
	.word	.LC36
	.size	getime, .-getime
	.section	.rodata
	.align	2
.LC38:
	.ascii	"Directorio de categorias creado\000"
	.align	2
.LC39:
	.ascii	"Atencion: Directorio de categorias no creado\000"
	.align	2
.LC40:
	.ascii	"Porque el directorio Ya existe\000"
	.align	2
.LC41:
	.ascii	"Porque la ruta esta equivocada %s, revise la config"
	.ascii	"uracion\012\000"
	.text
	.align	2
	.global	crea_mkdir
	.syntax unified
	.arm
	.fpu softvfp
	.type	crea_mkdir, %function
crea_mkdir:
	@ 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	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	ldr	r0, .L52
	bl	puts
.L48:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L51
	ldr	r0, .L52+4
	bl	puts
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #17
	bne	.L50
	ldr	r0, .L52+8
	bl	puts
.L50:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #17
	beq	.L51
	ldr	r1, [fp, #-8]
	ldr	r0, .L52+12
	bl	printf
	mov	r0, #0
	bl	exit
.L51:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.size	crea_mkdir, .-crea_mkdir
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	caldist
	.syntax unified
	.arm
	.fpu softvfp
	.type	caldist, %function
caldist:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldmib	fp, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	caldist, .-caldist
	.section	.rodata
	.align	2
.LC42:
	.ascii	"%s%s%s\000"
	.align	2
.LC43:
	.ascii	"Se ha excedido name_vect en variable base en %i\012"
	.ascii	"\000"
	.align	2
.LC44:
	.ascii	"Calucla vec-base %i -- orden %i cat %i lin %i dis %"
	.ascii	"i\012\012\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	selec_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	selec_base, %function
selec_base:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L62+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	ldr	r3, [r3]
	ldr	r2, .L62+8
	str	r3, [r2]
	ldr	r1, .L62+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L62+12
	str	r3, [r2]
	ldr	r1, .L62+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L62+16
	str	r3, [r2]
	ldr	r1, .L62+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, .L62+20
	str	r3, [r2]
	ldr	r1, .L62+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, .L62+24
	str	r3, [r2]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #16
	ldr	r2, .L62+4
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L62+28
	ldr	r0, .L62+32
	bl	sprintf
	ldr	r2, .L62+32
	ldr	r1, .L62+36
	ldr	r0, .L62+40
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L62+44
	str	r3, [r2]
	ldr	r3, .L62+44
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L62+32
	str	r3, [sp]
	ldr	r3, .L62+36
	ldr	r2, .L62+40
	ldr	r1, .L62+48
	ldr	r0, [fp, #-20]
	bl	sprintf
	ldr	r3, .L62+44
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L57
	ldr	r2, [fp, #-20]
	ldr	r1, .L62+28
	ldr	r0, .L62+52
	bl	sprintf
	ldr	r3, .L62+24
	ldr	r1, [r3]
	ldr	r3, .L62+12
	ldr	r0, [r3]
	ldr	r3, .L62+16
	ldr	r3, [r3]
	ldr	r2, .L62+20
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-32]
	ldr	r0, .L62+56
	bl	printf
	mov	r0, #1
	bl	read_data
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L60
	b	.L61
.L57:
	ldr	r3, .L62+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L62+60
	bl	printf
	mov	r0, #0
	bl	exit
.L61:
	bl	__stack_chk_fail
.L60:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC45
	.word	varfiles
	.word	baspro
	.word	bascat
	.word	baslin
	.word	basdis
	.word	basord
	.word	.LC4
	.word	nambas
	.word	dirbas
	.word	dirhom
	.word	txtsize
	.word	.LC42
	.word	name_vect
	.word	.LC44
	.word	.LC43
	.size	selec_base, .-selec_base
	.section	.rodata
	.align	2
.LC46:
	.ascii	"Se ha excedido name_vect en variable rela en %i\012"
	.ascii	"\000"
	.align	2
.LC47:
	.ascii	"Calucla vec-rela %i -- orden %i cat %i lin %i dis %"
	.ascii	"i\012\012\000"
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	selec_rela
	.syntax unified
	.arm
	.fpu softvfp
	.type	selec_rela, %function
selec_rela:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L70+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	ldr	r3, [r3]
	ldr	r2, .L70+8
	str	r3, [r2]
	ldr	r1, .L70+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L70+12
	str	r3, [r2]
	ldr	r1, .L70+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L70+16
	str	r3, [r2]
	ldr	r1, .L70+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, .L70+20
	str	r3, [r2]
	ldr	r1, .L70+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, .L70+24
	str	r3, [r2]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #16
	ldr	r2, .L70+4
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L70+28
	ldr	r0, .L70+32
	bl	sprintf
	ldr	r2, .L70+32
	ldr	r1, .L70+36
	ldr	r0, .L70+40
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L70+44
	str	r3, [r2]
	ldr	r3, .L70+44
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L70+32
	str	r3, [sp]
	ldr	r3, .L70+36
	ldr	r2, .L70+40
	ldr	r1, .L70+48
	ldr	r0, [fp, #-20]
	bl	sprintf
	ldr	r3, .L70+44
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L65
	ldr	r2, [fp, #-20]
	ldr	r1, .L70+28
	ldr	r0, .L70+52
	bl	sprintf
	ldr	r3, .L70+24
	ldr	r1, [r3]
	ldr	r3, .L70+12
	ldr	r0, [r3]
	ldr	r3, .L70+16
	ldr	r3, [r3]
	ldr	r2, .L70+20
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-32]
	ldr	r0, .L70+56
	bl	printf
	mov	r0, #2
	bl	read_data
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L70
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L68
	b	.L69
.L65:
	ldr	r3, .L70+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L70+60
	bl	printf
	mov	r0, #0
	bl	exit
.L69:
	bl	__stack_chk_fail
.L68:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC48
	.word	vecfiles
	.word	relpro
	.word	relcat
	.word	rellin
	.word	reldis
	.word	relord
	.word	.LC4
	.word	namrel
	.word	dirbas
	.word	dirhom
	.word	txtsize
	.word	.LC42
	.word	name_vect
	.word	.LC47
	.word	.LC46
	.size	selec_rela, .-selec_rela
	.section	.rodata
	.align	2
.LC49:
	.ascii	"Generando nombre de archivo de salida v-base\000"
	.align	2
.LC50:
	.ascii	"VV_vb-sis_\000"
	.align	2
.LC51:
	.ascii	"VV_vb-usu_\000"
	.align	2
.LC52:
	.ascii	".\000"
	.align	2
.LC53:
	.ascii	"%s%s%s-%i_VAR_%s-%i.csv\000"
	.align	2
.LC54:
	.ascii	"Se ha excedido out_vecbas en %i\012\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getnamout
	.syntax unified
	.arm
	.fpu softvfp
	.type	getnamout, %function
getnamout:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, .L80+4
	bl	puts
	ldr	r3, .L80+8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L73
	sub	r3, fp, #36
	ldr	r1, .L80+12
	mov	r0, r3
	bl	sprintf
.L73:
	ldr	r3, .L80+8
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L74
	sub	r3, fp, #36
	ldr	r1, .L80+16
	mov	r0, r3
	bl	sprintf
.L74:
	ldr	r1, .L80+20
	ldr	r0, .L80+24
	bl	strtok
	str	r0, [fp, #-52]
	ldr	r1, .L80+20
	ldr	r0, .L80+28
	bl	strtok
	str	r0, [fp, #-48]
	sub	r3, fp, #36
	ldr	r2, .L80+24
	mov	r1, r3
	ldr	r0, .L80+32
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L80+36
	str	r3, [r2]
	ldr	r3, .L80+36
	ldr	r3, [r3]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r3, .L80+40
	str	r2, [r3]
	ldr	r3, .L80+40
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L80+44
	ldr	r3, [r3]
	sub	r1, fp, #36
	ldr	r2, [fp, #-60]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-48]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-52]
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, .L80+32
	ldr	r1, .L80+48
	ldr	r0, [fp, #-40]
	bl	sprintf
	ldr	r3, .L80+40
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L75
	ldr	r2, [fp, #-40]
	ldr	r1, .L80+52
	ldr	r0, .L80+56
	bl	sprintf
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L80
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	b	.L79
.L75:
	ldr	r3, .L80+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L80+60
	bl	printf
	mov	r0, #0
	bl	exit
.L79:
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC55
	.word	.LC49
	.word	tipmodo
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	nambas
	.word	namrel
	.word	dir_out
	.word	txtsize
	.word	txtsizefin
	.word	basord
	.word	.LC53
	.word	.LC4
	.word	out_vecbas
	.word	.LC54
	.size	getnamout, .-getnamout
	.section	.rodata
	.align	2
.LC56:
	.ascii	"VV_sis-vr_\000"
	.align	2
.LC57:
	.ascii	"VV_usu-vr_\000"
	.align	2
.LC58:
	.ascii	"%s%s%s-%i_vb_%s-%i.csv\000"
	.align	2
.LC59:
	.ascii	"Se ha excedido out_vecrel en %i\012\000"
	.align	2
.LC60:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getnamout_rela
	.syntax unified
	.arm
	.fpu softvfp
	.type	getnamout_rela, %function
getnamout_rela:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L90
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, .L90+4
	bl	puts
	ldr	r3, .L90+8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L83
	sub	r3, fp, #36
	ldr	r1, .L90+12
	mov	r0, r3
	bl	sprintf
.L83:
	ldr	r3, .L90+8
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L84
	sub	r3, fp, #36
	ldr	r1, .L90+16
	mov	r0, r3
	bl	sprintf
.L84:
	ldr	r1, .L90+20
	ldr	r0, .L90+24
	bl	strtok
	str	r0, [fp, #-52]
	ldr	r1, .L90+20
	ldr	r0, .L90+28
	bl	strtok
	str	r0, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r0, .L90+32
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L90+36
	str	r3, [r2]
	ldr	r3, .L90+36
	ldr	r3, [r3]
	add	r3, r3, #10
	ldr	r2, .L90+40
	str	r3, [r2]
	ldr	r3, .L90+40
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L90+44
	ldr	r3, [r3]
	sub	r2, fp, #36
	str	r3, [sp, #12]
	ldr	r3, [fp, #-52]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-56]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L90+32
	ldr	r1, .L90+48
	ldr	r0, [fp, #-40]
	bl	sprintf
	ldr	r3, .L90+36
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L85
	ldr	r2, [fp, #-40]
	ldr	r1, .L90+52
	ldr	r0, .L90+56
	bl	sprintf
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L90
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L88
	b	.L89
.L85:
	ldr	r3, .L90+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L90+60
	bl	printf
	mov	r0, #0
	bl	exit
.L89:
	bl	__stack_chk_fail
.L88:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L91:
	.align	2
.L90:
	.word	.LC60
	.word	.LC49
	.word	tipmodo
	.word	.LC56
	.word	.LC57
	.word	.LC52
	.word	nambas
	.word	namrel
	.word	dir_out
	.word	txtsize
	.word	txtsizefin
	.word	basord
	.word	.LC58
	.word	.LC4
	.word	out_vecrel
	.word	.LC59
	.size	getnamout_rela, .-getnamout_rela
	.align	2
	.global	inic_rela
	.syntax unified
	.arm
	.fpu softvfp
	.type	inic_rela, %function
inic_rela:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L93
.L94:
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #16
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #24
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L95
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L93:
	ldr	r3, .L95+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L94
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L96:
	.align	2
.L95:
	.word	caparela
	.word	n_rela
	.size	inic_rela, .-inic_rela
	.align	2
	.global	inic_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	inic_base, %function
inic_base:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L98
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L99
.L100:
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #24
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L99:
	ldr	r3, .L105+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L100
.L98:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L104
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L102
.L103:
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #16
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #24
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L105
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L102:
	ldr	r3, .L105+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L103
.L104:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L106:
	.align	2
.L105:
	.word	capabase
	.word	n_base
	.size	inic_base, .-inic_base
	.global	__aeabi_fcmpeq
	.section	.rodata
	.align	2
.LC61:
	.ascii	"Calculando punto mas proximo\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC62:
	.ascii	"Calculando puntos mas proximos por distancia m\303\255"
	.ascii	"nima en metros %f\012\000"
	.global	__aeabi_dcmpeq
	.global	__aeabi_dcmplt
	.global	__aeabi_d2f
	.align	2
.LC63:
	.ascii	"%i -- Err %i Con %i Sin %i\012\000"
	.align	2
.LC64:
	.ascii	"Elementos v-base sin coordenadas %i\012\000"
	.align	2
.LC65:
	.ascii	"Elementos v-base con valores proximos %i\012\000"
	.align	2
.LC66:
	.ascii	"Elementos v-base sin valores proximos %i\012\000"
	.text
	.align	2
	.global	calcprox
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcprox, %function
calcprox:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #50
	str	r3, [fp, #-76]
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L108
	ldr	r0, .L154+4
	bl	puts
.L108:
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L110
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L154+8
	bl	printf
.L110:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L112
.L137:
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	ldr	r3, .L154+16
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L152
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	ldr	r3, .L154+20
	str	r3, [fp, #-56]	@ float
.L115:
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L117
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-56]	@ float
.L117:
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L119
.L130:
	ldr	r1, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r1, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r1, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r2, #0
	ldr	r3, .L154+16
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L120
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	caldist
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L122
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L122
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r1, r0
	ldr	r0, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]	@ float
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	mov	r2, #1
	str	r2, [r3]
	ldr	r1, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r1, r0
	ldr	r0, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]	@ float
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	mov	r3, #1
	str	r3, [fp, #-60]
.L122:
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L120
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L120
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	ldr	r1, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L127
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r1, r0
	ldr	r0, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]	@ float
	ldr	r1, .L154+12
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r1, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r1, r0
	ldr	r0, .L154+24
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]	@ float
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
.L127:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	mov	r3, #1
	str	r3, [fp, #-60]
	ldr	r3, .L154+28
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L153
.L120:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L119:
	ldr	r3, .L154+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L130
	b	.L129
.L153:
	nop
.L129:
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L133
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L133:
	ldr	r3, [fp, #-60]
	cmp	r3, #1
	bne	.L131
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L131:
	ldr	r3, .L154
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L134
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L134
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L134
.L152:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L134:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bne	.L136
	ldr	r3, [fp, #-64]
	str	r3, [sp]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-80]
	ldr	r0, .L154+36
	bl	printf
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #1
	str	r3, [fp, #-76]
.L136:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L112:
	ldr	r3, .L154+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L137
	ldr	r1, [fp, #-72]
	ldr	r0, .L154+44
	bl	printf
	ldr	r1, [fp, #-68]
	ldr	r0, .L154+48
	bl	printf
	ldr	r1, [fp, #-64]
	ldr	r0, .L154+52
	bl	printf
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L155:
	.align	2
.L154:
	.word	distmax
	.word	.LC61
	.word	.LC62
	.word	capabase
	.word	-1060927616
	.word	1203982336
	.word	caparela
	.word	conexit
	.word	n_rela
	.word	.LC63
	.word	n_base
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.size	calcprox, .-calcprox
	.section	.rodata
	.align	2
.LC67:
	.ascii	"\012Escritura vector base %s\012\000"
	.align	2
.LC68:
	.ascii	"wt\000"
	.align	2
.LC69:
	.ascii	"ID CODE X Y DISTMIN IDREL SUMREL\012\000"
	.align	2
.LC70:
	.ascii	"%li %i %lf %lf %f %li %i\012\000"
	.align	2
.LC71:
	.ascii	"Finaliza escritura archivo de salida\000"
	.text
	.align	2
	.global	write_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_base, %function
write_base:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	ldr	r1, .L161
	ldr	r0, .L161+4
	bl	printf
	ldr	r1, .L161+8
	ldr	r0, .L161
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L157
	ldr	r0, .L161+12
	bl	puts
	ldr	r0, .L161+16
	bl	puts
	ldr	r0, .L161+16
	bl	puts
	ldr	r0, .L161+16
	bl	puts
	ldr	r0, .L161+16
	bl	puts
	ldr	r0, .L161+16
	bl	puts
	mov	r0, #0
	bl	exit
.L157:
	ldr	r3, [fp, #-32]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L161+20
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L158
.L159:
	ldr	r1, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r8, [r3]
	ldr	r1, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r9, [r3]
	ldr	r1, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r4-r5}
	ldr	r1, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r6-r7}
	ldr	r1, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	ip, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #28
	ldr	ip, [r3]
	ldr	lr, .L161+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, lr, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	str	r3, [sp, #28]
	str	ip, [sp, #24]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r3, r9
	mov	r2, r8
	ldr	r1, .L161+28
	ldr	r0, [fp, #-32]
	bl	fprintf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L158:
	ldr	r3, .L161+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L159
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r0, .L161+36
	bl	puts
	ldr	r0, .L161+40
	bl	puts
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L162:
	.align	2
.L161:
	.word	out_vecbas
	.word	.LC67
	.word	.LC68
	.word	.LC2
	.word	.LC3
	.word	.LC69
	.word	capabase
	.word	.LC70
	.word	n_base
	.word	.LC71
	.word	.LC29
	.size	write_base, .-write_base
	.section	.rodata
	.align	2
.LC72:
	.ascii	"\012Escritura vector rela %s\012\000"
	.text
	.align	2
	.global	write_rela
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_rela, %function
write_rela:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	ldr	r1, .L168
	ldr	r0, .L168+4
	bl	printf
	ldr	r1, .L168+8
	ldr	r0, .L168
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L164
	ldr	r0, .L168+12
	bl	puts
	ldr	r0, .L168+16
	bl	puts
	ldr	r0, .L168+16
	bl	puts
	ldr	r0, .L168+16
	bl	puts
	ldr	r0, .L168+16
	bl	puts
	ldr	r0, .L168+16
	bl	puts
	mov	r0, #0
	bl	exit
.L164:
	ldr	r3, [fp, #-32]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L168+20
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L165
.L166:
	ldr	r1, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r8, [r3]
	ldr	r1, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r9, [r3]
	ldr	r1, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r4-r5}
	ldr	r1, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r6-r7}
	ldr	r1, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	ip, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #28
	ldr	ip, [r3]
	ldr	lr, .L168+24
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, lr, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	str	r3, [sp, #28]
	str	ip, [sp, #24]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r3, r9
	mov	r2, r8
	ldr	r1, .L168+28
	ldr	r0, [fp, #-32]
	bl	fprintf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L165:
	ldr	r3, .L168+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L166
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r0, .L168+36
	bl	puts
	ldr	r0, .L168+40
	bl	puts
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L169:
	.align	2
.L168:
	.word	out_vecrel
	.word	.LC72
	.word	.LC68
	.word	.LC2
	.word	.LC3
	.word	.LC69
	.word	caparela
	.word	.LC70
	.word	n_rela
	.word	.LC71
	.word	.LC29
	.size	write_rela, .-write_rela
	.section	.rodata
	.align	2
.LC73:
	.ascii	"Inicio del proceso de calculo\000"
	.align	2
.LC74:
	.ascii	"HOME\000"
	.align	2
.LC75:
	.ascii	"Homedir es %s\012\000"
	.align	2
.LC76:
	.ascii	"ERROR: Por favor ingrese el archivo de configuracio"
	.ascii	"n\000"
	.align	2
.LC77:
	.ascii	"Finalizacion del proceso de calculo\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r0, .L182
	bl	puts
	bl	getime
	ldr	r0, .L182+4
	bl	getenv
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L182+8
	ldr	r0, .L182+12
	bl	sprintf
	ldr	r1, .L182+12
	ldr	r0, .L182+16
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L171
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L182+8
	ldr	r0, .L182+20
	bl	sprintf
	bl	read_cfg
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L173
	b	.L181
.L171:
	ldr	r0, .L182+24
	bl	puts
	mov	r0, #0
	bl	exit
.L181:
	ldr	r2, .L182+28
	ldr	r1, .L182+8
	ldr	r0, .L182+32
	bl	sprintf
	mov	r0, #1
	bl	read_infiles
	ldr	r2, .L182+36
	ldr	r1, .L182+8
	ldr	r0, .L182+32
	bl	sprintf
	mov	r0, #2
	bl	read_infiles
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L174
.L179:
	ldr	r1, .L182+40
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L175
	ldr	r0, [fp, #-20]
	bl	selec_base
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L176
.L178:
	ldr	r1, .L182+44
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L177
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	selec_rela
	bl	calcprox
	ldr	r3, .L182+48
	ldr	r3, [r3]
	ldr	r2, .L182+52
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	getnamout_rela
	bl	write_rela
	bl	inic_rela
	ldr	r3, .L182+52
	ldr	r3, [r3]
	ldr	r2, .L182+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	getnamout
	bl	write_base
	mov	r0, #1
	bl	inic_base
.L177:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L176:
	ldr	r3, .L182+56
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L178
	mov	r0, #2
	bl	inic_base
.L175:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L174:
	ldr	r3, .L182+60
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L179
.L173:
	ldr	r0, .L182+64
	bl	puts
	bl	getime
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L183:
	.align	2
.L182:
	.word	.LC73
	.word	.LC74
	.word	.LC4
	.word	dirhom
	.word	.LC75
	.word	name_incfg
	.word	.LC76
	.word	inbas
	.word	name_file
	.word	inrel
	.word	varfiles
	.word	vecfiles
	.word	relord
	.word	basord
	.word	n_vecfile
	.word	n_varfile
	.word	.LC77
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
