	.file	"31386881.c"
	.intel_syntax noprefix
	.text
	.globl	dir
	.bss
	.align 32
	.type	dir, @object
	.size	dir, 116
dir:
	.zero	116
	.section	.rodata
.LC0:
	.string	"\nEnter name of directory "
.LC1:
	.string	"%s"
	.align 8
.LC2:
	.string	"\n\n1. Create File\t2. Delete File\t3. Search File \n 4. Display Files\t5. Exit\nEnter your choice"
.LC3:
	.string	"%d"
.LC4:
	.string	"\nEnter the name of the file "
.LC5:
	.string	"file %s is already exists"
.LC6:
	.string	"File %s is deleted "
.LC7:
	.string	"File %s not found"
.LC8:
	.string	"File %s is found "
.LC9:
	.string	"\nDirectory Empty"
.LC10:
	.string	"\nThe Files are"
.LC11:
	.string	"\t%s"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR dir[rip+112], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, dir[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L28:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, 4
	je	.L2
	cmp	eax, 4
	jg	.L3
	cmp	eax, 3
	je	.L4
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L5
	cmp	eax, 2
	je	.L6
	jmp	.L3
.L5:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, dir[rip]
	add	rax, rdx
	lea	rdx, 10[rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	add	DWORD PTR -52[rbp], 1
.L7:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L10
.L9:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L11
	mov	eax, DWORD PTR dir[rip+112]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, dir[rip]
	add	rax, rdx
	lea	rdx, 10[rax]
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L11:
	mov	eax, DWORD PTR dir[rip+112]
	add	eax, 1
	mov	DWORD PTR dir[rip+112], eax
	jmp	.L12
.L6:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, dir[rip]
	add	rax, rdx
	lea	rdx, 10[rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR dir[rip+112]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, dir[rip]
	add	rax, rdx
	lea	rdx, 10[rax]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	lea	rcx, dir[rip]
	add	rax, rcx
	add	rax, 10
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L15
.L14:
	add	DWORD PTR -52[rbp], 1
.L13:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L16
.L15:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L17
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L17:
	mov	eax, DWORD PTR dir[rip+112]
	sub	eax, 1
	mov	DWORD PTR dir[rip+112], eax
	jmp	.L12
.L4:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L19
.L22:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, dir[rip]
	add	rax, rdx
	lea	rdx, 10[rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L21
.L20:
	add	DWORD PTR -52[rbp], 1
.L19:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L22
.L21:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L30
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L30
.L2:
	mov	eax, DWORD PTR dir[rip+112]
	test	eax, eax
	jne	.L24
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L24:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, dir[rip]
	add	rax, rdx
	add	rax, 10
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -52[rbp], 1
.L26:
	mov	eax, DWORD PTR dir[rip+112]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L27
	jmp	.L12
.L3:
	mov	edi, 0
	call	exit@PLT
.L30:
	nop
.L12:
	jmp	.L28
	.cfi_endproc
.LFE6:
	.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	"31386881.c"
	.text
	.comm	dir,116,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter name of directory \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"\012\0121. Create File\0112. Delete File\0113. Sear"
	.ascii	"ch File \012 4. Display Files\0115. Exit\012Enter y"
	.ascii	"our choice\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"\012Enter the name of the file \000"
	.align	2
.LC5:
	.ascii	"file %s is already exists\000"
	.align	2
.LC6:
	.ascii	"File %s is deleted \000"
	.align	2
.LC7:
	.ascii	"File %s not found\000"
	.align	2
.LC8:
	.ascii	"File %s is found \000"
	.align	2
.LC9:
	.ascii	"\012Directory Empty\000"
	.align	2
.LC10:
	.ascii	"\012The Files are\000"
	.align	2
.LC11:
	.ascii	"\011%s\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L32+4
	mov	r2, #0
	str	r2, [r3, #112]
	ldr	r0, .L32+8
	bl	printf
	ldr	r1, .L32+4
	ldr	r0, .L32+12
	bl	__isoc99_scanf
.L29:
	ldr	r0, .L32+16
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L32+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	ldr	r0, .L32+24
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L8
.L11:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r2, r3, #2
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+28
	bl	printf
	b	.L10
.L9:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L8:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L11
.L10:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L32+4
	ldr	r2, [r3, #112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r3, r3, #2
	sub	r2, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L12:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	add	r3, r3, #1
	ldr	r2, .L32+4
	str	r3, [r2, #112]
	b	.L13
.L6:
	ldr	r0, .L32+24
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L14
.L17:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r2, r3, #2
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+32
	bl	printf
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r0, r3, #2
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r3, r3, #2
	mov	r1, r3
	bl	strcpy
	b	.L16
.L15:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L17
.L16:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L18
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+36
	bl	printf
	b	.L13
.L18:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	sub	r3, r3, #1
	ldr	r2, .L32+4
	str	r3, [r2, #112]
	b	.L13
.L5:
	ldr	r0, .L32+24
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L20
.L23:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r2, r3, #2
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+40
	bl	printf
	b	.L22
.L21:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L20:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L23
.L22:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L31
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+36
	bl	printf
	b	.L31
.L3:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	cmp	r3, #0
	bne	.L25
	ldr	r0, .L32+44
	bl	printf
	b	.L13
.L25:
	ldr	r0, .L32+48
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L27
.L28:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #8
	ldr	r2, .L32+4
	add	r3, r3, r2
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L32+52
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L27:
	ldr	r3, .L32+4
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L28
	b	.L13
.L2:
	mov	r0, #0
	bl	exit
.L31:
	nop
.L13:
	b	.L29
.L33:
	.align	2
.L32:
	.word	.LC12
	.word	dir
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
