	.file	"103264279.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Open dir error..."
.LC1:
	.string	"."
.LC2:
	.string	".."
.LC3:
	.string	"d_name:%s/%s\n"
	.text
	.globl	readFileList
	.type	readFileList, @function
readFileList:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 19
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 19
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 8
	jne	.L6
	mov	rax, QWORD PTR -280[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 10
	jne	.L7
	mov	rax, QWORD PTR -280[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 4
	jne	.L3
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -280[rbp]
	lea	rdx, 19[rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	readFileList
.L3:
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	closedir@PLT
	nop
	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
.LFE6:
	.size	readFileList, .-readFileList
	.section	.rodata
.LC4:
	.string	"/home/dio/Desktop/test"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	lea	rax, .LC4[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	readFileList
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"103264279.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Open dir error...\000"
	.align	2
.LC1:
	.ascii	".\000"
	.align	2
.LC2:
	.ascii	"..\000"
	.align	2
.LC3:
	.ascii	"d_name:%s/%s\012\000"
	.align	2
.LC4:
	.ascii	"/\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readFileList
	.syntax unified
	.arm
	.fpu softvfp
	.type	readFileList, %function
readFileList:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-280]
	bl	opendir
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L10+4
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-268]
	add	r3, r3, #11
	ldr	r1, .L10+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-268]
	add	r3, r3, #11
	ldr	r1, .L10+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	b	.L3
.L5:
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #8
	bne	.L6
	ldr	r3, [fp, #-268]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, [fp, #-280]
	ldr	r0, .L10+16
	bl	printf
	b	.L3
.L6:
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L7
	ldr	r3, [fp, #-268]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, [fp, #-280]
	ldr	r0, .L10+16
	bl	printf
	b	.L3
.L7:
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L3
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #264
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L10+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-268]
	add	r2, r3, #11
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	readFileList
.L3:
	ldr	r0, [fp, #-272]
	bl	readdir
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L8
	ldr	r0, [fp, #-272]
	bl	closedir
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	readFileList, .-readFileList
	.section	.rodata
	.align	2
.LC6:
	.ascii	"/home/dio/Desktop/test\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
	ldr	r3, .L14
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	readFileList
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
