	.file	"279308.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.section	.rodata
.LC0:
	.string	"********** Menu **********\n"
	.align 8
.LC1:
	.string	"1. Insertion at beginning\n2. Insertion at end\n3. Insertion in between nodes"
	.align 8
.LC2:
	.string	"4. Deletion at beginning\n5. Deletion at end\n6. Deletion in between nodes"
	.align 8
.LC3:
	.string	"7. Display List forwards\n8. Display List backwards\n9. Exit\n\n**************************"
.LC4:
	.string	"\nEnter your choice: "
.LC5:
	.string	"%d"
.LC6:
	.string	"\nThis option is wrong !"
	.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], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L2
.L14:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 9
	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	.L3-.L5
	.long	.L13-.L5
	.long	.L12-.L5
	.long	.L11-.L5
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L13:
	mov	eax, 0
	call	insatbeg
	jmp	.L2
.L12:
	mov	eax, 0
	call	insatend
	jmp	.L2
.L11:
	mov	eax, 0
	call	insatmid
	jmp	.L2
.L10:
	mov	eax, 0
	call	deletefirst
	jmp	.L2
.L9:
	mov	eax, 0
	call	deletelast
	jmp	.L2
.L8:
	mov	eax, 0
	call	deletemid
	jmp	.L2
.L7:
	mov	eax, 0
	call	showthelinkedlistforwards
	jmp	.L2
.L6:
	mov	eax, 0
	call	showthelinkedlistbackwards
	jmp	.L2
.L4:
	mov	edi, 0
	call	exit@PLT
.L3:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 9
	jne	.L14
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.string	"Enter element to be inserted: "
	.align 8
.LC8:
	.string	"\nElement inserted at beginning of the list !"
	.text
	.globl	insatbeg
	.type	insatbeg, @function
insatbeg:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR head[rip], rax
	jmp	.L19
.L18:
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR head[rip], rax
.L19:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insatbeg, .-insatbeg
	.section	.rodata
	.align 8
.LC9:
	.string	"\nElement inserted at end of the list !"
	.text
	.globl	insatend
	.type	insatend, @function
insatend:
.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	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR head[rip], rax
	jmp	.L22
.L21:
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
.L22:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insatend, .-insatend
	.section	.rodata
	.align 8
.LC10:
	.string	"\nElement inserted normally as list was empty !"
	.align 8
.LC11:
	.string	"Enter element after whom insertion will occur: "
	.align 8
.LC12:
	.string	"\n%d not present in the list !\n"
	.align 8
.LC13:
	.string	"\nElement inserted after the entered node !"
	.text
	.globl	insatmid
	.type	insatmid, @function
insatmid:
.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	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR head[rip], rax
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L23
.L24:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR head[rip]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L26
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L23
.L26:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jne	.L27
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L23:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insatmid, .-insatmid
	.section	.rodata
	.align 8
.LC14:
	.string	"List is empty ! No element to be deleted."
	.align 8
.LC15:
	.string	"\nHead element, %d has been deleted !\n"
	.text
	.globl	deletefirst
	.type	deletefirst, @function
deletefirst:
.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 head[rip]
	test	rax, rax
	jne	.L30
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L29
.L30:
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L32
	mov	QWORD PTR head[rip], 0
	jmp	.L29
.L32:
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR head[rip], rax
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	deletefirst, .-deletefirst
	.section	.rodata
	.align 8
.LC16:
	.string	"\nEnd element, %d has been deleted !\n"
	.text
	.globl	deletelast
	.type	deletelast, @function
deletelast:
.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]
	test	rax, rax
	jne	.L34
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L33
.L34:
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L36
	mov	QWORD PTR head[rip], 0
	jmp	.L33
.L36:
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	deletelast, .-deletelast
	.section	.rodata
	.align 8
.LC17:
	.string	"Enter the element to be deleted: "
	.align 8
.LC18:
	.string	"\nGiven element, %d has been deleted !\n"
	.text
	.globl	deletemid
	.type	deletemid, @function
deletemid:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L38
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L37
.L38:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L40
.L41:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR head[rip]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L40
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L37
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L41
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L42
	mov	QWORD PTR head[rip], 0
	jmp	.L37
.L42:
	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	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L37:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	deletemid, .-deletemid
	.section	.rodata
	.align 8
.LC19:
	.string	"List is empty ! No element to be displayed."
	.align 8
.LC20:
	.string	"\nElements of Circular DLL (in forward direction) :\n-> "
.LC21:
	.string	"%d -> "
	.text
	.globl	showthelinkedlistforwards
	.type	showthelinkedlistforwards, @function
showthelinkedlistforwards:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L47
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L50
.L47:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L49:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC21[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
	mov	rax, QWORD PTR head[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L49
	mov	edi, 10
	call	putchar@PLT
.L50:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	showthelinkedlistforwards, .-showthelinkedlistforwards
	.section	.rodata
	.align 8
.LC22:
	.string	"\nElements of Circular DLL (in backward direction) :\n<- "
.LC23:
	.string	"%d <- "
	.text
	.globl	showthelinkedlistbackwards
	.type	showthelinkedlistbackwards, @function
showthelinkedlistbackwards:
.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, 16
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L52
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L55
.L52:
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L54:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L54
	mov	edi, 10
	call	putchar@PLT
.L55:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	showthelinkedlistbackwards, .-showthelinkedlistbackwards
	.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	"279308.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"********** Menu **********\012\000"
	.align	2
.LC1:
	.ascii	"1. Insertion at beginning\0122. Insertion at end\012"
	.ascii	"3. Insertion in between nodes\000"
	.align	2
.LC2:
	.ascii	"4. Deletion at beginning\0125. Deletion at end\0126"
	.ascii	". Deletion in between nodes\000"
	.align	2
.LC3:
	.ascii	"7. Display List forwards\0128. Display List backwar"
	.ascii	"ds\0129. Exit\012\012**************************\000"
	.align	2
.LC4:
	.ascii	"\012Enter your choice: \000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"\012This option is wrong !\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L17+4
	bl	puts
	ldr	r0, .L17+8
	bl	puts
	ldr	r0, .L17+12
	bl	puts
	ldr	r0, .L17+16
	bl	puts
	b	.L2
.L14:
	ldr	r0, .L17+20
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L17+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L13:
	bl	insatbeg
	b	.L2
.L12:
	bl	insatend
	b	.L2
.L11:
	bl	insatmid
	b	.L2
.L10:
	bl	deletefirst
	b	.L2
.L9:
	bl	deletelast
	b	.L2
.L8:
	bl	deletemid
	b	.L2
.L7:
	bl	showthelinkedlistforwards
	b	.L2
.L6:
	bl	showthelinkedlistbackwards
	b	.L2
.L4:
	mov	r0, #0
	bl	exit
.L3:
	ldr	r0, .L17+28
	bl	puts
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	bne	.L14
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Enter element to be inserted: \000"
	.align	2
.LC9:
	.ascii	"\012Element inserted at beginning of the list !\000"
	.text
	.align	2
	.global	insatbeg
	.syntax unified
	.arm
	.fpu softvfp
	.type	insatbeg, %function
insatbeg:
	@ 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	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L22
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	ldr	r3, .L22+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r2, .L22+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L21
.L20:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L22+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L21:
	ldr	r0, .L22+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC8
	.word	.LC5
	.word	head
	.word	.LC9
	.size	insatbeg, .-insatbeg
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012Element inserted at end of the list !\000"
	.text
	.align	2
	.global	insatend
	.syntax unified
	.arm
	.fpu softvfp
	.type	insatend, %function
insatend:
	@ 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	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L27
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L27+4
	bl	__isoc99_scanf
	ldr	r3, .L27+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r2, .L27+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L26
.L25:
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L27+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
.L26:
	ldr	r0, .L27+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC8
	.word	.LC5
	.word	head
	.word	.LC10
	.size	insatend, .-insatend
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012Element inserted normally as list was empty !\000"
	.align	2
.LC12:
	.ascii	"Enter element after whom insertion will occur: \000"
	.align	2
.LC13:
	.ascii	"\012%d not present in the list !\012\000"
	.align	2
.LC14:
	.ascii	"\012Element inserted after the entered node !\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insatmid
	.syntax unified
	.arm
	.fpu softvfp
	.type	insatmid, %function
insatmid:
	@ 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, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, .L35+4
	bl	printf
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L35+8
	bl	__isoc99_scanf
	ldr	r3, .L35+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r2, .L35+12
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r0, .L35+16
	bl	puts
	b	.L29
.L30:
	ldr	r0, .L35+20
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L35+8
	bl	__isoc99_scanf
	ldr	r3, .L35+12
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L32
.L33:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L35+24
	bl	printf
	b	.L29
.L32:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L33
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r0, .L35+28
	bl	puts
.L29:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC15
	.word	.LC8
	.word	.LC5
	.word	head
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	insatmid, .-insatmid
	.section	.rodata
	.align	2
.LC16:
	.ascii	"List is empty ! No element to be deleted.\000"
	.align	2
.LC17:
	.ascii	"\012Head element, %d has been deleted !\012\000"
	.text
	.align	2
	.global	deletefirst
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletefirst, %function
deletefirst:
	@ 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, .L41
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L41+4
	bl	puts
	b	.L37
.L38:
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+8
	bl	printf
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L41
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L40
	ldr	r3, .L41
	mov	r2, #0
	str	r2, [r3]
	b	.L37
.L40:
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L41
	str	r3, [r2]
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	head
	.word	.LC16
	.word	.LC17
	.size	deletefirst, .-deletefirst
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\012End element, %d has been deleted !\012\000"
	.text
	.align	2
	.global	deletelast
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletelast, %function
deletelast:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L47+4
	bl	puts
	b	.L43
.L44:
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L47+8
	bl	printf
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L46
	ldr	r3, .L47
	mov	r2, #0
	str	r2, [r3]
	b	.L43
.L46:
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
.L43:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	head
	.word	.LC16
	.word	.LC18
	.size	deletelast, .-deletelast
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Enter the element to be deleted: \000"
	.align	2
.LC20:
	.ascii	"\012Given element, %d has been deleted !\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	deletemid
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletemid, %function
deletemid:
	@ 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, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L58+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L50
	ldr	r0, .L58+8
	bl	puts
	b	.L49
.L50:
	ldr	r0, .L58+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L58+16
	bl	__isoc99_scanf
	ldr	r3, .L58+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L52
.L53:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L58+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L52
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L58+20
	bl	printf
	b	.L49
.L52:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L53
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L58+24
	bl	printf
	ldr	r3, .L58+4
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L58+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L54
	ldr	r3, .L58+4
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L54:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r0, [fp, #-16]
	bl	free
.L49:
	ldr	r3, .L58
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC21
	.word	head
	.word	.LC16
	.word	.LC19
	.word	.LC5
	.word	.LC13
	.word	.LC20
	.size	deletemid, .-deletemid
	.section	.rodata
	.align	2
.LC22:
	.ascii	"List is empty ! No element to be displayed.\000"
	.align	2
.LC23:
	.ascii	"\012Elements of Circular DLL (in forward direction)"
	.ascii	" :\012-> \000"
	.align	2
.LC24:
	.ascii	"%d -> \000"
	.text
	.align	2
	.global	showthelinkedlistforwards
	.syntax unified
	.arm
	.fpu softvfp
	.type	showthelinkedlistforwards, %function
showthelinkedlistforwards:
	@ 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, .L65
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L61
	ldr	r0, .L65+4
	bl	puts
	b	.L64
.L61:
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, .L65+8
	bl	printf
.L63:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L65+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, .L65
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L63
	mov	r0, #10
	bl	putchar
.L64:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	head
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	showthelinkedlistforwards, .-showthelinkedlistforwards
	.section	.rodata
	.align	2
.LC25:
	.ascii	"\012Elements of Circular DLL (in backward direction"
	.ascii	") :\012<- \000"
	.align	2
.LC26:
	.ascii	"%d <- \000"
	.text
	.align	2
	.global	showthelinkedlistbackwards
	.syntax unified
	.arm
	.fpu softvfp
	.type	showthelinkedlistbackwards, %function
showthelinkedlistbackwards:
	@ 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, .L72
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L68
	ldr	r0, .L72+4
	bl	puts
	b	.L71
.L68:
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r0, .L72+8
	bl	printf
.L70:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L70
	mov	r0, #10
	bl	putchar
.L71:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	head
	.word	.LC22
	.word	.LC25
	.word	.LC26
	.size	showthelinkedlistbackwards, .-showthelinkedlistbackwards
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
