	.file	"461539.c"
	.intel_syntax noprefix
	.text
	.globl	size
	.bss
	.align 4
	.type	size, @object
	.size	size, 4
size:
	.zero	4
	.section	.rodata
.LC0:
	.string	"enter element:"
.LC1:
	.string	"%d"
.LC2:
	.string	"queue is full"
	.text
	.globl	enq
	.type	enq, @function
enq:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	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
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, DWORD PTR size[rip]
	sub	edx, 1
	cmp	eax, edx
	jne	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, -1
	jne	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rdx]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	DWORD PTR 8[rax+rdx*4], ecx
.L3:
	lea	rax, -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	disp
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	enq, .-enq
	.section	.rodata
.LC3:
	.string	"array is empty"
.LC4:
	.string	"removed:%d"
	.text
	.globl	deq
	.type	deq, @function
deq:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, -1
	jne	.L7
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], -1
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
.L10:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	deq, .-deq
	.globl	disp
	.type	disp, @function
disp:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	disp, .-disp
	.section	.rodata
.LC5:
	.string	"enter choice:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], -1
	mov	DWORD PTR -64[rbp], -1
	lea	rsi, size[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L19:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -68[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, 3
	je	.L15
	cmp	eax, 3
	jg	.L19
	cmp	eax, 1
	je	.L17
	cmp	eax, 2
	je	.L18
	jmp	.L16
.L17:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	enq
	jmp	.L16
.L18:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	deq
	jmp	.L16
.L15:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	disp
	nop
.L16:
	jmp	.L19
	.cfi_endproc
.LFE3:
	.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	"461539.c"
	.text
	.comm	size,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter element:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"queue is full\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	enq
	.syntax unified
	.arm
	.fpu softvfp
	.type	enq, %function
enq:
	@ 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]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L6+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L2
	ldr	r0, .L6+16
	bl	printf
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L4
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	add	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #4]
	ldr	r1, [fp, #-12]
	add	r2, r2, #2
	str	r1, [r3, r2, lsl #2]
.L3:
	sub	r3, fp, #16
	mov	r0, r3
	bl	disp
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	size
	.word	.LC2
	.size	enq, .-enq
	.section	.rodata
	.align	2
.LC4:
	.ascii	"array is empty\000"
	.align	2
.LC5:
	.ascii	"removed:%d\000"
	.text
	.align	2
	.global	deq
	.syntax unified
	.arm
	.fpu softvfp
	.type	deq, %function
deq:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L13
	bl	printf
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-16]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mvn	r2, #0
	str	r2, [r3, #4]
	b	.L12
.L11:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L12:
	ldr	r1, [fp, #-8]
	ldr	r0, .L13+4
	bl	printf
	nop
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC4
	.word	.LC5
	.size	deq, .-deq
	.align	2
	.global	disp
	.syntax unified
	.arm
	.fpu softvfp
	.type	disp, %function
disp:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L18
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L17
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC1
	.size	disp, .-disp
	.section	.rodata
	.align	2
.LC6:
	.ascii	"enter 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 = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-52]
	mvn	r3, #0
	str	r3, [fp, #-56]
	ldr	r1, .L27+4
	ldr	r0, .L27+8
	bl	__isoc99_scanf
.L25:
	ldr	r0, .L27+12
	bl	printf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-60]
	cmp	r3, #3
	beq	.L21
	cmp	r3, #3
	bgt	.L25
	cmp	r3, #1
	beq	.L23
	cmp	r3, #2
	beq	.L24
	b	.L22
.L23:
	sub	r3, fp, #56
	mov	r0, r3
	bl	enq
	b	.L22
.L24:
	sub	r3, fp, #56
	mov	r0, r3
	bl	deq
	b	.L22
.L21:
	sub	r3, fp, #56
	mov	r0, r3
	bl	disp
	nop
.L22:
	b	.L25
.L28:
	.align	2
.L27:
	.word	.LC7
	.word	size
	.word	.LC1
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
