	.file	"251853.c"
	.intel_syntax noprefix
	.text
	.globl	items
	.bss
	.align 32
	.type	items, @object
	.size	items, 200
items:
	.zero	200
	.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
	.text
	.globl	isFull
	.type	isFull, @function
isFull:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR rear[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR front[rip]
	cmp	edx, eax
	je	.L2
	mov	eax, DWORD PTR front[rip]
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR rear[rip]
	cmp	eax, 49
	jne	.L3
.L2:
	mov	eax, 1
	jmp	.L4
.L3:
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isFull, .-isFull
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR front[rip]
	cmp	eax, -1
	jne	.L6
	mov	eax, 1
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	isEmpty, .-isEmpty
	.section	.rodata
.LC0:
	.string	"\n Queue is full!! "
.LC1:
	.string	"\n Inserted : %d"
	.text
	.globl	enQueue
	.type	enQueue, @function
enQueue:
.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	DWORD PTR -4[rbp], edi
	mov	eax, 0
	call	isFull
	test	eax, eax
	je	.L9
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L12
.L9:
	mov	eax, DWORD PTR front[rip]
	cmp	eax, -1
	jne	.L11
	mov	DWORD PTR front[rip], 0
.L11:
	mov	eax, DWORD PTR rear[rip]
	lea	edx, 1[rax]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 4
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 50
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR rear[rip], eax
	mov	eax, DWORD PTR rear[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, items[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	enQueue, .-enQueue
	.section	.rodata
.LC2:
	.string	"\n Queue is empty !! "
.LC3:
	.string	"\n Deleted element : %d \n"
	.text
	.globl	deQueue
	.type	deQueue, @function
deQueue:
.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	eax, 0
	call	isEmpty
	test	eax, eax
	je	.L14
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L15
.L14:
	mov	eax, DWORD PTR front[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, items[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	.L16
	mov	DWORD PTR front[rip], -1
	mov	DWORD PTR rear[rip], -1
	jmp	.L17
.L16:
	mov	eax, DWORD PTR front[rip]
	lea	edx, 1[rax]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 4
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 50
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR front[rip], eax
.L17:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	deQueue, .-deQueue
	.section	.rodata
.LC4:
	.string	" \n Empty Queue"
.LC5:
	.string	"\n Front : %d "
.LC6:
	.string	"\n Items : "
.LC7:
	.string	"%d "
.LC8:
	.string	"\n Rear : %d \n"
	.text
	.globl	display
	.type	display, @function
display:
.LFB4:
	.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	isEmpty
	test	eax, eax
	je	.L19
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L23
.L19:
	mov	eax, DWORD PTR front[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR front[rip]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, items[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	edx, DWORD PTR -4[rbp]
	imul	edx, edx, 50
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L21:
	mov	eax, DWORD PTR rear[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L22
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, items[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR rear[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	display, .-display
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	deQueue
	mov	edi, 1
	call	enQueue
	mov	edi, 2
	call	enQueue
	mov	edi, 3
	call	enQueue
	mov	edi, 4
	call	enQueue
	mov	edi, 5
	call	enQueue
	mov	edi, 6
	call	enQueue
	mov	eax, 0
	call	display
	mov	eax, 0
	call	deQueue
	mov	eax, 0
	call	display
	mov	edi, 7
	call	enQueue
	mov	eax, 0
	call	display
	mov	edi, 8
	call	enQueue
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"251853.c"
	.text
	.comm	items,200,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
	.text
	.align	2
	.global	isFull
	.syntax unified
	.arm
	.fpu softvfp
	.type	isFull, %function
isFull:
	@ 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
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #49
	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	rear
	.word	front
	.size	isFull, .-isFull
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ 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, .L10
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L8
	mov	r3, #1
	b	.L9
.L8:
	mov	r3, #0
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	front
	.size	isEmpty, .-isEmpty
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 Queue is full!! \000"
	.align	2
.LC1:
	.ascii	"\012 Inserted : %d\000"
	.text
	.align	2
	.global	enQueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enQueue, %function
enQueue:
	@ 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]
	bl	isFull
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L17
	bl	puts
	b	.L16
.L13:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L15
	ldr	r3, .L17+4
	mov	r2, #0
	str	r2, [r3]
.L15:
	ldr	r3, .L17+8
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L17+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, .L17+8
	str	r2, [r3]
	ldr	r3, .L17+8
	ldr	r3, [r3]
	ldr	r1, .L17+16
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, [fp, #-8]
	ldr	r0, .L17+20
	bl	printf
.L16:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	front
	.word	rear
	.word	1374389535
	.word	items
	.word	.LC1
	.size	enQueue, .-enQueue
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012 Queue is empty !! \000"
	.align	2
.LC3:
	.ascii	"\012 Deleted element : %d \012\000"
	.text
	.align	2
	.global	deQueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	deQueue, %function
deQueue:
	@ 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	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L24
	bl	puts
	mvn	r3, #0
	b	.L21
.L20:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, .L24+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, .L24+4
	ldr	r2, [r3]
	ldr	r3, .L24+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L22
	ldr	r3, .L24+4
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L24+12
	mvn	r2, #0
	str	r2, [r3]
	b	.L23
.L22:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L24+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, .L24+4
	str	r2, [r3]
.L23:
	ldr	r1, [fp, #-8]
	ldr	r0, .L24+20
	bl	printf
	ldr	r3, [fp, #-8]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	front
	.word	items
	.word	rear
	.word	1374389535
	.word	.LC3
	.size	deQueue, .-deQueue
	.section	.rodata
	.align	2
.LC4:
	.ascii	" \012 Empty Queue\000"
	.align	2
.LC5:
	.ascii	"\012 Front : %d \000"
	.align	2
.LC6:
	.ascii	"\012 Items : \000"
	.align	2
.LC7:
	.ascii	"%d \000"
	.align	2
.LC8:
	.ascii	"\012 Rear : %d \012\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	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r0, .L32
	bl	puts
	b	.L31
.L27:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+8
	bl	printf
	ldr	r0, .L32+12
	bl	printf
	ldr	r3, .L32+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L29
.L30:
	ldr	r2, .L32+16
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, .L32+24
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L29:
	ldr	r3, .L32+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L30
	ldr	r2, .L32+16
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
	ldr	r3, .L32+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+32
	bl	printf
.L31:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.word	front
	.word	.LC5
	.word	.LC6
	.word	items
	.word	.LC7
	.word	1374389535
	.word	rear
	.word	.LC8
	.size	display, .-display
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	deQueue
	mov	r0, #1
	bl	enQueue
	mov	r0, #2
	bl	enQueue
	mov	r0, #3
	bl	enQueue
	mov	r0, #4
	bl	enQueue
	mov	r0, #5
	bl	enQueue
	mov	r0, #6
	bl	enQueue
	bl	display
	bl	deQueue
	bl	display
	mov	r0, #7
	bl	enQueue
	bl	display
	mov	r0, #8
	bl	enQueue
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
