	.file	"51210.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"clear"
.LC1:
	.string	"\n\n\tEnter your option: "
.LC2:
	.string	"%d"
	.align 8
.LC3:
	.string	"\n\tEnter number of elements in array: "
.LC4:
	.string	"\n\tEnter %d elements\n"
.LC5:
	.string	"\n\tElement %d: "
.LC6:
	.string	" %c"
	.align 8
.LC7:
	.string	"\n\n\n\tFirst enter elements of array!"
	.align 8
.LC8:
	.string	"\n\tPress option 1 in the menu.\n"
.LC9:
	.string	"\n\tThe %d elements are -\n\n"
.LC10:
	.string	"\n\tAt position %d: %c\n"
	.align 8
.LC11:
	.string	"\n\tEnter position where you want to insert an element: "
.LC12:
	.string	"\n\tEnter element to insert: "
.LC13:
	.string	"\n\tResultant array is -"
	.align 8
.LC14:
	.string	"\n\tEnter position where you want to delete element: "
	.align 8
.LC15:
	.string	"\n\tNo element is present!! Deletion aborted."
.LC16:
	.string	"\n\tResultant array:"
	.align 8
.LC17:
	.string	"\n\tKindly input the correct given options. Thank you."
	.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	BYTE PTR -70[rbp], 0
	mov	BYTE PTR -69[rbp], 100
.L40:
	lea	rdi, .LC0[rip]
	call	system@PLT
	call	menu
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, 5
	ja	.L2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L2-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L8:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -68[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -56[rbp], 1
.L9:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L10
	jmp	.L39
.L7:
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	jne	.L12
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L14:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L13
	cmp	BYTE PTR -69[rbp], -1
	jne	.L14
.L13:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L43
.L12:
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	edx, DWORD PTR -56[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -56[rbp], 1
.L16:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L17
.L18:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L43
	cmp	BYTE PTR -69[rbp], -1
	jne	.L18
	jmp	.L43
.L6:
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	jne	.L19
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L21:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L20
	cmp	BYTE PTR -69[rbp], -1
	jne	.L21
.L20:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L44
.L19:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -70[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -56[rbp], eax
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -56[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -48[rbp+rax], dl
	sub	DWORD PTR -56[rbp], 1
.L23:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cmp	DWORD PTR -56[rbp], eax
	jge	.L24
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	movzx	edx, BYTE PTR -70[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	mov	DWORD PTR -68[rbp], eax
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	edx, DWORD PTR -56[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -56[rbp], 1
.L25:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L26
.L27:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L44
	cmp	BYTE PTR -69[rbp], -1
	jne	.L27
	jmp	.L44
.L5:
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	jne	.L28
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L30:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L29
	cmp	BYTE PTR -69[rbp], -1
	jne	.L30
.L29:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L45
.L28:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cmp	edx, eax
	jge	.L32
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L45
.L32:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -56[rbp], eax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	add	DWORD PTR -56[rbp], 1
.L33:
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	cmp	DWORD PTR -56[rbp], eax
	jl	.L34
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -68[rbp], eax
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	edx, DWORD PTR -56[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -56[rbp], 1
.L35:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L36
.L37:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L45
	cmp	BYTE PTR -69[rbp], -1
	jne	.L37
	jmp	.L45
.L3:
	mov	edi, 0
	call	exit@PLT
.L2:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L39
.L43:
	nop
	jmp	.L39
.L44:
	nop
	jmp	.L39
.L45:
	nop
	jmp	.L39
.L46:
	nop
.L39:
	call	getchar@PLT
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 10
	je	.L38
	cmp	BYTE PTR -69[rbp], -1
	jne	.L46
.L38:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, 5
	jne	.L40
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC18:
	.string	"\n\tLAB 2 DELETION PROGRAM! - char"
	.align 8
.LC19:
	.string	"\n\t__________________________________\n"
.LC20:
	.string	"\n\n\t\t\tMENU"
	.align 8
.LC21:
	.string	"\n\n\t1. Enter character elements in the array."
	.align 8
.LC22:
	.string	"\n\n\t2. Display the array elements"
.LC23:
	.string	"\n\n\t3. Insert an element."
.LC24:
	.string	"\n\n\t4. Delete an element."
.LC25:
	.string	"\n\n\t5. Exit."
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	menu, .-menu
	.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	"51210.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"clear\000"
	.align	2
.LC1:
	.ascii	"\012\012\011Enter your option: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\012\011Enter number of elements in array: \000"
	.align	2
.LC4:
	.ascii	"\012\011Enter %d elements\012\000"
	.align	2
.LC5:
	.ascii	"\012\011Element %d: \000"
	.align	2
.LC6:
	.ascii	" %c\000"
	.align	2
.LC7:
	.ascii	"\012\012\012\011First enter elements of array!\000"
	.align	2
.LC8:
	.ascii	"\012\011Press option 1 in the menu.\012\000"
	.align	2
.LC9:
	.ascii	"\012\011The %d elements are -\012\012\000"
	.align	2
.LC10:
	.ascii	"\012\011At position %d: %c\012\000"
	.align	2
.LC11:
	.ascii	"\012\011Enter position where you want to insert an "
	.ascii	"element: \000"
	.align	2
.LC12:
	.ascii	"\012\011Enter element to insert: \000"
	.align	2
.LC13:
	.ascii	"\012\011Resultant array is -\000"
	.align	2
.LC14:
	.ascii	"\012\011Enter position where you want to delete ele"
	.ascii	"ment: \000"
	.align	2
.LC15:
	.ascii	"\012\011No element is present!! Deletion aborted.\000"
	.align	2
.LC16:
	.ascii	"\012\011Resultant array:\000"
	.align	2
.LC17:
	.ascii	"\012\011Kindly input the correct given options. Tha"
	.ascii	"nk you.\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-44]
	mov	r3, #0
	strb	r3, [fp, #-58]
	mov	r3, #100
	strb	r3, [fp, #-57]
.L36:
	ldr	r0, .L40+4
	bl	system
	bl	menu
	ldr	r0, .L40+8
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L40+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L8:
	ldr	r0, .L40+16
	bl	printf
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L40+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, .L40+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L9
.L10:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L40+24
	bl	printf
	ldr	r3, .L40+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r2, fp, #36
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L40+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L9:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L10
	b	.L35
.L7:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L40+36
	bl	printf
	ldr	r0, .L40+40
	bl	puts
.L13:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L35
.L12:
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, .L40+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L15
.L16:
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	sub	r2, fp, #36
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L40+48
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L15:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L16
.L17:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L17
	b	.L35
.L6:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L40+36
	bl	printf
	ldr	r0, .L40+40
	bl	puts
.L19:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L35
.L18:
	ldr	r0, .L40+52
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L40+12
	bl	__isoc99_scanf
	ldr	r0, .L40+56
	bl	printf
	sub	r3, fp, #58
	mov	r1, r3
	ldr	r0, .L40+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L21
.L22:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	sub	r1, fp, #36
	ldr	r2, [fp, #-44]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-32]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
.L21:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bge	.L22
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-58]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r0, .L40+60
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L23
.L24:
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	sub	r2, fp, #36
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L40+48
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L23:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L24
.L25:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L25
	b	.L35
.L5:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L40+36
	bl	printf
	ldr	r0, .L40+40
	bl	puts
.L27:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L27
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L35
.L26:
	ldr	r0, .L40+64
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L40+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bge	.L29
	ldr	r0, .L40+68
	bl	puts
	b	.L35
.L29:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L30
.L31:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-32]	@ zero_extendqisi2
	sub	r2, fp, #36
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L30:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r0, .L40+72
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L32
.L33:
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	sub	r2, fp, #36
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L40+48
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L32:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L33
.L34:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L34
	b	.L35
.L3:
	mov	r0, #0
	bl	exit
.L2:
	ldr	r0, .L40+76
	bl	printf
	b	.L35
.L39:
	nop
.L35:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L39
	ldr	r3, [fp, #-52]
	cmp	r3, #5
	bne	.L36
	mov	r3, #0
	ldr	r2, .L40
	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}
.L41:
	.align	2
.L40:
	.word	.LC18
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdin
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012\011LAB 2 DELETION PROGRAM! - char\000"
	.align	2
.LC20:
	.ascii	"\012\011__________________________________\012\000"
	.align	2
.LC21:
	.ascii	"\012\012\011\011\011MENU\000"
	.align	2
.LC22:
	.ascii	"\012\012\0111. Enter character elements in the arra"
	.ascii	"y.\000"
	.align	2
.LC23:
	.ascii	"\012\012\0112. Display the array elements\000"
	.align	2
.LC24:
	.ascii	"\012\012\0113. Insert an element.\000"
	.align	2
.LC25:
	.ascii	"\012\012\0114. Delete an element.\000"
	.align	2
.LC26:
	.ascii	"\012\012\0115. Exit.\000"
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L43
	bl	printf
	ldr	r0, .L43+4
	bl	puts
	ldr	r0, .L43+8
	bl	printf
	ldr	r0, .L43+12
	bl	printf
	ldr	r0, .L43+16
	bl	printf
	ldr	r0, .L43+20
	bl	printf
	ldr	r0, .L43+24
	bl	printf
	ldr	r0, .L43+28
	bl	puts
	nop
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	menu, .-menu
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
