#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,%c", gfmul(i, j + k), (k == 7) ? '\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,%c", v, (j == 7) ? '\n' : ' ');
      v = gfmul(v, 2);
      if (v == 1)
        v = 0;
    }
  }
  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,%c", v, (j == 7) ? '\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,%c", invtbl[exptbl[i + j] ^ 1], (j == 7) ? '\n' : ' ');
  }
  printf("};\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    1228 <main+0xf8>
lea    0xed8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    120c <main+0xdc>
lea    0xeba(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    11f9 <main+0xc9>
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
add    -0x1c(%rbp),%esi
call   1050 <gfmul@plt>
mov    %eax,%esi
mov    -0x1c(%rbp),%ecx
mov    $0x20,%edx
mov    $0xa,%eax
cmp    $0x7,%ecx
cmove  %eax,%edx
lea    0xe7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11b0 <main+0x80>
jmp    11fe <main+0xce>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    118e <main+0x5e>
lea    0xe56(%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    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x20(%rbp)
lea    0xe2e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    12fb <main+0x1cb>
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    12e8 <main+0x1b8>
mov    -0x20(%rbp),%ecx
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
cltq
mov    %ecx,-0x420(%rbp,%rax,4)
mov    -0x20(%rbp),%esi
mov    -0x18(%rbp),%ecx
mov    $0x20,%edx
mov    $0xa,%eax
cmp    $0x7,%ecx
cmove  %eax,%edx
lea    0xdb2(%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    12d5 <main+0x1a5>
movl   $0x0,-0x20(%rbp)
jmp    12da <main+0x1aa>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1274 <main+0x144>
jmp    12ed <main+0x1bd>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1252 <main+0x122>
lea    0xd6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xda0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    13b3 <main+0x283>
lea    0xd2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    13a0 <main+0x270>
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
mov    -0x18(%rbp),%ecx
mov    $0x20,%edx
mov    $0xa,%eax
cmp    $0x7,%ecx
cmove  %eax,%edx
lea    0xcd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1340 <main+0x210>
jmp    13a5 <main+0x275>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    131e <main+0x1ee>
lea    0xcb4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    145f <main+0x32f>
lea    0xc73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    144c <main+0x31c>
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
mov    -0x18(%rbp),%ecx
mov    $0x20,%edx
mov    $0xa,%eax
cmp    $0x7,%ecx
cmove  %eax,%edx
lea    0xc28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13f8 <main+0x2c8>
jmp    1451 <main+0x321>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    13d6 <main+0x2a6>
lea    0xc08(%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    0xea5(%rip),%rdi
call   1040 <puts@plt>
lea    0xeac(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9d(%rip),%r14
lea    0xe79(%rip),%r15
lea    0xe75(%rip),%r13
lea    0xf8b(%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
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x2(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x3(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x5(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x6(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x7(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@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    0xe5a(%rip),%rdi
call   1040 <puts@plt>
lea    0xd97(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0xd1f(%rip),%r14
xor    %r15d,%r15d
nopw   0x0(%rax,%rax,1)
mov    $0x9,%edi
call   1030 <putchar@plt>
mov    %ebp,0x420(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0xa,%edx
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
add    $0x8,%rbx
cmp    $0xf8,%rbx
jb     12f0 <main+0x1a0>
lea    0xca0(%rip),%rdi
call   1040 <puts@plt>
lea    0xc1a(%rip),%rdi
call   1040 <puts@plt>
lea    0xb71(%rip),%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0x20,%edx
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
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rbp),%rax
cmp    $0xf8,%rbp
mov    %rax,%rbp
jb     14a0 <main+0x350>
lea    0xb47(%rip),%rdi
call   1040 <puts@plt>
lea    0xafe(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0xa11(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0x9,%edi
call   1030 <putchar@plt>
movslq 0x420(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x424(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x428(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x42c(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x430(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x434(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x438(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movslq 0x43c(%rsp,%rbp,4),%rax
xor    $0x1,%rax
mov    (%rsp,%rax,4),%esi
mov    %rbx,%rdi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x8,%rbp
cmp    $0xf8,%rbp
jb     1600 <main+0x4b0>
lea    0xa08(%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 = [10 x i8] c"0x%02x,%c\00"
@.str.5 = [5 x i8] c"\09},\0A\00"
@.str.6 = [4 x i8] c"};\0A\00"
@.str.7 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00"
@.str.8 = [2 x i8] c"\09\00"
@.str.9 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00"
@.str.10 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\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 = %47, %2
%15 = load i32, i32* %6
%16 = icmp slt i32 %15, 256
br i1 %16, label %17, label %50
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 = %42, %17
%20 = load i32, i32* %7
%21 = icmp slt i32 %20, 256
br i1 %21, label %22, label %45
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 = %38, %22
%25 = load i32, i32* %8
%26 = icmp slt i32 %25, 8
br i1 %26, label %27, label %41
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 = load i32, i32* %8
%34 = icmp eq i32 %33, 7
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 10, i32 32
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %32, i32 %36)
br label %38
38: ; preds = %27
%39 = load i32, i32* %8
%40 = add nsw i32 %39, 1
store i32 %40, i32* %8
br label %24
41: ; preds = %24
br label %42
42: ; preds = %41
%43 = load i32, i32* %7
%44 = add nsw i32 %43, 8
store i32 %44, i32* %7
br label %19
45: ; preds = %19
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %47
47: ; preds = %45
%48 = load i32, i32* %6
%49 = add nsw i32 %48, 1
store i32 %49, i32* %6
br label %14
50: ; preds = %14
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
store i32 1, i32* %9
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %6
br label %53
53: ; preds = %84, %50
%54 = load i32, i32* %6
%55 = icmp slt i32 %54, 256
br i1 %55, label %56, label %87
56: ; preds = %53
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %7
br label %58
58: ; preds = %80, %56
%59 = load i32, i32* %7
%60 = icmp slt i32 %59, 8
br i1 %60, label %61, label %83
61: ; preds = %58
%62 = load i32, i32* %9
%63 = load i32, i32* %6
%64 = load i32, i32* %7
%65 = add nsw i32 %63, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %66
store i32 %62, i32* %67
%68 = load i32, i32* %9
%69 = load i32, i32* %7
%70 = icmp eq i32 %69, 7
%71 = zext i1 %70 to i64
%72 = select i1 %70, i32 10, i32 32
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %68, i32 %72)
%74 = load i32, i32* %9
%75 = call i32 @gfmul(i32 %74, i32 2)
store i32 %75, i32* %9
%76 = load i32, i32* %9
%77 = icmp eq i32 %76, 1
br i1 %77, label %78, label %79
78: ; preds = %61
store i32 0, i32* %9
br label %79
79: ; preds = %78, %61
br label %80
80: ; preds = %79
%81 = load i32, i32* %7
%82 = add nsw i32 %81, 1
store i32 %82, i32* %7
br label %58
83: ; preds = %58
br label %84
84: ; preds = %83
%85 = load i32, i32* %6
%86 = add nsw i32 %85, 8
store i32 %86, i32* %6
br label %53
87: ; preds = %53
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %6
br label %90
90: ; preds = %118, %87
%91 = load i32, i32* %6
%92 = icmp slt i32 %91, 256
br i1 %92, label %93, label %121
93: ; preds = %90
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %7
br label %95
95: ; preds = %114, %93
%96 = load i32, i32* %7
%97 = icmp slt i32 %96, 8
br i1 %97, label %98, label %117
98: ; preds = %95
%99 = load i32, i32* %6
%100 = load i32, i32* %7
%101 = add nsw i32 %99, %100
%102 = call i32 @gfpow(i32 %101, i32 254)
store i32 %102, i32* %9
%103 = load i32, i32* %6
%104 = load i32, i32* %7
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %106
store i32 %102, i32* %107
%108 = load i32, i32* %9
%109 = load i32, i32* %7
%110 = icmp eq i32 %109, 7
%111 = zext i1 %110 to i64
%112 = select i1 %110, i32 10, i32 32
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %108, i32 %112)
br label %114
114: ; preds = %98
%115 = load i32, i32* %7
%116 = add nsw i32 %115, 1
store i32 %116, i32* %7
br label %95
117: ; preds = %95
br label %118
118: ; preds = %117
%119 = load i32, i32* %6
%120 = add nsw i32 %119, 8
store i32 %120, i32* %6
br label %90
121: ; preds = %90
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%123 = 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 %124
124: ; preds = %152, %121
%125 = load i32, i32* %6
%126 = icmp slt i32 %125, 256
br i1 %126, label %127, label %155
127: ; preds = %124
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %7
br label %129
129: ; preds = %148, %127
%130 = load i32, i32* %7
%131 = icmp slt i32 %130, 8
br i1 %131, label %132, label %151
132: ; preds = %129
%133 = load i32, i32* %6
%134 = load i32, i32* %7
%135 = add nsw i32 %133, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %136
%138 = load i32, i32* %137
%139 = xor i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %140
%142 = load i32, i32* %141
%143 = load i32, i32* %7
%144 = icmp eq i32 %143, 7
%145 = zext i1 %144 to i64
%146 = select i1 %144, i32 10, i32 32
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %142, i32 %146)
br label %148
148: ; preds = %132
%149 = load i32, i32* %7
%150 = add nsw i32 %149, 1
store i32 %150, i32* %7
br label %129
151: ; preds = %129
br label %152
152: ; preds = %151
%153 = load i32, i32* %6
%154 = add nsw i32 %153, 8
store i32 %154, i32* %6
br label %124
155: ; preds = %124
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
ret i32 0
}

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