#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 uint32_t;

/* Variables and functions */
int /*<<< orphan*/ compute_smix(int *, int *, int *, int *, int *);
int /*<<< orphan*/ make_table(int *, int, int, int, int);
int /*<<< orphan*/ print_table(char *, int *, int);
int /*<<< orphan*/ printf(char *, ...);
void make_tables(int java) {
  uint32_t tab0[256], tab1[256], tab2[256], tab3[256];
  uint32_t N[4][16];
  int i, j;
  make_table(tab0, 1, 1, 7, 4);
  make_table(tab1, 4, 1, 1, 7);
  make_table(tab2, 7, 4, 1, 1);
  make_table(tab3, 1, 7, 4, 1);
  for (j = 0; j < 16; j++) {
    uint32_t x[4];
    for (i = 0; i < 4; i++)
      x[i] = 0x52525252;
    x[j / 4] -= (73 << (8 * (3 - (j % 4))));
    compute_smix(tab0, tab1, tab2, tab3, x);
    N[0][j] = x[0];
    N[1][j] = x[1];
    N[2][j] = x[2];
    N[3][j] = x[3];
  }
  print_table("mixtab0", tab0, java);
  print_table("mixtab1", tab1, java);
  print_table("mixtab2", tab2, java);
  print_table("mixtab3", tab3, java);
  printf("\n");
  printf("/*\n");
  for (i = 0; i < 16; i++) {
    if (i != 0 && i % 4 == 0)
      printf("\n");
    for (j = 0; j < 16; j++) {
      if (j % 4 == 0)
        printf(" ");
      printf(" %u", (unsigned)(N[i / 4][j] >> (8 * (3 - (i % 4)))) & 0xFF);
    }
    printf("\n");
  }
  printf("*/\n");
}


x86 assembly (clang, -O0):
<make_tables>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1140,%rsp
mov    %edi,-0x4(%rbp)
lea    -0x410(%rbp),%rdi
mov    $0x1,%edx
mov    $0x7,%ecx
mov    $0x4,%r8d
mov    %edx,%esi
call   1040 <make_table@plt>
lea    -0x810(%rbp),%rdi
mov    $0x4,%esi
mov    $0x1,%ecx
mov    $0x7,%r8d
mov    %ecx,%edx
call   1040 <make_table@plt>
lea    -0xc10(%rbp),%rdi
mov    $0x7,%esi
mov    $0x4,%edx
mov    $0x1,%r8d
mov    %r8d,%ecx
call   1040 <make_table@plt>
lea    -0x1010(%rbp),%rdi
mov    $0x1,%r8d
mov    $0x7,%edx
mov    $0x4,%ecx
mov    %r8d,%esi
call   1040 <make_table@plt>
movl   $0x0,-0x1118(%rbp)
cmpl   $0x10,-0x1118(%rbp)
jge    12f3 <make_tables+0x1b3>
movl   $0x0,-0x1114(%rbp)
cmpl   $0x4,-0x1114(%rbp)
jge    121c <make_tables+0xdc>
movslq -0x1114(%rbp),%rax
movl   $0x52525252,-0x1130(%rbp,%rax,4)
52 52 52 52
mov    -0x1114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1114(%rbp)
jmp    11e9 <make_tables+0xa9>
mov    -0x1118(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    $0x3,%ecx
sub    %edx,%ecx
shl    $0x3,%ecx
mov    $0x49,%eax
shl    %cl,%eax
mov    %eax,-0x1134(%rbp)
mov    -0x1118(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    -0x1134(%rbp),%edx
cltq
mov    -0x1130(%rbp,%rax,4),%ecx
sub    %edx,%ecx
mov    %ecx,-0x1130(%rbp,%rax,4)
lea    -0x410(%rbp),%rdi
lea    -0x810(%rbp),%rsi
lea    -0xc10(%rbp),%rdx
lea    -0x1010(%rbp),%rcx
lea    -0x1130(%rbp),%r8
call   1060 <compute_smix@plt>
mov    -0x1130(%rbp),%ecx
movslq -0x1118(%rbp),%rax
mov    %ecx,-0x1110(%rbp,%rax,4)
mov    -0x112c(%rbp),%ecx
movslq -0x1118(%rbp),%rax
mov    %ecx,-0x10d0(%rbp,%rax,4)
mov    -0x1128(%rbp),%ecx
movslq -0x1118(%rbp),%rax
mov    %ecx,-0x1090(%rbp,%rax,4)
mov    -0x1124(%rbp),%ecx
movslq -0x1118(%rbp),%rax
mov    %ecx,-0x1050(%rbp,%rax,4)
mov    -0x1118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1118(%rbp)
jmp    11d2 <make_tables+0x92>
lea    -0x410(%rbp),%rsi
mov    -0x4(%rbp),%edx
lea    0xcfc(%rip),%rdi
call   1030 <print_table@plt>
lea    -0x810(%rbp),%rsi
mov    -0x4(%rbp),%edx
lea    0xcee(%rip),%rdi
call   1030 <print_table@plt>
lea    -0xc10(%rbp),%rsi
mov    -0x4(%rbp),%edx
lea    0xce0(%rip),%rdi
call   1030 <print_table@plt>
lea    -0x1010(%rbp),%rsi
mov    -0x4(%rbp),%edx
lea    0xcd2(%rip),%rdi
call   1030 <print_table@plt>
lea    0xcd0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcc0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x1114(%rbp)
cmpl   $0x10,-0x1114(%rbp)
jge    1479 <make_tables+0x339>
cmpl   $0x0,-0x1114(%rbp)
je     13b0 <make_tables+0x270>
mov    -0x1114(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    13b0 <make_tables+0x270>
lea    0xc79(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x1118(%rbp)
cmpl   $0x10,-0x1118(%rbp)
jge    1457 <make_tables+0x317>
mov    -0x1118(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    13ec <make_tables+0x2ac>
lea    0xc3f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1114(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
movslq %eax,%rcx
lea    -0x1110(%rbp),%rax
shl    $0x6,%rcx
add    %rcx,%rax
movslq -0x1118(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
mov    -0x1114(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    $0x3,%ecx
sub    %edx,%ecx
shl    $0x3,%ecx
sar    %cl,%esi
and    $0xff,%esi
lea    0xbea(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1118(%rbp)
jmp    13ba <make_tables+0x27a>
lea    0xbc4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1114(%rbp)
jmp    1371 <make_tables+0x231>
lea    0xbaa(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0x1140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<make_tables>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1128,%rsp
mov    %edi,0xc(%rsp)
lea    0x120(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0x7,%ecx
mov    $0x4,%r8d
call   1060 <make_table@plt>
lea    0xd20(%rsp),%r12
mov    %r12,%rdi
mov    $0x4,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
mov    $0x7,%r8d
call   1060 <make_table@plt>
lea    0x920(%rsp),%r13
mov    %r13,%rdi
mov    $0x7,%esi
mov    $0x4,%edx
mov    $0x1,%ecx
mov    $0x1,%r8d
call   1060 <make_table@plt>
lea    0x520(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x1,%esi
mov    $0x7,%edx
mov    $0x4,%ecx
mov    $0x1,%r8d
call   1060 <make_table@plt>
xor    %r14d,%r14d
lea    0x10(%rsp),%rbx
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movaps 0xdd9(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
mov    %r14d,%ecx
not    %cl
and    $0x18,%cl
mov    $0xffffffb7,%eax
shl    %cl,%eax
mov    %r15d,%ecx
and    $0xfffffffc,%ecx
add    %eax,0x10(%rsp,%rcx,1)
lea    0x120(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %rbx,%r8
call   1080 <compute_smix@plt>
mov    0x10(%rsp),%eax
mov    0x14(%rsp),%ecx
mov    %eax,0x20(%rsp,%r15,4)
mov    %ecx,0x60(%rsp,%r15,4)
mov    0x18(%rsp),%eax
mov    %eax,0xa0(%rsp,%r15,4)
mov    0x1c(%rsp),%eax
mov    %eax,0xe0(%rsp,%r15,4)
add    $0x1,%r15
add    $0x8,%r14d
cmp    $0x10,%r15
jne    1220 <make_tables+0xc0>
lea    0xd73(%rip),%rdi
lea    0x120(%rsp),%rsi
mov    0xc(%rsp),%ebx
mov    %ebx,%edx
call   1040 <print_table@plt>
lea    0xd61(%rip),%rdi
lea    0xd20(%rsp),%rsi
mov    %ebx,%edx
call   1040 <print_table@plt>
lea    0xd53(%rip),%rdi
lea    0x920(%rsp),%rsi
mov    %ebx,%edx
call   1040 <print_table@plt>
lea    0xd45(%rip),%rdi
lea    0x520(%rsp),%rsi
mov    %ebx,%edx
call   1040 <print_table@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd31(%rip),%rdi
call   1050 <puts@plt>
lea    0xd21(%rip),%r15
xor    %r14d,%r14d
jmp    1334 <make_tables+0x1d4>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
cmp    $0x10,%r14d
je     13a0 <make_tables+0x240>
mov    %r14,%rbx
shl    $0x4,%rbx
and    $0xffffffffffffffc0,%rbx
test   %r14d,%r14d
je     1356 <make_tables+0x1f6>
mov    %r14d,%eax
and    $0x3,%eax
jne    1356 <make_tables+0x1f6>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    (%rsp,%rbx,1),%r12
add    $0x20,%r12
lea    0x0(,%r14,8),%ebp
not    %ebp
and    $0x18,%ebp
xor    %ebx,%ebx
jmp    138f <make_tables+0x22f>
nop
mov    (%r12,%rbx,4),%eax
mov    %ebp,%ecx
sar    %cl,%eax
movzbl %al,%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%rbx
cmp    $0x10,%rbx
je     1320 <make_tables+0x1c0>
test   $0x3,%bl
jne    1370 <make_tables+0x210>
mov    $0x20,%edi
call   1030 <putchar@plt>
jmp    1370 <make_tables+0x210>
lea    0xc90(%rip),%rdi
call   1050 <puts@plt>
add    $0x1128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [8 x i8] c"mixtab0\00"
@.str.1 = [8 x i8] c"mixtab1\00"
@.str.2 = [8 x i8] c"mixtab2\00"
@.str.3 = [8 x i8] c"mixtab3\00"
@.str.7 = [4 x i8] c" %u\00"
@str = [3 x i8] c"/*\00"
@str.9 = [3 x i8] c"*/\00"
define void @make_tables(i32 %0) {
%2 = alloca [256 x i32]
%3 = alloca [256 x i32]
%4 = alloca [256 x i32]
%5 = alloca [256 x i32]
%6 = alloca [4 x [16 x i32]]
%7 = alloca [4 x i32]
%8 = bitcast [4 x i32]* %7 to i8*
%9 = bitcast [256 x i32]* %2 to i8*
%10 = bitcast [256 x i32]* %3 to i8*
%11 = bitcast [256 x i32]* %4 to i8*
%12 = bitcast [256 x i32]* %5 to i8*
%13 = bitcast [4 x [16 x i32]]* %6 to i8*
%14 = getelementptr inbounds [256 x i32], [256 x i32]* %2, i64 0, i64 0
%15 = call i32 @make_table(i32* %14, i32 1, i32 1, i32 7, i32 4)
%16 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 0
%17 = call i32 @make_table(i32* %16, i32 4, i32 1, i32 1, i32 7)
%18 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 0
%19 = call i32 @make_table(i32* %18, i32 7, i32 4, i32 1, i32 1)
%20 = getelementptr inbounds [256 x i32], [256 x i32]* %5, i64 0, i64 0
%21 = call i32 @make_table(i32* %20, i32 1, i32 7, i32 4, i32 1)
%22 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 0
%23 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 1
%24 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 2
%25 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 3
br label %26
26: ; preds = %1, %26
%27 = phi i64 [ 0, %1 ], [ %47, %26 ]
%28 = trunc i64 %27 to i32
%29 = shl i32 %28, 3
%30 = and i32 %29, 24
%31 = xor i32 %30, 24
%32 = shl i32 -73, %31
%33 = lshr i64 %27, 2
%34 = and i64 %33, 1073741823
%35 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 %34
%36 = load i32, i32* %35
%37 = add i32 %36, %32
store i32 %37, i32* %35
%38 = call i32 @compute_smix(i32* %14, i32* %16, i32* %18, i32* %20, i32* %22)
%39 = load i32, i32* %22
%40 = getelementptr inbounds [4 x [16 x i32]], [4 x [16 x i32]]* %6, i64 0, i64 0, i64 %27
store i32 %39, i32* %40
%41 = load i32, i32* %23
%42 = getelementptr inbounds [4 x [16 x i32]], [4 x [16 x i32]]* %6, i64 0, i64 1, i64 %27
store i32 %41, i32* %42
%43 = load i32, i32* %24
%44 = getelementptr inbounds [4 x [16 x i32]], [4 x [16 x i32]]* %6, i64 0, i64 2, i64 %27
store i32 %43, i32* %44
%45 = load i32, i32* %25
%46 = getelementptr inbounds [4 x [16 x i32]], [4 x [16 x i32]]* %6, i64 0, i64 3, i64 %27
store i32 %45, i32* %46
%47 = add nuw nsw i64 %27, 1
%48 = icmp eq i64 %47, 16
br i1 %48, label %49, label %26
49: ; preds = %26
%50 = call i32 @print_table(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32* %14, i32 %0)
%51 = call i32 @print_table(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32* %16, i32 %0)
%52 = call i32 @print_table(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32* %18, i32 %0)
%53 = call i32 @print_table(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32* %20, i32 %0)
%54 = call i32 @putchar(i32 10)
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
br label %56
56: ; preds = %49, %84
%57 = phi i32 [ 0, %49 ], [ %86, %84 ]
%58 = icmp ne i32 %57, 0
%59 = and i32 %57, 3
%60 = icmp eq i32 %59, 0
%61 = and i1 %58, %60
br i1 %61, label %62, label %64
62: ; preds = %56
%63 = call i32 @putchar(i32 10)
br label %64
64: ; preds = %62, %56
%65 = lshr i32 %57, 2
%66 = zext i32 %65 to i64
%67 = shl i32 %57, 3
%68 = and i32 %67, 24
%69 = xor i32 %68, 24
br label %70
70: ; preds = %64, %76
%71 = phi i64 [ 0, %64 ], [ %82, %76 ]
%72 = and i64 %71, 3
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 @putchar(i32 32)
br label %76
76: ; preds = %74, %70
%77 = getelementptr inbounds [4 x [16 x i32]], [4 x [16 x i32]]* %6, i64 0, i64 %66, i64 %71
%78 = load i32, i32* %77
%79 = ashr i32 %78, %69
%80 = and i32 %79, 255
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %80)
%82 = add nuw nsw i64 %71, 1
%83 = icmp eq i64 %82, 16
br i1 %83, label %84, label %70
84: ; preds = %76
%85 = call i32 @putchar(i32 10)
%86 = add nuw nsw i32 %57, 1
%87 = icmp eq i32 %86, 16
br i1 %87, label %88, label %56
88: ; preds = %84
%89 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.9, i64 0, i64 0))
ret void
}