// File: /workspace/github_cpp_makefile_star2_O3/marcellapantarotto[P]pseudoSO/scheduler.cpp
// Function: Scheduler::displayProcessQueue()
void Scheduler::displayProcessQueue()
{
	Process x;

	cout << "\n All processes in real time:  " << endl;
	for(int i=0; i<(int)realTIME.size(); i++) {
		x = realTIME.front();
		cout << x << endl;
		realTIME.pop();		// remove o próximo elemento
		realTIME.push(x);	// insere um processo no final da fila
	}

	cout << "\n All user processes with priority 1:  "<< endl;
	for(int i=0; i<(int)userP1.size(); i++) {
		x = userP1.front();
		cout << x << endl;
		userP1.pop();
		userP1.push(x);
	}

	cout << "\n All user processes with priority 2:  "<< endl;
	for(int i=0; i<(int)userP2.size(); i++) {
		x = userP2.front();
		cout << x << endl;
		userP2.pop();
		userP2.push(x);
	}

	cout << "\n All user processes with priority 3:  "<< endl;
	for(int i=0; i<(int)userP3.size(); i++) {
		x = userP3.front();
		cout << x << endl;
		userP3.pop();
		userP3.push(x);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x4c89(%rip), %r14      # 0x7fd0
leaq 0x1da6(%rip), %rsi      # 0x50f4
movl $0x1f, %edx
movq %r14, %rdi
callq 0x2180
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x110(%rbx), %r15
xorl %r14d, %r14d
leaq -0x50(%rbp), %r12
movq 0x158(%rbx), %rax
movl 0x138(%rbx), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x4, %edx
movq 0x140(%rbx), %rcx
subq 0x148(%rbx), %rcx
shrq $0x5, %rcx
movq 0x120(%rbx), %rax
movq 0x130(%rbx), %rsi
subq %rax, %rsi
shrq $0x5, %rsi
addl %ecx, %esi
addl %edx, %esi
cmpl %esi, %r14d
jge 0x3475
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x4bd8(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x293c
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %r15, %rdi
callq 0x4c1c
movq 0x140(%rbx), %rax
movq 0x150(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x3462
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0x140(%rbx)
jmp 0x346d
movq %r15, %rdi
movq %r12, %rsi
callq 0x4050
incl %r14d
jmp 0x3390
leaq 0x1c98(%rip), %rsi      # 0x5114
movl $0x27, %edx
movq 0x4b48(%rip), %r14      # 0x7fd0
movq %r14, %rdi
callq 0x2180
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x20(%rbx), %r15
xorl %r14d, %r14d
leaq -0x50(%rbp), %r12
movq 0x68(%rbx), %rax
movl 0x48(%rbx), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x4, %edx
movq 0x50(%rbx), %rcx
subq 0x58(%rbx), %rcx
shrq $0x5, %rcx
movq 0x30(%rbx), %rax
movq 0x40(%rbx), %rsi
subq %rax, %rsi
shrq $0x5, %rsi
addl %ecx, %esi
addl %edx, %esi
cmpl %esi, %r14d
jge 0x358c
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x4ab8(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x293c
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %r15, %rdi
callq 0x4c1c
movq 0x50(%rbx), %rax
movq 0x60(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x3579
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0x50(%rbx)
jmp 0x3584
movq %r15, %rdi
movq %r12, %rsi
callq 0x4050
incl %r14d
jmp 0x34c2
leaq 0x1ba9(%rip), %rsi      # 0x513c
movl $0x27, %edx
movq 0x4a31(%rip), %r14      # 0x7fd0
movq %r14, %rdi
callq 0x2180
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x70(%rbx), %r15
xorl %r14d, %r14d
leaq -0x50(%rbp), %r12
movq 0xb8(%rbx), %rax
movl 0x98(%rbx), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x4, %edx
movq 0xa0(%rbx), %rcx
subq 0xa8(%rbx), %rcx
shrq $0x5, %rcx
movq 0x80(%rbx), %rax
movq 0x90(%rbx), %rsi
subq %rax, %rsi
shrq $0x5, %rsi
addl %ecx, %esi
addl %edx, %esi
cmpl %esi, %r14d
jge 0x36be
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x498f(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x293c
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %r15, %rdi
callq 0x4c1c
movq 0xa0(%rbx), %rax
movq 0xb0(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x36ab
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0xa0(%rbx)
jmp 0x36b6
movq %r15, %rdi
movq %r12, %rsi
callq 0x4050
incl %r14d
jmp 0x35d9
leaq 0x1a9f(%rip), %rsi      # 0x5164
movl $0x27, %edx
movq 0x48ff(%rip), %r14      # 0x7fd0
movq %r14, %rdi
callq 0x2180
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0xc0(%rbx), %r15
xorl %r14d, %r14d
leaq -0x50(%rbp), %r12
movq 0x108(%rbx), %rax
movl 0xe8(%rbx), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x4, %edx
movq 0xf0(%rbx), %rcx
subq 0xf8(%rbx), %rcx
shrq $0x5, %rcx
movq 0xd0(%rbx), %rax
movq 0xe0(%rbx), %rsi
subq %rax, %rsi
shrq $0x5, %rsi
addl %ecx, %esi
addl %edx, %esi
cmpl %esi, %r14d
jge 0x37f3
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x485a(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x293c
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %r15, %rdi
callq 0x4c1c
movq 0xf0(%rbx), %rax
movq 0x100(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x37e0
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0xf0(%rbx)
jmp 0x37eb
movq %r15, %rdi
movq %r12, %rsi
callq 0x4050
incl %r14d
jmp 0x370e
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq