// File: /workspace/github_cpp_makefile_star2_O1/Rubenmp[P]Rubik/src/defineRubik.cpp
// Function: Rubik::searchCorner(char const&, char const&, char const&) const
int Rubik::searchCorner(const char& a, const char& iz, const char& de) const{
   int position;
   if ( ( (corner[0].up == a) && (corner[0].left == iz) && (corner[0].right == de) ) ||
        ( (corner[0].up == a) && (corner[0].left == de) && (corner[0].right == iz) ) ||
        ( (corner[0].up == iz) && (corner[0].left == a) && (corner[0].right == de) ) ||
        ( (corner[0].up == de) && (corner[0].left == iz) && (corner[0].right == a) ) ||
        ( (corner[0].up == de) && (corner[0].left == a) && (corner[0].right == iz) ) ||
        ( (corner[0].up == iz) && (corner[0].left == de) && (corner[0].right == a) ) )
      position = 0;
   else if ( ( (corner[1].up == a) && (corner[1].left == iz) && (corner[1].right == de) ) ||
             ( (corner[1].up == a) && (corner[1].left == de) && (corner[1].right == iz) ) ||
             ( (corner[1].up == iz) && (corner[1].left == a) && (corner[1].right == de) ) ||
             ( (corner[1].up == de) && (corner[1].left == iz) && (corner[1].right == a) ) ||
             ( (corner[1].up == de) && (corner[1].left == a) && (corner[1].right == iz) ) ||
             ( (corner[1].up == iz) && (corner[1].left == de) && (corner[1].right == a) ) )
      position = 1;
   else if ( ( (corner[2].up == a) && (corner[2].left == iz) && (corner[2].right == de) ) ||
             ( (corner[2].up == a) && (corner[2].left == de) && (corner[2].right == iz) ) ||
             ( (corner[2].up == iz) && (corner[2].left == a) && (corner[2].right == de) ) ||
             ( (corner[2].up == de) && (corner[2].left == iz) && (corner[2].right == a) ) ||
             ( (corner[2].up == de) && (corner[2].left == a) && (corner[2].right == iz) ) ||
             ( (corner[2].up == iz) && (corner[2].left == de) && (corner[2].right == a) ) )
      position = 2;
   else if ( ( (corner[3].up == a) && (corner[3].left == iz) && (corner[3].right == de) ) ||
             ( (corner[3].up == a) && (corner[3].left == de) && (corner[3].right == iz) ) ||
             ( (corner[3].up == iz) && (corner[3].left == a) && (corner[3].right == de) ) ||
             ( (corner[3].up == de) && (corner[3].left == iz) && (corner[3].right == a) ) ||
             ( (corner[3].up == de) && (corner[3].left == a) && (corner[3].right == iz) ) ||
             ( (corner[3].up == iz) && (corner[3].left == de) && (corner[3].right == a) ) )
      position = 3;
   else if ( ( (corner[4].up == a) && (corner[4].left == iz) && (corner[4].right == de) ) ||
             ( (corner[4].up == a) && (corner[4].left == de) && (corner[4].right == iz) ) ||
             ( (corner[4].up == iz) && (corner[4].left == a) && (corner[4].right == de) ) ||
             ( (corner[4].up == de) && (corner[4].left == iz) && (corner[4].right == a) ) ||
             ( (corner[4].up == de) && (corner[4].left == a) && (corner[4].right == iz) ) ||
             ( (corner[4].up == iz) && (corner[4].left == de) && (corner[4].right == a) ) )
      position = 4;
   else if ( ( (corner[5].up == a) && (corner[5].left == iz) && (corner[5].right == de) ) ||
             ( (corner[5].up == a) && (corner[5].left == de) && (corner[5].right == iz) ) ||
             ( (corner[5].up == iz) && (corner[5].left == a) && (corner[5].right == de) ) ||
             ( (corner[5].up == de) && (corner[5].left == iz) && (corner[5].right == a) ) ||
             ( (corner[5].up == de) && (corner[5].left == a) && (corner[5].right == iz) ) ||
             ( (corner[5].up == iz) && (corner[5].left == de) && (corner[5].right == a) ) )
      position = 5;
   else if ( ( (corner[6].up == a) && (corner[6].left == iz) && (corner[6].right == de) ) ||
             ( (corner[6].up == a) && (corner[6].left == de) && (corner[6].right == iz) ) ||
             ( (corner[6].up == iz) && (corner[6].left == a) && (corner[6].right == de) ) ||
             ( (corner[6].up == de) && (corner[6].left == iz) && (corner[6].right == a) ) ||
             ( (corner[6].up == de) && (corner[6].left == a) && (corner[6].right == iz) ) ||
             ( (corner[6].up == iz) && (corner[6].left == de) && (corner[6].right == a) ) )
      position = 6;
   else if ( ( (corner[7].up == a) && (corner[7].left == iz) && (corner[7].right == de) ) ||
             ( (corner[7].up == a) && (corner[7].left == de) && (corner[7].right == iz) ) ||
             ( (corner[7].up == iz) && (corner[7].left == a) && (corner[7].right == de) ) ||
             ( (corner[7].up == de) && (corner[7].left == iz) && (corner[7].right == a) ) ||
             ( (corner[7].up == de) && (corner[7].left == a) && (corner[7].right == iz) ) ||
             ( (corner[7].up == iz) && (corner[7].left == de) && (corner[7].right == a) ) )
      position = 7;
   else
      cout << "Problem with corner (" << a << "," << iz << "," << de << ").\n";

   return position;
}

// Assembly:
movb 0x1e(%rdi), %r11b
movb (%rsi), %r8b
cmpb %r8b, %r11b
jne 0x37a3
movb 0x1f(%rdi), %al
cmpb (%rdx), %al
jne 0x3790
movb 0x20(%rdi), %al
cmpb (%rcx), %al
je 0x37b8
cmpb %r8b, %r11b
jne 0x37a3
movb 0x1f(%rdi), %al
cmpb (%rcx), %al
jne 0x37a3
movb 0x20(%rdi), %al
cmpb (%rdx), %al
je 0x37b8
movb (%rdx), %r9b
cmpb %r9b, %r11b
jne 0x37bb
cmpb %r8b, 0x1f(%rdi)
jne 0x37bb
movb 0x20(%rdi), %al
cmpb (%rcx), %al
jne 0x37bb
xorl %eax, %eax
retq
movb (%rcx), %r10b
xorl %eax, %eax
cmpb %r10b, %r11b
jne 0x37d5
cmpb %r9b, 0x1f(%rdi)
jne 0x37d5
cmpb %r8b, 0x20(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x37ea
cmpb %r8b, 0x1f(%rdi)
jne 0x37ea
cmpb %r9b, 0x20(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x37ff
cmpb %r10b, 0x1f(%rdi)
jne 0x37ff
cmpb %r8b, 0x20(%rdi)
je 0x3b94
movb 0x21(%rdi), %r11b
movl $0x1, %eax
cmpb %r8b, %r11b
jne 0x381d
cmpb %r9b, 0x22(%rdi)
jne 0x381d
cmpb %r10b, 0x23(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x3832
cmpb %r10b, 0x22(%rdi)
jne 0x3832
cmpb %r9b, 0x23(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3847
cmpb %r8b, 0x22(%rdi)
jne 0x3847
cmpb %r10b, 0x23(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x385c
cmpb %r9b, 0x22(%rdi)
jne 0x385c
cmpb %r8b, 0x23(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3871
cmpb %r8b, 0x22(%rdi)
jne 0x3871
cmpb %r9b, 0x23(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3886
cmpb %r10b, 0x22(%rdi)
jne 0x3886
cmpb %r8b, 0x23(%rdi)
je 0x3b94
movb 0x24(%rdi), %r11b
movl $0x2, %eax
cmpb %r8b, %r11b
jne 0x38a4
cmpb %r9b, 0x25(%rdi)
jne 0x38a4
cmpb %r10b, 0x26(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x38b9
cmpb %r10b, 0x25(%rdi)
jne 0x38b9
cmpb %r9b, 0x26(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x38ce
cmpb %r8b, 0x25(%rdi)
jne 0x38ce
cmpb %r10b, 0x26(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x38e3
cmpb %r9b, 0x25(%rdi)
jne 0x38e3
cmpb %r8b, 0x26(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x38f8
cmpb %r8b, 0x25(%rdi)
jne 0x38f8
cmpb %r9b, 0x26(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x390d
cmpb %r10b, 0x25(%rdi)
jne 0x390d
cmpb %r8b, 0x26(%rdi)
je 0x3b94
movb 0x27(%rdi), %r11b
movl $0x3, %eax
cmpb %r8b, %r11b
jne 0x392b
cmpb %r9b, 0x28(%rdi)
jne 0x392b
cmpb %r10b, 0x29(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x3940
cmpb %r10b, 0x28(%rdi)
jne 0x3940
cmpb %r9b, 0x29(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3955
cmpb %r8b, 0x28(%rdi)
jne 0x3955
cmpb %r10b, 0x29(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x396a
cmpb %r9b, 0x28(%rdi)
jne 0x396a
cmpb %r8b, 0x29(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x397f
cmpb %r8b, 0x28(%rdi)
jne 0x397f
cmpb %r9b, 0x29(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3994
cmpb %r10b, 0x28(%rdi)
jne 0x3994
cmpb %r8b, 0x29(%rdi)
je 0x3b94
movb 0x2a(%rdi), %r11b
movl $0x4, %eax
cmpb %r8b, %r11b
jne 0x39b2
cmpb %r9b, 0x2b(%rdi)
jne 0x39b2
cmpb %r10b, 0x2c(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x39c7
cmpb %r10b, 0x2b(%rdi)
jne 0x39c7
cmpb %r9b, 0x2c(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x39dc
cmpb %r8b, 0x2b(%rdi)
jne 0x39dc
cmpb %r10b, 0x2c(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x39f1
cmpb %r9b, 0x2b(%rdi)
jne 0x39f1
cmpb %r8b, 0x2c(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3a06
cmpb %r8b, 0x2b(%rdi)
jne 0x3a06
cmpb %r9b, 0x2c(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3a1b
cmpb %r10b, 0x2b(%rdi)
jne 0x3a1b
cmpb %r8b, 0x2c(%rdi)
je 0x3b94
movb 0x2d(%rdi), %r11b
movl $0x5, %eax
cmpb %r8b, %r11b
jne 0x3a39
cmpb %r9b, 0x2e(%rdi)
jne 0x3a39
cmpb %r10b, 0x2f(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x3a4e
cmpb %r10b, 0x2e(%rdi)
jne 0x3a4e
cmpb %r9b, 0x2f(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3a63
cmpb %r8b, 0x2e(%rdi)
jne 0x3a63
cmpb %r10b, 0x2f(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3a78
cmpb %r9b, 0x2e(%rdi)
jne 0x3a78
cmpb %r8b, 0x2f(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3a8d
cmpb %r8b, 0x2e(%rdi)
jne 0x3a8d
cmpb %r9b, 0x2f(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3aa2
cmpb %r10b, 0x2e(%rdi)
jne 0x3aa2
cmpb %r8b, 0x2f(%rdi)
je 0x3b94
movb 0x30(%rdi), %r11b
movl $0x6, %eax
cmpb %r8b, %r11b
jne 0x3ac0
cmpb %r9b, 0x31(%rdi)
jne 0x3ac0
cmpb %r10b, 0x32(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x3ad5
cmpb %r10b, 0x31(%rdi)
jne 0x3ad5
cmpb %r9b, 0x32(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3aea
cmpb %r8b, 0x31(%rdi)
jne 0x3aea
cmpb %r10b, 0x32(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3aff
cmpb %r9b, 0x31(%rdi)
jne 0x3aff
cmpb %r8b, 0x32(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3b14
cmpb %r8b, 0x31(%rdi)
jne 0x3b14
cmpb %r9b, 0x32(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3b25
cmpb %r10b, 0x31(%rdi)
jne 0x3b25
cmpb %r8b, 0x32(%rdi)
je 0x3b94
movb 0x33(%rdi), %r11b
movl $0x7, %eax
cmpb %r8b, %r11b
jne 0x3b3f
cmpb %r9b, 0x34(%rdi)
jne 0x3b3f
cmpb %r10b, 0x35(%rdi)
je 0x3b94
cmpb %r8b, %r11b
jne 0x3b50
cmpb %r10b, 0x34(%rdi)
jne 0x3b50
cmpb %r9b, 0x35(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3b61
cmpb %r8b, 0x34(%rdi)
jne 0x3b61
cmpb %r10b, 0x35(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3b72
cmpb %r9b, 0x34(%rdi)
jne 0x3b72
cmpb %r8b, 0x35(%rdi)
je 0x3b94
cmpb %r10b, %r11b
jne 0x3b83
cmpb %r8b, 0x34(%rdi)
jne 0x3b83
cmpb %r9b, 0x35(%rdi)
je 0x3b94
cmpb %r9b, %r11b
jne 0x3b95
cmpb %r10b, 0x34(%rdi)
jne 0x3b95
cmpb %r8b, 0x35(%rdi)
jne 0x3b95
retq
pushq %rax
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x22c0