	.file	"880628.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
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jne	.L2
	mov	esi, 0
	lea	rdi, .LC0[rip]
	call	listdirtree
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	QWORD PTR -16[rbp], 8
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	listdirtree
.L3:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.string	"listdirtree:can't read file %s information!\n"
	.text
	.globl	listdirtree
	.type	listdirtree, @function
listdirtree:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L5
	mov	ecx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, listdirtree[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	s_dirwalk
.L5:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	listdirtree, .-listdirtree
	.section	.rodata
.LC2:
	.string	"s_dirwalk:can't open %s\n"
.LC3:
	.string	".."
.LC4:
	.string	"s_dirwalk:%s/%s is too long!\n"
.LC5:
	.string	"%s/%s"
	.text
	.globl	s_dirwalk
	.type	s_dirwalk, @function
s_dirwalk:
.LFB8:
	.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, 264
	.cfi_offset 3, -24
	mov	QWORD PTR -248[rbp], rdi
	mov	DWORD PTR -252[rbp], esi
	mov	QWORD PTR -264[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -248[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L17:
	mov	rax, QWORD PTR -232[rbp]
	add	rax, 19
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -232[rbp]
	add	rax, 19
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	jmp	.L13
.L15:
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -232[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 2
	cmp	rax, 200
	jbe	.L16
	mov	rax, QWORD PTR -232[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -248[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L16:
	mov	rax, QWORD PTR -232[rbp]
	lea	rdx, 19[rax]
	mov	eax, DWORD PTR -252[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	s_printf
	mov	rax, QWORD PTR -232[rbp]
	lea	rcx, 19[rax]
	mov	rdx, QWORD PTR -248[rbp]
	lea	rax, -224[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -252[rbp]
	lea	ecx, 1[rax]
	lea	rax, -224[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	rdx
.L13:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	closedir@PLT
.L10:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	s_dirwalk, .-s_dirwalk
	.section	.rodata
.LC6:
	.string	"|  "
.LC7:
	.string	"|--"
	.text
	.globl	s_printf
	.type	s_printf, @function
s_printf:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	jmp	.L21
.L22:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -12[rbp], edx
	test	eax, eax
	jg	.L22
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	s_printf, .-s_printf
	.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	"880628.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 = 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, [fp, #-8]
	cmp	r3, #1
	bne	.L2
	mov	r1, #0
	ldr	r0, .L5
	bl	listdirtree
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	listdirtree
.L3:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"listdirtree:can't read file %s information!\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	listdirtree
	.syntax unified
	.arm
	.fpu softvfp
	.type	listdirtree, %function
listdirtree:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-104]
	ldr	r1, .L12+8
	mov	r0, r3
	bl	fprintf
	b	.L7
.L8:
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L7
	ldr	r2, .L12+12
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	bl	s_dirwalk
.L7:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	stderr
	.word	.LC1
	.word	listdirtree
	.size	listdirtree, .-listdirtree
	.section	.rodata
	.align	2
.LC3:
	.ascii	"s_dirwalk:can't open %s\012\000"
	.align	2
.LC4:
	.ascii	"..\000"
	.align	2
.LC5:
	.ascii	"s_dirwalk:%s/%s is too long!\012\000"
	.align	2
.LC6:
	.ascii	"%s/%s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	s_dirwalk
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_dirwalk, %function
s_dirwalk:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #236
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	str	r2, [fp, #-240]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-232]
	bl	opendir
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-232]
	ldr	r1, .L24+8
	mov	r0, r3
	bl	fprintf
	b	.L14
.L21:
	ldr	r3, [fp, #-220]
	add	r3, r3, #11
	ldr	r1, .L24+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-220]
	add	r3, r3, #11
	ldr	r1, .L24+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	b	.L17
.L19:
	ldr	r0, [fp, #-232]
	bl	strlen
	mov	r4, r0
	ldr	r3, [fp, #-220]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #2
	cmp	r3, #200
	bls	.L20
	ldr	r3, .L24+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #11
	ldr	r2, [fp, #-232]
	ldr	r1, .L24+20
	bl	fprintf
	b	.L14
.L20:
	ldr	r3, [fp, #-220]
	add	r3, r3, #11
	ldr	r1, [fp, #-236]
	mov	r0, r3
	bl	s_printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #11
	sub	r0, fp, #216
	ldr	r2, [fp, #-232]
	ldr	r1, .L24+24
	bl	sprintf
	ldr	r3, [fp, #-236]
	add	r1, r3, #1
	sub	r2, fp, #216
	ldr	r3, [fp, #-240]
	mov	r0, r2
	blx	r3
.L17:
	ldr	r0, [fp, #-224]
	bl	readdir
	str	r0, [fp, #-220]
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-224]
	bl	closedir
.L14:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC7
	.word	stderr
	.word	.LC3
	.word	.LC0
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	s_dirwalk, .-s_dirwalk
	.section	.rodata
	.align	2
.LC8:
	.ascii	"|  \000"
	.align	2
.LC9:
	.ascii	"|--\000"
	.text
	.align	2
	.global	s_printf
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_printf, %function
s_printf:
	@ 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]
	b	.L27
.L28:
	ldr	r0, .L29
	bl	printf
.L27:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bgt	.L28
	ldr	r0, .L29+4
	bl	printf
	ldr	r0, [fp, #-8]
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC8
	.word	.LC9
	.size	s_printf, .-s_printf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
