	.file	"744027.c"
	.intel_syntax noprefix
	.text
	.globl	get_longest_uid_and_gid_name
	.type	get_longest_uid_and_gid_name, @function
get_longest_uid_and_gid_name:
.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, 248
	.cfi_offset 3, -24
	mov	QWORD PTR -232[rbp], rdi
	mov	QWORD PTR -240[rbp], rsi
	mov	QWORD PTR -248[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -224[rbp], rax
	mov	edi, 255
	call	malloc@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	edi, 255
	call	malloc@PLT
	mov	QWORD PTR -208[rbp], rax
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -200[rbp]
	lea	rdx, 19[rax]
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	lstat@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	eax, DWORD PTR -144[rbp]
	mov	edi, eax
	call	getgrgid@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jbe	.L3
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L3:
	mov	rax, QWORD PTR -184[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jbe	.L2
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L2:
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -240[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -248[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_longest_uid_and_gid_name, .-get_longest_uid_and_gid_name
	.section	.rodata
.LC0:
	.string	"\033[33mr"
.LC1:
	.string	"\033[32mw"
.LC2:
	.string	"\033[31mx"
.LC3:
	.string	"\033[30m-"
.LC4:
	.string	"\033[34md"
.LC5:
	.string	"\033[35ml"
.LC6:
	.string	"\033[36mb"
.LC7:
	.string	"\033[35mc"
.LC8:
	.string	"\033[34ms"
.LC9:
	.string	"\033[36mp"
	.text
	.globl	get_file_permimssions
	.type	get_file_permimssions, @function
get_file_permimssions:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	edi, 70
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L7
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 40960
	jne	.L9
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 24576
	jne	.L10
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 8192
	jne	.L11
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 49152
	jne	.L12
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L8
.L12:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 4096
	jne	.L13
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L8
.L13:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L8:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 256
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -80[rbp]
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -56[rbp]
.L15:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 6
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 128
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR -72[rbp]
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -56[rbp]
.L17:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 12
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 8
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -56[rbp]
.L19:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 18
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 32
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR -80[rbp]
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -56[rbp]
.L21:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 24
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 16
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR -72[rbp]
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -56[rbp]
.L23:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 30
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 8
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -56[rbp]
.L25:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 36
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 4
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -80[rbp]
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -56[rbp]
.L27:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 42
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 2
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR -72[rbp]
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -56[rbp]
.L29:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 48
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 1
	test	eax, eax
	je	.L30
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -56[rbp]
.L31:
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, 54
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -88[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_file_permimssions, .-get_file_permimssions
	.section	.rodata
.LC10:
	.string	"%i B"
.LC12:
	.string	"%0.1f K"
.LC14:
	.string	"%0.1f M"
.LC16:
	.string	"%0.1f G"
.LC18:
	.string	"%0.1f T"
.LC20:
	.string	"%0.1f P"
	.text
	.globl	get_file_size
	.type	get_file_size, @function
get_file_size:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 999
	jg	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	lea	rdx, .LC10[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L35
.L34:
	cmp	QWORD PTR -24[rbp], 999
	jle	.L36
	cmp	QWORD PTR -24[rbp], 999999
	jg	.L36
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR .LC11[rip]
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC12[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	jmp	.L35
.L36:
	cmp	QWORD PTR -24[rbp], 999999
	jle	.L37
	cmp	QWORD PTR -24[rbp], 999999999
	jg	.L37
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR .LC13[rip]
	divss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rdx, xmm3
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC14[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	jmp	.L35
.L37:
	cmp	QWORD PTR -24[rbp], 999999999
	jle	.L38
	movabs	rax, 999999999999
	cmp	QWORD PTR -24[rbp], rax
	jg	.L38
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR .LC15[rip]
	divss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rdx, xmm4
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC16[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	jmp	.L35
.L38:
	movabs	rax, 999999999999
	cmp	QWORD PTR -24[rbp], rax
	jle	.L39
	movabs	rax, 999999999999999
	cmp	QWORD PTR -24[rbp], rax
	jg	.L39
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR .LC17[rip]
	divss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rdx, xmm5
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC18[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	jmp	.L35
.L39:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR .LC19[rip]
	divss	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rdx, xmm6
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC20[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
.L35:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_file_size, .-get_file_size
	.section	.rodata
.LC21:
	.string	"\033[35m%s:\n"
.LC22:
	.string	"%e %b %H:%M"
.LC23:
	.string	"\033[35m%s "
.LC24:
	.string	"\033[33m%-*s "
.LC25:
	.string	"\033[34m%-*s "
.LC26:
	.string	"\033[31m%7s "
.LC27:
	.string	"\033[32m%s "
.LC28:
	.string	"\033[35m%s"
.LC29:
	.string	"\033[0m -> "
.LC30:
	.string	"\033[31m%.*s"
.LC31:
	.string	"\033[0m"
	.text
	.globl	read_directory
	.type	read_directory, @function
read_directory:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	DWORD PTR -284[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 4096
	call	malloc@PLT
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -240[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	getcwd@PLT
	mov	DWORD PTR -264[rbp], 0
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L42
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rdx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	chdir@PLT
	mov	DWORD PTR -264[rbp], eax
	jmp	.L43
.L42:
	mov	rdx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	chdir@PLT
	mov	DWORD PTR -264[rbp], eax
.L43:
	cmp	DWORD PTR -264[rbp], 0
	je	.L44
	mov	eax, 1
	jmp	.L56
.L44:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L46
	mov	eax, 1
	jmp	.L56
.L46:
	mov	DWORD PTR -260[rbp], 0
	jmp	.L47
.L48:
	add	DWORD PTR -260[rbp], 1
.L47:
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -224[rbp], rax
	cmp	QWORD PTR -224[rbp], 0
	jne	.L48
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	rewinddir@PLT
	mov	DWORD PTR -272[rbp], 0
	mov	DWORD PTR -268[rbp], 0
	lea	rdx, -268[rbp]
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	get_longest_uid_and_gid_name
	cmp	DWORD PTR -284[rbp], 1
	jne	.L50
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L50
.L54:
	mov	rax, QWORD PTR -224[rbp]
	lea	rdx, 19[rax]
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	lstat@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	eax, DWORD PTR -144[rbp]
	mov	edi, eax
	call	getgrgid@PLT
	mov	QWORD PTR -208[rbp], rax
	lea	rax, -176[rbp]
	add	rax, 88
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -200[rbp], rax
	mov	rdx, QWORD PTR -200[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	lea	rdx, .LC22[rip]
	mov	esi, 20
	mov	rdi, rax
	call	strftime@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	get_file_size
	mov	QWORD PTR -192[rbp], rax
	lea	rax, -176[rbp]
	mov	rdi, rax
	call	get_file_permimssions
	mov	QWORD PTR -184[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 61440
	cmp	eax, 40960
	jne	.L51
	mov	edi, 4096
	call	malloc@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR -256[rbp]
	mov	edx, 4096
	mov	rsi, rax
	mov	rdi, rcx
	call	readlink@PLT
	mov	QWORD PTR -248[rbp], rax
	jmp	.L52
.L51:
	mov	edi, 1
	call	malloc@PLT
	mov	QWORD PTR -256[rbp], rax
.L52:
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -272[rbp]
	lea	ecx, 2[rdx]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -268[rbp]
	lea	ecx, 2[rdx]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 61440
	cmp	eax, 40960
	jne	.L53
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
.L53:
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	free@PLT
.L50:
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -224[rbp], rax
	cmp	QWORD PTR -224[rbp], 0
	jne	.L54
	cmp	DWORD PTR -284[rbp], 1
	jne	.L55
	mov	edi, 10
	call	putchar@PLT
.L55:
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
.L56:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_directory, .-read_directory
	.section	.rodata
.LC32:
	.string	"."
	.align 8
.LC33:
	.string	"\033[0mlsc: Error with the current directory."
	.align 8
.LC34:
	.string	"\033[0mlsc: Error with the entered directory: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L59
	mov	esi, 0
	lea	rdi, .LC32[rip]
	call	read_directory
	test	eax, eax
	je	.L60
	lea	rdi, .LC33[rip]
	call	puts@PLT
	jmp	.L60
.L59:
	cmp	DWORD PTR -20[rbp], 2
	jne	.L61
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	read_directory
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L61:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L62
.L64:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	read_directory
	test	eax, eax
	je	.L63
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
.L63:
	add	DWORD PTR -12[rbp], 1
.L62:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L64
.L60:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC11:
	.long	1148846080
	.align 4
.LC13:
	.long	1232348160
	.align 4
.LC15:
	.long	1315859240
	.align 4
.LC17:
	.long	1399379109
	.align 4
.LC19:
	.long	1482907561
	.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	"744027.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_longest_uid_and_gid_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_longest_uid_and_gid_name, %function
get_longest_uid_and_gid_name:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #140
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-136]
	bl	opendir
	str	r0, [fp, #-132]
	mov	r0, #255
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-128]
	mov	r0, #255
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-124]
	b	.L2
.L4:
	ldr	r3, [fp, #-120]
	add	r3, r3, #11
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	lstat
	ldr	r3, [fp, #-84]
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-80]
	mov	r0, r3
	bl	getgrgid
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-128]
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	bls	.L3
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	strcpy
.L3:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-124]
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	bls	.L2
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	strcpy
.L2:
	ldr	r0, [fp, #-132]
	bl	readdir
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L4
	ldr	r0, [fp, #-128]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-140]
	str	r2, [r3]
	ldr	r0, [fp, #-124]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-144]
	str	r2, [r3]
	ldr	r0, [fp, #-132]
	bl	closedir
	ldr	r0, [fp, #-128]
	bl	free
	ldr	r0, [fp, #-124]
	bl	free
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	get_longest_uid_and_gid_name, .-get_longest_uid_and_gid_name
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\033[33mr\000"
	.align	2
.LC2:
	.ascii	"\033[32mw\000"
	.align	2
.LC3:
	.ascii	"\033[31mx\000"
	.align	2
.LC4:
	.ascii	"\033[30m-\000"
	.align	2
.LC5:
	.ascii	"\033[34md\000"
	.align	2
.LC6:
	.ascii	"\033[35ml\000"
	.align	2
.LC7:
	.ascii	"\033[36mb\000"
	.align	2
.LC8:
	.ascii	"\033[35mc\000"
	.align	2
.LC9:
	.ascii	"\033[34ms\000"
	.align	2
.LC10:
	.ascii	"\033[36mp\000"
	.text
	.align	2
	.global	get_file_permimssions
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_file_permimssions, %function
get_file_permimssions:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	mov	r0, #70
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, .L35
	str	r3, [fp, #-44]
	ldr	r3, .L35+4
	str	r3, [fp, #-40]
	ldr	r3, .L35+8
	str	r3, [fp, #-36]
	ldr	r3, .L35+12
	str	r3, [fp, #-32]
	ldr	r3, .L35+16
	str	r3, [fp, #-28]
	ldr	r3, .L35+20
	str	r3, [fp, #-24]
	ldr	r3, .L35+24
	str	r3, [fp, #-20]
	ldr	r3, .L35+28
	str	r3, [fp, #-16]
	ldr	r3, .L35+32
	str	r3, [fp, #-12]
	ldr	r3, .L35+36
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L9
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-48]
	bl	strcpy
	b	.L10
.L9:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #40960
	bne	.L11
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-48]
	bl	strcpy
	b	.L10
.L11:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #24576
	bne	.L12
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	strcpy
	b	.L10
.L12:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #8192
	bne	.L13
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-48]
	bl	strcpy
	b	.L10
.L13:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #49152
	bne	.L14
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-48]
	bl	strcpy
	b	.L10
.L14:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #4096
	bne	.L15
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-48]
	bl	strcpy
	b	.L10
.L15:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-48]
	bl	strcpy
.L10:
	ldr	r3, [fp, #-48]
	add	r2, r3, #6
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-44]
	b	.L17
.L16:
	ldr	r3, [fp, #-32]
.L17:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #12
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-40]
	b	.L19
.L18:
	ldr	r3, [fp, #-32]
.L19:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #18
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-36]
	b	.L21
.L20:
	ldr	r3, [fp, #-32]
.L21:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #24
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-44]
	b	.L23
.L22:
	ldr	r3, [fp, #-32]
.L23:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #30
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-40]
	b	.L25
.L24:
	ldr	r3, [fp, #-32]
.L25:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #36
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-36]
	b	.L27
.L26:
	ldr	r3, [fp, #-32]
.L27:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #42
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-44]
	b	.L29
.L28:
	ldr	r3, [fp, #-32]
.L29:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #48
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-40]
	b	.L31
.L30:
	ldr	r3, [fp, #-32]
.L31:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	add	r2, r3, #54
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-36]
	b	.L33
.L32:
	ldr	r3, [fp, #-32]
.L33:
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-48]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	get_file_permimssions, .-get_file_permimssions
	.section	.rodata
	.align	2
.LC11:
	.ascii	"%i B\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC12:
	.ascii	"%0.1f K\000"
	.align	2
.LC13:
	.ascii	"%0.1f M\000"
	.align	2
.LC14:
	.ascii	"%0.1f G\000"
	.align	2
.LC15:
	.ascii	"%0.1f P\000"
	.text
	.align	2
	.global	get_file_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_file_size, %function
get_file_size:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #1000
	bge	.L38
	ldr	r3, [fp, #-16]
	ldr	r2, .L44
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	snprintf
	b	.L39
.L38:
	ldr	r3, [fp, #-16]
	cmp	r3, #1000
	blt	.L40
	ldr	r3, [fp, #-16]
	ldr	r2, .L44+4
	cmp	r3, r2
	bge	.L40
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L44+8
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, .L44+12
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	snprintf
	b	.L39
.L40:
	ldr	r3, [fp, #-16]
	ldr	r2, .L44+4
	cmp	r3, r2
	blt	.L41
	ldr	r3, [fp, #-16]
	ldr	r2, .L44+16
	cmp	r3, r2
	bgt	.L41
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L44+20
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, .L44+24
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	snprintf
	b	.L39
.L41:
	ldr	r3, [fp, #-16]
	ldr	r2, .L44+16
	cmp	r3, r2
	ble	.L42
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L44+28
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, .L44+32
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	snprintf
	b	.L39
.L42:
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L44+36
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, .L44+40
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	snprintf
.L39:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC11
	.word	1000000
	.word	1148846080
	.word	.LC12
	.word	999999999
	.word	1232348160
	.word	.LC13
	.word	1315859240
	.word	.LC14
	.word	1482907561
	.word	.LC15
	.size	get_file_size, .-get_file_size
	.section	.rodata
	.align	2
.LC16:
	.ascii	"/\000"
	.align	2
.LC17:
	.ascii	"\033[35m%s:\012\000"
	.align	2
.LC18:
	.ascii	"%e %b %H:%M\000"
	.align	2
.LC19:
	.ascii	"\033[35m%s \000"
	.align	2
.LC20:
	.ascii	"\033[33m%-*s \000"
	.align	2
.LC21:
	.ascii	"\033[34m%-*s \000"
	.align	2
.LC22:
	.ascii	"\033[31m%7s \000"
	.align	2
.LC23:
	.ascii	"\033[32m%s \000"
	.align	2
.LC24:
	.ascii	"\033[35m%s\000"
	.align	2
.LC25:
	.ascii	"\033[0m -> \000"
	.align	2
.LC26:
	.ascii	"\033[31m%.*s\000"
	.align	2
.LC27:
	.ascii	"\033[0m\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_directory
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_directory, %function
read_directory:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #4096
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-148]
	mov	r1, #4096
	ldr	r0, [fp, #-148]
	bl	getcwd
	mov	r3, #0
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-176]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L47
	ldr	r0, [fp, #-148]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r2, .L63+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-176]
	ldr	r0, [fp, #-148]
	bl	strcat
	ldr	r0, [fp, #-148]
	bl	chdir
	str	r0, [fp, #-164]
	b	.L48
.L47:
	ldr	r1, [fp, #-176]
	ldr	r0, [fp, #-148]
	bl	strcpy
	ldr	r0, [fp, #-176]
	bl	chdir
	str	r0, [fp, #-164]
.L48:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L49
	mov	r3, #1
	b	.L61
.L49:
	ldr	r0, [fp, #-148]
	bl	opendir
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L51
	mov	r3, #1
	b	.L61
.L51:
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L52
.L53:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L52:
	ldr	r0, [fp, #-144]
	bl	readdir
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L53
	ldr	r0, [fp, #-144]
	bl	rewinddir
	mov	r3, #0
	str	r3, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-168]
	sub	r2, fp, #168
	sub	r3, fp, #172
	mov	r1, r3
	ldr	r0, [fp, #-148]
	bl	get_longest_uid_and_gid_name
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	bne	.L55
	ldr	r1, [fp, #-176]
	ldr	r0, .L63+8
	bl	printf
	b	.L55
.L59:
	ldr	r3, [fp, #-140]
	add	r3, r3, #11
	sub	r2, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	lstat
	ldr	r3, [fp, #-92]
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-88]
	mov	r0, r3
	bl	getgrgid
	str	r0, [fp, #-132]
	sub	r3, fp, #116
	add	r3, r3, #64
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-128]
	sub	r0, fp, #28
	ldr	r3, [fp, #-128]
	ldr	r2, .L63+12
	mov	r1, #20
	bl	strftime
	ldr	r3, [fp, #-72]
	mov	r0, r3
	bl	get_file_size
	str	r0, [fp, #-124]
	sub	r3, fp, #116
	mov	r0, r3
	bl	get_file_permimssions
	str	r0, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-100]
	and	r3, r3, #61440
	cmp	r3, #40960
	bne	.L56
	mov	r0, #4096
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-140]
	add	r3, r3, #11
	mov	r2, #4096
	ldr	r1, [fp, #-156]
	mov	r0, r3
	bl	readlink
	str	r0, [fp, #-152]
	b	.L57
.L56:
	mov	r0, #1
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-156]
.L57:
	ldr	r1, [fp, #-120]
	ldr	r0, .L63+16
	bl	printf
	ldr	r3, [fp, #-172]
	add	r1, r3, #2
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L63+20
	bl	printf
	ldr	r3, [fp, #-168]
	add	r1, r3, #2
	ldr	r3, [fp, #-132]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L63+24
	bl	printf
	ldr	r1, [fp, #-124]
	ldr	r0, .L63+28
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L63+32
	bl	printf
	ldr	r3, [fp, #-140]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L63+36
	bl	printf
	ldr	r3, [fp, #-100]
	and	r3, r3, #61440
	cmp	r3, #40960
	bne	.L58
	ldr	r0, .L63+40
	bl	printf
	ldr	r2, [fp, #-156]
	ldr	r1, [fp, #-152]
	ldr	r0, .L63+44
	bl	printf
.L58:
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-124]
	bl	free
	ldr	r0, [fp, #-120]
	bl	free
	ldr	r0, [fp, #-156]
	bl	free
.L55:
	ldr	r0, [fp, #-144]
	bl	readdir
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	bne	.L60
	mov	r0, #10
	bl	putchar
.L60:
	ldr	r0, .L63+48
	bl	printf
	ldr	r0, [fp, #-148]
	bl	free
	ldr	r0, [fp, #-144]
	bl	closedir
	mov	r3, #0
.L61:
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC28
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	read_directory, .-read_directory
	.section	.rodata
	.align	2
.LC29:
	.ascii	".\000"
	.align	2
.LC30:
	.ascii	"\033[0mlsc: Error with the current directory.\000"
	.align	2
.LC31:
	.ascii	"\033[0mlsc: Error with the entered directory: %s\012"
	.ascii	"\000"
	.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, [fp, #-16]
	cmp	r3, #1
	bgt	.L66
	mov	r1, #0
	ldr	r0, .L73
	bl	read_directory
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L73+4
	bl	puts
	b	.L67
.L66:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L68
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	read_directory
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L73+8
	bl	printf
	b	.L67
.L68:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L69
.L71:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	read_directory
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	ldr	r1, [fp, #-8]
	ldr	r0, .L73+8
	bl	printf
.L70:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L69:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L71
.L67:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
