	.file	"386418.c"
	.intel_syntax noprefix
	.text
	.globl	contenido
	.bss
	.align 32
	.type	contenido, @object
	.size	contenido, 50
contenido:
	.zero	50
	.globl	numEstructuras
	.align 4
	.type	numEstructuras, @object
	.size	numEstructuras, 4
numEstructuras:
	.zero	4
	.section	.rodata
.LC0:
	.string	"clear"
	.align 8
.LC1:
	.string	"jesusTirado@sistemArchivos:~$ "
.LC2:
	.string	"\n%[^\n]"
.LC3:
	.string	"archivo eliminado..."
	.align 8
.LC4:
	.string	"no se localiza el archivo seleccionado"
.LC5:
	.string	"\t\t--> MODO ESCRITURA <--\n"
.LC6:
	.string	"\t\t--> MODO LECTURA <--\n"
.LC7:
	.string	"%s\n\n"
.LC8:
	.string	"\t\t--> AGREGAR DATOS <--\n"
.LC9:
	.string	"\t\tMANUAL DE USO:"
	.align 8
.LC10:
	.string	"el sistema consiste en administrar archivos, permitiendo las siguientes acciones: "
	.align 8
.LC11:
	.string	"\t- crear\n\t- listar\n\t- escribir\n\t- leer\n\t- agregar"
	.align 8
.LC12:
	.string	"para poder ejecutar cualquiera de las acciones es necesario seguir la siguiente estructura de funciones:"
	.align 8
.LC13:
	.string	"\n\t- new nombre.tipo --> para crerar un nuevo archivo, sino se especifica la extension del archivo el sistema genera un archivo .txt"
	.align 8
.LC14:
	.string	"\n\t- list --> para listar los elementos del directorio, la funcion no requiere argumentos."
	.align 8
.LC15:
	.string	"\n\t- errase nombre.tipo --> para eliminar algun archivo del directorio, es necesario especificar nombre y tipo de archivo como argumento."
	.align 8
.LC16:
	.ascii	"\n\t- edit -w nombre.tipo --> "
	.string	"abre el editor en modo escritura, es necesario especificar -w para indicar el modo escritura asi como nombre y tipo de archivo. Despliega una pantalla donde queda habilitada la escritura en el archivo y para salir solo es necesario presionar la tecla ENTER"
	.align 8
.LC17:
	.ascii	"\n\t-"
	.string	" edit -r nombre.tipo --> abre el editor en modo lectura, es necesario especificar -r para indicar el modo lectura asi como nombre y tipo de archivo. Despliega una pantalla con el contenido del archivo y para salir solo es necesario presionar la tecla ENTER"
	.align 8
.LC18:
	.ascii	"\n\t- edit -a nombre.tipo --> abre el editor para agreg"
	.string	"ar informacion, es necesario especificar -a para indicar que se quiere agregar y no sobrescribir asi como nombre y tipo de archivo. Despliega una pantalla donde podremos agregar informacion al archivo y para salir solo es necesario presionar la tecla ENTER"
	.align 8
.LC19:
	.string	"\n\t- exit --> para salir del programa, termina la ejecucion\n\n"
	.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
	push	rbx
	sub	rsp, 552
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	esi, 270
	mov	edi, 50
	call	calloc@PLT
	mov	QWORD PTR -512[rbp], rax
	mov	DWORD PTR -524[rbp], 0
	mov	DWORD PTR -520[rbp], 1
	mov	DWORD PTR -516[rbp], 0
	mov	DWORD PTR -552[rbp], 0
	mov	DWORD PTR -501[rbp], 1953069157
	mov	BYTE PTR -497[rbp], 0
	lea	rdi, .LC0[rip]
	call	system@PLT
	jmp	.L2
.L45:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -496[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L3
.L5:
	add	DWORD PTR -552[rbp], 1
.L3:
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	edx, BYTE PTR -496[rbp+rax]
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -501[rbp+rax]
	cmp	dl, al
	jne	.L4
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -496[rbp+rax]
	test	al, al
	je	.L4
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -501[rbp+rax]
	test	al, al
	jne	.L5
.L4:
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	edx, BYTE PTR -496[rbp+rax]
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -501[rbp+rax]
	cmp	dl, al
	jne	.L6
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -496[rbp+rax]
	test	al, al
	jne	.L6
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -501[rbp+rax]
	test	al, al
	jne	.L6
	mov	edi, 0
	call	exit@PLT
.L6:
	lea	rax, -496[rbp]
	mov	rdi, rax
	call	instruccion
	mov	DWORD PTR -524[rbp], eax
	cmp	DWORD PTR -524[rbp], 7
	ja	.L2
	mov	eax, DWORD PTR -524[rbp]
	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	.L2-.L8
	.long	.L14-.L8
	.long	.L13-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.text
.L14:
	mov	eax, DWORD PTR numEstructuras[rip]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	lea	rsi, contenido[rip]
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR numEstructuras[rip]
	add	eax, 1
	mov	DWORD PTR numEstructuras[rip], eax
	jmp	.L2
.L13:
	mov	BYTE PTR -556[rbp], 102
	mov	DWORD PTR -548[rbp], 0
	jmp	.L15
.L20:
	mov	eax, DWORD PTR -548[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -224[rbp]
	lea	rsi, contenido[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	BYTE PTR -556[rbp], 118
	mov	eax, DWORD PTR -548[rbp]
	mov	DWORD PTR -544[rbp], eax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	add	rax, 1
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	imul	rcx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	add	rax, 1
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	lea	rdx, 70[rax]
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	imul	rcx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rcx
	add	rax, 70
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -544[rbp], 1
.L17:
	mov	eax, DWORD PTR numEstructuras[rip]
	cmp	DWORD PTR -544[rbp], eax
	jl	.L18
	mov	eax, DWORD PTR numEstructuras[rip]
	sub	eax, 1
	mov	DWORD PTR numEstructuras[rip], eax
.L16:
	add	DWORD PTR -548[rbp], 1
.L15:
	cmp	BYTE PTR -556[rbp], 102
	jne	.L19
	mov	eax, DWORD PTR numEstructuras[rip]
	cmp	DWORD PTR -548[rbp], eax
	jl	.L20
.L19:
	cmp	BYTE PTR -556[rbp], 118
	jne	.L21
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L51
.L21:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L51:
	nop
	jmp	.L2
.L12:
	mov	DWORD PTR -540[rbp], 0
	jmp	.L23
.L26:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	test	rax, rax
	jne	.L24
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rbx, rax
	mov	rdi, rbx
	call	strlen@PLT
	add	rax, rbx
	mov	DWORD PTR [rax], 1954051118
	mov	BYTE PTR 4[rax], 0
	jmp	.L25
.L24:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L25:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -540[rbp], 1
.L23:
	mov	eax, DWORD PTR numEstructuras[rip]
	cmp	DWORD PTR -540[rbp], eax
	jl	.L26
	nop
	jmp	.L2
.L11:
	mov	BYTE PTR -555[rbp], 102
	mov	DWORD PTR -536[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -224[rbp]
	lea	rsi, contenido[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	BYTE PTR -555[rbp], 118
.L28:
	add	DWORD PTR -536[rbp], 1
.L27:
	cmp	BYTE PTR -555[rbp], 102
	jne	.L29
	mov	eax, DWORD PTR numEstructuras[rip]
	cmp	DWORD PTR -536[rbp], eax
	jl	.L30
.L29:
	cmp	BYTE PTR -555[rbp], 118
	jne	.L31
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	add	rax, 70
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	jmp	.L52
.L31:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L52:
	nop
	jmp	.L2
.L10:
	mov	BYTE PTR -554[rbp], 102
	mov	DWORD PTR -532[rbp], 0
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -224[rbp]
	lea	rsi, contenido[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L34
	mov	BYTE PTR -554[rbp], 118
.L34:
	add	DWORD PTR -532[rbp], 1
.L33:
	cmp	BYTE PTR -554[rbp], 102
	jne	.L35
	mov	eax, DWORD PTR numEstructuras[rip]
	cmp	DWORD PTR -532[rbp], eax
	jl	.L36
.L35:
	cmp	BYTE PTR -554[rbp], 118
	jne	.L37
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	add	rax, 70
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	jmp	.L53
.L37:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L53:
	nop
	jmp	.L2
.L9:
	mov	BYTE PTR -553[rbp], 102
	mov	DWORD PTR -528[rbp], 0
	jmp	.L39
.L42:
	mov	eax, DWORD PTR -528[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -432[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -432[rbp]
	lea	rsi, contenido[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L40
	mov	BYTE PTR -553[rbp], 118
.L40:
	add	DWORD PTR -528[rbp], 1
.L39:
	cmp	BYTE PTR -553[rbp], 102
	jne	.L41
	mov	eax, DWORD PTR numEstructuras[rip]
	cmp	DWORD PTR -528[rbp], eax
	jl	.L42
.L41:
	cmp	BYTE PTR -553[rbp], 118
	jne	.L43
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -528[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	add	rax, 70
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -528[rbp]
	cdqe
	imul	rdx, rax, 270
	mov	rax, QWORD PTR -512[rbp]
	add	rax, rdx
	lea	rdx, 70[rax]
	lea	rax, -224[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcat@PLT
	call	getchar@PLT
	jmp	.L54
.L43:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L54:
	nop
	jmp	.L2
.L7:
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	nop
.L2:
	cmp	DWORD PTR -516[rbp], 0
	je	.L45
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC20:
	.string	"no se reconoce el comando\n-->\tman : para conocer las instrucciones"
	.text
	.globl	instruccion
	.type	instruccion, @function
instruccion:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -54[rbp], 544695662
	mov	BYTE PTR -50[rbp], 0
	movabs	rax, 9118745485275749
	mov	QWORD PTR -43[rbp], rax
	mov	DWORD PTR -49[rbp], 1953720684
	mov	WORD PTR -45[rbp], 32
	movabs	rax, 2339388148857529445
	mov	QWORD PTR -35[rbp], rax
	mov	BYTE PTR -27[rbp], 0
	movabs	rax, 2337980773973976165
	mov	QWORD PTR -26[rbp], rax
	mov	BYTE PTR -18[rbp], 0
	movabs	rax, 2333195699369895013
	mov	QWORD PTR -17[rbp], rax
	mov	BYTE PTR -9[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 110
	jne	.L56
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L56
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 119
	jne	.L56
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L56
	lea	rsi, -54[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 1
	mov	edx, 4
	mov	rdi, rax
	call	cortaPalabra
	mov	DWORD PTR -64[rbp], 1
	jmp	.L57
.L56:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L58
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	jne	.L58
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	jne	.L58
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 97
	jne	.L58
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	cmp	al, 115
	jne	.L58
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L58
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L58
	lea	rsi, -43[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 2
	mov	edx, 7
	mov	rdi, rax
	call	cortaPalabra
	mov	DWORD PTR -64[rbp], 2
	jmp	.L57
.L58:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 108
	jne	.L59
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 105
	jne	.L59
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 115
	jne	.L59
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 116
	jne	.L59
	mov	DWORD PTR -64[rbp], 3
	jmp	.L57
.L59:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 100
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 105
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 116
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	cmp	al, 119
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L60
	lea	rsi, -35[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 4
	mov	edx, 8
	mov	rdi, rax
	call	cortaPalabra
	mov	DWORD PTR -64[rbp], 4
	jmp	.L57
.L60:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 100
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 105
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 116
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	jne	.L61
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L61
	lea	rsi, -26[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 5
	mov	edx, 8
	mov	rdi, rax
	call	cortaPalabra
	mov	DWORD PTR -64[rbp], 5
	jmp	.L57
.L61:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 100
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 105
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 116
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	cmp	al, 97
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L62
	lea	rsi, -17[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 6
	mov	edx, 8
	mov	rdi, rax
	call	cortaPalabra
	mov	DWORD PTR -64[rbp], 6
	jmp	.L57
.L62:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 109
	jne	.L63
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 97
	jne	.L63
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 110
	jne	.L63
	mov	DWORD PTR -64[rbp], 7
	jmp	.L57
.L63:
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L57:
	mov	eax, DWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	instruccion, .-instruccion
	.globl	cortaPalabra
	.type	cortaPalabra, @function
cortaPalabra:
.LFB8:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	DWORD PTR -88[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, ebx
	sub	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	add	DWORD PTR -60[rbp], 1
.L67:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L68
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L69
.L70:
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	add	DWORD PTR -56[rbp], 1
.L69:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L70
	mov	BYTE PTR -28[rbp], 0
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, contenido[rip]
	call	strcpy@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cortaPalabra, .-cortaPalabra
	.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	"386418.c"
	.text
	.comm	contenido,50,4
	.global	numEstructuras
	.bss
	.align	2
	.type	numEstructuras, %object
	.size	numEstructuras, 4
numEstructuras:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"clear\000"
	.align	2
.LC2:
	.ascii	"jesusTirado@sistemArchivos:~$ \000"
	.align	2
.LC3:
	.ascii	"\012%[^\012]\000"
	.align	2
.LC4:
	.ascii	"archivo eliminado...\000"
	.align	2
.LC5:
	.ascii	"no se localiza el archivo seleccionado\000"
	.align	2
.LC6:
	.ascii	".txt\000"
	.align	2
.LC7:
	.ascii	"\011\011--> MODO ESCRITURA <--\012\000"
	.align	2
.LC8:
	.ascii	"\011\011--> MODO LECTURA <--\012\000"
	.align	2
.LC9:
	.ascii	"%s\012\012\000"
	.align	2
.LC10:
	.ascii	"\011\011--> AGREGAR DATOS <--\012\000"
	.align	2
.LC11:
	.ascii	"\011\011MANUAL DE USO:\000"
	.align	2
.LC12:
	.ascii	"el sistema consiste en administrar archivos, permit"
	.ascii	"iendo las siguientes acciones: \000"
	.align	2
.LC13:
	.ascii	"\011- crear\012\011- listar\012\011- escribir\012\011"
	.ascii	"- leer\012\011- agregar\000"
	.align	2
.LC14:
	.ascii	"para poder ejecutar cualquiera de las acciones es n"
	.ascii	"ecesario seguir la siguiente estructura de funcione"
	.ascii	"s:\000"
	.align	2
.LC15:
	.ascii	"\012\011- new nombre.tipo --> para crerar un nuevo "
	.ascii	"archivo, sino se especifica la extension del archiv"
	.ascii	"o el sistema genera un archivo .txt\000"
	.align	2
.LC16:
	.ascii	"\012\011- list --> para listar los elementos del di"
	.ascii	"rectorio, la funcion no requiere argumentos.\000"
	.align	2
.LC17:
	.ascii	"\012\011- errase nombre.tipo --> para eliminar algu"
	.ascii	"n archivo del directorio, es necesario especificar "
	.ascii	"nombre y tipo de archivo como argumento.\000"
	.align	2
.LC18:
	.ascii	"\012\011- edit -w nombre.tipo --> abre el editor en"
	.ascii	" modo escritura, es necesario especificar -w para i"
	.ascii	"ndicar el modo escritura asi como nombre y tipo de "
	.ascii	"archivo. Despliega una pantalla donde queda habilit"
	.ascii	"ada la escritura en el archivo y para salir solo es"
	.ascii	" necesario presionar la tecla ENTER\000"
	.align	2
.LC19:
	.ascii	"\012\011- edit -r nombre.tipo --> abre el editor en"
	.ascii	" modo lectura, es necesario especificar -r para ind"
	.ascii	"icar el modo lectura asi como nombre y tipo de arch"
	.ascii	"ivo. Despliega una pantalla con el contenido del ar"
	.ascii	"chivo y para salir solo es necesario presionar la t"
	.ascii	"ecla ENTER\000"
	.align	2
.LC20:
	.ascii	"\012\011- edit -a nombre.tipo --> abre el editor pa"
	.ascii	"ra agregar informacion, es necesario especificar -a"
	.ascii	" para indicar que se quiere agregar y no sobrescrib"
	.ascii	"ir asi como nombre y tipo de archivo. Despliega una"
	.ascii	" pantalla donde podremos agregar informacion al arc"
	.ascii	"hivo y para salir solo es necesario presionar la te"
	.ascii	"cla ENTER\000"
	.align	2
.LC21:
	.ascii	"\012\011- exit --> para salir del programa, termina"
	.ascii	" la ejecucion\012\012\000"
	.align	2
.LC0:
	.ascii	"exit\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 512
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #516
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L55+4
	mov	r0, #50
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-492]
	mov	r3, #0
	str	r3, [fp, #-488]
	mov	r3, #1
	str	r3, [fp, #-484]
	mov	r3, #0
	str	r3, [fp, #-480]
	mov	r3, #0
	str	r3, [fp, #-520]
	ldr	r2, .L55+8
	sub	r3, fp, #476
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r0, .L55+12
	bl	system
	b	.L2
.L45:
	ldr	r0, .L55+16
	bl	printf
	sub	r3, fp, #468
	mov	r1, r3
	ldr	r0, .L55+20
	bl	__isoc99_scanf
	b	.L3
.L5:
	ldr	r3, [fp, #-520]
	add	r3, r3, #1
	str	r3, [fp, #-520]
.L3:
	sub	r2, fp, #468
	ldr	r3, [fp, #-520]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r1, fp, #476
	ldr	r3, [fp, #-520]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L4
	sub	r2, fp, #468
	ldr	r3, [fp, #-520]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	sub	r2, fp, #476
	ldr	r3, [fp, #-520]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
.L4:
	sub	r2, fp, #468
	ldr	r3, [fp, #-520]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r1, fp, #476
	ldr	r3, [fp, #-520]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L6
	sub	r2, fp, #468
	ldr	r3, [fp, #-520]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	sub	r2, fp, #476
	ldr	r3, [fp, #-520]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	mov	r0, #0
	bl	exit
.L6:
	sub	r3, fp, #468
	mov	r0, r3
	bl	instruccion
	str	r0, [fp, #-488]
	ldr	r3, [fp, #-488]
	sub	r3, r3, #1
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L8:
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L7
.L14:
	ldr	r3, .L55+24
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	ldr	r1, .L55+28
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L55+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L55+24
	str	r3, [r2]
	b	.L2
.L13:
	mov	r3, #102
	strb	r3, [fp, #-524]
	mov	r3, #0
	str	r3, [fp, #-516]
	b	.L15
.L20:
	ldr	r2, [fp, #-516]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #216
	ldr	r1, .L55+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #118
	strb	r3, [fp, #-524]
	ldr	r3, [fp, #-516]
	str	r3, [fp, #-512]
	b	.L17
.L18:
	ldr	r2, [fp, #-512]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r0, r3
	ldr	r3, [fp, #-512]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-512]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	add	r0, r3, #70
	ldr	r3, [fp, #-512]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	add	r3, r3, #70
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-512]
	add	r3, r3, #1
	str	r3, [fp, #-512]
.L17:
	ldr	r3, .L55+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-512]
	cmp	r2, r3
	blt	.L18
	ldr	r3, .L55+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L55+24
	str	r3, [r2]
.L16:
	ldr	r3, [fp, #-516]
	add	r3, r3, #1
	str	r3, [fp, #-516]
.L15:
	ldrb	r3, [fp, #-524]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L19
	ldr	r3, .L55+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-516]
	cmp	r2, r3
	blt	.L20
.L19:
	ldrb	r3, [fp, #-524]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L21
	ldr	r0, .L55+32
	bl	puts
	b	.L51
.L21:
	ldr	r0, .L55+36
	bl	puts
.L51:
	nop
	b	.L2
.L12:
	mov	r3, #0
	str	r3, [fp, #-508]
	b	.L23
.L26:
	ldr	r2, [fp, #-508]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r1, #46
	mov	r0, r3
	bl	strrchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r2, [fp, #-508]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r4, r3
	mov	r0, r4
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L55+40
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	b	.L25
.L24:
	ldr	r2, [fp, #-508]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r1, #46
	mov	r0, r3
	bl	strrchr
	mov	r2, r0
	sub	r3, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L25:
	ldr	r2, [fp, #-508]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-508]
	add	r3, r3, #1
	str	r3, [fp, #-508]
.L23:
	ldr	r3, .L55+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-508]
	cmp	r2, r3
	blt	.L26
	nop
	b	.L2
.L11:
	mov	r3, #102
	strb	r3, [fp, #-523]
	mov	r3, #0
	str	r3, [fp, #-504]
	b	.L27
.L30:
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #216
	ldr	r1, .L55+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	mov	r3, #118
	strb	r3, [fp, #-523]
.L28:
	ldr	r3, [fp, #-504]
	add	r3, r3, #1
	str	r3, [fp, #-504]
.L27:
	ldrb	r3, [fp, #-523]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L29
	ldr	r3, .L55+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-504]
	cmp	r2, r3
	blt	.L30
.L29:
	ldrb	r3, [fp, #-523]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L31
	ldr	r0, .L55+12
	bl	system
	ldr	r0, .L55+44
	bl	puts
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	add	r3, r3, #70
	mov	r1, r3
	ldr	r0, .L55+20
	bl	__isoc99_scanf
	bl	getchar
	b	.L52
.L31:
	ldr	r0, .L55+36
	bl	puts
.L52:
	nop
	b	.L2
.L10:
	mov	r3, #102
	strb	r3, [fp, #-522]
	mov	r3, #0
	str	r3, [fp, #-500]
	b	.L33
.L36:
	ldr	r2, [fp, #-500]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #216
	ldr	r1, .L55+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	mov	r3, #118
	strb	r3, [fp, #-522]
.L34:
	ldr	r3, [fp, #-500]
	add	r3, r3, #1
	str	r3, [fp, #-500]
.L33:
	ldrb	r3, [fp, #-522]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L35
	ldr	r3, .L55+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-500]
	cmp	r2, r3
	blt	.L36
.L35:
	ldrb	r3, [fp, #-522]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L37
	ldr	r0, .L55+12
	bl	system
	ldr	r0, .L55+48
	bl	puts
	ldr	r2, [fp, #-500]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	add	r3, r3, #70
	mov	r1, r3
	ldr	r0, .L55+52
	bl	printf
	bl	getchar
	b	.L53
.L37:
	ldr	r0, .L55+36
	bl	puts
.L53:
	nop
	b	.L2
.L9:
	mov	r3, #102
	strb	r3, [fp, #-521]
	mov	r3, #0
	str	r3, [fp, #-496]
	b	.L39
.L42:
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #416
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #416
	ldr	r1, .L55+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	mov	r3, #118
	strb	r3, [fp, #-521]
.L40:
	ldr	r3, [fp, #-496]
	add	r3, r3, #1
	str	r3, [fp, #-496]
.L39:
	ldrb	r3, [fp, #-521]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L41
	ldr	r3, .L55+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-496]
	cmp	r2, r3
	blt	.L42
.L41:
	ldrb	r3, [fp, #-521]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L43
	ldr	r0, .L55+12
	bl	system
	ldr	r0, .L55+56
	bl	puts
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	add	r3, r3, #70
	mov	r1, r3
	ldr	r0, .L55+52
	bl	printf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L55+20
	bl	__isoc99_scanf
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r3, r3, r2
	add	r3, r3, #70
	sub	r2, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	bl	getchar
	b	.L54
.L43:
	ldr	r0, .L55+36
	bl	puts
.L54:
	nop
	b	.L2
.L7:
	ldr	r0, .L55+12
	bl	system
	ldr	r0, .L55+60
	bl	puts
	ldr	r0, .L55+64
	bl	puts
	ldr	r0, .L55+68
	bl	puts
	ldr	r0, .L55+72
	bl	puts
	ldr	r0, .L55+76
	bl	puts
	ldr	r0, .L55+80
	bl	puts
	ldr	r0, .L55+84
	bl	puts
	ldr	r0, .L55+88
	bl	puts
	ldr	r0, .L55+88
	bl	puts
	ldr	r0, .L55+92
	bl	puts
	ldr	r0, .L55+96
	bl	puts
	ldr	r0, .L55+100
	bl	puts
	nop
.L2:
	ldr	r3, [fp, #-480]
	cmp	r3, #0
	beq	.L45
	mov	r0, #0
	bl	exit
.L56:
	.align	2
.L55:
	.word	.LC22
	.word	270
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	numEstructuras
	.word	contenido
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	main, .-main
	.section	.rodata
	.align	2
.LC29:
	.ascii	"no se reconoce el comando\012-->\011man : para cono"
	.ascii	"cer las instrucciones\000"
	.align	2
.LC23:
	.ascii	"new \000"
	.align	2
.LC24:
	.ascii	"errase \000"
	.align	2
.LC25:
	.ascii	"list \000"
	.align	2
.LC26:
	.ascii	"edit -w \000"
	.align	2
.LC27:
	.ascii	"edit -r \000"
	.align	2
.LC28:
	.ascii	"edit -a \000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	instruccion
	.syntax unified
	.arm
	.fpu softvfp
	.type	instruccion, %function
instruccion:
	@ 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, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L68+4
	sub	r3, fp, #68
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r2, .L68+8
	sub	r3, fp, #52
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r2, .L68+12
	sub	r3, fp, #60
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r2, .L68+16
	sub	r3, fp, #44
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	ldr	r2, .L68+20
	sub	r3, fp, #32
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	ldr	r2, .L68+24
	sub	r3, fp, #20
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L58
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L58
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L58
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L58
	sub	r1, fp, #68
	mov	r3, #1
	mov	r2, #4
	ldr	r0, [fp, #-80]
	bl	cortaPalabra
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L59
.L58:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L60
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L60
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L60
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L60
	ldr	r3, [fp, #-80]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L60
	ldr	r3, [fp, #-80]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L60
	ldr	r3, [fp, #-80]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L60
	sub	r1, fp, #52
	mov	r3, #2
	mov	r2, #7
	ldr	r0, [fp, #-80]
	bl	cortaPalabra
	mov	r3, #2
	str	r3, [fp, #-76]
	b	.L59
.L60:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L61
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L61
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L61
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L61
	mov	r3, #3
	str	r3, [fp, #-76]
	b	.L59
.L61:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L62
	ldr	r3, [fp, #-80]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L62
	sub	r1, fp, #44
	mov	r3, #4
	mov	r2, #8
	ldr	r0, [fp, #-80]
	bl	cortaPalabra
	mov	r3, #4
	str	r3, [fp, #-76]
	b	.L59
.L62:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L63
	ldr	r3, [fp, #-80]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L63
	sub	r1, fp, #32
	mov	r3, #5
	mov	r2, #8
	ldr	r0, [fp, #-80]
	bl	cortaPalabra
	mov	r3, #5
	str	r3, [fp, #-76]
	b	.L59
.L63:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L64
	ldr	r3, [fp, #-80]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L64
	sub	r1, fp, #20
	mov	r3, #6
	mov	r2, #8
	ldr	r0, [fp, #-80]
	bl	cortaPalabra
	mov	r3, #6
	str	r3, [fp, #-76]
	b	.L59
.L64:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L65
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L65
	ldr	r3, [fp, #-80]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L65
	mov	r3, #7
	str	r3, [fp, #-76]
	b	.L59
.L65:
	ldr	r0, .L68+28
	bl	puts
.L59:
	ldr	r3, [fp, #-76]
	ldr	r2, .L68
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC30
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	instruccion, .-instruccion
	.section	.rodata
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cortaPalabra
	.syntax unified
	.arm
	.fpu softvfp
	.type	cortaPalabra, %function
cortaPalabra:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r4, r0
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	strstr
	mov	r3, r0
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r4, r3
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L71
.L72:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #40
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L71:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L72
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-48]
	b	.L73
.L74:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #40
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L73:
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bhi	.L74
	mov	r3, #0
	strb	r3, [fp, #-20]
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L76+4
	bl	strcpy
	nop
	ldr	r3, .L76
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC31
	.word	contenido
	.size	cortaPalabra, .-cortaPalabra
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
