// File: /workspace/github_cpp_makefile_star2_O1/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 0x4c97(%rip), %r14      # 0x7fd0
leaq 0x1db4(%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 0x3467
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x4be6(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x2930
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 0x4c1e
movq 0x140(%rbx), %rax
movq 0x150(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x3454
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0x140(%rbx)
jmp 0x345f
movq %r15, %rdi
movq %r12, %rsi
callq 0x4042
incl %r14d
jmp 0x3382
leaq 0x1ca6(%rip), %rsi      # 0x5114
movl $0x27, %edx
movq 0x4b56(%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 0x357e
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x4ac6(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x2930
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 0x4c1e
movq 0x50(%rbx), %rax
movq 0x60(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x356b
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0x50(%rbx)
jmp 0x3576
movq %r15, %rdi
movq %r12, %rsi
callq 0x4042
incl %r14d
jmp 0x34b4
leaq 0x1bb7(%rip), %rsi      # 0x513c
movl $0x27, %edx
movq 0x4a3f(%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 0x36b0
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x499d(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x2930
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 0x4c1e
movq 0xa0(%rbx), %rax
movq 0xb0(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x369d
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0xa0(%rbx)
jmp 0x36a8
movq %r15, %rdi
movq %r12, %rsi
callq 0x4042
incl %r14d
jmp 0x35cb
leaq 0x1aad(%rip), %rsi      # 0x5164
movl $0x27, %edx
movq 0x490d(%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 0x37e5
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq 0x4868(%rip), %rdi      # 0x7fd0
movq %r12, %rsi
callq 0x2930
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 0x4c1e
movq 0xf0(%rbx), %rax
movq 0x100(%rbx), %rcx
addq $-0x20, %rcx
cmpq %rcx, %rax
je 0x37d2
movaps -0x50(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x20, 0xf0(%rbx)
jmp 0x37dd
movq %r15, %rdi
movq %r12, %rsi
callq 0x4042
incl %r14d
jmp 0x3700
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq