	.file	"130858.c"
	.intel_syntax noprefix
	.text
	.globl	newnode
	.bss
	.align 8
	.type	newnode, @object
	.size	newnode, 8
newnode:
	.zero	8
	.globl	ptr
	.align 8
	.type	ptr, @object
	.size	ptr, 8
ptr:
	.zero	8
	.globl	prev
	.align 8
	.type	prev, @object
	.size	prev, 8
prev:
	.zero	8
	.globl	temp
	.align 8
	.type	temp, @object
	.size	temp, 8
temp:
	.zero	8
	.globl	head
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	tail
	.align 8
	.type	tail, @object
	.size	tail, 8
tail:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"\n---------------------------------"
.LC1:
	.string	"\nOperations on a linked list"
.LC2:
	.string	"\n1.Insert node at beginning"
.LC3:
	.string	"\n2.Insert node at end"
	.align 8
.LC4:
	.string	"\n3.Insert node at a specific position"
	.align 8
.LC5:
	.string	"\n4.Delete Node from any Position"
.LC6:
	.string	"\n5.Update Node Value"
	.align 8
.LC7:
	.string	"\n6.Search Element in the linked list"
.LC8:
	.string	"\n7.Display List"
.LC9:
	.string	"\n8.Exit"
	.align 8
.LC10:
	.string	"\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
.LC11:
	.string	"\nEnter your choice: "
.LC12:
	.string	"%d"
.LC13:
	.string	"\n...Exiting..."
.LC14:
	.string	"\n...Invalid Choice..."
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
.L14:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 8
	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	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L11:
	mov	eax, 0
	call	insertNodeAtTheBeginning
	jmp	.L12
.L10:
	mov	eax, 0
	call	insertNodeAtTheEnd
	jmp	.L12
.L9:
	mov	eax, 0
	call	insertNodeAtPosition
	jmp	.L12
.L8:
	mov	eax, 0
	call	deletePosition
	jmp	.L12
.L7:
	mov	eax, 0
	call	updateValue
	jmp	.L12
.L6:
	mov	eax, 0
	call	search
	jmp	.L12
.L5:
	mov	eax, 0
	call	display
	jmp	.L12
.L3:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	jmp	.L16
.L2:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
.L12:
	jmp	.L14
.L16:
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC15:
	.string	"\nMemory was not allocated"
	.text
	.globl	createNode
	.type	createNode, @function
createNode:
.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
	mov	DWORD PTR -4[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR newnode[rip], rax
	mov	rax, QWORD PTR newnode[rip]
	test	rax, rax
	jne	.L18
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L19
.L18:
	mov	rax, QWORD PTR newnode[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR newnode[rip]
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	createNode, .-createNode
	.section	.rodata
	.align 8
.LC16:
	.string	"\nEnter the value for the node: "
	.text
	.globl	insertNodeAtTheBeginning
	.type	insertNodeAtTheBeginning, @function
insertNodeAtTheBeginning:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	createNode
	mov	QWORD PTR newnode[rip], rax
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR tail[rip]
	cmp	rdx, rax
	jne	.L21
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 8[rax], 0
	jmp	.L22
.L21:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR temp[rip]
	mov	QWORD PTR 8[rax], rdx
.L22:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insertNodeAtTheBeginning, .-insertNodeAtTheBeginning
	.section	.rodata
	.align 8
.LC17:
	.string	"\nEnter the value for the Node: "
.LC18:
	.string	"\n----INSERTED----"
	.text
	.globl	insertNodeAtTheEnd
	.type	insertNodeAtTheEnd, @function
insertNodeAtTheEnd:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	createNode
	mov	QWORD PTR newnode[rip], rax
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR tail[rip]
	cmp	rdx, rax
	jne	.L25
	mov	rax, QWORD PTR tail[rip]
	test	rax, rax
	jne	.L25
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 8[rax], 0
	jmp	.L26
.L25:
	mov	rax, QWORD PTR tail[rip]
	mov	rdx, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 8[rax], 0
.L26:
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insertNodeAtTheEnd, .-insertNodeAtTheEnd
	.section	.rodata
.LC19:
	.string	"\nEnter the position "
.LC20:
	.string	"\nInserted"
.LC21:
	.string	"Position is out of range"
	.text
	.globl	insertNodeAtPosition
	.type	insertNodeAtPosition, @function
insertNodeAtPosition:
.LFB10:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	createNode
	mov	QWORD PTR newnode[rip], rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L29
.L30:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	add	DWORD PTR -16[rbp], 1
.L29:
	mov	rax, QWORD PTR ptr[rip]
	test	rax, rax
	jne	.L30
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1
	jne	.L31
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR tail[rip]
	cmp	rdx, rax
	jne	.L32
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 8[rax], 0
	jmp	.L33
.L32:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR temp[rip]
	mov	QWORD PTR 8[rax], rdx
.L33:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L39
.L31:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1
	jle	.L35
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L35
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L36
.L37:
	mov	rax, QWORD PTR ptr[rip]
	mov	QWORD PTR prev[rip], rax
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	add	DWORD PTR -12[rbp], 1
.L36:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L37
	mov	rax, QWORD PTR prev[rip]
	mov	rdx, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR newnode[rip]
	mov	rdx, QWORD PTR ptr[rip]
	mov	QWORD PTR 8[rax], rdx
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L39
.L35:
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L39:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insertNodeAtPosition, .-insertNodeAtPosition
	.section	.rodata
.LC22:
	.string	"List is empy"
.LC23:
	.string	":No node to delete"
	.align 8
.LC24:
	.string	"\nEnter the position of value to be deleted: "
.LC25:
	.string	" %d"
.LC26:
	.string	"\nElement deleted"
.LC27:
	.string	"Position is out of range "
	.text
	.globl	deletePosition
	.type	deletePosition, @function
deletePosition:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L41
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L51
.L41:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 1
	jne	.L44
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR head[rip], rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L51
.L45:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	add	DWORD PTR -16[rbp], 1
.L44:
	mov	rax, QWORD PTR ptr[rip]
	test	rax, rax
	jne	.L45
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jle	.L46
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L46
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L47
.L48:
	mov	rax, QWORD PTR ptr[rip]
	mov	QWORD PTR prev[rip], rax
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	add	DWORD PTR -12[rbp], 1
.L47:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L48
	mov	rdx, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR prev[rip]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L49
.L46:
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
.L49:
	mov	rax, QWORD PTR ptr[rip]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L51:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	deletePosition, .-deletePosition
	.section	.rodata
.LC28:
	.string	"List is empty"
	.align 8
.LC29:
	.string	":No nodes in the list to update"
	.align 8
.LC30:
	.string	"\nEnter the value to be updated: "
.LC31:
	.string	"\nEnter the new value:"
.LC32:
	.string	"\nUpdated Successfully"
.LC33:
	.string	"\nValue not found in List"
	.text
	.globl	updateValue
	.type	updateValue, @function
updateValue:
.LFB12:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L53
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L61
.L53:
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L55
.L58:
	mov	rax, QWORD PTR ptr[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jne	.L56
	mov	rax, QWORD PTR ptr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -12[rbp], 1
	jmp	.L57
.L56:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
.L55:
	mov	rax, QWORD PTR ptr[rip]
	test	rax, rax
	jne	.L58
.L57:
	cmp	DWORD PTR -12[rbp], 1
	jne	.L59
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L61
.L59:
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L61:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	updateValue, .-updateValue
	.section	.rodata
.LC34:
	.string	":No nodes in the list"
.LC35:
	.string	"\nEnter the value to search "
	.align 8
.LC36:
	.string	"\nElement %d found at %d position\n"
	.align 8
.LC37:
	.string	"\nElement %d not found in list\n"
	.text
	.globl	search
	.type	search, @function
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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L63
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	jmp	.L71
.L63:
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L65
.L68:
	add	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jne	.L66
	mov	DWORD PTR -16[rbp], 1
	jmp	.L67
.L66:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
.L65:
	mov	rax, QWORD PTR ptr[rip]
	test	rax, rax
	jne	.L68
.L67:
	cmp	DWORD PTR -16[rbp], 1
	jne	.L69
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L71
.L69:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
.L71:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	search, .-search
	.section	.rodata
	.align 8
.LC38:
	.string	":No nodes in the list to display"
.LC39:
	.string	"%d\t"
	.text
	.globl	display
	.type	display, @function
display:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L73
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	call	puts@PLT
	jmp	.L77
.L73:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L75
.L76:
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
.L75:
	mov	rax, QWORD PTR ptr[rip]
	test	rax, rax
	jne	.L76
.L77:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	display, .-display
	.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	"130858.c"
	.text
	.comm	newnode,4,4
	.comm	ptr,4,4
	.comm	prev,4,4
	.comm	temp,4,4
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.global	tail
	.align	2
	.type	tail, %object
	.size	tail, 4
tail:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012---------------------------------\000"
	.align	2
.LC1:
	.ascii	"\012Operations on a linked list\000"
	.align	2
.LC2:
	.ascii	"\0121.Insert node at beginning\000"
	.align	2
.LC3:
	.ascii	"\0122.Insert node at end\000"
	.align	2
.LC4:
	.ascii	"\0123.Insert node at a specific position\000"
	.align	2
.LC5:
	.ascii	"\0124.Delete Node from any Position\000"
	.align	2
.LC6:
	.ascii	"\0125.Update Node Value\000"
	.align	2
.LC7:
	.ascii	"\0126.Search Element in the linked list\000"
	.align	2
.LC8:
	.ascii	"\0127.Display List\000"
	.align	2
.LC9:
	.ascii	"\0128.Exit\000"
	.align	2
.LC10:
	.ascii	"\012~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\000"
	.align	2
.LC11:
	.ascii	"\012Enter your choice: \000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"\012...Exiting...\000"
	.align	2
.LC14:
	.ascii	"\012...Invalid Choice...\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.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, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
.L14:
	ldr	r0, .L17+4
	bl	puts
	ldr	r0, .L17+8
	bl	puts
	ldr	r0, .L17+4
	bl	puts
	ldr	r0, .L17+12
	bl	printf
	ldr	r0, .L17+16
	bl	printf
	ldr	r0, .L17+20
	bl	printf
	ldr	r0, .L17+24
	bl	printf
	ldr	r0, .L17+28
	bl	printf
	ldr	r0, .L17+32
	bl	printf
	ldr	r0, .L17+36
	bl	printf
	ldr	r0, .L17+40
	bl	puts
	ldr	r0, .L17+44
	bl	puts
	ldr	r0, .L17+48
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L17+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L11:
	bl	insertNodeAtTheBeginning
	b	.L12
.L10:
	bl	insertNodeAtTheEnd
	b	.L12
.L9:
	bl	insertNodeAtPosition
	b	.L12
.L8:
	bl	deletePosition
	b	.L12
.L7:
	bl	updateValue
	b	.L12
.L6:
	bl	search
	b	.L12
.L5:
	bl	display
	b	.L12
.L3:
	ldr	r0, .L17+56
	bl	puts
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	b	.L16
.L2:
	ldr	r0, .L17+60
	bl	puts
	nop
.L12:
	b	.L14
.L16:
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.section	.rodata
	.align	2
.LC16:
	.ascii	"\012Memory was not allocated\000"
	.text
	.align	2
	.global	createNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	createNode, %function
createNode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L22
	str	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L22+4
	bl	printf
	mov	r3, #0
	b	.L21
.L20:
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L22
	ldr	r3, [r3]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	newnode
	.word	.LC16
	.size	createNode, .-createNode
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012Enter the value for the node: \000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertNodeAtTheBeginning
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertNodeAtTheBeginning, %function
insertNodeAtTheBeginning:
	@ 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, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L28+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	createNode
	mov	r3, r0
	ldr	r2, .L28+12
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r2, [r3]
	ldr	r3, .L28+20
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L25
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L28+12
	ldr	r3, [r3]
	ldr	r2, .L28+20
	str	r3, [r2]
	ldr	r3, .L28+20
	ldr	r3, [r3]
	ldr	r2, .L28+16
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L28+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L26
.L25:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	ldr	r2, .L28+24
	str	r3, [r2]
	ldr	r3, .L28+12
	ldr	r3, [r3]
	ldr	r2, .L28+16
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r3, [r3]
	ldr	r2, .L28+24
	ldr	r2, [r2]
	str	r2, [r3, #4]
.L26:
	nop
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC18
	.word	.LC17
	.word	.LC12
	.word	newnode
	.word	head
	.word	tail
	.word	temp
	.size	insertNodeAtTheBeginning, .-insertNodeAtTheBeginning
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012Enter the value for the Node: \000"
	.align	2
.LC20:
	.ascii	"\012----INSERTED----\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertNodeAtTheEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertNodeAtTheEnd, %function
insertNodeAtTheEnd:
	@ 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, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L34+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	createNode
	mov	r3, r0
	ldr	r2, .L34+12
	str	r3, [r2]
	ldr	r3, .L34+16
	ldr	r2, [r3]
	ldr	r3, .L34+20
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L31
	ldr	r3, .L34+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L34+12
	ldr	r3, [r3]
	ldr	r2, .L34+20
	str	r3, [r2]
	ldr	r3, .L34+20
	ldr	r3, [r3]
	ldr	r2, .L34+16
	str	r3, [r2]
	ldr	r3, .L34+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L34+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L32
.L31:
	ldr	r3, .L34+20
	ldr	r3, [r3]
	ldr	r2, .L34+12
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L34+12
	ldr	r3, [r3]
	ldr	r2, .L34+20
	str	r3, [r2]
	ldr	r3, .L34+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
.L32:
	ldr	r0, .L34+24
	bl	printf
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC21
	.word	.LC19
	.word	.LC12
	.word	newnode
	.word	head
	.word	tail
	.word	.LC20
	.size	insertNodeAtTheEnd, .-insertNodeAtTheEnd
	.section	.rodata
	.align	2
.LC22:
	.ascii	"\012Enter the position \000"
	.align	2
.LC23:
	.ascii	"\012Inserted\000"
	.align	2
.LC24:
	.ascii	"Position is out of range\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertNodeAtPosition
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertNodeAtPosition, %function
insertNodeAtPosition:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, .L48+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L48+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	createNode
	mov	r3, r0
	ldr	r2, .L48+12
	str	r3, [r2]
	ldr	r0, .L48+16
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L48+8
	bl	__isoc99_scanf
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, .L48+24
	str	r3, [r2]
	b	.L37
.L38:
	ldr	r3, .L48+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L48+24
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L37:
	ldr	r3, .L48+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L39
	ldr	r3, .L48+20
	ldr	r2, [r3]
	ldr	r3, .L48+28
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L40
	ldr	r3, .L48+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L48+12
	ldr	r3, [r3]
	ldr	r2, .L48+28
	str	r3, [r2]
	ldr	r3, .L48+28
	ldr	r3, [r3]
	ldr	r2, .L48+20
	str	r3, [r2]
	ldr	r3, .L48+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L48+28
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L41
.L40:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, .L48+32
	str	r3, [r2]
	ldr	r3, .L48+12
	ldr	r3, [r3]
	ldr	r2, .L48+20
	str	r3, [r2]
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, .L48+32
	ldr	r2, [r2]
	str	r2, [r3, #4]
.L41:
	ldr	r0, .L48+36
	bl	printf
	b	.L47
.L39:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L43
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L43
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, .L48+24
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L44
.L45:
	ldr	r3, .L48+24
	ldr	r3, [r3]
	ldr	r2, .L48+40
	str	r3, [r2]
	ldr	r3, .L48+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L48+24
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L44:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L45
	ldr	r3, .L48+40
	ldr	r3, [r3]
	ldr	r2, .L48+12
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L48+12
	ldr	r3, [r3]
	ldr	r2, .L48+24
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r0, .L48+44
	bl	printf
	b	.L47
.L43:
	ldr	r0, .L48+48
	bl	printf
.L47:
	nop
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC25
	.word	.LC19
	.word	.LC12
	.word	newnode
	.word	.LC22
	.word	head
	.word	ptr
	.word	tail
	.word	temp
	.word	.LC23
	.word	prev
	.word	.LC20
	.word	.LC24
	.size	insertNodeAtPosition, .-insertNodeAtPosition
	.section	.rodata
	.align	2
.LC26:
	.ascii	"List is empy\000"
	.align	2
.LC27:
	.ascii	":No node to delete\000"
	.align	2
.LC28:
	.ascii	"\012Enter the position of value to be deleted: \000"
	.align	2
.LC29:
	.ascii	" %d\000"
	.align	2
.LC30:
	.ascii	"\012Element deleted\000"
	.align	2
.LC31:
	.ascii	"Position is out of range \000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	deletePosition
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletePosition, %function
deletePosition:
	@ 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	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L51
	ldr	r0, .L62+8
	bl	puts
	ldr	r0, .L62+12
	bl	puts
	b	.L61
.L51:
	ldr	r0, .L62+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L62+20
	bl	__isoc99_scanf
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, .L62+24
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L54
	ldr	r3, .L62+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L62+4
	str	r3, [r2]
	ldr	r0, .L62+28
	bl	printf
	b	.L61
.L55:
	ldr	r3, .L62+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L62+24
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L54:
	ldr	r3, .L62+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L56
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L56
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, .L62+24
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L57
.L58:
	ldr	r3, .L62+24
	ldr	r3, [r3]
	ldr	r2, .L62+32
	str	r3, [r2]
	ldr	r3, .L62+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L62+24
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L57:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L58
	ldr	r3, .L62+24
	ldr	r2, [r3]
	ldr	r3, .L62+32
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	b	.L59
.L56:
	ldr	r0, .L62+36
	bl	printf
.L59:
	ldr	r3, .L62+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, .L62+28
	bl	printf
.L61:
	nop
	ldr	r3, .L62
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC32
	.word	head
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	ptr
	.word	.LC30
	.word	prev
	.word	.LC31
	.size	deletePosition, .-deletePosition
	.section	.rodata
	.align	2
.LC33:
	.ascii	"List is empty\000"
	.align	2
.LC34:
	.ascii	":No nodes in the list to update\000"
	.align	2
.LC35:
	.ascii	"\012Enter the value to be updated: \000"
	.align	2
.LC36:
	.ascii	"\012Enter the new value:\000"
	.align	2
.LC37:
	.ascii	"\012Updated Successfully\000"
	.align	2
.LC38:
	.ascii	"\012Value not found in List\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	updateValue
	.syntax unified
	.arm
	.fpu softvfp
	.type	updateValue, %function
updateValue:
	@ 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	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L65
	ldr	r0, .L74+8
	bl	puts
	ldr	r0, .L74+12
	bl	puts
	b	.L73
.L65:
	ldr	r0, .L74+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L74+20
	bl	__isoc99_scanf
	ldr	r0, .L74+24
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L74+20
	bl	__isoc99_scanf
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldr	r2, .L74+28
	str	r3, [r2]
	b	.L67
.L70:
	ldr	r3, .L74+28
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L68
	ldr	r3, .L74+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L69
.L68:
	ldr	r3, .L74+28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L74+28
	str	r3, [r2]
.L67:
	ldr	r3, .L74+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L70
.L69:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L71
	ldr	r0, .L74+32
	bl	printf
	b	.L73
.L71:
	ldr	r0, .L74+36
	bl	printf
.L73:
	nop
	ldr	r3, .L74
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC39
	.word	head
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC12
	.word	.LC36
	.word	ptr
	.word	.LC37
	.word	.LC38
	.size	updateValue, .-updateValue
	.section	.rodata
	.align	2
.LC40:
	.ascii	":No nodes in the list\000"
	.align	2
.LC41:
	.ascii	"\012Enter the value to search \000"
	.align	2
.LC42:
	.ascii	"\012Element %d found at %d position\012\000"
	.align	2
.LC43:
	.ascii	"\012Element %d not found in list\012\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
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	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L86+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L77
	ldr	r0, .L86+8
	bl	puts
	ldr	r0, .L86+12
	bl	puts
	b	.L85
.L77:
	ldr	r0, .L86+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L86+20
	bl	__isoc99_scanf
	ldr	r3, .L86+4
	ldr	r3, [r3]
	ldr	r2, .L86+24
	str	r3, [r2]
	b	.L79
.L82:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L86+24
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L80
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L81
.L80:
	ldr	r3, .L86+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L86+24
	str	r3, [r2]
.L79:
	ldr	r3, .L86+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L82
.L81:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L83
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L86+28
	bl	printf
	b	.L85
.L83:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L86+32
	bl	printf
.L85:
	nop
	ldr	r3, .L86
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC44
	.word	head
	.word	.LC33
	.word	.LC40
	.word	.LC41
	.word	.LC12
	.word	ptr
	.word	.LC42
	.word	.LC43
	.size	search, .-search
	.section	.rodata
	.align	2
.LC45:
	.ascii	":No nodes in the list to display\000"
	.align	2
.LC46:
	.ascii	"%d\011\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L94
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L89
	ldr	r0, .L94+4
	bl	puts
	ldr	r0, .L94+8
	bl	puts
	b	.L93
.L89:
	ldr	r3, .L94
	ldr	r3, [r3]
	ldr	r2, .L94+12
	str	r3, [r2]
	b	.L91
.L92:
	ldr	r3, .L94+12
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L94+16
	bl	printf
	ldr	r3, .L94+12
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L94+12
	str	r3, [r2]
.L91:
	ldr	r3, .L94+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L92
.L93:
	nop
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	head
	.word	.LC33
	.word	.LC45
	.word	ptr
	.word	.LC46
	.size	display, .-display
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
