// File: /workspace/github_cpp_makefile_star2_O1/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 0x35a8
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq 0xebdb(%rip), %r15      # 0x11fc8
leaq 0xa168(%rip), %r12      # 0xd55c
leaq 0xa165(%rip), %r13      # 0xd560
leaq 0xa1d3(%rip), %rbp      # 0xd5d5
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 0x3470
cmpl $0x51, %eax
jg 0x34a4
cmpl $0x44, %eax
je 0x34f6
cmpl $0x46, %eax
je 0x353a
cmpl $0x4c, %eax
jne 0x3581
movl $0x1e, %edx
movq %r15, %rdi
leaq 0xa1ca(%rip), %rsi      # 0xd635
jmp 0x357c
cmpl $0x71, %eax
jg 0x34cf
cmpl $0x64, %eax
je 0x3507
cmpl $0x66, %eax
je 0x354b
cmpl $0x6c, %eax
jne 0x3581
movl $0x20, %edx
movq %r15, %rdi
leaq 0xa1b5(%rip), %rsi      # 0xd654
jmp 0x357c
cmpl $0x52, %eax
je 0x3518
cmpl $0x55, %eax
je 0x355c
cmpl $0x57, %eax
jne 0x3581
movl $0x1c, %edx
movq %r15, %rdi
leaq 0xa0ee(%rip), %rsi      # 0xd5b8
jmp 0x357c
cmpl $0x72, %eax
je 0x3529
cmpl $0x75, %eax
je 0x356d
cmpl $0x77, %eax
jne 0x3581
movl $0x1d, %edx
movq %r15, %rdi
movq %rbp, %rsi
jmp 0x357c
movl $0x1d, %edx
movq %r15, %rdi
leaq 0xa1a9(%rip), %rsi      # 0xd6ae
jmp 0x357c
movl $0x1c, %edx
movq %r15, %rdi
leaq 0xa1b6(%rip), %rsi      # 0xd6cc
jmp 0x357c
movl $0x21, %edx
movq %r15, %rdi
leaq 0xa0cc(%rip), %rsi      # 0xd5f3
jmp 0x357c
movl $0x1f, %edx
movq %r15, %rdi
leaq 0xa0dd(%rip), %rsi      # 0xd615
jmp 0x357c
movl $0x27, %edx
movq %r15, %rdi
leaq 0xa01a(%rip), %rsi      # 0xd563
jmp 0x357c
movl $0x2c, %edx
movq %r15, %rdi
leaq 0xa031(%rip), %rsi      # 0xd58b
jmp 0x357c
movl $0x1b, %edx
movq %r15, %rdi
leaq 0xa10a(%rip), %rsi      # 0xd675
jmp 0x357c
movl $0x1c, %edx
movq %r15, %rdi
leaq 0xa115(%rip), %rsi      # 0xd691
callq 0x21d0
movl (%rbx), %eax
incl %eax
movl %eax, (%rbx)
movq (%r14), %rcx
notq %rcx
addq 0x8(%r14), %rcx
cmpq %rax, %rcx
jae 0x3402
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop