	.file	"83741.c"
	.intel_syntax noprefix
	.text
	.globl	QUEUE
	.bss
	.align 16
	.type	QUEUE, @object
	.size	QUEUE, 20
QUEUE:
	.zero	20
	.globl	FRONT
	.data
	.align 4
	.type	FRONT, @object
	.size	FRONT, 4
FRONT:
	.long	-1
	.globl	REAR
	.align 4
	.type	REAR, @object
	.size	REAR, 4
REAR:
	.long	-1
	.section	.rodata
.LC0:
	.string	"CIRCULAR QUEUE OVERFLOW"
	.text
	.globl	CQINSERT
	.type	CQINSERT, @function
CQINSERT:
.LFB0:
	.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	eax, DWORD PTR FRONT[rip]
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR REAR[rip]
	cmp	eax, 4
	je	.L3
.L2:
	mov	eax, DWORD PTR REAR[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR FRONT[rip]
	cmp	edx, eax
	jne	.L4
.L3:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L1
.L4:
	mov	eax, DWORD PTR REAR[rip]
	cmp	eax, -1
	jne	.L6
	mov	DWORD PTR FRONT[rip], 0
	mov	DWORD PTR REAR[rip], 0
	jmp	.L7
.L6:
	mov	eax, DWORD PTR REAR[rip]
	cmp	eax, 4
	jne	.L8
	mov	DWORD PTR REAR[rip], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR REAR[rip]
	add	eax, 1
	mov	DWORD PTR REAR[rip], eax
.L7:
	mov	eax, DWORD PTR REAR[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, QUEUE[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	CQINSERT, .-CQINSERT
	.section	.rodata
.LC1:
	.string	"CIRCULAR QUEUE UNDERFLOW"
	.text
	.globl	CQDELETE
	.type	CQDELETE, @function
CQDELETE:
.LFB1:
	.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	eax, DWORD PTR FRONT[rip]
	cmp	eax, -1
	jne	.L10
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L11
.L10:
	mov	eax, DWORD PTR FRONT[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, QUEUE[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR FRONT[rip]
	mov	eax, DWORD PTR REAR[rip]
	cmp	edx, eax
	jne	.L12
	mov	DWORD PTR FRONT[rip], -1
	mov	DWORD PTR REAR[rip], -1
	jmp	.L13
.L12:
	mov	eax, DWORD PTR FRONT[rip]
	cmp	eax, 4
	jne	.L14
	mov	DWORD PTR FRONT[rip], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR FRONT[rip]
	add	eax, 1
	mov	DWORD PTR FRONT[rip], eax
.L13:
	mov	eax, DWORD PTR -4[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	CQDELETE, .-CQDELETE
	.section	.rodata
.LC2:
	.string	"EMPTY!"
.LC3:
	.string	"%d\t"
	.text
	.globl	CQTRAVERSE
	.type	CQTRAVERSE, @function
CQTRAVERSE:
.LFB2:
	.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	eax, DWORD PTR FRONT[rip]
	cmp	eax, -1
	jne	.L16
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L16:
	mov	edx, DWORD PTR REAR[rip]
	mov	eax, DWORD PTR FRONT[rip]
	cmp	edx, eax
	jge	.L18
	mov	eax, DWORD PTR FRONT[rip]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, QUEUE[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L19:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L20
	mov	DWORD PTR -4[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, QUEUE[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L21:
	mov	eax, DWORD PTR REAR[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L22
	jmp	.L25
.L18:
	mov	eax, DWORD PTR FRONT[rip]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, QUEUE[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L23:
	mov	eax, DWORD PTR REAR[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L24
.L25:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	CQTRAVERSE, .-CQTRAVERSE
	.section	.rodata
	.align 8
.LC4:
	.string	"\n 1.INSERT \n 2.DELETE \n 3.TRAVERSE \n 4.QUIT \n ENTER YOUR CHOICE : "
.LC5:
	.string	"%d"
.LC6:
	.string	"\nEnter element to Insert : "
.LC7:
	.string	"%d has been Deleted"
.LC8:
	.string	"INVALID CHOICE !"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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
	jmp	.L27
.L34:
	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, 4
	je	.L27
	cmp	eax, 4
	jg	.L29
	cmp	eax, 3
	je	.L30
	cmp	eax, 3
	jg	.L29
	cmp	eax, 1
	je	.L31
	cmp	eax, 2
	je	.L32
	jmp	.L29
.L31:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	CQINSERT
	jmp	.L27
.L32:
	mov	eax, 0
	call	CQDELETE
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, -1
	je	.L27
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L30:
	mov	eax, 0
	call	CQTRAVERSE
	jmp	.L27
.L29:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jne	.L34
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.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	"83741.c"
	.text
	.comm	QUEUE,20,4
	.global	FRONT
	.data
	.align	2
	.type	FRONT, %object
	.size	FRONT, 4
FRONT:
	.word	-1
	.global	REAR
	.align	2
	.type	REAR, %object
	.size	REAR, 4
REAR:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"CIRCULAR QUEUE OVERFLOW\000"
	.text
	.align	2
	.global	CQINSERT
	.syntax unified
	.arm
	.fpu softvfp
	.type	CQINSERT, %function
CQINSERT:
	@ 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]
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L3
.L2:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L4
.L3:
	ldr	r0, .L9+8
	bl	printf
	b	.L1
.L4:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L6
	ldr	r3, .L9
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L9+4
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L6:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L8
	ldr	r3, .L9+4
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L8:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+4
	str	r3, [r2]
.L7:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r1, .L9+12
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	FRONT
	.word	REAR
	.word	.LC0
	.word	QUEUE
	.size	CQINSERT, .-CQINSERT
	.section	.rodata
	.align	2
.LC1:
	.ascii	"CIRCULAR QUEUE UNDERFLOW\000"
	.text
	.align	2
	.global	CQDELETE
	.syntax unified
	.arm
	.fpu softvfp
	.type	CQDELETE, %function
CQDELETE:
	@ 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]
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L17+4
	bl	printf
	mvn	r3, #0
	b	.L13
.L12:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L14
	ldr	r3, .L17
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L17+12
	mvn	r2, #0
	str	r2, [r3]
	b	.L15
.L14:
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L16
	ldr	r3, .L17
	mov	r2, #0
	str	r2, [r3]
	b	.L15
.L16:
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
.L15:
	ldr	r3, [fp, #-8]
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	FRONT
	.word	.LC1
	.word	QUEUE
	.word	REAR
	.size	CQDELETE, .-CQDELETE
	.section	.rodata
	.align	2
.LC2:
	.ascii	"EMPTY!\000"
	.align	2
.LC3:
	.ascii	"%d\011\000"
	.text
	.align	2
	.global	CQTRAVERSE
	.syntax unified
	.arm
	.fpu softvfp
	.type	CQTRAVERSE, %function
CQTRAVERSE:
	@ 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, .L30
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L30+4
	bl	printf
	b	.L29
.L20:
	ldr	r3, .L30+8
	ldr	r2, [r3]
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L22
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L23
.L24:
	ldr	r2, .L30+12
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L30+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L23:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L24
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r2, .L30+12
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L30+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L26
	b	.L29
.L22:
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L27
.L28:
	ldr	r2, .L30+12
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L30+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L28
.L29:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	FRONT
	.word	.LC2
	.word	REAR
	.word	QUEUE
	.word	.LC3
	.size	CQTRAVERSE, .-CQTRAVERSE
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012 1.INSERT \012 2.DELETE \012 3.TRAVERSE \012 4."
	.ascii	"QUIT \012 ENTER YOUR CHOICE : \000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"\012Enter element to Insert : \000"
	.align	2
.LC7:
	.ascii	"%d has been Deleted\000"
	.align	2
.LC8:
	.ascii	"INVALID CHOICE !\000"
	.align	2
.LC9:
	.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, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L33
.L41:
	ldr	r0, .L44+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L44+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L34
.L36:
	.word	.L39
	.word	.L38
	.word	.L37
	.word	.L33
.L39:
	ldr	r0, .L44+12
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L44+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	CQINSERT
	b	.L33
.L38:
	bl	CQDELETE
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L33
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L44+16
	bl	printf
	b	.L33
.L37:
	bl	CQTRAVERSE
	b	.L33
.L34:
	ldr	r0, .L44+20
	bl	printf
.L33:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bne	.L41
	mov	r3, #0
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC9
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
