#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 \"kerncompat.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");
  printf("\nconst u8  __attribute__((aligned(256)))\n"
         "raid6_vgfmul[256][32] =\n"
         "{\n");
  for (i = 0; i < 256; i++) {
    printf("\t{\n");
    for (j = 0; j < 16; j += 8) {
      printf("\t\t");
      for (k = 0; k < 8; k++)
        printf("0x%02x,%c", gfmul(i, j + k), (k == 7) ? '\n' : ' ');
    }
    for (j = 0; j < 16; j += 8) {
      printf("\t\t");
      for (k = 0; k < 8; k++)
        printf("0x%02x,%c", gfmul(i, (j + k) << 4), (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    0xebb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1228 <main+0xf8>
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    120c <main+0xdc>
lea    0xebf(%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    0xe80(%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    0xe5b(%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    0xe44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1389 <main+0x259>
lea    0xdfe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x10,-0x18(%rbp)
jge    12e8 <main+0x1b8>
lea    0xde3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    12d5 <main+0x1a5>
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    0xda4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    128c <main+0x15c>
jmp    12da <main+0x1aa>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    126d <main+0x13d>
movl   $0x0,-0x18(%rbp)
cmpl   $0x10,-0x18(%rbp)
jge    136d <main+0x23d>
lea    0xd61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    135a <main+0x22a>
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
add    -0x1c(%rbp),%esi
shl    $0x4,%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    0xd1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    130e <main+0x1de>
jmp    135f <main+0x22f>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    12ef <main+0x1bf>
lea    0xcfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    124b <main+0x11b>
lea    0xce3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x20(%rbp)
lea    0xd16(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    145c <main+0x32c>
lea    0xc9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1449 <main+0x319>
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    0xc56(%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    1436 <main+0x306>
movl   $0x0,-0x20(%rbp)
jmp    143b <main+0x30b>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13d5 <main+0x2a5>
jmp    144e <main+0x31e>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    13b3 <main+0x283>
lea    0xc10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1514 <main+0x3e4>
lea    0xbcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1501 <main+0x3d1>
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    0xb78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14a1 <main+0x371>
jmp    1506 <main+0x3d6>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    147f <main+0x34f>
lea    0xb58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc0e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    15c0 <main+0x490>
lea    0xb17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    15ad <main+0x47d>
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    0xacc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1559 <main+0x429>
jmp    15b2 <main+0x482>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1537 <main+0x407>
lea    0xaac(%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    0xeb1(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe5(%rip),%r14
lea    0xe79(%rip),%r12
lea    0xe75(%rip),%r13
lea    0xfd3(%rip),%r15
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%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    %r15,%rdi
call   1040 <puts@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    11a0 <main+0x50>
lea    0xea2(%rip),%rdi
call   1040 <puts@plt>
lea    0xd9c(%rip),%rdi
call   1040 <puts@plt>
lea    0xe8d(%rip),%r14
lea    0xd21(%rip),%r15
lea    0xd1d(%rip),%rbx
lea    0xe7b(%rip),%r12
xor    %ebp,%ebp
nop
mov    %r14,%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
xor    %esi,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x1,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x3,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x4,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x5,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x6,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x7,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x8,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x9,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xa,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xb,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xc,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xd,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xe,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xf,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
xor    %esi,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x10,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x20,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x30,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x40,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x50,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x60,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x70,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x80,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x90,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xa0,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xb0,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xc0,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xd0,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xe0,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0xf0,%esi
call   1070 <gfmul@plt>
mov    %rbx,%rdi
mov    %eax,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
call   1040 <puts@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    12f0 <main+0x1a0>
lea    0xa8a(%rip),%rdi
call   1040 <puts@plt>
lea    0x9c7(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0x907(%rip),%r14
xor    %r15d,%r15d
nop
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     1700 <main+0x5b0>
lea    0x8d8(%rip),%rdi
call   1040 <puts@plt>
lea    0x852(%rip),%rdi
call   1040 <puts@plt>
lea    0x761(%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     18b0 <main+0x760>
lea    0x77f(%rip),%rdi
call   1040 <puts@plt>
lea    0x736(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0x601(%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     1a10 <main+0x8c0>
lea    0x640(%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 = [25 x i8] c"#include \22kerncompat.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 = [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_vgfmul[256][32] =\0A{\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"
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 ([25 x i8], [25 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))
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %6
br label %53
53: ; preds = %114, %50
%54 = load i32, i32* %6
%55 = icmp slt i32 %54, 256
br i1 %55, label %56, label %117
56: ; preds = %53
%57 = 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 %58
58: ; preds = %81, %56
%59 = load i32, i32* %7
%60 = icmp slt i32 %59, 16
br i1 %60, label %61, label %84
61: ; preds = %58
%62 = 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 %63
63: ; preds = %77, %61
%64 = load i32, i32* %8
%65 = icmp slt i32 %64, 8
br i1 %65, label %66, label %80
66: ; preds = %63
%67 = load i32, i32* %6
%68 = load i32, i32* %7
%69 = load i32, i32* %8
%70 = add nsw i32 %68, %69
%71 = call i32 @gfmul(i32 %67, i32 %70)
%72 = load i32, i32* %8
%73 = icmp eq i32 %72, 7
%74 = zext i1 %73 to i64
%75 = select i1 %73, i32 10, i32 32
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %71, i32 %75)
br label %77
77: ; preds = %66
%78 = load i32, i32* %8
%79 = add nsw i32 %78, 1
store i32 %79, i32* %8
br label %63
80: ; preds = %63
br label %81
81: ; preds = %80
%82 = load i32, i32* %7
%83 = add nsw i32 %82, 8
store i32 %83, i32* %7
br label %58
84: ; preds = %58
store i32 0, i32* %7
br label %85
85: ; preds = %109, %84
%86 = load i32, i32* %7
%87 = icmp slt i32 %86, 16
br i1 %87, label %88, label %112
88: ; preds = %85
%89 = 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 %90
90: ; preds = %105, %88
%91 = load i32, i32* %8
%92 = icmp slt i32 %91, 8
br i1 %92, label %93, label %108
93: ; preds = %90
%94 = load i32, i32* %6
%95 = load i32, i32* %7
%96 = load i32, i32* %8
%97 = add nsw i32 %95, %96
%98 = shl i32 %97, 4
%99 = call i32 @gfmul(i32 %94, i32 %98)
%100 = load i32, i32* %8
%101 = icmp eq i32 %100, 7
%102 = zext i1 %101 to i64
%103 = select i1 %101, i32 10, i32 32
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %99, i32 %103)
br label %105
105: ; preds = %93
%106 = load i32, i32* %8
%107 = add nsw i32 %106, 1
store i32 %107, i32* %8
br label %90
108: ; preds = %90
br label %109
109: ; preds = %108
%110 = load i32, i32* %7
%111 = add nsw i32 %110, 8
store i32 %111, i32* %7
br label %85
112: ; preds = %85
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %114
114: ; preds = %112
%115 = load i32, i32* %6
%116 = add nsw i32 %115, 1
store i32 %116, i32* %6
br label %53
117: ; preds = %53
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
store i32 1, i32* %9
%119 = 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 %120
120: ; preds = %151, %117
%121 = load i32, i32* %6
%122 = icmp slt i32 %121, 256
br i1 %122, label %123, label %154
123: ; preds = %120
%124 = 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 %125
125: ; preds = %147, %123
%126 = load i32, i32* %7
%127 = icmp slt i32 %126, 8
br i1 %127, label %128, label %150
128: ; preds = %125
%129 = load i32, i32* %9
%130 = load i32, i32* %6
%131 = load i32, i32* %7
%132 = add nsw i32 %130, %131
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %133
store i32 %129, i32* %134
%135 = load i32, i32* %9
%136 = load i32, i32* %7
%137 = icmp eq i32 %136, 7
%138 = zext i1 %137 to i64
%139 = select i1 %137, i32 10, i32 32
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %135, i32 %139)
%141 = load i32, i32* %9
%142 = call i32 @gfmul(i32 %141, i32 2)
store i32 %142, i32* %9
%143 = load i32, i32* %9
%144 = icmp eq i32 %143, 1
br i1 %144, label %145, label %146
145: ; preds = %128
store i32 0, i32* %9
br label %146
146: ; preds = %145, %128
br label %147
147: ; preds = %146
%148 = load i32, i32* %7
%149 = add nsw i32 %148, 1
store i32 %149, i32* %7
br label %125
150: ; preds = %125
br label %151
151: ; preds = %150
%152 = load i32, i32* %6
%153 = add nsw i32 %152, 8
store i32 %153, i32* %6
br label %120
154: ; preds = %120
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%156 = 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 %157
157: ; preds = %185, %154
%158 = load i32, i32* %6
%159 = icmp slt i32 %158, 256
br i1 %159, label %160, label %188
160: ; preds = %157
%161 = 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 %162
162: ; preds = %181, %160
%163 = load i32, i32* %7
%164 = icmp slt i32 %163, 8
br i1 %164, label %165, label %184
165: ; preds = %162
%166 = load i32, i32* %6
%167 = load i32, i32* %7
%168 = add nsw i32 %166, %167
%169 = call i32 @gfpow(i32 %168, i32 254)
store i32 %169, i32* %9
%170 = load i32, i32* %6
%171 = load i32, i32* %7
%172 = add nsw i32 %170, %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %173
store i32 %169, i32* %174
%175 = load i32, i32* %9
%176 = load i32, i32* %7
%177 = icmp eq i32 %176, 7
%178 = zext i1 %177 to i64
%179 = select i1 %177, i32 10, i32 32
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %175, i32 %179)
br label %181
181: ; preds = %165
%182 = load i32, i32* %7
%183 = add nsw i32 %182, 1
store i32 %183, i32* %7
br label %162
184: ; preds = %162
br label %185
185: ; preds = %184
%186 = load i32, i32* %6
%187 = add nsw i32 %186, 8
store i32 %187, i32* %6
br label %157
188: ; preds = %157
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%190 = 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 %191
191: ; preds = %219, %188
%192 = load i32, i32* %6
%193 = icmp slt i32 %192, 256
br i1 %193, label %194, label %222
194: ; preds = %191
%195 = 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 %196
196: ; preds = %215, %194
%197 = load i32, i32* %7
%198 = icmp slt i32 %197, 8
br i1 %198, label %199, label %218
199: ; preds = %196
%200 = load i32, i32* %6
%201 = load i32, i32* %7
%202 = add nsw i32 %200, %201
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [256 x i32], [256 x i32]* %10, 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]* %11, i64 0, i64 %207
%209 = load i32, i32* %208
%210 = load i32, i32* %7
%211 = icmp eq i32 %210, 7
%212 = zext i1 %211 to i64
%213 = select i1 %211, i32 10, i32 32
%214 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %209, i32 %213)
br label %215
215: ; preds = %199
%216 = load i32, i32* %7
%217 = add nsw i32 %216, 1
store i32 %217, i32* %7
br label %196
218: ; preds = %196
br label %219
219: ; preds = %218
%220 = load i32, i32* %6
%221 = add nsw i32 %220, 8
store i32 %221, i32* %6
br label %191
222: ; preds = %191
%223 = 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 = [24 x i8] c"#include \22kerncompat.h\22\00"
@str.12 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\00"
@str.14 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_vgfmul[256][32] =\0A{\00"
@str.16 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\00"
@str.18 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\00"
@str.20 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\00"
@str.21 = [3 x i8] c"};\00"
@str.24 = [3 x i8] c"\09{\00"
@str.25 = [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 ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.12, 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.24, 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.25, 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.21, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.14, i64 0, i64 0))
br label %47
47: ; preds = %44, %47
%48 = phi i32 [ 0, %44 ], [ %119, %47 ]
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.24, i64 0, i64 0))
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%51 = tail call i32 @gfmul(i32 %48, i32 0)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %51, i32 32)
%53 = tail call i32 @gfmul(i32 %48, i32 1)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %53, i32 32)
%55 = tail call i32 @gfmul(i32 %48, i32 2)
%56 = 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)
%57 = tail call i32 @gfmul(i32 %48, i32 3)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %57, i32 32)
%59 = tail call i32 @gfmul(i32 %48, i32 4)
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %59, i32 32)
%61 = tail call i32 @gfmul(i32 %48, i32 5)
%62 = 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)
%63 = tail call i32 @gfmul(i32 %48, i32 6)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %63, i32 32)
%65 = tail call i32 @gfmul(i32 %48, i32 7)
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %65, i32 10)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%68 = tail call i32 @gfmul(i32 %48, i32 8)
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %68, i32 32)
%70 = tail call i32 @gfmul(i32 %48, i32 9)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %70, i32 32)
%72 = tail call i32 @gfmul(i32 %48, i32 10)
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %72, i32 32)
%74 = tail call i32 @gfmul(i32 %48, i32 11)
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %74, i32 32)
%76 = tail call i32 @gfmul(i32 %48, i32 12)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %76, i32 32)
%78 = tail call i32 @gfmul(i32 %48, i32 13)
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %78, i32 32)
%80 = tail call i32 @gfmul(i32 %48, i32 14)
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %80, i32 32)
%82 = tail call i32 @gfmul(i32 %48, i32 15)
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %82, i32 10)
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%85 = tail call i32 @gfmul(i32 %48, i32 0)
%86 = 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)
%87 = tail call i32 @gfmul(i32 %48, i32 16)
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %87, i32 32)
%89 = tail call i32 @gfmul(i32 %48, i32 32)
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %89, i32 32)
%91 = tail call i32 @gfmul(i32 %48, i32 48)
%92 = 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 32)
%93 = tail call i32 @gfmul(i32 %48, i32 64)
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %93, i32 32)
%95 = tail call i32 @gfmul(i32 %48, i32 80)
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %95, i32 32)
%97 = tail call i32 @gfmul(i32 %48, i32 96)
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %97, i32 32)
%99 = tail call i32 @gfmul(i32 %48, i32 112)
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %99, i32 10)
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%102 = tail call i32 @gfmul(i32 %48, i32 128)
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %102, i32 32)
%104 = tail call i32 @gfmul(i32 %48, i32 144)
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %104, i32 32)
%106 = tail call i32 @gfmul(i32 %48, i32 160)
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %106, i32 32)
%108 = tail call i32 @gfmul(i32 %48, i32 176)
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %108, i32 32)
%110 = tail call i32 @gfmul(i32 %48, i32 192)
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %110, i32 32)
%112 = tail call i32 @gfmul(i32 %48, i32 208)
%113 = 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)
%114 = tail call i32 @gfmul(i32 %48, i32 224)
%115 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %114, i32 32)
%116 = tail call i32 @gfmul(i32 %48, i32 240)
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %116, i32 10)
%118 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.25, i64 0, i64 0))
%119 = add nuw nsw i32 %48, 1
%120 = icmp eq i32 %119, 256
br i1 %120, label %121, label %47
121: ; preds = %47
%122 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
%123 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.16, i64 0, i64 0))
br label %124
124: ; preds = %121, %124
%125 = phi i64 [ 0, %121 ], [ %175, %124 ]
%126 = phi i32 [ 1, %121 ], [ %174, %124 ]
%127 = tail call i32 @putchar(i32 9)
%128 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %125
store i32 %126, 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 %126, i32 32)
%130 = tail call i32 @gfmul(i32 %126, i32 2)
%131 = icmp eq i32 %130, 1
%132 = select i1 %131, i32 0, i32 %130
%133 = or i64 %125, 1
%134 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %133
store i32 %132, i32* %134
%135 = 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)
%136 = tail call i32 @gfmul(i32 %132, i32 2)
%137 = icmp eq i32 %136, 1
%138 = select i1 %137, i32 0, i32 %136
%139 = or i64 %125, 2
%140 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %139
store i32 %138, i32* %140
%141 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %138, i32 32)
%142 = tail call i32 @gfmul(i32 %138, i32 2)
%143 = icmp eq i32 %142, 1
%144 = select i1 %143, i32 0, i32 %142
%145 = or i64 %125, 3
%146 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %145
store i32 %144, i32* %146
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %144, i32 32)
%148 = tail call i32 @gfmul(i32 %144, i32 2)
%149 = icmp eq i32 %148, 1
%150 = select i1 %149, i32 0, i32 %148
%151 = or i64 %125, 4
%152 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %151
store i32 %150, i32* %152
%153 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %150, i32 32)
%154 = tail call i32 @gfmul(i32 %150, i32 2)
%155 = icmp eq i32 %154, 1
%156 = select i1 %155, i32 0, i32 %154
%157 = or i64 %125, 5
%158 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %157
store i32 %156, i32* %158
%159 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %156, i32 32)
%160 = tail call i32 @gfmul(i32 %156, i32 2)
%161 = icmp eq i32 %160, 1
%162 = select i1 %161, i32 0, i32 %160
%163 = or i64 %125, 6
%164 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %163
store i32 %162, i32* %164
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %162, i32 32)
%166 = tail call i32 @gfmul(i32 %162, i32 2)
%167 = icmp eq i32 %166, 1
%168 = select i1 %167, i32 0, i32 %166
%169 = or i64 %125, 7
%170 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %169
store i32 %168, i32* %170
%171 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %168, i32 10)
%172 = tail call i32 @gfmul(i32 %168, i32 2)
%173 = icmp eq i32 %172, 1
%174 = select i1 %173, i32 0, i32 %172
%175 = add nuw nsw i64 %125, 8
%176 = icmp ult i64 %125, 248
br i1 %176, label %124, label %177
177: ; preds = %124
%178 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
%179 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.18, i64 0, i64 0))
br label %180
180: ; preds = %177, %180
%181 = phi i64 [ 0, %177 ], [ %222, %180 ]
%182 = tail call i32 @putchar(i32 9)
%183 = trunc i64 %181 to i32
%184 = tail call i32 @gfpow(i32 %183, i32 254)
%185 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %181
store i32 %184, i32* %185
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %184, i32 32)
%187 = or i64 %181, 1
%188 = trunc i64 %187 to i32
%189 = tail call i32 @gfpow(i32 %188, i32 254)
%190 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %187
store i32 %189, i32* %190
%191 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %189, i32 32)
%192 = or i64 %181, 2
%193 = trunc i64 %192 to i32
%194 = tail call i32 @gfpow(i32 %193, i32 254)
%195 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %192
store i32 %194, i32* %195
%196 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %194, i32 32)
%197 = or i64 %181, 3
%198 = trunc i64 %197 to i32
%199 = tail call i32 @gfpow(i32 %198, i32 254)
%200 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %197
store i32 %199, i32* %200
%201 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %199, i32 32)
%202 = or i64 %181, 4
%203 = trunc i64 %202 to i32
%204 = tail call i32 @gfpow(i32 %203, i32 254)
%205 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %202
store i32 %204, i32* %205
%206 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %204, i32 32)
%207 = or i64 %181, 5
%208 = trunc i64 %207 to i32
%209 = tail call i32 @gfpow(i32 %208, i32 254)
%210 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %207
store i32 %209, i32* %210
%211 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %209, i32 32)
%212 = or i64 %181, 6
%213 = trunc i64 %212 to i32
%214 = tail call i32 @gfpow(i32 %213, i32 254)
%215 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %212
store i32 %214, i32* %215
%216 = 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 32)
%217 = or i64 %181, 7
%218 = trunc i64 %217 to i32
%219 = tail call i32 @gfpow(i32 %218, i32 254)
%220 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %217
store i32 %219, i32* %220
%221 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %219, i32 10)
%222 = add nuw nsw i64 %181, 8
%223 = icmp ult i64 %181, 248
br i1 %223, label %180, label %224
224: ; preds = %180
%225 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
%226 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.20, i64 0, i64 0))
br label %227
227: ; preds = %224, %227
%228 = phi i64 [ 0, %224 ], [ %293, %227 ]
%229 = tail call i32 @putchar(i32 9)
%230 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %228
%231 = load i32, i32* %230
%232 = xor i32 %231, 1
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %233
%235 = load i32, i32* %234
%236 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %235, i32 32)
%237 = or i64 %228, 1
%238 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %237
%239 = load i32, i32* %238
%240 = xor i32 %239, 1
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %241
%243 = load i32, i32* %242
%244 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %243, i32 32)
%245 = or i64 %228, 2
%246 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %245
%247 = load i32, i32* %246
%248 = xor i32 %247, 1
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %249
%251 = load i32, i32* %250
%252 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %251, i32 32)
%253 = or i64 %228, 3
%254 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %253
%255 = load i32, i32* %254
%256 = xor i32 %255, 1
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %257
%259 = load i32, i32* %258
%260 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %259, i32 32)
%261 = or i64 %228, 4
%262 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %261
%263 = load i32, i32* %262
%264 = xor i32 %263, 1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %265
%267 = load i32, i32* %266
%268 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %267, i32 32)
%269 = or i64 %228, 5
%270 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %269
%271 = load i32, i32* %270
%272 = xor i32 %271, 1
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %273
%275 = load i32, i32* %274
%276 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %275, i32 32)
%277 = or i64 %228, 6
%278 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %277
%279 = load i32, i32* %278
%280 = xor i32 %279, 1
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %281
%283 = load i32, i32* %282
%284 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %283, i32 32)
%285 = or i64 %228, 7
%286 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %285
%287 = load i32, i32* %286
%288 = xor i32 %287, 1
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %289
%291 = load i32, i32* %290
%292 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %291, i32 10)
%293 = add nuw nsw i64 %228, 8
%294 = icmp ult i64 %228, 248
br i1 %294, label %227, label %295
295: ; preds = %227
%296 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
ret i32 0
}