unsigned long mc_test_row(unsigned long nFrom, unsigned long nTo,
                          unsigned long flags) {
  int nRun, nSize, nSeq;
  int ret = 0;
  printf("\nmc_test_row(0x%08lX, 0x%08lX)\n", nFrom, nTo);
  for (nRun = 0; nRun < 5; nRun++) {
    switch (nRun) {
    case 0:
      if ((flags & 0x00000001LU) != 0x00000001LU)
        continue;
      break;
    case 1:
      if ((flags & 0x00000002LU) != 0x00000002LU)
        continue;
      break;
    case 2:
      if ((flags & 0x00000004LU) != 0x00000004LU)
        continue;
      break;
    }
    switch (nRun) {
    case 3:
      if ((flags & 0x00000008LU) != 0x00000008LU)
        continue;
      break;
    case 4:
      if ((flags & 0x00000010LU) != 0x00000010LU)
        continue;
    }
    for (nSeq = 0; nSeq < 3; nSeq++) {
      switch (nSeq) {
      case 0:
        if ((flags & 0x00000100LU) != 0x00000100LU)
          continue;
        break;
      case 1:
        if ((flags & 0x00000200LU) != 0x00000200LU)
          continue;
        break;
      case 2:
        if ((flags & 0x00000400LU) != 0x00000400LU)
          continue;
      }
      for (nSize = 0; nSize < 3; nSize++) {
        switch (nSize) {
        case 0:
          if ((flags & 0x00000020LU) != 0x00000020LU)
            continue;
          ret = mc_test_row_8(nRun, nSeq, nFrom, nTo);
          break;
        case 1:
          if ((flags & 0x00000040LU) != 0x00000040LU)
            continue;
          ret = mc_test_row_16(nRun, nSeq, nFrom, nTo);
          break;
        case 2:
          if ((flags & 0x00000080LU) != 0x00000080LU)
            continue;
          ret = mc_test_row_32(nRun, nSeq, nFrom, nTo);
        }
        if (ret)
          return ret;
        mc_clear_row(nFrom, nTo);
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<mc_test_row>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x5,-0x24(%rbp)
jge    1459 <mc_test_row+0x309>
mov    -0x24(%rbp),%eax
mov    %eax,-0x34(%rbp)
test   %eax,%eax
je     11c7 <mc_test_row+0x77>
jmp    11a5 <mc_test_row+0x55>
mov    -0x34(%rbp),%eax
sub    $0x1,%eax
je     11e3 <mc_test_row+0x93>
jmp    11b6 <mc_test_row+0x66>
mov    -0x34(%rbp),%eax
sub    $0x2,%eax
je     11ff <mc_test_row+0xaf>
jmp    121b <mc_test_row+0xcb>
mov    -0x20(%rbp),%rax
and    $0x1,%rax
cmp    $0x1,%rax
je     11de <mc_test_row+0x8e>
jmp    144b <mc_test_row+0x2fb>
jmp    121b <mc_test_row+0xcb>
mov    -0x20(%rbp),%rax
and    $0x2,%rax
cmp    $0x2,%rax
je     11fa <mc_test_row+0xaa>
jmp    144b <mc_test_row+0x2fb>
jmp    121b <mc_test_row+0xcb>
mov    -0x20(%rbp),%rax
and    $0x4,%rax
cmp    $0x4,%rax
je     1216 <mc_test_row+0xc6>
jmp    144b <mc_test_row+0x2fb>
jmp    121b <mc_test_row+0xcb>
mov    -0x24(%rbp),%eax
mov    %eax,-0x38(%rbp)
sub    $0x3,%eax
je     1240 <mc_test_row+0xf0>
jmp    122f <mc_test_row+0xdf>
mov    -0x38(%rbp),%eax
sub    $0x4,%eax
je     125c <mc_test_row+0x10c>
jmp    1278 <mc_test_row+0x128>
mov    -0x20(%rbp),%rax
and    $0x8,%rax
cmp    $0x8,%rax
je     1257 <mc_test_row+0x107>
jmp    144b <mc_test_row+0x2fb>
jmp    1278 <mc_test_row+0x128>
mov    -0x20(%rbp),%rax
and    $0x10,%rax
cmp    $0x10,%rax
je     1273 <mc_test_row+0x123>
jmp    144b <mc_test_row+0x2fb>
jmp    1278 <mc_test_row+0x128>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x3,-0x2c(%rbp)
jge    1446 <mc_test_row+0x2f6>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
test   %eax,%eax
je     12be <mc_test_row+0x16e>
jmp    129c <mc_test_row+0x14c>
mov    -0x3c(%rbp),%eax
sub    $0x1,%eax
je     12de <mc_test_row+0x18e>
jmp    12ad <mc_test_row+0x15d>
mov    -0x3c(%rbp),%eax
sub    $0x2,%eax
je     12fe <mc_test_row+0x1ae>
jmp    131e <mc_test_row+0x1ce>
mov    -0x20(%rbp),%rax
and    $0x100,%rax
cmp    $0x100,%rax
je     12d9 <mc_test_row+0x189>
jmp    1438 <mc_test_row+0x2e8>
jmp    131e <mc_test_row+0x1ce>
mov    -0x20(%rbp),%rax
and    $0x200,%rax
cmp    $0x200,%rax
je     12f9 <mc_test_row+0x1a9>
jmp    1438 <mc_test_row+0x2e8>
jmp    131e <mc_test_row+0x1ce>
mov    -0x20(%rbp),%rax
and    $0x400,%rax
cmp    $0x400,%rax
je     1319 <mc_test_row+0x1c9>
jmp    1438 <mc_test_row+0x2e8>
jmp    131e <mc_test_row+0x1ce>
movl   $0x0,-0x28(%rbp)
cmpl   $0x3,-0x28(%rbp)
jge    1433 <mc_test_row+0x2e3>
mov    -0x28(%rbp),%eax
mov    %eax,-0x40(%rbp)
test   %eax,%eax
je     1364 <mc_test_row+0x214>
jmp    1342 <mc_test_row+0x1f2>
mov    -0x40(%rbp),%eax
sub    $0x1,%eax
je     1398 <mc_test_row+0x248>
jmp    1353 <mc_test_row+0x203>
mov    -0x40(%rbp),%eax
sub    $0x2,%eax
je     13cc <mc_test_row+0x27c>
jmp    13ff <mc_test_row+0x2af>
mov    -0x20(%rbp),%rax
and    $0x20,%rax
cmp    $0x20,%rax
je     137b <mc_test_row+0x22b>
jmp    1425 <mc_test_row+0x2d5>
mov    -0x24(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    $0x0,%al
call   1070 <mc_test_row_8@plt>
mov    %eax,-0x30(%rbp)
jmp    13ff <mc_test_row+0x2af>
mov    -0x20(%rbp),%rax
and    $0x40,%rax
cmp    $0x40,%rax
je     13af <mc_test_row+0x25f>
jmp    1425 <mc_test_row+0x2d5>
mov    -0x24(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    $0x0,%al
call   1060 <mc_test_row_16@plt>
mov    %eax,-0x30(%rbp)
jmp    13ff <mc_test_row+0x2af>
mov    -0x20(%rbp),%rax
and    $0x80,%rax
cmp    $0x80,%rax
je     13e7 <mc_test_row+0x297>
jmp    1425 <mc_test_row+0x2d5>
mov    -0x24(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    $0x0,%al
call   1050 <mc_test_row_32@plt>
mov    %eax,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
je     1416 <mc_test_row+0x2c6>
movslq -0x30(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    1461 <mc_test_row+0x311>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1030 <mc_clear_row@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1325 <mc_test_row+0x1d5>
jmp    1438 <mc_test_row+0x2e8>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    127f <mc_test_row+0x12f>
jmp    144b <mc_test_row+0x2fb>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1188 <mc_test_row+0x38>
movq   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mc_test_row>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdx,%rbx
mov    %rsi,%r15
mov    %rdi,%r12
lea    0xea9(%rip),%rdi
xor    %r14d,%r14d
mov    %r12,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe7e(%rip),%r13
xor    %ebp,%ebp
jmp    119c <mc_test_row+0x4c>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%ebp
cmp    $0x5,%ebp
je     13b6 <mc_test_row+0x266>
cmp    $0x4,%ebp
ja     11d2 <mc_test_row+0x82>
mov    %ebp,%eax
movslq 0x0(%r13,%rax,4),%rax
add    %r13,%rax
jmp    *%rax
test   $0x1,%bl
je     1190 <mc_test_row+0x40>
jmp    11d2 <mc_test_row+0x82>
test   $0x2,%bl
je     1190 <mc_test_row+0x40>
jmp    11d2 <mc_test_row+0x82>
test   $0x4,%bl
je     1190 <mc_test_row+0x40>
jmp    11d2 <mc_test_row+0x82>
test   $0x8,%bl
je     1190 <mc_test_row+0x40>
jmp    11d2 <mc_test_row+0x82>
test   $0x10,%bl
je     13b6 <mc_test_row+0x266>
test   $0x100,%ebx
je     125f <mc_test_row+0x10f>
test   $0x20,%bl
je     1209 <mc_test_row+0xb9>
mov    %ebp,%edi
xor    %esi,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1070 <mc_test_row_8@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x40,%bl
je     1234 <mc_test_row+0xe4>
mov    %ebp,%edi
xor    %esi,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1060 <mc_test_row_16@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x80,%bl
je     125f <mc_test_row+0x10f>
mov    %ebp,%edi
xor    %esi,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1050 <mc_test_row_32@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x200,%ebx
je     1282 <mc_test_row+0x132>
test   $0x20,%bl
jne    1321 <mc_test_row+0x1d1>
test   $0x40,%bl
jne    134f <mc_test_row+0x1ff>
test   $0x80,%bl
jne    137d <mc_test_row+0x22d>
test   $0x400,%ebx
je     1190 <mc_test_row+0x40>
test   $0x20,%bl
je     12bc <mc_test_row+0x16c>
mov    %ebp,%edi
mov    $0x2,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1070 <mc_test_row_8@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x40,%bl
je     12ea <mc_test_row+0x19a>
mov    %ebp,%edi
mov    $0x2,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1060 <mc_test_row_16@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x80,%bl
je     1190 <mc_test_row+0x40>
mov    %ebp,%edi
mov    $0x2,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1050 <mc_test_row_32@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
jmp    1190 <mc_test_row+0x40>
mov    %ebp,%edi
mov    $0x1,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1070 <mc_test_row_8@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x40,%bl
je     1279 <mc_test_row+0x129>
mov    %ebp,%edi
mov    $0x1,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1060 <mc_test_row_16@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x80,%bl
je     1282 <mc_test_row+0x132>
mov    %ebp,%edi
mov    $0x1,%esi
mov    %r12,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1050 <mc_test_row_32@plt>
test   %eax,%eax
jne    13b3 <mc_test_row+0x263>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <mc_clear_row@plt>
test   $0x400,%ebx
je     1190 <mc_test_row+0x40>
jmp    128e <mc_test_row+0x13e>
movslq %eax,%r14
mov    %r14,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [32 x i8] c"\0Amc_test_row(0x%08lX, 0x%08lX)\0A\00"
define i64 @mc_test_row(i64 %0, i64 %1, i64 %2) {
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i64 %0, i64* %5
store i64 %1, i64* %6
store i64 %2, i64* %7
store i32 0, i32* %11
%12 = load i64, i64* %5
%13 = load i64, i64* %6
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i64 %12, i64 %13)
store i32 0, i32* %8
br label %15
15: ; preds = %133, %3
%16 = load i32, i32* %8
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %136
18: ; preds = %15
%19 = load i32, i32* %8
switch i32 %19, label %38 [
i32 0, label %20
i32 1, label %26
i32 2, label %32
]
20: ; preds = %18
%21 = load i64, i64* %7
%22 = and i64 %21, 1
%23 = icmp ne i64 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %20
br label %133
25: ; preds = %20
br label %38
26: ; preds = %18
%27 = load i64, i64* %7
%28 = and i64 %27, 2
%29 = icmp ne i64 %28, 2
br i1 %29, label %30, label %31
30: ; preds = %26
br label %133
31: ; preds = %26
br label %38
32: ; preds = %18
%33 = load i64, i64* %7
%34 = and i64 %33, 4
%35 = icmp ne i64 %34, 4
br i1 %35, label %36, label %37
36: ; preds = %32
br label %133
37: ; preds = %32
br label %38
38: ; preds = %18, %37, %31, %25
%39 = load i32, i32* %8
switch i32 %39, label %52 [
i32 3, label %40
i32 4, label %46
]
40: ; preds = %38
%41 = load i64, i64* %7
%42 = and i64 %41, 8
%43 = icmp ne i64 %42, 8
br i1 %43, label %44, label %45
44: ; preds = %40
br label %133
45: ; preds = %40
br label %52
46: ; preds = %38
%47 = load i64, i64* %7
%48 = and i64 %47, 16
%49 = icmp ne i64 %48, 16
br i1 %49, label %50, label %51
50: ; preds = %46
br label %133
51: ; preds = %46
br label %52
52: ; preds = %51, %38, %45
store i32 0, i32* %10
br label %53
53: ; preds = %129, %52
%54 = load i32, i32* %10
%55 = icmp slt i32 %54, 3
br i1 %55, label %56, label %132
56: ; preds = %53
%57 = load i32, i32* %10
switch i32 %57, label %76 [
i32 0, label %58
i32 1, label %64
i32 2, label %70
]
58: ; preds = %56
%59 = load i64, i64* %7
%60 = and i64 %59, 256
%61 = icmp ne i64 %60, 256
br i1 %61, label %62, label %63
62: ; preds = %58
br label %129
63: ; preds = %58
br label %76
64: ; preds = %56
%65 = load i64, i64* %7
%66 = and i64 %65, 512
%67 = icmp ne i64 %66, 512
br i1 %67, label %68, label %69
68: ; preds = %64
br label %129
69: ; preds = %64
br label %76
70: ; preds = %56
%71 = load i64, i64* %7
%72 = and i64 %71, 1024
%73 = icmp ne i64 %72, 1024
br i1 %73, label %74, label %75
74: ; preds = %70
br label %129
75: ; preds = %70
br label %76
76: ; preds = %75, %56, %69, %63
store i32 0, i32* %9
br label %77
77: ; preds = %125, %76
%78 = load i32, i32* %9
%79 = icmp slt i32 %78, 3
br i1 %79, label %80, label %128
80: ; preds = %77
%81 = load i32, i32* %9
switch i32 %81, label %115 [
i32 0, label %82
i32 1, label %93
i32 2, label %104
]
82: ; preds = %80
%83 = load i64, i64* %7
%84 = and i64 %83, 32
%85 = icmp ne i64 %84, 32
br i1 %85, label %86, label %87
86: ; preds = %82
br label %125
87: ; preds = %82
%88 = load i32, i32* %8
%89 = load i32, i32* %10
%90 = load i64, i64* %5
%91 = load i64, i64* %6
%92 = call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_8 to i32 (i32, i32, i64, i64, ...)*)(i32 %88, i32 %89, i64 %90, i64 %91)
store i32 %92, i32* %11
br label %115
93: ; preds = %80
%94 = load i64, i64* %7
%95 = and i64 %94, 64
%96 = icmp ne i64 %95, 64
br i1 %96, label %97, label %98
97: ; preds = %93
br label %125
98: ; preds = %93
%99 = load i32, i32* %8
%100 = load i32, i32* %10
%101 = load i64, i64* %5
%102 = load i64, i64* %6
%103 = call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_16 to i32 (i32, i32, i64, i64, ...)*)(i32 %99, i32 %100, i64 %101, i64 %102)
store i32 %103, i32* %11
br label %115
104: ; preds = %80
%105 = load i64, i64* %7
%106 = and i64 %105, 128
%107 = icmp ne i64 %106, 128
br i1 %107, label %108, label %109
108: ; preds = %104
br label %125
109: ; preds = %104
%110 = load i32, i32* %8
%111 = load i32, i32* %10
%112 = load i64, i64* %5
%113 = load i64, i64* %6
%114 = call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_32 to i32 (i32, i32, i64, i64, ...)*)(i32 %110, i32 %111, i64 %112, i64 %113)
store i32 %114, i32* %11
br label %115
115: ; preds = %109, %80, %98, %87
%116 = load i32, i32* %11
%117 = icmp ne i32 %116, 0
br i1 %117, label %118, label %121
118: ; preds = %115
%119 = load i32, i32* %11
%120 = sext i32 %119 to i64
store i64 %120, i64* %4
br label %137
121: ; preds = %115
%122 = load i64, i64* %5
%123 = load i64, i64* %6
%124 = call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %122, i64 %123)
br label %125
125: ; preds = %121, %108, %97, %86
%126 = load i32, i32* %9
%127 = add nsw i32 %126, 1
store i32 %127, i32* %9
br label %77
128: ; preds = %77
br label %129
129: ; preds = %128, %74, %68, %62
%130 = load i32, i32* %10
%131 = add nsw i32 %130, 1
store i32 %131, i32* %10
br label %53
132: ; preds = %53
br label %133
133: ; preds = %132, %50, %44, %36, %30, %24
%134 = load i32, i32* %8
%135 = add nsw i32 %134, 1
store i32 %135, i32* %8
br label %15
136: ; preds = %15
store i64 0, i64* %4
br label %137
137: ; preds = %136, %118
%138 = load i64, i64* %4
ret i64 %138
}

LLVM IR (-O2):
@.str = [32 x i8] c"\0Amc_test_row(0x%08lX, 0x%08lX)\0A\00"
define i64 @mc_test_row(i64 %0, i64 %1, i64 %2) {
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i64 %0, i64 %1)
%5 = and i64 %2, 16
%6 = icmp eq i64 %5, 0
%7 = and i64 %2, 8
%8 = icmp eq i64 %7, 0
%9 = and i64 %2, 4
%10 = icmp eq i64 %9, 0
%11 = and i64 %2, 2
%12 = icmp eq i64 %11, 0
%13 = and i64 %2, 1
%14 = icmp eq i64 %13, 0
%15 = and i64 %2, 1024
%16 = icmp eq i64 %15, 0
%17 = and i64 %2, 512
%18 = icmp eq i64 %17, 0
%19 = and i64 %2, 256
%20 = icmp eq i64 %19, 0
%21 = and i64 %2, 128
%22 = icmp eq i64 %21, 0
%23 = and i64 %2, 64
%24 = icmp eq i64 %23, 0
%25 = and i64 %2, 32
%26 = icmp eq i64 %25, 0
br label %27
27: ; preds = %3, %94
%28 = phi i32 [ 0, %3 ], [ %95, %94 ]
switch i32 %28, label %34 [
i32 0, label %29
i32 1, label %30
i32 2, label %31
i32 3, label %32
i32 4, label %33
]
29: ; preds = %27
br i1 %14, label %94, label %34
30: ; preds = %27
br i1 %12, label %94, label %34
31: ; preds = %27
br i1 %10, label %94, label %34
32: ; preds = %27
br i1 %8, label %94, label %34
33: ; preds = %27
br i1 %6, label %97, label %34
34: ; preds = %29, %30, %31, %27, %33, %32
br i1 %20, label %56, label %35
35: ; preds = %34
br i1 %26, label %44, label %36
36: ; preds = %35
%37 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_8 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 0, i64 %0, i64 %1)
%38 = icmp eq i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %89, %83, %77, %70, %64, %58, %51, %45, %36
%40 = phi i32 [ %37, %36 ], [ %46, %45 ], [ %52, %51 ], [ %59, %58 ], [ %65, %64 ], [ %71, %70 ], [ %78, %77 ], [ %84, %83 ], [ %90, %89 ]
%41 = sext i32 %40 to i64
br label %97
42: ; preds = %36
%43 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %44
44: ; preds = %42, %35
br i1 %24, label %50, label %45
45: ; preds = %44
%46 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_16 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 0, i64 %0, i64 %1)
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %39
48: ; preds = %45
%49 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %50
50: ; preds = %44, %48
br i1 %22, label %56, label %51
51: ; preds = %50
%52 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_32 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 0, i64 %0, i64 %1)
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %39
54: ; preds = %51
%55 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %56
56: ; preds = %34, %54, %50
br i1 %18, label %75, label %57
57: ; preds = %56
br i1 %26, label %63, label %58
58: ; preds = %57
%59 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_8 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 1, i64 %0, i64 %1)
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %39
61: ; preds = %58
%62 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %63
63: ; preds = %61, %57
br i1 %24, label %69, label %64
64: ; preds = %63
%65 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_16 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 1, i64 %0, i64 %1)
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %39
67: ; preds = %64
%68 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %69
69: ; preds = %67, %63
br i1 %22, label %75, label %70
70: ; preds = %69
%71 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_32 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 1, i64 %0, i64 %1)
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %39
73: ; preds = %70
%74 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %75
75: ; preds = %56, %69, %73
br i1 %16, label %94, label %76
76: ; preds = %75
br i1 %26, label %82, label %77
77: ; preds = %76
%78 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_8 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 2, i64 %0, i64 %1)
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %39
80: ; preds = %77
%81 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %82
82: ; preds = %80, %76
br i1 %24, label %88, label %83
83: ; preds = %82
%84 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_16 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 2, i64 %0, i64 %1)
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %39
86: ; preds = %83
%87 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %88
88: ; preds = %86, %82
br i1 %22, label %94, label %89
89: ; preds = %88
%90 = tail call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_32 to i32 (i32, i32, i64, i64, ...)*)(i32 %28, i32 2, i64 %0, i64 %1)
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %39
92: ; preds = %89
%93 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %0, i64 %1)
br label %94
94: ; preds = %75, %92, %88, %32, %31, %30, %29
%95 = add nuw nsw i32 %28, 1
%96 = icmp eq i32 %95, 5
br i1 %96, label %97, label %27
97: ; preds = %33, %94, %39
%98 = phi i64 [ %41, %39 ], [ 0, %94 ], [ 0, %33 ]
ret i64 %98
}