// File: /workspace/github_cpp_makefile_star2_O3/Rubenmp[P]Rubik/src/defineRubik.cpp
// Function: Rubik::explainMovements(std::vector<char, std::allocator<char>>&, unsigned int&) const
void Rubik::explainMovements(vector<char>& solution, unsigned int& movement) const{
   while (movement <= (solution.size()-1)){
      cout << "- (" << movement + 1 << ") ";
      if (solution[movement] == 'F')
	      cout << "F --> Move frontal side in clockwise.\n\n";
      else if (solution[movement] == 'f')
	      cout << "f --> Move frontal side, not in clockwise.\n\n";
      else if (solution[movement] == 'W')
	      cout << "B --> Move back side left.\n\n";
      else if (solution[movement] == 'w')
	      cout << "b --> Move back side right.\n\n";
      else if (solution[movement] == 'R')
	      cout << "R --> Move right side backward.\n\n";
      else if (solution[movement] == 'r')
	      cout << "r --> Move right side to you.\n\n";
      else if (solution[movement] == 'L')
	      cout << "L --> Move left side to you.\n\n";
      else if (solution[movement] == 'l')
	      cout << "l --> Move left side backward.\n\n";
      else if (solution[movement] == 'U')
	      cout << "U --> Move top side left.\n\n";
      else if (solution[movement] == 'u')
         cout << "u --> Move top side right.\n\n";
      else if (solution[movement] == 'D')
	      cout << "D --> Move down side right.\n\n";
      else if (solution[movement] == 'd')
	      cout << "d --> Move down side left.\n\n";

	   ++movement;
   }

}

// Assembly:
movl (%rdx), %eax
movq (%rsi), %rcx
notq %rcx
addq 0x8(%rsi), %rcx
cmpq %rax, %rcx
jb 0x3590
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq 0xebf3(%rip), %r15      # 0x11fc8
leaq 0xa1a4(%rip), %r12      # 0xd580
leaq 0xa1a1(%rip), %r13      # 0xd584
leaq 0xa20f(%rip), %rbp      # 0xd5f9
movl $0x3, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x21d0
movl (%rbx), %esi
incl %esi
movq %r15, %rdi
callq 0x2100
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x21d0
movl (%rbx), %eax
movq (%r14), %rcx
movzbl (%rcx,%rax), %eax
cmpl $0x63, %eax
jg 0x3458
cmpl $0x51, %eax
jg 0x348c
cmpl $0x44, %eax
je 0x34de
cmpl $0x46, %eax
je 0x3522
cmpl $0x4c, %eax
jne 0x3569
movl $0x1e, %edx
movq %r15, %rdi
leaq 0xa206(%rip), %rsi      # 0xd659
jmp 0x3564
cmpl $0x71, %eax
jg 0x34b7
cmpl $0x64, %eax
je 0x34ef
cmpl $0x66, %eax
je 0x3533
cmpl $0x6c, %eax
jne 0x3569
movl $0x20, %edx
movq %r15, %rdi
leaq 0xa1f1(%rip), %rsi      # 0xd678
jmp 0x3564
cmpl $0x52, %eax
je 0x3500
cmpl $0x55, %eax
je 0x3544
cmpl $0x57, %eax
jne 0x3569
movl $0x1c, %edx
movq %r15, %rdi
leaq 0xa12a(%rip), %rsi      # 0xd5dc
jmp 0x3564
cmpl $0x72, %eax
je 0x3511
cmpl $0x75, %eax
je 0x3555
cmpl $0x77, %eax
jne 0x3569
movl $0x1d, %edx
movq %r15, %rdi
movq %rbp, %rsi
jmp 0x3564
movl $0x1d, %edx
movq %r15, %rdi
leaq 0xa1e5(%rip), %rsi      # 0xd6d2
jmp 0x3564
movl $0x1c, %edx
movq %r15, %rdi
leaq 0xa1f2(%rip), %rsi      # 0xd6f0
jmp 0x3564
movl $0x21, %edx
movq %r15, %rdi
leaq 0xa108(%rip), %rsi      # 0xd617
jmp 0x3564
movl $0x1f, %edx
movq %r15, %rdi
leaq 0xa119(%rip), %rsi      # 0xd639
jmp 0x3564
movl $0x27, %edx
movq %r15, %rdi
leaq 0xa056(%rip), %rsi      # 0xd587
jmp 0x3564
movl $0x2c, %edx
movq %r15, %rdi
leaq 0xa06d(%rip), %rsi      # 0xd5af
jmp 0x3564
movl $0x1b, %edx
movq %r15, %rdi
leaq 0xa146(%rip), %rsi      # 0xd699
jmp 0x3564
movl $0x1c, %edx
movq %r15, %rdi
leaq 0xa151(%rip), %rsi      # 0xd6b5
callq 0x21d0
movl (%rbx), %eax
incl %eax
movl %eax, (%rbx)
movq (%r14), %rcx
notq %rcx
addq 0x8(%r14), %rcx
cmpq %rax, %rcx
jae 0x33ea
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop