	.file	"812876.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Received Dequeued item: %d\n"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], -1
	mov	DWORD PTR -60[rbp], -1
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 23
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 9
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 11
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, -10
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 25
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 22
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 19
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 30
	mov	rdi, rax
	call	enqueue
	lea	rcx, -60[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	enqueue
	mov	DWORD PTR -56[rbp], 0
	jmp	.L2
.L4:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	empty
	test	eax, eax
	jne	.L3
	lea	rdx, -60[rbp]
	lea	rcx, -64[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	dequeue
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	add	DWORD PTR -56[rbp], 1
.L2:
	cmp	DWORD PTR -56[rbp], 10
	jle	.L4
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"Queue is full"
.LC2:
	.string	"Enqueuing: %d\n"
	.text
	.globl	enqueue
	.type	enqueue, @function
enqueue:
.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 9
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	enqueue, .-enqueue
	.section	.rodata
.LC3:
	.string	"Queue is empty"
	.text
	.globl	empty
	.type	empty, @function
empty:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	empty, .-empty
	.section	.rodata
.LC4:
	.string	"Dequeueing: %d\n"
	.text
	.globl	dequeue
	.type	dequeue, @function
dequeue:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L14
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
.L15:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dequeue, .-dequeue
	.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	"812876.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Received Dequeued item: %d\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-64]
	mvn	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #23
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #9
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #11
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mvn	r1, #9
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #25
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #16
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #17
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #22
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #19
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #30
	bl	enqueue
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r0, fp, #48
	mov	r1, #32
	bl	enqueue
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L4:
	sub	r3, fp, #64
	mov	r0, r3
	bl	empty
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	sub	r2, fp, #60
	sub	r1, fp, #64
	sub	r3, fp, #48
	mov	r0, r3
	bl	dequeue
	str	r0, [fp, #-52]
	ldr	r1, [fp, #-52]
	ldr	r0, .L7+4
	bl	printf
.L3:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #10
	ble	.L4
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Queue is full\000"
	.align	2
.LC3:
	.ascii	"Enqueuing: %d\012\000"
	.text
	.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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L10
	ldr	r0, .L12
	bl	puts
	b	.L9
.L10:
	ldr	r1, [fp, #-12]
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L9
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC3
	.size	enqueue, .-enqueue
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Queue is empty\000"
	.text
	.align	2
	.global	empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	empty, %function
empty:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L17
	bl	puts
	mov	r3, #1
	b	.L16
.L15:
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC4
	.size	empty, .-empty
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Dequeueing: %d\012\000"
	.text
	.align	2
	.global	dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue, %function
dequeue:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L23
	bl	printf
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L20
	ldr	r3, [fp, #-24]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	b	.L21
.L20:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	str	r2, [r3]
.L21:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.size	dequeue, .-dequeue
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
