	.file	"376179.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\n errore apertura cartella "
.LC1:
	.string	"link simbolico %s "
.LC2:
	.string	"riferimento a %s "
.LC3:
	.string	"con dimensione di %ld\n"
	.align 8
.LC4:
	.string	"\nNOME FILE %s con dimensione %d\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
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1376
	mov	DWORD PTR -9556[rbp], edi
	mov	QWORD PTR -9568[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -9544[rbp], -1
	lea	rax, -8208[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	getcwd@PLT
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -9536[rbp], rax
	cmp	QWORD PTR -9536[rbp], 0
	jne	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 542
	call	exit@PLT
.L5:
	cmp	QWORD PTR -9528[rbp], 0
	jne	.L4
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -9528[rbp]
	lea	rdx, 19[rax]
	lea	rax, -9376[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	lstat@PLT
	mov	eax, DWORD PTR -9352[rbp]
	and	eax, 61440
	cmp	eax, 40960
	jne	.L3
	mov	rax, QWORD PTR -9528[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -9528[rbp]
	lea	rcx, 19[rax]
	lea	rax, -4112[rbp]
	mov	edx, 4096
	mov	rsi, rax
	mov	rdi, rcx
	call	readlink@PLT
	mov	DWORD PTR -9540[rbp], eax
	mov	eax, DWORD PTR -9540[rbp]
	cdqe
	mov	BYTE PTR -4112[rbp+rax], 0
	lea	rax, -4112[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -9528[rbp]
	lea	rdx, 19[rax]
	lea	rax, -9520[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	stat@PLT
	mov	rax, QWORD PTR -9472[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -9472[rbp]
	mov	eax, DWORD PTR -9544[rbp]
	cdqe
	cmp	rdx, rax
	jle	.L3
	mov	rax, QWORD PTR -9472[rbp]
	mov	DWORD PTR -9544[rbp], eax
	mov	rax, QWORD PTR -9528[rbp]
	lea	rdx, 19[rax]
	lea	rax, -9232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L3:
	mov	rax, QWORD PTR -9536[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -9528[rbp], rax
	cmp	QWORD PTR -9528[rbp], 0
	jne	.L5
	mov	edx, DWORD PTR -9544[rbp]
	lea	rax, -9232[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"376179.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 errore apertura cartella \000"
	.align	2
.LC1:
	.ascii	"link simbolico %s \000"
	.align	2
.LC2:
	.ascii	"riferimento a %s \000"
	.align	2
.LC3:
	.ascii	"con dimensione di %ld\012\000"
	.align	2
.LC4:
	.ascii	"\012NOME FILE %s con dimensione %d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 9424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #9408
	sub	sp, sp, #20
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-1228]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-1232]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-1224]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #4096
	mov	r0, r3
	bl	getcwd
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	opendir
	str	r0, [r4, #-1220]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1220]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L8+4
	bl	perror
	ldr	r0, .L8+8
	bl	exit
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	cmp	r3, #0
	bne	.L4
	b	.L3
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	add	r2, r3, #11
	sub	r3, fp, #9280
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r1, r3
	mov	r0, r2
	bl	lstat
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1104]
	and	r3, r3, #61440
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-1224]
	str	r2, [r1, #-1224]
	cmp	r3, #40960
	bne	.L3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L8+12
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	add	r0, r3, #11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, r3
	bl	readlink
	str	r0, [r4, #-1212]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1212]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L8+16
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	add	r2, r3, #11
	sub	r3, fp, #9344
	sub	r3, r3, #12
	sub	r3, r3, #56
	mov	r1, r3
	mov	r0, r2
	bl	stat
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1164]
	mov	r1, r3
	ldr	r0, .L8+20
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1164]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-1224]
	str	r2, [r1, #-1224]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-1224]
	cmp	r2, r3
	bge	.L3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1164]
	str	r3, [r2, #-1224]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	add	r2, r3, #11
	sub	r3, fp, #9216
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1220]
	bl	readdir
	str	r0, [r4, #-1216]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1216]
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #9216
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-1224]
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC5
	.word	.LC0
	.word	542
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
