	.file	"184519216.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	newnode
	.align 8
	.type	newnode, @object
	.size	newnode, 8
newnode:
	.zero	8
	.globl	temp
	.align 8
	.type	temp, @object
	.size	temp, 8
temp:
	.zero	8
	.section	.rodata
.LC0:
	.string	"->%d"
	.text
	.globl	displayf
	.type	displayf, @function
displayf:
.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 head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L2:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	displayf, .-displayf
	.globl	displayr
	.type	displayr, @function
displayr:
.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 head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L6
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L7:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	displayr, .-displayr
	.section	.rodata
.LC1:
	.string	"Enter number:"
.LC2:
	.string	"%d"
	.text
	.globl	insert
	.type	insert, @function
insert:
.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	edi, 24
	call	malloc@PLT
	mov	QWORD PTR newnode[rip], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR newnode[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L10
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	jmp	.L13
.L10:
	mov	rax, QWORD PTR temp[rip]
	mov	rdx, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR newnode[rip]
	mov	rdx, QWORD PTR temp[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR temp[rip], rax
.L13:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert, .-insert
	.section	.rodata
.LC3:
	.string	"Enter number to be inserted:"
	.text
	.globl	insertstart
	.type	insertstart, @function
insertstart:
.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	edi, 24
	call	malloc@PLT
	mov	QWORD PTR newnode[rip], rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR newnode[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR newnode[rip]
	mov	rdx, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR newnode[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR head[rip], rax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insertstart, .-insertstart
	.globl	insertend
	.type	insertend, @function
insertend:
.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	edi, 24
	call	malloc@PLT
	mov	QWORD PTR newnode[rip], rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR newnode[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR newnode[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rdx, QWORD PTR newnode[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insertend, .-insertend
	.section	.rodata
	.align 8
.LC4:
	.string	"Enter the position to insert a number:"
.LC5:
	.string	"Invalid position"
.LC6:
	.string	"choose option 4"
	.text
	.globl	insertpos
	.type	insertpos, @function
insertpos:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 0
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR newnode[rip], rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR newnode[rip]
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L21:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L22
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jle	.L23
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L24
.L23:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L24:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 1
	jne	.L25
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -32[rbp], 1
.L26:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L27
	mov	rax, QWORD PTR newnode[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR newnode[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rdx, QWORD PTR newnode[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rdx, QWORD PTR newnode[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	insertpos, .-insertpos
	.globl	deletestart
	.type	deletestart, @function
deletestart:
.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, 16
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	deletestart, .-deletestart
	.globl	deleteend
	.type	deleteend, @function
deleteend:
.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
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L31:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	deleteend, .-deleteend
	.section	.rodata
	.align 8
.LC7:
	.string	"Enter the position of number to be deleted:"
.LC8:
	.string	"choose option 6"
	.text
	.globl	deletepos
	.type	deletepos, @function
deletepos:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 1
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 1
	jne	.L34
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L39
.L34:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -36[rbp], 1
.L36:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jl	.L37
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@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
.LFE14:
	.size	deletepos, .-deletepos
	.section	.rodata
	.align 8
.LC9:
	.ascii	"Please enter: \n1 to create list\n2 to display forwa"
	.string	"rd list\n3 to display reverse list\n4 to insert a number at beginning\n5 to insert a number at end\n6 to insert a number at a given position\n7 to delete a number from beginning\n8 to delete a number from end\n9 to delete a number from a given position\n0 to stop:"
.LC10:
	.string	"Choice:"
.LC11:
	.string	"\nExit Successful"
.LC12:
	.string	"Please enter a valid number"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L55:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 9
	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	.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
.L51:
	mov	eax, 0
	call	insert
	jmp	.L53
.L50:
	mov	eax, 0
	call	displayf
	jmp	.L53
.L49:
	mov	eax, 0
	call	displayr
	jmp	.L53
.L48:
	mov	eax, 0
	call	insertstart
	jmp	.L53
.L47:
	mov	eax, 0
	call	insertend
	jmp	.L53
.L46:
	mov	eax, 0
	call	insertpos
	jmp	.L53
.L45:
	mov	eax, 0
	call	deletestart
	jmp	.L53
.L44:
	mov	eax, 0
	call	deleteend
	jmp	.L53
.L42:
	mov	eax, 0
	call	deletepos
	jmp	.L53
.L52:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L56
.L41:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L53:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L55
	mov	eax, 0
.L56:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.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	"184519216.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.comm	newnode,4,4
	.comm	temp,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"->%d\000"
	.text
	.align	2
	.global	displayf
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayf, %function
displayf:
	@ 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, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	head
	.word	.LC0
	.size	displayf, .-displayf
	.align	2
	.global	displayr
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayr, %function
displayr:
	@ 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, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L8
	b	.L9
.L10:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	head
	.word	.LC0
	.size	displayr, .-displayr
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter number:\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ 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, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+4
	str	r2, [r3]
	ldr	r0, .L18+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L18+12
	bl	__isoc99_scanf
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L18+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, .L18+16
	str	r3, [r2]
	ldr	r3, .L18+16
	ldr	r3, [r3]
	ldr	r2, .L18+20
	str	r3, [r2]
	b	.L17
.L14:
	ldr	r3, .L18+20
	ldr	r3, [r3]
	ldr	r2, .L18+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, .L18+20
	ldr	r2, [r2]
	str	r2, [r3, #8]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, .L18+20
	str	r3, [r2]
.L17:
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	newnode
	.word	.LC1
	.word	.LC2
	.word	head
	.word	temp
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Enter number to be inserted:\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertstart
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertstart, %function
insertstart:
	@ 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, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L22+4
	str	r2, [r3]
	ldr	r0, .L22+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L22+12
	bl	__isoc99_scanf
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, .L22+16
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L22+16
	ldr	r3, [r3]
	ldr	r2, .L22+4
	ldr	r2, [r2]
	str	r2, [r3, #8]
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, .L22+16
	str	r3, [r2]
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC5
	.word	newnode
	.word	.LC4
	.word	.LC2
	.word	head
	.size	insertstart, .-insertstart
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertend
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertend, %function
insertend:
	@ 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, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L28+4
	str	r2, [r3]
	ldr	r0, .L28+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L28+12
	bl	__isoc99_scanf
	ldr	r3, .L28+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L28+16
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L25
.L26:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	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	.LC6
	.word	newnode
	.word	.LC4
	.word	.LC2
	.word	head
	.size	insertend, .-insertend
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Enter the position to insert a number:\000"
	.align	2
.LC8:
	.ascii	"Invalid position\000"
	.align	2
.LC9:
	.ascii	"choose option 4\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertpos
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertpos, %function
insertpos:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L39+4
	str	r2, [r3]
	ldr	r0, .L39+8
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L39+12
	bl	__isoc99_scanf
	ldr	r0, .L39+16
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L39+12
	bl	__isoc99_scanf
	ldr	r3, .L39+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, .L39+20
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L31
.L32:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L33
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L34
.L33:
	ldr	r0, .L39+24
	bl	printf
	b	.L35
.L34:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L35
	ldr	r0, .L39+28
	bl	printf
.L35:
	ldr	r3, .L39+20
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L36
.L37:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L37
	ldr	r3, .L39+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, .L39+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r3, .L39+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, .L39+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #8]
	nop
	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	.LC10
	.word	newnode
	.word	.LC4
	.word	.LC2
	.word	.LC7
	.word	head
	.word	.LC8
	.word	.LC9
	.size	insertpos, .-insertpos
	.align	2
	.global	deletestart
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletestart, %function
deletestart:
	@ 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, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L42
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L42
	str	r3, [r2]
	ldr	r3, .L42
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	head
	.size	deletestart, .-deletestart
	.align	2
	.global	deleteend
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteend, %function
deleteend:
	@ 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, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L45
.L46:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L45:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, [fp, #-12]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	head
	.size	deleteend, .-deleteend
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Enter the position of number to be deleted:\000"
	.align	2
.LC12:
	.ascii	"choose option 6\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	deletepos
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletepos, %function
deletepos:
	@ 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, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r0, .L56+4
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L56+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L50
	ldr	r0, .L56+12
	bl	printf
	b	.L55
.L50:
	ldr	r3, .L56+16
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L52
.L53:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L52:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L53
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r0, [fp, #-24]
	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	.LC13
	.word	.LC11
	.word	.LC2
	.word	.LC12
	.word	head
	.size	deletepos, .-deletepos
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Please enter: \0121 to create list\0122 to display "
	.ascii	"forward list\0123 to display reverse list\0124 to i"
	.ascii	"nsert a number at beginning\0125 to insert a number"
	.ascii	" at end\0126 to insert a number at a given position"
	.ascii	"\0127 to delete a number from beginning\0128 to del"
	.ascii	"ete a number from end\0129 to delete a number from "
	.ascii	"a given position\0120 to stop:\000"
	.align	2
.LC15:
	.ascii	"Choice:\000"
	.align	2
.LC16:
	.ascii	"\012Exit Successful\000"
	.align	2
.LC17:
	.ascii	"Please enter a valid number\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L76+4
	bl	puts
.L73:
	ldr	r0, .L76+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L76+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	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
.L69:
	bl	insert
	b	.L71
.L68:
	bl	displayf
	b	.L71
.L67:
	bl	displayr
	b	.L71
.L66:
	bl	insertstart
	b	.L71
.L65:
	bl	insertend
	b	.L71
.L64:
	bl	insertpos
	b	.L71
.L63:
	bl	deletestart
	b	.L71
.L62:
	bl	deleteend
	b	.L71
.L60:
	bl	deletepos
	b	.L71
.L70:
	ldr	r0, .L76+16
	bl	printf
	mov	r3, #0
	b	.L74
.L59:
	ldr	r0, .L76+20
	bl	printf
.L71:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L73
	mov	r3, #0
.L74:
	ldr	r2, .L76
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC18
	.word	.LC14
	.word	.LC15
	.word	.LC2
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
