	.file	"922873.c"
	.intel_syntax noprefix
	.text
	.local	numOfOccurence
	.comm	numOfOccurence,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"Parameters given to the program are not oppropriate!, program exits."
	.align 8
.LC1:
	.string	"The word \"%s\" is found %d times in total.\n"
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchDir
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"."
.LC3:
	.string	".."
.LC4:
	.string	"%s/%s"
.LC5:
	.string	"Failed to fork\n"
	.text
	.globl	searchDir
	.type	searchDir, @function
searchDir:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	QWORD PTR -4152[rbp], rdi
	mov	QWORD PTR -4160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4140[rbp], 0
	mov	DWORD PTR -4136[rbp], 0
	mov	DWORD PTR -4144[rbp], 0
	mov	rax, QWORD PTR -4152[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -4128[rbp], rax
	cmp	QWORD PTR -4128[rbp], 0
	jne	.L7
	mov	eax, 1
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -4120[rbp]
	add	rax, 19
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -4120[rbp]
	add	rax, 19
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -4120[rbp]
	lea	rcx, 19[rax]
	mov	rdx, QWORD PTR -4152[rbp]
	lea	rax, -4112[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -4112[rbp]
	mov	rdi, rax
	call	isDirectory
	test	eax, eax
	je	.L10
	mov	rdx, QWORD PTR -4160[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchDir
	add	DWORD PTR -4140[rbp], eax
	jmp	.L7
.L10:
	call	fork@PLT
	mov	DWORD PTR -4132[rbp], eax
	cmp	DWORD PTR -4132[rbp], -1
	jne	.L11
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -4128[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
	jmp	.L14
.L11:
	cmp	DWORD PTR -4132[rbp], 0
	js	.L7
	cmp	DWORD PTR -4132[rbp], 0
	jne	.L12
	mov	rdx, QWORD PTR -4160[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchTheWord
	mov	DWORD PTR -4136[rbp], eax
	mov	rax, QWORD PTR -4128[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -4136[rbp]
	mov	edi, eax
	call	exit@PLT
.L12:
	lea	rax, -4144[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	eax, DWORD PTR -4144[rbp]
	sar	eax, 8
	movzx	eax, al
	add	DWORD PTR -4140[rbp], eax
.L7:
	mov	rax, QWORD PTR -4128[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4120[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -4128[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -4140[rbp]
.L14:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	searchDir, .-searchDir
	.section	.rodata
.LC6:
	.string	"a"
.LC7:
	.string	"gfF.log"
.LC8:
	.string	"r"
.LC9:
	.string	"%s\n"
.LC10:
	.string	"column"
.LC11:
	.string	"line"
.LC12:
	.string	"No"
.LC13:
	.string	"%-10s %-10s %-10s\n"
.LC14:
	.string	"#%-9d %-10d %-10d\n"
	.text
	.globl	searchTheWord
	.type	searchTheWord, @function
searchTheWord:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -64[rbp], 100
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	r8, .LC10[rip]
	lea	rcx, .LC11[rip]
	lea	rdx, .LC12[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L17
.L26:
	mov	esi, 100
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -52[rbp], eax
	jmp	.L18
.L22:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jne	.L19
	mov	DWORD PTR -64[rbp], 200
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -32[rbp], rax
.L19:
	cmp	DWORD PTR -52[rbp], 10
	je	.L20
	cmp	DWORD PTR -52[rbp], -1
	je	.L20
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -52[rbp]
	mov	BYTE PTR [rax], dl
.L20:
	add	DWORD PTR -60[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -52[rbp], eax
.L18:
	cmp	DWORD PTR -52[rbp], 10
	je	.L21
	cmp	DWORD PTR -52[rbp], -1
	jne	.L22
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncmp@PLT
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	je	.L24
	add	DWORD PTR -56[rbp], 1
	mov	esi, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	r8d, esi
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L24:
	add	DWORD PTR -44[rbp], 1
.L23:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L25
	mov	DWORD PTR -60[rbp], 0
	add	DWORD PTR -48[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
.L17:
	cmp	DWORD PTR -52[rbp], -1
	jne	.L26
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -56[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	searchTheWord, .-searchTheWord
	.globl	isDirectory
	.type	isDirectory, @function
isDirectory:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	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	.L29
	mov	eax, 0
	jmp	.L31
.L29:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	sete	al
	movzx	eax, al
.L31:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	isDirectory, .-isDirectory
	.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	"922873.c"
	.text
	.local	numOfOccurence
	.comm	numOfOccurence,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Parameters given to the program are not oppropriate"
	.ascii	"!, program exits.\000"
	.align	2
.LC1:
	.ascii	"The word \"%s\" is found %d times in total.\012\000"
	.text
	.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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L4
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	searchDir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	".\000"
	.align	2
.LC3:
	.ascii	"..\000"
	.align	2
.LC4:
	.ascii	"%s/%s\000"
	.align	2
.LC5:
	.ascii	"Failed to fork\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	searchDir
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchDir, %function
searchDir:
	@ args = 0, pretend = 0, frame = 4136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #52
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-40]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	opendir
	str	r0, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L9
	mov	r3, #1
	b	.L16
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #11
	ldr	r1, .L18+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #11
	ldr	r1, .L18+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	b	.L9
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #11
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r3, [sp]
	ldr	r3, [r2, #-36]
	ldr	r2, .L18+12
	mov	r1, #4096
	bl	snprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	isDirectory
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-40]
	mov	r0, r3
	bl	searchDir
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	str	r3, [r1, #-24]
	b	.L9
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L18+16
	bl	perror
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	closedir
	mov	r3, #0
	b	.L16
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	blt	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-40]
	mov	r0, r3
	bl	searchTheWord
	str	r0, [r4, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	closedir
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	exit
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #28
	mov	r0, r3
	bl	wait
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	asr	r3, r3, #8
	and	r3, r3, #255
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	str	r3, [r1, #-24]
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	readdir
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	closedir
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
.L16:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	searchDir, .-searchDir
	.section	.rodata
	.align	2
.LC7:
	.ascii	"a\000"
	.align	2
.LC8:
	.ascii	"gfF.log\000"
	.align	2
.LC9:
	.ascii	"r\000"
	.align	2
.LC10:
	.ascii	"%s\012\000"
	.align	2
.LC11:
	.ascii	"line\000"
	.align	2
.LC12:
	.ascii	"No\000"
	.align	2
.LC13:
	.ascii	"%-10s %-10s %-10s\012\000"
	.align	2
.LC14:
	.ascii	"column\000"
	.align	2
.LC15:
	.ascii	"#%-9d %-10d %-10d\012\000"
	.text
	.align	2
	.global	searchTheWord
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchTheWord, %function
searchTheWord:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #100
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r1, .L32
	ldr	r0, .L32+4
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r1, .L32+8
	ldr	r0, [fp, #-56]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-56]
	ldr	r1, .L32+12
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, .L32+16
	str	r3, [sp]
	ldr	r3, .L32+20
	ldr	r2, .L32+24
	ldr	r1, .L32+28
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r0, [fp, #-60]
	bl	strlen
	str	r0, [fp, #-16]
	b	.L21
.L30:
	mov	r1, #100
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-8]
	bl	getc
	str	r0, [fp, #-36]
	b	.L22
.L26:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bne	.L23
	mov	r3, #200
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	realloc
	str	r0, [fp, #-52]
.L23:
	ldr	r3, [fp, #-36]
	cmp	r3, #10
	beq	.L24
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L24
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	and	r2, r2, #255
	strb	r2, [r3]
.L24:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r0, [fp, #-8]
	bl	getc
	str	r0, [fp, #-36]
.L22:
	ldr	r3, [fp, #-36]
	cmp	r3, #10
	beq	.L25
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L26
.L25:
	ldr	r0, [fp, #-52]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L27
.L29:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-60]
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	ldr	r1, .L32+32
	ldr	r0, [fp, #-12]
	bl	fprintf
.L28:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L27:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L29
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-52]
	bl	free
.L21:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L30
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-40]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC14
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC15
	.size	searchTheWord, .-searchTheWord
	.section	.rodata
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isDirectory
	.syntax unified
	.arm
	.fpu softvfp
	.type	isDirectory, %function
isDirectory:
	@ 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]
	ldr	r3, .L39
	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	.L35
	mov	r3, #0
	b	.L37
.L35:
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L37:
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC16
	.size	isDirectory, .-isDirectory
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
