	.file	"348668.c"
	.intel_syntax noprefix
	.text
	.globl	finals
	.bss
	.align 32
	.type	finals, @object
	.size	finals, 512
finals:
	.zero	512
	.section	.rodata
.LC0:
	.string	"%s/%s"
.LC1:
	.string	"."
.LC2:
	.string	".."
.LC3:
	.string	"    "
.LC4:
	.string	"\342\224\202   "
.LC5:
	.string	"\342\224\224\342\224\200\342\224\200 %s\n"
.LC6:
	.string	"\342\224\234\342\224\200\342\224\200 %s\n"
	.text
	.globl	print_dir_tree_r
	.type	print_dir_tree_r, @function
print_dir_tree_r:
.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, 720
	mov	QWORD PTR -712[rbp], rdi
	mov	DWORD PTR -716[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -712[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -688[rbp], rax
	cmp	QWORD PTR -688[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -712[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -688[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -696[rbp], rax
	jmp	.L3
.L15:
	mov	rax, QWORD PTR -696[rbp]
	lea	rcx, 19[rax]
	mov	rdx, QWORD PTR -712[rbp]
	lea	rax, -528[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -672[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -696[rbp]
	add	rax, 19
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -688[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -680[rbp], rax
	cmp	QWORD PTR -680[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -680[rbp]
	add	rax, 19
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -680[rbp]
	add	rax, 19
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
.L5:
	mov	rax, QWORD PTR -696[rbp]
	add	rax, 19
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR -696[rbp]
	add	rax, 19
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	mov	DWORD PTR -700[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -700[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, finals[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L8
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	add	DWORD PTR -700[rbp], 1
.L7:
	mov	eax, DWORD PTR -700[rbp]
	cmp	eax, DWORD PTR -716[rbp]
	jl	.L10
	cmp	QWORD PTR -680[rbp], 0
	jne	.L11
	mov	eax, DWORD PTR -716[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, finals[rip]
	mov	DWORD PTR [rdx+rax], 1
.L11:
	mov	eax, DWORD PTR -716[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, finals[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -696[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -696[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	eax, DWORD PTR -648[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L6
	mov	eax, DWORD PTR -648[rbp]
	and	eax, 61440
	cmp	eax, 40960
	je	.L6
	mov	rax, QWORD PTR -712[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -712[rbp]
	mov	rdi, rax
	call	chdir@PLT
.L14:
	mov	eax, DWORD PTR -716[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -696[rbp]
	add	rax, 19
	mov	esi, edx
	mov	rdi, rax
	call	print_dir_tree_r
	mov	rax, QWORD PTR -712[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC2[rip]
	call	chdir@PLT
.L6:
	mov	rax, QWORD PTR -680[rbp]
	mov	QWORD PTR -696[rbp], rax
.L3:
	cmp	QWORD PTR -696[rbp], 0
	jne	.L15
	mov	rax, QWORD PTR -688[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -716[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, finals[rip]
	mov	DWORD PTR [rdx+rax], 0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_dir_tree_r, .-print_dir_tree_r
	.globl	print_dir_tree
	.type	print_dir_tree, @function
print_dir_tree:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, finals[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	QWORD PTR -8[rbp], 1
.L18:
	cmp	QWORD PTR -8[rbp], 127
	jbe	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	print_dir_tree_r
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_dir_tree, .-print_dir_tree
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jle	.L21
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	jmp	.L22
.L21:
	lea	rax, .LC1[rip]
.L22:
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_dir_tree
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"348668.c"
	.text
	.comm	finals,512,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s/%s\000"
	.align	2
.LC1:
	.ascii	".\000"
	.align	2
.LC2:
	.ascii	"..\000"
	.align	2
.LC3:
	.ascii	"    \000"
	.align	2
.LC4:
	.ascii	"\342\224\202   \000"
	.align	2
.LC5:
	.ascii	"\342\224\224\342\224\200\342\224\200 %s\012\000"
	.align	2
.LC6:
	.ascii	"\342\224\234\342\224\200\342\224\200 %s\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_dir_tree_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_dir_tree_r, %function
print_dir_tree_r:
	@ args = 0, pretend = 0, frame = 632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	str	r0, [fp, #-632]
	str	r1, [fp, #-636]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-632]
	bl	opendir
	str	r0, [fp, #-620]
	ldr	r3, [fp, #-620]
	cmp	r3, #0
	bne	.L2
	ldr	r0, [fp, #-632]
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r0, [fp, #-620]
	bl	readdir
	str	r0, [fp, #-628]
	b	.L3
.L15:
	ldr	r3, [fp, #-628]
	add	r3, r3, #11
	sub	r0, fp, #520
	ldr	r2, [fp, #-632]
	ldr	r1, .L17+4
	bl	sprintf
	sub	r2, fp, #612
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-628]
	add	r3, r3, #11
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r0, [fp, #-620]
	bl	readdir
	str	r0, [fp, #-616]
	ldr	r3, [fp, #-616]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-616]
	add	r3, r3, #11
	ldr	r1, .L17+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-616]
	add	r3, r3, #11
	ldr	r1, .L17+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
.L5:
	ldr	r3, [fp, #-628]
	add	r3, r3, #11
	ldr	r1, .L17+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-628]
	add	r3, r3, #11
	ldr	r1, .L17+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	mov	r3, #0
	str	r3, [fp, #-624]
	b	.L7
.L10:
	ldr	r2, .L17+16
	ldr	r3, [fp, #-624]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L17+20
	bl	printf
	b	.L9
.L8:
	ldr	r0, .L17+24
	bl	printf
.L9:
	ldr	r3, [fp, #-624]
	add	r3, r3, #1
	str	r3, [fp, #-624]
.L7:
	ldr	r2, [fp, #-624]
	ldr	r3, [fp, #-636]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-616]
	cmp	r3, #0
	bne	.L11
	ldr	r2, .L17+16
	ldr	r3, [fp, #-636]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
.L11:
	ldr	r2, .L17+16
	ldr	r3, [fp, #-636]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-628]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L17+28
	bl	printf
	b	.L13
.L12:
	ldr	r3, [fp, #-628]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L17+32
	bl	printf
.L13:
	ldr	r3, [fp, #-596]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L6
	ldr	r3, [fp, #-596]
	and	r3, r3, #61440
	cmp	r3, #40960
	beq	.L6
	ldr	r1, .L17+8
	ldr	r0, [fp, #-632]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r0, [fp, #-632]
	bl	chdir
.L14:
	ldr	r3, [fp, #-628]
	add	r2, r3, #11
	ldr	r3, [fp, #-636]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	print_dir_tree_r
	ldr	r1, .L17+8
	ldr	r0, [fp, #-632]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L17+12
	bl	chdir
.L6:
	ldr	r3, [fp, #-616]
	str	r3, [fp, #-628]
.L3:
	ldr	r3, [fp, #-628]
	cmp	r3, #0
	bne	.L15
	ldr	r0, [fp, #-620]
	bl	closedir
	ldr	r2, .L17+16
	ldr	r3, [fp, #-636]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	finals
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	print_dir_tree_r, .-print_dir_tree_r
	.align	2
	.global	print_dir_tree
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_dir_tree, %function
print_dir_tree:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r2, .L22
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	bls	.L21
	ldr	r0, [fp, #-16]
	bl	puts
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	print_dir_tree_r
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	finals
	.size	print_dir_tree, .-print_dir_tree
	.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
	ble	.L25
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	b	.L26
.L25:
	ldr	r3, .L28
.L26:
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	print_dir_tree
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
