	.file	"978972.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	new
	.align 8
	.type	new, @object
	.size	new, 8
new:
	.zero	8
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.section	.rodata
.LC0:
	.string	"enter total no of nodes"
.LC1:
	.string	"%d"
.LC2:
	.string	"data in the list"
	.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	create
	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	insertatbig
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	call	displaylist
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, 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
.LC3:
	.string	"enter value of node1"
.LC4:
	.string	"enter data of node %d"
	.align 8
.LC5:
	.string	"circular linked list created successfully"
	.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	DWORD PTR -20[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 head[rip], rax
	lea	rdi, .LC3[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	rax, QWORD PTR head[rip]
	mov	edx, DWORD PTR -16[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 p[rip], rax
	mov	DWORD PTR -12[rbp], 2
	jmp	.L5
.L6:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR new[rip], rax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[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	rax, QWORD PTR new[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR p[rip]
	mov	rdx, QWORD PTR new[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR p[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p[rip], rax
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR p[rip], rax
	mov	rax, QWORD PTR p[rip]
	mov	rdx, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], rdx
	add	DWORD PTR -12[rbp], 1
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create, .-create
	.globl	insertatbig
	.type	insertatbig, @function
insertatbig:
.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 -4[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR new[rip], rax
	mov	rax, QWORD PTR new[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR new[rip]
	mov	rdx, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR p[rip], rax
	jmp	.L9
.L10:
	mov	rax, QWORD PTR p[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p[rip], rax
.L9:
	mov	rax, QWORD PTR p[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L10
	mov	rax, QWORD PTR p[rip]
	mov	rdx, QWORD PTR new[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR head[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insertatbig, .-insertatbig
	.section	.rodata
.LC6:
	.string	"data in list"
.LC7:
	.string	"%d->"
	.text
	.globl	displaylist
	.type	displaylist, @function
displaylist:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR p[rip], rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	rax, QWORD PTR p[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR p[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p[rip], rax
	mov	rdx, QWORD PTR p[rip]
	mov	rax, QWORD PTR head[rip]
	cmp	rdx, rax
	jne	.L12
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"978972.c"
	.text
	.comm	head,4,4
	.comm	new,4,4
	.comm	p,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter total no of nodes\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"data in the list\000"
	.align	2
.LC3:
	.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, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	create
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	insertatbig
	ldr	r0, .L4+12
	bl	puts
	bl	displaylist
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"enter value of node1\000"
	.align	2
.LC5:
	.ascii	"enter data of node %d\000"
	.align	2
.LC6:
	.ascii	"circular linked list created successfully\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ 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, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10+4
	str	r2, [r3]
	ldr	r0, .L10+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+16
	str	r3, [r2]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L7
.L8:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10+20
	str	r2, [r3]
	ldr	r1, [fp, #-12]
	ldr	r0, .L10+24
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	ldr	r3, .L10+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L10+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L10+16
	ldr	r3, [r3]
	ldr	r2, .L10+20
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L10+16
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L10+16
	str	r3, [r2]
	ldr	r3, .L10+20
	ldr	r3, [r3]
	ldr	r2, .L10+16
	str	r3, [r2]
	ldr	r3, .L10+16
	ldr	r3, [r3]
	ldr	r2, .L10+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L8
	ldr	r0, .L10+28
	bl	puts
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC7
	.word	head
	.word	.LC4
	.word	.LC1
	.word	p
	.word	new
	.word	.LC5
	.word	.LC6
	.size	create, .-create
	.align	2
	.global	insertatbig
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertatbig, %function
insertatbig:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15
	str	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, .L15+8
	str	r3, [r2]
	b	.L13
.L14:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L15+8
	str	r3, [r2]
.L13:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L14
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15+4
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	new
	.word	head
	.word	p
	.size	insertatbig, .-insertatbig
	.section	.rodata
	.align	2
.LC8:
	.ascii	"data in list\000"
	.align	2
.LC9:
	.ascii	"%d->\000"
	.text
	.align	2
	.global	displaylist
	.syntax unified
	.arm
	.fpu softvfp
	.type	displaylist, %function
displaylist:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, .L19+4
	str	r3, [r2]
	ldr	r0, .L19+8
	bl	printf
.L18:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L19+4
	str	r3, [r2]
	ldr	r3, .L19+4
	ldr	r2, [r3]
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L18
	nop
	nop
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	head
	.word	p
	.word	.LC8
	.word	.LC9
	.size	displaylist, .-displaylist
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
