	.file	"325372.c"
	.intel_syntax noprefix
	.text
	.globl	length
	.type	length, @function
length:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L3:
	add	DWORD PTR -12[rbp], 1
	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	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	length, .-length
	.section	.rodata
.LC0:
	.string	"Enter Data\n>> "
.LC1:
	.string	"%d"
.LC2:
	.string	"Enter Again <= %d\n"
.LC3:
	.string	"Enter Again >= %d\n"
	.text
	.globl	newnode
	.type	newnode, @function
newnode:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	DWORD PTR -24[rbp], 1
	jne	.L10
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L8
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L11
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	newnode, .-newnode
	.globl	delpos
	.type	delpos, @function
delpos:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	cmp	DWORD PTR -44[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L15
.L20:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
.L17:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jne	.L18
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L16:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L20
.L19:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	delpos, .-delpos
	.section	.rodata
.LC4:
	.string	"Data Not found"
	.text
	.globl	deldata
	.type	deldata, @function
deldata:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L22
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
.L22:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L25
.L24:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L26
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L27
.L26:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L27:
	mov	rax, QWORD PTR -40[rbp]
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	deldata, .-deldata
	.globl	del
	.type	del, @function
del:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L31
.L37:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jne	.L32
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	sub	DWORD PTR -48[rbp], 1
.L33:
	cmp	DWORD PTR -48[rbp], 0
	jg	.L34
	jmp	.L35
.L32:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
.L36:
	add	DWORD PTR -28[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
.L31:
	cmp	QWORD PTR -24[rbp], 0
	je	.L35
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jle	.L37
.L35:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L38
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	del, .-del
	.section	.rodata
.LC5:
	.string	"%d "
.LC6:
	.string	"\n"
	.text
	.globl	display
	.type	display, @function
display:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[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
.L41:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L42
	lea	rdi, .LC6[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display, .-display
	.section	.rodata
.LC7:
	.string	"1. Enter n Nodes"
.LC8:
	.string	"2. Delete at pos"
.LC9:
	.string	"3. Delete by data"
.LC10:
	.string	"4. delete n nodes"
.LC11:
	.string	"5. Display"
.LC12:
	.string	"6. Exit"
.LC13:
	.string	"7. Menu\n\n"
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	menu, .-menu
	.section	.rodata
.LC14:
	.string	"Enter Last Node Data\n>> "
.LC15:
	.string	"Enter your choice\n>> "
.LC16:
	.string	"Number of Nodes\n>> "
.LC17:
	.string	"Delete by position\n>> "
	.align 8
.LC18:
	.string	"Invalid Position Enter again\n>> "
.LC19:
	.string	"Enter  data\n>> "
.LC20:
	.string	"Enter starting position\n>> "
.LC21:
	.string	"Invalid input range 0-%d"
	.align 8
.LC22:
	.string	"\nEnter number of nodes to delete\n>>"
.LC23:
	.string	"Invalid input range 1-%d"
	.align 8
.LC24:
	.string	"Invalid choice. Press 7 to display menu"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, 0
	call	menu
.L63:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, 7
	ja	.L45
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L47[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L47[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L47:
	.long	.L45-.L47
	.long	.L53-.L47
	.long	.L52-.L47
	.long	.L51-.L47
	.long	.L50-.L47
	.long	.L49-.L47
	.long	.L48-.L47
	.long	.L46-.L47
	.text
.L53:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, 1
	mov	edi, eax
	call	newnode
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -36[rbp], 1
.L54:
	mov	eax, DWORD PTR -56[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L55
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	jmp	.L56
.L52:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	length
	mov	DWORD PTR -28[rbp], eax
	jmp	.L57
.L58:
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L57:
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	js	.L58
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L58
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	delpos
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	jmp	.L56
.L51:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	deldata
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	jmp	.L56
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	length
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L59
.L60:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L59:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L60
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L60
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L61
.L62:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L61:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	cmp	DWORD PTR -28[rbp], eax
	jl	.L62
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jle	.L62
	mov	edx, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	del
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	jmp	.L56
.L49:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	jmp	.L56
.L48:
	mov	edi, 0
	call	exit@PLT
.L46:
	mov	eax, 0
	call	menu
	jmp	.L56
.L45:
	lea	rdi, .LC24[rip]
	call	puts@PLT
	nop
.L56:
	jmp	.L63
	.cfi_endproc
.LFE13:
	.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	"325372.c"
	.text
	.align	2
	.global	length
	.syntax unified
	.arm
	.fpu softvfp
	.type	length, %function
length:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	length, .-length
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter Data\012>> \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter Again <= %d\012\000"
	.align	2
.LC3:
	.ascii	"Enter Again >= %d\012\000"
	.text
	.align	2
	.global	newnode
	.syntax unified
	.arm
	.fpu softvfp
	.type	newnode, %function
newnode:
	@ 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]
	str	r1, [fp, #-20]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, .L13
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L10
	b	.L7
.L8:
	ldr	r1, [fp, #-16]
	ldr	r0, .L13+8
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
.L7:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L8
	b	.L9
.L11:
	ldr	r1, [fp, #-16]
	ldr	r0, .L13+12
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
.L10:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L11
.L9:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	newnode, .-newnode
	.align	2
	.global	delpos
	.syntax unified
	.arm
	.fpu softvfp
	.type	delpos, %function
delpos:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-20]
	b	.L17
.L22:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L19:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L20
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L21
.L20:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L22
.L21:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-24]
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	delpos, .-delpos
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Data Not found\000"
	.text
	.align	2
	.global	deldata
	.syntax unified
	.arm
	.fpu softvfp
	.type	deldata, %function
deldata:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L24
.L27:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L25
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L26
.L25:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L24:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L27
.L26:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L28
	ldr	r0, .L32
	bl	puts
	b	.L29
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-16]
	b	.L31
.L30:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-12]
	bl	free
.L29:
	ldr	r3, [fp, #-24]
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.size	deldata, .-deldata
	.align	2
	.global	del
	.syntax unified
	.arm
	.fpu softvfp
	.type	del, %function
del:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L35
.L41:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L36
	b	.L37
.L38:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L37:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bgt	.L38
	b	.L39
.L36:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L40:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L35:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L39
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L41
.L39:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-20]
	b	.L43
.L42:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	del, .-del
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC6:
	.ascii	"\012\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L45
.L46:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L47
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L45:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L46
	ldr	r0, .L47+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC5
	.word	.LC6
	.size	display, .-display
	.section	.rodata
	.align	2
.LC7:
	.ascii	"1. Enter n Nodes\000"
	.align	2
.LC8:
	.ascii	"2. Delete at pos\000"
	.align	2
.LC9:
	.ascii	"3. Delete by data\000"
	.align	2
.LC10:
	.ascii	"4. delete n nodes\000"
	.align	2
.LC11:
	.ascii	"5. Display\000"
	.align	2
.LC12:
	.ascii	"6. Exit\000"
	.align	2
.LC13:
	.ascii	"7. Menu\012\012\000"
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L50
	bl	puts
	ldr	r0, .L50+4
	bl	puts
	ldr	r0, .L50+8
	bl	puts
	ldr	r0, .L50+12
	bl	puts
	ldr	r0, .L50+16
	bl	puts
	ldr	r0, .L50+20
	bl	puts
	ldr	r0, .L50+24
	bl	puts
	nop
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Enter Last Node Data\012>> \000"
	.align	2
.LC15:
	.ascii	"Enter your choice\012>> \000"
	.align	2
.LC16:
	.ascii	"Number of Nodes\012>> \000"
	.align	2
.LC17:
	.ascii	"Delete by position\012>> \000"
	.align	2
.LC18:
	.ascii	"Invalid Position Enter again\012>> \000"
	.align	2
.LC19:
	.ascii	"Enter  data\012>> \000"
	.align	2
.LC20:
	.ascii	"Enter starting position\012>> \000"
	.align	2
.LC21:
	.ascii	"Invalid input range 0-%d\000"
	.align	2
.LC22:
	.ascii	"\012Enter number of nodes to delete\012>>\000"
	.align	2
.LC23:
	.ascii	"Invalid input range 1-%d\000"
	.align	2
.LC24:
	.ascii	"Invalid choice. Press 7 to display menu\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r0, .L73+4
	bl	printf
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	bl	menu
.L71:
	ldr	r0, .L73+12
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L53
.L55:
	.word	.L61
	.word	.L60
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L56
	.word	.L54
.L61:
	ldr	r0, .L73+16
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L62
.L63:
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	newnode
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L62:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L63
	ldr	r0, [fp, #-28]
	bl	display
	b	.L64
.L60:
	ldr	r0, .L73+20
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	ldr	r0, [fp, #-28]
	bl	length
	str	r0, [fp, #-16]
	b	.L65
.L66:
	ldr	r0, .L73+24
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
.L65:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	blt	.L66
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L66
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	delpos
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	display
	b	.L64
.L59:
	ldr	r0, .L73+28
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	deldata
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	display
	b	.L64
.L58:
	ldr	r0, [fp, #-28]
	bl	length
	str	r0, [fp, #-16]
	ldr	r0, .L73+32
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	b	.L67
.L68:
	ldr	r1, [fp, #-16]
	ldr	r0, .L73+36
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
.L67:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L68
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L68
	ldr	r0, .L73+40
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
	b	.L69
.L70:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L73+44
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L73+8
	bl	__isoc99_scanf
.L69:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L70
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L70
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	del
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	display
	b	.L64
.L57:
	ldr	r0, [fp, #-28]
	bl	display
	b	.L64
.L56:
	mov	r0, #0
	bl	exit
.L54:
	bl	menu
	b	.L64
.L53:
	ldr	r0, .L73+48
	bl	puts
	nop
.L64:
	b	.L71
.L74:
	.align	2
.L73:
	.word	.LC25
	.word	.LC14
	.word	.LC1
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
