#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 <linux/raid/pq.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("#ifdef __KERNEL__\n");
  printf("EXPORT_SYMBOL(raid6_gfmul);\n");
  printf("#endif\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");
  printf("#ifdef __KERNEL__\n");
  printf("EXPORT_SYMBOL(raid6_vgfmul);\n");
  printf("#endif\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("#ifdef __KERNEL__\n");
  printf("EXPORT_SYMBOL(raid6_gfexp);\n");
  printf("#endif\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("#ifdef __KERNEL__\n");
  printf("EXPORT_SYMBOL(raid6_gfinv);\n");
  printf("#endif\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");
  printf("#ifdef __KERNEL__\n");
  printf("EXPORT_SYMBOL(raid6_gfexi);\n");
  printf("#endif\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    0xebe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1228 <main+0xf8>
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    120c <main+0xdc>
lea    0xec2(%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    0xe83(%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    0xe5e(%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    0xe47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    13b3 <main+0x283>
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x10,-0x18(%rbp)
jge    1312 <main+0x1e2>
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    12ff <main+0x1cf>
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    0xd7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12b6 <main+0x186>
jmp    1304 <main+0x1d4>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    1297 <main+0x167>
movl   $0x0,-0x18(%rbp)
cmpl   $0x10,-0x18(%rbp)
jge    1397 <main+0x267>
lea    0xd3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    1384 <main+0x254>
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    0xcf8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1338 <main+0x208>
jmp    1389 <main+0x259>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    1319 <main+0x1e9>
lea    0xcd3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1275 <main+0x145>
lea    0xcbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcc6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x20(%rbp)
lea    0xd1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    14b0 <main+0x380>
lea    0xc4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    149d <main+0x36d>
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    0xc05(%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    148a <main+0x35a>
movl   $0x0,-0x20(%rbp)
jmp    148f <main+0x35f>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1429 <main+0x2f9>
jmp    14a2 <main+0x372>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1407 <main+0x2d7>
lea    0xbbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbc9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1592 <main+0x462>
lea    0xb54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    157f <main+0x44f>
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    0xafd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    151f <main+0x3ef>
jmp    1584 <main+0x454>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    14fd <main+0x3cd>
lea    0xadd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xad3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbf8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xae7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbf9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1668 <main+0x538>
lea    0xa72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1655 <main+0x525>
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    0xa27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1601 <main+0x4d1>
jmp    165a <main+0x52a>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    15df <main+0x4af>
lea    0xa07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x9fd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xa11(%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    0xeb4(%rip),%rdi
call   1040 <puts@plt>
lea    0x108e(%rip),%r14
lea    0xe79(%rip),%r12
lea    0xe75(%rip),%r13
lea    0x107c(%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    0xf16(%rip),%rdi
call   1040 <puts@plt>
lea    0xf0d(%rip),%rdi
call   1040 <puts@plt>
lea    0xd93(%rip),%rdi
call   1040 <puts@plt>
lea    0xf23(%rip),%rdi
call   1040 <puts@plt>
lea    0xd97(%rip),%rdi
call   1040 <puts@plt>
lea    0xf12(%rip),%r14
lea    0xcfd(%rip),%r15
lea    0xcf9(%rip),%rbx
lea    0xf00(%rip),%r12
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
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    1320 <main+0x1d0>
lea    0xace(%rip),%rdi
call   1040 <puts@plt>
lea    0xac5(%rip),%rdi
call   1040 <puts@plt>
lea    0x9aa(%rip),%rdi
call   1040 <puts@plt>
lea    0xadb(%rip),%rdi
call   1040 <puts@plt>
lea    0x9af(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0x8b3(%rip),%r14
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
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     1760 <main+0x610>
lea    0x8ec(%rip),%rdi
call   1040 <puts@plt>
lea    0x8e3(%rip),%rdi
call   1040 <puts@plt>
lea    0x822(%rip),%rdi
call   1040 <puts@plt>
lea    0x8f9(%rip),%rdi
call   1040 <puts@plt>
lea    0x826(%rip),%rdi
call   1040 <puts@plt>
lea    0x6dd(%rip),%rbx
xor    %ebp,%ebp
nopl   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
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     1930 <main+0x7e0>
lea    0x773(%rip),%rdi
call   1040 <puts@plt>
lea    0x76a(%rip),%rdi
call   1040 <puts@plt>
lea    0x702(%rip),%rdi
call   1040 <puts@plt>
lea    0x780(%rip),%rdi
call   1040 <puts@plt>
lea    0x706(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0x55d(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
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     1ab0 <main+0x960>
lea    0x614(%rip),%rdi
call   1040 <puts@plt>
lea    0x60b(%rip),%rdi
call   1040 <puts@plt>
lea    0x611(%rip),%rdi
call   1040 <puts@plt>
lea    0x621(%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 = [28 x i8] c"#include <linux/raid/pq.h>\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 = [19 x i8] c"#ifdef __KERNEL__\0A\00"
@.str.8 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfmul);\0A\00"
@.str.9 = [8 x i8] c"#endif\0A\00"
@.str.10 = [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_vgfmul[256][32] =\0A{\0A\00"
@.str.11 = [30 x i8] c"EXPORT_SYMBOL(raid6_vgfmul);\0A\00"
@.str.12 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00"
@.str.13 = [2 x i8] c"\09\00"
@.str.14 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\0A\00"
@.str.15 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00"
@.str.16 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\0A\00"
@.str.17 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\0A\00"
@.str.18 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfexi);\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 ([28 x i8], [28 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 ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %6
br label %56
56: ; preds = %117, %50
%57 = load i32, i32* %6
%58 = icmp slt i32 %57, 256
br i1 %58, label %59, label %120
59: ; preds = %56
%60 = 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 %61
61: ; preds = %84, %59
%62 = load i32, i32* %7
%63 = icmp slt i32 %62, 16
br i1 %63, label %64, label %87
64: ; preds = %61
%65 = 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 %66
66: ; preds = %80, %64
%67 = load i32, i32* %8
%68 = icmp slt i32 %67, 8
br i1 %68, label %69, label %83
69: ; preds = %66
%70 = load i32, i32* %6
%71 = load i32, i32* %7
%72 = load i32, i32* %8
%73 = add nsw i32 %71, %72
%74 = call i32 @gfmul(i32 %70, i32 %73)
%75 = load i32, i32* %8
%76 = icmp eq i32 %75, 7
%77 = zext i1 %76 to i64
%78 = select i1 %76, i32 10, i32 32
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %74, i32 %78)
br label %80
80: ; preds = %69
%81 = load i32, i32* %8
%82 = add nsw i32 %81, 1
store i32 %82, i32* %8
br label %66
83: ; preds = %66
br label %84
84: ; preds = %83
%85 = load i32, i32* %7
%86 = add nsw i32 %85, 8
store i32 %86, i32* %7
br label %61
87: ; preds = %61
store i32 0, i32* %7
br label %88
88: ; preds = %112, %87
%89 = load i32, i32* %7
%90 = icmp slt i32 %89, 16
br i1 %90, label %91, label %115
91: ; preds = %88
%92 = 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 %93
93: ; preds = %108, %91
%94 = load i32, i32* %8
%95 = icmp slt i32 %94, 8
br i1 %95, label %96, label %111
96: ; preds = %93
%97 = load i32, i32* %6
%98 = load i32, i32* %7
%99 = load i32, i32* %8
%100 = add nsw i32 %98, %99
%101 = shl i32 %100, 4
%102 = call i32 @gfmul(i32 %97, i32 %101)
%103 = load i32, i32* %8
%104 = icmp eq i32 %103, 7
%105 = zext i1 %104 to i64
%106 = select i1 %104, i32 10, i32 32
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %102, i32 %106)
br label %108
108: ; preds = %96
%109 = load i32, i32* %8
%110 = add nsw i32 %109, 1
store i32 %110, i32* %8
br label %93
111: ; preds = %93
br label %112
112: ; preds = %111
%113 = load i32, i32* %7
%114 = add nsw i32 %113, 8
store i32 %114, i32* %7
br label %88
115: ; preds = %88
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %117
117: ; preds = %115
%118 = load i32, i32* %6
%119 = add nsw i32 %118, 1
store i32 %119, i32* %6
br label %56
120: ; preds = %56
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0))
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
store i32 1, i32* %9
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %6
br label %126
126: ; preds = %157, %120
%127 = load i32, i32* %6
%128 = icmp slt i32 %127, 256
br i1 %128, label %129, label %160
129: ; preds = %126
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %7
br label %131
131: ; preds = %153, %129
%132 = load i32, i32* %7
%133 = icmp slt i32 %132, 8
br i1 %133, label %134, label %156
134: ; preds = %131
%135 = load i32, i32* %9
%136 = load i32, i32* %6
%137 = load i32, i32* %7
%138 = add nsw i32 %136, %137
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %139
store i32 %135, i32* %140
%141 = load i32, i32* %9
%142 = load i32, i32* %7
%143 = icmp eq i32 %142, 7
%144 = zext i1 %143 to i64
%145 = select i1 %143, i32 10, i32 32
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %141, i32 %145)
%147 = load i32, i32* %9
%148 = call i32 @gfmul(i32 %147, i32 2)
store i32 %148, i32* %9
%149 = load i32, i32* %9
%150 = icmp eq i32 %149, 1
br i1 %150, label %151, label %152
151: ; preds = %134
store i32 0, i32* %9
br label %152
152: ; preds = %151, %134
br label %153
153: ; preds = %152
%154 = load i32, i32* %7
%155 = add nsw i32 %154, 1
store i32 %155, i32* %7
br label %131
156: ; preds = %131
br label %157
157: ; preds = %156
%158 = load i32, i32* %6
%159 = add nsw i32 %158, 8
store i32 %159, i32* %6
br label %126
160: ; preds = %126
%161 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0))
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.15, i64 0, i64 0))
store i32 0, i32* %6
br label %166
166: ; preds = %194, %160
%167 = load i32, i32* %6
%168 = icmp slt i32 %167, 256
br i1 %168, label %169, label %197
169: ; preds = %166
%170 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %7
br label %171
171: ; preds = %190, %169
%172 = load i32, i32* %7
%173 = icmp slt i32 %172, 8
br i1 %173, label %174, label %193
174: ; preds = %171
%175 = load i32, i32* %6
%176 = load i32, i32* %7
%177 = add nsw i32 %175, %176
%178 = call i32 @gfpow(i32 %177, i32 254)
store i32 %178, i32* %9
%179 = load i32, i32* %6
%180 = load i32, i32* %7
%181 = add nsw i32 %179, %180
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %182
store i32 %178, i32* %183
%184 = load i32, i32* %9
%185 = load i32, i32* %7
%186 = icmp eq i32 %185, 7
%187 = zext i1 %186 to i64
%188 = select i1 %186, i32 10, i32 32
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %184, i32 %188)
br label %190
190: ; preds = %174
%191 = load i32, i32* %7
%192 = add nsw i32 %191, 1
store i32 %192, i32* %7
br label %171
193: ; preds = %171
br label %194
194: ; preds = %193
%195 = load i32, i32* %6
%196 = add nsw i32 %195, 8
store i32 %196, i32* %6
br label %166
197: ; preds = %166
%198 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%199 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0))
%201 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%202 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.17, i64 0, i64 0))
store i32 0, i32* %6
br label %203
203: ; preds = %231, %197
%204 = load i32, i32* %6
%205 = icmp slt i32 %204, 256
br i1 %205, label %206, label %234
206: ; preds = %203
%207 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %7
br label %208
208: ; preds = %227, %206
%209 = load i32, i32* %7
%210 = icmp slt i32 %209, 8
br i1 %210, label %211, label %230
211: ; preds = %208
%212 = load i32, i32* %6
%213 = load i32, i32* %7
%214 = add nsw i32 %212, %213
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %215
%217 = load i32, i32* %216
%218 = xor i32 %217, 1
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %219
%221 = load i32, i32* %220
%222 = load i32, i32* %7
%223 = icmp eq i32 %222, 7
%224 = zext i1 %223 to i64
%225 = select i1 %223, i32 10, i32 32
%226 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %221, i32 %225)
br label %227
227: ; preds = %211
%228 = load i32, i32* %7
%229 = add nsw i32 %228, 1
store i32 %229, i32* %7
br label %208
230: ; preds = %208
br label %231
231: ; preds = %230
%232 = load i32, i32* %6
%233 = add nsw i32 %232, 8
store i32 %233, i32* %6
br label %203
234: ; preds = %203
%235 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%236 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%237 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.18, i64 0, i64 0))
%238 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, 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 = [27 x i8] c"#include <linux/raid/pq.h>\00"
@str.19 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\00"
@str.22 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfmul);\00"
@str.24 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_vgfmul[256][32] =\0A{\00"
@str.27 = [29 x i8] c"EXPORT_SYMBOL(raid6_vgfmul);\00"
@str.29 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\00"
@str.32 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\00"
@str.34 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\00"
@str.37 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\00"
@str.39 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\00"
@str.40 = [3 x i8] c"};\00"
@str.41 = [18 x i8] c"#ifdef __KERNEL__\00"
@str.42 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexi);\00"
@str.43 = [7 x i8] c"#endif\00"
@str.46 = [3 x i8] c"\09{\00"
@str.47 = [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 ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.19, 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.46, 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.47, 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.40, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.41, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.22, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.43, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.24, i64 0, i64 0))
br label %50
50: ; preds = %44, %50
%51 = phi i32 [ 0, %44 ], [ %122, %50 ]
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.46, i64 0, i64 0))
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%54 = tail call i32 @gfmul(i32 %51, i32 0)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %54, i32 32)
%56 = tail call i32 @gfmul(i32 %51, i32 1)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %56, i32 32)
%58 = tail call i32 @gfmul(i32 %51, i32 2)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %58, i32 32)
%60 = tail call i32 @gfmul(i32 %51, i32 3)
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %60, i32 32)
%62 = tail call i32 @gfmul(i32 %51, i32 4)
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %62, i32 32)
%64 = tail call i32 @gfmul(i32 %51, i32 5)
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %64, i32 32)
%66 = tail call i32 @gfmul(i32 %51, i32 6)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %66, i32 32)
%68 = tail call i32 @gfmul(i32 %51, i32 7)
%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 10)
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%71 = tail call i32 @gfmul(i32 %51, i32 8)
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %71, i32 32)
%73 = tail call i32 @gfmul(i32 %51, i32 9)
%74 = 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)
%75 = tail call i32 @gfmul(i32 %51, i32 10)
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %75, i32 32)
%77 = tail call i32 @gfmul(i32 %51, i32 11)
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %77, i32 32)
%79 = tail call i32 @gfmul(i32 %51, i32 12)
%80 = 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)
%81 = tail call i32 @gfmul(i32 %51, i32 13)
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %81, i32 32)
%83 = tail call i32 @gfmul(i32 %51, i32 14)
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %83, i32 32)
%85 = tail call i32 @gfmul(i32 %51, i32 15)
%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 10)
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%88 = tail call i32 @gfmul(i32 %51, i32 0)
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %88, i32 32)
%90 = tail call i32 @gfmul(i32 %51, i32 16)
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %90, i32 32)
%92 = tail call i32 @gfmul(i32 %51, i32 32)
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %92, i32 32)
%94 = tail call i32 @gfmul(i32 %51, i32 48)
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %94, i32 32)
%96 = tail call i32 @gfmul(i32 %51, i32 64)
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %96, i32 32)
%98 = tail call i32 @gfmul(i32 %51, i32 80)
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %98, i32 32)
%100 = tail call i32 @gfmul(i32 %51, i32 96)
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %100, i32 32)
%102 = tail call i32 @gfmul(i32 %51, i32 112)
%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 10)
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%105 = tail call i32 @gfmul(i32 %51, i32 128)
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %105, i32 32)
%107 = tail call i32 @gfmul(i32 %51, i32 144)
%108 = 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)
%109 = tail call i32 @gfmul(i32 %51, i32 160)
%110 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %109, i32 32)
%111 = tail call i32 @gfmul(i32 %51, i32 176)
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %111, i32 32)
%113 = tail call i32 @gfmul(i32 %51, i32 192)
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %113, i32 32)
%115 = tail call i32 @gfmul(i32 %51, i32 208)
%116 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %115, i32 32)
%117 = tail call i32 @gfmul(i32 %51, i32 224)
%118 = 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)
%119 = tail call i32 @gfmul(i32 %51, i32 240)
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %119, i32 10)
%121 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.47, i64 0, i64 0))
%122 = add nuw nsw i32 %51, 1
%123 = icmp eq i32 %122, 256
br i1 %123, label %124, label %50
124: ; preds = %50
%125 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.40, i64 0, i64 0))
%126 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.41, i64 0, i64 0))
%127 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.27, i64 0, i64 0))
%128 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.43, i64 0, i64 0))
%129 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.29, i64 0, i64 0))
br label %130
130: ; preds = %124, %130
%131 = phi i64 [ 0, %124 ], [ %181, %130 ]
%132 = phi i32 [ 1, %124 ], [ %180, %130 ]
%133 = tail call i32 @putchar(i32 9)
%134 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %131
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 %131, 1
%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 %131, 2
%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 %131, 3
%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 %131, 4
%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 %131, 5
%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 %131, 6
%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 32)
%172 = tail call i32 @gfmul(i32 %168, i32 2)
%173 = icmp eq i32 %172, 1
%174 = select i1 %173, i32 0, i32 %172
%175 = or i64 %131, 7
%176 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %175
store i32 %174, i32* %176
%177 = 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 10)
%178 = tail call i32 @gfmul(i32 %174, i32 2)
%179 = icmp eq i32 %178, 1
%180 = select i1 %179, i32 0, i32 %178
%181 = add nuw nsw i64 %131, 8
%182 = icmp ult i64 %131, 248
br i1 %182, label %130, label %183
183: ; preds = %130
%184 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.40, i64 0, i64 0))
%185 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.41, i64 0, i64 0))
%186 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.32, i64 0, i64 0))
%187 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.43, i64 0, i64 0))
%188 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.34, i64 0, i64 0))
br label %189
189: ; preds = %183, %189
%190 = phi i64 [ 0, %183 ], [ %231, %189 ]
%191 = tail call i32 @putchar(i32 9)
%192 = trunc i64 %190 to i32
%193 = tail call i32 @gfpow(i32 %192, i32 254)
%194 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %190
store i32 %193, i32* %194
%195 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %193, i32 32)
%196 = or i64 %190, 1
%197 = trunc i64 %196 to i32
%198 = tail call i32 @gfpow(i32 %197, i32 254)
%199 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %196
store i32 %198, i32* %199
%200 = 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)
%201 = or i64 %190, 2
%202 = trunc i64 %201 to i32
%203 = tail call i32 @gfpow(i32 %202, i32 254)
%204 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %201
store i32 %203, i32* %204
%205 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %203, i32 32)
%206 = or i64 %190, 3
%207 = trunc i64 %206 to i32
%208 = tail call i32 @gfpow(i32 %207, i32 254)
%209 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %206
store i32 %208, i32* %209
%210 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %208, i32 32)
%211 = or i64 %190, 4
%212 = trunc i64 %211 to i32
%213 = tail call i32 @gfpow(i32 %212, i32 254)
%214 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %211
store i32 %213, i32* %214
%215 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %213, i32 32)
%216 = or i64 %190, 5
%217 = trunc i64 %216 to i32
%218 = tail call i32 @gfpow(i32 %217, i32 254)
%219 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %216
store i32 %218, i32* %219
%220 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %218, i32 32)
%221 = or i64 %190, 6
%222 = trunc i64 %221 to i32
%223 = tail call i32 @gfpow(i32 %222, i32 254)
%224 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %221
store i32 %223, i32* %224
%225 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %223, i32 32)
%226 = or i64 %190, 7
%227 = trunc i64 %226 to i32
%228 = tail call i32 @gfpow(i32 %227, i32 254)
%229 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %226
store i32 %228, i32* %229
%230 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %228, i32 10)
%231 = add nuw nsw i64 %190, 8
%232 = icmp ult i64 %190, 248
br i1 %232, label %189, label %233
233: ; preds = %189
%234 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.40, i64 0, i64 0))
%235 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.41, i64 0, i64 0))
%236 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.37, i64 0, i64 0))
%237 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.43, i64 0, i64 0))
%238 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.39, i64 0, i64 0))
br label %239
239: ; preds = %233, %239
%240 = phi i64 [ 0, %233 ], [ %305, %239 ]
%241 = tail call i32 @putchar(i32 9)
%242 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %240
%243 = load i32, i32* %242
%244 = xor i32 %243, 1
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %245
%247 = load i32, i32* %246
%248 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %247, i32 32)
%249 = or i64 %240, 1
%250 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %249
%251 = load i32, i32* %250
%252 = xor i32 %251, 1
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %253
%255 = load i32, i32* %254
%256 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %255, i32 32)
%257 = or i64 %240, 2
%258 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %257
%259 = load i32, i32* %258
%260 = xor i32 %259, 1
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %261
%263 = load i32, i32* %262
%264 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %263, i32 32)
%265 = or i64 %240, 3
%266 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %265
%267 = load i32, i32* %266
%268 = xor i32 %267, 1
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %269
%271 = load i32, i32* %270
%272 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %271, i32 32)
%273 = or i64 %240, 4
%274 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %273
%275 = load i32, i32* %274
%276 = xor i32 %275, 1
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %277
%279 = load i32, i32* %278
%280 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %279, i32 32)
%281 = or i64 %240, 5
%282 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %281
%283 = load i32, i32* %282
%284 = xor i32 %283, 1
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %285
%287 = load i32, i32* %286
%288 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %287, i32 32)
%289 = or i64 %240, 6
%290 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %289
%291 = load i32, i32* %290
%292 = xor i32 %291, 1
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %293
%295 = load i32, i32* %294
%296 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %295, i32 32)
%297 = or i64 %240, 7
%298 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %297
%299 = load i32, i32* %298
%300 = xor i32 %299, 1
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %301
%303 = load i32, i32* %302
%304 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %303, i32 10)
%305 = add nuw nsw i64 %240, 8
%306 = icmp ult i64 %240, 248
br i1 %306, label %239, label %307
307: ; preds = %239
%308 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.40, i64 0, i64 0))
%309 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.41, i64 0, i64 0))
%310 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.42, i64 0, i64 0))
%311 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.43, i64 0, i64 0))
ret i32 0
}