// File: /workspace/github_cpp_makefile_star2_O3/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 0x95aa
leaq 0xf(%rsp), %rdx
movb $0x42, (%rdx)
movq %r15, %rdi
movq %r14, %rsi
callq 0xaff8
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
decq %rax
cmpq %rdi, %rax
je 0xbfbe
movl $0x1, %ebp
xorl %r13d, %r13d
leaq 0x172f(%rip), %r14      # 0xd580
leaq 0x172c(%rip), %r15      # 0xd584
movq %r13, %r12
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 0xbece
cmpl $0x51, %eax
jg 0xbf02
cmpl $0x44, %eax
je 0xbf40
cmpl $0x46, %eax
je 0xbf78
cmpl $0x4c, %eax
jne 0xbfa3
movl $0x1f, %edx
leaq 0x24c0(%rip), %rsi      # 0xe389
jmp 0xbf9b
cmpl $0x71, %eax
jg 0xbf23
cmpl $0x64, %eax
je 0xbf4e
leaq 0x23fe(%rip), %rsi      # 0xe2dd
cmpl $0x66, %eax
je 0xbf9b
cmpl $0x6c, %eax
jne 0xbfa3
movl $0x20, %edx
leaq 0x24ac(%rip), %rsi      # 0xe3a9
jmp 0xbf9b
cmpl $0x52, %eax
je 0xbf5c
cmpl $0x55, %eax
je 0xbf81
cmpl $0x57, %eax
jne 0xbfa3
movl $0x1f, %edx
leaq 0x23e4(%rip), %rsi      # 0xe305
jmp 0xbf9b
cmpl $0x72, %eax
je 0xbf6a
cmpl $0x75, %eax
je 0xbf8f
cmpl $0x77, %eax
jne 0xbfa3
movl $0x20, %edx
leaq 0x23e7(%rip), %rsi      # 0xe325
jmp 0xbf9b
movl $0x29, %edx
leaq 0x24bd(%rip), %rsi      # 0xe409
jmp 0xbf9b
movl $0x28, %edx
leaq 0x24d9(%rip), %rsi      # 0xe433
jmp 0xbf9b
movl $0x21, %edx
leaq 0x23de(%rip), %rsi      # 0xe346
jmp 0xbf9b
movl $0x20, %edx
leaq 0x23f2(%rip), %rsi      # 0xe368
jmp 0xbf9b
leaq 0x2336(%rip), %rsi      # 0xe2b5
jmp 0xbf9b
movl $0x1e, %edx
leaq 0x243d(%rip), %rsi      # 0xe3ca
jmp 0xbf9b
movl $0x1f, %edx
leaq 0x244e(%rip), %rsi      # 0xe3e9
movq %rbx, %rdi
callq 0x21d0
movq 0x10(%rsp), %rdi
movq %rdi, %rax
notq %rax
addq 0x18(%rsp), %rax
incl %ebp
cmpq %r13, %rax
jne 0xbe58
testq %rdi, %rdi
je 0xbfd0
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 0xbfe1
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xbffb
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x2280
nop