	.file	"187643812.c"
	.intel_syntax noprefix
	.text
	.globl	deque_arr
	.bss
	.align 16
	.type	deque_arr, @object
	.size	deque_arr, 20
deque_arr:
	.zero	20
	.globl	left
	.data
	.align 4
	.type	left, @object
	.size	left, 4
left:
	.long	-1
	.globl	right
	.align 4
	.type	right, @object
	.size	right, 4
right:
	.long	-1
	.section	.rodata
.LC0:
	.string	"1.Input restricted dequeue"
.LC1:
	.string	"2.Output restricted dequeue"
.LC2:
	.string	"Enter your choice : "
.LC3:
	.string	"%d"
.LC4:
	.string	"Wrong choice"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	je	.L2
	cmp	eax, 2
	je	.L3
	jmp	.L8
.L2:
	mov	eax, 0
	call	input_que
	jmp	.L5
.L3:
	mov	eax, 0
	call	output_que
	jmp	.L5
.L8:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L5:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"1.Insert at right"
.LC6:
	.string	"2.Delete from left"
.LC7:
	.string	"3.Delete from right"
.LC8:
	.string	"4.Display"
.LC9:
	.string	"5.Quit"
	.text
	.globl	input_que
	.type	input_que, @function
input_que:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L18:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 5
	ja	.L10
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L12[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L12[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L12:
	.long	.L10-.L12
	.long	.L16-.L12
	.long	.L15-.L12
	.long	.L14-.L12
	.long	.L13-.L12
	.long	.L20-.L12
	.text
.L16:
	mov	eax, 0
	call	insert_right
	jmp	.L17
.L15:
	mov	eax, 0
	call	delete_left
	jmp	.L17
.L14:
	mov	eax, 0
	call	delete_right
	jmp	.L17
.L13:
	mov	eax, 0
	call	display_queue
	jmp	.L17
.L10:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L17
.L20:
	nop
.L17:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 5
	jne	.L18
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	input_que, .-input_que
	.section	.rodata
.LC10:
	.string	"2.Insert at left"
.LC11:
	.string	"3.Delete from left"
	.text
	.globl	output_que
	.type	output_que, @function
output_que:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L30:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[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	.L32-.L24
	.text
.L28:
	mov	eax, 0
	call	insert_right
	jmp	.L29
.L27:
	mov	eax, 0
	call	insert_left
	jmp	.L29
.L26:
	mov	eax, 0
	call	delete_left
	jmp	.L29
.L25:
	mov	eax, 0
	call	display_queue
	jmp	.L29
.L22:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L29
.L32:
	nop
.L29:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 5
	jne	.L30
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	output_que, .-output_que
	.section	.rodata
.LC12:
	.string	"Queue Overflow"
	.align 8
.LC13:
	.string	"Input the element for adding in queue : "
	.text
	.globl	insert_right
	.type	insert_right, @function
insert_right:
.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	eax, DWORD PTR left[rip]
	test	eax, eax
	jne	.L34
	mov	eax, DWORD PTR right[rip]
	cmp	eax, 4
	je	.L35
.L34:
	mov	eax, DWORD PTR right[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR left[rip]
	cmp	edx, eax
	jne	.L36
.L35:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L33
.L36:
	mov	eax, DWORD PTR left[rip]
	cmp	eax, -1
	jne	.L38
	mov	DWORD PTR left[rip], 0
	mov	DWORD PTR right[rip], 0
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR right[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, deque_arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L33
.L38:
	mov	eax, DWORD PTR right[rip]
	cmp	eax, 4
	jne	.L40
	mov	DWORD PTR right[rip], 0
	jmp	.L41
.L40:
	mov	eax, DWORD PTR right[rip]
	add	eax, 1
	mov	DWORD PTR right[rip], eax
.L41:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR right[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, deque_arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L33:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	insert_right, .-insert_right
	.section	.rodata
.LC14:
	.string	"Queue Overflow "
	.text
	.globl	insert_left
	.type	insert_left, @function
insert_left:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jne	.L44
	mov	eax, DWORD PTR right[rip]
	cmp	eax, 4
	je	.L45
.L44:
	mov	eax, DWORD PTR right[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR left[rip]
	cmp	edx, eax
	jne	.L46
.L45:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L43
.L46:
	mov	eax, DWORD PTR left[rip]
	cmp	eax, -1
	jne	.L48
	mov	DWORD PTR left[rip], 0
	mov	DWORD PTR right[rip], 0
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR right[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, deque_arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L43
.L48:
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jne	.L50
	mov	DWORD PTR left[rip], 4
	jmp	.L51
.L50:
	mov	eax, DWORD PTR left[rip]
	sub	eax, 1
	mov	DWORD PTR left[rip], eax
.L51:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR left[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, deque_arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L43:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	insert_left, .-insert_left
	.section	.rodata
.LC15:
	.string	"Queue Underflow"
	.align 8
.LC16:
	.string	"Element deleted from queue is : %d\n"
	.text
	.globl	delete_right
	.type	delete_right, @function
delete_right:
.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, DWORD PTR left[rip]
	cmp	eax, -1
	jne	.L54
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L53
.L54:
	mov	eax, DWORD PTR right[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque_arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR left[rip]
	mov	eax, DWORD PTR right[rip]
	cmp	edx, eax
	jne	.L56
	mov	DWORD PTR left[rip], -1
	mov	DWORD PTR right[rip], -1
	jmp	.L53
.L56:
	mov	eax, DWORD PTR right[rip]
	test	eax, eax
	jne	.L57
	mov	DWORD PTR right[rip], 4
	jmp	.L53
.L57:
	mov	eax, DWORD PTR right[rip]
	sub	eax, 1
	mov	DWORD PTR right[rip], eax
.L53:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	delete_right, .-delete_right
	.globl	delete_left
	.type	delete_left, @function
delete_left:
.LFB6:
	.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 left[rip]
	cmp	eax, -1
	jne	.L59
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L58
.L59:
	mov	eax, DWORD PTR left[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque_arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR left[rip]
	mov	eax, DWORD PTR right[rip]
	cmp	edx, eax
	jne	.L61
	mov	DWORD PTR left[rip], -1
	mov	DWORD PTR right[rip], -1
	jmp	.L58
.L61:
	mov	eax, DWORD PTR left[rip]
	cmp	eax, 4
	jne	.L62
	mov	DWORD PTR left[rip], 0
	jmp	.L58
.L62:
	mov	eax, DWORD PTR left[rip]
	add	eax, 1
	mov	DWORD PTR left[rip], eax
.L58:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	delete_left, .-delete_left
	.section	.rodata
.LC17:
	.string	"Queue is empty"
.LC18:
	.string	"Queue elements :"
.LC19:
	.string	"%d "
	.text
	.globl	display_queue
	.type	display_queue, @function
display_queue:
.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	eax, DWORD PTR left[rip]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR right[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR left[rip]
	cmp	eax, -1
	jne	.L64
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L63
.L64:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L70
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque_arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L67:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L68
	jmp	.L69
.L71:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque_arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L70:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L71
	mov	DWORD PTR -8[rbp], 0
	jmp	.L72
.L73:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque_arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L72:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L73
.L69:
	mov	edi, 10
	call	putchar@PLT
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	display_queue, .-display_queue
	.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	"187643812.c"
	.text
	.comm	deque_arr,20,4
	.global	left
	.data
	.align	2
	.type	left, %object
	.size	left, 4
left:
	.word	-1
	.global	right
	.align	2
	.type	right, %object
	.size	right, 4
right:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1.Input restricted dequeue\000"
	.align	2
.LC1:
	.ascii	"2.Output restricted dequeue\000"
	.align	2
.LC2:
	.ascii	"Enter your choice : \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Wrong choice\000"
	.align	2
.LC5:
	.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, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	puts
	ldr	r0, .L9+8
	bl	puts
	ldr	r0, .L9+12
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L9+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L2
	cmp	r3, #2
	beq	.L3
	b	.L8
.L2:
	bl	input_que
	b	.L5
.L3:
	bl	output_que
	b	.L5
.L8:
	ldr	r0, .L9+20
	bl	puts
.L5:
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"1.Insert at right\000"
	.align	2
.LC7:
	.ascii	"2.Delete from left\000"
	.align	2
.LC8:
	.ascii	"3.Delete from right\000"
	.align	2
.LC9:
	.ascii	"4.Display\000"
	.align	2
.LC10:
	.ascii	"5.Quit\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	input_que
	.syntax unified
	.arm
	.fpu softvfp
	.type	input_que, %function
input_que:
	@ 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, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L20:
	ldr	r0, .L23+4
	bl	puts
	ldr	r0, .L23+8
	bl	puts
	ldr	r0, .L23+12
	bl	puts
	ldr	r0, .L23+16
	bl	puts
	ldr	r0, .L23+20
	bl	puts
	ldr	r0, .L23+24
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L23+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L12
.L14:
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L22
.L18:
	bl	insert_right
	b	.L19
.L17:
	bl	delete_left
	b	.L19
.L16:
	bl	delete_right
	b	.L19
.L15:
	bl	display_queue
	b	.L19
.L12:
	ldr	r0, .L23+32
	bl	puts
	b	.L19
.L22:
	nop
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	bne	.L20
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC11
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	input_que, .-input_que
	.section	.rodata
	.align	2
.LC12:
	.ascii	"2.Insert at left\000"
	.align	2
.LC13:
	.ascii	"3.Delete from left\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	output_que
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_que, %function
output_que:
	@ 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, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L34:
	ldr	r0, .L37+4
	bl	puts
	ldr	r0, .L37+8
	bl	puts
	ldr	r0, .L37+12
	bl	puts
	ldr	r0, .L37+16
	bl	puts
	ldr	r0, .L37+20
	bl	puts
	ldr	r0, .L37+24
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L37+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L26
.L28:
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L36
.L32:
	bl	insert_right
	b	.L33
.L31:
	bl	insert_left
	b	.L33
.L30:
	bl	delete_left
	b	.L33
.L29:
	bl	display_queue
	b	.L33
.L26:
	ldr	r0, .L37+32
	bl	puts
	b	.L33
.L36:
	nop
.L33:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	bne	.L34
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC14
	.word	.LC6
	.word	.LC12
	.word	.LC13
	.word	.LC9
	.word	.LC10
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	output_que, .-output_que
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Queue Overflow\000"
	.align	2
.LC16:
	.ascii	"Input the element for adding in queue : \000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert_right
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_right, %function
insert_right:
	@ 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, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L49+8
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L41
.L40:
	ldr	r3, .L49+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L42
.L41:
	ldr	r0, .L49+12
	bl	puts
	b	.L39
.L42:
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L44
	ldr	r3, .L49+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L49+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L49+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	ldr	r3, .L49+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L49+24
	str	r2, [r1, r3, lsl #2]
	b	.L39
.L44:
	ldr	r3, .L49+8
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L46
	ldr	r3, .L49+8
	mov	r2, #0
	str	r2, [r3]
	b	.L47
.L46:
	ldr	r3, .L49+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L49+8
	str	r3, [r2]
.L47:
	ldr	r0, .L49+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	ldr	r3, .L49+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L49+24
	str	r2, [r1, r3, lsl #2]
.L39:
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC17
	.word	left
	.word	right
	.word	.LC15
	.word	.LC16
	.word	.LC3
	.word	deque_arr
	.size	insert_right, .-insert_right
	.section	.rodata
	.align	2
.LC18:
	.ascii	"Queue Overflow \000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert_left
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_left, %function
insert_left:
	@ 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, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L52
	ldr	r3, .L61+8
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L53
.L52:
	ldr	r3, .L61+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L54
.L53:
	ldr	r0, .L61+12
	bl	puts
	b	.L51
.L54:
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L56
	ldr	r3, .L61+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L61+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L61+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L61+20
	bl	__isoc99_scanf
	ldr	r3, .L61+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L61+24
	str	r2, [r1, r3, lsl #2]
	b	.L51
.L56:
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L58
	ldr	r3, .L61+4
	mov	r2, #4
	str	r2, [r3]
	b	.L59
.L58:
	ldr	r3, .L61+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L61+4
	str	r3, [r2]
.L59:
	ldr	r0, .L61+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L61+20
	bl	__isoc99_scanf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L61+24
	str	r2, [r1, r3, lsl #2]
.L51:
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC19
	.word	left
	.word	right
	.word	.LC18
	.word	.LC16
	.word	.LC3
	.word	deque_arr
	.size	insert_left, .-insert_left
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Queue Underflow\000"
	.align	2
.LC21:
	.ascii	"Element deleted from queue is : %d\012\000"
	.text
	.align	2
	.global	delete_right
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_right, %function
delete_right:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L68
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L64
	ldr	r0, .L68+4
	bl	puts
	pop	{fp, pc}
.L64:
	ldr	r3, .L68+8
	ldr	r3, [r3]
	ldr	r2, .L68+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L68+16
	bl	printf
	ldr	r3, .L68
	ldr	r2, [r3]
	ldr	r3, .L68+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L66
	ldr	r3, .L68
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L68+8
	mvn	r2, #0
	str	r2, [r3]
	pop	{fp, pc}
.L66:
	ldr	r3, .L68+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L67
	ldr	r3, .L68+8
	mov	r2, #4
	str	r2, [r3]
	pop	{fp, pc}
.L67:
	ldr	r3, .L68+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L68+8
	str	r3, [r2]
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	left
	.word	.LC20
	.word	right
	.word	deque_arr
	.word	.LC21
	.size	delete_right, .-delete_right
	.align	2
	.global	delete_left
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_left, %function
delete_left:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L75
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L71
	ldr	r0, .L75+4
	bl	puts
	pop	{fp, pc}
.L71:
	ldr	r3, .L75
	ldr	r3, [r3]
	ldr	r2, .L75+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L75+12
	bl	printf
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, .L75+16
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L73
	ldr	r3, .L75
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L75+16
	mvn	r2, #0
	str	r2, [r3]
	pop	{fp, pc}
.L73:
	ldr	r3, .L75
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L74
	ldr	r3, .L75
	mov	r2, #0
	str	r2, [r3]
	pop	{fp, pc}
.L74:
	ldr	r3, .L75
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L75
	str	r3, [r2]
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	left
	.word	.LC20
	.word	deque_arr
	.word	.LC21
	.word	right
	.size	delete_left, .-delete_left
	.section	.rodata
	.align	2
.LC22:
	.ascii	"Queue is empty\000"
	.align	2
.LC23:
	.ascii	"Queue elements :\000"
	.align	2
.LC24:
	.ascii	"%d \000"
	.text
	.align	2
	.global	display_queue
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_queue, %function
display_queue:
	@ 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, .L88
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L88+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L88
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L78
	ldr	r0, .L88+8
	bl	puts
	b	.L77
.L78:
	ldr	r0, .L88+12
	bl	puts
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L84
	b	.L81
.L82:
	ldr	r2, .L88+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L88+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L81:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L82
	b	.L83
.L85:
	ldr	r2, .L88+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L88+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L84:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L85
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L86
.L87:
	ldr	r2, .L88+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L88+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L86:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L87
.L83:
	mov	r0, #10
	bl	putchar
.L77:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L89:
	.align	2
.L88:
	.word	left
	.word	right
	.word	.LC22
	.word	.LC23
	.word	deque_arr
	.word	.LC24
	.size	display_queue, .-display_queue
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
