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;
    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    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x5,-0x24(%rbp)
jge    1424 <mc_test_row+0x2d4>
mov    -0x24(%rbp),%eax
mov    %rax,-0x38(%rbp)
sub    $0x4,%rax
ja     1243 <mc_test_row+0xf3>
mov    -0x38(%rbp),%rax
lea    0xe52(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x20(%rbp),%rax
and    $0x1,%rax
cmp    $0x1,%rax
je     11ce <mc_test_row+0x7e>
jmp    1416 <mc_test_row+0x2c6>
jmp    1243 <mc_test_row+0xf3>
mov    -0x20(%rbp),%rax
and    $0x2,%rax
cmp    $0x2,%rax
je     11ea <mc_test_row+0x9a>
jmp    1416 <mc_test_row+0x2c6>
jmp    1243 <mc_test_row+0xf3>
mov    -0x20(%rbp),%rax
and    $0x4,%rax
cmp    $0x4,%rax
je     1206 <mc_test_row+0xb6>
jmp    1416 <mc_test_row+0x2c6>
jmp    1243 <mc_test_row+0xf3>
mov    -0x20(%rbp),%rax
and    $0x8,%rax
cmp    $0x8,%rax
je     1222 <mc_test_row+0xd2>
jmp    1416 <mc_test_row+0x2c6>
jmp    1243 <mc_test_row+0xf3>
mov    -0x20(%rbp),%rax
and    $0x10,%rax
cmp    $0x10,%rax
je     123e <mc_test_row+0xee>
jmp    1416 <mc_test_row+0x2c6>
jmp    1243 <mc_test_row+0xf3>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x3,-0x2c(%rbp)
jge    1411 <mc_test_row+0x2c1>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
test   %eax,%eax
je     1289 <mc_test_row+0x139>
jmp    1267 <mc_test_row+0x117>
mov    -0x3c(%rbp),%eax
sub    $0x1,%eax
je     12a9 <mc_test_row+0x159>
jmp    1278 <mc_test_row+0x128>
mov    -0x3c(%rbp),%eax
sub    $0x2,%eax
je     12c9 <mc_test_row+0x179>
jmp    12e9 <mc_test_row+0x199>
mov    -0x20(%rbp),%rax
and    $0x100,%rax
cmp    $0x100,%rax
je     12a4 <mc_test_row+0x154>
jmp    1403 <mc_test_row+0x2b3>
jmp    12e9 <mc_test_row+0x199>
mov    -0x20(%rbp),%rax
and    $0x200,%rax
cmp    $0x200,%rax
je     12c4 <mc_test_row+0x174>
jmp    1403 <mc_test_row+0x2b3>
jmp    12e9 <mc_test_row+0x199>
mov    -0x20(%rbp),%rax
and    $0x400,%rax
cmp    $0x400,%rax
je     12e4 <mc_test_row+0x194>
jmp    1403 <mc_test_row+0x2b3>
jmp    12e9 <mc_test_row+0x199>
movl   $0x0,-0x28(%rbp)
cmpl   $0x3,-0x28(%rbp)
jge    13fe <mc_test_row+0x2ae>
mov    -0x28(%rbp),%eax
mov    %eax,-0x40(%rbp)
test   %eax,%eax
je     132f <mc_test_row+0x1df>
jmp    130d <mc_test_row+0x1bd>
mov    -0x40(%rbp),%eax
sub    $0x1,%eax
je     1363 <mc_test_row+0x213>
jmp    131e <mc_test_row+0x1ce>
mov    -0x40(%rbp),%eax
sub    $0x2,%eax
je     1397 <mc_test_row+0x247>
jmp    13ca <mc_test_row+0x27a>
mov    -0x20(%rbp),%rax
and    $0x20,%rax
cmp    $0x20,%rax
je     1346 <mc_test_row+0x1f6>
jmp    13f0 <mc_test_row+0x2a0>
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    13ca <mc_test_row+0x27a>
mov    -0x20(%rbp),%rax
and    $0x40,%rax
cmp    $0x40,%rax
je     137a <mc_test_row+0x22a>
jmp    13f0 <mc_test_row+0x2a0>
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    13ca <mc_test_row+0x27a>
mov    -0x20(%rbp),%rax
and    $0x80,%rax
cmp    $0x80,%rax
je     13b2 <mc_test_row+0x262>
jmp    13f0 <mc_test_row+0x2a0>
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     13e1 <mc_test_row+0x291>
movslq -0x30(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    142c <mc_test_row+0x2dc>
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    12f0 <mc_test_row+0x1a0>
jmp    1403 <mc_test_row+0x2b3>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    124a <mc_test_row+0xfa>
jmp    1416 <mc_test_row+0x2c6>
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 = %131, %3
%16 = load i32, i32* %8
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %134
18: ; preds = %15
%19 = load i32, i32* %8
switch i32 %19, label %50 [
i32 0, label %20
i32 1, label %26
i32 2, label %32
i32 3, label %38
i32 4, label %44
]
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 %131
25: ; preds = %20
br label %50
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 %131
31: ; preds = %26
br label %50
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 %131
37: ; preds = %32
br label %50
38: ; preds = %18
%39 = load i64, i64* %7
%40 = and i64 %39, 8
%41 = icmp ne i64 %40, 8
br i1 %41, label %42, label %43
42: ; preds = %38
br label %131
43: ; preds = %38
br label %50
44: ; preds = %18
%45 = load i64, i64* %7
%46 = and i64 %45, 16
%47 = icmp ne i64 %46, 16
br i1 %47, label %48, label %49
48: ; preds = %44
br label %131
49: ; preds = %44
br label %50
50: ; preds = %49, %18, %43, %37, %31, %25
store i32 0, i32* %10
br label %51
51: ; preds = %127, %50
%52 = load i32, i32* %10
%53 = icmp slt i32 %52, 3
br i1 %53, label %54, label %130
54: ; preds = %51
%55 = load i32, i32* %10
switch i32 %55, label %74 [
i32 0, label %56
i32 1, label %62
i32 2, label %68
]
56: ; preds = %54
%57 = load i64, i64* %7
%58 = and i64 %57, 256
%59 = icmp ne i64 %58, 256
br i1 %59, label %60, label %61
60: ; preds = %56
br label %127
61: ; preds = %56
br label %74
62: ; preds = %54
%63 = load i64, i64* %7
%64 = and i64 %63, 512
%65 = icmp ne i64 %64, 512
br i1 %65, label %66, label %67
66: ; preds = %62
br label %127
67: ; preds = %62
br label %74
68: ; preds = %54
%69 = load i64, i64* %7
%70 = and i64 %69, 1024
%71 = icmp ne i64 %70, 1024
br i1 %71, label %72, label %73
72: ; preds = %68
br label %127
73: ; preds = %68
br label %74
74: ; preds = %73, %54, %67, %61
store i32 0, i32* %9
br label %75
75: ; preds = %123, %74
%76 = load i32, i32* %9
%77 = icmp slt i32 %76, 3
br i1 %77, label %78, label %126
78: ; preds = %75
%79 = load i32, i32* %9
switch i32 %79, label %113 [
i32 0, label %80
i32 1, label %91
i32 2, label %102
]
80: ; preds = %78
%81 = load i64, i64* %7
%82 = and i64 %81, 32
%83 = icmp ne i64 %82, 32
br i1 %83, label %84, label %85
84: ; preds = %80
br label %123
85: ; preds = %80
%86 = load i32, i32* %8
%87 = load i32, i32* %10
%88 = load i64, i64* %5
%89 = load i64, i64* %6
%90 = call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_8 to i32 (i32, i32, i64, i64, ...)*)(i32 %86, i32 %87, i64 %88, i64 %89)
store i32 %90, i32* %11
br label %113
91: ; preds = %78
%92 = load i64, i64* %7
%93 = and i64 %92, 64
%94 = icmp ne i64 %93, 64
br i1 %94, label %95, label %96
95: ; preds = %91
br label %123
96: ; preds = %91
%97 = load i32, i32* %8
%98 = load i32, i32* %10
%99 = load i64, i64* %5
%100 = load i64, i64* %6
%101 = call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_16 to i32 (i32, i32, i64, i64, ...)*)(i32 %97, i32 %98, i64 %99, i64 %100)
store i32 %101, i32* %11
br label %113
102: ; preds = %78
%103 = load i64, i64* %7
%104 = and i64 %103, 128
%105 = icmp ne i64 %104, 128
br i1 %105, label %106, label %107
106: ; preds = %102
br label %123
107: ; preds = %102
%108 = load i32, i32* %8
%109 = load i32, i32* %10
%110 = load i64, i64* %5
%111 = load i64, i64* %6
%112 = call i32 (i32, i32, i64, i64, ...) bitcast (i32 (...)* @mc_test_row_32 to i32 (i32, i32, i64, i64, ...)*)(i32 %108, i32 %109, i64 %110, i64 %111)
store i32 %112, i32* %11
br label %113
113: ; preds = %107, %78, %96, %85
%114 = load i32, i32* %11
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %119
116: ; preds = %113
%117 = load i32, i32* %11
%118 = sext i32 %117 to i64
store i64 %118, i64* %4
br label %135
119: ; preds = %113
%120 = load i64, i64* %5
%121 = load i64, i64* %6
%122 = call i32 (i64, i64, ...) bitcast (i32 (...)* @mc_clear_row to i32 (i64, i64, ...)*)(i64 %120, i64 %121)
br label %123
123: ; preds = %119, %106, %95, %84
%124 = load i32, i32* %9
%125 = add nsw i32 %124, 1
store i32 %125, i32* %9
br label %75
126: ; preds = %75
br label %127
127: ; preds = %126, %72, %66, %60
%128 = load i32, i32* %10
%129 = add nsw i32 %128, 1
store i32 %129, i32* %10
br label %51
130: ; preds = %51
br label %131
131: ; preds = %130, %48, %42, %36, %30, %24
%132 = load i32, i32* %8
%133 = add nsw i32 %132, 1
store i32 %133, i32* %8
br label %15
134: ; preds = %15
store i64 0, i64* %4
br label %135
135: ; preds = %134, %116
%136 = load i64, i64* %4
ret i64 %136
}

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 = %33, %32, %31, %30, %29, %27
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
}