	.file	"1116386.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"argv[0]: %s, argv[1]: %s\n"
	.align 8
.LC1:
	.string	"Ingresa los parametros correctamente"
	.align 8
.LC2:
	.string	"Uso: %s <ruta del directorio>\n"
.LC3:
	.string	"DENTRO"
.LC4:
	.string	"."
.LC5:
	.string	".."
.LC6:
	.string	"Error stat() %d: %s\n"
.LC7:
	.string	"UID propietario: %d\n"
.LC8:
	.string	"N\303\272mero de i-nodo: %d\n"
.LC9:
	.string	"Tama\303\261o del fichero: %d\n"
.LC10:
	.string	"Nombre: %s\n"
.LC11:
	.string	"Ruta completa: %s\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, 712
	.cfi_offset 3, -24
	mov	DWORD PTR -708[rbp], edi
	mov	QWORD PTR -720[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -720[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -720[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -708[rbp], 2
	je	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR -720[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -696[rbp], rax
	mov	rax, QWORD PTR -696[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -704[rbp], rax
	jmp	.L3
.L10:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -704[rbp]
	lea	rdx, 19[rax]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -544[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	lea	rax, -544[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
.L4:
	lea	rdx, -688[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L9
.L6:
	mov	eax, DWORD PTR -660[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -680[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -640[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -696[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -704[rbp], rax
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -720[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -288[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	lea	rdx, -544[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -544[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -688[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -660[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -680[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -640[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -696[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -704[rbp], rax
.L3:
	cmp	QWORD PTR -704[rbp], 0
	jne	.L10
	mov	eax, 0
.L9:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"1116386.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"argv[0]: %s, argv[1]: %s\012\000"
	.align	2
.LC1:
	.ascii	"Ingresa los parametros correctamente\000"
	.align	2
.LC2:
	.ascii	"Uso: %s <ruta del directorio>\012\000"
	.align	2
.LC3:
	.ascii	"DENTRO\000"
	.align	2
.LC4:
	.ascii	".\000"
	.align	2
.LC5:
	.ascii	"..\000"
	.align	2
.LC6:
	.ascii	"Error stat() %d: %s\012\000"
	.align	2
.LC7:
	.ascii	"UID propietario: %d\012\000"
	.align	2
.LC8:
	.ascii	"N\303\272mero de i-nodo: %d\012\000"
	.align	2
.LC9:
	.ascii	"Tama\303\261o del fichero: %d\012\000"
	.align	2
.LC10:
	.ascii	"/\000"
	.align	2
.LC11:
	.ascii	"Nombre: %s\012\000"
	.align	2
.LC12:
	.ascii	"Ruta completa: %s\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #628
	str	r0, [fp, #-632]
	str	r1, [fp, #-636]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-636]
	ldr	r1, [r3]
	ldr	r3, [fp, #-636]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, [fp, #-632]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L12+8
	bl	puts
	ldr	r0, .L12+12
	bl	printf
.L2:
	ldr	r3, [fp, #-636]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	opendir
	str	r0, [fp, #-624]
	ldr	r0, [fp, #-624]
	bl	readdir
	str	r0, [fp, #-628]
	b	.L3
.L10:
	ldr	r0, .L12+16
	bl	puts
	ldr	r3, [fp, #-628]
	add	r2, r3, #11
	sub	r3, fp, #528
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #528
	ldr	r1, .L12+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #528
	ldr	r1, .L12+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
.L4:
	sub	r2, fp, #620
	sub	r3, fp, #528
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L12+28
	bl	printf
	mvn	r3, #0
	b	.L9
.L6:
	ldr	r3, [fp, #-596]
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	ldr	r3, [fp, #-608]
	mov	r1, r3
	ldr	r0, .L12+36
	bl	printf
	ldr	r3, [fp, #-576]
	mov	r1, r3
	ldr	r0, .L12+40
	bl	printf
	ldr	r0, [fp, #-624]
	bl	readdir
	str	r0, [fp, #-628]
	b	.L3
.L5:
	ldr	r3, [fp, #-636]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #272
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #272
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #272
	add	r3, r3, r2
	ldr	r2, .L12+44
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r2, fp, #528
	sub	r3, fp, #272
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, .L12+48
	bl	printf
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L12+52
	bl	printf
	sub	r2, fp, #620
	sub	r3, fp, #272
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L12+28
	bl	printf
	mvn	r3, #0
	b	.L9
.L8:
	ldr	r3, [fp, #-596]
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	ldr	r3, [fp, #-608]
	mov	r1, r3
	ldr	r0, .L12+36
	bl	printf
	ldr	r3, [fp, #-576]
	mov	r1, r3
	ldr	r0, .L12+40
	bl	printf
	ldr	r0, [fp, #-624]
	bl	readdir
	str	r0, [fp, #-628]
.L3:
	ldr	r3, [fp, #-628]
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
.L9:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
