	.file	"257006.c"
	.intel_syntax noprefix
	.text
	.globl	first
	.bss
	.align 8
	.type	first, @object
	.size	first, 8
first:
	.zero	8
	.globl	last
	.align 8
	.type	last, @object
	.size	last, 8
last:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"program written by enrollment number 200420107012"
	.align 8
.LC1:
	.string	"\n------------------------------------------------"
	.align 8
.LC2:
	.string	"\n 1. Create a Circular Linked List."
	.align 8
.LC3:
	.string	"\n 2. Insert a node at the end of the linked list."
	.align 8
.LC4:
	.string	"\n 3. Insert a node before specified position."
	.align 8
.LC5:
	.string	"\n 4. Delete a first node of the linked list."
	.align 8
.LC6:
	.string	"\n 5. Delete a node after specified position"
.LC7:
	.string	"\n 6. Display."
.LC8:
	.string	"\n 0. Exit."
	.align 8
.LC9:
	.string	"------------------------------------------------"
.LC10:
	.string	"\n Enter a choice! : "
.LC11:
	.string	"%d"
	.align 8
.LC12:
	.string	"\n Linked List is Empty! Insert the element first!"
.LC13:
	.string	"\n Exiting the code..."
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L14:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 6
	ja	.L16
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L9:
	mov	eax, 0
	call	create
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	insert_end
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L7:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L12
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	insert_pos
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delete_first
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L5:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L13
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delete_after
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	display
	jmp	.L11
.L10:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L16:
	nop
.L11:
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jne	.L14
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC14:
	.string	"\n Enter the value: "
	.text
	.globl	create
	.type	create, @function
create:
.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	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[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	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR last[rip], rax
	mov	rax, QWORD PTR last[rip]
	mov	QWORD PTR first[rip], rax
	mov	rax, QWORD PTR -16[rbp]
	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
.LFE7:
	.size	create, .-create
	.globl	insert_end
	.type	insert_end, @function
insert_end:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	QWORD PTR -40[rbp], 0
	jne	.L21
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	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	QWORD PTR last[rip], rax
	mov	rax, QWORD PTR last[rip]
	mov	QWORD PTR first[rip], rax
	jmp	.L22
.L21:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR first[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR last[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR last[rip], rax
.L22:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert_end, .-insert_end
	.section	.rodata
.LC15:
	.string	"\n Enter the position : "
.LC16:
	.string	"\n Enter the value : "
	.align 8
.LC17:
	.string	"\n Invalid Position! There is no node before %d position!"
	.align 8
.LC18:
	.string	"\n Invalid Position! The Likedlist contains only %d elements"
	.text
	.globl	insert_pos
	.type	insert_pos, @function
insert_pos:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	lenth
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L26
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L26:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L27
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L27:
	mov	edx, DWORD PTR -44[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 first[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
	add	DWORD PTR -40[rbp], 1
.L28:
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jl	.L29
	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 -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insert_pos, .-insert_pos
	.globl	delete_first
	.type	delete_first, @function
delete_first:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L33
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR first[rip], rax
	mov	rax, QWORD PTR last[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	delete_first, .-delete_first
	.section	.rodata
	.align 8
.LC19:
	.string	"\n Invalid Position! There is no node after %d position!"
	.text
	.globl	delete_after
	.type	delete_after, @function
delete_after:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	lenth
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L36
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L36:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L37
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L37:
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -32[rbp], 1
.L38:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L39
	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	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	delete_after, .-delete_after
	.section	.rodata
	.align 8
.LC20:
	.string	"\n The Circular Linked List Contains:"
.LC21:
	.string	"\n %d"
	.text
	.globl	display
	.type	display, @function
display:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L43
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L43:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L44:
	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 first[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L44
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	display, .-display
	.globl	lenth
	.type	lenth, @function
lenth:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR -8[rbp], rax
.L46:
	add	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR first[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L46
	mov	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	lenth, .-lenth
	.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	"257006.c"
	.text
	.comm	first,4,4
	.comm	last,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"program written by enrollment number 200420107012\000"
	.align	2
.LC1:
	.ascii	"\012-----------------------------------------------"
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"\012 1. Create a Circular Linked List.\000"
	.align	2
.LC3:
	.ascii	"\012 2. Insert a node at the end of the linked list"
	.ascii	".\000"
	.align	2
.LC4:
	.ascii	"\012 3. Insert a node before specified position.\000"
	.align	2
.LC5:
	.ascii	"\012 4. Delete a first node of the linked list.\000"
	.align	2
.LC6:
	.ascii	"\012 5. Delete a node after specified position\000"
	.align	2
.LC7:
	.ascii	"\012 6. Display.\000"
	.align	2
.LC8:
	.ascii	"\012 0. Exit.\000"
	.align	2
.LC9:
	.ascii	"------------------------------------------------\000"
	.align	2
.LC10:
	.ascii	"\012 Enter a choice! : \000"
	.align	2
.LC11:
	.ascii	"%d\000"
	.align	2
.LC12:
	.ascii	"\012 Linked List is Empty! Insert the element first"
	.ascii	"!\000"
	.align	2
.LC13:
	.ascii	"\012 Exiting the code...\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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L17+4
	bl	puts
.L14:
	ldr	r0, .L17+8
	bl	printf
	ldr	r0, .L17+12
	bl	printf
	ldr	r0, .L17+16
	bl	printf
	ldr	r0, .L17+20
	bl	printf
	ldr	r0, .L17+24
	bl	printf
	ldr	r0, .L17+28
	bl	printf
	ldr	r0, .L17+32
	bl	printf
	ldr	r0, .L17+36
	bl	puts
	ldr	r0, .L17+40
	bl	puts
	ldr	r0, .L17+44
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L17+48
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L16
.L4:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L9:
	bl	create
	str	r0, [fp, #-12]
	b	.L11
.L8:
	ldr	r0, [fp, #-12]
	bl	insert_end
	str	r0, [fp, #-12]
	b	.L11
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L17+52
	bl	printf
	mov	r0, #0
	bl	exit
.L12:
	ldr	r0, [fp, #-12]
	bl	insert_pos
	str	r0, [fp, #-12]
	b	.L11
.L6:
	ldr	r0, [fp, #-12]
	bl	delete_first
	str	r0, [fp, #-12]
	b	.L11
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L17+52
	bl	printf
	mov	r0, #0
	bl	exit
.L13:
	ldr	r0, [fp, #-12]
	bl	delete_after
	str	r0, [fp, #-12]
	b	.L11
.L3:
	ldr	r0, [fp, #-12]
	bl	display
	b	.L11
.L10:
	ldr	r0, .L17+56
	bl	printf
	mov	r0, #0
	bl	exit
.L16:
	nop
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L14
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.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	"\012 Enter the value: \000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ 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, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L22+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L22+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L22+12
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L22+12
	ldr	r3, [r3]
	ldr	r2, .L22+16
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC16
	.word	.LC15
	.word	.LC11
	.word	last
	.word	first
	.size	create, .-create
	.section	.rodata
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_end, %function
insert_end:
	@ 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, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L29+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L29+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L25
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L29+12
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, .L29+16
	str	r3, [r2]
	b	.L26
.L25:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L29+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L29+12
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L26:
	ldr	r3, [fp, #-24]
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC17
	.word	.LC15
	.word	.LC11
	.word	last
	.word	first
	.size	insert_end, .-insert_end
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\012 Enter the position : \000"
	.align	2
.LC19:
	.ascii	"\012 Enter the value : \000"
	.align	2
.LC20:
	.ascii	"\012 Invalid Position! There is no node before %d p"
	.ascii	"osition!\000"
	.align	2
.LC21:
	.ascii	"\012 Invalid Position! The Likedlist contains only "
	.ascii	"%d elements\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert_pos
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_pos, %function
insert_pos:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, .L38+4
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r0, .L38+12
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r0, [fp, #-40]
	bl	lenth
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L38+16
	bl	printf
	mov	r0, #0
	bl	exit
.L32:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L33
	ldr	r1, [fp, #-12]
	ldr	r0, .L38+20
	bl	printf
	mov	r0, #0
	bl	exit
.L33:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L38+24
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L34
.L35:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC22
	.word	.LC18
	.word	.LC11
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	first
	.size	insert_pos, .-insert_pos
	.align	2
	.global	delete_first
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_first, %function
delete_first:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L43
	bl	printf
	mov	r0, #0
	bl	exit
.L41:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r2, .L43+4
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L43+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC12
	.word	first
	.word	last
	.size	delete_first, .-delete_first
	.section	.rodata
	.align	2
.LC23:
	.ascii	"\012 Invalid Position! There is no node after %d po"
	.ascii	"sition!\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	delete_after
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_after, %function
delete_after:
	@ 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, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-32]
	bl	lenth
	str	r0, [fp, #-12]
	ldr	r0, .L52+4
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L46
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L52+12
	bl	printf
	mov	r0, #0
	bl	exit
.L46:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L47
	ldr	r1, [fp, #-12]
	ldr	r0, .L52+16
	bl	printf
	mov	r0, #0
	bl	exit
.L47:
	ldr	r3, .L52+20
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L48
.L49:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L48:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-32]
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC24
	.word	.LC18
	.word	.LC11
	.word	.LC23
	.word	.LC21
	.word	first
	.size	delete_after, .-delete_after
	.section	.rodata
	.align	2
.LC25:
	.ascii	"\012 The Circular Linked List Contains:\000"
	.align	2
.LC26:
	.ascii	"\012 %d\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L55
	ldr	r0, .L57+4
	bl	printf
	mov	r0, #0
	bl	exit
.L55:
	ldr	r0, .L57+8
	bl	printf
.L56:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L57+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, .L57
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L56
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	first
	.word	.LC12
	.word	.LC25
	.word	.LC26
	.size	display, .-display
	.align	2
	.global	lenth
	.syntax unified
	.arm
	.fpu softvfp
	.type	lenth, %function
lenth:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L60:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, .L62
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L60
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L63:
	.align	2
.L62:
	.word	first
	.size	lenth, .-lenth
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
