	.file	"515915.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"."
	.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
	mov	esi, 0
	lea	rdi, .LC0[rip]
	call	printdir
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"\346\211\223\345\274\200\345\275\223\345\211\215\347\233\256\345\275\225\345\244\261\350\264\245"
.LC2:
	.string	".."
.LC3:
	.string	"    "
.LC4:
	.string	" folder:%d %s\n"
.LC5:
	.string	" file:%d %s\n"
	.text
	.globl	printdir
	.type	printdir, @function
printdir:
.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, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	DWORD PTR -204[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -180[rbp], 0
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	chdir@PLT
	jmp	.L5
.L11:
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 19[rax]
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	lstat@PLT
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L6
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 19
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 19
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L5
	mov	DWORD PTR -180[rbp], 0
	jmp	.L7
.L8:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -180[rbp], 4
.L7:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L8
	mov	edi, 100
	call	putchar@PLT
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	push	QWORD PTR -104[rbp]
	push	QWORD PTR -112[rbp]
	push	QWORD PTR -120[rbp]
	push	QWORD PTR -128[rbp]
	push	QWORD PTR -136[rbp]
	push	QWORD PTR -144[rbp]
	push	QWORD PTR -152[rbp]
	push	QWORD PTR -160[rbp]
	call	pridetail
	add	rsp, 144
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 19[rax]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -204[rbp]
	lea	edx, 4[rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 19
	mov	esi, edx
	mov	rdi, rax
	call	printdir
	jmp	.L5
.L6:
	mov	DWORD PTR -180[rbp], 0
	jmp	.L9
.L10:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -180[rbp], 4
.L9:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L10
	mov	edi, 45
	call	putchar@PLT
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	push	QWORD PTR -104[rbp]
	push	QWORD PTR -112[rbp]
	push	QWORD PTR -120[rbp]
	push	QWORD PTR -128[rbp]
	push	QWORD PTR -136[rbp]
	push	QWORD PTR -144[rbp]
	push	QWORD PTR -152[rbp]
	push	QWORD PTR -160[rbp]
	call	pridetail
	add	rsp, 144
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 19[rax]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L11
	lea	rdi, .LC2[rip]
	call	chdir@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	closedir@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printdir, .-printdir
	.section	.rodata
.LC6:
	.string	" %lu"
.LC7:
	.string	" %s"
.LC8:
	.string	" %ld"
.LC9:
	.string	" %d\346\234\210 %2d %02d:%02d"
	.text
	.globl	pridetail
	.type	pridetail, @function
pridetail:
.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	eax, DWORD PTR 40[rbp]
	and	eax, 256
	test	eax, eax
	je	.L14
	mov	edi, 114
	call	putchar@PLT
	jmp	.L15
.L14:
	mov	edi, 45
	call	putchar@PLT
.L15:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 128
	test	eax, eax
	je	.L16
	mov	edi, 119
	call	putchar@PLT
	jmp	.L17
.L16:
	mov	edi, 45
	call	putchar@PLT
.L17:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 64
	test	eax, eax
	je	.L18
	mov	edi, 120
	call	putchar@PLT
	jmp	.L19
.L18:
	mov	edi, 45
	call	putchar@PLT
.L19:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 32
	test	eax, eax
	je	.L20
	mov	edi, 114
	call	putchar@PLT
	jmp	.L21
.L20:
	mov	edi, 45
	call	putchar@PLT
.L21:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 16
	test	eax, eax
	je	.L22
	mov	edi, 119
	call	putchar@PLT
	jmp	.L23
.L22:
	mov	edi, 45
	call	putchar@PLT
.L23:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 8
	test	eax, eax
	je	.L24
	mov	edi, 120
	call	putchar@PLT
	jmp	.L25
.L24:
	mov	edi, 45
	call	putchar@PLT
.L25:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 4
	test	eax, eax
	je	.L26
	mov	edi, 114
	call	putchar@PLT
	jmp	.L27
.L26:
	mov	edi, 45
	call	putchar@PLT
.L27:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 2
	test	eax, eax
	je	.L28
	mov	edi, 119
	call	putchar@PLT
	jmp	.L29
.L28:
	mov	edi, 45
	call	putchar@PLT
.L29:
	mov	eax, DWORD PTR 40[rbp]
	and	eax, 1
	test	eax, eax
	je	.L30
	mov	edi, 120
	call	putchar@PLT
	jmp	.L31
.L30:
	mov	edi, 45
	call	putchar@PLT
.L31:
	mov	rax, QWORD PTR 32[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 44[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 48[rbp]
	mov	edi, eax
	call	getgrgid@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR 64[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 104[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 16[rcx]
	lea	esi, 1[rcx]
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pridetail, .-pridetail
	.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	"515915.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	".\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #0
	ldr	r0, .L3
	bl	printdir
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\346\211\223\345\274\200\345\275\223\345\211\215\347"
	.ascii	"\233\256\345\275\225\345\244\261\350\264\245\000"
	.align	2
.LC2:
	.ascii	"..\000"
	.align	2
.LC3:
	.ascii	"    \000"
	.align	2
.LC4:
	.ascii	" folder:%d %s\012\000"
	.align	2
.LC5:
	.ascii	" file:%d %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printdir
	.syntax unified
	.arm
	.fpu softvfp
	.type	printdir, %function
printdir:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	opendir
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L15+4
	bl	puts
	mov	r0, #1
	bl	exit
.L6:
	ldr	r0, [fp, #-120]
	bl	chdir
	b	.L7
.L13:
	ldr	r3, [fp, #-104]
	add	r3, r3, #11
	sub	r2, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	lstat
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L8
	ldr	r3, [fp, #-104]
	add	r3, r3, #11
	ldr	r1, .L15+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-104]
	add	r3, r3, #11
	ldr	r1, .L15+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L9
.L10:
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	str	r3, [fp, #-112]
.L9:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L10
	mov	r0, #100
	bl	putchar
	mov	r0, sp
	sub	r3, fp, #84
	mov	r2, #72
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #100
	ldm	r3, {r0, r1, r2, r3}
	bl	pridetail
	ldr	r3, [fp, #-104]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, [fp, #-124]
	ldr	r0, .L15+20
	bl	printf
	ldr	r3, [fp, #-104]
	add	r2, r3, #11
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	printdir
	b	.L7
.L8:
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L11
.L12:
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	str	r3, [fp, #-112]
.L11:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L12
	mov	r0, #45
	bl	putchar
	mov	r0, sp
	sub	r3, fp, #84
	mov	r2, #72
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #100
	ldm	r3, {r0, r1, r2, r3}
	bl	pridetail
	ldr	r3, [fp, #-104]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, [fp, #-124]
	ldr	r0, .L15+24
	bl	printf
.L7:
	ldr	r0, [fp, #-108]
	bl	readdir
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L15+12
	bl	chdir
	ldr	r0, [fp, #-108]
	bl	closedir
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC6
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	printdir, .-printdir
	.section	.rodata
	.align	2
.LC7:
	.ascii	" %lu\000"
	.align	2
.LC8:
	.ascii	" %s\000"
	.align	2
.LC9:
	.ascii	" %ld\000"
	.align	2
.LC10:
	.ascii	" %d\346\234\210 %2d %02d:%02d\000"
	.text
	.align	2
	.global	pridetail
	.syntax unified
	.arm
	.fpu softvfp
	.type	pridetail, %function
pridetail:
	@ args = 88, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #20]
	and	r3, r3, #256
	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, #128
	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, #64
	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, #32
	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, #16
	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, #8
	cmp	r3, #0
	beq	.L28
	mov	r0, #120
	bl	putchar
	b	.L29
.L28:
	mov	r0, #45
	bl	putchar
.L29:
	ldr	r3, [fp, #20]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L30
	mov	r0, #114
	bl	putchar
	b	.L31
.L30:
	mov	r0, #45
	bl	putchar
.L31:
	ldr	r3, [fp, #20]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L32
	mov	r0, #119
	bl	putchar
	b	.L33
.L32:
	mov	r0, #45
	bl	putchar
.L33:
	ldr	r3, [fp, #20]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L34
	mov	r0, #120
	bl	putchar
	b	.L35
.L34:
	mov	r0, #45
	bl	putchar
.L35:
	ldr	r3, [fp, #24]
	mov	r1, r3
	ldr	r0, .L37
	bl	printf
	ldr	r3, [fp, #28]
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+4
	bl	printf
	ldr	r3, [fp, #32]
	mov	r0, r3
	bl	getgrgid
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+4
	bl	printf
	ldr	r3, [fp, #48]
	mov	r1, r3
	ldr	r0, .L37+8
	bl	printf
	add	r3, fp, #68
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L37+12
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L38:
	.align	2
.L37:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	pridetail, .-pridetail
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
