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

/* Variables and functions */
int gfmul(int, int);
int gfpow(int, int);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  int i, j, k;
  uint8_t v;
  uint8_t exptbl[256], invtbl[256];
  printf("#include \"raid6.h\"\n");
  printf("\nconst u8  __attribute__((aligned(256)))\n"
         "raid6_gfmul[256][256] =\n"
         "{\n");
  for (i = 0; i < 256; i++) {
    printf("\t{\n");
    for (j = 0; j < 256; j += 8) {
      printf("\t\t");
      for (k = 0; k < 8; k++) {
        printf("0x%02x, ", gfmul(i, j + k));
      }
      printf("\n");
    }
    printf("\t},\n");
  }
  printf("};\n");
  v = 1;
  printf("\nconst u8 __attribute__((aligned(256)))\n"
         "raid6_gfexp[256] =\n"
         "{\n");
  for (i = 0; i < 256; i += 8) {
    printf("\t");
    for (j = 0; j < 8; j++) {
      exptbl[i + j] = v;
      printf("0x%02x, ", v);
      v = gfmul(v, 2);
      if (v == 1)
        v = 0;
    }
    printf("\n");
  }
  printf("};\n");
  printf("\nconst u8 __attribute__((aligned(256)))\n"
         "raid6_gfinv[256] =\n"
         "{\n");
  for (i = 0; i < 256; i += 8) {
    printf("\t");
    for (j = 0; j < 8; j++) {
      invtbl[i + j] = v = gfpow(i + j, 254);
      printf("0x%02x, ", v);
    }
    printf("\n");
  }
  printf("};\n");
  printf("\nconst u8 __attribute__((aligned(256)))\n"
         "raid6_gfexi[256] =\n"
         "{\n");
  for (i = 0; i < 256; i += 8) {
    printf("\t");
    for (j = 0; j < 8; j++) {
      printf("0x%02x, ", invtbl[exptbl[i + j] ^ 1]);
    }
    printf("\n");
  }
  printf("};\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x820,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    121e <main+0xee>
lea    0xed8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    1202 <main+0xd2>
lea    0xeba(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    11e6 <main+0xb6>
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
add    -0x1c(%rbp),%esi
call   1050 <gfmul@plt>
mov    %eax,%esi
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11b0 <main+0x80>
lea    0xf41(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    118e <main+0x5e>
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    116c <main+0x3c>
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x20(%rbp)
lea    0xe37(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    12e7 <main+0x1b7>
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    12cb <main+0x19b>
mov    -0x20(%rbp),%ecx
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
cltq
mov    %ecx,-0x420(%rbp,%rax,4)
mov    -0x20(%rbp),%esi
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%edi
mov    $0x2,%esi
call   1050 <gfmul@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x1,-0x20(%rbp)
jne    12b8 <main+0x188>
movl   $0x0,-0x20(%rbp)
jmp    12bd <main+0x18d>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    126a <main+0x13a>
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1248 <main+0x118>
lea    0xd7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1395 <main+0x265>
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1379 <main+0x249>
mov    -0x14(%rbp),%edi
add    -0x18(%rbp),%edi
mov    $0xfe,%esi
call   1040 <gfpow@plt>
mov    %eax,%ecx
mov    %ecx,-0x20(%rbp)
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
cltq
mov    %ecx,-0x820(%rbp,%rax,4)
mov    -0x20(%rbp),%esi
lea    0xcfb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    132c <main+0x1fc>
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    130a <main+0x1da>
lea    0xcd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1437 <main+0x307>
lea    0xc91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    141b <main+0x2eb>
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
cltq
mov    -0x420(%rbp,%rax,4),%eax
xor    $0x1,%eax
cltq
mov    -0x820(%rbp,%rax,4),%esi
lea    0xc59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13da <main+0x2aa>
lea    0xd0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    13b8 <main+0x288>
lea    0xced(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x820,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x808,%rsp
lea    0xea4(%rip),%rdi
call   1040 <puts@plt>
lea    0xeab(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa0(%rip),%r14
lea    0xe79(%rip),%r15
lea    0xe75(%rip),%r13
lea    0xf8e(%rip),%r12
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x2(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x3(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x5(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x6(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x7(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x8(%rbx),%eax
cmp    $0xf8,%ebx
mov    %eax,%ebx
jb     11b0 <main+0x60>
mov    %r12,%rdi
call   1040 <puts@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    11a0 <main+0x50>
lea    0xe3a(%rip),%rdi
call   1040 <puts@plt>
lea    0xdb4(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0xd3d(%rip),%r14
xor    %r15d,%r15d
nopl   0x0(%rax)
mov    $0x9,%edi
call   1030 <putchar@plt>
mov    %ebp,0x420(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x424(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x428(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x42c(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x430(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x434(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x438(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x43c(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x8,%rbx
cmp    $0xf8,%rbx
jb     12d0 <main+0x180>
lea    0xca0(%rip),%rdi
call   1040 <puts@plt>
lea    0xc57(%rip),%rdi
call   1040 <puts@plt>
lea    0xbaf(%rip),%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
mov    $0x9,%edi
call   1030 <putchar@plt>
mov    %ebp,%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0x4(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x2(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0x8(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x3(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0xc(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0x10(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x5(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0x14(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x6(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0x18(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x7(%rbp),%edi
mov    $0xfe,%esi
call   1060 <gfpow@plt>
mov    %eax,0x1c(%rsp,%rbp,4)
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x8(%rbp),%rax
cmp    $0xf8,%rbp
mov    %rax,%rbp
jb     1460 <main+0x310>
lea    0xb67(%rip),%rdi
call   1040 <puts@plt>
lea    0xb5e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0xa6f(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0x9,%edi
call   1030 <putchar@plt>
movslq 0x420(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x424(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x428(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x42c(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x430(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x434(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x438(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x43c(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x8,%rbp
cmp    $0xf8,%rbp
jb     15a0 <main+0x450>
lea    0xa88(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x808,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str.3 = [3 x i8] c"\09\09\00"
@.str.4 = [9 x i8] c"0x%02x, \00"
@str = [19 x i8] c"#include \22raid6.h\22\00"
@str.13 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\00"
@str.15 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\00"
@str.17 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\00"
@str.18 = [3 x i8] c"};\00"
@str.19 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\00"
@str.20 = [4 x i8] c"};\0A\00"
@str.21 = [3 x i8] c"\09{\00"
@str.22 = [4 x i8] c"\09},\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [256 x i32]
%4 = alloca [256 x i32]
%5 = bitcast [256 x i32]* %3 to i8*
%6 = bitcast [256 x i32]* %4 to i8*
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.13, i64 0, i64 0))
br label %9
9: ; preds = %2, %41
%10 = phi i32 [ 0, %2 ], [ %43, %41 ]
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
br label %12
12: ; preds = %9, %12
%13 = phi i32 [ 0, %9 ], [ %39, %12 ]
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%15 = tail call i32 @gfmul(i32 %10, i32 %13)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %15)
%17 = or i32 %13, 1
%18 = tail call i32 @gfmul(i32 %10, i32 %17)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %18)
%20 = or i32 %13, 2
%21 = tail call i32 @gfmul(i32 %10, i32 %20)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %21)
%23 = or i32 %13, 3
%24 = tail call i32 @gfmul(i32 %10, i32 %23)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %24)
%26 = or i32 %13, 4
%27 = tail call i32 @gfmul(i32 %10, i32 %26)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %27)
%29 = or i32 %13, 5
%30 = tail call i32 @gfmul(i32 %10, i32 %29)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %30)
%32 = or i32 %13, 6
%33 = tail call i32 @gfmul(i32 %10, i32 %32)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%35 = or i32 %13, 7
%36 = tail call i32 @gfmul(i32 %10, i32 %35)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %36)
%38 = tail call i32 @putchar(i32 10)
%39 = add nuw nsw i32 %13, 8
%40 = icmp ult i32 %13, 248
br i1 %40, label %12, label %41
41: ; preds = %12
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.22, i64 0, i64 0))
%43 = add nuw nsw i32 %10, 1
%44 = icmp eq i32 %43, 256
br i1 %44, label %45, label %9
45: ; preds = %41
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.18, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.15, i64 0, i64 0))
br label %48
48: ; preds = %45, %48
%49 = phi i64 [ 0, %45 ], [ %100, %48 ]
%50 = phi i32 [ 1, %45 ], [ %98, %48 ]
%51 = tail call i32 @putchar(i32 9)
%52 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %49
store i32 %50, i32* %52
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %50)
%54 = tail call i32 @gfmul(i32 %50, i32 2)
%55 = icmp eq i32 %54, 1
%56 = select i1 %55, i32 0, i32 %54
%57 = or i64 %49, 1
%58 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %57
store i32 %56, i32* %58
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %56)
%60 = tail call i32 @gfmul(i32 %56, i32 2)
%61 = icmp eq i32 %60, 1
%62 = select i1 %61, i32 0, i32 %60
%63 = or i64 %49, 2
%64 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %63
store i32 %62, i32* %64
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %62)
%66 = tail call i32 @gfmul(i32 %62, i32 2)
%67 = icmp eq i32 %66, 1
%68 = select i1 %67, i32 0, i32 %66
%69 = or i64 %49, 3
%70 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %69
store i32 %68, i32* %70
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %68)
%72 = tail call i32 @gfmul(i32 %68, i32 2)
%73 = icmp eq i32 %72, 1
%74 = select i1 %73, i32 0, i32 %72
%75 = or i64 %49, 4
%76 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %75
store i32 %74, i32* %76
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %74)
%78 = tail call i32 @gfmul(i32 %74, i32 2)
%79 = icmp eq i32 %78, 1
%80 = select i1 %79, i32 0, i32 %78
%81 = or i64 %49, 5
%82 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %81
store i32 %80, i32* %82
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %80)
%84 = tail call i32 @gfmul(i32 %80, i32 2)
%85 = icmp eq i32 %84, 1
%86 = select i1 %85, i32 0, i32 %84
%87 = or i64 %49, 6
%88 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %87
store i32 %86, i32* %88
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %86)
%90 = tail call i32 @gfmul(i32 %86, i32 2)
%91 = icmp eq i32 %90, 1
%92 = select i1 %91, i32 0, i32 %90
%93 = or i64 %49, 7
%94 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %93
store i32 %92, i32* %94
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %92)
%96 = tail call i32 @gfmul(i32 %92, i32 2)
%97 = icmp eq i32 %96, 1
%98 = select i1 %97, i32 0, i32 %96
%99 = tail call i32 @putchar(i32 10)
%100 = add nuw nsw i64 %49, 8
%101 = icmp ult i64 %49, 248
br i1 %101, label %48, label %102
102: ; preds = %48
%103 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.18, i64 0, i64 0))
%104 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.17, i64 0, i64 0))
br label %105
105: ; preds = %102, %105
%106 = phi i64 [ 0, %102 ], [ %148, %105 ]
%107 = tail call i32 @putchar(i32 9)
%108 = trunc i64 %106 to i32
%109 = tail call i32 @gfpow(i32 %108, i32 254)
%110 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %106
store i32 %109, i32* %110
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %109)
%112 = or i64 %106, 1
%113 = trunc i64 %112 to i32
%114 = tail call i32 @gfpow(i32 %113, i32 254)
%115 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %112
store i32 %114, i32* %115
%116 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %114)
%117 = or i64 %106, 2
%118 = trunc i64 %117 to i32
%119 = tail call i32 @gfpow(i32 %118, i32 254)
%120 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %117
store i32 %119, i32* %120
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %119)
%122 = or i64 %106, 3
%123 = trunc i64 %122 to i32
%124 = tail call i32 @gfpow(i32 %123, i32 254)
%125 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %122
store i32 %124, i32* %125
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %124)
%127 = or i64 %106, 4
%128 = trunc i64 %127 to i32
%129 = tail call i32 @gfpow(i32 %128, i32 254)
%130 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %127
store i32 %129, i32* %130
%131 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %129)
%132 = or i64 %106, 5
%133 = trunc i64 %132 to i32
%134 = tail call i32 @gfpow(i32 %133, i32 254)
%135 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %132
store i32 %134, i32* %135
%136 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %134)
%137 = or i64 %106, 6
%138 = trunc i64 %137 to i32
%139 = tail call i32 @gfpow(i32 %138, i32 254)
%140 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %137
store i32 %139, i32* %140
%141 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %139)
%142 = or i64 %106, 7
%143 = trunc i64 %142 to i32
%144 = tail call i32 @gfpow(i32 %143, i32 254)
%145 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %142
store i32 %144, i32* %145
%146 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %144)
%147 = tail call i32 @putchar(i32 10)
%148 = add nuw nsw i64 %106, 8
%149 = icmp ult i64 %106, 248
br i1 %149, label %105, label %150
150: ; preds = %105
%151 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.18, i64 0, i64 0))
%152 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.19, i64 0, i64 0))
br label %153
153: ; preds = %150, %153
%154 = phi i64 [ 0, %150 ], [ %220, %153 ]
%155 = tail call i32 @putchar(i32 9)
%156 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %154
%157 = load i32, i32* %156
%158 = xor i32 %157, 1
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %159
%161 = load i32, i32* %160
%162 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %161)
%163 = or i64 %154, 1
%164 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %163
%165 = load i32, i32* %164
%166 = xor i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %167
%169 = load i32, i32* %168
%170 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %169)
%171 = or i64 %154, 2
%172 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %171
%173 = load i32, i32* %172
%174 = xor i32 %173, 1
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %175
%177 = load i32, i32* %176
%178 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %177)
%179 = or i64 %154, 3
%180 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %179
%181 = load i32, i32* %180
%182 = xor i32 %181, 1
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %183
%185 = load i32, i32* %184
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %185)
%187 = or i64 %154, 4
%188 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %187
%189 = load i32, i32* %188
%190 = xor i32 %189, 1
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %191
%193 = load i32, i32* %192
%194 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %193)
%195 = or i64 %154, 5
%196 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %195
%197 = load i32, i32* %196
%198 = xor i32 %197, 1
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %199
%201 = load i32, i32* %200
%202 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %201)
%203 = or i64 %154, 6
%204 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %203
%205 = load i32, i32* %204
%206 = xor i32 %205, 1
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %207
%209 = load i32, i32* %208
%210 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %209)
%211 = or i64 %154, 7
%212 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %211
%213 = load i32, i32* %212
%214 = xor i32 %213, 1
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %215
%217 = load i32, i32* %216
%218 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %217)
%219 = tail call i32 @putchar(i32 10)
%220 = add nuw nsw i64 %154, 8
%221 = icmp ult i64 %154, 248
br i1 %221, label %153, label %222
222: ; preds = %153
%223 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.20, i64 0, i64 0))
ret i32 0
}