#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 */
typedef int uint8_t;
typedef int uint64_t;

/* Variables and functions */
int draw_block4x4_rgtc1_shared(const unsigned char *bitstring,
                               unsigned int *image_buffer, int offset,
                               int flags) {
  uint64_t bits = (*(uint64_t *)&bitstring[0]) >> 16;
  int lum0 = bitstring[0];
  int lum1 = bitstring[1];
  for (int i = 0; i < 16; i++) {
    int control_code = bits & 0x7;
    uint8_t output;
    if (lum0 > lum1)
      switch (control_code) {
      case 0:
        output = lum0;
        break;
      case 1:
        output = lum1;
        break;
      case 2:
        output = (6 * lum0 + lum1) / 7;
        break;
      case 3:
        output = (5 * lum0 + 2 * lum1) / 7;
        break;
      case 4:
        output = (4 * lum0 + 3 * lum1) / 7;
        break;
      case 5:
        output = (3 * lum0 + 4 * lum1) / 7;
        break;
      case 6:
        output = (2 * lum0 + 5 * lum1) / 7;
        break;
      case 7:
        output = (lum0 + 6 * lum1) / 7;
        break;
      }
    else
      switch (control_code) {
      case 0:
        output = lum0;
        break;
      case 1:
        output = lum1;
        break;
      case 2:
        output = (4 * lum0 + lum1) / 5;
        break;
      case 3:
        output = (3 * lum0 + 2 * lum1) / 5;
        break;
      case 4:
        output = (2 * lum0 + 3 * lum1) / 5;
        break;
      case 5:
        output = (lum0 + 4 * lum1) / 5;
        break;
      case 6:
        output = 0;
        break;
      case 7:
        output = 0xFF;
        break;
      }
    *((uint8_t *)&image_buffer[i] + offset) = output;
    bits >>= 3;
  }
  return 1;
}


x86 assembly (clang, -O0):
<draw_block4x4_rgtc1_shared>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%eax
sar    $0x10,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
movzbl (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movzbl 0x1(%rax),%eax
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
cmpl   $0x10,-0x28(%rbp)
jge    1323 <draw_block4x4_rgtc1_shared+0x223>
mov    -0x1c(%rbp),%eax
and    $0x7,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x24(%rbp),%eax
jle    1234 <draw_block4x4_rgtc1_shared+0x134>
mov    -0x2c(%rbp),%eax
mov    %rax,-0x38(%rbp)
sub    $0x7,%rax
ja     122f <draw_block4x4_rgtc1_shared+0x12f>
mov    -0x38(%rbp),%rax
lea    0xeab(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x20(%rbp),%eax
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
mov    -0x24(%rbp),%eax
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
imul   $0x6,-0x20(%rbp),%eax
add    -0x24(%rbp),%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
imul   $0x5,-0x20(%rbp),%eax
mov    -0x24(%rbp),%ecx
shl    $0x1,%ecx
add    %ecx,%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
mov    -0x20(%rbp),%eax
shl    $0x2,%eax
imul   $0x3,-0x24(%rbp),%ecx
add    %ecx,%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
imul   $0x3,-0x20(%rbp),%eax
mov    -0x24(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
mov    -0x20(%rbp),%eax
shl    $0x1,%eax
imul   $0x5,-0x24(%rbp),%ecx
add    %ecx,%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    122f <draw_block4x4_rgtc1_shared+0x12f>
mov    -0x20(%rbp),%eax
imul   $0x6,-0x24(%rbp),%ecx
add    %ecx,%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    12f3 <draw_block4x4_rgtc1_shared+0x1f3>
mov    -0x2c(%rbp),%eax
mov    %rax,-0x40(%rbp)
sub    $0x7,%rax
ja     12ee <draw_block4x4_rgtc1_shared+0x1ee>
mov    -0x40(%rbp),%rax
lea    0xdb0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x20(%rbp),%eax
mov    %eax,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
mov    -0x24(%rbp),%eax
mov    %eax,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
mov    -0x20(%rbp),%eax
shl    $0x2,%eax
add    -0x24(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
imul   $0x3,-0x20(%rbp),%eax
mov    -0x24(%rbp),%ecx
shl    $0x1,%ecx
add    %ecx,%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
mov    -0x20(%rbp),%eax
shl    $0x1,%eax
imul   $0x3,-0x24(%rbp),%ecx
add    %ecx,%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
mov    -0x20(%rbp),%eax
mov    -0x24(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
movl   $0x0,-0x30(%rbp)
jmp    12ee <draw_block4x4_rgtc1_shared+0x1ee>
movl   $0xff,-0x30(%rbp)
jmp    12f3 <draw_block4x4_rgtc1_shared+0x1f3>
mov    -0x30(%rbp),%edx
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x14(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1c(%rbp),%eax
sar    $0x3,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    113a <draw_block4x4_rgtc1_shared+0x3a>
mov    $0x1,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<draw_block4x4_rgtc1_shared>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rsi,-0x18(%rsp)
mov    (%rdi),%r13d
movzbl %r13b,%ecx
mov    %r13d,%edi
shr    $0x8,%edi
movzbl %dil,%r10d
lea    (%r10,%r10,2),%esi
lea    (%rcx,%rcx,2),%ebx
lea    (%rcx,%rsi,2),%eax
imul   $0x2493,%eax,%ebp
shr    $0x10,%ebp
sub    %ebp,%eax
movzwl %ax,%r12d
shr    %r12d
add    %ebp,%r12d
lea    (%r10,%r10,4),%eax
lea    (%rax,%rcx,2),%eax
imul   $0x2493,%eax,%ebp
shr    $0x10,%ebp
sub    %ebp,%eax
movzwl %ax,%r14d
shr    %r14d
add    %ebp,%r14d
lea    (%rbx,%r10,4),%eax
mov    %rbx,%r8
mov    %rbx,-0x20(%rsp)
imul   $0x2493,%eax,%ebp
shr    $0x10,%ebp
sub    %ebp,%eax
movzwl %ax,%r15d
shr    %r15d
add    %ebp,%r15d
lea    (%rsi,%rcx,4),%eax
imul   $0x2493,%eax,%ebx
shr    $0x10,%ebx
sub    %ebx,%eax
movzwl %ax,%ebp
shr    %ebp
add    %ebx,%ebp
lea    (%rcx,%rcx,4),%eax
lea    (%rax,%r10,2),%eax
imul   $0x2493,%eax,%ebx
shr    $0x10,%ebx
sub    %ebx,%eax
movzwl %ax,%r9d
shr    %r9d
add    %ebx,%r9d
lea    (%r10,%r8,2),%eax
imul   $0x2493,%eax,%ebx
shr    $0x10,%ebx
sub    %ebx,%eax
movzwl %ax,%r8d
shr    %r8d
add    %ebx,%r8d
mov    %r13d,%eax
sar    $0x10,%eax
movslq %edx,%rdx
mov    -0x18(%rsp),%rbx
lea    (%rbx,%rdx,4),%rdx
lea    (%rcx,%r10,4),%ebx
imul   $0xcccd,%ebx,%r11d
shr    $0x12,%r11d
lea    (%rsi,%rcx,2),%ebx
imul   $0xcccd,%ebx,%esi
shr    $0x12,%esi
mov    -0x20(%rsp),%rbx
lea    (%rbx,%r10,2),%ebx
imul   $0xcccd,%ebx,%ebx
shr    $0x12,%ebx
mov    %ebx,-0x18(%rsp)
lea    (%r10,%rcx,4),%ebx
imul   $0xcccd,%ebx,%ebx
shr    $0x12,%ebx
mov    %ebx,-0x20(%rsp)
movzwl %r12w,%ebx
shr    $0x2,%ebx
mov    %ebx,-0x8(%rsp)
movzwl %r14w,%ebx
shr    $0x2,%ebx
mov    %ebx,-0xc(%rsp)
movzwl %r15w,%ebx
shr    $0x2,%ebx
mov    %ebx,-0x10(%rsp)
movzwl %bp,%ebx
shr    $0x2,%ebx
mov    %ebx,-0x4(%rsp)
movzwl %r9w,%ebp
shr    $0x2,%ebp
movzwl %r8w,%r14d
mov    %r11d,%r8d
mov    %r10,%r11
shr    $0x2,%r14d
xor    %r9d,%r9d
lea    0xdbc(%rip),%r10
lea    0xd95(%rip),%r15
jmp    1281 <draw_block4x4_rgtc1_shared+0x181>
mov    %r11d,%r12d
mov    %r12d,(%rdx,%r9,4)
sar    $0x3,%eax
add    $0x1,%r9
cmp    $0x10,%r9
je     12f5 <draw_block4x4_rgtc1_shared+0x1f5>
mov    %eax,%ebx
and    $0x7,%ebx
mov    %ebx,%ebx
cmp    %dil,%r13b
jbe    12a0 <draw_block4x4_rgtc1_shared+0x1a0>
movslq (%r10,%rbx,4),%rbx
add    %r10,%rbx
mov    %ecx,%r12d
jmp    *%rbx
mov    %r14d,%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
xchg   %ax,%ax
movslq (%r15,%rbx,4),%rbx
add    %r15,%rbx
mov    %ecx,%r12d
jmp    *%rbx
mov    -0x20(%rsp),%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    %ebp,%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    -0x4(%rsp),%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    -0x18(%rsp),%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    %esi,%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    -0x10(%rsp),%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    -0xc(%rsp),%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    -0x8(%rsp),%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    %r8d,%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
xor    %r12d,%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    $0xff,%r12d
jmp    1270 <draw_block4x4_rgtc1_shared+0x170>
mov    $0x1,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define i32 @draw_block4x4_rgtc1_shared(i8* nocapture %0, i32* nocapture writeonly %1, i32 %2, i32 %3) {
%5 = bitcast i8* %0 to i32*
%6 = load i32, i32* %5
%7 = ashr i32 %6, 16
%8 = trunc i32 %6 to i8
%9 = and i32 %6, 255
%10 = lshr i32 %6, 8
%11 = trunc i32 %10 to i8
%12 = and i32 %10, 255
%13 = icmp ugt i8 %8, %11
%14 = shl nuw nsw i32 %12, 2
%15 = add nuw nsw i32 %14, %9
%16 = trunc i32 %15 to i16
%17 = udiv i16 %16, 5
%18 = zext i16 %17 to i32
%19 = shl nuw nsw i32 %9, 1
%20 = mul nuw nsw i32 %12, 3
%21 = add nuw nsw i32 %20, %19
%22 = trunc i32 %21 to i16
%23 = udiv i16 %22, 5
%24 = zext i16 %23 to i32
%25 = mul nuw nsw i32 %9, 3
%26 = shl nuw nsw i32 %12, 1
%27 = add nuw nsw i32 %26, %25
%28 = trunc i32 %27 to i16
%29 = udiv i16 %28, 5
%30 = zext i16 %29 to i32
%31 = shl nuw nsw i32 %9, 2
%32 = add nuw nsw i32 %31, %12
%33 = trunc i32 %32 to i16
%34 = udiv i16 %33, 5
%35 = zext i16 %34 to i32
%36 = mul nuw nsw i32 %12, 6
%37 = add nuw nsw i32 %36, %9
%38 = trunc i32 %37 to i16
%39 = udiv i16 %38, 7
%40 = zext i16 %39 to i32
%41 = mul nuw nsw i32 %12, 5
%42 = add nuw nsw i32 %41, %19
%43 = trunc i32 %42 to i16
%44 = udiv i16 %43, 7
%45 = zext i16 %44 to i32
%46 = add nuw nsw i32 %14, %25
%47 = trunc i32 %46 to i16
%48 = udiv i16 %47, 7
%49 = zext i16 %48 to i32
%50 = add nuw nsw i32 %20, %31
%51 = trunc i32 %50 to i16
%52 = udiv i16 %51, 7
%53 = zext i16 %52 to i32
%54 = mul nuw nsw i32 %9, 5
%55 = add nuw nsw i32 %26, %54
%56 = trunc i32 %55 to i16
%57 = udiv i16 %56, 7
%58 = zext i16 %57 to i32
%59 = mul nuw nsw i32 %9, 6
%60 = add nuw nsw i32 %59, %12
%61 = trunc i32 %60 to i16
%62 = udiv i16 %61, 7
%63 = zext i16 %62 to i32
%64 = sext i32 %2 to i64
%65 = getelementptr inbounds i32, i32* %1, i64 %64
br label %67
66: ; preds = %89
ret i32 1
67: ; preds = %4, %89
%68 = phi i64 [ 0, %4 ], [ %93, %89 ]
%69 = phi i32 [ %7, %4 ], [ %92, %89 ]
%70 = and i32 %69, 7
br i1 %13, label %71, label %79
71: ; preds = %67
switch i32 %70, label %87 [
i32 0, label %89
i32 1, label %72
i32 2, label %73
i32 3, label %74
i32 4, label %75
i32 5, label %76
i32 6, label %77
i32 7, label %78
]
72: ; preds = %71
br label %89
73: ; preds = %71
br label %89
74: ; preds = %71
br label %89
75: ; preds = %71
br label %89
76: ; preds = %71
br label %89
77: ; preds = %71
br label %89
78: ; preds = %71
br label %89
79: ; preds = %67
switch i32 %70, label %88 [
i32 0, label %89
i32 1, label %80
i32 2, label %81
i32 3, label %82
i32 4, label %83
i32 5, label %84
i32 6, label %85
i32 7, label %86
]
80: ; preds = %79
br label %89
81: ; preds = %79
br label %89
82: ; preds = %79
br label %89
83: ; preds = %79
br label %89
84: ; preds = %79
br label %89
85: ; preds = %79
br label %89
86: ; preds = %79
br label %89
87: ; preds = %71
unreachable
88: ; preds = %79
unreachable
89: ; preds = %79, %71, %80, %81, %82, %83, %84, %85, %86, %72, %73, %74, %75, %76, %77, %78
%90 = phi i32 [ %40, %78 ], [ %45, %77 ], [ %49, %76 ], [ %53, %75 ], [ %58, %74 ], [ %63, %73 ], [ %12, %72 ], [ 255, %86 ], [ 0, %85 ], [ %18, %84 ], [ %24, %83 ], [ %30, %82 ], [ %35, %81 ], [ %12, %80 ], [ %9, %71 ], [ %9, %79 ]
%91 = getelementptr inbounds i32, i32* %65, i64 %68
store i32 %90, i32* %91
%92 = ashr i32 %69, 3
%93 = add nuw nsw i64 %68, 1
%94 = icmp eq i64 %93, 16
br i1 %94, label %66, label %67
}