	.file	"496737.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	last
	.align 8
	.type	last, @object
	.size	last, 8
last:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"============================================"
.LC1:
	.string	"DOUBLY LINKED LIST PROGRAM"
.LC2:
	.string	"1. Create List"
	.align 8
.LC3:
	.string	"2. Delete node - from beginning"
.LC4:
	.string	"3. Delete node - from end"
.LC5:
	.string	"4. Delete node - from N"
.LC6:
	.string	"5. Display list"
.LC7:
	.string	"0. Exit"
	.align 8
.LC8:
	.string	"--------------------------------------------"
.LC9:
	.string	"Enter your choice : "
.LC10:
	.string	"%d"
	.align 8
.LC11:
	.string	"Enter the total number of nodes in list: "
	.align 8
.LC12:
	.string	"Enter the node position which you want to delete: "
	.align 8
.LC13:
	.string	"Error! Invalid choice. Please choose between 0-5"
.LC14:
	.string	"\n\n\n\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
	mov	DWORD PTR -12[rbp], 1
	mov	QWORD PTR head[rip], 0
	mov	QWORD PTR last[rip], 0
	jmp	.L2
.L12:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 5
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L15-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L9:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	createList
	jmp	.L11
.L8:
	mov	eax, 0
	call	deleteFromBeginning
	jmp	.L11
.L7:
	mov	eax, 0
	call	deleteFromEnd
	jmp	.L11
.L6:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	deleteFromN
	jmp	.L11
.L4:
	mov	eax, 0
	call	displayList
	jmp	.L11
.L3:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L15:
	nop
.L11:
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L2:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L12
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC15:
	.string	"Enter data of 1 node: "
.LC16:
	.string	"Enter data of %d node: "
	.align 8
.LC17:
	.string	"\nDOUBLY LINKED LIST CREATED SUCCESSFULLY"
	.text
	.globl	createList
	.type	createList, @function
createList:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 0
	jle	.L21
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR head[rip], rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR last[rip], rax
	mov	DWORD PTR -20[rbp], 2
	jmp	.L18
.L19:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR last[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR last[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR last[rip], rax
	add	DWORD PTR -20[rbp], 1
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L19
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L21:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	createList, .-createList
	.section	.rodata
.LC18:
	.string	"List is empty."
.LC19:
	.string	"DATA IN THE LIST:"
.LC20:
	.string	"DATA of %d node = %d\n"
	.text
	.globl	displayList
	.type	displayList, @function
displayList:
.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	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L23
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L27
.L23:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L25:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L26
.L27:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	displayList, .-displayList
	.section	.rodata
	.align 8
.LC21:
	.string	"Unable to delete. List is empty."
	.align 8
.LC22:
	.string	"SUCCESSFULLY DELETED NODE FROM BEGINNING OF THE LIST."
	.text
	.globl	deleteFromBeginning
	.type	deleteFromBeginning, @function
deleteFromBeginning:
.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 head[rip]
	test	rax, rax
	jne	.L29
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L31
.L29:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
.L31:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	deleteFromBeginning, .-deleteFromBeginning
	.section	.rodata
	.align 8
.LC23:
	.string	"SUCCESSFULLY DELETED NODE FROM END OF THE LIST."
	.text
	.globl	deleteFromEnd
	.type	deleteFromEnd, @function
deleteFromEnd:
.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 last[rip]
	test	rax, rax
	jne	.L33
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L35
.L33:
	mov	rax, QWORD PTR last[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR last[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR last[rip], rax
	mov	rax, QWORD PTR last[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L35:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	deleteFromEnd, .-deleteFromEnd
	.section	.rodata
	.align 8
.LC24:
	.string	"SUCCESSFULLY DELETED NODE FROM %d POSITION.\n"
.LC25:
	.string	"Invalid position!"
	.text
	.globl	deleteFromN
	.type	deleteFromN, @function
deleteFromN:
.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	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L37
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L37:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L38
	cmp	QWORD PTR -8[rbp], 0
	jne	.L39
.L38:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L40
	mov	eax, 0
	call	deleteFromBeginning
	jmp	.L44
.L40:
	mov	rax, QWORD PTR last[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L42
	mov	eax, 0
	call	deleteFromEnd
	jmp	.L44
.L42:
	cmp	QWORD PTR -8[rbp], 0
	je	.L43
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L43:
	lea	rdi, .LC25[rip]
	call	puts@PLT
.L44:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	deleteFromN, .-deleteFromN
	.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	"496737.c"
	.text
	.comm	head,4,4
	.comm	last,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"============================================\000"
	.align	2
.LC1:
	.ascii	"DOUBLY LINKED LIST PROGRAM\000"
	.align	2
.LC2:
	.ascii	"1. Create List\000"
	.align	2
.LC3:
	.ascii	"2. Delete node - from beginning\000"
	.align	2
.LC4:
	.ascii	"3. Delete node - from end\000"
	.align	2
.LC5:
	.ascii	"4. Delete node - from N\000"
	.align	2
.LC6:
	.ascii	"5. Display list\000"
	.align	2
.LC7:
	.ascii	"0. Exit\000"
	.align	2
.LC8:
	.ascii	"--------------------------------------------\000"
	.align	2
.LC9:
	.ascii	"Enter your choice : \000"
	.align	2
.LC10:
	.ascii	"%d\000"
	.align	2
.LC11:
	.ascii	"Enter the total number of nodes in list: \000"
	.align	2
.LC12:
	.ascii	"Enter the node position which you want to delete: \000"
	.align	2
.LC13:
	.ascii	"Error! Invalid choice. Please choose between 0-5\000"
	.align	2
.LC14:
	.ascii	"\012\012\012\012\000"
	.align	2
.LC15:
	.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
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L16+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L16+8
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L12:
	ldr	r0, .L16+12
	bl	puts
	ldr	r0, .L16+16
	bl	puts
	ldr	r0, .L16+12
	bl	puts
	ldr	r0, .L16+20
	bl	puts
	ldr	r0, .L16+24
	bl	puts
	ldr	r0, .L16+28
	bl	puts
	ldr	r0, .L16+32
	bl	puts
	ldr	r0, .L16+36
	bl	puts
	ldr	r0, .L16+40
	bl	puts
	ldr	r0, .L16+44
	bl	puts
	ldr	r0, .L16+48
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L16+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L15
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L9:
	ldr	r0, .L16+56
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L16+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	createList
	b	.L11
.L8:
	bl	deleteFromBeginning
	b	.L11
.L7:
	bl	deleteFromEnd
	b	.L11
.L6:
	ldr	r0, .L16+60
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L16+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	deleteFromN
	b	.L11
.L4:
	bl	displayList
	b	.L11
.L3:
	ldr	r0, .L16+64
	bl	printf
	b	.L11
.L15:
	nop
.L11:
	ldr	r0, .L16+68
	bl	puts
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC15
	.word	head
	.word	last
	.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
	.word	.LC14
	.size	main, .-main
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Enter data of 1 node: \000"
	.align	2
.LC17:
	.ascii	"Enter data of %d node: \000"
	.align	2
.LC18:
	.ascii	"\012DOUBLY LINKED LIST CREATED SUCCESSFULLY\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	createList
	.syntax unified
	.arm
	.fpu softvfp
	.type	createList, %function
createList:
	@ 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, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L23
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L24+4
	str	r2, [r3]
	ldr	r0, .L24+8
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L24+12
	bl	__isoc99_scanf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, .L24+16
	str	r3, [r2]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L20
.L21:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, .L24+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L24+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L24+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L24+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r2, .L24+16
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L21
	ldr	r0, .L24+24
	bl	puts
.L23:
	nop
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC19
	.word	head
	.word	.LC16
	.word	.LC10
	.word	last
	.word	.LC17
	.word	.LC18
	.size	createList, .-createList
	.section	.rodata
	.align	2
.LC20:
	.ascii	"List is empty.\000"
	.align	2
.LC21:
	.ascii	"DATA IN THE LIST:\000"
	.align	2
.LC22:
	.ascii	"DATA of %d node = %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
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	ldr	r0, .L32+4
	bl	puts
	b	.L31
.L27:
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r0, .L32+8
	bl	puts
	b	.L29
.L30:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L32+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L29:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L30
.L31:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	head
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	displayList, .-displayList
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Unable to delete. List is empty.\000"
	.align	2
.LC24:
	.ascii	"SUCCESSFULLY DELETED NODE FROM BEGINNING OF THE LIS"
	.ascii	"T.\000"
	.text
	.align	2
	.global	deleteFromBeginning
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteFromBeginning, %function
deleteFromBeginning:
	@ 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, .L38
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L35
	ldr	r0, .L38+4
	bl	puts
	b	.L37
.L35:
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L38
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L38
	str	r3, [r2]
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r0, .L38+8
	bl	puts
.L37:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	head
	.word	.LC23
	.word	.LC24
	.size	deleteFromBeginning, .-deleteFromBeginning
	.section	.rodata
	.align	2
.LC25:
	.ascii	"SUCCESSFULLY DELETED NODE FROM END OF THE LIST.\000"
	.text
	.align	2
	.global	deleteFromEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteFromEnd, %function
deleteFromEnd:
	@ 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, .L44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L44+4
	bl	puts
	b	.L43
.L41:
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L44
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L44
	str	r3, [r2]
	ldr	r3, .L44
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r0, .L44+8
	bl	puts
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	last
	.word	.LC23
	.word	.LC25
	.size	deleteFromEnd, .-deleteFromEnd
	.section	.rodata
	.align	2
.LC26:
	.ascii	"SUCCESSFULLY DELETED NODE FROM %d POSITION.\012\000"
	.align	2
.LC27:
	.ascii	"Invalid position!\000"
	.text
	.align	2
	.global	deleteFromN
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteFromN, %function
deleteFromN:
	@ 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, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L47
.L49:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L48
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L49
.L48:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L50
	bl	deleteFromBeginning
	b	.L54
.L50:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L52
	bl	deleteFromEnd
	b	.L54
.L52:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r1, [fp, #-16]
	ldr	r0, .L55+8
	bl	printf
	b	.L54
.L53:
	ldr	r0, .L55+12
	bl	puts
.L54:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	head
	.word	last
	.word	.LC26
	.word	.LC27
	.size	deleteFromN, .-deleteFromN
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
