	.file	"381069.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"The elements in the Linked List are:"
.LC1:
	.string	"\nThe list is empty!"
.LC2:
	.string	"   ( %p )\n"
.LC3:
	.string	"| %3d | %p |"
.LC4:
	.string	" \n %*c | \n %*c V \n"
	.text
	.globl	displayList
	.type	displayList, @function
displayList:
.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
	cmp	QWORD PTR -8[rbp], 0
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L4
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[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
	cmp	QWORD PTR -8[rbp], 0
	je	.L4
	mov	r8d, 32
	mov	ecx, 8
	mov	edx, 32
	mov	esi, 8
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	displayList, .-displayList
	.section	.rodata
	.align 8
.LC5:
	.string	"Linked list new_node allocation Failed"
	.align 8
.LC6:
	.string	" Enter the data to be inserted: "
.LC7:
	.string	"%d"
	.text
	.globl	insertAtStart
	.type	insertAtStart, @function
insertAtStart:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L9
.L7:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR head[rip], rax
	mov	eax, 1
.L9:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insertAtStart, .-insertAtStart
	.globl	insertAtEnd
	.type	insertAtEnd, @function
insertAtEnd:
.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, 32
	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	.L12
	mov	rax, QWORD PTR head[rip]
	mov	rdi, rax
	mov	eax, 0
	call	insertAtStart
	test	al, al
	je	.L13
	mov	eax, 1
	jmp	.L18
.L13:
	mov	eax, 0
	jmp	.L18
.L12:
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L16
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L17
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L18
.L17:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, 1
.L18:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insertAtEnd, .-insertAtEnd
	.section	.rodata
	.align 8
.LC8:
	.string	"NOTE: The list is zero-indexed list."
.LC9:
	.string	" Enter the postion: "
	.align 8
.LC10:
	.string	"Error: Invalid Position Entered!!"
.LC11:
	.string	"Error: Position not found!!"
	.text
	.globl	insertAtPos
	.type	insertAtPos, @function
insertAtPos:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	jns	.L21
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L33
.L21:
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	jne	.L25
	mov	rax, QWORD PTR head[rip]
	mov	rdi, rax
	mov	eax, 0
	call	insertAtStart
	test	al, al
	je	.L24
	mov	eax, 1
	jmp	.L33
.L24:
	mov	eax, 0
	jmp	.L33
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L25:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jge	.L26
	cmp	QWORD PTR -24[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L27
.L26:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L28
	mov	eax, 0
	call	insertAtEnd
	test	al, al
	je	.L29
	mov	eax, 1
	jmp	.L33
.L29:
	mov	eax, 0
	jmp	.L33
.L28:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L30
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L31
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L33
.L31:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, 1
	jmp	.L33
.L30:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 0
.L33:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insertAtPos, .-insertAtPos
	.section	.rodata
	.align 8
.LC12:
	.string	"\nInsert New Node Menu:                \n 1.Insert at start                 \n 2.Insert at position                 \n 3.Insert at end                 \n 4.Back to main menu                 \n Enter your option:"
	.align 8
.LC13:
	.string	"The data has been inserted successfully."
	.align 8
.LC14:
	.string	"The data has not been inserted."
.LC15:
	.string	"Invalid option selected!!"
	.text
	.globl	insertNewNode
	.type	insertNewNode, @function
insertNewNode:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
.L50:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	je	.L53
	cmp	eax, 4
	jg	.L37
	cmp	eax, 3
	je	.L38
	cmp	eax, 3
	jg	.L37
	cmp	eax, 1
	je	.L39
	cmp	eax, 2
	je	.L40
	jmp	.L37
.L39:
	mov	eax, 0
	call	insertAtStart
	test	al, al
	je	.L41
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 0
	call	displayList
	jmp	.L43
.L41:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L43
.L40:
	mov	eax, 0
	call	insertAtPos
	test	al, al
	je	.L44
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 0
	call	displayList
	jmp	.L43
.L44:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L43
.L38:
	mov	eax, 0
	call	insertAtEnd
	test	al, al
	je	.L46
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 0
	call	displayList
	jmp	.L43
.L46:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L43
.L37:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L53:
	nop
.L43:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	je	.L54
	jmp	.L50
.L54:
	nop
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insertNewNode, .-insertNewNode
	.globl	clearList
	.type	clearList, @function
clearList:
.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 head[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L56
.L57:
	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
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L56:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L57
	mov	QWORD PTR head[rip], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	clearList, .-clearList
	.section	.rodata
	.align 8
.LC16:
	.string	"\nLinked List Main Menu:                \n 1.Insert New Node                 \n 2.Display the List                 \n 3.Exit                 \n Enter your option:"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
.L66:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	je	.L70
	cmp	eax, 3
	jg	.L60
	cmp	eax, 1
	je	.L61
	cmp	eax, 2
	je	.L62
	jmp	.L60
.L61:
	mov	eax, 0
	call	insertNewNode
	jmp	.L63
.L62:
	mov	eax, 0
	call	displayList
	jmp	.L63
.L60:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L70:
	nop
.L63:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	je	.L71
	jmp	.L66
.L71:
	nop
	lea	rdi, head[rip]
	mov	eax, 0
	call	clearList
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"381069.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The elements in the Linked List are:\000"
	.align	2
.LC1:
	.ascii	"\012The list is empty!\000"
	.align	2
.LC2:
	.ascii	"   ( %p )\012\000"
	.align	2
.LC3:
	.ascii	"| %3d | %p |\000"
	.align	2
.LC4:
	.ascii	" \012 %*c | \012 %*c V \012\000"
	.text
	.align	2
	.global	displayList
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayList, %function
displayList:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L6+4
	bl	puts
	b	.L4
.L2:
	ldr	r0, .L6+8
	bl	puts
	b	.L4
.L5:
	ldr	r1, [fp, #-8]
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L4
	mov	r3, #32
	str	r3, [sp]
	mov	r3, #8
	mov	r2, #32
	mov	r1, #8
	ldr	r0, .L6+20
	bl	printf
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	head
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	displayList, .-displayList
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Linked list new_node allocation Failed\000"
	.align	2
.LC6:
	.ascii	" Enter the data to be inserted: \000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertAtStart
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertAtStart, %function
insertAtStart:
	@ 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, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L13+4
	bl	puts
	mov	r3, #0
	b	.L11
.L9:
	ldr	r0, .L13+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L13+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L13+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L13+16
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	mov	r3, #1
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC8
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	head
	.size	insertAtStart, .-insertAtStart
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertAtEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertAtEnd, %function
insertAtEnd:
	@ 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, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L24+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	insertAtStart
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	mov	r3, #1
	b	.L22
.L17:
	mov	r3, #0
	b	.L22
.L16:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L24+12
	bl	__isoc99_scanf
	b	.L19
.L20:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L19:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L20
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L24+16
	bl	puts
	mov	r3, #0
	b	.L22
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	mov	r3, #1
.L22:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC9
	.word	head
	.word	.LC6
	.word	.LC7
	.word	.LC5
	.size	insertAtEnd, .-insertAtEnd
	.section	.rodata
	.align	2
.LC10:
	.ascii	"NOTE: The list is zero-indexed list.\000"
	.align	2
.LC11:
	.ascii	" Enter the postion: \000"
	.align	2
.LC12:
	.ascii	"Error: Invalid Position Entered!!\000"
	.align	2
.LC13:
	.ascii	"Error: Position not found!!\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertAtPos
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertAtPos, %function
insertAtPos:
	@ 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, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L41+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L41+8
	bl	puts
	ldr	r0, .L41+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L41+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L27
	ldr	r0, .L41+20
	bl	puts
	mov	r3, #0
	b	.L39
.L27:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L41+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	insertAtStart
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	mov	r3, #1
	b	.L39
.L30:
	mov	r3, #0
	b	.L39
.L33:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L31:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L32
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L33
.L32:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L34
	bl	insertAtEnd
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	mov	r3, #1
	b	.L39
.L35:
	mov	r3, #0
	b	.L39
.L34:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L36
	ldr	r0, .L41+24
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L41+16
	bl	__isoc99_scanf
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L41+28
	bl	puts
	mov	r3, #0
	b	.L39
.L37:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	mov	r3, #1
	b	.L39
.L36:
	ldr	r0, .L41+32
	bl	puts
	mov	r3, #0
.L39:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC14
	.word	head
	.word	.LC10
	.word	.LC11
	.word	.LC7
	.word	.LC12
	.word	.LC6
	.word	.LC5
	.word	.LC13
	.size	insertAtPos, .-insertAtPos
	.section	.rodata
	.align	2
.LC15:
	.ascii	"\012Insert New Node Menu:                \012 1.Ins"
	.ascii	"ert at start                 \012 2.Insert at posit"
	.ascii	"ion                 \012 3.Insert at end           "
	.ascii	"      \012 4.Back to main menu                 \012"
	.ascii	" Enter your option:\000"
	.align	2
.LC16:
	.ascii	"The data has been inserted successfully.\000"
	.align	2
.LC17:
	.ascii	"The data has not been inserted.\000"
	.align	2
.LC18:
	.ascii	"Invalid option selected!!\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertNewNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertNewNode, %function
insertNewNode:
	@ 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, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
.L59:
	ldr	r0, .L64+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L64+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L44
.L46:
	.word	.L49
	.word	.L48
	.word	.L47
	.word	.L62
.L49:
	bl	insertAtStart
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r0, .L64+12
	bl	puts
	bl	displayList
	b	.L52
.L50:
	ldr	r0, .L64+16
	bl	puts
	b	.L52
.L48:
	bl	insertAtPos
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r0, .L64+12
	bl	puts
	bl	displayList
	b	.L52
.L53:
	ldr	r0, .L64+16
	bl	puts
	b	.L52
.L47:
	bl	insertAtEnd
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	ldr	r0, .L64+12
	bl	puts
	bl	displayList
	b	.L52
.L55:
	ldr	r0, .L64+16
	bl	puts
	b	.L52
.L44:
	ldr	r0, .L64+20
	bl	printf
	b	.L52
.L62:
	nop
.L52:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L63
	b	.L59
.L63:
	nop
	nop
	ldr	r3, .L64
	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}
.L65:
	.align	2
.L64:
	.word	.LC19
	.word	.LC15
	.word	.LC7
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	insertNewNode, .-insertNewNode
	.align	2
	.global	clearList
	.syntax unified
	.arm
	.fpu softvfp
	.type	clearList, %function
clearList:
	@ 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, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L67
.L68:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	free
.L67:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L69
	mov	r2, #0
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	head
	.size	clearList, .-clearList
	.section	.rodata
	.align	2
.LC20:
	.ascii	"\012Linked List Main Menu:                \012 1.In"
	.ascii	"sert New Node                 \012 2.Display the Li"
	.ascii	"st                 \012 3.Exit                 \012"
	.ascii	" Enter your option:\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	ldr	r3, .L85
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
.L79:
	ldr	r0, .L85+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L85+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L83
	cmp	r3, #3
	bgt	.L73
	cmp	r3, #1
	beq	.L74
	cmp	r3, #2
	beq	.L75
	b	.L73
.L74:
	bl	insertNewNode
	b	.L76
.L75:
	bl	displayList
	b	.L76
.L73:
	ldr	r0, .L85+12
	bl	printf
	b	.L76
.L83:
	nop
.L76:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L84
	b	.L79
.L84:
	nop
	ldr	r0, .L85+16
	bl	clearList
	mov	r3, #0
	ldr	r2, .L85
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	.LC21
	.word	.LC20
	.word	.LC7
	.word	.LC18
	.word	head
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
