	.file	"917539.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	x
	.align 8
	.type	x, @object
	.size	x, 8
x:
	.zero	8
	.globl	y
	.align 8
	.type	y, @object
	.size	y, 8
y:
	.zero	8
	.globl	z
	.align 8
	.type	z, @object
	.size	z, 8
z:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"\n 1.Creation \n 2.Insertion at beginning \n 3.Insertion at remaining"
	.align 8
.LC1:
	.string	"\n4.Deletion at beginning \n5.Deletion at remaining \n6.traverse"
	.align 8
.LC2:
	.string	"\n7.Search\n8.sort\n9.update\n10.Exit"
.LC3:
	.string	"\n Enter your choice:"
.LC4:
	.string	"%d"
	.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L15:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 10
	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	.L13-.L4
	.long	.L12-.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
.L13:
	mov	eax, 0
	call	create
	jmp	.L14
.L12:
	mov	eax, 0
	call	ins_at_beg
	jmp	.L14
.L11:
	mov	eax, 0
	call	ins_at_pos
	jmp	.L14
.L10:
	mov	eax, 0
	call	del_at_beg
	jmp	.L14
.L9:
	mov	eax, 0
	call	del_at_pos
	jmp	.L14
.L8:
	mov	eax, 0
	call	traverse
	jmp	.L14
.L7:
	mov	eax, 0
	call	search
	jmp	.L14
.L6:
	mov	eax, 0
	call	sort
	jmp	.L14
.L5:
	mov	eax, 0
	call	update
	jmp	.L14
.L3:
	mov	rax, QWORD PTR head[rip]
	mov	rdi, rax
	call	rev_traverse
	jmp	.L14
.L2:
	mov	edi, 0
	call	exit@PLT
.L14:
	jmp	.L15
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"\n Enter the data:"
	.align 8
.LC6:
	.string	"\n If you wish to continue press 1 otherwise 0:"
	.text
	.globl	create
	.type	create, @function
create:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR x[rip], rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR x[rip]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR x[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR x[rip]
	mov	QWORD PTR head[rip], rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L18
.L19:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR y[rip], rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR y[rip]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR y[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR y[rip]
	mov	rdx, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR y[rip]
	mov	QWORD PTR x[rip], rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L18:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L19
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create, .-create
	.globl	ins_at_beg
	.type	ins_at_beg, @function
ins_at_beg:
.LFB8:
	.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]
	mov	QWORD PTR x[rip], rax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR y[rip], rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR y[rip]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L22
.L23:
	mov	rax, QWORD PTR x[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR x[rip], rax
.L22:
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L23
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR y[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR y[rip]
	mov	rdx, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR y[rip]
	mov	QWORD PTR head[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ins_at_beg, .-ins_at_beg
	.section	.rodata
	.align 8
.LC7:
	.string	"cannot enter an element at this place"
	.align 8
.LC8:
	.string	"\n Enter the position to be inserted:"
.LC9:
	.string	"OUT OF BOUND"
	.text
	.globl	ins_at_pos
	.type	ins_at_pos, @function
ins_at_pos:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 1
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR y[rip], rax
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L25
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR y[rip]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR x[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L26
.L27:
	add	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L27
	add	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L30
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L31:
	mov	rax, QWORD PTR x[rip]
	mov	QWORD PTR z[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR x[rip], rax
	add	DWORD PTR -24[rbp], 1
.L30:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L31
	mov	rax, QWORD PTR y[rip]
	mov	rdx, QWORD PTR x[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR z[rip]
	mov	rdx, QWORD PTR y[rip]
	mov	QWORD PTR 8[rax], rdx
.L24:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ins_at_pos, .-ins_at_pos
	.section	.rodata
.LC10:
	.string	"\n List is empty"
	.text
	.globl	del_at_beg
	.type	del_at_beg, @function
del_at_beg:
.LFB10:
	.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	.L34
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L38
.L34:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR x[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR y[rip], rax
	jmp	.L36
.L37:
	mov	rax, QWORD PTR x[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR x[rip], rax
.L36:
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L37
	mov	rax, QWORD PTR y[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR y[rip]
	mov	rdi, rax
	call	free@PLT
.L38:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	del_at_beg, .-del_at_beg
	.section	.rodata
	.align 8
.LC11:
	.string	"\n Enter the position to be deleted:"
	.text
	.globl	del_at_pos
	.type	del_at_pos, @function
del_at_pos:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L40
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L45
.L40:
	mov	DWORD PTR -12[rbp], 1
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR x[rip], rax
	jmp	.L42
.L43:
	mov	rax, QWORD PTR x[rip]
	mov	QWORD PTR y[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR x[rip], rax
	add	DWORD PTR -12[rbp], 1
.L42:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L43
	mov	rdx, QWORD PTR x[rip]
	mov	rax, QWORD PTR y[rip]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR x[rip]
	mov	rdi, rax
	call	free@PLT
.L45:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	del_at_pos, .-del_at_pos
	.section	.rodata
.LC12:
	.string	"%d->"
	.text
	.globl	traverse
	.type	traverse, @function
traverse:
.LFB12:
	.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	.L47
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L51
.L47:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR x[rip], rax
	jmp	.L49
.L50:
	mov	rax, QWORD PTR x[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR x[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR x[rip], rax
.L49:
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L50
	mov	rax, QWORD PTR x[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L51:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	traverse, .-traverse
	.section	.rodata
.LC13:
	.string	"\nenter the element to search"
	.align 8
.LC14:
	.string	"\nList is empty nothing to search"
.LC15:
	.string	"\nthe element is found at %d"
.LC16:
	.string	"element found at postion %d"
.LC17:
	.string	"\nelement not found"
	.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
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L53
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L61
.L53:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR x[rip], rax
	jmp	.L55
.L58:
	mov	rax, QWORD PTR x[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jne	.L56
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L57
.L56:
	add	DWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR x[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR x[rip], rax
.L55:
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L58
.L57:
	mov	rax, QWORD PTR x[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jne	.L59
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L59:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L61
	lea	rdi, .LC17[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
.LFE13:
	.size	search, .-search
	.section	.rodata
.LC18:
	.string	"empty linkedlist"
	.text
	.globl	sort
	.type	sort, @function
sort:
.LFB14:
	.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 head[rip]
	test	rax, rax
	jne	.L63
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L73
.L63:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L65
.L71:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L66
.L70:
	mov	rax, QWORD PTR head[rip]
	cmp	QWORD PTR -8[rbp], rax
	je	.L72
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L68
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
.L68:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L66:
	mov	rax, QWORD PTR head[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L70
	jmp	.L69
.L72:
	nop
.L69:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L65:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L71
.L73:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	sort, .-sort
	.section	.rodata
.LC19:
	.string	"\n empty list"
.LC20:
	.string	"enter the value to be edited"
.LC21:
	.string	"enter the value to be replace"
.LC22:
	.string	"\nUPdate sucessful"
.LC23:
	.string	"\n update not successful"
	.text
	.globl	update
	.type	update, @function
update:
.LFB15:
	.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 -20[rbp], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L75
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L84
.L75:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L77
.L80:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L78
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -20[rbp], 1
	jmp	.L79
.L78:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L77:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L80
.L79:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L81
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -20[rbp], 1
.L81:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L82
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L84
.L82:
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L84:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L83
	call	__stack_chk_fail@PLT
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	update, .-update
	.section	.rodata
.LC24:
	.string	"empty linked list"
.LC25:
	.string	" %d"
	.text
	.globl	rev_traverse
	.type	rev_traverse, @function
rev_traverse:
.LFB16:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L86
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L89
.L86:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	je	.L88
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rev_traverse
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
.L88:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L89
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
.L89:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	rev_traverse, .-rev_traverse
	.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	"917539.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.comm	x,4,4
	.comm	y,4,4
	.comm	z,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 1.Creation \012 2.Insertion at beginning \012 "
	.ascii	"3.Insertion at remaining\000"
	.align	2
.LC1:
	.ascii	"\0124.Deletion at beginning \0125.Deletion at remai"
	.ascii	"ning \0126.traverse\000"
	.align	2
.LC2:
	.ascii	"\0127.Search\0128.sort\0129.update\01210.Exit\000"
	.align	2
.LC3:
	.ascii	"\012 Enter your choice:\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.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
	ldr	r0, .L17+4
	bl	printf
	ldr	r0, .L17+8
	bl	printf
	ldr	r0, .L17+12
	bl	puts
.L15:
	ldr	r0, .L17+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L17+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L13:
	bl	create
	b	.L14
.L12:
	bl	ins_at_beg
	b	.L14
.L11:
	bl	ins_at_pos
	b	.L14
.L10:
	bl	del_at_beg
	b	.L14
.L9:
	bl	del_at_pos
	b	.L14
.L8:
	bl	traverse
	b	.L14
.L7:
	bl	search
	b	.L14
.L6:
	bl	sort
	b	.L14
.L5:
	bl	update
	b	.L14
.L3:
	ldr	r3, .L17+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	rev_traverse
	b	.L14
.L2:
	mov	r0, #0
	bl	exit
.L14:
	b	.L15
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	head
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012 Enter the data:\000"
	.align	2
.LC7:
	.ascii	"\012 If you wish to continue press 1 otherwise 0:\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ 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, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L23+4
	str	r2, [r3]
	ldr	r0, .L23+8
	bl	printf
	ldr	r3, .L23+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, .L23+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, .L23+16
	str	r3, [r2]
	ldr	r0, .L23+20
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	b	.L20
.L21:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L23+24
	str	r2, [r3]
	ldr	r0, .L23+8
	bl	printf
	ldr	r3, .L23+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, .L23+24
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L23+24
	ldr	r3, [r3]
	ldr	r2, .L23+16
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L23+24
	ldr	r3, [r3]
	ldr	r2, .L23+4
	str	r3, [r2]
	ldr	r0, .L23+20
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L23+12
	bl	__isoc99_scanf
.L20:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L21
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.word	x
	.word	.LC6
	.word	.LC4
	.word	head
	.word	.LC7
	.word	y
	.size	create, .-create
	.align	2
	.global	ins_at_beg
	.syntax unified
	.arm
	.fpu softvfp
	.type	ins_at_beg, %function
ins_at_beg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, .L28+4
	str	r3, [r2]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L28+8
	str	r2, [r3]
	ldr	r0, .L28+12
	bl	printf
	ldr	r3, .L28+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	b	.L26
.L27:
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L28+4
	str	r3, [r2]
.L26:
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L28
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L27
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, .L28+8
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L28+8
	ldr	r3, [r3]
	ldr	r2, .L28
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L28+8
	ldr	r3, [r3]
	ldr	r2, .L28
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	head
	.word	x
	.word	y
	.word	.LC6
	.word	.LC4
	.size	ins_at_beg, .-ins_at_beg
	.section	.rodata
	.align	2
.LC9:
	.ascii	"cannot enter an element at this place\000"
	.align	2
.LC10:
	.ascii	"\012 Enter the position to be inserted:\000"
	.align	2
.LC11:
	.ascii	"OUT OF BOUND\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ins_at_pos
	.syntax unified
	.arm
	.fpu softvfp
	.type	ins_at_pos, %function
ins_at_pos:
	@ 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, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L39+4
	str	r2, [r3]
	ldr	r3, .L39+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L39+12
	bl	printf
.L31:
	ldr	r0, .L39+16
	bl	printf
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L39+20
	bl	__isoc99_scanf
	ldr	r0, .L39+24
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L39+20
	bl	__isoc99_scanf
	ldr	r3, .L39+8
	ldr	r3, [r3]
	ldr	r2, .L39+28
	str	r3, [r2]
	ldr	r3, .L39+8
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L32
.L33:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L32:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, .L39+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L33
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L36
	ldr	r0, .L39+32
	bl	printf
	b	.L30
.L37:
	ldr	r3, .L39+28
	ldr	r3, [r3]
	ldr	r2, .L39+36
	str	r3, [r2]
	ldr	r3, .L39+28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L39+28
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L37
	ldr	r3, .L39+4
	ldr	r3, [r3]
	ldr	r2, .L39+28
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L39+36
	ldr	r3, [r3]
	ldr	r2, .L39+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
.L30:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC12
	.word	y
	.word	head
	.word	.LC9
	.word	.LC6
	.word	.LC4
	.word	.LC10
	.word	x
	.word	.LC11
	.word	z
	.size	ins_at_pos, .-ins_at_pos
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012 List is empty\000"
	.text
	.align	2
	.global	del_at_beg
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_at_beg, %function
del_at_beg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L47+4
	bl	printf
	b	.L46
.L42:
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+8
	str	r3, [r2]
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+12
	str	r3, [r2]
	b	.L44
.L45:
	ldr	r3, .L47+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L47+8
	str	r3, [r2]
.L44:
	ldr	r3, .L47+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L45
	ldr	r3, .L47+12
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L47
	str	r3, [r2]
	ldr	r3, .L47+8
	ldr	r3, [r3]
	ldr	r2, .L47
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L47+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L46:
	nop
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	head
	.word	.LC13
	.word	x
	.word	y
	.size	del_at_beg, .-del_at_beg
	.section	.rodata
	.align	2
.LC14:
	.ascii	"\012 Enter the position to be deleted:\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	del_at_pos
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_at_pos, %function
del_at_pos:
	@ 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, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L56+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L50
	ldr	r0, .L56+8
	bl	printf
	b	.L55
.L50:
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r0, .L56+12
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L56+16
	bl	__isoc99_scanf
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r2, .L56+20
	str	r3, [r2]
	b	.L52
.L53:
	ldr	r3, .L56+20
	ldr	r3, [r3]
	ldr	r2, .L56+24
	str	r3, [r2]
	ldr	r3, .L56+20
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L56+20
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L52:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L53
	ldr	r3, .L56+20
	ldr	r2, [r3]
	ldr	r3, .L56+24
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, .L56+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L55:
	nop
	ldr	r3, .L56
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC15
	.word	head
	.word	.LC13
	.word	.LC14
	.word	.LC4
	.word	x
	.word	y
	.size	del_at_pos, .-del_at_pos
	.section	.rodata
	.align	2
.LC16:
	.ascii	"%d->\000"
	.text
	.align	2
	.global	traverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverse, %function
traverse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L64
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L59
	ldr	r0, .L64+4
	bl	printf
	b	.L63
.L59:
	ldr	r3, .L64
	ldr	r3, [r3]
	ldr	r2, .L64+8
	str	r3, [r2]
	b	.L61
.L62:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L64+12
	bl	printf
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L64+8
	str	r3, [r2]
.L61:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L64
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L62
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L64+16
	bl	printf
.L63:
	nop
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	head
	.word	.LC13
	.word	x
	.word	.LC16
	.word	.LC4
	.size	traverse, .-traverse
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012enter the element to search\000"
	.align	2
.LC18:
	.ascii	"\012List is empty nothing to search\000"
	.align	2
.LC19:
	.ascii	"\012the element is found at %d\000"
	.align	2
.LC20:
	.ascii	"element found at postion %d\000"
	.align	2
.LC21:
	.ascii	"\012element not found\000"
	.align	2
.LC22:
	.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, .L76
	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	r0, .L76+4
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L76+8
	bl	__isoc99_scanf
	ldr	r3, .L76+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L67
	ldr	r0, .L76+16
	bl	printf
	b	.L75
.L67:
	ldr	r3, .L76+12
	ldr	r3, [r3]
	ldr	r2, .L76+20
	str	r3, [r2]
	b	.L69
.L72:
	ldr	r3, .L76+20
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L70
	ldr	r1, [fp, #-16]
	ldr	r0, .L76+24
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L71
.L70:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L76+20
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L76+20
	str	r3, [r2]
.L69:
	ldr	r3, .L76+20
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L76+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L72
.L71:
	ldr	r3, .L76+20
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L73
	ldr	r1, [fp, #-16]
	ldr	r0, .L76+28
	bl	printf
.L73:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L76+32
	bl	printf
.L75:
	nop
	ldr	r3, .L76
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC22
	.word	.LC17
	.word	.LC4
	.word	head
	.word	.LC18
	.word	x
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	search, .-search
	.section	.rodata
	.align	2
.LC23:
	.ascii	"empty linkedlist\000"
	.text
	.align	2
	.global	sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort, %function
sort:
	@ 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, .L90
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L79
	ldr	r0, .L90+4
	bl	printf
	b	.L89
.L79:
	ldr	r3, .L90
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L81
.L87:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	b	.L82
.L86:
	ldr	r3, .L90
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L88
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L84
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L84:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L82:
	ldr	r3, .L90
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L86
	b	.L85
.L88:
	nop
.L85:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L81:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L90
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L87
.L89:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L91:
	.align	2
.L90:
	.word	head
	.word	.LC23
	.size	sort, .-sort
	.section	.rodata
	.align	2
.LC24:
	.ascii	"\012 empty list\000"
	.align	2
.LC25:
	.ascii	"enter the value to be edited\000"
	.align	2
.LC26:
	.ascii	"enter the value to be replace\000"
	.align	2
.LC27:
	.ascii	"\012UPdate sucessful\000"
	.align	2
.LC28:
	.ascii	"\012 update not successful\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ 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, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L103+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L93
	ldr	r0, .L103+8
	bl	printf
	b	.L102
.L93:
	ldr	r0, .L103+12
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L103+16
	bl	__isoc99_scanf
	ldr	r3, .L103+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L103+24
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L103+16
	bl	__isoc99_scanf
	ldr	r3, .L103+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L95
.L98:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L96
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L97
.L96:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L95:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L103+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L98
.L97:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L99
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-12]
.L99:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L100
	ldr	r0, .L103+28
	bl	printf
	b	.L102
.L100:
	ldr	r0, .L103+32
	bl	printf
.L102:
	nop
	ldr	r3, .L103
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L101
	bl	__stack_chk_fail
.L101:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L104:
	.align	2
.L103:
	.word	.LC29
	.word	head
	.word	.LC24
	.word	.LC25
	.word	.LC4
	.word	stdin
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	update, .-update
	.section	.rodata
	.align	2
.LC30:
	.ascii	"empty linked list\000"
	.align	2
.LC31:
	.ascii	" %d\000"
	.text
	.align	2
	.global	rev_traverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	rev_traverse, %function
rev_traverse:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L110
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L106
	ldr	r0, .L110+4
	bl	printf
	b	.L109
.L106:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L110
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L108
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	rev_traverse
	ldr	r1, [fp, #-8]
	ldr	r0, .L110+8
	bl	printf
.L108:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L110
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L109
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L110+8
	bl	printf
.L109:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L111:
	.align	2
.L110:
	.word	head
	.word	.LC30
	.word	.LC31
	.size	rev_traverse, .-rev_traverse
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
