	.file	"314314.c"
	.intel_syntax noprefix
	.text
	.globl	stnode
	.bss
	.align 8
	.type	stnode, @object
	.size	stnode, 8
stnode:
	.zero	8
	.section	.rodata
.LC0:
	.string	" Input the number of nodes : "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"\n Data entered in the list are : "
	.align 8
.LC3:
	.string	"\n Input data to insert at the end of the list : "
	.align 8
.LC4:
	.string	"\n Data, after inserted in the list are : "
	.align 8
.LC5:
	.string	"\n Insert data to add at the head of the list: "
	.align 8
.LC6:
	.string	"\n Pop the last element from the list"
.LC7:
	.string	" The popped element was: %d\n"
	.align 8
.LC8:
	.string	" Pop the head element from the list"
	.align 8
.LC9:
	.string	" Popped element from head of the list was: %d\n"
	.align 8
.LC10:
	.string	"\n Insert position of list to be popped: "
	.align 8
.LC11:
	.string	"Node at position %d with value %d was popped.\n"
	.align 8
.LC12:
	.string	"Insert position on the list to peek at: "
	.align 8
.LC13:
	.string	"Node at position %d has value: %d\n"
	.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	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	createNodeList
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	call	displayList
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	NodeInsertatEnd
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	call	displayList
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	pushHead
	mov	eax, 0
	call	displayList
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	call	popEnd
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	displayList
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 0
	call	popHead
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	displayList
	mov	esi, 4
	mov	edi, 2
	call	pushAtPos
	mov	eax, 0
	call	displayList
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	popAtPos
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	displayList
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	peekAtPos
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	displayList
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC14:
	.string	"The list is empty"
	.text
	.globl	peekAtPos
	.type	peekAtPos, @function
peekAtPos:
.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	rax, QWORD PTR stnode[rip]
	test	rax, rax
	jne	.L5
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L5:
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 2
	jmp	.L6
.L9:
	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	.L12
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L9
	jmp	.L8
.L12:
	nop
.L8:
	cmp	QWORD PTR -8[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -16[rbp], eax
.L10:
	mov	eax, DWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	peekAtPos, .-peekAtPos
	.section	.rodata
	.align 8
.LC15:
	.string	"Cannot delete node at that position"
	.text
	.globl	popAtPos
	.type	popAtPos, @function
popAtPos:
.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	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR stnode[rip]
	test	rax, rax
	jne	.L14
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L14:
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 2
	jmp	.L15
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L23
	add	DWORD PTR -20[rbp], 1
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L18
	jmp	.L17
.L23:
	nop
.L17:
	cmp	QWORD PTR -16[rbp], 0
	je	.L19
	mov	rax, QWORD PTR stnode[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L20
	mov	rax, QWORD PTR stnode[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR stnode[rip], rax
.L20:
	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	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L21
.L19:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	eax, DWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	popAtPos, .-popAtPos
	.section	.rodata
	.align 8
.LC16:
	.string	"Insert is not possible at given position"
	.align 8
.LC17:
	.string	" Inserted new Node at position %d with value %d\n"
	.text
	.globl	pushAtPos
	.type	pushAtPos, @function
pushAtPos:
.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 2
	jmp	.L25
.L28:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L31
	add	DWORD PTR -20[rbp], 1
.L25:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jg	.L28
	jmp	.L27
.L31:
	nop
.L27:
	cmp	QWORD PTR -16[rbp], 0
	je	.L29
	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	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L30
.L29:
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L30:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pushAtPos, .-pushAtPos
	.section	.rodata
.LC18:
	.string	"The list is empty."
	.text
	.globl	popHead
	.type	popHead, @function
popHead:
.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 stnode[rip]
	test	rax, rax
	jne	.L33
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L33:
	mov	rax, QWORD PTR stnode[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR stnode[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR stnode[rip], rax
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	popHead, .-popHead
	.globl	popEnd
	.type	popEnd, @function
popEnd:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L36
.L37:
	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
.L36:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L37
	mov	rax, QWORD PTR stnode[rip]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L38
	mov	QWORD PTR stnode[rip], 0
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
.L39:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	popEnd, .-popEnd
	.section	.rodata
.LC19:
	.string	" Memory can not be allocated."
.LC20:
	.string	" Input data for node 1 : "
.LC21:
	.string	" Input data for node %d : "
.LC22:
	.string	" %d"
	.text
	.globl	createNodeList
	.type	createNodeList, @function
createNodeList:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR stnode[rip], rax
	mov	rax, QWORD PTR stnode[rip]
	test	rax, rax
	jne	.L42
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L42:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stnode[rip]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 2
	jmp	.L44
.L46:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L45
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	jmp	.L48
.L45:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -32[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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L44:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L46
.L48:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	createNodeList, .-createNodeList
	.globl	NodeInsertatEnd
	.type	NodeInsertatEnd, @function
NodeInsertatEnd:
.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	DWORD PTR -20[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L50
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L50:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L52
.L53:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L52:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L53
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L54:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	NodeInsertatEnd, .-NodeInsertatEnd
	.section	.rodata
.LC23:
	.string	"Memory not allocated"
	.text
	.globl	pushHead
	.type	pushHead, @function
pushHead:
.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	DWORD PTR -20[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L56
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L58
.L56:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR stnode[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR stnode[rip], rax
.L58:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	pushHead, .-pushHead
	.section	.rodata
	.align 8
.LC24:
	.string	" No data found in the empty list."
.LC25:
	.string	" Data = %d\n"
	.text
	.globl	displayList
	.type	displayList, @function
displayList:
.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 stnode[rip]
	test	rax, rax
	jne	.L60
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L64
.L60:
	mov	rax, QWORD PTR stnode[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L62
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC25[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
.L62:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L63
.L64:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	displayList, .-displayList
	.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	"314314.c"
	.text
	.comm	stnode,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	" Input the number of nodes : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012 Data entered in the list are : \000"
	.align	2
.LC3:
	.ascii	"\012 Input data to insert at the end of the list : "
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"\012 Data, after inserted in the list are : \000"
	.align	2
.LC5:
	.ascii	"\012 Insert data to add at the head of the list: \000"
	.align	2
.LC6:
	.ascii	"\012 Pop the last element from the list\000"
	.align	2
.LC7:
	.ascii	" The popped element was: %d\012\000"
	.align	2
.LC8:
	.ascii	" Pop the head element from the list\000"
	.align	2
.LC9:
	.ascii	" Popped element from head of the list was: %d\012\000"
	.align	2
.LC10:
	.ascii	"\012 Insert position of list to be popped: \000"
	.align	2
.LC11:
	.ascii	"Node at position %d with value %d was popped.\012\000"
	.align	2
.LC12:
	.ascii	"Insert position on the list to peek at: \000"
	.align	2
.LC13:
	.ascii	"Node at position %d has value: %d\012\000"
	.align	2
.LC14:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	createNodeList
	ldr	r0, .L4+12
	bl	puts
	bl	displayList
	ldr	r0, .L4+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	NodeInsertatEnd
	ldr	r0, .L4+20
	bl	puts
	bl	displayList
	ldr	r0, .L4+24
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	pushHead
	bl	displayList
	ldr	r0, .L4+28
	bl	puts
	bl	popEnd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+32
	bl	printf
	bl	displayList
	ldr	r0, .L4+36
	bl	puts
	bl	popHead
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+40
	bl	printf
	bl	displayList
	mov	r1, #4
	mov	r0, #2
	bl	pushAtPos
	bl	displayList
	ldr	r0, .L4+44
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r4, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	popAtPos
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L4+48
	bl	printf
	bl	displayList
	ldr	r0, .L4+52
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r4, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	peekAtPos
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L4+56
	bl	printf
	bl	displayList
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.section	.rodata
	.align	2
.LC15:
	.ascii	"The list is empty\000"
	.text
	.align	2
	.global	peekAtPos
	.syntax unified
	.arm
	.fpu softvfp
	.type	peekAtPos, %function
peekAtPos:
	@ 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]
	ldr	r3, .L15
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L15+4
	bl	puts
.L7:
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L8
.L11:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L11
	b	.L10
.L14:
	nop
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L12:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	stnode
	.word	.LC15
	.size	peekAtPos, .-peekAtPos
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Cannot delete node at that position\000"
	.text
	.align	2
	.global	popAtPos
	.syntax unified
	.arm
	.fpu softvfp
	.type	popAtPos, %function
popAtPos:
	@ 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]
	ldr	r3, .L28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L28+4
	bl	puts
.L18:
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L19
.L22:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L22
	b	.L21
.L27:
	nop
.L21:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L24
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L28
	str	r3, [r2]
.L24:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, [fp, #-16]
	bl	free
	b	.L25
.L23:
	ldr	r0, .L28+8
	bl	printf
.L25:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	stnode
	.word	.LC15
	.word	.LC16
	.size	popAtPos, .-popAtPos
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Insert is not possible at given position\000"
	.align	2
.LC18:
	.ascii	" Inserted new Node at position %d with value %d\012"
	.ascii	"\000"
	.text
	.align	2
	.global	pushAtPos
	.syntax unified
	.arm
	.fpu softvfp
	.type	pushAtPos, %function
pushAtPos:
	@ 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]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L31
.L34:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L34
	b	.L33
.L37:
	nop
.L33:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	b	.L36
.L35:
	ldr	r0, .L38+4
	bl	puts
.L36:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, .L38+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	stnode
	.word	.LC17
	.word	.LC18
	.size	pushAtPos, .-pushAtPos
	.section	.rodata
	.align	2
.LC19:
	.ascii	"The list is empty.\000"
	.text
	.align	2
	.global	popHead
	.syntax unified
	.arm
	.fpu softvfp
	.type	popHead, %function
popHead:
	@ 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, .L43
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L43+4
	bl	puts
.L41:
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r2, .L43
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	stnode
	.word	.LC19
	.size	popHead, .-popHead
	.align	2
	.global	popEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	popEnd, %function
popEnd:
	@ 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, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L46
.L47:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L46:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L47
	ldr	r3, .L51
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L48
	ldr	r3, .L51
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L48:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
.L49:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	stnode
	.size	popEnd, .-popEnd
	.section	.rodata
	.align	2
.LC20:
	.ascii	" Memory can not be allocated.\000"
	.align	2
.LC21:
	.ascii	" Input data for node 1 : \000"
	.align	2
.LC22:
	.ascii	" Input data for node %d : \000"
	.align	2
.LC23:
	.ascii	" %d\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	createNodeList
	.syntax unified
	.arm
	.fpu softvfp
	.type	createNodeList, %function
createNodeList:
	@ 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, #-32]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L61+4
	str	r2, [r3]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L54
	ldr	r0, .L61+8
	bl	printf
	b	.L60
.L54:
	ldr	r0, .L61+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L61+16
	bl	__isoc99_scanf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L56
.L58:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L57
	ldr	r0, .L61+8
	bl	printf
	nop
	b	.L60
.L57:
	ldr	r1, [fp, #-16]
	ldr	r0, .L61+20
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L61+24
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L56:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L58
.L60:
	nop
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC24
	.word	stnode
	.word	.LC20
	.word	.LC21
	.word	.LC1
	.word	.LC22
	.word	.LC23
	.size	createNodeList, .-createNodeList
	.align	2
	.global	NodeInsertatEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	NodeInsertatEnd, %function
NodeInsertatEnd:
	@ 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	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L64
	ldr	r0, .L69
	bl	printf
	b	.L68
.L64:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L69+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L66
.L67:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L66:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L68:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC20
	.word	stnode
	.size	NodeInsertatEnd, .-NodeInsertatEnd
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Memory not allocated\000"
	.text
	.align	2
	.global	pushHead
	.syntax unified
	.arm
	.fpu softvfp
	.type	pushHead, %function
pushHead:
	@ 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	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L72
	ldr	r0, .L75
	bl	printf
	b	.L74
.L72:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L75+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L75+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L74:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC25
	.word	stnode
	.size	pushHead, .-pushHead
	.section	.rodata
	.align	2
.LC26:
	.ascii	" No data found in the empty list.\000"
	.align	2
.LC27:
	.ascii	" Data = %d\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, #8
	ldr	r3, .L83
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L78
	ldr	r0, .L83+4
	bl	printf
	b	.L82
.L78:
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L80
.L81:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L83+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L80:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L81
.L82:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	stnode
	.word	.LC26
	.word	.LC27
	.size	displayList, .-displayList
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
