	.file	"858287.c"
	.intel_syntax noprefix
	.text
	.globl	g_leave_len
	.data
	.align 4
	.type	g_leave_len, @object
	.size	g_leave_len, 4
g_leave_len:
	.long	80
	.globl	g_maxlen
	.bss
	.align 4
	.type	g_maxlen, @object
	.size	g_maxlen, 4
g_maxlen:
	.zero	4
	.globl	i
	.data
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.long	1
	.section	.rodata
.LC0:
	.string	"line: %d"
	.text
	.globl	my_err
	.type	my_err, @function
my_err:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	my_err, .-my_err
	.section	.rodata
.LC1:
	.string	"    "
.LC2:
	.string	"%4ld "
.LC3:
	.string	"%-8s"
.LC4:
	.string	"%6ld"
.LC5:
	.string	"  %s"
	.text
	.globl	display_attribute
	.type	display_attribute, @function
display_attribute:
.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	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 40960
	jne	.L3
	mov	edi, 108
	call	putchar@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L5
	mov	edi, 45
	call	putchar@PLT
	jmp	.L4
.L5:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L6
	mov	edi, 100
	call	putchar@PLT
	jmp	.L4
.L6:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 8192
	jne	.L7
	mov	edi, 99
	call	putchar@PLT
	jmp	.L4
.L7:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 24576
	jne	.L8
	mov	edi, 98
	call	putchar@PLT
	jmp	.L4
.L8:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 4096
	jne	.L9
	mov	edi, 102
	call	putchar@PLT
	jmp	.L4
.L9:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 61440
	cmp	eax, 49152
	jne	.L4
	mov	edi, 115
	call	putchar@PLT
.L4:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 256
	test	eax, eax
	je	.L10
	mov	edi, 114
	call	putchar@PLT
	jmp	.L11
.L10:
	mov	edi, 45
	call	putchar@PLT
.L11:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 128
	test	eax, eax
	je	.L12
	mov	edi, 119
	call	putchar@PLT
	jmp	.L13
.L12:
	mov	edi, 45
	call	putchar@PLT
.L13:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 64
	test	eax, eax
	je	.L14
	mov	edi, 120
	call	putchar@PLT
	jmp	.L15
.L14:
	mov	edi, 45
	call	putchar@PLT
.L15:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 32
	test	eax, eax
	je	.L16
	mov	edi, 114
	call	putchar@PLT
	jmp	.L17
.L16:
	mov	edi, 45
	call	putchar@PLT
.L17:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 16
	test	eax, eax
	je	.L18
	mov	edi, 119
	call	putchar@PLT
	jmp	.L19
.L18:
	mov	edi, 45
	call	putchar@PLT
.L19:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 8
	test	eax, eax
	je	.L20
	mov	edi, 120
	call	putchar@PLT
	jmp	.L21
.L20:
	mov	edi, 45
	call	putchar@PLT
.L21:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 4
	test	eax, eax
	je	.L22
	mov	edi, 114
	call	putchar@PLT
	jmp	.L23
.L22:
	mov	edi, 45
	call	putchar@PLT
.L23:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 2
	test	eax, eax
	je	.L24
	mov	edi, 119
	call	putchar@PLT
	jmp	.L25
.L24:
	mov	edi, 45
	call	putchar@PLT
.L25:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 1
	test	eax, eax
	je	.L26
	mov	edi, 120
	call	putchar@PLT
	jmp	.L27
.L26:
	mov	edi, 45
	call	putchar@PLT
.L27:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 44[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR 48[rbp]
	mov	edi, eax
	call	getgrgid@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR 32[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR 64[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 104[rbp]
	mov	rdi, rax
	call	ctime@PLT
	mov	rdx, rax
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -48[rbp+rax], 0
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	display_attribute, .-display_attribute
	.section	.rodata
.LC6:
	.string	"%-s"
.LC7:
	.string	"  "
	.text
	.globl	display_single
	.type	display_single, @function
display_single:
.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	edx, DWORD PTR g_leave_len[rip]
	mov	eax, DWORD PTR g_maxlen[rip]
	cmp	edx, eax
	jge	.L30
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR g_leave_len[rip], 80
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR g_maxlen[rip]
	sub	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L31
.L32:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L31:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L32
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR g_leave_len[rip]
	mov	edx, DWORD PTR g_maxlen[rip]
	add	edx, 2
	sub	eax, edx
	mov	DWORD PTR g_leave_len[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	display_single, .-display_single
	.section	.rodata
.LC8:
	.string	"\n%s:\n"
	.text
	.globl	display_r
	.type	display_r, @function
display_r:
.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, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -184[rbp], rax
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 46
	je	.L34
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	mov	rdi, rax
	call	display_single
.L34:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L35
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -184[rbp], rax
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 46
	je	.L36
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 19[rax]
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	stat@PLT
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L36
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	display_r
.L36:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display_r, .-display_r
	.section	.rodata
.LC9:
	.string	"stat"
.LC10:
	.string	"  %-s\n"
.LC11:
	.string	" %-s\n"
	.text
	.globl	display
	.type	display, @function
display:
.LFB10:
	.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, 1448
	.cfi_offset 3, -24
	mov	DWORD PTR -1444[rbp], edi
	mov	QWORD PTR -1456[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1432[rbp], 0
	mov	DWORD PTR -1428[rbp], 0
	jmp	.L41
.L44:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L42
	mov	DWORD PTR -1428[rbp], 0
	jmp	.L43
.L42:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -1428[rbp]
	cdqe
	mov	BYTE PTR -1280[rbp+rax], dl
	add	DWORD PTR -1428[rbp], 1
.L43:
	add	DWORD PTR -1432[rbp], 1
.L41:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -1456[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L44
	mov	eax, DWORD PTR -1428[rbp]
	cdqe
	mov	BYTE PTR -1280[rbp+rax], 0
	lea	rdx, -1424[rbp]
	mov	rax, QWORD PTR -1456[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	cmp	eax, -1
	jne	.L45
	mov	esi, 199
	lea	rdi, .LC9[rip]
	call	my_err
.L45:
	cmp	DWORD PTR -1444[rbp], 7
	ja	.L62
	mov	eax, DWORD PTR -1444[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L48[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L48[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L48:
	.long	.L55-.L48
	.long	.L54-.L48
	.long	.L53-.L48
	.long	.L52-.L48
	.long	.L51-.L48
	.long	.L50-.L48
	.long	.L49-.L48
	.long	.L47-.L48
	.text
.L55:
	movzx	eax, BYTE PTR -1280[rbp]
	cmp	al, 46
	je	.L63
	lea	rax, -1280[rbp]
	mov	rdi, rax
	call	display_single
	jmp	.L63
.L54:
	lea	rax, -1280[rbp]
	mov	rdi, rax
	call	display_single
	jmp	.L57
.L53:
	movzx	eax, BYTE PTR -1280[rbp]
	cmp	al, 46
	je	.L64
	lea	rax, -1280[rbp]
	push	QWORD PTR -1288[rbp]
	push	QWORD PTR -1296[rbp]
	push	QWORD PTR -1304[rbp]
	push	QWORD PTR -1312[rbp]
	push	QWORD PTR -1320[rbp]
	push	QWORD PTR -1328[rbp]
	push	QWORD PTR -1336[rbp]
	push	QWORD PTR -1344[rbp]
	push	QWORD PTR -1352[rbp]
	push	QWORD PTR -1360[rbp]
	push	QWORD PTR -1368[rbp]
	push	QWORD PTR -1376[rbp]
	push	QWORD PTR -1384[rbp]
	push	QWORD PTR -1392[rbp]
	push	QWORD PTR -1400[rbp]
	push	QWORD PTR -1408[rbp]
	push	QWORD PTR -1416[rbp]
	push	QWORD PTR -1424[rbp]
	mov	rdi, rax
	call	display_attribute
	add	rsp, 144
	lea	rax, -1280[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L64
.L52:
	lea	rax, -1280[rbp]
	push	QWORD PTR -1288[rbp]
	push	QWORD PTR -1296[rbp]
	push	QWORD PTR -1304[rbp]
	push	QWORD PTR -1312[rbp]
	push	QWORD PTR -1320[rbp]
	push	QWORD PTR -1328[rbp]
	push	QWORD PTR -1336[rbp]
	push	QWORD PTR -1344[rbp]
	push	QWORD PTR -1352[rbp]
	push	QWORD PTR -1360[rbp]
	push	QWORD PTR -1368[rbp]
	push	QWORD PTR -1376[rbp]
	push	QWORD PTR -1384[rbp]
	push	QWORD PTR -1392[rbp]
	push	QWORD PTR -1400[rbp]
	push	QWORD PTR -1408[rbp]
	push	QWORD PTR -1416[rbp]
	push	QWORD PTR -1424[rbp]
	mov	rdi, rax
	call	display_attribute
	add	rsp, 144
	lea	rax, -1280[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L57
.L51:
	lea	rax, -1024[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	getcwd@PLT
	lea	rax, -1024[rbp]
	mov	rdi, rax
	call	display_r
	jmp	.L57
.L50:
	movzx	eax, BYTE PTR -1280[rbp]
	cmp	al, 46
	je	.L65
	lea	rax, -1280[rbp]
	mov	rdi, rax
	call	display_single
	jmp	.L65
.L49:
	movzx	eax, BYTE PTR -1280[rbp]
	cmp	al, 46
	je	.L66
	lea	rax, -1280[rbp]
	push	QWORD PTR -1288[rbp]
	push	QWORD PTR -1296[rbp]
	push	QWORD PTR -1304[rbp]
	push	QWORD PTR -1312[rbp]
	push	QWORD PTR -1320[rbp]
	push	QWORD PTR -1328[rbp]
	push	QWORD PTR -1336[rbp]
	push	QWORD PTR -1344[rbp]
	push	QWORD PTR -1352[rbp]
	push	QWORD PTR -1360[rbp]
	push	QWORD PTR -1368[rbp]
	push	QWORD PTR -1376[rbp]
	push	QWORD PTR -1384[rbp]
	push	QWORD PTR -1392[rbp]
	push	QWORD PTR -1400[rbp]
	push	QWORD PTR -1408[rbp]
	push	QWORD PTR -1416[rbp]
	push	QWORD PTR -1424[rbp]
	mov	rdi, rax
	call	display_attribute
	add	rsp, 144
	lea	rax, -1280[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L66
.L47:
	lea	rax, -1280[rbp]
	push	QWORD PTR -1288[rbp]
	push	QWORD PTR -1296[rbp]
	push	QWORD PTR -1304[rbp]
	push	QWORD PTR -1312[rbp]
	push	QWORD PTR -1320[rbp]
	push	QWORD PTR -1328[rbp]
	push	QWORD PTR -1336[rbp]
	push	QWORD PTR -1344[rbp]
	push	QWORD PTR -1352[rbp]
	push	QWORD PTR -1360[rbp]
	push	QWORD PTR -1368[rbp]
	push	QWORD PTR -1376[rbp]
	push	QWORD PTR -1384[rbp]
	push	QWORD PTR -1392[rbp]
	push	QWORD PTR -1400[rbp]
	push	QWORD PTR -1408[rbp]
	push	QWORD PTR -1416[rbp]
	push	QWORD PTR -1424[rbp]
	mov	rdi, rax
	call	display_attribute
	add	rsp, 144
	lea	rax, -1280[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L57
.L62:
	nop
	jmp	.L57
.L63:
	nop
	jmp	.L57
.L64:
	nop
	jmp	.L57
.L65:
	nop
	jmp	.L57
.L66:
	nop
.L57:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	display, .-display
	.section	.rodata
.LC12:
	.string	"opendir"
.LC13:
	.string	"too many files under this dir"
.LC14:
	.string	"readdir"
	.text
	.globl	display_dir
	.type	display_dir, @function
display_dir:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -1052672[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 328
	.cfi_offset 3, -24
	mov	DWORD PTR -1052996[rbp], edi
	mov	QWORD PTR -1053008[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1052992[rbp], 0
	mov	rax, QWORD PTR -1053008[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -1052976[rbp], rax
	cmp	QWORD PTR -1052976[rbp], 0
	jne	.L69
	mov	esi, 261
	lea	rdi, .LC12[rip]
	call	my_err
	jmp	.L69
.L71:
	mov	eax, DWORD PTR g_maxlen[rip]
	movsx	rbx, eax
	mov	rax, QWORD PTR -1052968[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L70
	mov	rax, QWORD PTR -1052968[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR g_maxlen[rip], eax
.L70:
	add	DWORD PTR -1052992[rbp], 1
.L69:
	mov	rax, QWORD PTR -1052976[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -1052968[rbp], rax
	cmp	QWORD PTR -1052968[rbp], 0
	jne	.L71
	mov	rax, QWORD PTR -1052976[rbp]
	mov	rdi, rax
	call	closedir@PLT
	cmp	DWORD PTR -1052992[rbp], 256
	jle	.L72
	mov	esi, 272
	lea	rdi, .LC13[rip]
	call	my_err
.L72:
	mov	rax, QWORD PTR -1053008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1052980[rbp], eax
	mov	rax, QWORD PTR -1053008[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -1052976[rbp], rax
	mov	DWORD PTR -1052988[rbp], 0
	jmp	.L73
.L75:
	mov	rax, QWORD PTR -1052976[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -1052968[rbp], rax
	cmp	QWORD PTR -1052968[rbp], 0
	jne	.L74
	mov	esi, 281
	lea	rdi, .LC14[rip]
	call	my_err
.L74:
	mov	eax, DWORD PTR -1052980[rbp]
	movsx	rdx, eax
	lea	rsi, -1052960[rbp]
	mov	eax, DWORD PTR -1052988[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 12
	add	rax, rcx
	lea	rcx, [rsi+rax]
	mov	rax, QWORD PTR -1053008[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -1052968[rbp]
	lea	rdx, 19[rax]
	lea	rsi, -1052960[rbp]
	mov	eax, DWORD PTR -1052988[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 12
	add	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	add	DWORD PTR -1052988[rbp], 1
.L73:
	mov	eax, DWORD PTR -1052988[rbp]
	cmp	eax, DWORD PTR -1052992[rbp]
	jl	.L75
	mov	DWORD PTR -1052988[rbp], 0
	jmp	.L76
.L80:
	mov	DWORD PTR -1052984[rbp], 0
	jmp	.L77
.L79:
	mov	eax, DWORD PTR -1052984[rbp]
	add	eax, 1
	lea	rcx, -1052960[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 12
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rsi, -1052960[rbp]
	mov	eax, DWORD PTR -1052984[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 12
	add	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L78
	mov	eax, DWORD PTR -1052984[rbp]
	add	eax, 1
	lea	rcx, -1052960[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 12
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -4128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rcx, -1052960[rbp]
	mov	eax, DWORD PTR -1052984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 12
	add	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -1052984[rbp]
	add	eax, 1
	lea	rsi, -1052960[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 12
	add	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rcx, -1052960[rbp]
	mov	eax, DWORD PTR -1052984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 12
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -4128[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L78:
	add	DWORD PTR -1052984[rbp], 1
.L77:
	mov	eax, DWORD PTR -1052992[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -1052988[rbp]
	cmp	DWORD PTR -1052984[rbp], eax
	jl	.L79
	add	DWORD PTR -1052988[rbp], 1
.L76:
	mov	eax, DWORD PTR -1052992[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1052988[rbp], eax
	jl	.L80
	cmp	DWORD PTR -1052996[rbp], 4
	jne	.L81
	lea	rcx, -1052960[rbp]
	mov	eax, DWORD PTR -1052988[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 12
	add	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -1052996[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	display
	jmp	.L82
.L81:
	mov	DWORD PTR -1052988[rbp], 0
	jmp	.L83
.L84:
	lea	rcx, -1052960[rbp]
	mov	eax, DWORD PTR -1052988[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 12
	add	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -1052996[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	display
	add	DWORD PTR -1052988[rbp], 1
.L83:
	mov	eax, DWORD PTR -1052988[rbp]
	cmp	eax, DWORD PTR -1052992[rbp]
	jl	.L84
.L82:
	mov	rax, QWORD PTR -1052976[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -1052996[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L87
	mov	edi, 10
	call	putchar@PLT
.L87:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display_dir, .-display_dir
	.section	.rodata
.LC15:
	.string	"my_ls: invalid options %-c\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 248
	.cfi_offset 3, -24
	mov	DWORD PTR -4340[rbp], edi
	mov	QWORD PTR -4352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4308[rbp], 0
	mov	DWORD PTR -4320[rbp], 0
	mov	DWORD PTR -4312[rbp], 0
	mov	DWORD PTR -4324[rbp], 1
	jmp	.L89
.L93:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L90
	mov	DWORD PTR -4316[rbp], 1
	jmp	.L91
.L92:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4316[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4320[rbp]
	cdqe
	mov	BYTE PTR -4160[rbp+rax], dl
	add	DWORD PTR -4316[rbp], 1
	add	DWORD PTR -4320[rbp], 1
.L91:
	mov	eax, DWORD PTR -4316[rbp]
	movsx	rbx, eax
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L92
	add	DWORD PTR -4312[rbp], 1
.L90:
	add	DWORD PTR -4324[rbp], 1
.L89:
	mov	eax, DWORD PTR -4324[rbp]
	cmp	eax, DWORD PTR -4340[rbp]
	jl	.L93
	mov	DWORD PTR -4324[rbp], 0
	jmp	.L94
.L99:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	movzx	eax, BYTE PTR -4160[rbp+rax]
	cmp	al, 97
	jne	.L95
	or	DWORD PTR -4308[rbp], 1
	jmp	.L96
.L95:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	movzx	eax, BYTE PTR -4160[rbp+rax]
	cmp	al, 108
	jne	.L97
	or	DWORD PTR -4308[rbp], 2
	jmp	.L96
.L97:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	movzx	eax, BYTE PTR -4160[rbp+rax]
	cmp	al, 82
	jne	.L98
	or	DWORD PTR -4308[rbp], 4
	jmp	.L96
.L98:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	movzx	eax, BYTE PTR -4160[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L96:
	add	DWORD PTR -4324[rbp], 1
.L94:
	mov	eax, DWORD PTR -4324[rbp]
	cmp	eax, DWORD PTR -4320[rbp]
	jl	.L99
	mov	eax, DWORD PTR -4320[rbp]
	cdqe
	mov	BYTE PTR -4160[rbp+rax], 0
	mov	eax, DWORD PTR -4312[rbp]
	add	eax, 1
	cmp	DWORD PTR -4340[rbp], eax
	jne	.L100
	lea	rax, -4128[rbp]
	mov	WORD PTR [rax], 12078
	mov	BYTE PTR 2[rax], 0
	mov	BYTE PTR -4126[rbp], 0
	lea	rdx, -4128[rbp]
	mov	eax, DWORD PTR -4308[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	display_dir
	mov	eax, 0
	jmp	.L112
.L100:
	mov	DWORD PTR -4324[rbp], 1
.L111:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L102
	add	DWORD PTR -4324[rbp], 1
	jmp	.L103
.L102:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -4128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -4304[rbp]
	lea	rax, -4128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L104
	mov	esi, 367
	lea	rdi, .LC9[rip]
	call	my_err
.L104:
	mov	eax, DWORD PTR -4280[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L105
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	movzx	eax, BYTE PTR -4128[rbp+rax]
	cmp	al, 47
	je	.L106
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	BYTE PTR -4128[rbp+rax], 47
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	BYTE PTR -4128[rbp+rax], 0
	jmp	.L107
.L106:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	BYTE PTR -4128[rbp+rax], 0
.L107:
	cmp	DWORD PTR -4308[rbp], 4
	je	.L108
	cmp	DWORD PTR -4308[rbp], 5
	je	.L108
	cmp	DWORD PTR -4308[rbp], 6
	je	.L108
	cmp	DWORD PTR -4308[rbp], 7
	jne	.L109
.L108:
	lea	rax, -4128[rbp]
	mov	rdi, rax
	call	display_r
	jmp	.L110
.L109:
	lea	rdx, -4128[rbp]
	mov	eax, DWORD PTR -4308[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	display_dir
.L110:
	add	DWORD PTR -4324[rbp], 1
	jmp	.L103
.L105:
	lea	rdx, -4128[rbp]
	mov	eax, DWORD PTR -4308[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	display
	add	DWORD PTR -4324[rbp], 1
.L103:
	mov	eax, DWORD PTR -4324[rbp]
	cmp	eax, DWORD PTR -4340[rbp]
	jl	.L111
	mov	eax, 0
.L112:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L113
	call	__stack_chk_fail@PLT
.L113:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"858287.c"
	.text
	.global	g_leave_len
	.data
	.align	2
	.type	g_leave_len, %object
	.size	g_leave_len, 4
g_leave_len:
	.word	80
	.comm	g_maxlen,4,4
	.global	i
	.align	2
	.type	i, %object
	.size	i, 4
i:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"line: %d\000"
	.text
	.align	2
	.global	my_err
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_err, %function
my_err:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	my_err, .-my_err
	.section	.rodata
	.align	2
.LC1:
	.ascii	"    \000"
	.align	2
.LC2:
	.ascii	"%4ld \000"
	.align	2
.LC3:
	.ascii	"%-8s\000"
	.align	2
.LC4:
	.ascii	"%6ld\000"
	.align	2
.LC5:
	.ascii	"  %s\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	display_attribute
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_attribute, %function
display_attribute:
	@ args = 92, pretend = 16, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #92]
	str	r3, [fp, #-56]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #40960
	bne	.L5
	mov	r0, #108
	bl	putchar
	b	.L6
.L5:
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L7
	mov	r0, #45
	bl	putchar
	b	.L6
.L7:
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L8
	mov	r0, #100
	bl	putchar
	b	.L6
.L8:
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #8192
	bne	.L9
	mov	r0, #99
	bl	putchar
	b	.L6
.L9:
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #24576
	bne	.L10
	mov	r0, #98
	bl	putchar
	b	.L6
.L10:
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #4096
	bne	.L11
	mov	r0, #102
	bl	putchar
	b	.L6
.L11:
	ldr	r3, [fp, #20]
	and	r3, r3, #61440
	cmp	r3, #49152
	bne	.L6
	mov	r0, #115
	bl	putchar
.L6:
	ldr	r3, [fp, #20]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L12
	mov	r0, #114
	bl	putchar
	b	.L13
.L12:
	mov	r0, #45
	bl	putchar
.L13:
	ldr	r3, [fp, #20]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L14
	mov	r0, #119
	bl	putchar
	b	.L15
.L14:
	mov	r0, #45
	bl	putchar
.L15:
	ldr	r3, [fp, #20]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L16
	mov	r0, #120
	bl	putchar
	b	.L17
.L16:
	mov	r0, #45
	bl	putchar
.L17:
	ldr	r3, [fp, #20]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L18
	mov	r0, #114
	bl	putchar
	b	.L19
.L18:
	mov	r0, #45
	bl	putchar
.L19:
	ldr	r3, [fp, #20]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L20
	mov	r0, #119
	bl	putchar
	b	.L21
.L20:
	mov	r0, #45
	bl	putchar
.L21:
	ldr	r3, [fp, #20]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L22
	mov	r0, #120
	bl	putchar
	b	.L23
.L22:
	mov	r0, #45
	bl	putchar
.L23:
	ldr	r3, [fp, #20]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L24
	mov	r0, #114
	bl	putchar
	b	.L25
.L24:
	mov	r0, #45
	bl	putchar
.L25:
	ldr	r3, [fp, #20]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L26
	mov	r0, #119
	bl	putchar
	b	.L27
.L26:
	mov	r0, #45
	bl	putchar
.L27:
	ldr	r3, [fp, #20]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L28
	mov	r0, #120
	bl	putchar
	b	.L29
.L28:
	mov	r0, #45
	bl	putchar
.L29:
	ldr	r0, .L31+4
	bl	printf
	ldr	r3, [fp, #28]
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-48]
	ldr	r3, [fp, #32]
	mov	r0, r3
	bl	getgrgid
	str	r0, [fp, #-44]
	ldr	r3, [fp, #24]
	mov	r1, r3
	ldr	r0, .L31+8
	bl	printf
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L31+12
	bl	printf
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L31+12
	bl	printf
	ldr	r3, [fp, #48]
	mov	r1, r3
	ldr	r0, .L31+16
	bl	printf
	add	r3, fp, #68
	mov	r0, r3
	bl	ctime
	mov	r2, r0
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-36]
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L31+20
	bl	printf
	nop
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L32:
	.align	2
.L31:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	display_attribute, .-display_attribute
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%-s\000"
	.align	2
.LC8:
	.ascii	"  \000"
	.text
	.align	2
	.global	display_single
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_single, %function
display_single:
	@ 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, .L37
	ldr	r2, [r3]
	ldr	r3, .L37+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L34
	mov	r0, #10
	bl	putchar
	ldr	r3, .L37
	mov	r2, #80
	str	r2, [r3]
.L34:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L37+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L37+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L35
.L36:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L35:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L36
	ldr	r0, .L37+12
	bl	printf
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, .L37+4
	ldr	r3, [r3]
	add	r3, r3, #2
	sub	r3, r2, r3
	ldr	r2, .L37
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	g_leave_len
	.word	g_maxlen
	.word	.LC7
	.word	.LC8
	.size	display_single, .-display_single
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\012%s:\012\000"
	.align	2
.LC10:
	.ascii	"/\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	display_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_r, %function
display_r:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-120]
	ldr	r0, .L46+4
	bl	printf
	ldr	r0, [fp, #-120]
	bl	opendir
	str	r0, [fp, #-112]
	b	.L40
.L41:
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L40
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r0, r3
	bl	display_single
.L40:
	ldr	r0, [fp, #-112]
	bl	readdir
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L41
	ldr	r0, [fp, #-112]
	bl	closedir
	ldr	r0, [fp, #-120]
	bl	opendir
	str	r0, [fp, #-112]
	b	.L42
.L43:
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L42
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	sub	r2, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	stat
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L42
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-104]
	ldr	r0, [fp, #-104]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	ldr	r2, .L46+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	strcat
	ldr	r0, [fp, #-104]
	bl	display_r
.L42:
	ldr	r0, [fp, #-112]
	bl	readdir
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L43
	ldr	r0, [fp, #-112]
	bl	closedir
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC11
	.word	.LC9
	.word	.LC10
	.size	display_r, .-display_r
	.section	.rodata
	.align	2
.LC12:
	.ascii	"stat\000"
	.align	2
.LC13:
	.ascii	"  %-s\012\000"
	.align	2
.LC14:
	.ascii	" %-s\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 1368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1440
	sub	sp, sp, #8
	str	r0, [fp, #-1368]
	str	r1, [fp, #-1372]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1364]
	mov	r3, #0
	str	r3, [fp, #-1360]
	b	.L49
.L52:
	ldr	r3, [fp, #-1364]
	ldr	r2, [fp, #-1372]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L50
	mov	r3, #0
	str	r3, [fp, #-1360]
	b	.L51
.L50:
	ldr	r3, [fp, #-1364]
	ldr	r2, [fp, #-1372]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1360]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1360]
	add	r3, r3, #1
	str	r3, [fp, #-1360]
.L51:
	ldr	r3, [fp, #-1364]
	add	r3, r3, #1
	str	r3, [fp, #-1364]
.L49:
	ldr	r0, [fp, #-1372]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1364]
	cmp	r2, r3
	bhi	.L52
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1360]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1344
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, [fp, #-1372]
	bl	lstat
	mov	r3, r0
	cmn	r3, #1
	bne	.L53
	mov	r1, #199
	ldr	r0, .L75+4
	bl	my_err
.L53:
	ldr	r3, [fp, #-1368]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L70
.L56:
	.word	.L63
	.word	.L62
	.word	.L61
	.word	.L60
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L55
.L63:
	ldrb	r3, [fp, #-1264]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L71
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	display_single
	b	.L71
.L62:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	display_single
	b	.L65
.L61:
	ldrb	r3, [fp, #-1264]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L72
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp, #72]
	mov	r0, sp
	sub	r3, fp, #1328
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #72
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #1344
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	bl	display_attribute
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L75+8
	bl	printf
	b	.L72
.L60:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp, #72]
	mov	r0, sp
	sub	r3, fp, #1328
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #72
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #1344
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	bl	display_attribute
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L75+8
	bl	printf
	b	.L65
.L59:
	sub	r3, fp, #1008
	mov	r1, #1000
	mov	r0, r3
	bl	getcwd
	sub	r3, fp, #1008
	mov	r0, r3
	bl	display_r
	b	.L65
.L58:
	ldrb	r3, [fp, #-1264]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L73
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	display_single
	b	.L73
.L57:
	ldrb	r3, [fp, #-1264]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L74
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp, #72]
	mov	r0, sp
	sub	r3, fp, #1328
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #72
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #1344
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	bl	display_attribute
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L75+12
	bl	printf
	b	.L74
.L55:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp, #72]
	mov	r0, sp
	sub	r3, fp, #1328
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #72
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #1344
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	bl	display_attribute
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L75+12
	bl	printf
	b	.L65
.L70:
	nop
	b	.L65
.L71:
	nop
	b	.L65
.L72:
	nop
	b	.L65
.L73:
	nop
	b	.L65
.L74:
	nop
.L65:
	nop
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC15
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	display, .-display
	.section	.rodata
	.align	2
.LC16:
	.ascii	"opendir\000"
	.align	2
.LC17:
	.ascii	"too many files under this dir\000"
	.align	2
.LC18:
	.ascii	"readdir\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	display_dir
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_dir, %function
display_dir:
	@ args = 0, pretend = 0, frame = 1052968
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1048576
	sub	sp, sp, #4352
	sub	sp, sp, #44
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	str	r0, [r3, #-292]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	str	r1, [r3, #-296]
	ldr	r3, .L98
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-296]
	bl	opendir
	str	r0, [r4, #-276]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-276]
	cmp	r3, #0
	bne	.L79
	ldr	r1, .L98+4
	ldr	r0, .L98+8
	bl	my_err
	b	.L79
.L81:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-272]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	ldr	r2, .L98+12
	ldr	r2, [r2]
	cmp	r3, r2
	bls	.L80
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-272]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L98+12
	str	r2, [r3]
.L80:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-288]
	add	r3, r3, #1
	str	r3, [r2, #-288]
.L79:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-276]
	bl	readdir
	str	r0, [r4, #-272]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-272]
	cmp	r3, #0
	bne	.L81
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-276]
	bl	closedir
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-288]
	cmp	r3, #256
	ble	.L82
	mov	r1, #272
	ldr	r0, .L98+16
	bl	my_err
.L82:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-296]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	str	r2, [r3, #-268]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-296]
	bl	opendir
	str	r0, [r4, #-276]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-284]
	b	.L83
.L85:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-276]
	bl	readdir
	str	r0, [r4, #-272]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-272]
	cmp	r3, #0
	bne	.L84
	ldr	r1, .L98+20
	ldr	r0, .L98+24
	bl	my_err
.L84:
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-284]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r0, r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-268]
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-296]
	bl	strncpy
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-284]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r2, r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-272]
	add	r3, r3, #11
	mov	r1, r3
	mov	r0, r2
	bl	strcat
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-284]
	add	r3, r3, #1
	str	r3, [r2, #-284]
.L83:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-284]
	ldr	r3, [r3, #-288]
	cmp	r2, r3
	blt	.L85
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-284]
	b	.L86
.L90:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-280]
	b	.L87
.L89:
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-280]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r0, r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-280]
	add	r1, r3, #1
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L88
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-280]
	add	r1, r3, #1
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-280]
	add	r1, r3, #1
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r0, r2, r3
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-280]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-280]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
.L88:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-280]
	add	r3, r3, #1
	str	r3, [r2, #-280]
.L87:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-288]
	sub	r2, r3, #1
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-284]
	sub	r2, r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-280]
	cmp	r3, r2
	blt	.L89
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-284]
	add	r3, r3, #1
	str	r3, [r2, #-284]
.L86:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-288]
	sub	r2, r3, #1
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-284]
	cmp	r3, r2
	blt	.L90
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-292]
	cmp	r3, #4
	bne	.L91
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-284]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r2, r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r2
	ldr	r0, [r3, #-292]
	bl	display
	b	.L92
.L91:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-284]
	b	.L93
.L94:
	ldr	r2, .L98+28
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r3, #-284]
	mov	r3, r1
	lsl	r3, r3, #12
	add	r3, r3, r1
	add	r2, r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r2
	ldr	r0, [r3, #-292]
	bl	display
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-284]
	add	r3, r3, #1
	str	r3, [r2, #-284]
.L93:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-284]
	ldr	r3, [r3, #-288]
	cmp	r2, r3
	blt	.L94
.L92:
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r0, [r3, #-276]
	bl	closedir
	sub	r3, fp, #1048576
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-292]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L97
	mov	r0, #10
	bl	putchar
.L97:
	nop
	ldr	r3, .L98
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L96
	bl	__stack_chk_fail
.L96:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L99:
	.align	2
.L98:
	.word	.LC19
	.word	261
	.word	.LC16
	.word	g_maxlen
	.word	.LC17
	.word	281
	.word	.LC18
	.word	-1052936
	.size	display_dir, .-display_dir
	.section	.rodata
	.align	2
.LC20:
	.ascii	"my_ls: invalid options %-c\012\000"
	.align	2
.LC21:
	.ascii	"./\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 = 4256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4224
	sub	sp, sp, #32
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r0, [r3, #-156]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r1, [r3, #-160]
	ldr	r3, .L126
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-144]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-136]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-148]
	b	.L101
.L105:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L102
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-140]
	b	.L103
.L104:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-140]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-144]
	add	r3, r1, r3
	sub	r3, r3, #40
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-140]
	add	r3, r3, #1
	str	r3, [r2, #-140]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-144]
	add	r3, r3, #1
	str	r3, [r2, #-144]
.L103:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-140]
	cmp	r2, r3
	bhi	.L104
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-136]
	add	r3, r3, #1
	str	r3, [r2, #-136]
.L102:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r3, #1
	str	r3, [r2, #-148]
.L101:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-148]
	ldr	r3, [r3, #-156]
	cmp	r2, r3
	blt	.L105
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-148]
	b	.L106
.L111:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r2, r3
	sub	r3, r3, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L107
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	orr	r3, r3, #1
	str	r3, [r2, #-132]
	b	.L108
.L107:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r2, r3
	sub	r3, r3, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L109
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	orr	r3, r3, #2
	str	r3, [r2, #-132]
	b	.L108
.L109:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r2, r3
	sub	r3, r3, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L110
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	orr	r3, r3, #4
	str	r3, [r2, #-132]
	b	.L108
.L110:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r2, r3
	sub	r3, r3, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L126+4
	bl	printf
	mov	r0, #1
	bl	exit
.L108:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r3, #1
	str	r3, [r2, #-148]
.L106:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-148]
	ldr	r3, [r3, #-144]
	cmp	r2, r3
	blt	.L111
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-144]
	add	r3, r2, r3
	sub	r3, r3, #40
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-136]
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-156]
	cmp	r2, r3
	bne	.L112
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L126+8
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3, #-6]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #4
	mov	r1, r3
	ldr	r0, [r2, #-132]
	bl	display_dir
	mov	r3, #0
	b	.L124
.L112:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-148]
.L123:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L114
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r3, #1
	str	r3, [r2, #-148]
	b	.L115
.L114:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r2, fp, #4224
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L116
	ldr	r1, .L126+12
	ldr	r0, .L126+16
	bl	my_err
.L116:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-112]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L117
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-8]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L118
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	mov	r2, #47
	strb	r2, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-8]
	b	.L119
.L118:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-160]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-8]
.L119:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	cmp	r3, #4
	beq	.L120
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	cmp	r3, #5
	beq	.L120
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	cmp	r3, #6
	beq	.L120
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	cmp	r3, #7
	bne	.L121
.L120:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	display_r
	b	.L122
.L121:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #4
	mov	r1, r3
	ldr	r0, [r2, #-132]
	bl	display_dir
.L122:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r3, #1
	str	r3, [r2, #-148]
	b	.L115
.L117:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #4
	mov	r1, r3
	ldr	r0, [r2, #-132]
	bl	display
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-148]
	add	r3, r3, #1
	str	r3, [r2, #-148]
.L115:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-148]
	ldr	r3, [r3, #-156]
	cmp	r2, r3
	blt	.L123
	mov	r3, #0
.L124:
	ldr	r2, .L126
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L125
	bl	__stack_chk_fail
.L125:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L127:
	.align	2
.L126:
	.word	.LC22
	.word	.LC20
	.word	.LC21
	.word	367
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
