	.file	"643648.c"
	.intel_syntax noprefix
	.text
	.globl	queue_array
	.bss
	.align 32
	.type	queue_array, @object
	.size	queue_array, 200
queue_array:
	.zero	200
	.globl	rear
	.data
	.align 4
	.type	rear, @object
	.size	rear, 4
rear:
	.long	-1
	.globl	front
	.align 4
	.type	front, @object
	.size	front, 4
front:
	.long	-1
	.section	.rodata
.LC0:
	.string	"1.Insert element to queue "
.LC1:
	.string	"2.Delete element from queue "
	.align 8
.LC2:
	.string	"3.Display all elements and number of elements of queue "
.LC3:
	.string	"4.Quit "
.LC4:
	.string	"Enter your choice : "
.LC5:
	.string	"%d"
.LC6:
	.string	"Wrong choice "
	.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
.L8:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	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	.L2
	cmp	eax, 4
	jg	.L3
	cmp	eax, 3
	je	.L4
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L5
	cmp	eax, 2
	je	.L6
	jmp	.L3
.L5:
	mov	eax, 0
	call	insert
	jmp	.L7
.L6:
	mov	eax, 0
	call	delete
	jmp	.L7
.L4:
	mov	eax, 0
	call	display
	jmp	.L7
.L2:
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L7:
	jmp	.L8
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC7:
	.string	"Queue Overflow "
	.align 8
.LC8:
	.string	"Insert the element in queue : "
	.text
	.globl	insert
	.type	insert, @function
insert:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR rear[rip]
	cmp	eax, 49
	jne	.L11
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L15
.L11:
	mov	eax, DWORD PTR front[rip]
	cmp	eax, -1
	jne	.L13
	mov	DWORD PTR front[rip], 0
.L13:
	lea	rdi, .LC8[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 rear[rip]
	add	eax, 1
	mov	DWORD PTR rear[rip], eax
	mov	edx, DWORD PTR rear[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, queue_array[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L15:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insert, .-insert
	.section	.rodata
.LC9:
	.string	"Queue Underflow "
	.align 8
.LC10:
	.string	"Element deleted from queue is : %d\n"
	.text
	.globl	delete
	.type	delete, @function
delete:
.LFB8:
	.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
	je	.L17
	mov	edx, DWORD PTR front[rip]
	mov	eax, DWORD PTR rear[rip]
	cmp	edx, eax
	jle	.L18
.L17:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L16
.L18:
	mov	eax, DWORD PTR front[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queue_array[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR front[rip]
	add	eax, 1
	mov	DWORD PTR front[rip], eax
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	delete, .-delete
	.section	.rodata
.LC11:
	.string	"Queue is empty "
.LC12:
	.string	"Queue is : "
.LC13:
	.string	"%d "
	.align 8
.LC14:
	.string	"Number of elements in queue: %d\n"
	.text
	.globl	display
	.type	display, @function
display:
.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, DWORD PTR front[rip]
	cmp	eax, -1
	jne	.L21
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L25
.L21:
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, DWORD PTR front[rip]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queue_array[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L23:
	mov	eax, DWORD PTR rear[rip]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L24
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display, .-display
	.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	"643648.c"
	.text
	.comm	queue_array,200,4
	.global	rear
	.data
	.align	2
	.type	rear, %object
	.size	rear, 4
rear:
	.word	-1
	.global	front
	.align	2
	.type	front, %object
	.size	front, 4
front:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1.Insert element to queue \000"
	.align	2
.LC1:
	.ascii	"2.Delete element from queue \000"
	.align	2
.LC2:
	.ascii	"3.Display all elements and number of elements of qu"
	.ascii	"eue \000"
	.align	2
.LC3:
	.ascii	"4.Quit \000"
	.align	2
.LC4:
	.ascii	"Enter your choice : \000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"Wrong choice \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L9:
	ldr	r0, .L11+4
	bl	puts
	ldr	r0, .L11+8
	bl	puts
	ldr	r0, .L11+12
	bl	puts
	ldr	r0, .L11+16
	bl	puts
	ldr	r0, .L11+20
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L11+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	bl	insert
	b	.L8
.L6:
	bl	delete
	b	.L8
.L5:
	bl	display
	b	.L8
.L3:
	mov	r0, #1
	bl	exit
.L2:
	ldr	r0, .L11+28
	bl	puts
.L8:
	b	.L9
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Queue Overflow \000"
	.align	2
.LC9:
	.ascii	"Insert the element in queue : \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ 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, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L19+4
	ldr	r3, [r3]
	cmp	r3, #49
	bne	.L14
	ldr	r0, .L19+8
	bl	puts
	b	.L18
.L14:
	ldr	r3, .L19+12
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L16
	ldr	r3, .L19+12
	mov	r2, #0
	str	r2, [r3]
.L16:
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	ldr	r3, .L19+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19+4
	str	r3, [r2]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L19+24
	str	r2, [r1, r3, lsl #2]
.L18:
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC10
	.word	rear
	.word	.LC8
	.word	front
	.word	.LC9
	.word	.LC5
	.word	queue_array
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Queue Underflow \000"
	.align	2
.LC12:
	.ascii	"Element deleted from queue is : %d\012\000"
	.text
	.align	2
	.global	delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete, %function
delete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L25
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L22
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L23
.L22:
	ldr	r0, .L25+8
	bl	puts
	pop	{fp, pc}
.L23:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L25+16
	bl	printf
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	front
	.word	rear
	.word	.LC11
	.word	queue_array
	.word	.LC12
	.size	delete, .-delete
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Queue is empty \000"
	.align	2
.LC14:
	.ascii	"Queue is : \000"
	.align	2
.LC15:
	.ascii	"%d \000"
	.align	2
.LC16:
	.ascii	"Number of elements in queue: %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
	ldr	r3, .L33
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L28
	ldr	r0, .L33+4
	bl	puts
	b	.L32
.L28:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L33+8
	bl	puts
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L30
.L31:
	ldr	r2, .L33+12
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L33+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, .L33+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L31
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-8]
	ldr	r0, .L33+24
	bl	printf
.L32:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	front
	.word	.LC13
	.word	.LC14
	.word	queue_array
	.word	.LC15
	.word	rear
	.word	.LC16
	.size	display, .-display
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
