	.file	"152542.c"
	.intel_syntax noprefix
	.text
	.globl	arr
	.bss
	.align 32
	.type	arr, @object
	.size	arr, 400
arr:
	.zero	400
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	position
	.align 4
	.type	position, @object
	.size	position, 4
position:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	element
	.align 4
	.type	element, @object
	.size	element, 4
element:
	.zero	4
	.globl	choice
	.align 4
	.type	choice, @object
	.size	choice, 4
choice:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"ENTER THE POSITION YOU WANT TO ENTER THE ELEMENT"
.LC1:
	.string	"%d"
.LC2:
	.string	"\n INVALID POSITION"
.LC3:
	.string	"ENTER THE ELEMENT "
	.text
	.globl	insertion
	.type	insertion, @function
insertion:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, position[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR position[rip]
	sub	eax, 1
	mov	DWORD PTR position[rip], eax
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR position[rip]
	cmp	edx, eax
	jg	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	call	menu
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, element[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR i[rip], eax
	jmp	.L3
.L4:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR i[rip]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ecx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
.L3:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR position[rip]
	cmp	edx, eax
	jge	.L4
	mov	edx, DWORD PTR position[rip]
	mov	eax, DWORD PTR element[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
	mov	eax, 0
	call	menu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	insertion, .-insertion
	.section	.rodata
.LC4:
	.string	"\n THE ARRAY ENTERED IS:--"
.LC5:
	.string	"%d\t"
	.text
	.globl	traversing
	.type	traversing, @function
traversing:
.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, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L6:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L7
	mov	eax, 0
	call	menu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	traversing, .-traversing
	.section	.rodata
	.align 8
.LC6:
	.string	"ENTER THE POSITION OF THE ELEMENT TO BE DELETED"
.LC7:
	.string	"ELEMENT IS DELETED!!!"
	.text
	.globl	deletion
	.type	deletion, @function
deletion:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, position[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR position[rip]
	sub	eax, 1
	mov	DWORD PTR position[rip], eax
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR position[rip]
	cmp	edx, eax
	jg	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	call	menu
.L9:
	mov	eax, DWORD PTR position[rip]
	mov	DWORD PTR i[rip], eax
	jmp	.L10
.L11:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L10:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L11
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	mov	DWORD PTR n[rip], eax
	mov	eax, 0
	call	menu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	deletion, .-deletion
	.section	.rodata
	.align 8
.LC8:
	.string	"ENTER THE POSITION WHERE U WANT TO UPDATE"
.LC9:
	.string	"\n ENTER THE ELEMENT :-"
	.text
	.globl	updation
	.type	updation, @function
updation:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, position[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR position[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L13
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	call	menu
.L13:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, element[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR position[rip]
	mov	eax, DWORD PTR element[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	updation, .-updation
	.section	.rodata
	.align 8
.LC10:
	.string	"ENTER THE ELEMENT YOU WANT TO SEARCH"
	.align 8
.LC11:
	.string	"ELEMENT FOUND AT THE POSITION %d\n\n"
.LC12:
	.string	"\nELEMNT NOT FOUND!!!"
	.text
	.globl	linear_search
	.type	linear_search, @function
linear_search:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rsi, element[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L15
.L18:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR element[rip]
	cmp	edx, eax
	jne	.L16
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR choice[rip], 20
	jmp	.L17
.L16:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L15:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L18
.L17:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 20
	je	.L19
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	eax, 0
	call	menu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	linear_search, .-linear_search
	.globl	bubble_sort_algo
	.type	bubble_sort_algo, @function
bubble_sort_algo:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR i[rip], 0
	jmp	.L21
.L25:
	mov	DWORD PTR j[rip], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jle	.L23
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	add	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR j[rip]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	esi, DWORD PTR [rcx+rdx]
	mov	edx, DWORD PTR j[rip]
	add	edx, 1
	sub	eax, esi
	mov	ecx, eax
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	esi, DWORD PTR [rcx+rax]
	mov	eax, DWORD PTR j[rip]
	mov	ecx, edx
	sub	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L23:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L22:
	mov	eax, DWORD PTR n[rip]
	mov	edx, DWORD PTR i[rip]
	sub	eax, edx
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jg	.L24
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L21:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L25
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	bubble_sort_algo, .-bubble_sort_algo
	.section	.rodata
.LC13:
	.string	"\nTHE ARRAY HAS BEEN SORTED"
	.text
	.globl	bubble_sort
	.type	bubble_sort, @function
bubble_sort:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	bubble_sort_algo
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 0
	call	menu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	bubble_sort, .-bubble_sort
	.section	.rodata
	.align 8
.LC14:
	.string	"ELEMENT FOUND AT POSITION: %d, AFTER THE SORTING"
	.align 8
.LC15:
	.string	"ELEMENT NOT FOUND IN THE ARRAY!!!"
	.text
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB13:
	.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	rdi, .LC10[rip]
	call	puts@PLT
	lea	rsi, element[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	eax, 0
	call	bubble_sort_algo
	jmp	.L28
.L32:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR element[rip]
	cmp	edx, eax
	jne	.L29
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 10
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR element[rip]
	cmp	edx, eax
	jle	.L31
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L28
.L31:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR element[rip]
	cmp	edx, eax
	jge	.L28
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
.L28:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L32
.L30:
	cmp	DWORD PTR -8[rbp], 10
	je	.L33
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L33:
	mov	eax, 0
	call	menu
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	binary_search, .-binary_search
	.section	.rodata
.LC16:
	.string	"ARRAY IS SORTED"
	.text
	.globl	selection_sort
	.type	selection_sort, @function
selection_sort:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR i[rip], 0
	jmp	.L35
.L39:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
	jmp	.L36
.L38:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jle	.L37
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	add	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	esi, DWORD PTR [rcx+rax]
	mov	eax, DWORD PTR j[rip]
	mov	ecx, edx
	sub	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	esi, DWORD PTR [rcx+rax]
	mov	eax, DWORD PTR i[rip]
	mov	ecx, edx
	sub	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L37:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L36:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L38
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L35:
	mov	eax, DWORD PTR n[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L39
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	menu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	selection_sort, .-selection_sort
	.section	.rodata
	.align 8
.LC17:
	.string	"\n1. INSERTION\t 2. UPDATION\t 3. TRAVERSING\t 4. DELETION\t 5.EXIT\t 6. RECREATE THE ARRAY "
	.align 8
.LC18:
	.string	"7. LINEAR SEARCH\t 8. BUBBLE SORT\t 9. BINARY SEARCH\t 10. SELECTION SORT\n"
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L54:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rsi, choice[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 10
	ja	.L41
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L43[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L43[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L41-.L43
	.long	.L52-.L43
	.long	.L51-.L43
	.long	.L50-.L43
	.long	.L49-.L43
	.long	.L48-.L43
	.long	.L47-.L43
	.long	.L46-.L43
	.long	.L45-.L43
	.long	.L44-.L43
	.long	.L42-.L43
	.text
.L52:
	mov	eax, 0
	call	insertion
	jmp	.L53
.L51:
	mov	eax, 0
	call	updation
	jmp	.L53
.L50:
	mov	eax, 0
	call	traversing
	jmp	.L53
.L49:
	mov	eax, 0
	call	deletion
	jmp	.L53
.L48:
	mov	edi, 1
	call	exit@PLT
.L47:
	mov	eax, 0
	call	main
	jmp	.L53
.L46:
	mov	eax, 0
	call	linear_search
	jmp	.L53
.L45:
	mov	eax, 0
	call	bubble_sort
	jmp	.L53
.L44:
	mov	eax, 0
	call	binary_search
	jmp	.L53
.L42:
	mov	eax, 0
	call	selection_sort
	jmp	.L53
.L41:
	mov	eax, 0
	call	menu
	nop
.L53:
	jmp	.L54
	.cfi_endproc
.LFE15:
	.size	menu, .-menu
	.section	.rodata
.LC19:
	.string	"ENTER THE ELEMENTS OF ARRAY"
.LC20:
	.string	"\nENTER THE ELEMENT:-"
	.align 8
.LC21:
	.string	"\nDO YOU WANT TO ENTER ANOTHER ELEMENT PRESS ANY KEY ELSE PRESS 1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 0
.L57:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rsi, choice[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 1
	jne	.L56
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
	mov	eax, 0
	call	menu
.L56:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	jmp	.L57
	.cfi_endproc
.LFE16:
	.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	"152542.c"
	.text
	.comm	arr,400,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	position,4,4
	.comm	n,4,4
	.comm	element,4,4
	.comm	choice,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ENTER THE POSITION YOU WANT TO ENTER THE ELEMENT\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012 INVALID POSITION\000"
	.align	2
.LC3:
	.ascii	"ENTER THE ELEMENT \000"
	.text
	.align	2
	.global	insertion
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertion, %function
insertion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	printf
	ldr	r1, .L5+4
	ldr	r0, .L5+8
	bl	__isoc99_scanf
	ldr	r3, .L5+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L5+4
	str	r3, [r2]
	ldr	r3, .L5+12
	ldr	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L2
	ldr	r0, .L5+16
	bl	puts
	bl	menu
.L2:
	ldr	r0, .L5+20
	bl	printf
	ldr	r1, .L5+24
	ldr	r0, .L5+8
	bl	__isoc99_scanf
	ldr	r3, .L5+12
	ldr	r3, [r3]
	ldr	r2, .L5+28
	str	r3, [r2]
	b	.L3
.L4:
	ldr	r3, .L5+28
	ldr	r2, [r3]
	ldr	r3, .L5+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L5+32
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L5+32
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L5+28
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L5+28
	str	r3, [r2]
.L3:
	ldr	r3, .L5+28
	ldr	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L4
	ldr	r3, .L5+4
	ldr	r3, [r3]
	ldr	r2, .L5+24
	ldr	r2, [r2]
	ldr	r1, .L5+32
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L5+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L5+12
	str	r3, [r2]
	bl	menu
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	position
	.word	.LC1
	.word	n
	.word	.LC2
	.word	.LC3
	.word	element
	.word	i
	.word	arr
	.size	insertion, .-insertion
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012 THE ARRAY ENTERED IS:--\000"
	.align	2
.LC5:
	.ascii	"%d\011\000"
	.text
	.align	2
	.global	traversing
	.syntax unified
	.arm
	.fpu softvfp
	.type	traversing, %function
traversing:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L10
	bl	puts
	ldr	r3, .L10+4
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L9:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L10+8
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r3, .L10+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L10+4
	str	r3, [r2]
.L8:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, .L10+16
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L9
	bl	menu
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	i
	.word	arr
	.word	.LC5
	.word	n
	.size	traversing, .-traversing
	.section	.rodata
	.align	2
.LC6:
	.ascii	"ENTER THE POSITION OF THE ELEMENT TO BE DELETED\000"
	.align	2
.LC7:
	.ascii	"ELEMENT IS DELETED!!!\000"
	.text
	.align	2
	.global	deletion
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletion, %function
deletion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L16
	bl	printf
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r3, .L16+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L16+4
	str	r3, [r2]
	ldr	r3, .L16+12
	ldr	r2, [r3]
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L13
	ldr	r0, .L16+16
	bl	puts
	bl	menu
.L13:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, .L16+20
	str	r3, [r2]
	b	.L14
.L15:
	ldr	r3, .L16+20
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L16+20
	ldr	r3, [r3]
	ldr	r1, .L16+24
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L16+24
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L16+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+20
	str	r3, [r2]
.L14:
	ldr	r3, .L16+20
	ldr	r2, [r3]
	ldr	r3, .L16+12
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L15
	ldr	r0, .L16+28
	bl	puts
	ldr	r3, .L16+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L16+12
	str	r3, [r2]
	bl	menu
	nop
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	position
	.word	.LC1
	.word	n
	.word	.LC2
	.word	i
	.word	arr
	.word	.LC7
	.size	deletion, .-deletion
	.section	.rodata
	.align	2
.LC8:
	.ascii	"ENTER THE POSITION WHERE U WANT TO UPDATE\000"
	.align	2
.LC9:
	.ascii	"\012 ENTER THE ELEMENT :-\000"
	.text
	.align	2
	.global	updation
	.syntax unified
	.arm
	.fpu softvfp
	.type	updation, %function
updation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L20
	bl	printf
	ldr	r1, .L20+4
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, .L20+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L19
	ldr	r0, .L20+16
	bl	puts
	bl	menu
.L19:
	ldr	r0, .L20+20
	bl	printf
	ldr	r1, .L20+24
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, .L20+24
	ldr	r2, [r2]
	ldr	r1, .L20+28
	str	r2, [r1, r3, lsl #2]
	nop
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC8
	.word	position
	.word	.LC1
	.word	n
	.word	.LC2
	.word	.LC9
	.word	element
	.word	arr
	.size	updation, .-updation
	.section	.rodata
	.align	2
.LC10:
	.ascii	"ENTER THE ELEMENT YOU WANT TO SEARCH\000"
	.align	2
.LC11:
	.ascii	"ELEMENT FOUND AT THE POSITION %d\012\012\000"
	.align	2
.LC12:
	.ascii	"\012ELEMNT NOT FOUND!!!\000"
	.text
	.align	2
	.global	linear_search
	.syntax unified
	.arm
	.fpu softvfp
	.type	linear_search, %function
linear_search:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L28
	bl	puts
	ldr	r1, .L28+4
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	ldr	r3, .L28+12
	mov	r2, #0
	str	r2, [r3]
	b	.L23
.L26:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	ldr	r2, .L28+16
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L24
	ldr	r3, .L28+12
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L28+20
	bl	printf
	ldr	r3, .L28+24
	mov	r2, #20
	str	r2, [r3]
	b	.L25
.L24:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L28+12
	str	r3, [r2]
.L23:
	ldr	r3, .L28+12
	ldr	r2, [r3]
	ldr	r3, .L28+28
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L26
.L25:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	cmp	r3, #20
	beq	.L27
	ldr	r0, .L28+32
	bl	printf
.L27:
	bl	menu
	nop
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC10
	.word	element
	.word	.LC1
	.word	i
	.word	arr
	.word	.LC11
	.word	choice
	.word	n
	.word	.LC12
	.size	linear_search, .-linear_search
	.align	2
	.global	bubble_sort_algo
	.syntax unified
	.arm
	.fpu softvfp
	.type	bubble_sort_algo, %function
bubble_sort_algo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L36
	mov	r2, #0
	str	r2, [r3]
	b	.L31
.L35:
	ldr	r3, .L36+4
	mov	r2, #0
	str	r2, [r3]
	b	.L32
.L34:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L36+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	ble	.L33
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r2, r1, r2
	ldr	r1, .L36+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r3, r3, #1
	sub	r2, r1, r2
	ldr	r1, .L36+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r2, r1, r2
	ldr	r1, .L36+8
	str	r2, [r1, r3, lsl #2]
.L33:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36+4
	str	r3, [r2]
.L32:
	ldr	r3, .L36+12
	ldr	r2, [r3]
	ldr	r3, .L36
	ldr	r3, [r3]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L34
	ldr	r3, .L36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36
	str	r3, [r2]
.L31:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, .L36+12
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L35
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	i
	.word	j
	.word	arr
	.word	n
	.size	bubble_sort_algo, .-bubble_sort_algo
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012THE ARRAY HAS BEEN SORTED\000"
	.text
	.align	2
	.global	bubble_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	bubble_sort, %function
bubble_sort:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	bubble_sort_algo
	ldr	r0, .L39
	bl	puts
	bl	menu
	nop
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC13
	.size	bubble_sort, .-bubble_sort
	.section	.rodata
	.align	2
.LC14:
	.ascii	"ELEMENT FOUND AT POSITION: %d, AFTER THE SORTING\000"
	.align	2
.LC15:
	.ascii	"ELEMENT NOT FOUND IN THE ARRAY!!!\000"
	.text
	.align	2
	.global	binary_search
	.syntax unified
	.arm
	.fpu softvfp
	.type	binary_search, %function
binary_search:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L48
	bl	puts
	ldr	r1, .L48+4
	ldr	r0, .L48+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L48+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	bl	bubble_sort_algo
	b	.L42
.L46:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, .L48+16
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L48+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L43
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L48+20
	bl	printf
	mov	r3, #10
	str	r3, [fp, #-12]
	b	.L44
.L43:
	ldr	r2, .L48+16
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L48+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L45
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L42
.L45:
	ldr	r2, .L48+16
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L48+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L42
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L42:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L46
.L44:
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L47
	ldr	r0, .L48+24
	bl	printf
.L47:
	bl	menu
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC10
	.word	element
	.word	.LC1
	.word	n
	.word	arr
	.word	.LC14
	.word	.LC15
	.size	binary_search, .-binary_search
	.section	.rodata
	.align	2
.LC16:
	.ascii	"ARRAY IS SORTED\000"
	.text
	.align	2
	.global	selection_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	selection_sort, %function
selection_sort:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L56
	mov	r2, #0
	str	r2, [r3]
	b	.L51
.L55:
	ldr	r3, .L56
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L56+4
	str	r3, [r2]
	b	.L52
.L54:
	ldr	r3, .L56
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r1, .L56+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	ble	.L53
	ldr	r3, .L56
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L56
	ldr	r3, [r3]
	add	r2, r1, r2
	ldr	r1, .L56+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L56
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L56+4
	ldr	r3, [r3]
	sub	r2, r1, r2
	ldr	r1, .L56+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L56
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r2, .L56+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L56
	ldr	r3, [r3]
	sub	r2, r1, r2
	ldr	r1, .L56+8
	str	r2, [r1, r3, lsl #2]
.L53:
	ldr	r3, .L56+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L56+4
	str	r3, [r2]
.L52:
	ldr	r3, .L56+4
	ldr	r2, [r3]
	ldr	r3, .L56+12
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L54
	ldr	r3, .L56
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L56
	str	r3, [r2]
.L51:
	ldr	r3, .L56+12
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L56
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L55
	ldr	r0, .L56+16
	bl	printf
	bl	menu
	nop
	mov	r0, r3
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	i
	.word	j
	.word	arr
	.word	n
	.word	.LC16
	.size	selection_sort, .-selection_sort
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\0121. INSERTION\011 2. UPDATION\011 3. TRAVERSING\011"
	.ascii	" 4. DELETION\011 5.EXIT\011 6. RECREATE THE ARRAY \000"
	.align	2
.LC18:
	.ascii	"7. LINEAR SEARCH\011 8. BUBBLE SORT\011 9. BINARY S"
	.ascii	"EARCH\011 10. SELECTION SORT\012\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
.L72:
	ldr	r0, .L73
	bl	puts
	ldr	r0, .L73+4
	bl	puts
	ldr	r1, .L73+8
	ldr	r0, .L73+12
	bl	__isoc99_scanf
	ldr	r3, .L73+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L59
.L61:
	.word	.L70
	.word	.L69
	.word	.L68
	.word	.L67
	.word	.L66
	.word	.L65
	.word	.L64
	.word	.L63
	.word	.L62
	.word	.L60
.L70:
	bl	insertion
	b	.L71
.L69:
	bl	updation
	b	.L71
.L68:
	bl	traversing
	b	.L71
.L67:
	bl	deletion
	b	.L71
.L66:
	mov	r0, #1
	bl	exit
.L65:
	bl	main
	b	.L71
.L64:
	bl	linear_search
	b	.L71
.L63:
	bl	bubble_sort
	b	.L71
.L62:
	bl	binary_search
	b	.L71
.L60:
	bl	selection_sort
	b	.L71
.L59:
	bl	menu
	nop
.L71:
	b	.L72
.L74:
	.align	2
.L73:
	.word	.LC17
	.word	.LC18
	.word	choice
	.word	.LC1
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC19:
	.ascii	"ENTER THE ELEMENTS OF ARRAY\000"
	.align	2
.LC20:
	.ascii	"\012ENTER THE ELEMENT:-\000"
	.align	2
.LC21:
	.ascii	"\012DO YOU WANT TO ENTER ANOTHER ELEMENT PRESS ANY "
	.ascii	"KEY ELSE PRESS 1\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L78
	bl	printf
	ldr	r3, .L78+4
	mov	r2, #0
	str	r2, [r3]
.L77:
	ldr	r0, .L78+8
	bl	puts
	ldr	r3, .L78+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L78+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L78+16
	bl	__isoc99_scanf
	ldr	r0, .L78+20
	bl	puts
	ldr	r1, .L78+24
	ldr	r0, .L78+16
	bl	__isoc99_scanf
	ldr	r3, .L78+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L76
	ldr	r3, .L78+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L78+28
	str	r3, [r2]
	bl	menu
.L76:
	ldr	r3, .L78+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L78+4
	str	r3, [r2]
	b	.L77
.L79:
	.align	2
.L78:
	.word	.LC19
	.word	i
	.word	.LC20
	.word	arr
	.word	.LC1
	.word	.LC21
	.word	choice
	.word	n
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
