	.file	"29392.c"
	.intel_syntax noprefix
	.text
	.globl	CQ
	.bss
	.type	CQ, @object
	.size	CQ, 5
CQ:
	.zero	5
	.globl	f
	.data
	.type	f, @object
	.size	f, 1
f:
	.byte	-1
	.globl	r
	.type	r, @object
	.size	r, 1
r:
	.byte	-1
	.text
	.globl	CQfull
	.type	CQfull, @function
CQfull:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR f[rip]
	movsx	eax, al
	movzx	edx, BYTE PTR r[rip]
	movsx	edx, dl
	add	edx, 1
	cmp	eax, edx
	je	.L2
	movzx	eax, BYTE PTR f[rip]
	test	al, al
	jne	.L3
	movzx	eax, BYTE PTR r[rip]
	cmp	al, 4
	jne	.L3
.L2:
	mov	eax, 1
	jmp	.L4
.L3:
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	CQfull, .-CQfull
	.globl	CQempty
	.type	CQempty, @function
CQempty:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR f[rip]
	cmp	al, -1
	jne	.L6
	mov	eax, 1
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	CQempty, .-CQempty
	.section	.rodata
.LC0:
	.string	"\nOverflow"
	.text
	.globl	CQinsert
	.type	CQinsert, @function
CQinsert:
.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	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	eax, 0
	call	CQfull
	test	eax, eax
	je	.L9
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L9:
	movzx	eax, BYTE PTR f[rip]
	cmp	al, -1
	jne	.L11
	mov	BYTE PTR f[rip], 0
.L11:
	movzx	eax, BYTE PTR r[rip]
	movsx	eax, al
	add	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	ecx, eax
	mov	eax, ecx
	mov	BYTE PTR r[rip], al
	movzx	eax, BYTE PTR r[rip]
	movsx	eax, al
	cdqe
	lea	rcx, CQ[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	CQinsert, .-CQinsert
	.section	.rodata
.LC1:
	.string	"\nUnderflow"
	.text
	.globl	CQdelete
	.type	CQdelete, @function
CQdelete:
.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	eax, 0
	call	CQempty
	test	eax, eax
	je	.L14
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L13
.L14:
	movzx	eax, BYTE PTR f[rip]
	movsx	eax, al
	cdqe
	lea	rdx, CQ[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
	movzx	edx, BYTE PTR f[rip]
	movzx	eax, BYTE PTR r[rip]
	cmp	dl, al
	jne	.L16
	mov	BYTE PTR f[rip], -1
	mov	BYTE PTR r[rip], -1
	jmp	.L13
.L16:
	movzx	eax, BYTE PTR f[rip]
	movsx	eax, al
	add	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	ecx, eax
	mov	eax, ecx
	mov	BYTE PTR f[rip], al
	movzx	eax, BYTE PTR -1[rbp]
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	CQdelete, .-CQdelete
	.section	.rodata
.LC2:
	.string	"\nEmpty Queue"
.LC3:
	.string	"front[%d] --> "
.LC4:
	.string	"%c - "
.LC5:
	.string	" <-- [%d]Rear"
	.text
	.globl	display
	.type	display, @function
display:
.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	eax, 0
	call	CQempty
	test	eax, eax
	je	.L19
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L19:
	movzx	eax, BYTE PTR f[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR f[rip]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, CQ[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L21:
	movzx	eax, BYTE PTR r[rip]
	movsx	eax, al
	cmp	DWORD PTR -4[rbp], eax
	jne	.L22
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, CQ[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	movzx	eax, BYTE PTR r[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	display, .-display
	.section	.rodata
	.align 8
.LC6:
	.string	"\n1.Insert\n2.Delete\n3.Display\n4.Exit\nEnter your choice : "
.LC7:
	.string	"%d"
	.align 8
.LC8:
	.string	"\nEnter the element to be inserted : "
.LC9:
	.string	"%s"
.LC10:
	.string	"\nDeleted element is %c"
.LC11:
	.string	"\nThe circular queue is "
	.text
	.globl	main
	.type	main, @function
main:
.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 fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L30:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	je	.L24
	cmp	eax, 4
	jg	.L30
	cmp	eax, 3
	je	.L26
	cmp	eax, 3
	jg	.L30
	cmp	eax, 1
	je	.L27
	cmp	eax, 2
	je	.L28
	jmp	.L25
.L27:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	mov	edi, eax
	call	CQinsert
	jmp	.L25
.L28:
	mov	eax, 0
	call	CQdelete
	mov	BYTE PTR -13[rbp], al
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, -1
	je	.L32
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L26:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 0
	call	display
	jmp	.L25
.L24:
	mov	edi, 0
	call	exit@PLT
.L32:
	nop
.L25:
	jmp	.L30
	.cfi_endproc
.LFE11:
	.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	"29392.c"
	.text
	.comm	CQ,5,4
	.global	f
	.data
	.type	f, %object
	.size	f, 1
f:
	.byte	-1
	.global	r
	.type	r, %object
	.size	r, 1
r:
	.byte	-1
	.text
	.align	2
	.global	CQfull
	.syntax unified
	.arm
	.fpu softvfp
	.type	CQfull, %function
CQfull:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L5
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L5+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L5+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L3
.L2:
	mov	r3, #1
	b	.L4
.L3:
	mov	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	f
	.word	r
	.size	CQfull, .-CQfull
	.align	2
	.global	CQempty
	.syntax unified
	.arm
	.fpu softvfp
	.type	CQempty, %function
CQempty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	CQempty, .-CQempty
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Overflow\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
	mov	r3, r0
	strb	r3, [fp, #-5]
	bl	CQfull
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L13
	bl	printf
	b	.L12
.L10:
	ldr	r3, .L13+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r3, #1
	ldr	r3, .L13+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	and	r2, r2, #255
	ldr	r3, .L13+4
	strb	r2, [r3]
	ldr	r3, .L13+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L13+12
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, r1]
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	r
	.word	1717986919
	.word	CQ
	.size	CQinsert, .-CQinsert
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Underflow\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
	bl	CQempty
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r0, .L20
	bl	printf
	mov	r3, #255
	b	.L15
.L16:
	ldr	r3, .L20+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L20+8
	ldrb	r3, [r3, r2]
	strb	r3, [fp, #-5]
	ldr	r3, .L20+4
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L20+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L18
	ldr	r3, .L20+4
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, .L20+12
	mvn	r2, #0
	strb	r2, [r3]
	b	.L15
.L18:
	ldr	r3, .L20+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r3, #1
	ldr	r3, .L20+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	and	r2, r2, #255
	ldr	r3, .L20+4
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	f
	.word	CQ
	.word	r
	.word	1717986919
	.size	CQdelete, .-CQdelete
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012Empty Queue\000"
	.align	2
.LC3:
	.ascii	"front[%d] --> \000"
	.align	2
.LC4:
	.ascii	"%c - \000"
	.align	2
.LC5:
	.ascii	" <-- [%d]Rear\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	CQempty
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r0, .L27
	bl	printf
	b	.L24
.L23:
	ldr	r3, .L27+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L27+8
	bl	printf
	ldr	r3, .L27+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r2, .L27+12
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L27+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, .L27+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L25:
	ldr	r3, .L27+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	bne	.L26
	ldr	r2, .L27+12
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L27+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L27+28
	bl	printf
.L24:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	f
	.word	.LC3
	.word	CQ
	.word	.LC4
	.word	1717986919
	.word	r
	.word	.LC5
	.size	display, .-display
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\0121.Insert\0122.Delete\0123.Display\0124.Exit\012"
	.ascii	"Enter your choice : \000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"\012Enter the element to be inserted : \000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"\012Deleted element is %c\000"
	.align	2
.LC11:
	.ascii	"\012The circular queue is \000"
	.align	2
.LC12:
	.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, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L36:
	ldr	r0, .L38+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L36
.L32:
	.word	.L35
	.word	.L34
	.word	.L33
	.word	.L31
.L35:
	ldr	r0, .L38+12
	bl	printf
	sub	r3, fp, #13
	mov	r1, r3
	ldr	r0, .L38+16
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	CQinsert
	b	.L30
.L34:
	bl	CQdelete
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L38+20
	bl	printf
	b	.L30
.L33:
	ldr	r0, .L38+24
	bl	puts
	bl	display
	b	.L30
.L31:
	mov	r0, #0
	bl	exit
.L30:
	b	.L36
.L39:
	.align	2
.L38:
	.word	.LC12
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
