	.file	"246501.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	inicializa_arbol
	lea	rax, -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	desplegarMenu
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"\033[33m"
	.align 8
.LC1:
	.string	"************************************"
	.align 8
.LC2:
	.string	"Sistema de Registro de empleados"
.LC3:
	.string	"\033[0m"
.LC4:
	.string	"Menu de Opciones"
.LC5:
	.string	"1. Agregar Empleado"
.LC6:
	.string	"2. Buscar Empleado"
.LC7:
	.string	"3. Borrar Empleado"
.LC8:
	.string	"4. Desplegar Plantilla"
.LC9:
	.string	"5. Salir"
	.align 8
.LC10:
	.string	"Imprimiendo plantilla de Empleados"
	.align 8
.LC11:
	.string	"Saliendo. Te esperamos de vuelta"
	.align 8
.LC12:
	.string	"No has ingresado una opcion valida. Vuelve a intentar"
	.text
	.globl	desplegarMenu
	.type	desplegarMenu, @function
desplegarMenu:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L13:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	printfln
	lea	rdi, .LC2[rip]
	call	printfln
	lea	rdi, .LC1[rip]
	call	printfln
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	printfln
	lea	rdi, .LC5[rip]
	call	printfln
	lea	rdi, .LC6[rip]
	call	printfln
	lea	rdi, .LC7[rip]
	call	printfln
	lea	rdi, .LC8[rip]
	call	printfln
	lea	rdi, .LC9[rip]
	call	printfln
	mov	eax, 0
	call	seleccionarOpcion
	cmp	eax, 5
	ja	.L6
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L8[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L8[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L6-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.text
.L12:
	mov	eax, 0
	call	limpiar_pantalla
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	registrarEmpleado
	jmp	.L5
.L11:
	mov	eax, 0
	call	limpiar_pantalla
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	buscarEmpleado
	jmp	.L5
.L10:
	mov	eax, 0
	call	limpiar_pantalla
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	eliminarEmpleado
	jmp	.L5
.L9:
	mov	eax, 0
	call	limpiar_pantalla
	lea	rdi, .LC10[rip]
	call	printfln
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	recorre_orden
	jmp	.L5
.L7:
	mov	DWORD PTR -4[rbp], 1
	mov	eax, 0
	call	limpiar_pantalla
	lea	rdi, .LC11[rip]
	call	printfln
	jmp	.L5
.L6:
	lea	rdi, .LC12[rip]
	call	printfln
	nop
.L5:
	cmp	DWORD PTR -4[rbp], 0
	je	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	desplegarMenu, .-desplegarMenu
	.section	.rodata
.LC13:
	.string	"Ingresa la opcion:\033[33m"
.LC14:
	.string	"%d"
	.text
	.globl	seleccionarOpcion
	.type	seleccionarOpcion, @function
seleccionarOpcion:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	seleccionarOpcion, .-seleccionarOpcion
	.globl	inicializa_arbol
	.type	inicializa_arbol, @function
inicializa_arbol:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	inicializa_arbol, .-inicializa_arbol
	.globl	crea_nodo
	.type	crea_nodo, @function
crea_nodo:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L19
	mov	eax, 0
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], 0
	mov	rax, QWORD PTR -8[rbp]
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	crea_nodo, .-crea_nodo
	.globl	recorre_pre_orden
	.type	recorre_pre_orden, @function
recorre_pre_orden:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	imprimirEmpleado
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	recorre_pre_orden
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	recorre_pre_orden
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	recorre_pre_orden, .-recorre_pre_orden
	.globl	recorre_orden
	.type	recorre_orden, @function
recorre_orden:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L26
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	recorre_orden
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	printListElementEmpleados
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	recorre_orden
.L28:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	recorre_orden, .-recorre_orden
	.section	.rodata
.LC15:
	.string	"\033[34m"
	.align 8
.LC16:
	.string	"*******************************"
.LC17:
	.string	"Datos del empleado:"
.LC18:
	.string	"id de usuario: %d"
	.text
	.globl	printListElementEmpleados
	.type	printListElementEmpleados, @function
printListElementEmpleados:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	printfln
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	imprimirEmpleado
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	printfln
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	printListElementEmpleados, .-printListElementEmpleados
	.globl	RD
	.type	RD, @function
RD:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -48[rbp], rax
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L33
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L33
.L31:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
.L33:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	cmp	QWORD PTR -8[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
.L34:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	RD, .-RD
	.globl	RI
	.type	RI, @function
RI:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -48[rbp], rax
	jne	.L37
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L38
.L37:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L38
.L36:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
.L38:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	cmp	QWORD PTR -8[rbp], 0
	je	.L39
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
.L39:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	RI, .-RI
	.globl	RDD
	.type	RDD, @function
RDD:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RI
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RD
	cmp	DWORD PTR -20[rbp], -1
	jne	.L41
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 1
	jmp	.L42
.L41:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L43
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 0
	jmp	.L42
.L43:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L42
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], -1
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 0
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	RDD, .-RDD
	.globl	RDI
	.type	RDI, @function
RDI:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RD
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RI
	cmp	DWORD PTR -20[rbp], -1
	jne	.L45
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 0
	jmp	.L46
.L45:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L47
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], 0
	jmp	.L46
.L47:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L46
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], -1
.L46:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	RDI, .-RDI
	.globl	agrega_nodo
	.type	agrega_nodo, @function
agrega_nodo:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L49
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L50
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L51
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	crea_nodo
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L52
	mov	eax, -2
	jmp	.L53
.L52:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L54
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	actualiza_fe
	jmp	.L64
.L54:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L64
.L51:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L63
.L50:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L58
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L59
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	crea_nodo
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L60
	mov	eax, -2
	jmp	.L53
.L60:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L61
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	actualiza_fe
	jmp	.L64
.L61:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L64
.L59:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L63
.L58:
	mov	eax, -1
	jmp	.L53
.L49:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 0
	mov	edi, eax
	call	crea_nodo
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L64
	mov	eax, -2
	jmp	.L53
.L64:
	mov	eax, 0
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	agrega_nodo, .-agrega_nodo
	.globl	actualiza_fe
	.type	actualiza_fe, @function
actualiza_fe:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	jmp	.L66
.L74:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L67
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	sub	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L68
.L67:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -20[rbp]
	add	edx, ecx
	mov	DWORD PTR 12[rax], edx
.L68:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L75
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, -2
	jne	.L71
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, -1
	jne	.L71
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RD
	jmp	.L70
.L71:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, -2
	jne	.L72
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L72
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RDD
	jmp	.L70
.L72:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 2
	jne	.L73
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L73
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RI
	jmp	.L70
.L73:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 2
	jne	.L66
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, -1
	jne	.L66
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RDI
	jmp	.L70
.L66:
	cmp	QWORD PTR -16[rbp], 0
	je	.L76
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L74
	jmp	.L76
.L75:
	nop
.L70:
.L76:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	actualiza_fe, .-actualiza_fe
	.section	.rodata
.LC19:
	.string	"eliminando nodo"
	.text
	.globl	elimina_nodo
	.type	elimina_nodo, @function
elimina_nodo:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	cmp	QWORD PTR -40[rbp], 0
	je	.L78
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC19[rip]
	call	printferror
.L97:
	cmp	QWORD PTR -16[rbp], 0
	je	.L98
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -44[rbp], eax
	jge	.L80
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L81
.L80:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -44[rbp], eax
	jle	.L82
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L81
.L82:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L83
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L83
	cmp	QWORD PTR -24[rbp], 0
	jne	.L84
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], 0
	jmp	.L85
.L84:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L86
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L87
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	actualiza_fe
	jmp	.L85
.L87:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L85
.L86:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L88
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	actualiza_fe
	jmp	.L85
.L88:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], edx
.L85:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L77
.L83:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L90
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L91
.L92:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L91:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L92
	jmp	.L93
.L90:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L94
.L95:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L94:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L95
.L93:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	nop
.L81:
	jmp	.L97
.L98:
	nop
	mov	eax, -1
	jmp	.L77
.L78:
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	elimina_nodo, .-elimina_nodo
	.section	.rodata
.LC20:
	.string	"fe=%i valor=%i izq=%i der=%i\n"
	.text
	.globl	despliega_nodo
	.type	despliega_nodo, @function
despliega_nodo:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L100
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edi, DWORD PTR 8[rax]
	jmp	.L101
.L100:
	mov	edi, 0
.L101:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L102
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR 8[rax]
	jmp	.L103
.L102:
	mov	eax, 0
.L103:
	mov	rdx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rdx]
	mov	rcx, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 12[rcx]
	mov	r8d, edi
	mov	ecx, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L104
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	despliega_nodo
.L104:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L106
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	despliega_nodo
.L106:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	despliega_nodo, .-despliega_nodo
	.globl	busca_nodo
	.type	busca_nodo, @function
busca_nodo:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	QWORD PTR -24[rbp], 0
	je	.L108
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L116:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L109
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L117
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L116
.L109:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L113
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L116
.L113:
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L107
.L117:
	nop
	jmp	.L111
.L118:
	nop
.L111:
	mov	eax, 0
	jmp	.L107
.L108:
.L107:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	busca_nodo, .-busca_nodo
	.globl	crearEmpleado
	.type	crearEmpleado, @function
crearEmpleado:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	movss	DWORD PTR -32[rbp], xmm0
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L120
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR -32[rbp]
	movss	DWORD PTR 12[rax], xmm0
	mov	edi, 50
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L121
.L120:
	mov	eax, 0
.L121:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	crearEmpleado, .-crearEmpleado
	.section	.rodata
.LC21:
	.string	"Nombre: %s "
.LC22:
	.string	"Edad: %d , sueldo %f"
	.text
	.globl	imprimirEmpleado
	.type	imprimirEmpleado, @function
imprimirEmpleado:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	imprimirEmpleado, .-imprimirEmpleado
	.section	.rodata
	.align 8
.LC23:
	.string	"Ingresa el id del empleado a buscar (tendra que ser exacto)"
.LC24:
	.string	"id: "
	.align 8
.LC25:
	.string	"No se ha podido encontrar el empleado solicitado"
	.align 8
.LC26:
	.string	"El arbol de registros no ha sido iniciado"
	.text
	.globl	buscarEmpleado
	.type	buscarEmpleado, @function
buscarEmpleado:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -40[rbp], 0
	je	.L124
	mov	DWORD PTR -20[rbp], 0
	lea	rdi, .LC23[rip]
	call	printfln
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	je	.L125
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	busca_nodo
	mov	QWORD PTR -16[rbp], rax
.L125:
	cmp	QWORD PTR -16[rbp], 0
	je	.L126
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	imprimirEmpleado
	jmp	.L130
.L126:
	lea	rdi, .LC25[rip]
	call	printferror
	jmp	.L130
.L124:
	lea	rdi, .LC26[rip]
	call	printferror
.L130:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L129
	call	__stack_chk_fail@PLT
.L129:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	buscarEmpleado, .-buscarEmpleado
	.section	.rodata
	.align 8
.LC27:
	.string	"Ingresa el id del empleado a eliminar (tendra que ser exacto)"
	.align 8
.LC28:
	.string	"Se ha eliminado el empleado solicitado"
	.align 8
.LC29:
	.string	"ha ocurrido un error al eliminar el empleado"
	.text
	.globl	eliminarEmpleado
	.type	eliminarEmpleado, @function
eliminarEmpleado:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L132
	mov	DWORD PTR -12[rbp], -1
	lea	rdi, .LC27[rip]
	call	printfln
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	je	.L133
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	elimina_nodo
	mov	DWORD PTR -12[rbp], eax
.L133:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L134
	lea	rdi, .LC28[rip]
	call	printfln
	jmp	.L138
.L134:
	lea	rdi, .LC29[rip]
	call	printferror
	jmp	.L138
.L132:
	lea	rdi, .LC26[rip]
	call	printferror
.L138:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L137
	call	__stack_chk_fail@PLT
.L137:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	eliminarEmpleado, .-eliminarEmpleado
	.section	.rodata
.LC30:
	.string	"Juan"
	.align 8
.LC32:
	.string	"Ingresa el nombre del nuevo empleado:"
.LC33:
	.string	"%s"
.LC34:
	.string	"Ingresa la edad de %s \n"
.LC35:
	.string	"Ingresa el salario de %s \n"
.LC36:
	.string	"%f"
	.align 8
.LC37:
	.string	"Ingresa el numero de usuario de %s \n"
	.align 8
.LC38:
	.string	"Empleado con los siguientes datos Registrado."
	.text
	.globl	registrarEmpleado
	.type	registrarEmpleado, @function
registrarEmpleado:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -104[rbp], 0
	je	.L140
	movss	xmm0, DWORD PTR .LC31[rip]
	mov	esi, 18
	lea	rdi, .LC30[rip]
	call	crearEmpleado
	mov	QWORD PTR -72[rbp], rax
	lea	rdi, .LC32[rip]
	call	printfln
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -84[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -76[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -84[rbp]
	lea	rax, -64[rbp]
	movd	xmm0, ecx
	mov	esi, edx
	mov	rdi, rax
	call	crearEmpleado
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 0
	call	limpiar_pantalla
	mov	ecx, DWORD PTR -76[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	agrega_nodo
	lea	rdi, .LC38[rip]
	call	printfln
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	imprimirEmpleado
	jmp	.L143
.L140:
	lea	rdi, .LC26[rip]
	call	printferror
.L143:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L142
	call	__stack_chk_fail@PLT
.L142:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	registrarEmpleado, .-registrarEmpleado
	.section	.rodata
.LC39:
	.string	"clear"
	.text
	.globl	limpiar_pantalla
	.type	limpiar_pantalla, @function
limpiar_pantalla:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC39[rip]
	call	system@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	limpiar_pantalla, .-limpiar_pantalla
	.globl	printfln
	.type	printfln, @function
printfln:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	printfln, .-printfln
	.section	.rodata
.LC40:
	.string	"\033[31m"
.LC41:
	.string	"System: %s"
	.text
	.globl	printferror
	.type	printferror, @function
printferror:
.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
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	printferror, .-printferror
	.section	.rodata
	.align 4
.LC31:
	.long	1167867904
	.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	"246501.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r0, r3
	bl	inicializa_arbol
	sub	r3, fp, #12
	mov	r0, r3
	bl	desplegarMenu
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\033[33m\000"
	.align	2
.LC2:
	.ascii	"************************************\000"
	.align	2
.LC3:
	.ascii	"Sistema de Registro de empleados\000"
	.align	2
.LC4:
	.ascii	"\033[0m\000"
	.align	2
.LC5:
	.ascii	"Menu de Opciones\000"
	.align	2
.LC6:
	.ascii	"1. Agregar Empleado\000"
	.align	2
.LC7:
	.ascii	"2. Buscar Empleado\000"
	.align	2
.LC8:
	.ascii	"3. Borrar Empleado\000"
	.align	2
.LC9:
	.ascii	"4. Desplegar Plantilla\000"
	.align	2
.LC10:
	.ascii	"5. Salir\000"
	.align	2
.LC11:
	.ascii	"Imprimiendo plantilla de Empleados\000"
	.align	2
.LC12:
	.ascii	"Saliendo. Te esperamos de vuelta\000"
	.align	2
.LC13:
	.ascii	"No has ingresado una opcion valida. Vuelve a intent"
	.ascii	"ar\000"
	.text
	.align	2
	.global	desplegarMenu
	.syntax unified
	.arm
	.fpu softvfp
	.type	desplegarMenu, %function
desplegarMenu:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L15:
	ldr	r0, .L16
	bl	printf
	ldr	r0, .L16+4
	bl	printfln
	ldr	r0, .L16+8
	bl	printfln
	ldr	r0, .L16+4
	bl	printfln
	ldr	r0, .L16+12
	bl	printf
	ldr	r0, .L16+16
	bl	printfln
	ldr	r0, .L16+20
	bl	printfln
	ldr	r0, .L16+24
	bl	printfln
	ldr	r0, .L16+28
	bl	printfln
	ldr	r0, .L16+32
	bl	printfln
	ldr	r0, .L16+36
	bl	printfln
	bl	seleccionarOpcion
	mov	r3, r0
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L14:
	bl	limpiar_pantalla
	ldr	r0, [fp, #-16]
	bl	registrarEmpleado
	b	.L7
.L13:
	bl	limpiar_pantalla
	ldr	r0, [fp, #-16]
	bl	buscarEmpleado
	b	.L7
.L12:
	bl	limpiar_pantalla
	ldr	r0, [fp, #-16]
	bl	eliminarEmpleado
	b	.L7
.L11:
	bl	limpiar_pantalla
	ldr	r0, .L16+40
	bl	printfln
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	recorre_orden
	b	.L7
.L9:
	mov	r3, #1
	str	r3, [fp, #-8]
	bl	limpiar_pantalla
	ldr	r0, .L16+44
	bl	printfln
	b	.L7
.L8:
	ldr	r0, .L16+48
	bl	printfln
	nop
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L15
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	desplegarMenu, .-desplegarMenu
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Ingresa la opcion:\033[33m\000"
	.align	2
.LC15:
	.ascii	"%d\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	seleccionarOpcion
	.syntax unified
	.arm
	.fpu softvfp
	.type	seleccionarOpcion, %function
seleccionarOpcion:
	@ 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	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldr	r0, .L21+12
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC16
	.word	.LC14
	.word	.LC15
	.word	.LC4
	.size	seleccionarOpcion, .-seleccionarOpcion
	.align	2
	.global	inicializa_arbol
	.syntax unified
	.arm
	.fpu softvfp
	.type	inicializa_arbol, %function
inicializa_arbol:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	inicializa_arbol, .-inicializa_arbol
	.align	2
	.global	crea_nodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	crea_nodo, %function
crea_nodo:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	b	.L26
.L25:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crea_nodo, .-crea_nodo
	.align	2
	.global	recorre_pre_orden
	.syntax unified
	.arm
	.fpu softvfp
	.type	recorre_pre_orden, %function
recorre_pre_orden:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	imprimirEmpleado
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	recorre_pre_orden
.L28:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	recorre_pre_orden
.L30:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	recorre_pre_orden, .-recorre_pre_orden
	.align	2
	.global	recorre_orden
	.syntax unified
	.arm
	.fpu softvfp
	.type	recorre_orden, %function
recorre_orden:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	recorre_orden
.L32:
	ldr	r0, [fp, #-8]
	bl	printListElementEmpleados
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	recorre_orden
.L34:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	recorre_orden, .-recorre_orden
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\033[34m\000"
	.align	2
.LC18:
	.ascii	"*******************************\000"
	.align	2
.LC19:
	.ascii	"Datos del empleado:\000"
	.align	2
.LC20:
	.ascii	"id de usuario: %d\000"
	.text
	.align	2
	.global	printListElementEmpleados
	.syntax unified
	.arm
	.fpu softvfp
	.type	printListElementEmpleados, %function
printListElementEmpleados:
	@ 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]
	ldr	r0, .L36
	bl	printf
	ldr	r0, .L36+4
	bl	printfln
	ldr	r0, .L36+8
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L36+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L36+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	imprimirEmpleado
	ldr	r0, .L36
	bl	printf
	ldr	r0, .L36+4
	bl	printfln
	ldr	r0, .L36+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC17
	.word	.LC18
	.word	.LC4
	.word	.LC19
	.word	.LC20
	.size	printListElementEmpleados, .-printListElementEmpleados
	.align	2
	.global	RD
	.syntax unified
	.arm
	.fpu softvfp
	.type	RD, %function
RD:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
	b	.L41
.L40:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #20]
	b	.L41
.L39:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L41:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #12]
.L42:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RD, .-RD
	.align	2
	.global	RI
	.syntax unified
	.arm
	.fpu softvfp
	.type	RI, %function
RI:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L45
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
	b	.L46
.L45:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #20]
	b	.L46
.L44:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L46:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #12]
.L47:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RI, .-RI
	.align	2
	.global	RDD
	.syntax unified
	.arm
	.fpu softvfp
	.type	RDD, %function
RDD:
	@ 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	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	RI
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	RD
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L49
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mov	r2, #1
	str	r2, [r3, #8]
	b	.L50
.L49:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L50
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L50
	ldr	r3, [fp, #-16]
	mvn	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
.L50:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	RDD, .-RDD
	.align	2
	.global	RDI
	.syntax unified
	.arm
	.fpu softvfp
	.type	RDI, %function
RDI:
	@ 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	r3, [fp, #-28]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	RD
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	RI
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L53
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L54
.L53:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L54
.L55:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L54
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mvn	r2, #0
	str	r2, [r3, #8]
.L54:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	RDI, .-RDI
	.align	2
	.global	agrega_nodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	agrega_nodo, %function
agrega_nodo:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L71:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L58
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L59
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	crea_nodo
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L60
	mvn	r3, #1
	b	.L61
.L60:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	actualiza_fe
	b	.L72
.L62:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L72
.L59:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	b	.L71
.L58:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L66
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L67
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	crea_nodo
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L68
	mvn	r3, #1
	b	.L61
.L68:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	actualiza_fe
	b	.L72
.L69:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L72
.L67:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	b	.L71
.L66:
	mvn	r3, #0
	b	.L61
.L57:
	ldr	r2, [fp, #-24]
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	crea_nodo
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L72
	mvn	r3, #1
	b	.L61
.L72:
	mov	r3, #0
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	agrega_nodo, .-agrega_nodo
	.align	2
	.global	actualiza_fe
	.syntax unified
	.arm
	.fpu softvfp
	.type	actualiza_fe, %function
actualiza_fe:
	@ 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]
	b	.L74
.L82:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L75
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-16]
	sub	r2, r1, r2
	str	r2, [r3, #8]
	b	.L76
.L75:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	str	r2, [r3, #8]
.L76:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L83
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmn	r3, #2
	bne	.L79
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r3, [r3, #8]
	cmn	r3, #1
	bne	.L79
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	RD
	b	.L78
.L79:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmn	r3, #2
	bne	.L80
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L80
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	RDD
	b	.L78
.L80:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #2
	bne	.L81
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L81
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	RI
	b	.L78
.L81:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #2
	bne	.L74
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #8]
	cmn	r3, #1
	bne	.L74
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	RDI
	b	.L78
.L74:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L84
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L82
	b	.L84
.L83:
	nop
.L78:
.L84:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	actualiza_fe, .-actualiza_fe
	.section	.rodata
	.align	2
.LC21:
	.ascii	"eliminando nodo\000"
	.text
	.align	2
	.global	elimina_nodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	elimina_nodo, %function
elimina_nodo:
	@ 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	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L86
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r0, .L107
	bl	printferror
.L105:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L106
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L88
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
	b	.L89
.L88:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L90
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-16]
	b	.L89
.L90:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L91
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L91
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L92
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	b	.L93
.L92:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L94
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L95
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	mvn	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	actualiza_fe
	b	.L93
.L95:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	b	.L93
.L94:
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L96
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mvn	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	actualiza_fe
	b	.L93
.L96:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
.L93:
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	b	.L85
.L91:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L98
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L99
.L100:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
.L99:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L100
	b	.L101
.L98:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
	b	.L102
.L103:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
.L102:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L103
.L101:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	nop
.L89:
	b	.L105
.L106:
	nop
	mvn	r3, #0
	b	.L85
.L86:
.L85:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L108:
	.align	2
.L107:
	.word	.LC21
	.size	elimina_nodo, .-elimina_nodo
	.section	.rodata
	.align	2
.LC22:
	.ascii	"fe=%i valor=%i izq=%i der=%i\012\000"
	.text
	.align	2
	.global	despliega_nodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	despliega_nodo, %function
despliega_nodo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L110
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r2, [r3, #4]
	b	.L111
.L110:
	mov	r2, #0
.L111:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L112
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #4]
	b	.L113
.L112:
	mov	r3, #0
.L113:
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r0
	ldr	r0, .L117
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	despliega_nodo
.L114:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L116
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	despliega_nodo
.L116:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	.LC22
	.size	despliega_nodo, .-despliega_nodo
	.align	2
	.global	busca_nodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	busca_nodo, %function
busca_nodo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L120
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L128:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L121
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L129
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	b	.L128
.L121:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L125
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L130
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	b	.L128
.L125:
	ldr	r3, [fp, #-8]
	b	.L119
.L129:
	nop
	b	.L123
.L130:
	nop
.L123:
	mov	r3, #0
	b	.L119
.L120:
.L119:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	busca_nodo, .-busca_nodo
	.align	2
	.global	crearEmpleado
	.syntax unified
	.arm
	.fpu softvfp
	.type	crearEmpleado, %function
crearEmpleado:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]	@ float
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L132
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3, #8]	@ float
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	b	.L133
.L132:
	mov	r3, #0
.L133:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crearEmpleado, .-crearEmpleado
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Nombre: %s \000"
	.global	__aeabi_f2d
	.align	2
.LC24:
	.ascii	"Edad: %d , sueldo %f\000"
	.text
	.align	2
	.global	imprimirEmpleado
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprimirEmpleado, %function
imprimirEmpleado:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L135
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	ldr	r4, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L135+4
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L136:
	.align	2
.L135:
	.word	.LC23
	.word	.LC24
	.size	imprimirEmpleado, .-imprimirEmpleado
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Ingresa el id del empleado a buscar (tendra que ser"
	.ascii	" exacto)\000"
	.align	2
.LC26:
	.ascii	"id: \000"
	.align	2
.LC27:
	.ascii	"No se ha podido encontrar el empleado solicitado\000"
	.align	2
.LC28:
	.ascii	"El arbol de registros no ha sido iniciado\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	buscarEmpleado
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscarEmpleado, %function
buscarEmpleado:
	@ 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]
	ldr	r3, .L145
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L138
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, .L145+4
	bl	printfln
	ldr	r0, .L145+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L145+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L139
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	busca_nodo
	str	r0, [fp, #-12]
.L139:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L140
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	imprimirEmpleado
	b	.L144
.L140:
	ldr	r0, .L145+16
	bl	printferror
	b	.L144
.L138:
	ldr	r0, .L145+20
	bl	printferror
.L144:
	nop
	ldr	r3, .L145
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L143
	bl	__stack_chk_fail
.L143:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L146:
	.align	2
.L145:
	.word	.LC29
	.word	.LC25
	.word	.LC26
	.word	.LC15
	.word	.LC27
	.word	.LC28
	.size	buscarEmpleado, .-buscarEmpleado
	.section	.rodata
	.align	2
.LC30:
	.ascii	"Ingresa el id del empleado a eliminar (tendra que s"
	.ascii	"er exacto)\000"
	.align	2
.LC31:
	.ascii	"Se ha eliminado el empleado solicitado\000"
	.align	2
.LC32:
	.ascii	"ha ocurrido un error al eliminar el empleado\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	eliminarEmpleado
	.syntax unified
	.arm
	.fpu softvfp
	.type	eliminarEmpleado, %function
eliminarEmpleado:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L155
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L148
	mvn	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L155+4
	bl	printfln
	ldr	r0, .L155+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L155+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L149
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	elimina_nodo
	mov	r3, r0
	str	r3, [fp, #-12]
.L149:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L150
	ldr	r0, .L155+16
	bl	printfln
	b	.L154
.L150:
	ldr	r0, .L155+20
	bl	printferror
	b	.L154
.L148:
	ldr	r0, .L155+24
	bl	printferror
.L154:
	nop
	ldr	r3, .L155
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L153
	bl	__stack_chk_fail
.L153:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L156:
	.align	2
.L155:
	.word	.LC33
	.word	.LC30
	.word	.LC26
	.word	.LC15
	.word	.LC31
	.word	.LC32
	.word	.LC28
	.size	eliminarEmpleado, .-eliminarEmpleado
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Juan\000"
	.align	2
.LC35:
	.ascii	"Ingresa el nombre del nuevo empleado:\000"
	.align	2
.LC36:
	.ascii	"%s\000"
	.align	2
.LC37:
	.ascii	"Ingresa la edad de %s \012\000"
	.align	2
.LC38:
	.ascii	"Ingresa el salario de %s \012\000"
	.align	2
.LC39:
	.ascii	"%f\000"
	.align	2
.LC40:
	.ascii	"Ingresa el numero de usuario de %s \012\000"
	.align	2
.LC41:
	.ascii	"Empleado con los siguientes datos Registrado.\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	registrarEmpleado
	.syntax unified
	.arm
	.fpu softvfp
	.type	registrarEmpleado, %function
registrarEmpleado:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L162
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L158
	ldr	r2, .L162+4
	mov	r1, #18
	ldr	r0, .L162+8
	bl	crearEmpleado
	str	r0, [fp, #-64]
	ldr	r0, .L162+12
	bl	printfln
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L162+16
	bl	__isoc99_scanf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L162+20
	bl	printf
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L162+24
	bl	__isoc99_scanf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L162+28
	bl	printf
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L162+32
	bl	__isoc99_scanf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L162+36
	bl	printf
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L162+24
	bl	__isoc99_scanf
	ldr	r1, [fp, #-76]
	ldr	r2, [fp, #-72]	@ float
	sub	r3, fp, #60
	mov	r0, r3
	bl	crearEmpleado
	str	r0, [fp, #-64]
	bl	limpiar_pantalla
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	agrega_nodo
	ldr	r0, .L162+40
	bl	printfln
	ldr	r0, [fp, #-64]
	bl	imprimirEmpleado
	b	.L161
.L158:
	ldr	r0, .L162+44
	bl	printferror
.L161:
	nop
	ldr	r3, .L162
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L160
	bl	__stack_chk_fail
.L160:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L163:
	.align	2
.L162:
	.word	.LC42
	.word	1167867904
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC15
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC28
	.size	registrarEmpleado, .-registrarEmpleado
	.section	.rodata
	.align	2
.LC43:
	.ascii	"clear\000"
	.text
	.align	2
	.global	limpiar_pantalla
	.syntax unified
	.arm
	.fpu softvfp
	.type	limpiar_pantalla, %function
limpiar_pantalla:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L165
	bl	system
	nop
	pop	{fp, pc}
.L166:
	.align	2
.L165:
	.word	.LC43
	.size	limpiar_pantalla, .-limpiar_pantalla
	.align	2
	.global	printfln
	.syntax unified
	.arm
	.fpu softvfp
	.type	printfln, %function
printfln:
	@ 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]
	ldr	r1, [fp, #-8]
	ldr	r0, .L168
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L169:
	.align	2
.L168:
	.word	.LC36
	.size	printfln, .-printfln
	.section	.rodata
	.align	2
.LC44:
	.ascii	"\033[31m\000"
	.align	2
.LC45:
	.ascii	"System: %s\000"
	.text
	.align	2
	.global	printferror
	.syntax unified
	.arm
	.fpu softvfp
	.type	printferror, %function
printferror:
	@ 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]
	ldr	r0, .L171
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, .L171+4
	bl	printf
	ldr	r0, .L171+8
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L172:
	.align	2
.L171:
	.word	.LC44
	.word	.LC45
	.word	.LC4
	.size	printferror, .-printferror
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
