	.file	"459862.c"
	.intel_syntax noprefix
	.text
	.globl	front
	.bss
	.align 8
	.type	front, @object
	.size	front, 8
front:
	.zero	8
	.globl	rear
	.align 8
	.type	rear, @object
	.size	rear, 8
rear:
	.zero	8
	.text
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB6:
	.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 front[rip]
	test	rax, rax
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	isEmpty, .-isEmpty
	.section	.rodata
.LC0:
	.string	"Queue is Empty"
.LC1:
	.string	"Queue is:"
.LC2:
	.string	" %d\t"
.LC3:
	.string	"\n"
	.text
	.globl	display
	.type	display, @function
display:
.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 front[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	isEmpty
	test	eax, eax
	je	.L5
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L4
.L5:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L7:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	display, .-display
	.globl	peek
	.type	peek, @function
peek:
.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, 0
	call	isEmpty
	test	eax, eax
	je	.L10
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	jmp	.L9
.L10:
	mov	rax, QWORD PTR front[rip]
	mov	eax, DWORD PTR [rax]
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	peek, .-peek
	.globl	enqueue
	.type	enqueue, @function
enqueue:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	eax, 0
	call	isEmpty
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR front[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR rear[rip], rax
	jmp	.L16
.L14:
	mov	rax, QWORD PTR rear[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR rear[rip], rax
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	enqueue, .-enqueue
	.globl	dequeue
	.type	dequeue, @function
dequeue:
.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	isEmpty
	test	eax, eax
	je	.L18
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	jmp	.L17
.L18:
	mov	rax, QWORD PTR front[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR front[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR front[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -12[rbp]
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	dequeue, .-dequeue
	.section	.rodata
.LC4:
	.string	"\n1.Enqueue\n2.Dequeue"
	.align 8
.LC5:
	.string	"\n3.value at the front of the queue"
.LC6:
	.string	"\n4.Display Queue\n5.Exit"
.LC7:
	.string	"\n\nEnter your choice:"
.LC8:
	.string	"%d"
	.align 8
.LC9:
	.string	"Enter the value to be inserted:"
.LC10:
	.string	"Deleted value is %d\n"
	.align 8
.LC11:
	.string	"Value at the front of queue :  %d\n"
.LC12:
	.string	"Wrong choice....."
	.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, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 5
	ja	.L22
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L24[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L24[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L24:
	.long	.L22-.L24
	.long	.L28-.L24
	.long	.L27-.L24
	.long	.L26-.L24
	.long	.L25-.L24
	.long	.L23-.L24
	.text
.L28:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	enqueue
	jmp	.L29
.L27:
	mov	eax, 0
	call	dequeue
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L26:
	mov	eax, 0
	call	peek
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L25:
	mov	eax, 0
	call	display
	jmp	.L29
.L23:
	mov	edi, 0
	call	exit@PLT
.L22:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	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	"459862.c"
	.text
	.global	front
	.bss
	.align	2
	.type	front, %object
	.size	front, 4
front:
	.space	4
	.global	rear
	.align	2
	.type	rear, %object
	.size	rear, 4
rear:
	.space	4
	.text
	.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, .L4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	front
	.size	isEmpty, .-isEmpty
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Queue is Empty\000"
	.align	2
.LC1:
	.ascii	"Queue is:\000"
	.align	2
.LC2:
	.ascii	" %d\011\000"
	.align	2
.LC3:
	.ascii	"\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, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r0, .L11+4
	bl	puts
	b	.L6
.L7:
	ldr	r0, .L11+8
	bl	puts
	b	.L9
.L10:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L11+16
	bl	puts
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	front
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	display, .-display
	.align	2
	.global	peek
	.syntax unified
	.arm
	.fpu softvfp
	.type	peek, %function
peek:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r0, .L17
	bl	puts
	nop
	b	.L13
.L14:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	ldr	r3, [r3]
.L13:
	mov	r0, r3
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	front
	.size	peek, .-peek
	.align	2
	.global	enqueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue, %function
enqueue:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r2, .L23
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L23+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L22
.L20:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L23+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	front
	.word	rear
	.size	enqueue, .-enqueue
	.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	.L26
	ldr	r0, .L29
	bl	puts
	nop
	b	.L25
.L26:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L29+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L29+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	front
	.size	dequeue, .-dequeue
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\0121.Enqueue\0122.Dequeue\000"
	.align	2
.LC5:
	.ascii	"\0123.value at the front of the queue\000"
	.align	2
.LC6:
	.ascii	"\0124.Display Queue\0125.Exit\000"
	.align	2
.LC7:
	.ascii	"\012\012Enter your choice:\000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"Enter the value to be inserted:\000"
	.align	2
.LC10:
	.ascii	"Deleted value is %d\012\000"
	.align	2
.LC11:
	.ascii	"Value at the front of queue :  %d\012\000"
	.align	2
.LC12:
	.ascii	"Wrong choice.....\000"
	.align	2
.LC13:
	.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, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L40:
	ldr	r0, .L42+4
	bl	printf
	ldr	r0, .L42+8
	bl	printf
	ldr	r0, .L42+12
	bl	printf
	ldr	r0, .L42+16
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L42+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L32
.L34:
	.word	.L38
	.word	.L37
	.word	.L36
	.word	.L35
	.word	.L33
.L38:
	ldr	r0, .L42+24
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L42+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	enqueue
	b	.L39
.L37:
	bl	dequeue
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L42+28
	bl	printf
	b	.L39
.L36:
	bl	peek
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L42+32
	bl	printf
	b	.L39
.L35:
	bl	display
	b	.L39
.L33:
	mov	r0, #0
	bl	exit
.L32:
	ldr	r0, .L42+36
	bl	printf
.L39:
	b	.L40
.L43:
	.align	2
.L42:
	.word	.LC13
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
