	.file	"53476.c"
	.intel_syntax noprefix
	.text
	.globl	deque
	.bss
	.align 32
	.type	deque, @object
	.size	deque, 40
deque:
	.zero	40
	.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
	.align 8
.LC0:
	.string	"\n           DEQUE         \n 1.Input Restricted deque\n 2.Output Restricted deque\n Enter Your Choice : "
.LC1:
	.string	"%d"
.LC2:
	.string	"\nINVALID 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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L2
	mov	eax, 0
	call	input_deque
	jmp	.L6
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2
	jne	.L4
	mov	eax, 0
	call	output_deque
	jmp	.L6
.L4:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.string	"\n INPUT RESTRICTED DEQUE \n 1.Insert at Right\n 2.Delete from Left\n 3.Delete from Right\n 4.Display\n 5.Quit\n Enter Your Choice : "
	.text
	.globl	input_deque
	.type	input_deque, @function
input_deque:
.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
.L16:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L11
	mov	eax, 0
	call	insert_right
	jmp	.L16
.L11:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2
	jne	.L13
	mov	eax, 0
	call	delete_left
	jmp	.L16
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	jne	.L14
	mov	eax, 0
	call	delete_right
	jmp	.L16
.L14:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jne	.L15
	mov	eax, 0
	call	display
	jmp	.L16
.L15:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	input_deque, .-input_deque
	.section	.rodata
	.align 8
.LC4:
	.string	"\n OUTPUT RESTRICTED DEQUE \n 1.Insert at Right\n 2.Insert at Left\n 3.Delete from Left\n 4.Display\n 5.Quit\n Enter Your Choice : "
	.text
	.globl	output_deque
	.type	output_deque, @function
output_deque:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L24:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L19
	mov	eax, 0
	call	insert_right
	jmp	.L24
.L19:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2
	jne	.L21
	mov	eax, 0
	call	insert_left
	jmp	.L24
.L21:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	jne	.L22
	mov	eax, 0
	call	delete_left
	jmp	.L24
.L22:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jne	.L23
	mov	eax, 0
	call	display
	jmp	.L24
.L23:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	output_deque, .-output_deque
	.section	.rodata
	.align 8
.LC5:
	.string	"\n Enter the value to be added : "
.LC6:
	.string	"\n OVERFLOW!"
	.text
	.globl	insert_right
	.type	insert_right, @function
insert_right:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jne	.L27
	mov	eax, DWORD PTR right[rip]
	cmp	eax, 9
	je	.L28
.L27:
	mov	eax, DWORD PTR right[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR left[rip]
	cmp	edx, eax
	jne	.L29
.L28:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L29:
	mov	eax, DWORD PTR left[rip]
	cmp	eax, -1
	jne	.L31
	mov	DWORD PTR right[rip], 0
	mov	eax, DWORD PTR right[rip]
	mov	DWORD PTR left[rip], eax
	jmp	.L32
.L31:
	mov	eax, DWORD PTR right[rip]
	cmp	eax, 9
	jne	.L33
	mov	DWORD PTR right[rip], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR right[rip]
	add	eax, 1
	mov	DWORD PTR right[rip], eax
.L32:
	mov	edx, DWORD PTR right[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, deque[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L26:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insert_right, .-insert_right
	.globl	insert_left
	.type	insert_left, @function
insert_left:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR right[rip]
	cmp	eax, 9
	je	.L37
.L36:
	mov	eax, DWORD PTR right[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR left[rip]
	cmp	edx, eax
	jne	.L38
.L37:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L35
.L38:
	mov	eax, DWORD PTR left[rip]
	cmp	eax, -1
	jne	.L40
	mov	DWORD PTR right[rip], 0
	mov	eax, DWORD PTR right[rip]
	mov	DWORD PTR left[rip], eax
	jmp	.L41
.L40:
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jne	.L42
	mov	DWORD PTR left[rip], 9
	jmp	.L41
.L42:
	mov	eax, DWORD PTR left[rip]
	sub	eax, 1
	mov	DWORD PTR left[rip], eax
.L41:
	mov	edx, DWORD PTR left[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, deque[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L35:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insert_left, .-insert_left
	.section	.rodata
.LC7:
	.string	"\n UNderFLOW"
.LC8:
	.string	"\n The element deleted is : %d"
	.text
	.globl	delete_left
	.type	delete_left, @function
delete_left:
.LFB11:
	.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	.L45
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L45:
	mov	eax, DWORD PTR left[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR left[rip]
	mov	eax, DWORD PTR right[rip]
	cmp	edx, eax
	jne	.L47
	mov	DWORD PTR right[rip], -1
	mov	eax, DWORD PTR right[rip]
	mov	DWORD PTR left[rip], eax
	jmp	.L44
.L47:
	mov	eax, DWORD PTR left[rip]
	cmp	eax, 9
	jne	.L48
	mov	DWORD PTR left[rip], 0
	jmp	.L44
.L48:
	mov	eax, DWORD PTR left[rip]
	add	eax, 1
	mov	DWORD PTR left[rip], eax
.L44:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	delete_left, .-delete_left
	.globl	delete_right
	.type	delete_right, @function
delete_right:
.LFB12:
	.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	.L50
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L49
.L50:
	mov	eax, DWORD PTR right[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR left[rip]
	mov	eax, DWORD PTR right[rip]
	cmp	edx, eax
	jne	.L52
	mov	DWORD PTR right[rip], -1
	mov	eax, DWORD PTR right[rip]
	mov	DWORD PTR left[rip], eax
	jmp	.L49
.L52:
	mov	eax, DWORD PTR right[rip]
	test	eax, eax
	jne	.L53
	mov	DWORD PTR right[rip], 9
	jmp	.L49
.L53:
	mov	eax, DWORD PTR right[rip]
	sub	eax, 1
	mov	DWORD PTR right[rip], eax
.L49:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	delete_right, .-delete_right
	.section	.rodata
.LC9:
	.string	"\n QUEUE is EMPTY"
	.align 8
.LC10:
	.string	"\n The element of the queue are : "
.LC11:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.LFB13:
	.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
	cmp	DWORD PTR -8[rbp], -1
	jne	.L55
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L55:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L61
	jmp	.L58
.L59:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L58:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L59
	jmp	.L60
.L62:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L61:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L62
	mov	DWORD PTR -8[rbp], 0
	jmp	.L63
.L64:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, deque[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L63:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L64
.L60:
	mov	edi, 10
	call	putchar@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"53476.c"
	.text
	.comm	deque,40,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	"\012           DEQUE         \012 1.Input Restricte"
	.ascii	"d deque\012 2.Output Restricted deque\012 Enter You"
	.ascii	"r Choice : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012INVALID CHOICE\000"
	.align	2
.LC3:
	.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, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L10+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L2
	bl	input_deque
	b	.L6
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L4
	bl	output_deque
	b	.L6
.L4:
	ldr	r0, .L10+12
	bl	printf
	nop
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012 INPUT RESTRICTED DEQUE \012 1.Insert at Right\012"
	.ascii	" 2.Delete from Left\012 3.Delete from Right\012 4.D"
	.ascii	"isplay\012 5.Quit\012 Enter Your Choice : \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	input_deque
	.syntax unified
	.arm
	.fpu softvfp
	.type	input_deque, %function
input_deque:
	@ 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, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L18:
	ldr	r0, .L20+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L13
	bl	insert_right
	b	.L18
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L15
	bl	delete_left
	b	.L18
.L15:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L16
	bl	delete_right
	b	.L18
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bne	.L17
	bl	display
	b	.L18
.L17:
	mov	r0, #0
	bl	exit
.L21:
	.align	2
.L20:
	.word	.LC5
	.word	.LC4
	.word	.LC1
	.size	input_deque, .-input_deque
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012 OUTPUT RESTRICTED DEQUE \012 1.Insert at Right"
	.ascii	"\012 2.Insert at Left\012 3.Delete from Left\012 4."
	.ascii	"Display\012 5.Quit\012 Enter Your Choice : \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	output_deque
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_deque, %function
output_deque:
	@ 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, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L28:
	ldr	r0, .L30+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L30+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L23
	bl	insert_right
	b	.L28
.L23:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L25
	bl	insert_left
	b	.L28
.L25:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L26
	bl	delete_left
	b	.L28
.L26:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bne	.L27
	bl	display
	b	.L28
.L27:
	mov	r0, #0
	bl	exit
.L31:
	.align	2
.L30:
	.word	.LC7
	.word	.LC6
	.word	.LC1
	.size	output_deque, .-output_deque
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012 Enter the value to be added : \000"
	.align	2
.LC9:
	.ascii	"\012 OVERFLOW!\000"
	.align	2
.LC10:
	.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, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L41+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L41+8
	bl	__isoc99_scanf
	ldr	r3, .L41+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L41+16
	ldr	r3, [r3]
	cmp	r3, #9
	beq	.L34
.L33:
	ldr	r3, .L41+16
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L41+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L35
.L34:
	ldr	r0, .L41+20
	bl	printf
	b	.L32
.L35:
	ldr	r3, .L41+12
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L37
	ldr	r3, .L41+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L41+16
	ldr	r3, [r3]
	ldr	r2, .L41+12
	str	r3, [r2]
	b	.L38
.L37:
	ldr	r3, .L41+16
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L39
	ldr	r3, .L41+16
	mov	r2, #0
	str	r2, [r3]
	b	.L38
.L39:
	ldr	r3, .L41+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L41+16
	str	r3, [r2]
.L38:
	ldr	r3, .L41+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L41+24
	str	r2, [r1, r3, lsl #2]
.L32:
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC10
	.word	.LC8
	.word	.LC1
	.word	left
	.word	right
	.word	.LC9
	.word	deque
	.size	insert_right, .-insert_right
	.section	.rodata
	.align	2
.LC11:
	.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, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L52+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	r3, .L52+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L52+16
	ldr	r3, [r3]
	cmp	r3, #9
	beq	.L45
.L44:
	ldr	r3, .L52+16
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L52+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L46
.L45:
	ldr	r0, .L52+20
	bl	printf
	b	.L43
.L46:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L48
	ldr	r3, .L52+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L52+16
	ldr	r3, [r3]
	ldr	r2, .L52+12
	str	r3, [r2]
	b	.L49
.L48:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L52+12
	mov	r2, #9
	str	r2, [r3]
	b	.L49
.L50:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L52+12
	str	r3, [r2]
.L49:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L52+24
	str	r2, [r1, r3, lsl #2]
.L43:
	ldr	r3, .L52
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC11
	.word	.LC8
	.word	.LC1
	.word	left
	.word	right
	.word	.LC9
	.word	deque
	.size	insert_left, .-insert_left
	.section	.rodata
	.align	2
.LC12:
	.ascii	"\012 UNderFLOW\000"
	.align	2
.LC13:
	.ascii	"\012 The element deleted is : %d\000"
	.text
	.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, .L59
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L55
	ldr	r0, .L59+4
	bl	printf
	pop	{fp, pc}
.L55:
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r2, .L59+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L59+12
	bl	printf
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, .L59+16
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L57
	ldr	r3, .L59+16
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L59+16
	ldr	r3, [r3]
	ldr	r2, .L59
	str	r3, [r2]
	pop	{fp, pc}
.L57:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L58
	ldr	r3, .L59
	mov	r2, #0
	str	r2, [r3]
	pop	{fp, pc}
.L58:
	ldr	r3, .L59
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L59
	str	r3, [r2]
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	left
	.word	.LC12
	.word	deque
	.word	.LC13
	.word	right
	.size	delete_left, .-delete_left
	.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, .L66
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L62
	ldr	r0, .L66+4
	bl	printf
	pop	{fp, pc}
.L62:
	ldr	r3, .L66+8
	ldr	r3, [r3]
	ldr	r2, .L66+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L66+16
	bl	printf
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, .L66+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L64
	ldr	r3, .L66+8
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+8
	ldr	r3, [r3]
	ldr	r2, .L66
	str	r3, [r2]
	pop	{fp, pc}
.L64:
	ldr	r3, .L66+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L65
	ldr	r3, .L66+8
	mov	r2, #9
	str	r2, [r3]
	pop	{fp, pc}
.L65:
	ldr	r3, .L66+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L66+8
	str	r3, [r2]
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	left
	.word	.LC12
	.word	right
	.word	deque
	.word	.LC13
	.size	delete_right, .-delete_right
	.section	.rodata
	.align	2
.LC14:
	.ascii	"\012 QUEUE is EMPTY\000"
	.align	2
.LC15:
	.ascii	"\012 The element of the queue are : \000"
	.align	2
.LC16:
	.ascii	"%d \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, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L79+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L69
	ldr	r0, .L79+8
	bl	printf
	b	.L68
.L69:
	ldr	r0, .L79+12
	bl	printf
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L75
	b	.L72
.L73:
	ldr	r2, .L79+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L79+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L72:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L73
	b	.L74
.L76:
	ldr	r2, .L79+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L79+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L75:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L76
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L77
.L78:
	ldr	r2, .L79+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L79+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L77:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L78
.L74:
	mov	r0, #10
	bl	putchar
.L68:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	left
	.word	right
	.word	.LC14
	.word	.LC15
	.word	deque
	.word	.LC16
	.size	display, .-display
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
