#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
unsigned char clearBit(unsigned char, int);
int getBit(unsigned char, int);
unsigned char setBit(unsigned char, int);
unsigned char encode(unsigned char pt, unsigned char key, int count) {
  int bit_i;
  unsigned char result = pt;
  if (count % 3 == 0) {
    for (bit_i = 0; bit_i <= 7; bit_i += 2) {
      if ((getBit(pt, bit_i) ^ getBit(key, bit_i)) == 0)
        result = clearBit(result, bit_i);
      else
        result = setBit(result, bit_i);
    }
  } else if (count % 3 == 1) {
    for (bit_i = 1; bit_i <= 7; bit_i += 2) {
      if ((getBit(pt, bit_i) ^ getBit(key, bit_i)) == 0)
        result = clearBit(result, bit_i);
      else
        result = setBit(result, bit_i);
    }
  } else {
    for (bit_i = 0; bit_i <= 7; bit_i++) {
      if ((getBit(pt, bit_i) ^ getBit(key, bit_i)) == 0)
        result = clearBit(result, bit_i);
      else
        result = setBit(result, bit_i);
    }
  }
  return result;
}


x86 assembly (clang, -O0):
<encode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %sil,%al
mov    %dil,%cl
mov    %cl,-0x1(%rbp)
mov    %al,-0x2(%rbp)
mov    %edx,-0x8(%rbp)
mov    -0x1(%rbp),%al
mov    %al,-0xd(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e0 <encode+0xb0>
movl   $0x0,-0xc(%rbp)
cmpl   $0x7,-0xc(%rbp)
jg     11db <encode+0xab>
mov    -0x1(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1040 <getBit@plt>
mov    %eax,-0x14(%rbp)
mov    -0x2(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1040 <getBit@plt>
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
xor    %ecx,%eax
cmp    $0x0,%eax
jne    11b7 <encode+0x87>
mov    -0xd(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1030 <clearBit@plt>
mov    %al,-0xd(%rbp)
jmp    11c8 <encode+0x98>
mov    -0xd(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1050 <setBit@plt>
mov    %al,-0xd(%rbp)
jmp    11cd <encode+0x9d>
mov    -0xc(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xc(%rbp)
jmp    1168 <encode+0x38>
jmp    12f7 <encode+0x1c7>
mov    -0x8(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jne    1273 <encode+0x143>
movl   $0x1,-0xc(%rbp)
cmpl   $0x7,-0xc(%rbp)
jg     126e <encode+0x13e>
mov    -0x1(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1040 <getBit@plt>
mov    %eax,-0x18(%rbp)
mov    -0x2(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1040 <getBit@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
xor    %ecx,%eax
cmp    $0x0,%eax
jne    124a <encode+0x11a>
mov    -0xd(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1030 <clearBit@plt>
mov    %al,-0xd(%rbp)
jmp    125b <encode+0x12b>
mov    -0xd(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1050 <setBit@plt>
mov    %al,-0xd(%rbp)
jmp    1260 <encode+0x130>
mov    -0xc(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xc(%rbp)
jmp    11fb <encode+0xcb>
jmp    12f2 <encode+0x1c2>
movl   $0x0,-0xc(%rbp)
cmpl   $0x7,-0xc(%rbp)
jg     12ed <encode+0x1bd>
mov    -0x1(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1040 <getBit@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x2(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1040 <getBit@plt>
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
xor    %ecx,%eax
cmp    $0x0,%eax
jne    12c9 <encode+0x199>
mov    -0xd(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1030 <clearBit@plt>
mov    %al,-0xd(%rbp)
jmp    12da <encode+0x1aa>
mov    -0xd(%rbp),%al
mov    -0xc(%rbp),%esi
movzbl %al,%edi
call   1050 <setBit@plt>
mov    %al,-0xd(%rbp)
jmp    12df <encode+0x1af>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    127a <encode+0x14a>
jmp    12f2 <encode+0x1c2>
jmp    12f7 <encode+0x1c7>
movzbl -0xd(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<encode>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %esi,%ebp
movslq %edx,%rax
imul   $0x55555556,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
shr    $0x20,%rcx
add    %edx,%ecx
lea    (%rcx,%rcx,2),%ecx
sub    %ecx,%eax
je     1192 <encode+0x62>
cmp    $0x1,%eax
jne    11bf <encode+0x8f>
movzbl %dil,%r15d
mov    %r15d,%edi
mov    $0x1,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
movzbl %bpl,%ebp
mov    %ebp,%edi
mov    $0x1,%esi
call   1040 <getBit@plt>
mov    %r15d,%edi
mov    $0x1,%esi
cmp    %eax,%ebx
jne    11ed <encode+0xbd>
call   1030 <clearBit@plt>
jmp    11f2 <encode+0xc2>
movzbl %dil,%r15d
mov    %r15d,%edi
xor    %esi,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
movzbl %bpl,%ebp
mov    %ebp,%edi
xor    %esi,%esi
call   1040 <getBit@plt>
mov    %r15d,%edi
xor    %esi,%esi
cmp    %eax,%ebx
jne    1224 <encode+0xf4>
call   1030 <clearBit@plt>
jmp    1229 <encode+0xf9>
movzbl %dil,%r14d
mov    %r14d,%edi
xor    %esi,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
movzbl %bpl,%r15d
mov    %r15d,%edi
xor    %esi,%esi
call   1040 <getBit@plt>
mov    %r14d,%edi
xor    %esi,%esi
cmp    %eax,%ebx
jne    125b <encode+0x12b>
call   1030 <clearBit@plt>
jmp    1260 <encode+0x130>
call   1050 <setBit@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    $0x3,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x3,%esi
call   1040 <getBit@plt>
movzbl %r14b,%edi
mov    $0x3,%esi
cmp    %eax,%ebx
jne    1291 <encode+0x161>
call   1030 <clearBit@plt>
jmp    1296 <encode+0x166>
call   1050 <setBit@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    $0x2,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x2,%esi
call   1040 <getBit@plt>
movzbl %r14b,%edi
mov    $0x2,%esi
cmp    %eax,%ebx
jne    12c8 <encode+0x198>
call   1030 <clearBit@plt>
jmp    12cd <encode+0x19d>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x1,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x1,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
mov    $0x1,%esi
cmp    %eax,%ebp
jne    12ff <encode+0x1cf>
call   1030 <clearBit@plt>
jmp    1304 <encode+0x1d4>
call   1050 <setBit@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    $0x5,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x5,%esi
call   1040 <getBit@plt>
movzbl %r14b,%edi
mov    $0x5,%esi
cmp    %eax,%ebx
jne    1339 <encode+0x209>
call   1030 <clearBit@plt>
jmp    133e <encode+0x20e>
call   1050 <setBit@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    $0x4,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x4,%esi
call   1040 <getBit@plt>
movzbl %r14b,%edi
mov    $0x4,%esi
cmp    %eax,%ebx
jne    136f <encode+0x23f>
call   1030 <clearBit@plt>
jmp    1374 <encode+0x244>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x2,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x2,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
mov    $0x2,%esi
cmp    %eax,%ebp
jne    13b2 <encode+0x282>
call   1030 <clearBit@plt>
jmp    13b7 <encode+0x287>
call   1050 <setBit@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    $0x7,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x7,%esi
call   1040 <getBit@plt>
movzbl %r14b,%edi
cmp    %eax,%ebx
jne    14b8 <encode+0x388>
mov    $0x7,%esi
jmp    13a3 <encode+0x273>
call   1050 <setBit@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    $0x6,%esi
call   1040 <getBit@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x6,%esi
call   1040 <getBit@plt>
movzbl %r14b,%edi
mov    $0x6,%esi
cmp    %eax,%ebx
jne    14bd <encode+0x38d>
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <clearBit@plt>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x3,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x3,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
mov    $0x3,%esi
cmp    %eax,%ebp
jne    13e8 <encode+0x2b8>
call   1030 <clearBit@plt>
jmp    13ed <encode+0x2bd>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x4,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x4,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
mov    $0x4,%esi
cmp    %eax,%ebp
jne    141e <encode+0x2ee>
call   1030 <clearBit@plt>
jmp    1423 <encode+0x2f3>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x5,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x5,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
mov    $0x5,%esi
cmp    %eax,%ebp
jne    1454 <encode+0x324>
call   1030 <clearBit@plt>
jmp    1459 <encode+0x329>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x6,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x6,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
mov    $0x6,%esi
cmp    %eax,%ebp
jne    148a <encode+0x35a>
call   1030 <clearBit@plt>
jmp    148f <encode+0x35f>
call   1050 <setBit@plt>
mov    %eax,%ebx
mov    %r14d,%edi
mov    $0x7,%esi
call   1040 <getBit@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    $0x7,%esi
call   1040 <getBit@plt>
movzbl %bl,%edi
cmp    %eax,%ebp
je     1368 <encode+0x238>
mov    $0x7,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <setBit@plt>

LLVM IR (-O0):
define zeroext i8 @encode(i8 zeroext %0, i8 zeroext %1, i32 %2) {
%4 = alloca i8
%5 = alloca i8
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8
store i8 %0, i8* %4
store i8 %1, i8* %5
store i32 %2, i32* %6
%9 = load i8, i8* %4
store i8 %9, i8* %8
%10 = load i32, i32* %6
%11 = srem i32 %10, 3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %39
13: ; preds = %3
store i32 0, i32* %7
br label %14
14: ; preds = %35, %13
%15 = load i32, i32* %7
%16 = icmp sle i32 %15, 7
br i1 %16, label %17, label %38
17: ; preds = %14
%18 = load i8, i8* %4
%19 = load i32, i32* %7
%20 = call i32 @getBit(i8 zeroext %18, i32 %19)
%21 = load i8, i8* %5
%22 = load i32, i32* %7
%23 = call i32 @getBit(i8 zeroext %21, i32 %22)
%24 = xor i32 %20, %23
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = load i8, i8* %8
%28 = load i32, i32* %7
%29 = call zeroext i8 @clearBit(i8 zeroext %27, i32 %28)
store i8 %29, i8* %8
br label %34
30: ; preds = %17
%31 = load i8, i8* %8
%32 = load i32, i32* %7
%33 = call zeroext i8 @setBit(i8 zeroext %31, i32 %32)
store i8 %33, i8* %8
br label %34
34: ; preds = %30, %26
br label %35
35: ; preds = %34
%36 = load i32, i32* %7
%37 = add nsw i32 %36, 2
store i32 %37, i32* %7
br label %14
38: ; preds = %14
br label %96
39: ; preds = %3
%40 = load i32, i32* %6
%41 = srem i32 %40, 3
%42 = icmp eq i32 %41, 1
br i1 %42, label %43, label %69
43: ; preds = %39
store i32 1, i32* %7
br label %44
44: ; preds = %65, %43
%45 = load i32, i32* %7
%46 = icmp sle i32 %45, 7
br i1 %46, label %47, label %68
47: ; preds = %44
%48 = load i8, i8* %4
%49 = load i32, i32* %7
%50 = call i32 @getBit(i8 zeroext %48, i32 %49)
%51 = load i8, i8* %5
%52 = load i32, i32* %7
%53 = call i32 @getBit(i8 zeroext %51, i32 %52)
%54 = xor i32 %50, %53
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %47
%57 = load i8, i8* %8
%58 = load i32, i32* %7
%59 = call zeroext i8 @clearBit(i8 zeroext %57, i32 %58)
store i8 %59, i8* %8
br label %64
60: ; preds = %47
%61 = load i8, i8* %8
%62 = load i32, i32* %7
%63 = call zeroext i8 @setBit(i8 zeroext %61, i32 %62)
store i8 %63, i8* %8
br label %64
64: ; preds = %60, %56
br label %65
65: ; preds = %64
%66 = load i32, i32* %7
%67 = add nsw i32 %66, 2
store i32 %67, i32* %7
br label %44
68: ; preds = %44
br label %95
69: ; preds = %39
store i32 0, i32* %7
br label %70
70: ; preds = %91, %69
%71 = load i32, i32* %7
%72 = icmp sle i32 %71, 7
br i1 %72, label %73, label %94
73: ; preds = %70
%74 = load i8, i8* %4
%75 = load i32, i32* %7
%76 = call i32 @getBit(i8 zeroext %74, i32 %75)
%77 = load i8, i8* %5
%78 = load i32, i32* %7
%79 = call i32 @getBit(i8 zeroext %77, i32 %78)
%80 = xor i32 %76, %79
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %73
%83 = load i8, i8* %8
%84 = load i32, i32* %7
%85 = call zeroext i8 @clearBit(i8 zeroext %83, i32 %84)
store i8 %85, i8* %8
br label %90
86: ; preds = %73
%87 = load i8, i8* %8
%88 = load i32, i32* %7
%89 = call zeroext i8 @setBit(i8 zeroext %87, i32 %88)
store i8 %89, i8* %8
br label %90
90: ; preds = %86, %82
br label %91
91: ; preds = %90
%92 = load i32, i32* %7
%93 = add nsw i32 %92, 1
store i32 %93, i32* %7
br label %70
94: ; preds = %70
br label %95
95: ; preds = %94, %68
br label %96
96: ; preds = %95, %38
%97 = load i8, i8* %8
ret i8 %97
}

LLVM IR (-O2):
define zeroext i8 @encode(i8 zeroext %0, i8 zeroext %1, i32 %2) {
%4 = srem i32 %2, 3
switch i32 %4, label %13 [
i32 0, label %9
i32 1, label %5
]
5: ; preds = %3
%6 = tail call i32 @getBit(i8 zeroext %0, i32 1)
%7 = tail call i32 @getBit(i8 zeroext %1, i32 1)
%8 = icmp eq i32 %6, %7
br i1 %8, label %48, label %50
9: ; preds = %3
%10 = tail call i32 @getBit(i8 zeroext %0, i32 0)
%11 = tail call i32 @getBit(i8 zeroext %1, i32 0)
%12 = icmp eq i32 %10, %11
br i1 %12, label %17, label %19
13: ; preds = %3
%14 = tail call i32 @getBit(i8 zeroext %0, i32 0)
%15 = tail call i32 @getBit(i8 zeroext %1, i32 0)
%16 = icmp eq i32 %14, %15
br i1 %16, label %79, label %81
17: ; preds = %9
%18 = tail call zeroext i8 @clearBit(i8 zeroext %0, i32 0)
br label %21
19: ; preds = %9
%20 = tail call zeroext i8 @setBit(i8 zeroext %0, i32 0)
br label %21
21: ; preds = %17, %19
%22 = phi i8 [ %18, %17 ], [ %20, %19 ]
%23 = tail call i32 @getBit(i8 zeroext %0, i32 2)
%24 = tail call i32 @getBit(i8 zeroext %1, i32 2)
%25 = icmp eq i32 %23, %24
br i1 %25, label %28, label %26
26: ; preds = %21
%27 = tail call zeroext i8 @setBit(i8 zeroext %22, i32 2)
br label %30
28: ; preds = %21
%29 = tail call zeroext i8 @clearBit(i8 zeroext %22, i32 2)
br label %30
30: ; preds = %28, %26
%31 = phi i8 [ %29, %28 ], [ %27, %26 ]
%32 = tail call i32 @getBit(i8 zeroext %0, i32 4)
%33 = tail call i32 @getBit(i8 zeroext %1, i32 4)
%34 = icmp eq i32 %32, %33
br i1 %34, label %37, label %35
35: ; preds = %30
%36 = tail call zeroext i8 @setBit(i8 zeroext %31, i32 4)
br label %39
37: ; preds = %30
%38 = tail call zeroext i8 @clearBit(i8 zeroext %31, i32 4)
br label %39
39: ; preds = %37, %35
%40 = phi i8 [ %38, %37 ], [ %36, %35 ]
%41 = tail call i32 @getBit(i8 zeroext %0, i32 6)
%42 = tail call i32 @getBit(i8 zeroext %1, i32 6)
%43 = icmp eq i32 %41, %42
br i1 %43, label %46, label %44
44: ; preds = %39
%45 = tail call zeroext i8 @setBit(i8 zeroext %40, i32 6)
br label %146
46: ; preds = %39
%47 = tail call zeroext i8 @clearBit(i8 zeroext %40, i32 6)
br label %146
48: ; preds = %5
%49 = tail call zeroext i8 @clearBit(i8 zeroext %0, i32 1)
br label %52
50: ; preds = %5
%51 = tail call zeroext i8 @setBit(i8 zeroext %0, i32 1)
br label %52
52: ; preds = %48, %50
%53 = phi i8 [ %49, %48 ], [ %51, %50 ]
%54 = tail call i32 @getBit(i8 zeroext %0, i32 3)
%55 = tail call i32 @getBit(i8 zeroext %1, i32 3)
%56 = icmp eq i32 %54, %55
br i1 %56, label %59, label %57
57: ; preds = %52
%58 = tail call zeroext i8 @setBit(i8 zeroext %53, i32 3)
br label %61
59: ; preds = %52
%60 = tail call zeroext i8 @clearBit(i8 zeroext %53, i32 3)
br label %61
61: ; preds = %59, %57
%62 = phi i8 [ %60, %59 ], [ %58, %57 ]
%63 = tail call i32 @getBit(i8 zeroext %0, i32 5)
%64 = tail call i32 @getBit(i8 zeroext %1, i32 5)
%65 = icmp eq i32 %63, %64
br i1 %65, label %68, label %66
66: ; preds = %61
%67 = tail call zeroext i8 @setBit(i8 zeroext %62, i32 5)
br label %70
68: ; preds = %61
%69 = tail call zeroext i8 @clearBit(i8 zeroext %62, i32 5)
br label %70
70: ; preds = %68, %66
%71 = phi i8 [ %69, %68 ], [ %67, %66 ]
%72 = tail call i32 @getBit(i8 zeroext %0, i32 7)
%73 = tail call i32 @getBit(i8 zeroext %1, i32 7)
%74 = icmp eq i32 %72, %73
br i1 %74, label %77, label %75
75: ; preds = %70
%76 = tail call zeroext i8 @setBit(i8 zeroext %71, i32 7)
br label %146
77: ; preds = %70
%78 = tail call zeroext i8 @clearBit(i8 zeroext %71, i32 7)
br label %146
79: ; preds = %13
%80 = tail call zeroext i8 @clearBit(i8 zeroext %0, i32 0)
br label %83
81: ; preds = %13
%82 = tail call zeroext i8 @setBit(i8 zeroext %0, i32 0)
br label %83
83: ; preds = %79, %81
%84 = phi i8 [ %80, %79 ], [ %82, %81 ]
%85 = tail call i32 @getBit(i8 zeroext %0, i32 1)
%86 = tail call i32 @getBit(i8 zeroext %1, i32 1)
%87 = icmp eq i32 %85, %86
br i1 %87, label %90, label %88
88: ; preds = %83
%89 = tail call zeroext i8 @setBit(i8 zeroext %84, i32 1)
br label %92
90: ; preds = %83
%91 = tail call zeroext i8 @clearBit(i8 zeroext %84, i32 1)
br label %92
92: ; preds = %90, %88
%93 = phi i8 [ %91, %90 ], [ %89, %88 ]
%94 = tail call i32 @getBit(i8 zeroext %0, i32 2)
%95 = tail call i32 @getBit(i8 zeroext %1, i32 2)
%96 = icmp eq i32 %94, %95
br i1 %96, label %99, label %97
97: ; preds = %92
%98 = tail call zeroext i8 @setBit(i8 zeroext %93, i32 2)
br label %101
99: ; preds = %92
%100 = tail call zeroext i8 @clearBit(i8 zeroext %93, i32 2)
br label %101
101: ; preds = %99, %97
%102 = phi i8 [ %100, %99 ], [ %98, %97 ]
%103 = tail call i32 @getBit(i8 zeroext %0, i32 3)
%104 = tail call i32 @getBit(i8 zeroext %1, i32 3)
%105 = icmp eq i32 %103, %104
br i1 %105, label %108, label %106
106: ; preds = %101
%107 = tail call zeroext i8 @setBit(i8 zeroext %102, i32 3)
br label %110
108: ; preds = %101
%109 = tail call zeroext i8 @clearBit(i8 zeroext %102, i32 3)
br label %110
110: ; preds = %108, %106
%111 = phi i8 [ %109, %108 ], [ %107, %106 ]
%112 = tail call i32 @getBit(i8 zeroext %0, i32 4)
%113 = tail call i32 @getBit(i8 zeroext %1, i32 4)
%114 = icmp eq i32 %112, %113
br i1 %114, label %117, label %115
115: ; preds = %110
%116 = tail call zeroext i8 @setBit(i8 zeroext %111, i32 4)
br label %119
117: ; preds = %110
%118 = tail call zeroext i8 @clearBit(i8 zeroext %111, i32 4)
br label %119
119: ; preds = %117, %115
%120 = phi i8 [ %118, %117 ], [ %116, %115 ]
%121 = tail call i32 @getBit(i8 zeroext %0, i32 5)
%122 = tail call i32 @getBit(i8 zeroext %1, i32 5)
%123 = icmp eq i32 %121, %122
br i1 %123, label %126, label %124
124: ; preds = %119
%125 = tail call zeroext i8 @setBit(i8 zeroext %120, i32 5)
br label %128
126: ; preds = %119
%127 = tail call zeroext i8 @clearBit(i8 zeroext %120, i32 5)
br label %128
128: ; preds = %126, %124
%129 = phi i8 [ %127, %126 ], [ %125, %124 ]
%130 = tail call i32 @getBit(i8 zeroext %0, i32 6)
%131 = tail call i32 @getBit(i8 zeroext %1, i32 6)
%132 = icmp eq i32 %130, %131
br i1 %132, label %135, label %133
133: ; preds = %128
%134 = tail call zeroext i8 @setBit(i8 zeroext %129, i32 6)
br label %137
135: ; preds = %128
%136 = tail call zeroext i8 @clearBit(i8 zeroext %129, i32 6)
br label %137
137: ; preds = %135, %133
%138 = phi i8 [ %136, %135 ], [ %134, %133 ]
%139 = tail call i32 @getBit(i8 zeroext %0, i32 7)
%140 = tail call i32 @getBit(i8 zeroext %1, i32 7)
%141 = icmp eq i32 %139, %140
br i1 %141, label %144, label %142
142: ; preds = %137
%143 = tail call zeroext i8 @setBit(i8 zeroext %138, i32 7)
br label %146
144: ; preds = %137
%145 = tail call zeroext i8 @clearBit(i8 zeroext %138, i32 7)
br label %146
146: ; preds = %142, %144, %75, %77, %44, %46
%147 = phi i8 [ %47, %46 ], [ %45, %44 ], [ %78, %77 ], [ %76, %75 ], [ %145, %144 ], [ %143, %142 ]
ret i8 %147
}