// File: /workspace/github_cpp_makefile_star2_O1/Rubenmp[P]Rubik/src/defineRubik.cpp
// Function: Rubik::exportSupervisedSolution(std::ostream&) const
void Rubik::exportSupervisedSolution(std::ostream& os) const{
   unsigned int movement = 0;
   vector<char> solution;
   Rubik aux = *this;
   aux.solve(solution);

   while (movement != (solution.size()-1)){
      os << "- (" << movement + 1 << ") ";
      if (solution[movement] == 'F')
         os << "F --> Move frontal face in clockwise.\n\n";
      else if (solution[movement] == 'f')
         os << "f --> Move frontal face in clockwise.\n\n";
      else if (solution[movement] == 'W')
         os << "B --> Move back face to left.\n\n";
      else if (solution[movement] == 'w')
         os << "b --> Move back face to right.\n\n";
      else if (solution[movement] == 'R')
         os << "R --> Move right face backward.\n\n";
      else if (solution[movement] == 'r')
         os << "r --> Move right face forward.\n\n";
      else if (solution[movement] == 'L')
         os << "L --> Move left face forward.\n\n";
      else if (solution[movement] == 'l')
         os << "l --> Move left face backward.\n\n";
      else if (solution[movement] == 'U')
         os << "U --> Move top face to left.\n\n";
      else if (solution[movement] == 'u')
         os << "u --> Move top face to right.\n\n";
      else if (solution[movement] == 'D')
         os << "D --> Move face of the bottom to right.\n\n";
      else if (solution[movement] == 'd')
         os << "d --> Move face of the bottom to left.\n\n";

      ++movement;
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %rsi
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r14
movaps %xmm0, (%r14)
movq $0x0, 0x10(%r14)
leaq 0x32(%rsp), %r15
movq %r15, %rdi
callq 0x94d4
leaq 0xf(%rsp), %rdx
movb $0x42, (%rdx)
movq %r15, %rdi
movq %r14, %rsi
callq 0xaf5e
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
decq %rax
cmpq %rdi, %rax
je 0xbfb4
movl $0x1, %ebp
xorl %r12d, %r12d
leaq 0x1715(%rip), %r14      # 0xd55c
leaq 0x1712(%rip), %r15      # 0xd560
movl $0x3, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21d0
movl %ebp, %r13d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2100
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21d0
movq 0x10(%rsp), %rax
movzbl (%rax,%r12), %eax
movl $0x27, %edx
cmpl $0x63, %eax
jg 0xbec1
cmpl $0x51, %eax
jg 0xbef5
cmpl $0x44, %eax
je 0xbf33
cmpl $0x46, %eax
je 0xbf6b
cmpl $0x4c, %eax
jne 0xbf96
movl $0x1f, %edx
leaq 0x24a9(%rip), %rsi      # 0xe365
jmp 0xbf8e
cmpl $0x71, %eax
jg 0xbf16
cmpl $0x64, %eax
je 0xbf41
leaq 0x23e7(%rip), %rsi      # 0xe2b9
cmpl $0x66, %eax
je 0xbf8e
cmpl $0x6c, %eax
jne 0xbf96
movl $0x20, %edx
leaq 0x2495(%rip), %rsi      # 0xe385
jmp 0xbf8e
cmpl $0x52, %eax
je 0xbf4f
cmpl $0x55, %eax
je 0xbf74
cmpl $0x57, %eax
jne 0xbf96
movl $0x1f, %edx
leaq 0x23cd(%rip), %rsi      # 0xe2e1
jmp 0xbf8e
cmpl $0x72, %eax
je 0xbf5d
cmpl $0x75, %eax
je 0xbf82
cmpl $0x77, %eax
jne 0xbf96
movl $0x20, %edx
leaq 0x23d0(%rip), %rsi      # 0xe301
jmp 0xbf8e
movl $0x29, %edx
leaq 0x24a6(%rip), %rsi      # 0xe3e5
jmp 0xbf8e
movl $0x28, %edx
leaq 0x24c2(%rip), %rsi      # 0xe40f
jmp 0xbf8e
movl $0x21, %edx
leaq 0x23c7(%rip), %rsi      # 0xe322
jmp 0xbf8e
movl $0x20, %edx
leaq 0x23db(%rip), %rsi      # 0xe344
jmp 0xbf8e
leaq 0x231f(%rip), %rsi      # 0xe291
jmp 0xbf8e
movl $0x1e, %edx
leaq 0x2426(%rip), %rsi      # 0xe3a6
jmp 0xbf8e
movl $0x1f, %edx
leaq 0x2437(%rip), %rsi      # 0xe3c5
movq %rbx, %rdi
callq 0x21d0
movq 0x10(%rsp), %rdi
movq %rdi, %rax
notq %rax
addq 0x18(%rsp), %rax
incl %ebp
movq %r13, %r12
cmpq %r13, %rax
jne 0xbe4e
testq %rdi, %rdi
je 0xbfc6
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21a0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xbfd7
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xbff1
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x2280
nop