	.file	"170847.c"
	.intel_syntax noprefix
	.text
	.globl	dirhom
	.bss
	.align 32
	.type	dirhom, @object
	.size	dirhom, 100
dirhom:
	.zero	100
	.globl	dir_out
	.align 32
	.type	dir_out, @object
	.size	dir_out, 256
dir_out:
	.zero	256
	.globl	diruaer
	.align 32
	.type	diruaer, @object
	.size	diruaer, 100
diruaer:
	.zero	100
	.globl	diruaec
	.align 32
	.type	diruaec, @object
	.size	diruaec, 100
diruaec:
	.zero	100
	.globl	dirvarr
	.align 32
	.type	dirvarr, @object
	.size	dirvarr, 100
dirvarr:
	.zero	100
	.globl	dirvarc
	.align 32
	.type	dirvarc, @object
	.size	dirvarc, 100
dirvarc:
	.zero	100
	.globl	dirout
	.align 32
	.type	dirout, @object
	.size	dirout, 100
dirout:
	.zero	100
	.globl	inues
	.align 32
	.type	inues, @object
	.size	inues, 150
inues:
	.zero	150
	.globl	invgr
	.align 32
	.type	invgr, @object
	.size	invgr, 150
invgr:
	.zero	150
	.globl	name_incfg
	.align 32
	.type	name_incfg, @object
	.size	name_incfg, 256
name_incfg:
	.zero	256
	.globl	name_uaefile
	.align 32
	.type	name_uaefile, @object
	.size	name_uaefile, 256
name_uaefile:
	.zero	256
	.globl	name_varfile
	.align 32
	.type	name_varfile, @object
	.size	name_varfile, 256
name_varfile:
	.zero	256
	.globl	name_uaegrd
	.align 32
	.type	name_uaegrd, @object
	.size	name_uaegrd, 256
name_uaegrd:
	.zero	256
	.globl	name_uescsv
	.align 32
	.type	name_uescsv, @object
	.size	name_uescsv, 510
name_uescsv:
	.zero	510
	.globl	name_vargrd
	.align 32
	.type	name_vargrd, @object
	.size	name_vargrd, 510
name_vargrd:
	.zero	510
	.globl	name_varcat
	.align 32
	.type	name_varcat, @object
	.size	name_varcat, 510
name_varcat:
	.zero	510
	.globl	out_uaecsv
	.align 32
	.type	out_uaecsv, @object
	.size	out_uaecsv, 256
out_uaecsv:
	.zero	256
	.globl	out_uaegen
	.align 32
	.type	out_uaegen, @object
	.size	out_uaegen, 256
out_uaegen:
	.zero	256
	.globl	tipmodo
	.align 4
	.type	tipmodo, @object
	.size	tipmodo, 4
tipmodo:
	.zero	4
	.globl	n_uaefile
	.align 4
	.type	n_uaefile, @object
	.size	n_uaefile, 4
n_uaefile:
	.zero	4
	.globl	n_uaecsv
	.align 4
	.type	n_uaecsv, @object
	.size	n_uaecsv, 4
n_uaecsv:
	.zero	4
	.globl	n_varfile
	.align 4
	.type	n_varfile, @object
	.size	n_varfile, 4
n_varfile:
	.zero	4
	.globl	n_vcate
	.align 4
	.type	n_vcate, @object
	.size	n_vcate, 4
n_vcate:
	.zero	4
	.globl	namcsv
	.align 32
	.type	namcsv, @object
	.size	namcsv, 100
namcsv:
	.zero	100
	.globl	namgrd
	.align 32
	.type	namgrd, @object
	.size	namgrd, 100
namgrd:
	.zero	100
	.globl	usokm
	.align 4
	.type	usokm, @object
	.size	usokm, 4
usokm:
	.zero	4
	.globl	orden
	.align 4
	.type	orden, @object
	.size	orden, 4
orden:
	.zero	4
	.globl	vgorder
	.align 4
	.type	vgorder, @object
	.size	vgorder, 4
vgorder:
	.zero	4
	.globl	hayuae
	.align 4
	.type	hayuae, @object
	.size	hayuae, 4
hayuae:
	.zero	4
	.globl	hayvar
	.align 4
	.type	hayvar, @object
	.size	hayvar, 4
hayvar:
	.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	vcol
	.align 4
	.type	vcol, @object
	.size	vcol, 4
vcol:
	.zero	4
	.globl	vrow
	.align 4
	.type	vrow, @object
	.size	vrow, 4
vrow:
	.zero	4
	.globl	globx
	.align 8
	.type	globx, @object
	.size	globx, 8
globx:
	.zero	8
	.globl	globy
	.align 8
	.type	globy, @object
	.size	globy, 8
globy:
	.zero	8
	.globl	varuser
	.align 8
	.type	varuser, @object
	.size	varuser, 8
varuser:
	.zero	8
	.globl	header
	.align 8
	.type	header, @object
	.size	header, 8
header:
	.zero	8
	.globl	nullval
	.align 4
	.type	nullval, @object
	.size	nullval, 4
nullval:
	.zero	4
	.globl	totdemcel
	.align 4
	.type	totdemcel, @object
	.size	totdemcel, 4
totdemcel:
	.zero	4
	.globl	nx
	.align 4
	.type	nx, @object
	.size	nx, 4
nx:
	.zero	4
	.globl	ny
	.align 4
	.type	ny, @object
	.size	ny, 4
ny:
	.zero	4
	.globl	nxc
	.align 4
	.type	nxc, @object
	.size	nxc, 4
nxc:
	.zero	4
	.globl	nyc
	.align 4
	.type	nyc, @object
	.size	nyc, 4
nyc:
	.zero	4
	.globl	demmax
	.align 4
	.type	demmax, @object
	.size	demmax, 4
demmax:
	.zero	4
	.globl	demmin
	.align 4
	.type	demmin, @object
	.size	demmin, 4
demmin:
	.zero	4
	.globl	xlo
	.align 8
	.type	xlo, @object
	.size	xlo, 8
xlo:
	.zero	8
	.globl	xhi
	.align 8
	.type	xhi, @object
	.size	xhi, 8
xhi:
	.zero	8
	.globl	ylo
	.align 8
	.type	ylo, @object
	.size	ylo, 8
ylo:
	.zero	8
	.globl	yhi
	.align 8
	.type	yhi, @object
	.size	yhi, 8
yhi:
	.zero	8
	.globl	zlo
	.align 8
	.type	zlo, @object
	.size	zlo, 8
zlo:
	.zero	8
	.globl	zhi
	.align 8
	.type	zhi, @object
	.size	zhi, 8
zhi:
	.zero	8
	.globl	resx
	.align 8
	.type	resx, @object
	.size	resx, 8
resx:
	.zero	8
	.globl	resy
	.align 8
	.type	resy, @object
	.size	resy, 8
resy:
	.zero	8
	.globl	invresx
	.align 8
	.type	invresx, @object
	.size	invresx, 8
invresx:
	.zero	8
	.globl	invresy
	.align 8
	.type	invresy, @object
	.size	invresy, 8
invresy:
	.zero	8
	.globl	resxx
	.align 8
	.type	resxx, @object
	.size	resxx, 8
resxx:
	.zero	8
	.globl	resyy
	.align 8
	.type	resyy, @object
	.size	resyy, 8
resyy:
	.zero	8
	.globl	xc
	.align 8
	.type	xc, @object
	.size	xc, 8
xc:
	.zero	8
	.globl	yc
	.align 8
	.type	yc, @object
	.size	yc, 8
yc:
	.zero	8
	.globl	dx
	.align 8
	.type	dx, @object
	.size	dx, 8
dx:
	.zero	8
	.globl	dy
	.align 8
	.type	dy, @object
	.size	dy, 8
dy:
	.zero	8
	.globl	ddx
	.align 8
	.type	ddx, @object
	.size	ddx, 8
ddx:
	.zero	8
	.globl	ddy
	.align 8
	.type	ddy, @object
	.size	ddy, 8
ddy:
	.zero	8
	.globl	dx2
	.align 8
	.type	dx2, @object
	.size	dx2, 8
dx2:
	.zero	8
	.globl	dy2
	.align 8
	.type	dy2, @object
	.size	dy2, 8
dy2:
	.zero	8
	.globl	rast_uae
	.align 8
	.type	rast_uae, @object
	.size	rast_uae, 8
rast_uae:
	.zero	8
	.globl	header2
	.align 8
	.type	header2, @object
	.size	header2, 8
header2:
	.zero	8
	.globl	nullval2
	.align 4
	.type	nullval2, @object
	.size	nullval2, 4
nullval2:
	.zero	4
	.globl	grdpros
	.align 4
	.type	grdpros, @object
	.size	grdpros, 4
grdpros:
	.zero	4
	.globl	nx2
	.align 4
	.type	nx2, @object
	.size	nx2, 4
nx2:
	.zero	4
	.globl	ny2
	.align 4
	.type	ny2, @object
	.size	ny2, 4
ny2:
	.zero	4
	.globl	nxc2
	.align 4
	.type	nxc2, @object
	.size	nxc2, 4
nxc2:
	.zero	4
	.globl	nyc2
	.align 4
	.type	nyc2, @object
	.size	nyc2, 4
nyc2:
	.zero	4
	.globl	demmax2
	.align 4
	.type	demmax2, @object
	.size	demmax2, 4
demmax2:
	.zero	4
	.globl	demmin2
	.align 4
	.type	demmin2, @object
	.size	demmin2, 4
demmin2:
	.zero	4
	.globl	xlo2
	.align 8
	.type	xlo2, @object
	.size	xlo2, 8
xlo2:
	.zero	8
	.globl	xhi2
	.align 8
	.type	xhi2, @object
	.size	xhi2, 8
xhi2:
	.zero	8
	.globl	ylo2
	.align 8
	.type	ylo2, @object
	.size	ylo2, 8
ylo2:
	.zero	8
	.globl	yhi2
	.align 8
	.type	yhi2, @object
	.size	yhi2, 8
yhi2:
	.zero	8
	.globl	zlo2
	.align 8
	.type	zlo2, @object
	.size	zlo2, 8
zlo2:
	.zero	8
	.globl	zhi2
	.align 8
	.type	zhi2, @object
	.size	zhi2, 8
zhi2:
	.zero	8
	.globl	res2x
	.align 8
	.type	res2x, @object
	.size	res2x, 8
res2x:
	.zero	8
	.globl	res2y
	.align 8
	.type	res2y, @object
	.size	res2y, 8
res2y:
	.zero	8
	.globl	invresx2
	.align 8
	.type	invresx2, @object
	.size	invresx2, 8
invresx2:
	.zero	8
	.globl	invresy2
	.align 8
	.type	invresy2, @object
	.size	invresy2, 8
invresy2:
	.zero	8
	.globl	res2xx
	.align 8
	.type	res2xx, @object
	.size	res2xx, 8
res2xx:
	.zero	8
	.globl	res2yy
	.align 8
	.type	res2yy, @object
	.size	res2yy, 8
res2yy:
	.zero	8
	.globl	xc2
	.align 8
	.type	xc2, @object
	.size	xc2, 8
xc2:
	.zero	8
	.globl	yc2
	.align 8
	.type	yc2, @object
	.size	yc2, 8
yc2:
	.zero	8
	.globl	ddx2
	.align 8
	.type	ddx2, @object
	.size	ddx2, 8
ddx2:
	.zero	8
	.globl	ddy2
	.align 8
	.type	ddy2, @object
	.size	ddy2, 8
ddy2:
	.zero	8
	.globl	dx22
	.align 8
	.type	dx22, @object
	.size	dx22, 8
dx22:
	.zero	8
	.globl	dy22
	.align 8
	.type	dy22, @object
	.size	dy22, 8
dy22:
	.zero	8
	.globl	rast_var
	.align 8
	.type	rast_var, @object
	.size	rast_var, 8
rast_var:
	.zero	8
	.globl	vres2x
	.align 32
	.type	vres2x, @object
	.size	vres2x, 160
vres2x:
	.zero	160
	.globl	vres2y
	.align 32
	.type	vres2y, @object
	.size	vres2y, 160
vres2y:
	.zero	160
	.globl	uefiles
	.align 32
	.type	uefiles, @object
	.size	uefiles, 9920
uefiles:
	.zero	9920
	.globl	vargrd
	.align 32
	.type	vargrd, @object
	.size	vargrd, 16800
vargrd:
	.zero	16800
	.globl	stuaecsv
	.align 32
	.type	stuaecsv, @object
	.size	stuaecsv, 1920000
stuaecsv:
	.zero	1920000
	.globl	categoria
	.align 32
	.type	categoria, @object
	.size	categoria, 208000
categoria:
	.zero	208000
	.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 %s"
.LC7:
	.string	"%s%s"
.LC8:
	.string	"Se ha excedido dir_out en %i\n"
.LC9:
	.string	"TIPO MODO %i\n"
.LC10:
	.string	"DIR_IN UAE GRD %s\n"
.LC11:
	.string	"DIR_IN UAE CSV %s\n"
.LC12:
	.string	"DIR_INVAR GRD %s\n"
.LC13:
	.string	"DIR_INVAR CATE %s\n"
.LC14:
	.string	"DIR_OUTGEN %s\n"
.LC15:
	.string	"UAE_CONFIG_FILE %s\n"
.LC16:
	.string	"VAR_CONFIG_FILE %s\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	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, diruaer[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	rcx, diruaec[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	rcx, dirvarr[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	rcx, dirvarc[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	rcx, dirout[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, inues[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	rcx, invgr[rip]
	lea	rsi, .LC6[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, .LC7[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, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, diruaer[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, diruaec[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, dirvarr[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, dirvarc[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, inues[rip]
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, invgr[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	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, .LC8[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
.LC17:
	.string	"\n***Lectura archivo UAEs, %s***\n"
.LC18:
	.string	"%i %i %i %i %i %s %s\n"
.LC19:
	.string	"%i %i %i %i %i %i %s %s"
	.align 8
.LC20:
	.string	"Atencion error de lectura en unidades espaciales"
.LC21:
	.string	"Numero total de ues = %i\n"
	.align 8
.LC22:
	.string	"Numero total de ues a procesar = %i\n"
.LC23:
	.string	"end read file"
	.align 8
.LC24:
	.string	"Atencion: No se han activado UAEs, revise configuracion"
	.align 8
.LC25:
	.string	"Ponga el valor de la primera columna en 1 para las que quiera procesar"
	.align 8
.LC26:
	.string	"---------------------------------\n"
	.text
	.globl	read_ueinfile
	.type	read_ueinfile, @function
read_ueinfile:
.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, 544
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -508[rbp], 0
	lea	rsi, name_uaefile[rip]
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_uaefile[rip]
	call	fopen@PLT
	mov	QWORD PTR -504[rbp], rax
	cmp	QWORD PTR -504[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 -504[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L13
.L15:
	mov	edx, DWORD PTR -516[rbp]
	mov	eax, DWORD PTR -508[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -532[rbp]
	mov	eax, DWORD PTR -508[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -528[rbp]
	mov	eax, DWORD PTR -508[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+8]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR -508[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+12]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -520[rbp]
	mov	eax, DWORD PTR -508[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+16]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -512[rbp]
	mov	eax, DWORD PTR -508[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+20]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR -508[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	lea	rcx, 8[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 -508[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 112[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	lea	rcx, 12[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 -520[rbp]
	mov	edi, DWORD PTR -524[rbp]
	mov	ecx, DWORD PTR -528[rbp]
	mov	edx, DWORD PTR -532[rbp]
	mov	eax, DWORD PTR -516[rbp]
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -496[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -516[rbp]
	cmp	eax, 1
	jne	.L14
	mov	eax, DWORD PTR hayuae[rip]
	add	eax, 1
	mov	DWORD PTR hayuae[rip], eax
.L14:
	add	DWORD PTR -508[rbp], 1
.L13:
	lea	r8, -524[rbp]
	lea	rdi, -528[rbp]
	lea	rcx, -532[rbp]
	lea	rdx, -516[rbp]
	mov	rax, QWORD PTR -504[rbp]
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -496[rbp]
	push	rsi
	lea	rsi, -512[rbp]
	push	rsi
	lea	rsi, -520[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 32
	cmp	eax, 8
	je	.L15
	cmp	DWORD PTR -508[rbp], 0
	jne	.L16
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR -508[rbp]
	mov	DWORD PTR n_uaefile[rip], eax
	mov	rax, QWORD PTR -504[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -508[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR hayuae[rip]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, DWORD PTR hayuae[rip]
	test	eax, eax
	jne	.L17
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L17:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_ueinfile, .-read_ueinfile
	.section	.rodata
	.align 8
.LC27:
	.string	"\n***Lectura archivo unidades espaciales-generador, %s***\n"
.LC28:
	.string	"%i %i %i %lf %lf %f %f %s\n"
.LC29:
	.string	"%i %i %i %lf %lf %f %f %s"
.LC30:
	.string	"Numero total de ues-gen = %i\n"
	.align 8
.LC31:
	.string	"Numero total de ues-gen a procesar = %i\n"
	.text
	.globl	read_uaefilegen
	.type	read_uaefilegen, @function
read_uaefilegen:
.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, 432
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -412[rbp], 0
	lea	rsi, name_uaefile[rip]
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_uaefile[rip]
	call	fopen@PLT
	mov	QWORD PTR -392[rbp], rax
	cmp	QWORD PTR -392[rbp], 0
	jne	.L21
	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
.L21:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L22
.L24:
	mov	edx, DWORD PTR -432[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -428[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+16]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -424[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, uefiles[rip+20]
	mov	DWORD PTR [rcx+rax], edx
	movsd	xmm0, QWORD PTR -408[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+224]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -400[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+232]
	movsd	QWORD PTR [rdx+rax], xmm0
	movss	xmm0, DWORD PTR -420[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	DWORD PTR [rdx+rax], xmm0
	movss	xmm0, DWORD PTR -416[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+244]
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	lea	rcx, 8[rax]
	lea	rax, -384[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	movss	xmm0, DWORD PTR -416[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -420[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -400[rbp]
	mov	rsi, QWORD PTR -408[rbp]
	mov	ecx, DWORD PTR -424[rbp]
	mov	edx, DWORD PTR -428[rbp]
	mov	eax, DWORD PTR -432[rbp]
	lea	rdi, -384[rbp]
	mov	r8, rdi
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 4
	call	printf@PLT
	mov	eax, DWORD PTR -432[rbp]
	cmp	eax, 1
	jne	.L23
	mov	eax, DWORD PTR hayuae[rip]
	add	eax, 1
	mov	DWORD PTR hayuae[rip], eax
.L23:
	add	DWORD PTR -412[rbp], 1
.L22:
	lea	r8, -408[rbp]
	lea	rdi, -424[rbp]
	lea	rcx, -428[rbp]
	lea	rdx, -432[rbp]
	mov	rax, QWORD PTR -392[rbp]
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -416[rbp]
	push	rsi
	lea	rsi, -420[rbp]
	push	rsi
	lea	rsi, -400[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 32
	cmp	eax, 8
	je	.L24
	mov	eax, DWORD PTR -412[rbp]
	mov	DWORD PTR n_uaefile[rip], eax
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR n_uaefile[rip]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR hayuae[rip]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, DWORD PTR hayuae[rip]
	test	eax, eax
	jne	.L25
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L25:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_uaefilegen, .-read_uaefilegen
	.section	.rodata
	.align 8
.LC32:
	.string	"\n***Lectura archivo variables, %s***\n"
.LC33:
	.string	"%i %i %i %i %s %s %s\n"
.LC34:
	.string	"%i %i %i %i %i %s %s %s"
	.align 8
.LC35:
	.string	"Atencion error de lectura en variables grd"
	.align 8
.LC36:
	.string	"Numero total de variables grd = %i\n"
	.align 8
.LC37:
	.string	"Numero total de variables grd a procesar = %i\n"
	.align 8
.LC38:
	.string	"Atencion: No se han activado variables vectoriales, revise configuracion"
	.text
	.globl	read_vargrdfile
	.type	read_vargrdfile, @function
read_vargrdfile:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 640
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -620[rbp], 0
	lea	rsi, name_varfile[rip]
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_varfile[rip]
	call	fopen@PLT
	mov	QWORD PTR -616[rbp], rax
	cmp	QWORD PTR -616[rbp], 0
	jne	.L29
	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
.L29:
	mov	rdx, QWORD PTR -616[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L30
.L32:
	mov	edx, DWORD PTR -624[rbp]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rcx, vargrd[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, vargrd[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, vargrd[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, vargrd[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, vargrd[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, vargrd[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, vargrd[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, vargrd[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	edi, DWORD PTR -632[rbp]
	mov	ecx, DWORD PTR -636[rbp]
	mov	edx, DWORD PTR -640[rbp]
	mov	eax, DWORD PTR -624[rbp]
	lea	r8, -608[rbp]
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -496[rbp]
	push	rsi
	mov	r9, r8
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -624[rbp]
	cmp	eax, 1
	jne	.L31
	mov	eax, DWORD PTR hayvar[rip]
	add	eax, 1
	mov	DWORD PTR hayvar[rip], eax
.L31:
	add	DWORD PTR -620[rbp], 1
.L30:
	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, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 32
	cmp	eax, 8
	je	.L32
	cmp	DWORD PTR -620[rbp], 0
	jne	.L33
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L33:
	mov	eax, DWORD PTR -620[rbp]
	mov	DWORD PTR n_varfile[rip], eax
	mov	rax, QWORD PTR -616[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -620[rbp]
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR hayvar[rip]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, DWORD PTR hayvar[rip]
	test	eax, eax
	jne	.L34
	lea	rdi, .LC38[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L34:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_vargrdfile, .-read_vargrdfile
	.section	.rodata
	.align 8
.LC39:
	.string	"\n***Lectura archivo ue-csv, %s***\n"
.LC40:
	.string	"%i %s %lf %lf %lf %lf"
	.align 8
.LC41:
	.string	"Numero total de elementos en UAE = %i id max %i\n"
	.text
	.globl	read_uecsv
	.type	read_uecsv, @function
read_uecsv:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 352
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -348[rbp], 0
	mov	DWORD PTR n_uaecsv[rip], 0
	lea	rsi, name_uescsv[rip]
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_uescsv[rip]
	call	fopen@PLT
	mov	QWORD PTR -312[rbp], rax
	cmp	QWORD PTR -312[rbp], 0
	jne	.L38
	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
.L38:
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	lea	rdx, stuaecsv[rip]
	mov	eax, DWORD PTR -348[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -352[rbp]
	mov	edx, DWORD PTR -348[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 6
	lea	rdx, stuaecsv[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	add	rax, rdx
	lea	rcx, 8[rax]
	lea	rax, -304[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	movsd	xmm0, QWORD PTR -320[rbp]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+32]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -328[rbp]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+40]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -344[rbp]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+48]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+56]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -348[rbp], 1
.L39:
	lea	r8, -328[rbp]
	lea	rdi, -320[rbp]
	lea	rcx, -304[rbp]
	lea	rdx, -352[rbp]
	mov	rax, QWORD PTR -312[rbp]
	lea	rsi, -336[rbp]
	push	rsi
	lea	rsi, -344[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 16
	cmp	eax, 6
	je	.L40
	mov	eax, DWORD PTR -348[rbp]
	mov	DWORD PTR n_uaecsv[rip], eax
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -348[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -348[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	read_uecsv, .-read_uecsv
	.section	.rodata
	.align 8
.LC42:
	.string	"\n***Lectura archivo UAE-grd, %s***\n"
.LC43:
	.string	"rb"
.LC45:
	.string	"%lf\n"
.LC47:
	.string	"Cabecera archivo RASTER"
.LC48:
	.string	"RASTER tipo: %s\n"
.LC49:
	.string	"colx  = %5i -- rowy = %5i\n"
.LC50:
	.string	"xmin = %f -- ymin = %f\n"
.LC51:
	.string	"xmax = %f -- ymax = %f\n"
.LC52:
	.string	"zlo = %10.4f -- zhi = %10.4f\n"
.LC53:
	.string	"RASTER resolucion en x = %f\n"
.LC54:
	.string	"RASTER resolucion en y = %f\n"
	.align 8
.LC55:
	.string	"RASTER invresx = %f and invresy = %f\n"
	.align 8
.LC56:
	.string	"RASTER resx2 = %f and resy2 = %f\n"
	.align 8
.LC57:
	.string	"---------------------------------"
.LC58:
	.string	"Total celdas en RASTER = %i\n"
.LC59:
	.string	"Area de trabajo %lf\n"
	.align 8
.LC60:
	.string	"Total celdas en nulas en RASTER = %i\n"
.LC61:
	.string	"Area nula %lf\n"
.LC62:
	.string	"Final de lectura de RASTER"
	.text
	.globl	read_uegrd
	.type	read_uegrd, @function
read_uegrd:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, name_uaegrd[rip]
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC43[rip]
	lea	rdi, name_uaegrd[rip]
	call	fopen@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L44
	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
.L44:
	pxor	xmm0, xmm0
	movsd	QWORD PTR resx[rip], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR resy[rip], xmm0
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -104[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 48
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -12[rbp], 0
	movzx	eax, WORD PTR -104[rbp]
	cwde
	mov	DWORD PTR nx[rip], eax
	movzx	eax, WORD PTR -102[rbp]
	cwde
	mov	DWORD PTR ny[rip], eax
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR xlo[rip], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR xhi[rip], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR ylo[rip], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR yhi[rip], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR zlo[rip], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR zhi[rip], xmm0
	movsd	xmm0, QWORD PTR xhi[rip]
	movsd	xmm1, QWORD PTR xlo[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR nx[rip]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR resx[rip], xmm0
	movsd	xmm0, QWORD PTR yhi[rip]
	movsd	xmm1, QWORD PTR ylo[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR ny[rip]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR resy[rip], xmm0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	movq	xmm0, rax
	lea	rdi, .LC45[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -124[rbp], 1
.L45:
	cmp	DWORD PTR -124[rbp], 7
	jle	.L46
	mov	edx, DWORD PTR ny[rip]
	mov	eax, DWORD PTR nx[rip]
	mov	esi, edx
	mov	edi, eax
	call	Make2IntegerArray
	mov	QWORD PTR rast_uae[rip], rax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L47
.L54:
	mov	DWORD PTR -128[rbp], 0
	jmp	.L48
.L53:
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	movss	xmm0, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR demmax[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	comiss	xmm0, xmm1
	ja	.L49
	movss	xmm1, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR demmin[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	comiss	xmm0, xmm1
	jb	.L57
.L49:
	mov	eax, DWORD PTR nullval[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -96[rbp], xmm0
	add	DWORD PTR -120[rbp], 1
	jmp	.L52
.L57:
	add	DWORD PTR -116[rbp], 1
.L52:
	movss	xmm0, DWORD PTR -96[rbp]
	mov	rdx, QWORD PTR rast_uae[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	cvttss2si	eax, xmm0
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -128[rbp], 1
.L48:
	mov	eax, DWORD PTR nx[rip]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L53
	add	DWORD PTR -124[rbp], 1
.L47:
	mov	eax, DWORD PTR ny[rip]
	cmp	DWORD PTR -124[rbp], eax
	jl	.L54
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movsd	xmm1, QWORD PTR resx[rip]
	movsd	xmm0, QWORD PTR .LC46[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR invresx[rip], xmm0
	movsd	xmm1, QWORD PTR resy[rip]
	movsd	xmm0, QWORD PTR .LC46[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR invresy[rip], xmm0
	movsd	xmm1, QWORD PTR resx[rip]
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR resxx[rip], xmm0
	movsd	xmm1, QWORD PTR resy[rip]
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR resyy[rip], xmm0
	mov	edx, DWORD PTR nx[rip]
	mov	eax, DWORD PTR ny[rip]
	imul	eax, edx
	mov	DWORD PTR totdemcel[rip], eax
	lea	rdi, .LC47[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR ny[rip]
	mov	eax, DWORD PTR nx[rip]
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR ylo[rip]
	mov	rax, QWORD PTR xlo[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC50[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR yhi[rip]
	mov	rax, QWORD PTR xhi[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC51[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR zhi[rip]
	mov	rax, QWORD PTR zlo[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC52[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR resx[rip]
	movq	xmm0, rax
	lea	rdi, .LC53[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR resy[rip]
	movq	xmm0, rax
	lea	rdi, .LC54[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR invresy[rip]
	mov	rax, QWORD PTR invresx[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC55[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR resyy[rip]
	mov	rax, QWORD PTR resxx[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC56[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rdi, .LC57[rip]
	call	puts@PLT
	mov	eax, DWORD PTR totdemcel[rip]
	mov	esi, eax
	lea	rdi, .LC58[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -116[rbp]
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC59[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC61[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC62[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	read_uegrd, .-read_uegrd
	.section	.rodata
	.align 8
.LC63:
	.string	"Genera raster a partir de punto"
.LC64:
	.string	"Num total celdas %i\n"
.LC65:
	.string	"DEM resolution in resx = %f\n"
.LC66:
	.string	"DEM resolution in resy = %f\n"
	.align 8
.LC67:
	.string	"Atencion, raster ocupa demasiada memoria"
	.align 8
.LC68:
	.string	"Por seguridad no deberia superar %i celdas\n"
	.align 8
.LC69:
	.string	"Reduzca la resolucion o el radio de busqueda y repita"
	.text
	.globl	crea_uae
	.type	crea_uae, @function
crea_uae:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	lea	rdi, .LC63[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+224]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm1, DWORD PTR [rdx+rax]
	cvtss2sd	xmm1, xmm1
	subsd	xmm0, xmm1
	movsd	QWORD PTR xlo[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+232]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm1, DWORD PTR [rdx+rax]
	cvtss2sd	xmm1, xmm1
	subsd	xmm0, xmm1
	movsd	QWORD PTR ylo[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+224]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	cvtss2sd	xmm0, xmm0
	addsd	xmm0, xmm1
	movsd	QWORD PTR xhi[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+232]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	cvtss2sd	xmm0, xmm0
	addsd	xmm0, xmm1
	movsd	QWORD PTR yhi[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+244]
	movss	xmm0, DWORD PTR [rdx+rax]
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR resx[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+244]
	movss	xmm0, DWORD PTR [rdx+rax]
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR resy[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR xlo[rip]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR xlo[rip]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR resx[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR nx[rip], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR ylo[rip]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR ylo[rip]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR resy[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR ny[rip], eax
	mov	eax, DWORD PTR nx[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR ny[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR nx[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm0, xmm1
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR ny[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm0
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	edx, DWORD PTR ny[rip]
	mov	eax, DWORD PTR nx[rip]
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR nx[rip]
	mov	eax, DWORD PTR ny[rip]
	imul	eax, edx
	mov	esi, eax
	lea	rdi, .LC64[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR ylo[rip]
	mov	rax, QWORD PTR xlo[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC50[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR yhi[rip]
	mov	rax, QWORD PTR xhi[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC51[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR resx[rip]
	movq	xmm0, rax
	lea	rdi, .LC65[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR resy[rip]
	movq	xmm0, rax
	lea	rdi, .LC66[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR stuaecsv[rip], 0
	mov	DWORD PTR stuaecsv[rip+4], 1
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR stuaecsv[rip+32], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR stuaecsv[rip+40], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+224]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR stuaecsv[rip+48], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+232]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR stuaecsv[rip+56], xmm0
	mov	eax, DWORD PTR nx[rip]
	cmp	eax, 22000
	jle	.L59
	lea	rdi, .LC67[rip]
	call	puts@PLT
	mov	eax, DWORD PTR nx[rip]
	mov	esi, eax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC69[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L59:
	mov	edx, DWORD PTR ny[rip]
	mov	eax, DWORD PTR nx[rip]
	mov	esi, edx
	mov	edi, eax
	call	Make2IntegerArray
	mov	QWORD PTR rast_uae[rip], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L60
.L63:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L61
.L62:
	mov	rdx, QWORD PTR rast_uae[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	add	DWORD PTR -24[rbp], 1
.L61:
	mov	eax, DWORD PTR nx[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L62
	add	DWORD PTR -20[rbp], 1
.L60:
	mov	eax, DWORD PTR ny[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L63
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	crea_uae, .-crea_uae
	.section	.rodata
	.align 8
.LC70:
	.string	"\n***Lectura archivo capa raster-grd, %s***\n"
.LC71:
	.string	"Cabecera archivo RASTER-2"
	.align 8
.LC72:
	.string	"RASTER-2 resolucion en x = %f\n"
	.align 8
.LC73:
	.string	"RASTER-2 resolucion en y = %f\n"
	.align 8
.LC74:
	.string	"RASTER-2 invresx = %f and invresy = %f\n"
	.align 8
.LC75:
	.string	"RASTER-2 resx2 = %f and resy2 = %f\n"
	.align 8
.LC76:
	.string	"Total celdas en RASTER-2 = %i\n"
.LC77:
	.string	"Final de lectura de RASTER-2"
	.text
	.globl	read_vargrd
	.type	read_vargrd, @function
read_vargrd:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, name_vargrd[rip]
	lea	rdi, .LC70[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC43[rip]
	lea	rdi, name_vargrd[rip]
	call	fopen@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L66
	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
.L66:
	pxor	xmm0, xmm0
	movsd	QWORD PTR res2x[rip], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR res2y[rip], xmm0
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -104[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 48
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -12[rbp], 0
	movzx	eax, WORD PTR -104[rbp]
	cwde
	mov	DWORD PTR nx2[rip], eax
	movzx	eax, WORD PTR -102[rbp]
	cwde
	mov	DWORD PTR ny2[rip], eax
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR xlo2[rip], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR xhi2[rip], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR ylo2[rip], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR yhi2[rip], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR zlo2[rip], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR zhi2[rip], xmm0
	movsd	xmm0, QWORD PTR xhi2[rip]
	movsd	xmm1, QWORD PTR xlo2[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR nx2[rip]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR res2x[rip], xmm0
	movsd	xmm0, QWORD PTR yhi2[rip]
	movsd	xmm1, QWORD PTR ylo2[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR ny2[rip]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR res2y[rip], xmm0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	movq	xmm0, rax
	lea	rdi, .LC45[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -124[rbp], 1
.L67:
	cmp	DWORD PTR -124[rbp], 5
	jle	.L68
	mov	edx, DWORD PTR ny2[rip]
	mov	eax, DWORD PTR nx2[rip]
	mov	esi, edx
	mov	edi, eax
	call	Make2IntegerArray
	mov	QWORD PTR rast_var[rip], rax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L69
.L76:
	mov	DWORD PTR -128[rbp], 0
	jmp	.L70
.L75:
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	movss	xmm0, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR demmax2[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	comiss	xmm0, xmm1
	ja	.L71
	movss	xmm1, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR demmin2[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	comiss	xmm0, xmm1
	jb	.L79
.L71:
	mov	eax, DWORD PTR nullval2[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -96[rbp], xmm0
	add	DWORD PTR -120[rbp], 1
	jmp	.L74
.L79:
	add	DWORD PTR -116[rbp], 1
.L74:
	movss	xmm0, DWORD PTR -96[rbp]
	mov	rdx, QWORD PTR rast_var[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	cvttss2si	eax, xmm0
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -128[rbp], 1
.L70:
	mov	eax, DWORD PTR nx2[rip]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L75
	add	DWORD PTR -124[rbp], 1
.L69:
	mov	eax, DWORD PTR ny2[rip]
	cmp	DWORD PTR -124[rbp], eax
	jl	.L76
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movsd	xmm1, QWORD PTR res2x[rip]
	movsd	xmm0, QWORD PTR .LC46[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR invresx2[rip], xmm0
	movsd	xmm1, QWORD PTR res2y[rip]
	movsd	xmm0, QWORD PTR .LC46[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR invresy2[rip], xmm0
	movsd	xmm1, QWORD PTR res2x[rip]
	movsd	xmm0, QWORD PTR res2x[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR res2xx[rip], xmm0
	movsd	xmm1, QWORD PTR res2y[rip]
	movsd	xmm0, QWORD PTR res2y[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR res2yy[rip], xmm0
	mov	edx, DWORD PTR nx2[rip]
	mov	eax, DWORD PTR ny2[rip]
	imul	eax, edx
	mov	DWORD PTR totdemcel[rip], eax
	lea	rdi, .LC71[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR ny2[rip]
	mov	eax, DWORD PTR nx2[rip]
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR ylo2[rip]
	mov	rax, QWORD PTR xlo2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC50[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR yhi2[rip]
	mov	rax, QWORD PTR xhi2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC51[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR zhi2[rip]
	mov	rax, QWORD PTR zlo2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC52[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR res2x[rip]
	movq	xmm0, rax
	lea	rdi, .LC72[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR res2y[rip]
	movq	xmm0, rax
	lea	rdi, .LC73[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR invresy2[rip]
	mov	rax, QWORD PTR invresx2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC74[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR res2yy[rip]
	mov	rax, QWORD PTR res2xx[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC75[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rdi, .LC57[rip]
	call	puts@PLT
	mov	eax, DWORD PTR totdemcel[rip]
	mov	esi, eax
	lea	rdi, .LC76[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -116[rbp]
	movsd	xmm0, QWORD PTR res2x[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR res2y[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC59[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR res2x[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR res2y[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC61[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC77[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	read_vargrd, .-read_vargrd
	.section	.rodata
	.align 8
.LC78:
	.string	"\n***Lectura archivo categorias raster, %s***\n"
.LC79:
	.string	"%i %i :: %s - %s\n"
.LC80:
	.string	"%i %i %s %s"
	.align 8
.LC81:
	.string	"Numero total de categorias = %i\n"
	.text
	.globl	read_varcate
	.type	read_varcate, @function
read_varcate:
.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, 480
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -460[rbp], 0
	mov	DWORD PTR n_vcate[rip], 0
	lea	rsi, name_varcat[rip]
	lea	rdi, .LC78[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, name_varcat[rip]
	call	fopen@PLT
	mov	QWORD PTR -456[rbp], rax
	cmp	QWORD PTR -456[rbp], 0
	jne	.L81
	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
.L81:
	mov	rdx, QWORD PTR -456[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L82
.L84:
	mov	ecx, DWORD PTR -468[rbp]
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	ecx, DWORD PTR -464[rbp]
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	lea	rcx, 8[rax]
	lea	rax, -448[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, 48[rax]
	lea	rax, categoria[rip]
	add	rax, rdx
	lea	rcx, 10[rax]
	lea	rax, -384[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	cmp	DWORD PTR -460[rbp], 19
	jg	.L83
	mov	edx, DWORD PTR -464[rbp]
	mov	eax, DWORD PTR -468[rbp]
	lea	rsi, -384[rbp]
	lea	rcx, -448[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC79[rip]
	mov	eax, 0
	call	printf@PLT
.L83:
	add	DWORD PTR -460[rbp], 1
.L82:
	lea	rdi, -384[rbp]
	lea	rsi, -448[rbp]
	lea	rcx, -464[rbp]
	lea	rdx, -468[rbp]
	mov	rax, QWORD PTR -456[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC80[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 4
	je	.L84
	mov	eax, DWORD PTR -460[rbp]
	mov	DWORD PTR n_vcate[rip], eax
	mov	rax, QWORD PTR -456[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -460[rbp]
	mov	esi, eax
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	read_varcate, .-read_varcate
	.globl	calc_size2
	.type	calc_size2, @function
calc_size2:
.LFB15:
	.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
.LFE15:
	.size	calc_size2, .-calc_size2
	.globl	calc_size3
	.type	calc_size3, @function
calc_size3:
.LFB16:
	.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
.LFE16:
	.size	calc_size3, .-calc_size3
	.globl	calc_size4
	.type	calc_size4, @function
calc_size4:
.LFB17:
	.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
.LFE17:
	.size	calc_size4, .-calc_size4
	.section	.rodata
.LC82:
	.string	"error 2"
	.text
	.globl	Make2DDoubleArray
	.type	Make2DDoubleArray, @function
Make2DDoubleArray:
.LFB18:
	.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L94
.L96:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L95
	lea	rdi, .LC82[rip]
	call	puts@PLT
.L95:
	add	DWORD PTR -28[rbp], 1
.L94:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L96
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	Make2DDoubleArray, .-Make2DDoubleArray
	.globl	Make2IntegerArray
	.type	Make2IntegerArray, @function
Make2IntegerArray:
.LFB19:
	.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L99
.L101:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 2
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L100
	lea	rdi, .LC82[rip]
	call	puts@PLT
.L100:
	add	DWORD PTR -28[rbp], 1
.L99:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L101
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	Make2IntegerArray, .-Make2IntegerArray
	.globl	calc_vecindex
	.type	calc_vecindex, @function
calc_vecindex:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	mov	DWORD PTR -52[rbp], edi
	cmp	DWORD PTR -52[rbp], 1
	jne	.L104
	movsd	xmm1, QWORD PTR xlo[rip]
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm1, QWORD PTR resx[rip]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR vcol[rip], eax
	mov	eax, DWORD PTR vcol[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR xlo[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR resx[rip]
	movsd	xmm2, QWORD PTR .LC83[rip]
	divsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L105
	mov	eax, DWORD PTR vcol[rip]
	add	eax, 1
	mov	DWORD PTR vcol[rip], eax
.L105:
	movsd	xmm1, QWORD PTR ylo[rip]
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm1, QWORD PTR resy[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR vrow[rip], eax
	mov	eax, DWORD PTR vrow[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR ylo[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR resy[rip]
	movsd	xmm2, QWORD PTR .LC83[rip]
	divsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L104
	mov	eax, DWORD PTR vrow[rip]
	add	eax, 1
	mov	DWORD PTR vrow[rip], eax
.L104:
	cmp	DWORD PTR -52[rbp], 2
	jne	.L116
	movsd	xmm1, QWORD PTR xlo2[rip]
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm1, QWORD PTR res2x[rip]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR vcol[rip], eax
	mov	eax, DWORD PTR vcol[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR res2x[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR xlo2[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR res2x[rip]
	movsd	xmm2, QWORD PTR .LC83[rip]
	divsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L109
	mov	eax, DWORD PTR vcol[rip]
	add	eax, 1
	mov	DWORD PTR vcol[rip], eax
.L109:
	movsd	xmm1, QWORD PTR ylo2[rip]
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm1, QWORD PTR res2y[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR vrow[rip], eax
	mov	eax, DWORD PTR vrow[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR res2y[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR ylo2[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR res2y[rip]
	movsd	xmm2, QWORD PTR .LC83[rip]
	divsd	xmm1, xmm2
	comisd	xmm0, xmm1
	ja	.L115
	jmp	.L116
.L115:
	mov	eax, DWORD PTR vrow[rip]
	add	eax, 1
	mov	DWORD PTR vrow[rip], eax
.L116:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	calc_vecindex, .-calc_vecindex
	.globl	get_coor
	.type	get_coor, @function
get_coor:
.LFB21:
	.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], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	pxor	xmm0, xmm0
	movsd	QWORD PTR globx[rip], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR globy[rip], xmm0
	cmp	DWORD PTR -12[rbp], 1
	jne	.L118
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR resx[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR xlo[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR globx[rip], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR resy[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR ylo[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR globy[rip], xmm0
.L118:
	cmp	DWORD PTR -12[rbp], 2
	jne	.L120
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR res2x[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR xlo2[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR globx[rip], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR res2y[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR ylo2[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR globy[rip], xmm0
.L120:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	get_coor, .-get_coor
	.section	.rodata
.LC84:
	.string	"Current Time : %s\n"
	.text
	.globl	getime
	.type	getime, @function
getime:
.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, 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, .LC84[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L123
	call	__stack_chk_fail@PLT
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	getime, .-getime
	.section	.rodata
	.align 8
.LC85:
	.string	"Directorio de categorias creado"
	.align 8
.LC86:
	.string	"Atencion: Directorio de categorias no creado"
	.align 8
.LC87:
	.string	"Porque el directorio Ya existe"
	.align 8
.LC88:
	.string	"Porque la ruta esta equivocada %s, revise la configuracion\n"
	.text
	.globl	crea_mkdir
	.type	crea_mkdir, @function
crea_mkdir:
.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
	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	.L125
	lea	rdi, .LC85[rip]
	call	puts@PLT
.L125:
	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	.L128
	lea	rdi, .LC86[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	.L127
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 17
	jne	.L127
	lea	rdi, .LC87[rip]
	call	puts@PLT
.L127:
	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	.L128
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 17
	je	.L128
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC88[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L128:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	crea_mkdir, .-crea_mkdir
	.section	.rodata
.LC89:
	.string	"%s%s%s"
	.align 8
.LC90:
	.string	"Se ha excedido name_uescsv en %i\n"
	.align 8
.LC91:
	.string	"Se ha excedido name_uaegrd en %i\n"
	.align 8
.LC92:
	.string	"Calucla UE %i -- orden %i nul %i min %i max %i\n\n"
	.text
	.globl	selec_uae
	.type	selec_uae, @function
selec_uae:
.LFB24:
	.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, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -100[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jg	.L130
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR nullval[rip], eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR demmin[rip], eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR demmax[rip], eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR usokm[rip], eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+20]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR orden[rip], eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 112[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	add	rax, 12
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, namgrd[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	add	rax, 8
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, namcsv[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, namcsv[rip]
	lea	rsi, diruaec[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 -88[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -128[rbp], rdx
	mov	QWORD PTR -120[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -144[rbp], rdx
	mov	QWORD PTR -136[rbp], 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
.L131:
	cmp	rsp, rdx
	je	.L132
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L131
.L132:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L133
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L133:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	lea	r8, namcsv[rip]
	lea	rcx, diruaec[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 509
	jg	.L134
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_uescsv[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, namgrd[rip]
	lea	rsi, diruaer[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
	jmp	.L136
.L134:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC90[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L136:
	cmp	rsp, rdx
	je	.L137
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L136
.L137:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L138
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L138:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	r8, namgrd[rip]
	lea	rcx, diruaer[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 255
	jg	.L139
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_uaegrd[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, DWORD PTR demmax[rip]
	mov	esi, DWORD PTR demmin[rip]
	mov	ecx, DWORD PTR nullval[rip]
	mov	edx, DWORD PTR orden[rip]
	mov	eax, DWORD PTR -100[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC92[rip]
	mov	eax, 0
	call	printf@PLT
	call	read_uegrd
	call	read_uecsv
	mov	rsp, rbx
	jmp	.L130
.L139:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC91[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L130:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L141
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	add	rax, 8
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, namcsv[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR nullval[rip], -9999
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+4]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, uefiles[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	lea	rax, stuaecsv[rip]
	add	rax, rcx
	add	rax, 8
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm0
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm0
	addss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+32]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+240]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm0
	mulss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+40]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+224]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+48]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip+232]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+56]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	DWORD PTR n_uaecsv[rip], 1
	mov	eax, DWORD PTR -100[rbp]
	mov	edi, eax
	call	crea_uae
.L141:
	mov	eax, 1
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L143
	call	__stack_chk_fail@PLT
.L143:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	selec_uae, .-selec_uae
	.section	.rodata
.LC93:
	.string	"RR_r-sis_r-usu_"
.LC94:
	.string	"RR_r-usu_r-usu_"
.LC95:
	.string	"RR_r-usu-gen_r-usu_"
.LC96:
	.string	"%s%s%s%i_%s"
.LC97:
	.string	"%s%s%s%i_%s.csv"
	.align 8
.LC98:
	.string	"Se ha excedido out_uaecsv en %i\n"
.LC99:
	.string	"%s%s%s%i_%s.grd"
	.align 8
.LC100:
	.string	"Se ha excedido out_uaegen en %i\n"
	.text
	.globl	getnamout
	.type	getnamout, @function
getnamout:
.LFB25:
	.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	DWORD PTR -132[rbp], edi
	mov	DWORD PTR -136[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 tipmodo[rip]
	cmp	eax, 1
	jne	.L145
	lea	rax, -80[rbp]
	lea	rsi, .LC93[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L145:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jne	.L146
	lea	rax, -80[rbp]
	lea	rsi, .LC94[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L146:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L147
	lea	rax, -80[rbp]
	lea	rsi, .LC95[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L147:
	lea	rax, -80[rbp]
	lea	rcx, namcsv[rip]
	mov	rdx, rax
	lea	rsi, dirout[rip]
	lea	rdi, dirhom[rip]
	call	calc_size4
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -116[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -112[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L148:
	cmp	rsp, rdx
	je	.L149
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L148
.L149:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L150
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L150:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jg	.L151
	mov	esi, DWORD PTR orden[rip]
	lea	rcx, -80[rbp]
	mov	rax, QWORD PTR -104[rbp]
	sub	rsp, 8
	lea	rdx, namcsv[rip]
	push	rdx
	mov	r9d, esi
	mov	r8, rcx
	lea	rcx, dirout[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC96[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
.L151:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L152
	mov	esi, DWORD PTR orden[rip]
	lea	rcx, -80[rbp]
	mov	rax, QWORD PTR -104[rbp]
	sub	rsp, 8
	lea	rdx, namcsv[rip]
	push	rdx
	mov	r9d, esi
	mov	r8, rcx
	lea	rcx, dirout[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC97[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
.L152:
	cmp	DWORD PTR -116[rbp], 255
	jg	.L153
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, out_uaecsv[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L155
	jmp	.L162
.L153:
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC98[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L162:
	mov	rax, rsp
	mov	r12, rax
	lea	rax, -80[rbp]
	lea	rcx, namcsv[rip]
	mov	rdx, rax
	lea	rsi, dirout[rip]
	lea	rdi, dirhom[rip]
	call	calc_size4
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 10
	mov	DWORD PTR -116[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -176[rbp], rdx
	mov	QWORD PTR -168[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L156:
	cmp	rsp, rdx
	je	.L157
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L156
.L157:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L158
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L158:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -88[rbp], rax
	mov	esi, DWORD PTR orden[rip]
	lea	rcx, -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	sub	rsp, 8
	lea	rdx, namcsv[rip]
	push	rdx
	mov	r9d, esi
	mov	r8, rcx
	lea	rcx, dirout[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC99[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	cmp	DWORD PTR -116[rbp], 255
	jg	.L159
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, out_uaegen[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	rsp, r12
	jmp	.L155
.L159:
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC100[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L155:
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L161
	call	__stack_chk_fail@PLT
.L161:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	getnamout, .-getnamout
	.section	.rodata
	.align 8
.LC101:
	.string	"Se ha excedido name_varcat en %i\n"
	.align 8
.LC102:
	.string	"Se ha excedido name_vargrd en %i\n"
	.align 8
.LC103:
	.string	"Calucla UE %i en VAR-GRD %i %s -- nul %i min %i max %i\n\n"
	.align 8
.LC104:
	.string	"***************************************************"
	.align 8
.LC105:
	.string	"Crea matriz para variables de %i colum por %i filas\n"
	.text
	.globl	selec_var
	.type	selec_var, @function
selec_var:
.LFB26:
	.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, 536
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -532[rbp], edi
	mov	DWORD PTR -536[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 -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vargrd[rip+4]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR nullval2[rip], eax
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vargrd[rip+8]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR demmin2[rip], eax
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vargrd[rip+12]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR demmax2[rip], eax
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vargrd[rip+16]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR vgorder[rip], eax
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 16[rax]
	lea	rax, vargrd[rip]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -368[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 160[rax]
	lea	rax, vargrd[rip]
	add	rax, rdx
	lea	rdx, 10[rax]
	lea	rax, -208[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, 320[rax]
	lea	rax, vargrd[rip]
	add	rdx, rax
	lea	rax, -480[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -208[rbp]
	mov	rdx, rax
	lea	rsi, dirvarc[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 -512[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -560[rbp], rdx
	mov	QWORD PTR -552[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -576[rbp], rdx
	mov	QWORD PTR -568[rbp], 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
.L164:
	cmp	rsp, rdx
	je	.L165
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L164
.L165:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L166
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L166:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -504[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -504[rbp]
	mov	r8, rdx
	lea	rcx, dirvarc[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 509
	jg	.L167
	mov	rax, QWORD PTR -504[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_varcat[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -368[rbp]
	mov	rdx, rax
	lea	rsi, dirvarr[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 -496[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
	jmp	.L169
.L167:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC101[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L169:
	cmp	rsp, rdx
	je	.L170
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L169
.L170:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L171
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L171:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -488[rbp], rax
	lea	rdx, -368[rbp]
	mov	rax, QWORD PTR -488[rbp]
	mov	r8, rdx
	lea	rcx, dirvarr[rip]
	lea	rdx, dirhom[rip]
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR txtsize[rip]
	cmp	eax, 509
	jg	.L172
	mov	rax, QWORD PTR -488[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	lea	rdi, name_vargrd[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	esi, DWORD PTR demmax2[rip]
	mov	r8d, DWORD PTR demmin2[rip]
	mov	edi, DWORD PTR nullval2[rip]
	lea	rcx, -480[rbp]
	mov	edx, DWORD PTR -532[rbp]
	mov	eax, DWORD PTR -536[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC103[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	call	read_vargrd
	call	read_varcate
	movsd	xmm0, QWORD PTR res2x[rip]
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vres2x[rip]
	movss	DWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR res2y[rip]
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vres2y[rip]
	movss	DWORD PTR [rdx+rax], xmm0
	lea	rdi, .LC104[rip]
	call	puts@PLT
	mov	edx, DWORD PTR n_uaecsv[rip]
	mov	eax, DWORD PTR n_vcate[rip]
	mov	esi, eax
	lea	rdi, .LC105[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC104[rip]
	call	puts@PLT
	mov	edx, DWORD PTR n_uaecsv[rip]
	mov	eax, DWORD PTR n_vcate[rip]
	mov	esi, edx
	mov	edi, eax
	call	Make2IntegerArray
	mov	QWORD PTR varuser[rip], rax
	mov	DWORD PTR -516[rbp], 0
	jmp	.L174
.L172:
	mov	eax, DWORD PTR txtsize[rip]
	mov	esi, eax
	lea	rdi, .LC102[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L177:
	mov	DWORD PTR -520[rbp], 0
	jmp	.L175
.L176:
	mov	rdx, QWORD PTR varuser[rip]
	mov	eax, DWORD PTR -520[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -516[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -520[rbp], 1
.L175:
	mov	eax, DWORD PTR n_vcate[rip]
	cmp	DWORD PTR -520[rbp], eax
	jl	.L176
	add	DWORD PTR -516[rbp], 1
.L174:
	mov	eax, DWORD PTR n_uaecsv[rip]
	cmp	DWORD PTR -516[rbp], eax
	jl	.L177
	mov	eax, 1
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L179
	call	__stack_chk_fail@PLT
.L179:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	selec_var, .-selec_var
	.section	.rodata
	.align 8
.LC106:
	.string	"Atencion hay un problema en la categorias, revise el archivo"
	.align 8
.LC107:
	.string	"Tiene que adicionar campos, pasar de %i a %i\n"
	.align 8
.LC108:
	.string	"No se econtro la categoria %i en el archivo de categorias\n"
	.align 8
.LC109:
	.string	"Atencion hay un problema en la uae, revise el archivo"
	.align 8
.LC110:
	.string	"Revisar numero de uaes en csv, hay %i y se busca la %i\n"
	.align 8
.LC111:
	.string	"No se econtro la uae %i en el archivo de uae\n"
	.text
	.globl	countdat
	.type	countdat, @function
countdat:
.LFB27:
	.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	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -12[rbp], -1
	mov	DWORD PTR -20[rbp], 0
	jmp	.L181
.L184:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L182
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L183
.L182:
	add	DWORD PTR -20[rbp], 1
.L181:
	mov	eax, DWORD PTR n_vcate[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L184
.L183:
	mov	eax, DWORD PTR n_vcate[rip]
	cmp	DWORD PTR -12[rbp], eax
	jg	.L185
	cmp	DWORD PTR -12[rbp], -1
	jne	.L186
.L185:
	lea	rdi, .LC106[rip]
	call	puts@PLT
	cmp	DWORD PTR -12[rbp], 0
	js	.L187
	mov	eax, DWORD PTR n_vcate[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC107[rip]
	mov	eax, 0
	call	printf@PLT
.L187:
	cmp	DWORD PTR -12[rbp], -1
	jne	.L188
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC108[rip]
	mov	eax, 0
	call	printf@PLT
.L188:
	mov	edi, 0
	call	exit@PLT
.L186:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jg	.L189
	mov	DWORD PTR -16[rbp], -1
	mov	DWORD PTR -20[rbp], 0
	jmp	.L190
.L193:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jne	.L191
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L192
.L191:
	add	DWORD PTR -20[rbp], 1
.L190:
	mov	eax, DWORD PTR n_uaecsv[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L193
.L192:
	mov	eax, DWORD PTR n_uaecsv[rip]
	cmp	DWORD PTR -16[rbp], eax
	jg	.L194
	cmp	DWORD PTR -16[rbp], -1
	jne	.L189
.L194:
	lea	rdi, .LC109[rip]
	call	puts@PLT
	cmp	DWORD PTR -16[rbp], 0
	js	.L195
	mov	eax, DWORD PTR n_uaecsv[rip]
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC110[rip]
	mov	eax, 0
	call	printf@PLT
.L195:
	cmp	DWORD PTR -16[rbp], -1
	jne	.L196
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC111[rip]
	mov	eax, 0
	call	printf@PLT
.L196:
	mov	edi, 0
	call	exit@PLT
.L189:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L197
	mov	DWORD PTR -16[rbp], 0
.L197:
	mov	rdx, QWORD PTR varuser[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR varuser[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	countdat, .-countdat
	.section	.rodata
.LC112:
	.string	"Liberando variable UAE"
	.text
	.globl	freeuaegrd
	.type	freeuaegrd, @function
freeuaegrd:
.LFB28:
	.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	rdi, .LC112[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L200
.L201:
	mov	rdx, QWORD PTR rast_uae[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L200:
	mov	eax, DWORD PTR nx[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L201
	mov	rax, QWORD PTR rast_uae[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR rast_uae[rip], 0
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	freeuaegrd, .-freeuaegrd
	.section	.rodata
.LC113:
	.string	"Liberando variable raster"
	.text
	.globl	freevargrd
	.type	freevargrd, @function
freevargrd:
.LFB29:
	.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	rdi, .LC113[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L204
.L205:
	mov	rdx, QWORD PTR rast_var[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L204:
	mov	eax, DWORD PTR nx2[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L205
	mov	rax, QWORD PTR rast_var[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR rast_var[rip], 0
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	freevargrd, .-freevargrd
	.globl	freeuaecsv
	.type	freeuaecsv, @function
freeuaecsv:
.LFB30:
	.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	rdi, .LC112[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L208
.L209:
	mov	rdx, QWORD PTR varuser[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L208:
	mov	eax, DWORD PTR nx[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L209
	mov	rax, QWORD PTR varuser[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR varuser[rip], 0
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	freeuaecsv, .-freeuaecsv
	.section	.rodata
.LC114:
	.string	"0"
	.text
	.globl	inistrucue
	.type	inistrucue, @function
inistrucue:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L212
.L213:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+4]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	add	rax, rdx
	add	rax, 8
	lea	rsi, .LC114[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+32]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+40]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+48]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+56]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L212:
	cmp	DWORD PTR -4[rbp], 29999
	jle	.L213
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	inistrucue, .-inistrucue
	.globl	inistvarcat
	.type	inistvarcat, @function
inistvarcat:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L215
.L216:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	add	rax, 8
	lea	rsi, .LC114[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, 48[rax]
	lea	rax, categoria[rip]
	add	rax, rdx
	add	rax, 10
	lea	rsi, .LC114[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	DWORD PTR -4[rbp], 1
.L215:
	cmp	DWORD PTR -4[rbp], 999
	jle	.L216
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	inistvarcat, .-inistvarcat
	.section	.rodata
	.align 8
.LC115:
	.string	"Calcula en UAE %i-%i para raster %i\n"
.LC116:
	.string	" Contador en %i\n"
.LC117:
	.string	"Finalizado Cruce en %i-%i\n"
.LC118:
	.string	"Elementos dentro UAE: %i\n"
.LC119:
	.string	"Elementos fuera  UAE: %i\n"
	.align 8
.LC120:
	.string	"Elementos Fuera de raster: %i\n"
.LC121:
	.string	"***********************\n"
	.text
	.globl	calc_dat
	.type	calc_dat, @function
calc_dat:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], 100
	mov	ecx, DWORD PTR vgorder[rip]
	mov	edx, DWORD PTR orden[rip]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC115[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L218
.L232:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L219
.L230:
	mov	rdx, QWORD PTR rast_var[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR nullval2[rip]
	cmp	DWORD PTR -8[rbp], eax
	je	.L220
	mov	ecx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 2
	mov	esi, ecx
	mov	edi, eax
	call	get_coor
	movsd	xmm0, QWORD PTR globx[rip]
	movsd	xmm1, QWORD PTR xlo[rip]
	comisd	xmm0, xmm1
	jbe	.L221
	movsd	xmm1, QWORD PTR globx[rip]
	movsd	xmm0, QWORD PTR xhi[rip]
	comisd	xmm0, xmm1
	jbe	.L221
	movsd	xmm0, QWORD PTR globy[rip]
	movsd	xmm1, QWORD PTR ylo[rip]
	comisd	xmm0, xmm1
	jbe	.L221
	movsd	xmm1, QWORD PTR globy[rip]
	movsd	xmm0, QWORD PTR yhi[rip]
	comisd	xmm0, xmm1
	jbe	.L221
	movsd	xmm0, QWORD PTR globy[rip]
	mov	rax, QWORD PTR globx[rip]
	mov	edi, 1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	calc_vecindex
	mov	edx, DWORD PTR vcol[rip]
	mov	eax, DWORD PTR nx[rip]
	cmp	edx, eax
	jge	.L226
	mov	edx, DWORD PTR vrow[rip]
	mov	eax, DWORD PTR ny[rip]
	cmp	edx, eax
	jge	.L226
	mov	rdx, QWORD PTR rast_uae[rip]
	mov	eax, DWORD PTR vcol[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR vrow[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR nullval[rip]
	cmp	DWORD PTR -4[rbp], eax
	je	.L227
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	countdat
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 1
	jne	.L238
	add	DWORD PTR -16[rbp], 1
	jmp	.L238
.L227:
	add	DWORD PTR -20[rbp], 1
	jmp	.L238
.L226:
	add	DWORD PTR -24[rbp], 1
	jmp	.L220
.L238:
	nop
	jmp	.L220
.L221:
	add	DWORD PTR -24[rbp], 1
.L220:
	add	DWORD PTR -36[rbp], 1
.L219:
	mov	eax, DWORD PTR nx2[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L230
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jne	.L231
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC116[rip]
	mov	eax, 0
	call	printf@PLT
	sal	DWORD PTR -28[rbp]
.L231:
	add	DWORD PTR -32[rbp], 1
.L218:
	mov	eax, DWORD PTR ny2[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L232
	mov	edx, DWORD PTR orden[rip]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC117[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC118[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC119[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC120[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC121[rip]
	call	puts@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	calc_dat, .-calc_dat
	.section	.rodata
.LC122:
	.string	"\nEscritura de uae-csv %s\n"
.LC123:
	.string	"wt"
.LC124:
	.string	"ERROR %s\n"
	.align 8
.LC125:
	.string	"ATENCION: LA RUTA DE SALIDA DEL ARCHIVO NO ES CORRECTA"
	.align 8
.LC126:
	.string	"Archivo uae small, en m para algunos indicadores lineales"
	.align 8
.LC127:
	.string	"Archivo uae grande, en km para algunos indicadores lineales"
.LC128:
	.string	"NUM ID CODE ARE PER X Y "
.LC129:
	.string	"%s %sp "
.LC130:
	.string	"%s %sp\n"
.LC131:
	.string	"CAT-%i CAT-%isp"
.LC132:
	.string	"CAT-%i CAT-%i\n"
.LC133:
	.string	"%i %i %s %lf %lf %lf %lf "
.LC135:
	.string	"%.2f %.2f "
.LC136:
	.string	"%.2f %.2f\n"
	.align 8
.LC137:
	.string	"Finaliza escritura archivo de salida"
	.text
	.globl	write_uaecsv
	.type	write_uaecsv, @function
write_uaecsv:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	lea	rsi, out_uaecsv[rip]
	lea	rdi, .LC122[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC123[rip]
	lea	rdi, out_uaecsv[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L240
	lea	rsi, out_uaecsv[rip]
	lea	rdi, .LC124[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC125[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L240:
	mov	eax, DWORD PTR usokm[rip]
	cmp	eax, 1
	jle	.L241
	lea	rdi, .LC126[rip]
	call	puts@PLT
.L241:
	mov	eax, DWORD PTR usokm[rip]
	cmp	eax, 1
	jne	.L242
	lea	rdi, .LC127[rip]
	call	puts@PLT
.L242:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vres2x[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	DWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vres2y[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	DWORD PTR -20[rbp], xmm0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	nop
	mov	eax, DWORD PTR n_vcate[rip]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L245
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	add	rax, 8
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 15
	jbe	.L260
	mov	DWORD PTR -28[rbp], 1
.L260:
	nop
.L245:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC128[rip]
	call	fwrite@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L247
.L252:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L248
	mov	eax, DWORD PTR n_vcate[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jge	.L249
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	lea	rcx, 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC129[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L249:
	mov	eax, DWORD PTR n_vcate[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jne	.L248
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	lea	rcx, 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, categoria[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC130[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L248:
	cmp	DWORD PTR -28[rbp], 1
	jne	.L250
	mov	eax, DWORD PTR n_vcate[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jge	.L251
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC131[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L251:
	mov	eax, DWORD PTR n_vcate[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jne	.L250
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, categoria[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC132[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L250:
	add	DWORD PTR -36[rbp], 1
.L247:
	mov	eax, DWORD PTR n_vcate[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L252
	mov	DWORD PTR -32[rbp], 0
	jmp	.L253
.L258:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+56]
	movsd	xmm2, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+48]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+32]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+40]
	mov	rsi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	add	rax, rdx
	lea	rdi, 8[rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	r8, rdi
	lea	rsi, .LC133[rip]
	mov	rdi, rax
	mov	eax, 4
	call	fprintf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L254
.L257:
	mov	rdx, QWORD PTR varuser[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mulss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC134[rip]
	mulss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, stuaecsv[rip+40]
	movsd	xmm1, QWORD PTR [rdx+rax]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	eax, DWORD PTR n_vcate[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jge	.L255
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -16[rbp]
	movq	rdx, xmm4
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC135[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
.L255:
	mov	eax, DWORD PTR n_vcate[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jne	.L256
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -16[rbp]
	movq	rdx, xmm5
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC136[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
.L256:
	add	DWORD PTR -36[rbp], 1
.L254:
	mov	eax, DWORD PTR n_vcate[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L257
	add	DWORD PTR -32[rbp], 1
.L253:
	mov	eax, DWORD PTR n_uaecsv[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L258
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC137[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	write_uaecsv, .-write_uaecsv
	.section	.rodata
.LC138:
	.string	"Escribe raster generado %s\n"
.LC139:
	.string	"DSBB"
.LC140:
	.string	"wb"
	.align 8
.LC141:
	.string	"Finaliza escritura raster generado"
	.text
	.globl	write_uaerast
	.type	write_uaerast, @function
write_uaerast:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 560
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, out_uaegen[rip]
	lea	rdi, .LC138[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC139[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR nx[rip]
	mov	WORD PTR -536[rbp], ax
	mov	eax, DWORD PTR ny[rip]
	mov	WORD PTR -534[rbp], ax
	movsd	xmm0, QWORD PTR xlo[rip]
	movsd	QWORD PTR -528[rbp], xmm0
	movsd	xmm0, QWORD PTR xhi[rip]
	movsd	QWORD PTR -520[rbp], xmm0
	movsd	xmm0, QWORD PTR ylo[rip]
	movsd	QWORD PTR -512[rbp], xmm0
	movsd	xmm0, QWORD PTR yhi[rip]
	movsd	QWORD PTR -504[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -496[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC46[rip]
	movsd	QWORD PTR -488[rbp], xmm0
	mov	eax, DWORD PTR nx[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -552[rbp], rax
	lea	rsi, .LC140[rip]
	lea	rdi, out_uaegen[rip]
	call	fopen@PLT
	mov	QWORD PTR -544[rbp], rax
	cmp	QWORD PTR -544[rbp], 0
	jne	.L262
	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
	lea	rdi, .LC125[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L262:
	mov	rdx, QWORD PTR -544[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -544[rbp]
	lea	rax, -536[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -544[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 48
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -556[rbp], 0
	jmp	.L263
.L266:
	mov	DWORD PTR -560[rbp], 0
	jmp	.L264
.L265:
	mov	rdx, QWORD PTR rast_uae[rip]
	mov	eax, DWORD PTR -560[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -556[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -560[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, edx
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -560[rbp], 1
.L264:
	mov	eax, DWORD PTR nx[rip]
	cmp	DWORD PTR -560[rbp], eax
	jl	.L265
	mov	eax, DWORD PTR nx[rip]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rdx, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -556[rbp], 1
.L263:
	mov	eax, DWORD PTR ny[rip]
	cmp	DWORD PTR -556[rbp], eax
	jl	.L266
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC141[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L268
	call	__stack_chk_fail@PLT
.L268:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	write_uaerast, .-write_uaerast
	.section	.rodata
.LC142:
	.string	"Inicio del proceso de calculo"
.LC143:
	.string	"HOME"
.LC144:
	.string	"Homedir es %s\n"
	.align 8
.LC145:
	.string	"ERROR: Por favor ingrese el archivo de configuracion"
	.align 8
.LC146:
	.string	"*********************************"
	.align 8
.LC147:
	.string	"*********************************\n"
.LC148:
	.string	"Atencion: modo fuera de rango"
.LC149:
	.string	"Selecciones valores 1, 2 o 3"
	.align 8
.LC150:
	.string	"Finalizacion del proceso de calculo"
	.text
	.globl	main
	.type	main, @function
main:
.LFB36:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC142[rip]
	call	puts@PLT
	call	getime
	lea	rdi, .LC143[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, .LC144[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L270
	mov	rax, QWORD PTR -32[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 -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 1
	jne	.L272
	jmp	.L291
.L270:
	lea	rdi, .LC145[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L291:
	lea	rdx, inues[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, name_uaefile[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, invgr[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, name_varfile[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdi, name_uaefile[rip]
	call	puts@PLT
	lea	rdi, name_varfile[rip]
	call	puts@PLT
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jg	.L273
	call	read_ueinfile
.L273:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L274
	call	read_uaefilegen
.L274:
	call	read_vargrdfile
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 2
	jg	.L275
	mov	DWORD PTR -12[rbp], 0
	jmp	.L276
.L281:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L277
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	selec_uae
	mov	DWORD PTR -16[rbp], 0
	jmp	.L278
.L280:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vargrd[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR grdpros[rip], eax
	mov	eax, DWORD PTR grdpros[rip]
	cmp	eax, 1
	jne	.L279
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	selec_var
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	calc_dat
	mov	eax, DWORD PTR vgorder[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	getnamout
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	write_uaecsv
	call	freevargrd
	call	inistvarcat
.L279:
	add	DWORD PTR -16[rbp], 1
.L278:
	mov	eax, DWORD PTR n_varfile[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L280
	call	inistrucue
	call	freeuaegrd
	lea	rdi, .LC146[rip]
	call	puts@PLT
	lea	rdi, .LC146[rip]
	call	puts@PLT
	lea	rdi, .LC146[rip]
	call	puts@PLT
	lea	rdi, .LC147[rip]
	call	puts@PLT
.L277:
	add	DWORD PTR -12[rbp], 1
.L276:
	mov	eax, DWORD PTR n_uaefile[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L281
.L275:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jne	.L282
	mov	DWORD PTR -12[rbp], 0
	jmp	.L283
.L288:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, uefiles[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L284
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	selec_uae
	mov	DWORD PTR -16[rbp], 0
	jmp	.L285
.L287:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 420
	lea	rdx, vargrd[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR grdpros[rip], eax
	mov	eax, DWORD PTR grdpros[rip]
	cmp	eax, 1
	jne	.L286
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	selec_var
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	calc_dat
	mov	eax, DWORD PTR vgorder[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	getnamout
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	write_uaecsv
	mov	eax, 0
	call	write_uaerast
	call	freevargrd
	call	inistvarcat
.L286:
	add	DWORD PTR -16[rbp], 1
.L285:
	mov	eax, DWORD PTR n_varfile[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L287
	call	inistrucue
	call	freeuaegrd
	lea	rdi, .LC146[rip]
	call	puts@PLT
	lea	rdi, .LC146[rip]
	call	puts@PLT
	lea	rdi, .LC146[rip]
	call	puts@PLT
	lea	rdi, .LC147[rip]
	call	puts@PLT
.L284:
	add	DWORD PTR -12[rbp], 1
.L283:
	mov	eax, DWORD PTR n_uaefile[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L288
.L282:
	mov	eax, DWORD PTR tipmodo[rip]
	cmp	eax, 3
	jg	.L289
	mov	eax, DWORD PTR tipmodo[rip]
	test	eax, eax
	jg	.L272
.L289:
	lea	rdi, .LC148[rip]
	call	puts@PLT
	lea	rdi, .LC149[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L272:
	lea	rdi, .LC150[rip]
	call	puts@PLT
	call	getime
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC46:
	.long	0
	.long	1072693248
	.align 8
.LC83:
	.long	0
	.long	1073741824
	.align 4
.LC134:
	.long	1120403456
	.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	"170847.c"
	.text
	.comm	dirhom,100,4
	.comm	dir_out,256,4
	.comm	diruaer,100,4
	.comm	diruaec,100,4
	.comm	dirvarr,100,4
	.comm	dirvarc,100,4
	.comm	dirout,100,4
	.comm	inues,150,4
	.comm	invgr,150,4
	.comm	name_incfg,256,4
	.comm	name_uaefile,256,4
	.comm	name_varfile,256,4
	.comm	name_uaegrd,256,4
	.comm	name_uescsv,510,4
	.comm	name_vargrd,510,4
	.comm	name_varcat,510,4
	.comm	out_uaecsv,256,4
	.comm	out_uaegen,256,4
	.comm	tipmodo,4,4
	.comm	n_uaefile,4,4
	.comm	n_uaecsv,4,4
	.comm	n_varfile,4,4
	.comm	n_vcate,4,4
	.comm	namcsv,100,4
	.comm	namgrd,100,4
	.comm	usokm,4,4
	.comm	orden,4,4
	.comm	vgorder,4,4
	.comm	hayuae,4,4
	.comm	hayvar,4,4
	.comm	txtsize,4,4
	.comm	txtsizefin,4,4
	.comm	vcol,4,4
	.comm	vrow,4,4
	.comm	globx,8,8
	.comm	globy,8,8
	.comm	varuser,4,4
	.comm	header,8,4
	.comm	nullval,4,4
	.comm	totdemcel,4,4
	.comm	nx,4,4
	.comm	ny,4,4
	.comm	nxc,4,4
	.comm	nyc,4,4
	.comm	demmax,4,4
	.comm	demmin,4,4
	.comm	xlo,8,8
	.comm	xhi,8,8
	.comm	ylo,8,8
	.comm	yhi,8,8
	.comm	zlo,8,8
	.comm	zhi,8,8
	.comm	resx,8,8
	.comm	resy,8,8
	.comm	invresx,8,8
	.comm	invresy,8,8
	.comm	resxx,8,8
	.comm	resyy,8,8
	.comm	xc,8,8
	.comm	yc,8,8
	.comm	dx,8,8
	.comm	dy,8,8
	.comm	ddx,8,8
	.comm	ddy,8,8
	.comm	dx2,8,8
	.comm	dy2,8,8
	.comm	rast_uae,4,4
	.comm	header2,8,4
	.comm	nullval2,4,4
	.comm	grdpros,4,4
	.comm	nx2,4,4
	.comm	ny2,4,4
	.comm	nxc2,4,4
	.comm	nyc2,4,4
	.comm	demmax2,4,4
	.comm	demmin2,4,4
	.comm	xlo2,8,8
	.comm	xhi2,8,8
	.comm	ylo2,8,8
	.comm	yhi2,8,8
	.comm	zlo2,8,8
	.comm	zhi2,8,8
	.comm	res2x,8,8
	.comm	res2y,8,8
	.comm	invresx2,8,8
	.comm	invresy2,8,8
	.comm	res2xx,8,8
	.comm	res2yy,8,8
	.comm	xc2,8,8
	.comm	yc2,8,8
	.comm	ddx2,8,8
	.comm	ddy2,8,8
	.comm	dx22,8,8
	.comm	dy22,8,8
	.comm	rast_var,4,4
	.comm	vres2x,160,4
	.comm	vres2y,160,4
	.comm	uefiles,9920,8
	.comm	vargrd,16800,4
	.comm	stuaecsv,1920000,8
	.comm	categoria,208000,4
	.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 %s\000"
	.align	2
.LC7:
	.ascii	"%s%s\000"
	.align	2
.LC8:
	.ascii	"Se ha excedido dir_out en %i\012\000"
	.align	2
.LC9:
	.ascii	"TIPO MODO %i\012\000"
	.align	2
.LC10:
	.ascii	"DIR_IN UAE GRD %s\012\000"
	.align	2
.LC11:
	.ascii	"DIR_IN UAE CSV %s\012\000"
	.align	2
.LC12:
	.ascii	"DIR_INVAR GRD %s\012\000"
	.align	2
.LC13:
	.ascii	"DIR_INVAR CATE %s\012\000"
	.align	2
.LC14:
	.ascii	"DIR_OUTGEN %s\012\000"
	.align	2
.LC15:
	.ascii	"UAE_CONFIG_FILE %s\012\000"
	.align	2
.LC16:
	.ascii	"VAR_CONFIG_FILE %s\012\000"
	.align	2
.LC17:
	.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	r3, fp, #96
	mov	r2, r3
	ldr	r1, .L8+24
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+36
	ldr	r1, .L8+40
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+44
	ldr	r1, .L8+40
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+48
	ldr	r1, .L8+40
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+52
	ldr	r1, .L8+40
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+56
	ldr	r1, .L8+40
	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+60
	ldr	r1, .L8+40
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	sub	r2, fp, #96
	ldr	r3, .L8+64
	ldr	r1, .L8+40
	ldr	r0, [fp, #-108]
	bl	__isoc99_fscanf
	ldr	r1, .L8+56
	ldr	r0, .L8+68
	bl	calc_size2
	mov	r3, r0
	ldr	r2, .L8+72
	str	r3, [r2]
	ldr	r3, .L8+72
	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+56
	ldr	r2, .L8+68
	ldr	r1, .L8+76
	ldr	r0, [fp, #-100]
	bl	sprintf
	ldr	r3, .L8+72
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L3
	ldr	r2, [fp, #-100]
	ldr	r1, .L8+24
	ldr	r0, .L8+80
	bl	sprintf
	ldr	r1, .L8+84
	ldr	r0, .L8+80
	bl	crea_mkdir
	ldr	r3, .L8+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+88
	bl	printf
	ldr	r1, .L8+36
	ldr	r0, .L8+92
	bl	printf
	ldr	r1, .L8+44
	ldr	r0, .L8+96
	bl	printf
	ldr	r1, .L8+48
	ldr	r0, .L8+100
	bl	printf
	ldr	r1, .L8+52
	ldr	r0, .L8+104
	bl	printf
	ldr	r1, .L8+56
	ldr	r0, .L8+108
	bl	printf
	ldr	r1, .L8+60
	ldr	r0, .L8+112
	bl	printf
	ldr	r1, .L8+64
	ldr	r0, .L8+116
	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+72
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+120
	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	.LC17
	.word	name_incfg
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	tipmodo
	.word	.LC5
	.word	diruaer
	.word	.LC6
	.word	diruaec
	.word	dirvarr
	.word	dirvarc
	.word	dirout
	.word	inues
	.word	invgr
	.word	dirhom
	.word	txtsize
	.word	.LC7
	.word	dir_out
	.word	511
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC8
	.size	read_cfg, .-read_cfg
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\012***Lectura archivo UAEs, %s***\012\000"
	.align	2
.LC19:
	.ascii	"%i %i %i %i %i %s %s\012\000"
	.align	2
.LC20:
	.ascii	"%i %i %i %i %i %i %s %s\000"
	.align	2
.LC21:
	.ascii	"Atencion error de lectura en unidades espaciales\000"
	.align	2
.LC22:
	.ascii	"Numero total de ues = %i\012\000"
	.align	2
.LC23:
	.ascii	"Numero total de ues a procesar = %i\012\000"
	.align	2
.LC24:
	.ascii	"end read file\000"
	.align	2
.LC25:
	.ascii	"Atencion: No se han activado UAEs, revise configura"
	.ascii	"cion\000"
	.align	2
.LC26:
	.ascii	"Ponga el valor de la primera columna en 1 para las "
	.ascii	"que quiera procesar\000"
	.align	2
.LC27:
	.ascii	"---------------------------------\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_ueinfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_ueinfile, %function
read_ueinfile:
	@ args = 0, pretend = 0, frame = 496
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #520
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-472]
	ldr	r1, .L19+4
	ldr	r0, .L19+8
	bl	printf
	ldr	r1, .L19+12
	ldr	r0, .L19+4
	bl	fopen
	str	r0, [fp, #-468]
	ldr	r3, [fp, #-468]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L19+16
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	mov	r0, #0
	bl	exit
.L11:
	sub	r3, fp, #264
	ldr	r2, [fp, #-468]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #264
	mov	r0, r3
	bl	puts
	b	.L12
.L14:
	ldr	r1, [fp, #-480]
	ldr	r0, .L19+24
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-496]
	ldr	r0, .L19+24
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r1, [fp, #-492]
	ldr	r0, .L19+24
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r1, [fp, #-488]
	ldr	r0, .L19+24
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #12
	str	r1, [r3]
	ldr	r1, [fp, #-484]
	ldr	r0, .L19+24
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r1, [fp, #-476]
	ldr	r0, .L19+24
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #20
	str	r1, [r3]
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L19+24
	add	r3, r3, r2
	sub	r2, fp, #464
	ldr	r1, .L19+28
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #120
	ldr	r2, .L19+24
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #364
	ldr	r1, .L19+28
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-480]
	ldr	ip, [fp, #-496]
	ldr	lr, [fp, #-492]
	ldr	r3, [fp, #-488]
	ldr	r2, [fp, #-484]
	sub	r1, fp, #364
	str	r1, [sp, #12]
	sub	r1, fp, #464
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L19+32
	bl	printf
	ldr	r3, [fp, #-480]
	cmp	r3, #1
	bne	.L13
	ldr	r3, .L19+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19+36
	str	r3, [r2]
.L13:
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L12:
	sub	r1, fp, #496
	sub	r2, fp, #480
	sub	r3, fp, #364
	str	r3, [sp, #20]
	sub	r3, fp, #464
	str	r3, [sp, #16]
	sub	r3, fp, #476
	str	r3, [sp, #12]
	sub	r3, fp, #484
	str	r3, [sp, #8]
	sub	r3, fp, #488
	str	r3, [sp, #4]
	sub	r3, fp, #492
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L19+40
	ldr	r0, [fp, #-468]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #8
	beq	.L14
	ldr	r3, [fp, #-472]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L19+44
	bl	puts
	mov	r0, #0
	bl	exit
.L15:
	ldr	r2, .L19+48
	ldr	r3, [fp, #-472]
	str	r3, [r2]
	ldr	r0, [fp, #-468]
	bl	fclose
	ldr	r1, [fp, #-472]
	ldr	r0, .L19+52
	bl	printf
	ldr	r3, .L19+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+56
	bl	printf
	ldr	r0, .L19+60
	bl	puts
	ldr	r3, .L19+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L19+64
	bl	puts
	ldr	r0, .L19+68
	bl	puts
	mov	r0, #0
	bl	exit
.L16:
	ldr	r0, .L19+72
	bl	puts
	mov	r3, #1
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC28
	.word	name_uaefile
	.word	.LC18
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	uefiles
	.word	.LC4
	.word	.LC19
	.word	hayuae
	.word	.LC20
	.word	.LC21
	.word	n_uaefile
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	read_ueinfile, .-read_ueinfile
	.section	.rodata
	.align	2
.LC29:
	.ascii	"\012***Lectura archivo unidades espaciales-generado"
	.ascii	"r, %s***\012\000"
	.global	__aeabi_f2d
	.align	2
.LC30:
	.ascii	"%i %i %i %lf %lf %f %f %s\012\000"
	.align	2
.LC31:
	.ascii	"%i %i %i %lf %lf %f %f %s\000"
	.align	2
.LC32:
	.ascii	"Numero total de ues-gen = %i\012\000"
	.align	2
.LC33:
	.ascii	"Numero total de ues-gen a procesar = %i\012\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_uaefilegen
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_uaefilegen, %function
read_uaefilegen:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #460
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-420]
	ldr	r1, .L29+4
	ldr	r0, .L29+8
	bl	printf
	ldr	r1, .L29+12
	ldr	r0, .L29+4
	bl	fopen
	str	r0, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L29+16
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	mov	r0, #0
	bl	exit
.L22:
	sub	r3, fp, #296
	ldr	r2, [fp, #-416]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #296
	mov	r0, r3
	bl	puts
	b	.L23
.L25:
	ldr	r1, [fp, #-440]
	ldr	r0, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-436]
	ldr	r0, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r1, [fp, #-432]
	ldr	r0, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #20
	str	r1, [r3]
	sub	r1, fp, #412
	ldmia	r1, {r0-r1}
	ldr	ip, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #224
	stm	r3, {r0-r1}
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	ldr	ip, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #232
	stm	r3, {r0-r1}
	ldr	r1, [fp, #-428]	@ float
	ldr	r0, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #240
	str	r1, [r3]	@ float
	ldr	r1, [fp, #-424]	@ float
	ldr	r0, .L29+24
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #244
	str	r1, [r3]	@ float
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L29+24
	add	r3, r3, r2
	sub	r2, fp, #396
	ldr	r1, .L29+28
	mov	r0, r3
	bl	sprintf
	ldr	r10, [fp, #-440]
	ldr	r3, [fp, #-436]
	str	r3, [fp, #-448]
	ldr	r1, [fp, #-432]
	str	r1, [fp, #-452]
	sub	r5, fp, #412
	ldmia	r5, {r4-r5}
	sub	r7, fp, #404
	ldmia	r7, {r6-r7}
	ldr	r3, [fp, #-428]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r3, [fp, #-424]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #396
	str	r1, [sp, #32]
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	ldr	r3, [fp, #-452]
	ldr	r2, [fp, #-448]
	mov	r1, r10
	ldr	r0, .L29+32
	bl	printf
	ldr	r3, [fp, #-440]
	cmp	r3, #1
	bne	.L24
	ldr	r3, .L29+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L29+36
	str	r3, [r2]
.L24:
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L23:
	sub	r1, fp, #436
	sub	r2, fp, #440
	sub	r3, fp, #396
	str	r3, [sp, #20]
	sub	r3, fp, #424
	str	r3, [sp, #16]
	sub	r3, fp, #428
	str	r3, [sp, #12]
	sub	r3, fp, #404
	str	r3, [sp, #8]
	sub	r3, fp, #412
	str	r3, [sp, #4]
	sub	r3, fp, #432
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L29+40
	ldr	r0, [fp, #-416]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #8
	beq	.L25
	ldr	r2, .L29+44
	ldr	r3, [fp, #-420]
	str	r3, [r2]
	ldr	r0, [fp, #-416]
	bl	fclose
	ldr	r3, .L29+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+48
	bl	printf
	ldr	r3, .L29+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+52
	bl	printf
	ldr	r0, .L29+56
	bl	puts
	ldr	r3, .L29+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L29+60
	bl	puts
	ldr	r0, .L29+64
	bl	puts
	mov	r0, #0
	bl	exit
.L26:
	ldr	r0, .L29+68
	bl	puts
	mov	r3, #1
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC34
	.word	name_uaefile
	.word	.LC29
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	uefiles
	.word	.LC4
	.word	.LC30
	.word	hayuae
	.word	.LC31
	.word	n_uaefile
	.word	.LC32
	.word	.LC33
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	read_uaefilegen, .-read_uaefilegen
	.section	.rodata
	.align	2
.LC35:
	.ascii	"\012***Lectura archivo variables, %s***\012\000"
	.align	2
.LC36:
	.ascii	"%i %i %i %i %s %s %s\012\000"
	.align	2
.LC37:
	.ascii	"%i %i %i %i %i %s %s %s\000"
	.align	2
.LC38:
	.ascii	"Atencion error de lectura en variables grd\000"
	.align	2
.LC39:
	.ascii	"Numero total de variables grd = %i\012\000"
	.align	2
.LC40:
	.ascii	"Numero total de variables grd a procesar = %i\012\000"
	.align	2
.LC41:
	.ascii	"Atencion: No se han activado variables vectoriales,"
	.ascii	" revise configuracion\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_vargrdfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_vargrdfile, %function
read_vargrdfile:
	@ args = 0, pretend = 0, frame = 592
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #616
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-572]
	ldr	r1, .L40+4
	ldr	r0, .L40+8
	bl	printf
	ldr	r1, .L40+12
	ldr	r0, .L40+4
	bl	fopen
	str	r0, [fp, #-568]
	ldr	r3, [fp, #-568]
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L40+16
	bl	puts
	ldr	r0, .L40+20
	bl	puts
	ldr	r0, .L40+20
	bl	puts
	ldr	r0, .L40+20
	bl	puts
	ldr	r0, .L40+20
	bl	puts
	ldr	r0, .L40+20
	bl	puts
	mov	r0, #0
	bl	exit
.L32:
	sub	r3, fp, #264
	ldr	r2, [fp, #-568]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	b	.L33
.L35:
	ldr	r1, [fp, #-576]
	ldr	r0, .L40+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, .L40+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, .L40+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, .L40+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, .L40+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, .L40+24
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #564
	ldr	r1, .L40+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, .L40+24
	add	r3, r3, r2
	add	r3, r3, #2
	sub	r2, fp, #464
	ldr	r1, .L40+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, .L40+24
	add	r3, r3, r2
	sub	r2, fp, #364
	ldr	r1, .L40+28
	mov	r0, r3
	bl	sprintf
	ldr	r1, [fp, #-576]
	ldr	r0, [fp, #-592]
	ldr	ip, [fp, #-588]
	ldr	r3, [fp, #-584]
	sub	r2, fp, #364
	str	r2, [sp, #12]
	sub	r2, fp, #464
	str	r2, [sp, #8]
	sub	r2, fp, #564
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L40+32
	bl	printf
	ldr	r3, [fp, #-576]
	cmp	r3, #1
	bne	.L34
	ldr	r3, .L40+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L40+36
	str	r3, [r2]
.L34:
	ldr	r3, [fp, #-572]
	add	r3, r3, #1
	str	r3, [fp, #-572]
.L33:
	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, .L40+40
	ldr	r0, [fp, #-568]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #8
	beq	.L35
	ldr	r3, [fp, #-572]
	cmp	r3, #0
	bne	.L36
	ldr	r0, .L40+44
	bl	puts
	mov	r0, #0
	bl	exit
.L36:
	ldr	r2, .L40+48
	ldr	r3, [fp, #-572]
	str	r3, [r2]
	ldr	r0, [fp, #-568]
	bl	fclose
	ldr	r1, [fp, #-572]
	ldr	r0, .L40+52
	bl	printf
	ldr	r3, .L40+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+56
	bl	printf
	ldr	r0, .L40+60
	bl	puts
	ldr	r3, .L40+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L40+64
	bl	puts
	ldr	r0, .L40+68
	bl	puts
	mov	r0, #0
	bl	exit
.L37:
	ldr	r0, .L40+72
	bl	puts
	mov	r3, #1
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC42
	.word	name_varfile
	.word	.LC35
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	vargrd
	.word	.LC4
	.word	.LC36
	.word	hayvar
	.word	.LC37
	.word	.LC38
	.word	n_varfile
	.word	.LC39
	.word	.LC40
	.word	.LC24
	.word	.LC41
	.word	.LC26
	.word	.LC27
	.size	read_vargrdfile, .-read_vargrdfile
	.section	.rodata
	.align	2
.LC43:
	.ascii	"\012***Lectura archivo ue-csv, %s***\012\000"
	.align	2
.LC44:
	.ascii	"%i %s %lf %lf %lf %lf\000"
	.align	2
.LC45:
	.ascii	"Numero total de elementos en UAE = %i id max %i\012"
	.ascii	"\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_uecsv
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_uecsv, %function
read_uecsv:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #344
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-324]
	ldr	r3, .L48+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L48+8
	ldr	r0, .L48+12
	bl	printf
	ldr	r1, .L48+16
	ldr	r0, .L48+8
	bl	fopen
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	bne	.L43
	ldr	r0, .L48+20
	bl	puts
	ldr	r0, .L48+24
	bl	puts
	ldr	r0, .L48+24
	bl	puts
	ldr	r0, .L48+24
	bl	puts
	ldr	r0, .L48+24
	bl	puts
	ldr	r0, .L48+24
	bl	puts
	mov	r0, #0
	bl	exit
.L43:
	sub	r3, fp, #264
	ldr	r2, [fp, #-320]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	b	.L44
.L45:
	ldr	r1, .L48+28
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-324]
	str	r2, [r1, r3, lsl #6]
	ldr	r2, [fp, #-328]
	ldr	r1, .L48+28
	ldr	r3, [fp, #-324]
	lsl	r3, r3, #6
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, [fp, #-324]
	lsl	r3, r3, #6
	add	r3, r3, #8
	ldr	r2, .L48+28
	add	r3, r3, r2
	sub	r2, fp, #284
	ldr	r1, .L48+32
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #292
	ldmia	r3, {r2-r3}
	ldr	r0, .L48+28
	ldr	r1, [fp, #-324]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #32
	stm	r1, {r2-r3}
	sub	r3, fp, #300
	ldmia	r3, {r2-r3}
	ldr	r0, .L48+28
	ldr	r1, [fp, #-324]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #40
	stm	r1, {r2-r3}
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	ldr	r0, .L48+28
	ldr	r1, [fp, #-324]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #48
	stm	r1, {r2-r3}
	sub	r3, fp, #308
	ldmia	r3, {r2-r3}
	ldr	r0, .L48+28
	ldr	r1, [fp, #-324]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #56
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
.L44:
	sub	r1, fp, #284
	sub	r2, fp, #328
	sub	r3, fp, #308
	str	r3, [sp, #12]
	sub	r3, fp, #316
	str	r3, [sp, #8]
	sub	r3, fp, #300
	str	r3, [sp, #4]
	sub	r3, fp, #292
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L48+36
	ldr	r0, [fp, #-320]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #6
	beq	.L45
	ldr	r2, .L48+4
	ldr	r3, [fp, #-324]
	str	r3, [r2]
	ldr	r0, [fp, #-320]
	bl	fclose
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	ldr	r2, .L48+28
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-324]
	ldr	r0, .L48+40
	bl	printf
	ldr	r0, .L48+44
	bl	puts
	ldr	r0, .L48+48
	bl	puts
	mov	r3, #1
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC46
	.word	n_uaecsv
	.word	name_uescsv
	.word	.LC43
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stuaecsv
	.word	.LC4
	.word	.LC44
	.word	.LC45
	.word	.LC24
	.word	.LC27
	.size	read_uecsv, .-read_uecsv
	.section	.rodata
	.align	2
.LC47:
	.ascii	"\012***Lectura archivo UAE-grd, %s***\012\000"
	.align	2
.LC48:
	.ascii	"rb\000"
	.global	__aeabi_dsub
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC49:
	.ascii	"%lf\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmple
	.global	__aeabi_f2iz
	.global	__aeabi_dmul
	.align	2
.LC50:
	.ascii	"Cabecera archivo RASTER\000"
	.align	2
.LC51:
	.ascii	"RASTER tipo: %s\012\000"
	.align	2
.LC52:
	.ascii	"colx  = %5i -- rowy = %5i\012\000"
	.align	2
.LC53:
	.ascii	"xmin = %f -- ymin = %f\012\000"
	.align	2
.LC54:
	.ascii	"xmax = %f -- ymax = %f\012\000"
	.align	2
.LC55:
	.ascii	"zlo = %10.4f -- zhi = %10.4f\012\000"
	.align	2
.LC56:
	.ascii	"RASTER resolucion en x = %f\012\000"
	.align	2
.LC57:
	.ascii	"RASTER resolucion en y = %f\012\000"
	.align	2
.LC58:
	.ascii	"RASTER invresx = %f and invresy = %f\012\000"
	.align	2
.LC59:
	.ascii	"RASTER resx2 = %f and resy2 = %f\012\000"
	.align	2
.LC60:
	.ascii	"---------------------------------\000"
	.align	2
.LC61:
	.ascii	"Total celdas en RASTER = %i\012\000"
	.align	2
.LC62:
	.ascii	"Area de trabajo %lf\012\000"
	.align	2
.LC63:
	.ascii	"Total celdas en nulas en RASTER = %i\012\000"
	.align	2
.LC64:
	.ascii	"Area nula %lf\012\000"
	.align	2
.LC65:
	.ascii	"Final de lectura de RASTER\000"
	.align	2
.LC66:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_uegrd
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_uegrd, %function
read_uegrd:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #136
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L65+4
	ldr	r0, .L65+8
	bl	printf
	ldr	r1, .L65+12
	ldr	r0, .L65+4
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L51
	ldr	r0, .L65+16
	bl	puts
	ldr	r0, .L65+20
	bl	puts
	ldr	r0, .L65+20
	bl	puts
	ldr	r0, .L65+20
	bl	puts
	ldr	r0, .L65+20
	bl	puts
	ldr	r0, .L65+20
	bl	puts
	mov	r0, #0
	bl	exit
.L51:
	ldr	r1, .L65+24
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L65+28
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r0, fp, #24
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #116
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #92
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #48
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-20]
	ldrsh	r3, [fp, #-116]
	mov	r2, r3
	ldr	r3, .L65+32
	str	r2, [r3]
	ldrsh	r3, [fp, #-114]
	mov	r2, r3
	ldr	r3, .L65+36
	str	r2, [r3]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+40
	stm	r1, {r2-r3}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+44
	stm	r1, {r2-r3}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+48
	stm	r1, {r2-r3}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+52
	stm	r1, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+56
	stm	r1, {r2-r3}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+60
	stm	r1, {r2-r3}
	ldr	r3, .L65+44
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L65+32
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L65+24
	stm	r1, {r2-r3}
	ldr	r3, .L65+52
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L65+36
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L65+28
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L52
.L53:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	ldr	r0, .L65+64
	bl	printf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L52:
	ldr	r3, [fp, #-132]
	cmp	r3, #7
	ble	.L53
	ldr	r3, .L65+32
	ldr	r3, [r3]
	ldr	r2, .L65+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	Make2IntegerArray
	mov	r3, r0
	ldr	r2, .L65+68
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L54
.L61:
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L55
.L60:
	sub	r0, fp, #108
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r4, [fp, #-108]	@ float
	ldr	r3, .L65+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	ldr	r4, [fp, #-108]	@ float
	ldr	r3, .L65+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
.L56:
	ldr	r3, .L65+80
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-108]	@ float
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
	b	.L59
.L64:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L59:
	ldr	r1, [fp, #-108]	@ float
	ldr	r3, .L65+68
	ldr	r2, [r3]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L55:
	ldr	r3, .L65+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-136]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L54:
	ldr	r3, .L65+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L61
	ldr	r0, [fp, #-120]
	bl	fclose
	ldr	r3, .L65+24
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L65+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L65+88
	stm	r1, {r2-r3}
	ldr	r3, .L65+28
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L65+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L65+92
	stm	r1, {r2-r3}
	ldr	r3, .L65+24
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L65+96
	stm	r1, {r2-r3}
	ldr	r3, .L65+28
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L65+100
	stm	r1, {r2-r3}
	ldr	r3, .L65+32
	ldr	r3, [r3]
	ldr	r2, .L65+36
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L65+104
	str	r3, [r2]
	ldr	r0, .L65+108
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L65+112
	bl	printf
	ldr	r3, .L65+32
	ldr	r3, [r3]
	ldr	r2, .L65+36
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L65+116
	bl	printf
	ldr	r3, .L65+40
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+48
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+120
	bl	printf
	ldr	r3, .L65+44
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+124
	bl	printf
	ldr	r3, .L65+56
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+128
	bl	printf
	ldr	r3, .L65+24
	ldmia	r3, {r2-r3}
	ldr	r0, .L65+132
	bl	printf
	ldr	r3, .L65+28
	ldmia	r3, {r2-r3}
	ldr	r0, .L65+136
	bl	printf
	ldr	r3, .L65+88
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+92
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+140
	bl	printf
	ldr	r3, .L65+96
	ldmia	r3, {r0-r1}
	ldr	r3, .L65+100
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+144
	bl	printf
	ldr	r0, .L65+148
	bl	puts
	ldr	r3, .L65+104
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L65+152
	bl	printf
	ldr	r0, [fp, #-124]
	bl	__aeabi_i2d
	ldr	r3, .L65+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L65+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+156
	bl	printf
	ldr	r1, [fp, #-128]
	ldr	r0, .L65+160
	bl	printf
	ldr	r0, [fp, #-128]
	bl	__aeabi_i2d
	ldr	r3, .L65+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L65+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L65+164
	bl	printf
	ldr	r0, .L65+168
	bl	puts
	ldr	r0, .L65+172
	bl	puts
	mov	r3, #1
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC66
	.word	name_uaegrd
	.word	.LC47
	.word	.LC48
	.word	.LC2
	.word	.LC3
	.word	resx
	.word	resy
	.word	nx
	.word	ny
	.word	xlo
	.word	xhi
	.word	ylo
	.word	yhi
	.word	zlo
	.word	zhi
	.word	.LC49
	.word	rast_uae
	.word	demmax
	.word	demmin
	.word	nullval
	.word	1072693248
	.word	invresx
	.word	invresy
	.word	resxx
	.word	resyy
	.word	totdemcel
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC27
	.size	read_uegrd, .-read_uegrd
	.section	.rodata
	.align	2
.LC67:
	.ascii	"Genera raster a partir de punto\000"
	.global	__aeabi_dadd
	.global	__aeabi_fadd
	.global	__aeabi_d2iz
	.align	2
.LC68:
	.ascii	"Num total celdas %i\012\000"
	.align	2
.LC69:
	.ascii	"DEM resolution in resx = %f\012\000"
	.align	2
.LC70:
	.ascii	"DEM resolution in resy = %f\012\000"
	.align	2
.LC71:
	.ascii	"Atencion, raster ocupa demasiada memoria\000"
	.align	2
.LC72:
	.ascii	"Por seguridad no deberia superar %i celdas\012\000"
	.align	2
.LC73:
	.ascii	"Reduzca la resolucion o el radio de busqueda y repi"
	.ascii	"ta\000"
	.text
	.align	2
	.global	crea_uae
	.syntax unified
	.arm
	.fpu softvfp
	.type	crea_uae, %function
crea_uae:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r0, .L74
	bl	puts
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #224
	ldmia	r3, {r4-r5}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L74+8
	stm	r1, {r2-r3}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #232
	ldmia	r3, {r4-r5}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L74+12
	stm	r1, {r2-r3}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #224
	ldmia	r3, {r4-r5}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L74+16
	stm	r1, {r2-r3}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #232
	ldmia	r3, {r4-r5}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L74+20
	stm	r1, {r2-r3}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #244
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L74+24
	stm	r1, {r2-r3}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #244
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L74+28
	stm	r1, {r2-r3}
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r3, .L74+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L74+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L74+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L74+32
	str	r3, [r2]
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r3, .L74+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L74+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L74+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L74+36
	str	r3, [r2]
	ldr	r3, .L74+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L74+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L74+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L74+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L74+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L74+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L74+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L74+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L74+32
	ldr	r3, [r3]
	ldr	r2, .L74+36
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L74+40
	bl	printf
	ldr	r3, .L74+32
	ldr	r3, [r3]
	ldr	r2, .L74+36
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L74+44
	bl	printf
	ldr	r3, .L74+8
	ldmia	r3, {r0-r1}
	ldr	r3, .L74+12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L74+48
	bl	printf
	ldr	r3, .L74+16
	ldmia	r3, {r0-r1}
	ldr	r3, .L74+20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L74+52
	bl	printf
	ldr	r3, .L74+24
	ldmia	r3, {r2-r3}
	ldr	r0, .L74+56
	bl	printf
	ldr	r3, .L74+28
	ldmia	r3, {r2-r3}
	ldr	r0, .L74+60
	bl	printf
	ldr	r3, .L74+64
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L74+64
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r1, .L74+64
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #32]
	str	r3, [r1, #36]
	ldr	r1, .L74+64
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #224
	ldmia	r3, {r2-r3}
	ldr	r1, .L74+64
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r1, .L74+4
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #232
	ldmia	r3, {r2-r3}
	ldr	r1, .L74+64
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	ldr	r3, .L74+32
	ldr	r3, [r3]
	ldr	r2, .L74+68
	cmp	r3, r2
	ble	.L68
	ldr	r0, .L74+72
	bl	puts
	ldr	r3, .L74+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+76
	bl	printf
	ldr	r0, .L74+80
	bl	puts
	mov	r0, #0
	bl	exit
.L68:
	ldr	r3, .L74+32
	ldr	r3, [r3]
	ldr	r2, .L74+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	Make2IntegerArray
	mov	r3, r0
	ldr	r2, .L74+84
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L69
.L72:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L70
.L71:
	ldr	r3, .L74+84
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L70:
	ldr	r3, .L74+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L71
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L69:
	ldr	r3, .L74+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L72
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC67
	.word	uefiles
	.word	xlo
	.word	ylo
	.word	xhi
	.word	yhi
	.word	resx
	.word	resy
	.word	nx
	.word	ny
	.word	.LC52
	.word	.LC68
	.word	.LC53
	.word	.LC54
	.word	.LC69
	.word	.LC70
	.word	stuaecsv
	.word	22000
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	rast_uae
	.size	crea_uae, .-crea_uae
	.section	.rodata
	.align	2
.LC74:
	.ascii	"\012***Lectura archivo capa raster-grd, %s***\012\000"
	.align	2
.LC75:
	.ascii	"Cabecera archivo RASTER-2\000"
	.align	2
.LC76:
	.ascii	"RASTER-2 resolucion en x = %f\012\000"
	.align	2
.LC77:
	.ascii	"RASTER-2 resolucion en y = %f\012\000"
	.align	2
.LC78:
	.ascii	"RASTER-2 invresx = %f and invresy = %f\012\000"
	.align	2
.LC79:
	.ascii	"RASTER-2 resx2 = %f and resy2 = %f\012\000"
	.align	2
.LC80:
	.ascii	"Total celdas en RASTER-2 = %i\012\000"
	.align	2
.LC81:
	.ascii	"Final de lectura de RASTER-2\000"
	.align	2
.LC82:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_vargrd
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_vargrd, %function
read_vargrd:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #136
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L91+4
	ldr	r0, .L91+8
	bl	printf
	ldr	r1, .L91+12
	ldr	r0, .L91+4
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L77
	ldr	r0, .L91+16
	bl	puts
	ldr	r0, .L91+20
	bl	puts
	ldr	r0, .L91+20
	bl	puts
	ldr	r0, .L91+20
	bl	puts
	ldr	r0, .L91+20
	bl	puts
	ldr	r0, .L91+20
	bl	puts
	mov	r0, #0
	bl	exit
.L77:
	ldr	r1, .L91+24
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L91+28
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r0, fp, #24
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #116
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #92
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #48
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-20]
	ldrsh	r3, [fp, #-116]
	mov	r2, r3
	ldr	r3, .L91+32
	str	r2, [r3]
	ldrsh	r3, [fp, #-114]
	mov	r2, r3
	ldr	r3, .L91+36
	str	r2, [r3]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r1, .L91+40
	stm	r1, {r2-r3}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r1, .L91+44
	stm	r1, {r2-r3}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r1, .L91+48
	stm	r1, {r2-r3}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r1, .L91+52
	stm	r1, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r1, .L91+56
	stm	r1, {r2-r3}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r1, .L91+60
	stm	r1, {r2-r3}
	ldr	r3, .L91+44
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L91+32
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L91+24
	stm	r1, {r2-r3}
	ldr	r3, .L91+52
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L91+36
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L91+28
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L78
.L79:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	ldr	r0, .L91+64
	bl	printf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L78:
	ldr	r3, [fp, #-132]
	cmp	r3, #5
	ble	.L79
	ldr	r3, .L91+32
	ldr	r3, [r3]
	ldr	r2, .L91+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	Make2IntegerArray
	mov	r3, r0
	ldr	r2, .L91+68
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L80
.L87:
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L81
.L86:
	sub	r0, fp, #108
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r4, [fp, #-108]	@ float
	ldr	r3, .L91+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	ldr	r4, [fp, #-108]	@ float
	ldr	r3, .L91+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
.L82:
	ldr	r3, .L91+80
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-108]	@ float
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
	b	.L85
.L90:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L85:
	ldr	r1, [fp, #-108]	@ float
	ldr	r3, .L91+68
	ldr	r2, [r3]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L81:
	ldr	r3, .L91+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-136]
	cmp	r2, r3
	blt	.L86
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L80:
	ldr	r3, .L91+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L87
	ldr	r0, [fp, #-120]
	bl	fclose
	ldr	r3, .L91+24
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L91+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L91+88
	stm	r1, {r2-r3}
	ldr	r3, .L91+28
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L91+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L91+92
	stm	r1, {r2-r3}
	ldr	r3, .L91+24
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L91+96
	stm	r1, {r2-r3}
	ldr	r3, .L91+28
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L91+100
	stm	r1, {r2-r3}
	ldr	r3, .L91+32
	ldr	r3, [r3]
	ldr	r2, .L91+36
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L91+104
	str	r3, [r2]
	ldr	r0, .L91+108
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L91+112
	bl	printf
	ldr	r3, .L91+32
	ldr	r3, [r3]
	ldr	r2, .L91+36
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L91+116
	bl	printf
	ldr	r3, .L91+40
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+48
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+120
	bl	printf
	ldr	r3, .L91+44
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+124
	bl	printf
	ldr	r3, .L91+56
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+128
	bl	printf
	ldr	r3, .L91+24
	ldmia	r3, {r2-r3}
	ldr	r0, .L91+132
	bl	printf
	ldr	r3, .L91+28
	ldmia	r3, {r2-r3}
	ldr	r0, .L91+136
	bl	printf
	ldr	r3, .L91+88
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+92
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+140
	bl	printf
	ldr	r3, .L91+96
	ldmia	r3, {r0-r1}
	ldr	r3, .L91+100
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+144
	bl	printf
	ldr	r0, .L91+148
	bl	puts
	ldr	r3, .L91+104
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L91+152
	bl	printf
	ldr	r0, [fp, #-124]
	bl	__aeabi_i2d
	ldr	r3, .L91+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L91+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+156
	bl	printf
	ldr	r1, [fp, #-128]
	ldr	r0, .L91+160
	bl	printf
	ldr	r0, [fp, #-128]
	bl	__aeabi_i2d
	ldr	r3, .L91+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L91+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L91+164
	bl	printf
	ldr	r0, .L91+168
	bl	puts
	ldr	r0, .L91+172
	bl	puts
	mov	r3, #1
	ldr	r2, .L91
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L89
	bl	__stack_chk_fail
.L89:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC82
	.word	name_vargrd
	.word	.LC74
	.word	.LC48
	.word	.LC2
	.word	.LC3
	.word	res2x
	.word	res2y
	.word	nx2
	.word	ny2
	.word	xlo2
	.word	xhi2
	.word	ylo2
	.word	yhi2
	.word	zlo2
	.word	zhi2
	.word	.LC49
	.word	rast_var
	.word	demmax2
	.word	demmin2
	.word	nullval2
	.word	1072693248
	.word	invresx2
	.word	invresy2
	.word	res2xx
	.word	res2yy
	.word	totdemcel
	.word	.LC75
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC60
	.word	.LC80
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC81
	.word	.LC27
	.size	read_vargrd, .-read_vargrd
	.section	.rodata
	.align	2
.LC83:
	.ascii	"\012***Lectura archivo categorias raster, %s***\012"
	.ascii	"\000"
	.align	2
.LC84:
	.ascii	"%i %i :: %s - %s\012\000"
	.align	2
.LC85:
	.ascii	"%i %i %s %s\000"
	.align	2
.LC86:
	.ascii	"Numero total de categorias = %i\012\000"
	.align	2
.LC87:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_varcate
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_varcate, %function
read_varcate:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #440
	ldr	r3, .L100
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-424]
	ldr	r3, .L100+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L100+8
	ldr	r0, .L100+12
	bl	printf
	ldr	r1, .L100+16
	ldr	r0, .L100+8
	bl	fopen
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bne	.L94
	ldr	r0, .L100+20
	bl	puts
	ldr	r0, .L100+24
	bl	puts
	ldr	r0, .L100+24
	bl	puts
	ldr	r0, .L100+24
	bl	puts
	ldr	r0, .L100+24
	bl	puts
	ldr	r0, .L100+24
	bl	puts
	mov	r0, #0
	bl	exit
.L94:
	sub	r3, fp, #264
	ldr	r2, [fp, #-420]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	b	.L95
.L97:
	ldr	r1, [fp, #-432]
	ldr	r0, .L100+28
	ldr	r2, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-428]
	ldr	r0, .L100+28
	ldr	r2, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r2, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L100+28
	add	r3, r3, r2
	sub	r2, fp, #416
	ldr	r1, .L100+32
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #56
	ldr	r2, .L100+28
	add	r3, r3, r2
	add	r3, r3, #2
	sub	r2, fp, #364
	ldr	r1, .L100+32
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-424]
	cmp	r3, #19
	bgt	.L96
	ldr	r1, [fp, #-432]
	ldr	r2, [fp, #-428]
	sub	r0, fp, #416
	sub	r3, fp, #364
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L100+36
	bl	printf
.L96:
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L95:
	sub	r1, fp, #428
	sub	r2, fp, #432
	sub	r3, fp, #364
	str	r3, [sp, #4]
	sub	r3, fp, #416
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L100+40
	ldr	r0, [fp, #-420]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #4
	beq	.L97
	ldr	r2, .L100+4
	ldr	r3, [fp, #-424]
	str	r3, [r2]
	ldr	r0, [fp, #-420]
	bl	fclose
	ldr	r1, [fp, #-424]
	ldr	r0, .L100+44
	bl	printf
	ldr	r0, .L100+48
	bl	puts
	ldr	r0, .L100+52
	bl	puts
	mov	r3, #1
	ldr	r2, .L100
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L99
	bl	__stack_chk_fail
.L99:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	.LC87
	.word	n_vcate
	.word	name_varcat
	.word	.LC83
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	categoria
	.word	.LC4
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC24
	.word	.LC27
	.size	read_varcate, .-read_varcate
	.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
.LC88:
	.ascii	"error 2\000"
	.text
	.align	2
	.global	Make2DDoubleArray
	.syntax unified
	.arm
	.fpu softvfp
	.type	Make2DDoubleArray, %function
Make2DDoubleArray:
	@ 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	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L109
.L111:
	ldr	r3, [fp, #-28]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L110
	ldr	r0, .L113
	bl	puts
.L110:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L109:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L111
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC88
	.size	Make2DDoubleArray, .-Make2DDoubleArray
	.align	2
	.global	Make2IntegerArray
	.syntax unified
	.arm
	.fpu softvfp
	.type	Make2IntegerArray, %function
Make2IntegerArray:
	@ 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	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L116
.L118:
	ldr	r3, [fp, #-28]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L117
	ldr	r0, .L120
	bl	puts
.L117:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L116:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L118
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC88
	.size	Make2IntegerArray, .-Make2IntegerArray
	.global	__aeabi_dcmpgt
	.align	2
	.global	calc_vecindex
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_vecindex, %function
calc_vecindex:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #4]
	cmp	r3, #1
	bne	.L123
	ldr	r3, .L136
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L136+4
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L136+8
	str	r3, [r2]
	ldr	r3, .L136+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L136+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L136
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L136+4
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L124
	ldr	r3, .L136+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L136+8
	str	r3, [r2]
.L124:
	ldr	r3, .L136+12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L136+16
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L136+20
	str	r3, [r2]
	ldr	r3, .L136+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L136+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L136+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L136+16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L123
	ldr	r3, .L136+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L136+20
	str	r3, [r2]
.L123:
	ldr	r3, [fp, #4]
	cmp	r3, #2
	bne	.L135
	ldr	r3, .L136+24
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L136+28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L136+8
	str	r3, [r2]
	ldr	r3, .L136+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L136+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L136+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L136+28
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L128
	ldr	r3, .L136+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L136+8
	str	r3, [r2]
.L128:
	ldr	r3, .L136+32
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L136+36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L136+20
	str	r3, [r2]
	ldr	r3, .L136+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L136+36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L136+32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L136+36
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L134
	b	.L135
.L134:
	ldr	r3, .L136+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L136+20
	str	r3, [r2]
.L135:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L137:
	.align	2
.L136:
	.word	xlo
	.word	resx
	.word	vcol
	.word	ylo
	.word	resy
	.word	vrow
	.word	xlo2
	.word	res2x
	.word	ylo2
	.word	res2y
	.size	calc_vecindex, .-calc_vecindex
	.align	2
	.global	get_coor
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_coor, %function
get_coor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, .L142
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L142+4
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L139
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	ldr	r3, .L142+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L142+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L142
	stm	r1, {r2-r3}
	ldr	r0, [fp, #-12]
	bl	__aeabi_i2d
	ldr	r3, .L142+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L142+20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L142+4
	stm	r1, {r2-r3}
.L139:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L141
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	ldr	r3, .L142+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L142+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L142
	stm	r1, {r2-r3}
	ldr	r0, [fp, #-12]
	bl	__aeabi_i2d
	ldr	r3, .L142+32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L142+36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L142+4
	stm	r1, {r2-r3}
.L141:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L143:
	.align	2
.L142:
	.word	globx
	.word	globy
	.word	resx
	.word	xlo
	.word	resy
	.word	ylo
	.word	res2x
	.word	xlo2
	.word	res2y
	.word	ylo2
	.size	get_coor, .-get_coor
	.section	.rodata
	.align	2
.LC89:
	.ascii	"Current Time : %s\012\000"
	.align	2
.LC90:
	.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, .L147
	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, .L147+4
	bl	printf
	mov	r3, #1
	ldr	r2, .L147
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L146
	bl	__stack_chk_fail
.L146:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L148:
	.align	2
.L147:
	.word	.LC90
	.word	.LC89
	.size	getime, .-getime
	.section	.rodata
	.align	2
.LC91:
	.ascii	"Directorio de categorias creado\000"
	.align	2
.LC92:
	.ascii	"Atencion: Directorio de categorias no creado\000"
	.align	2
.LC93:
	.ascii	"Porque el directorio Ya existe\000"
	.align	2
.LC94:
	.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	.L150
	ldr	r0, .L154
	bl	puts
.L150:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L153
	ldr	r0, .L154+4
	bl	puts
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L152
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #17
	bne	.L152
	ldr	r0, .L154+8
	bl	puts
.L152:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L153
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #17
	beq	.L153
	ldr	r1, [fp, #-8]
	ldr	r0, .L154+12
	bl	printf
	mov	r0, #0
	bl	exit
.L153:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L155:
	.align	2
.L154:
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.size	crea_mkdir, .-crea_mkdir
	.section	.rodata
	.align	2
.LC95:
	.ascii	"%s%s%s\000"
	.align	2
.LC96:
	.ascii	"Se ha excedido name_uescsv en %i\012\000"
	.align	2
.LC97:
	.ascii	"Se ha excedido name_uaegrd en %i\012\000"
	.align	2
.LC98:
	.ascii	"Calucla UE %i -- orden %i nul %i min %i max %i\012\012"
	.ascii	"\000"
	.global	__aeabi_fmul
	.align	2
.LC99:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	selec_uae
	.syntax unified
	.arm
	.fpu softvfp
	.type	selec_uae, %function
selec_uae:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	ldr	r3, .L166
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L166+4
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L157
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L166+12
	str	r3, [r2]
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L166+16
	str	r3, [r2]
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, .L166+20
	str	r3, [r2]
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, .L166+24
	str	r3, [r2]
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	ldr	r2, .L166+28
	str	r3, [r2]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #120
	ldr	r2, .L166+8
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L166+32
	ldr	r0, .L166+36
	bl	sprintf
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L166+8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L166+32
	ldr	r0, .L166+40
	bl	sprintf
	ldr	r2, .L166+40
	ldr	r1, .L166+44
	ldr	r0, .L166+48
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L166+52
	str	r3, [r2]
	ldr	r3, .L166+52
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	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, #-28]
	ldr	r3, .L166+40
	str	r3, [sp]
	ldr	r3, .L166+44
	ldr	r2, .L166+48
	ldr	r1, .L166+56
	ldr	r0, [fp, #-28]
	bl	sprintf
	ldr	r3, .L166+52
	ldr	r3, [r3]
	ldr	r2, .L166+60
	cmp	r3, r2
	bgt	.L158
	ldr	r2, [fp, #-28]
	ldr	r1, .L166+32
	ldr	r0, .L166+64
	bl	sprintf
	ldr	r2, .L166+36
	ldr	r1, .L166+68
	ldr	r0, .L166+48
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L166+52
	str	r3, [r2]
	ldr	r3, .L166+52
	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, .L166+36
	str	r3, [sp]
	ldr	r3, .L166+68
	ldr	r2, .L166+48
	ldr	r1, .L166+56
	ldr	r0, [fp, #-20]
	bl	sprintf
	ldr	r3, .L166+52
	ldr	r3, [r3]
	cmp	r3, #255
	bgt	.L160
	b	.L165
.L158:
	ldr	r3, .L166+52
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L166+72
	bl	printf
	mov	r0, #0
	bl	exit
.L165:
	ldr	r2, [fp, #-20]
	ldr	r1, .L166+32
	ldr	r0, .L166+76
	bl	sprintf
	ldr	r3, .L166+28
	ldr	r1, [r3]
	ldr	r3, .L166+12
	ldr	r0, [r3]
	ldr	r3, .L166+16
	ldr	r3, [r3]
	ldr	r2, .L166+20
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-40]
	ldr	r0, .L166+80
	bl	printf
	bl	read_uegrd
	bl	read_uecsv
	mov	sp, r4
	b	.L157
.L160:
	ldr	r3, .L166+52
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L166+84
	bl	printf
	mov	r0, #0
	bl	exit
.L157:
	ldr	r3, .L166+4
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L162
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L166+8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L166+32
	ldr	r0, .L166+40
	bl	sprintf
	ldr	r3, .L166+12
	ldr	r2, .L166+88
	str	r2, [r3]
	ldr	r2, .L166+92
	ldr	r3, [fp, #-40]
	mov	r1, #0
	str	r1, [r2, r3, lsl #6]
	ldr	r2, .L166+92
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #6
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #6
	add	r3, r3, #8
	ldr	r2, .L166+92
	add	r0, r3, r2
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L166+8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L166+32
	bl	sprintf
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L166+92
	ldr	r1, [fp, #-40]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #32
	stm	r1, {r2-r3}
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #240
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L166+92
	ldr	r1, [fp, #-40]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #40
	stm	r1, {r2-r3}
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #224
	ldmia	r3, {r2-r3}
	ldr	r0, .L166+92
	ldr	r1, [fp, #-40]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #48
	stm	r1, {r2-r3}
	ldr	r1, .L166+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #232
	ldmia	r3, {r2-r3}
	ldr	r0, .L166+92
	ldr	r1, [fp, #-40]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #56
	stm	r1, {r2-r3}
	ldr	r3, .L166+96
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, [fp, #-40]
	bl	crea_uae
.L162:
	mov	r3, #1
	ldr	r2, .L166
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L167:
	.align	2
.L166:
	.word	.LC99
	.word	tipmodo
	.word	uefiles
	.word	nullval
	.word	demmin
	.word	demmax
	.word	usokm
	.word	orden
	.word	.LC4
	.word	namgrd
	.word	namcsv
	.word	diruaec
	.word	dirhom
	.word	txtsize
	.word	.LC95
	.word	509
	.word	name_uescsv
	.word	diruaer
	.word	.LC96
	.word	name_uaegrd
	.word	.LC98
	.word	.LC97
	.word	-9999
	.word	stuaecsv
	.word	n_uaecsv
	.size	selec_uae, .-selec_uae
	.section	.rodata
	.align	2
.LC100:
	.ascii	"RR_r-sis_r-usu_\000"
	.align	2
.LC101:
	.ascii	"RR_r-usu_r-usu_\000"
	.align	2
.LC102:
	.ascii	"RR_r-usu-gen_r-usu_\000"
	.align	2
.LC103:
	.ascii	"%s%s%s%i_%s\000"
	.align	2
.LC104:
	.ascii	"%s%s%s%i_%s.csv\000"
	.align	2
.LC105:
	.ascii	"Se ha excedido out_uaecsv en %i\012\000"
	.align	2
.LC106:
	.ascii	"%s%s%s%i_%s.grd\000"
	.align	2
.LC107:
	.ascii	"Se ha excedido out_uaegen en %i\012\000"
	.align	2
.LC108:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getnamout
	.syntax unified
	.arm
	.fpu softvfp
	.type	getnamout, %function
getnamout:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L181
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L181+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L169
	sub	r3, fp, #36
	ldr	r1, .L181+8
	mov	r0, r3
	bl	sprintf
.L169:
	ldr	r3, .L181+4
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L170
	sub	r3, fp, #36
	ldr	r1, .L181+12
	mov	r0, r3
	bl	sprintf
.L170:
	ldr	r3, .L181+4
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L171
	sub	r3, fp, #36
	ldr	r1, .L181+16
	mov	r0, r3
	bl	sprintf
.L171:
	sub	r2, fp, #36
	ldr	r3, .L181+20
	ldr	r1, .L181+24
	ldr	r0, .L181+28
	bl	calc_size4
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	ip, [fp, #-56]
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	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, #-48]
	ldr	r3, .L181+4
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L172
	ldr	r3, .L181+32
	ldr	r3, [r3]
	ldr	r2, .L181+20
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, .L181+24
	ldr	r2, .L181+28
	ldr	r1, .L181+36
	ldr	r0, [fp, #-48]
	bl	sprintf
.L172:
	ldr	r3, .L181+4
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L173
	ldr	r3, .L181+32
	ldr	r3, [r3]
	ldr	r2, .L181+20
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, .L181+24
	ldr	r2, .L181+28
	ldr	r1, .L181+40
	ldr	r0, [fp, #-48]
	bl	sprintf
.L173:
	ldr	r3, [fp, #-56]
	cmp	r3, #255
	bgt	.L174
	ldr	r2, [fp, #-48]
	ldr	r1, .L181+44
	ldr	r0, .L181+48
	bl	sprintf
	ldr	r3, .L181+4
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L176
	b	.L180
.L174:
	ldr	r1, [fp, #-56]
	ldr	r0, .L181+52
	bl	printf
	mov	r0, #0
	bl	exit
.L180:
	mov	r3, sp
	mov	r5, r3
	sub	r2, fp, #36
	ldr	r3, .L181+20
	ldr	r1, .L181+24
	ldr	r0, .L181+28
	bl	calc_size4
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	add	r3, r3, #10
	str	r3, [fp, #-56]
	ldr	ip, [fp, #-56]
	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, .L181+32
	ldr	r3, [r3]
	ldr	r2, .L181+20
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, .L181+24
	ldr	r2, .L181+28
	ldr	r1, .L181+56
	ldr	r0, [fp, #-40]
	bl	sprintf
	ldr	r3, [fp, #-56]
	cmp	r3, #255
	bgt	.L177
	ldr	r2, [fp, #-40]
	ldr	r1, .L181+44
	ldr	r0, .L181+60
	bl	sprintf
	mov	sp, r5
	b	.L176
.L177:
	ldr	r1, [fp, #-56]
	ldr	r0, .L181+64
	bl	printf
	mov	r0, #0
	bl	exit
.L176:
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L181
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L179
	bl	__stack_chk_fail
.L179:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L182:
	.align	2
.L181:
	.word	.LC108
	.word	tipmodo
	.word	.LC100
	.word	.LC101
	.word	.LC102
	.word	namcsv
	.word	dirout
	.word	dirhom
	.word	orden
	.word	.LC103
	.word	.LC104
	.word	.LC4
	.word	out_uaecsv
	.word	.LC105
	.word	.LC106
	.word	out_uaegen
	.word	.LC107
	.size	getnamout, .-getnamout
	.section	.rodata
	.align	2
.LC109:
	.ascii	"Se ha excedido name_varcat en %i\012\000"
	.align	2
.LC110:
	.ascii	"Se ha excedido name_vargrd en %i\012\000"
	.align	2
.LC111:
	.ascii	"Calucla UE %i en VAR-GRD %i %s -- nul %i min %i max"
	.ascii	" %i\012\012\000"
	.global	__aeabi_d2f
	.align	2
.LC112:
	.ascii	"***************************************************"
	.ascii	"\000"
	.align	2
.LC113:
	.ascii	"Crea matriz para variables de %i colum por %i filas"
	.ascii	"\012\000"
	.align	2
.LC114:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	selec_var
	.syntax unified
	.arm
	.fpu softvfp
	.type	selec_var, %function
selec_var:
	@ args = 0, pretend = 0, frame = 440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #460
	str	r0, [fp, #-448]
	str	r1, [fp, #-452]
	ldr	r3, .L195
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L195+4
	ldr	r2, [fp, #-448]
	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, .L195+8
	str	r3, [r2]
	ldr	r1, .L195+4
	ldr	r2, [fp, #-448]
	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, .L195+12
	str	r3, [r2]
	ldr	r1, .L195+4
	ldr	r2, [fp, #-448]
	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, .L195+16
	str	r3, [r2]
	ldr	r1, .L195+4
	ldr	r2, [fp, #-448]
	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, .L195+20
	str	r3, [r2]
	ldr	r2, [fp, #-448]
	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, .L195+4
	add	r3, r3, r2
	add	r2, r3, #4
	sub	r3, fp, #320
	ldr	r1, .L195+24
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-448]
	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, .L195+4
	add	r3, r3, r2
	add	r2, r3, #2
	sub	r3, fp, #168
	ldr	r1, .L195+24
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-448]
	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, .L195+4
	add	r2, r3, r2
	sub	r3, fp, #420
	ldr	r1, .L195+24
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #168
	mov	r2, r3
	ldr	r1, .L195+28
	ldr	r0, .L195+32
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L195+36
	str	r3, [r2]
	ldr	r3, .L195+36
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-436]
	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, #-432]
	sub	r3, fp, #168
	str	r3, [sp]
	ldr	r3, .L195+28
	ldr	r2, .L195+32
	ldr	r1, .L195+40
	ldr	r0, [fp, #-432]
	bl	sprintf
	ldr	r3, .L195+36
	ldr	r3, [r3]
	ldr	r2, .L195+44
	cmp	r3, r2
	bgt	.L184
	ldr	r2, [fp, #-432]
	ldr	r1, .L195+24
	ldr	r0, .L195+48
	bl	sprintf
	sub	r3, fp, #320
	mov	r2, r3
	ldr	r1, .L195+52
	ldr	r0, .L195+32
	bl	calc_size3
	mov	r3, r0
	ldr	r2, .L195+36
	str	r3, [r2]
	ldr	r3, .L195+36
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-428]
	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, #-424]
	sub	r3, fp, #320
	str	r3, [sp]
	ldr	r3, .L195+52
	ldr	r2, .L195+32
	ldr	r1, .L195+40
	ldr	r0, [fp, #-424]
	bl	sprintf
	ldr	r3, .L195+36
	ldr	r3, [r3]
	ldr	r2, .L195+44
	cmp	r3, r2
	bgt	.L186
	b	.L194
.L184:
	ldr	r3, .L195+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L195+56
	bl	printf
	mov	r0, #0
	bl	exit
.L194:
	ldr	r2, [fp, #-424]
	ldr	r1, .L195+24
	ldr	r0, .L195+60
	bl	sprintf
	ldr	r3, .L195+8
	ldr	r3, [r3]
	ldr	r2, .L195+12
	ldr	r2, [r2]
	ldr	r1, .L195+16
	ldr	r1, [r1]
	sub	r0, fp, #420
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r2, [fp, #-448]
	ldr	r1, [fp, #-452]
	ldr	r0, .L195+64
	bl	printf
	bl	read_vargrd
	bl	read_varcate
	ldr	r3, .L195+68
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r1, .L195+72
	ldr	r3, [fp, #-448]
	str	r2, [r1, r3, lsl #2]	@ float
	ldr	r3, .L195+76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r1, .L195+80
	ldr	r3, [fp, #-448]
	str	r2, [r1, r3, lsl #2]	@ float
	ldr	r0, .L195+84
	bl	puts
	ldr	r3, .L195+88
	ldr	r3, [r3]
	ldr	r2, .L195+92
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L195+96
	bl	printf
	ldr	r0, .L195+84
	bl	puts
	ldr	r3, .L195+88
	ldr	r3, [r3]
	ldr	r2, .L195+92
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	Make2IntegerArray
	mov	r3, r0
	ldr	r2, .L195+100
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-440]
	b	.L188
.L186:
	ldr	r3, .L195+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L195+104
	bl	printf
	mov	r0, #0
	bl	exit
.L191:
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L189
.L190:
	ldr	r3, .L195+100
	ldr	r2, [r3]
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L189:
	ldr	r3, .L195+88
	ldr	r3, [r3]
	ldr	r2, [fp, #-444]
	cmp	r2, r3
	blt	.L190
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
.L188:
	ldr	r3, .L195+92
	ldr	r3, [r3]
	ldr	r2, [fp, #-440]
	cmp	r2, r3
	blt	.L191
	mov	r3, #1
	mov	sp, r4
	ldr	r2, .L195
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L193
	bl	__stack_chk_fail
.L193:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L196:
	.align	2
.L195:
	.word	.LC114
	.word	vargrd
	.word	nullval2
	.word	demmin2
	.word	demmax2
	.word	vgorder
	.word	.LC4
	.word	dirvarc
	.word	dirhom
	.word	txtsize
	.word	.LC95
	.word	509
	.word	name_varcat
	.word	dirvarr
	.word	.LC109
	.word	name_vargrd
	.word	.LC111
	.word	res2x
	.word	vres2x
	.word	res2y
	.word	vres2y
	.word	.LC112
	.word	n_vcate
	.word	n_uaecsv
	.word	.LC113
	.word	varuser
	.word	.LC110
	.size	selec_var, .-selec_var
	.section	.rodata
	.align	2
.LC115:
	.ascii	"Atencion hay un problema en la categorias, revise e"
	.ascii	"l archivo\000"
	.align	2
.LC116:
	.ascii	"Tiene que adicionar campos, pasar de %i a %i\012\000"
	.align	2
.LC117:
	.ascii	"No se econtro la categoria %i en el archivo de cate"
	.ascii	"gorias\012\000"
	.align	2
.LC118:
	.ascii	"Atencion hay un problema en la uae, revise el archi"
	.ascii	"vo\000"
	.align	2
.LC119:
	.ascii	"Revisar numero de uaes en csv, hay %i y se busca la"
	.ascii	" %i\012\000"
	.align	2
.LC120:
	.ascii	"No se econtro la uae %i en el archivo de uae\012\000"
	.text
	.align	2
	.global	countdat
	.syntax unified
	.arm
	.fpu softvfp
	.type	countdat, %function
countdat:
	@ 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]
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L198
.L201:
	ldr	r1, .L216
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L199
	ldr	r1, .L216
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L200
.L199:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L198:
	ldr	r3, .L216+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L201
.L200:
	ldr	r3, .L216+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L202
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L203
.L202:
	ldr	r0, .L216+8
	bl	puts
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L204
	ldr	r3, .L216+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L216+12
	bl	printf
.L204:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L205
	ldr	r1, [fp, #-36]
	ldr	r0, .L216+16
	bl	printf
.L205:
	mov	r0, #0
	bl	exit
.L203:
	ldr	r3, .L216+20
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L206
	mvn	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L207
.L210:
	ldr	r2, .L216+24
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L208
	ldr	r2, .L216+24
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #6]
	str	r3, [fp, #-20]
	b	.L209
.L208:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L207:
	ldr	r3, .L216+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L210
.L209:
	ldr	r3, .L216+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L211
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L206
.L211:
	ldr	r0, .L216+32
	bl	puts
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L212
	ldr	r3, .L216+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L216+36
	bl	printf
.L212:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L213
	ldr	r1, [fp, #-32]
	ldr	r0, .L216+40
	bl	printf
.L213:
	mov	r0, #0
	bl	exit
.L206:
	ldr	r3, .L216+20
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L214
	mov	r3, #0
	str	r3, [fp, #-20]
.L214:
	ldr	r3, .L216+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L216+44
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L217:
	.align	2
.L216:
	.word	categoria
	.word	n_vcate
	.word	.LC115
	.word	.LC116
	.word	.LC117
	.word	tipmodo
	.word	stuaecsv
	.word	n_uaecsv
	.word	.LC118
	.word	.LC119
	.word	.LC120
	.word	varuser
	.size	countdat, .-countdat
	.section	.rodata
	.align	2
.LC121:
	.ascii	"Liberando variable UAE\000"
	.text
	.align	2
	.global	freeuaegrd
	.syntax unified
	.arm
	.fpu softvfp
	.type	freeuaegrd, %function
freeuaegrd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L222
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L219
.L220:
	ldr	r3, .L222+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L219:
	ldr	r3, .L222+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L220
	ldr	r3, .L222+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L222+4
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L223:
	.align	2
.L222:
	.word	.LC121
	.word	rast_uae
	.word	nx
	.size	freeuaegrd, .-freeuaegrd
	.section	.rodata
	.align	2
.LC122:
	.ascii	"Liberando variable raster\000"
	.text
	.align	2
	.global	freevargrd
	.syntax unified
	.arm
	.fpu softvfp
	.type	freevargrd, %function
freevargrd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L228
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L225
.L226:
	ldr	r3, .L228+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L225:
	ldr	r3, .L228+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L226
	ldr	r3, .L228+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L228+4
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L229:
	.align	2
.L228:
	.word	.LC122
	.word	rast_var
	.word	nx2
	.size	freevargrd, .-freevargrd
	.align	2
	.global	freeuaecsv
	.syntax unified
	.arm
	.fpu softvfp
	.type	freeuaecsv, %function
freeuaecsv:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L234
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L231
.L232:
	ldr	r3, .L234+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L231:
	ldr	r3, .L234+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L232
	ldr	r3, .L234+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L234+4
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L235:
	.align	2
.L234:
	.word	.LC121
	.word	varuser
	.word	nx
	.size	freeuaecsv, .-freeuaecsv
	.section	.rodata
	.align	2
.LC123:
	.ascii	"0\000"
	.text
	.align	2
	.global	inistrucue
	.syntax unified
	.arm
	.fpu softvfp
	.type	inistrucue, %function
inistrucue:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L237
.L238:
	ldr	r2, .L239
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #6]
	ldr	r2, .L239
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r3, #8
	ldr	r2, .L239
	add	r3, r3, r2
	ldr	r1, .L239+4
	mov	r0, r3
	bl	sprintf
	ldr	r2, .L239
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #32
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, .L239
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #40
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, .L239
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #48
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, .L239
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #56
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L237:
	ldr	r3, [fp, #-8]
	ldr	r2, .L239+8
	cmp	r3, r2
	ble	.L238
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L240:
	.align	2
.L239:
	.word	stuaecsv
	.word	.LC123
	.word	29999
	.size	inistrucue, .-inistrucue
	.align	2
	.global	inistvarcat
	.syntax unified
	.arm
	.fpu softvfp
	.type	inistvarcat, %function
inistvarcat:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L242
.L243:
	ldr	r1, .L244
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L244
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L244
	add	r3, r3, r2
	ldr	r1, .L244+4
	mov	r0, r3
	bl	sprintf
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #56
	ldr	r2, .L244
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r1, .L244+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L242:
	ldr	r3, [fp, #-8]
	cmp	r3, #1000
	blt	.L243
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L245:
	.align	2
.L244:
	.word	categoria
	.word	.LC123
	.size	inistvarcat, .-inistvarcat
	.section	.rodata
	.align	2
.LC124:
	.ascii	"Calcula en UAE %i-%i para raster %i\012\000"
	.global	__aeabi_dcmplt
	.align	2
.LC125:
	.ascii	" Contador en %i\012\000"
	.align	2
.LC126:
	.ascii	"Finalizado Cruce en %i-%i\012\000"
	.align	2
.LC127:
	.ascii	"Elementos dentro UAE: %i\012\000"
	.align	2
.LC128:
	.ascii	"Elementos fuera  UAE: %i\012\000"
	.align	2
.LC129:
	.ascii	"Elementos Fuera de raster: %i\012\000"
	.align	2
.LC130:
	.ascii	"***********************\012\000"
	.text
	.align	2
	.global	calc_dat
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_dat, %function
calc_dat:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #100
	str	r3, [fp, #-32]
	ldr	r3, .L268
	ldr	r2, [r3]
	ldr	r3, .L268+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-48]
	ldr	r0, .L268+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L247
.L261:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L248
.L259:
	ldr	r3, .L268+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L268+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L249
	mov	r2, #2
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-40]
	bl	get_coor
	ldr	r3, .L268+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L268+24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L250
	ldr	r3, .L268+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L268+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L250
	ldr	r3, .L268+32
	ldmia	r3, {r0-r1}
	ldr	r3, .L268+36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L250
	ldr	r3, .L268+32
	ldmia	r3, {r0-r1}
	ldr	r3, .L268+40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L250
	ldr	r3, .L268+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L268+32
	ldmia	r3, {r2-r3}
	mov	ip, #1
	str	ip, [sp]
	bl	calc_vecindex
	ldr	r3, .L268+44
	ldr	r2, [r3]
	ldr	r3, .L268+48
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L255
	ldr	r3, .L268+52
	ldr	r2, [r3]
	ldr	r3, .L268+56
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L255
	ldr	r3, .L268+60
	ldr	r2, [r3]
	ldr	r3, .L268+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L268+52
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L268+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L256
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	countdat
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L267
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L267
.L256:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L267
.L255:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L249
.L267:
	nop
	b	.L249
.L250:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L249:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L248:
	ldr	r3, .L268+68
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L259
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L260
	ldr	r1, [fp, #-36]
	ldr	r0, .L268+72
	bl	printf
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	str	r3, [fp, #-32]
.L260:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L247:
	ldr	r3, .L268+76
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L261
	ldr	r3, .L268
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-48]
	ldr	r0, .L268+80
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L268+84
	bl	printf
	ldr	r1, [fp, #-24]
	ldr	r0, .L268+88
	bl	printf
	ldr	r1, [fp, #-28]
	ldr	r0, .L268+92
	bl	printf
	ldr	r0, .L268+96
	bl	puts
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L269:
	.align	2
.L268:
	.word	orden
	.word	vgorder
	.word	.LC124
	.word	rast_var
	.word	nullval2
	.word	globx
	.word	xlo
	.word	xhi
	.word	globy
	.word	ylo
	.word	yhi
	.word	vcol
	.word	nx
	.word	vrow
	.word	ny
	.word	rast_uae
	.word	nullval
	.word	nx2
	.word	.LC125
	.word	ny2
	.word	.LC126
	.word	.LC127
	.word	.LC128
	.word	.LC129
	.word	.LC130
	.size	calc_dat, .-calc_dat
	.section	.rodata
	.align	2
.LC131:
	.ascii	"\012Escritura de uae-csv %s\012\000"
	.align	2
.LC132:
	.ascii	"wt\000"
	.align	2
.LC133:
	.ascii	"ERROR %s\012\000"
	.align	2
.LC134:
	.ascii	"ATENCION: LA RUTA DE SALIDA DEL ARCHIVO NO ES CORRE"
	.ascii	"CTA\000"
	.align	2
.LC135:
	.ascii	"Archivo uae small, en m para algunos indicadores li"
	.ascii	"neales\000"
	.align	2
.LC136:
	.ascii	"Archivo uae grande, en km para algunos indicadores "
	.ascii	"lineales\000"
	.align	2
.LC137:
	.ascii	"NUM ID CODE ARE PER X Y \000"
	.align	2
.LC138:
	.ascii	"%s %sp \000"
	.align	2
.LC139:
	.ascii	"%s %sp\012\000"
	.align	2
.LC140:
	.ascii	"CAT-%i CAT-%isp\000"
	.align	2
.LC141:
	.ascii	"CAT-%i CAT-%i\012\000"
	.align	2
.LC142:
	.ascii	"%i %i %s %lf %lf %lf %lf \000"
	.align	2
.LC143:
	.ascii	"%.2f %.2f \000"
	.align	2
.LC144:
	.ascii	"%.2f %.2f\012\000"
	.align	2
.LC145:
	.ascii	"Finaliza escritura archivo de salida\000"
	.text
	.align	2
	.global	write_uaecsv
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_uaecsv, %function
write_uaecsv:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	ldr	r1, .L292
	ldr	r0, .L292+4
	bl	printf
	ldr	r1, .L292+8
	ldr	r0, .L292
	bl	fopen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L271
	ldr	r1, .L292
	ldr	r0, .L292+12
	bl	printf
	ldr	r0, .L292+16
	bl	puts
	mov	r0, #0
	bl	exit
.L271:
	ldr	r3, .L292+20
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L272
	ldr	r0, .L292+24
	bl	puts
.L272:
	ldr	r3, .L292+20
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L273
	ldr	r0, .L292+28
	bl	puts
.L273:
	ldr	r2, .L292+32
	ldr	r3, [fp, #-64]
	ldr	r3, [r2, r3, lsl #2]	@ float
	str	r3, [fp, #-44]	@ float
	ldr	r2, .L292+36
	ldr	r3, [fp, #-64]
	ldr	r3, [r2, r3, lsl #2]	@ float
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-60]
	nop
	ldr	r3, .L292+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L276
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L292+44
	add	r3, r3, r2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #15
	bls	.L291
	mov	r3, #1
	str	r3, [fp, #-52]
.L291:
	nop
.L276:
	ldr	r3, [fp, #-48]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L292+48
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L278
.L283:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L279
	ldr	r3, .L292+40
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L280
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L292+44
	add	r1, r3, r2
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L292+44
	add	r3, r3, r2
	mov	r2, r1
	ldr	r1, .L292+52
	ldr	r0, [fp, #-48]
	bl	fprintf
.L280:
	ldr	r3, .L292+40
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bne	.L279
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L292+44
	add	r1, r3, r2
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L292+44
	add	r3, r3, r2
	mov	r2, r1
	ldr	r1, .L292+56
	ldr	r0, [fp, #-48]
	bl	fprintf
.L279:
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	bne	.L281
	ldr	r3, .L292+40
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L282
	ldr	r1, .L292+44
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, .L292+44
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L292+60
	ldr	r0, [fp, #-48]
	bl	fprintf
.L282:
	ldr	r3, .L292+40
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bne	.L281
	ldr	r1, .L292+44
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, .L292+44
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L292+64
	ldr	r0, [fp, #-48]
	bl	fprintf
.L281:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L278:
	ldr	r3, .L292+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L283
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L284
.L289:
	ldr	r2, .L292+68
	ldr	r3, [fp, #-56]
	ldr	r8, [r2, r3, lsl #6]
	ldr	r2, .L292+68
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r9, [r3, #4]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r3, #8
	ldr	r2, .L292+68
	add	ip, r3, r2
	ldr	r2, .L292+68
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	ldr	r0, .L292+68
	ldr	r1, [fp, #-56]
	lsl	r1, r1, #6
	add	r1, r0, r1
	add	r1, r1, #32
	ldmia	r1, {r0-r1}
	ldr	r4, .L292+68
	ldr	lr, [fp, #-56]
	lsl	lr, lr, #6
	add	lr, r4, lr
	add	lr, lr, #48
	ldmia	lr, {r4-r5}
	ldr	r6, .L292+68
	ldr	lr, [fp, #-56]
	lsl	lr, lr, #6
	add	lr, r6, lr
	add	lr, lr, #56
	ldmia	lr, {r6-r7}
	str	r6, [sp, #32]
	str	r7, [sp, #36]
	str	r4, [sp, #24]
	str	r5, [sp, #28]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	ip, [sp]
	mov	r3, r9
	mov	r2, r8
	ldr	r1, .L292+72
	ldr	r0, [fp, #-48]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L285
.L288:
	ldr	r3, .L292+76
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r1, .L292+80
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L292+68
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, .L292+40
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L286
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L292+84
	ldr	r0, [fp, #-48]
	bl	fprintf
.L286:
	ldr	r3, .L292+40
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bne	.L287
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L292+88
	ldr	r0, [fp, #-48]
	bl	fprintf
.L287:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L285:
	ldr	r3, .L292+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L288
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L284:
	ldr	r3, .L292+92
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L289
	ldr	r0, [fp, #-48]
	bl	fclose
	ldr	r0, .L292+96
	bl	puts
	ldr	r0, .L292+100
	bl	puts
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L293:
	.align	2
.L292:
	.word	out_uaecsv
	.word	.LC131
	.word	.LC132
	.word	.LC133
	.word	.LC134
	.word	usokm
	.word	.LC135
	.word	.LC136
	.word	vres2x
	.word	vres2y
	.word	n_vcate
	.word	categoria
	.word	.LC137
	.word	.LC138
	.word	.LC139
	.word	.LC140
	.word	.LC141
	.word	stuaecsv
	.word	.LC142
	.word	varuser
	.word	1120403456
	.word	.LC143
	.word	.LC144
	.word	n_uaecsv
	.word	.LC145
	.word	.LC27
	.size	write_uaecsv, .-write_uaecsv
	.section	.rodata
	.align	2
.LC146:
	.ascii	"Escribe raster generado %s\012\000"
	.align	2
.LC147:
	.ascii	"DSBB\000"
	.align	2
.LC148:
	.ascii	"wb\000"
	.align	2
.LC149:
	.ascii	"Finaliza escritura raster generado\000"
	.align	2
.LC150:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	write_uaerast
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_uaerast, %function
write_uaerast:
	@ args = 0, pretend = 0, frame = 544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #548
	ldr	r3, .L302
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L302+4
	ldr	r0, .L302+8
	bl	printf
	sub	r3, fp, #272
	ldr	r1, .L302+12
	mov	r0, r3
	bl	sprintf
	ldr	r3, .L302+16
	ldr	r3, [r3]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #528
	strh	r2, [r3]	@ movhi
	ldr	r3, .L302+20
	ldr	r3, [r3]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #528
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L302+24
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-532]
	str	r3, [fp, #-528]
	ldr	r3, .L302+28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-524]
	str	r3, [fp, #-520]
	ldr	r3, .L302+32
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-516]
	str	r3, [fp, #-512]
	ldr	r3, .L302+36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-508]
	str	r3, [fp, #-504]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-500]
	str	r3, [fp, #-496]
	mov	r2, #0
	ldr	r3, .L302+40
	str	r2, [fp, #-492]
	str	r3, [fp, #-488]
	ldr	r3, .L302+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-548]
	ldr	r1, .L302+44
	ldr	r0, .L302+4
	bl	fopen
	str	r0, [fp, #-544]
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	bne	.L295
	ldr	r0, .L302+48
	bl	puts
	ldr	r0, .L302+52
	bl	puts
	ldr	r0, .L302+52
	bl	puts
	ldr	r0, .L302+52
	bl	puts
	ldr	r0, .L302+52
	bl	puts
	ldr	r0, .L302+52
	bl	puts
	ldr	r0, .L302+56
	bl	puts
	mov	r0, #0
	bl	exit
.L295:
	sub	r0, fp, #272
	ldr	r3, [fp, #-544]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	sub	r0, fp, #540
	ldr	r3, [fp, #-544]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	sub	r0, fp, #532
	ldr	r3, [fp, #-544]
	mov	r2, #1
	mov	r1, #48
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-552]
	b	.L296
.L299:
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L297
.L298:
	ldr	r3, .L302+60
	ldr	r2, [r3]
	ldr	r3, [fp, #-556]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-552]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-556]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-548]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L297:
	ldr	r3, .L302+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-556]
	cmp	r2, r3
	blt	.L298
	ldr	r3, .L302+16
	ldr	r3, [r3]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-544]
	mov	r2, #1
	ldr	r0, [fp, #-548]
	bl	fwrite
	ldr	r3, [fp, #-552]
	add	r3, r3, #1
	str	r3, [fp, #-552]
.L296:
	ldr	r3, .L302+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-552]
	cmp	r2, r3
	blt	.L299
	ldr	r0, [fp, #-544]
	bl	fclose
	ldr	r0, .L302+64
	bl	puts
	mov	r3, #1
	ldr	r2, .L302
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L301
	bl	__stack_chk_fail
.L301:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L303:
	.align	2
.L302:
	.word	.LC150
	.word	out_uaegen
	.word	.LC146
	.word	.LC147
	.word	nx
	.word	ny
	.word	xlo
	.word	xhi
	.word	ylo
	.word	yhi
	.word	1072693248
	.word	.LC148
	.word	.LC2
	.word	.LC3
	.word	.LC134
	.word	rast_uae
	.word	.LC149
	.size	write_uaerast, .-write_uaerast
	.section	.rodata
	.align	2
.LC151:
	.ascii	"Inicio del proceso de calculo\000"
	.align	2
.LC152:
	.ascii	"HOME\000"
	.align	2
.LC153:
	.ascii	"Homedir es %s\012\000"
	.align	2
.LC154:
	.ascii	"ERROR: Por favor ingrese el archivo de configuracio"
	.ascii	"n\000"
	.align	2
.LC155:
	.ascii	"*********************************\000"
	.align	2
.LC156:
	.ascii	"*********************************\012\000"
	.align	2
.LC157:
	.ascii	"Atencion: modo fuera de rango\000"
	.align	2
.LC158:
	.ascii	"Selecciones valores 1, 2 o 3\000"
	.align	2
.LC159:
	.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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, .L327
	bl	puts
	bl	getime
	ldr	r0, .L327+4
	bl	getenv
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L327+8
	ldr	r0, .L327+12
	bl	sprintf
	ldr	r1, .L327+12
	ldr	r0, .L327+16
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L305
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L327+8
	ldr	r0, .L327+20
	bl	sprintf
	bl	read_cfg
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L307
	b	.L326
.L305:
	ldr	r0, .L327+24
	bl	puts
	mov	r0, #0
	bl	exit
.L326:
	ldr	r2, .L327+28
	ldr	r1, .L327+8
	ldr	r0, .L327+32
	bl	sprintf
	ldr	r2, .L327+36
	ldr	r1, .L327+8
	ldr	r0, .L327+40
	bl	sprintf
	ldr	r0, .L327+32
	bl	puts
	ldr	r0, .L327+40
	bl	puts
	ldr	r3, .L327+44
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L308
	bl	read_ueinfile
.L308:
	ldr	r3, .L327+44
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L309
	bl	read_uaefilegen
.L309:
	bl	read_vargrdfile
	ldr	r3, .L327+44
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L310
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L311
.L316:
	ldr	r1, .L327+48
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L312
	ldr	r0, [fp, #-16]
	bl	selec_uae
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L313
.L315:
	ldr	r1, .L327+52
	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]
	ldr	r2, .L327+56
	str	r3, [r2]
	ldr	r3, .L327+56
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L314
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	selec_var
	ldr	r0, [fp, #-16]
	bl	calc_dat
	ldr	r3, .L327+60
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	getnamout
	ldr	r0, [fp, #-20]
	bl	write_uaecsv
	bl	freevargrd
	bl	inistvarcat
.L314:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L313:
	ldr	r3, .L327+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L315
	bl	inistrucue
	bl	freeuaegrd
	ldr	r0, .L327+68
	bl	puts
	ldr	r0, .L327+68
	bl	puts
	ldr	r0, .L327+68
	bl	puts
	ldr	r0, .L327+72
	bl	puts
.L312:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L311:
	ldr	r3, .L327+76
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L316
.L310:
	ldr	r3, .L327+44
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L317
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L318
.L323:
	ldr	r1, .L327+48
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L319
	ldr	r0, [fp, #-16]
	bl	selec_uae
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L320
.L322:
	ldr	r1, .L327+52
	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]
	ldr	r2, .L327+56
	str	r3, [r2]
	ldr	r3, .L327+56
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L321
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	selec_var
	ldr	r0, [fp, #-16]
	bl	calc_dat
	ldr	r3, .L327+60
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	getnamout
	ldr	r0, [fp, #-20]
	bl	write_uaecsv
	bl	write_uaerast
	bl	freevargrd
	bl	inistvarcat
.L321:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L320:
	ldr	r3, .L327+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L322
	bl	inistrucue
	bl	freeuaegrd
	ldr	r0, .L327+68
	bl	puts
	ldr	r0, .L327+68
	bl	puts
	ldr	r0, .L327+68
	bl	puts
	ldr	r0, .L327+72
	bl	puts
.L319:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L318:
	ldr	r3, .L327+76
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L323
.L317:
	ldr	r3, .L327+44
	ldr	r3, [r3]
	cmp	r3, #3
	bgt	.L324
	ldr	r3, .L327+44
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L307
.L324:
	ldr	r0, .L327+80
	bl	puts
	ldr	r0, .L327+84
	bl	puts
	mov	r0, #0
	bl	exit
.L307:
	ldr	r0, .L327+88
	bl	puts
	bl	getime
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L328:
	.align	2
.L327:
	.word	.LC151
	.word	.LC152
	.word	.LC4
	.word	dirhom
	.word	.LC153
	.word	name_incfg
	.word	.LC154
	.word	inues
	.word	name_uaefile
	.word	invgr
	.word	name_varfile
	.word	tipmodo
	.word	uefiles
	.word	vargrd
	.word	grdpros
	.word	vgorder
	.word	n_varfile
	.word	.LC155
	.word	.LC156
	.word	n_uaefile
	.word	.LC157
	.word	.LC158
	.word	.LC159
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
