#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("#include <linux/export.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>
lea    0xecb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1236 <main+0x106>
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    121a <main+0xea>
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    1207 <main+0xd7>
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    0xe90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11be <main+0x8e>
jmp    120c <main+0xdc>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    119c <main+0x6c>
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    117a <main+0x4a>
lea    0xe54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    13c1 <main+0x291>
lea    0xde4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x10,-0x18(%rbp)
jge    1320 <main+0x1f0>
lea    0xdc9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    130d <main+0x1dd>
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    0xd8a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12c4 <main+0x194>
jmp    1312 <main+0x1e2>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    12a5 <main+0x175>
movl   $0x0,-0x18(%rbp)
cmpl   $0x10,-0x18(%rbp)
jge    13a5 <main+0x275>
lea    0xd47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    1392 <main+0x262>
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    0xd05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1346 <main+0x216>
jmp    1397 <main+0x267>
mov    -0x18(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x18(%rbp)
jmp    1327 <main+0x1f7>
lea    0xce0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1283 <main+0x153>
lea    0xcc9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcd3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x20(%rbp)
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    14be <main+0x38e>
lea    0xc57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    14ab <main+0x37b>
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    0xc12(%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    1498 <main+0x368>
movl   $0x0,-0x20(%rbp)
jmp    149d <main+0x36d>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1437 <main+0x307>
jmp    14b0 <main+0x380>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1415 <main+0x2e5>
lea    0xbcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbc2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbd6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc8d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    15a0 <main+0x470>
lea    0xb61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    158d <main+0x45d>
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    0xb0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    152d <main+0x3fd>
jmp    1592 <main+0x462>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    150b <main+0x3db>
lea    0xaea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xae0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xaf4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1676 <main+0x546>
lea    0xa7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1663 <main+0x533>
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    0xa34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    160f <main+0x4df>
jmp    1668 <main+0x538>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    15ed <main+0x4bd>
lea    0xa14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xa0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb8a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xa1e(%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    0xec2(%rip),%rdi
call   1040 <puts@plt>
lea    0x109c(%rip),%r14
lea    0xe6d(%rip),%r12
lea    0xe69(%rip),%r13
lea    0x108a(%rip),%r15
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
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     11c0 <main+0x70>
mov    %r15,%rdi
call   1040 <puts@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    11b0 <main+0x60>
lea    0xf20(%rip),%rdi
call   1040 <puts@plt>
lea    0xf17(%rip),%rdi
call   1040 <puts@plt>
lea    0xd9d(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2d(%rip),%rdi
call   1040 <puts@plt>
lea    0xda1(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1c(%rip),%r14
lea    0xced(%rip),%r15
lea    0xce9(%rip),%rbx
lea    0xf0a(%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    1330 <main+0x1e0>
lea    0xad8(%rip),%rdi
call   1040 <puts@plt>
lea    0xacf(%rip),%rdi
call   1040 <puts@plt>
lea    0x9b4(%rip),%rdi
call   1040 <puts@plt>
lea    0xae5(%rip),%rdi
call   1040 <puts@plt>
lea    0x9b9(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0x8a3(%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     1770 <main+0x620>
lea    0x8f6(%rip),%rdi
call   1040 <puts@plt>
lea    0x8ed(%rip),%rdi
call   1040 <puts@plt>
lea    0x82c(%rip),%rdi
call   1040 <puts@plt>
lea    0x903(%rip),%rdi
call   1040 <puts@plt>
lea    0x830(%rip),%rdi
call   1040 <puts@plt>
lea    0x6cd(%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     1940 <main+0x7f0>
lea    0x77d(%rip),%rdi
call   1040 <puts@plt>
lea    0x774(%rip),%rdi
call   1040 <puts@plt>
lea    0x70c(%rip),%rdi
call   1040 <puts@plt>
lea    0x78a(%rip),%rdi
call   1040 <puts@plt>
lea    0x710(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0x54d(%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     1ac0 <main+0x970>
lea    0x61e(%rip),%rdi
call   1040 <puts@plt>
lea    0x615(%rip),%rdi
call   1040 <puts@plt>
lea    0x61b(%rip),%rdi
call   1040 <puts@plt>
lea    0x62b(%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 = [27 x i8] c"#include <linux/export.h>\0A\00"
@.str.2 = [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\0A\00"
@.str.3 = [4 x i8] c"\09{\0A\00"
@.str.4 = [3 x i8] c"\09\09\00"
@.str.5 = [10 x i8] c"0x%02x,%c\00"
@.str.6 = [5 x i8] c"\09},\0A\00"
@.str.7 = [4 x i8] c"};\0A\00"
@.str.8 = [19 x i8] c"#ifdef __KERNEL__\0A\00"
@.str.9 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfmul);\0A\00"
@.str.10 = [8 x i8] c"#endif\0A\00"
@.str.11 = [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_vgfmul[256][32] =\0A{\0A\00"
@.str.12 = [30 x i8] c"EXPORT_SYMBOL(raid6_vgfmul);\0A\00"
@.str.13 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00"
@.str.14 = [2 x i8] c"\09\00"
@.str.15 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\0A\00"
@.str.16 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00"
@.str.17 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\0A\00"
@.str.18 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\0A\00"
@.str.19 = [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 ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %6
br label %15
15: ; preds = %48, %2
%16 = load i32, i32* %6
%17 = icmp slt i32 %16, 256
br i1 %17, label %18, label %51
18: ; preds = %15
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %7
br label %20
20: ; preds = %43, %18
%21 = load i32, i32* %7
%22 = icmp slt i32 %21, 256
br i1 %22, label %23, label %46
23: ; preds = %20
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %8
br label %25
25: ; preds = %39, %23
%26 = load i32, i32* %8
%27 = icmp slt i32 %26, 8
br i1 %27, label %28, label %42
28: ; preds = %25
%29 = load i32, i32* %6
%30 = load i32, i32* %7
%31 = load i32, i32* %8
%32 = add nsw i32 %30, %31
%33 = call i32 @gfmul(i32 %29, i32 %32)
%34 = load i32, i32* %8
%35 = icmp eq i32 %34, 7
%36 = zext i1 %35 to i64
%37 = select i1 %35, i32 10, i32 32
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %33, i32 %37)
br label %39
39: ; preds = %28
%40 = load i32, i32* %8
%41 = add nsw i32 %40, 1
store i32 %41, i32* %8
br label %25
42: ; preds = %25
br label %43
43: ; preds = %42
%44 = load i32, i32* %7
%45 = add nsw i32 %44, 8
store i32 %45, i32* %7
br label %20
46: ; preds = %20
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %48
48: ; preds = %46
%49 = load i32, i32* %6
%50 = add nsw i32 %49, 1
store i32 %50, i32* %6
br label %15
51: ; preds = %15
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.9, i64 0, i64 0))
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %6
br label %57
57: ; preds = %118, %51
%58 = load i32, i32* %6
%59 = icmp slt i32 %58, 256
br i1 %59, label %60, label %121
60: ; preds = %57
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %7
br label %62
62: ; preds = %85, %60
%63 = load i32, i32* %7
%64 = icmp slt i32 %63, 16
br i1 %64, label %65, label %88
65: ; preds = %62
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %8
br label %67
67: ; preds = %81, %65
%68 = load i32, i32* %8
%69 = icmp slt i32 %68, 8
br i1 %69, label %70, label %84
70: ; preds = %67
%71 = load i32, i32* %6
%72 = load i32, i32* %7
%73 = load i32, i32* %8
%74 = add nsw i32 %72, %73
%75 = call i32 @gfmul(i32 %71, i32 %74)
%76 = load i32, i32* %8
%77 = icmp eq i32 %76, 7
%78 = zext i1 %77 to i64
%79 = select i1 %77, i32 10, i32 32
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %75, i32 %79)
br label %81
81: ; preds = %70
%82 = load i32, i32* %8
%83 = add nsw i32 %82, 1
store i32 %83, i32* %8
br label %67
84: ; preds = %67
br label %85
85: ; preds = %84
%86 = load i32, i32* %7
%87 = add nsw i32 %86, 8
store i32 %87, i32* %7
br label %62
88: ; preds = %62
store i32 0, i32* %7
br label %89
89: ; preds = %113, %88
%90 = load i32, i32* %7
%91 = icmp slt i32 %90, 16
br i1 %91, label %92, label %116
92: ; preds = %89
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %8
br label %94
94: ; preds = %109, %92
%95 = load i32, i32* %8
%96 = icmp slt i32 %95, 8
br i1 %96, label %97, label %112
97: ; preds = %94
%98 = load i32, i32* %6
%99 = load i32, i32* %7
%100 = load i32, i32* %8
%101 = add nsw i32 %99, %100
%102 = shl i32 %101, 4
%103 = call i32 @gfmul(i32 %98, i32 %102)
%104 = load i32, i32* %8
%105 = icmp eq i32 %104, 7
%106 = zext i1 %105 to i64
%107 = select i1 %105, i32 10, i32 32
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %103, i32 %107)
br label %109
109: ; preds = %97
%110 = load i32, i32* %8
%111 = add nsw i32 %110, 1
store i32 %111, i32* %8
br label %94
112: ; preds = %94
br label %113
113: ; preds = %112
%114 = load i32, i32* %7
%115 = add nsw i32 %114, 8
store i32 %115, i32* %7
br label %89
116: ; preds = %89
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %118
118: ; preds = %116
%119 = load i32, i32* %6
%120 = add nsw i32 %119, 1
store i32 %120, i32* %6
br label %57
121: ; preds = %57
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
store i32 1, i32* %9
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %6
br label %127
127: ; preds = %158, %121
%128 = load i32, i32* %6
%129 = icmp slt i32 %128, 256
br i1 %129, label %130, label %161
130: ; preds = %127
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %7
br label %132
132: ; preds = %154, %130
%133 = load i32, i32* %7
%134 = icmp slt i32 %133, 8
br i1 %134, label %135, label %157
135: ; preds = %132
%136 = load i32, i32* %9
%137 = load i32, i32* %6
%138 = load i32, i32* %7
%139 = add nsw i32 %137, %138
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %140
store i32 %136, i32* %141
%142 = load i32, i32* %9
%143 = load i32, i32* %7
%144 = icmp eq i32 %143, 7
%145 = zext i1 %144 to i64
%146 = select i1 %144, i32 10, i32 32
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %142, i32 %146)
%148 = load i32, i32* %9
%149 = call i32 @gfmul(i32 %148, i32 2)
store i32 %149, i32* %9
%150 = load i32, i32* %9
%151 = icmp eq i32 %150, 1
br i1 %151, label %152, label %153
152: ; preds = %135
store i32 0, i32* %9
br label %153
153: ; preds = %152, %135
br label %154
154: ; preds = %153
%155 = load i32, i32* %7
%156 = add nsw i32 %155, 1
store i32 %156, i32* %7
br label %132
157: ; preds = %132
br label %158
158: ; preds = %157
%159 = load i32, i32* %6
%160 = add nsw i32 %159, 8
store i32 %160, i32* %6
br label %127
161: ; preds = %127
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.16, i64 0, i64 0))
store i32 0, i32* %6
br label %167
167: ; preds = %195, %161
%168 = load i32, i32* %6
%169 = icmp slt i32 %168, 256
br i1 %169, label %170, label %198
170: ; preds = %167
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %7
br label %172
172: ; preds = %191, %170
%173 = load i32, i32* %7
%174 = icmp slt i32 %173, 8
br i1 %174, label %175, label %194
175: ; preds = %172
%176 = load i32, i32* %6
%177 = load i32, i32* %7
%178 = add nsw i32 %176, %177
%179 = call i32 @gfpow(i32 %178, i32 254)
store i32 %179, i32* %9
%180 = load i32, i32* %6
%181 = load i32, i32* %7
%182 = add nsw i32 %180, %181
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %183
store i32 %179, i32* %184
%185 = load i32, i32* %9
%186 = load i32, i32* %7
%187 = icmp eq i32 %186, 7
%188 = zext i1 %187 to i64
%189 = select i1 %187, i32 10, i32 32
%190 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %185, i32 %189)
br label %191
191: ; preds = %175
%192 = load i32, i32* %7
%193 = add nsw i32 %192, 1
store i32 %193, i32* %7
br label %172
194: ; preds = %172
br label %195
195: ; preds = %194
%196 = load i32, i32* %6
%197 = add nsw i32 %196, 8
store i32 %197, i32* %6
br label %167
198: ; preds = %167
%199 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%201 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0))
%202 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%203 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.18, i64 0, i64 0))
store i32 0, i32* %6
br label %204
204: ; preds = %232, %198
%205 = load i32, i32* %6
%206 = icmp slt i32 %205, 256
br i1 %206, label %207, label %235
207: ; preds = %204
%208 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %7
br label %209
209: ; preds = %228, %207
%210 = load i32, i32* %7
%211 = icmp slt i32 %210, 8
br i1 %211, label %212, label %231
212: ; preds = %209
%213 = load i32, i32* %6
%214 = load i32, i32* %7
%215 = add nsw i32 %213, %214
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %216
%218 = load i32, i32* %217
%219 = xor i32 %218, 1
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %220
%222 = load i32, i32* %221
%223 = load i32, i32* %7
%224 = icmp eq i32 %223, 7
%225 = zext i1 %224 to i64
%226 = select i1 %224, i32 10, i32 32
%227 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %222, i32 %226)
br label %228
228: ; preds = %212
%229 = load i32, i32* %7
%230 = add nsw i32 %229, 1
store i32 %230, i32* %7
br label %209
231: ; preds = %209
br label %232
232: ; preds = %231
%233 = load i32, i32* %6
%234 = add nsw i32 %233, 8
store i32 %234, i32* %6
br label %204
235: ; preds = %204
%236 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%237 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%238 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.19, i64 0, i64 0))
%239 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.4 = [3 x i8] c"\09\09\00"
@.str.5 = [10 x i8] c"0x%02x,%c\00"
@str = [27 x i8] c"#include <linux/raid/pq.h>\00"
@str.20 = [26 x i8] c"#include <linux/export.h>\00"
@str.21 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\00"
@str.24 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfmul);\00"
@str.26 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_vgfmul[256][32] =\0A{\00"
@str.29 = [29 x i8] c"EXPORT_SYMBOL(raid6_vgfmul);\00"
@str.31 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\00"
@str.34 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\00"
@str.36 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\00"
@str.39 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\00"
@str.41 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\00"
@str.42 = [3 x i8] c"};\00"
@str.43 = [18 x i8] c"#ifdef __KERNEL__\00"
@str.44 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexi);\00"
@str.45 = [7 x i8] c"#endif\00"
@str.48 = [3 x i8] c"\09{\00"
@str.49 = [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 ([26 x i8], [26 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.21, i64 0, i64 0))
br label %10
10: ; preds = %2, %41
%11 = phi i32 [ 0, %2 ], [ %43, %41 ]
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.48, i64 0, i64 0))
br label %13
13: ; preds = %10, %13
%14 = phi i32 [ 0, %10 ], [ %39, %13 ]
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%16 = tail call i32 @gfmul(i32 %11, i32 %14)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %16, i32 32)
%18 = or i32 %14, 1
%19 = tail call i32 @gfmul(i32 %11, i32 %18)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %19, i32 32)
%21 = or i32 %14, 2
%22 = tail call i32 @gfmul(i32 %11, i32 %21)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %22, i32 32)
%24 = or i32 %14, 3
%25 = tail call i32 @gfmul(i32 %11, i32 %24)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %25, i32 32)
%27 = or i32 %14, 4
%28 = tail call i32 @gfmul(i32 %11, i32 %27)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %28, i32 32)
%30 = or i32 %14, 5
%31 = tail call i32 @gfmul(i32 %11, i32 %30)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %31, i32 32)
%33 = or i32 %14, 6
%34 = tail call i32 @gfmul(i32 %11, i32 %33)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %34, i32 32)
%36 = or i32 %14, 7
%37 = tail call i32 @gfmul(i32 %11, i32 %36)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %37, i32 10)
%39 = add nuw nsw i32 %14, 8
%40 = icmp ult i32 %14, 248
br i1 %40, label %13, label %41
41: ; preds = %13
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.49, i64 0, i64 0))
%43 = add nuw nsw i32 %11, 1
%44 = icmp eq i32 %43, 256
br i1 %44, label %45, label %10
45: ; preds = %41
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.42, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.43, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.24, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.45, i64 0, i64 0))
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.26, i64 0, i64 0))
br label %51
51: ; preds = %45, %51
%52 = phi i32 [ 0, %45 ], [ %123, %51 ]
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.48, i64 0, i64 0))
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%55 = tail call i32 @gfmul(i32 %52, i32 0)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %55, i32 32)
%57 = tail call i32 @gfmul(i32 %52, i32 1)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %57, i32 32)
%59 = tail call i32 @gfmul(i32 %52, i32 2)
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %59, i32 32)
%61 = tail call i32 @gfmul(i32 %52, i32 3)
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %61, i32 32)
%63 = tail call i32 @gfmul(i32 %52, i32 4)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %63, i32 32)
%65 = tail call i32 @gfmul(i32 %52, i32 5)
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %65, i32 32)
%67 = tail call i32 @gfmul(i32 %52, i32 6)
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %67, i32 32)
%69 = tail call i32 @gfmul(i32 %52, i32 7)
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %69, i32 10)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%72 = tail call i32 @gfmul(i32 %52, i32 8)
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %72, i32 32)
%74 = tail call i32 @gfmul(i32 %52, i32 9)
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %74, i32 32)
%76 = tail call i32 @gfmul(i32 %52, i32 10)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %76, i32 32)
%78 = tail call i32 @gfmul(i32 %52, i32 11)
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %78, i32 32)
%80 = tail call i32 @gfmul(i32 %52, i32 12)
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %80, i32 32)
%82 = tail call i32 @gfmul(i32 %52, i32 13)
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %82, i32 32)
%84 = tail call i32 @gfmul(i32 %52, i32 14)
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %84, i32 32)
%86 = tail call i32 @gfmul(i32 %52, i32 15)
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %86, i32 10)
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%89 = tail call i32 @gfmul(i32 %52, i32 0)
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %89, i32 32)
%91 = tail call i32 @gfmul(i32 %52, i32 16)
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %91, i32 32)
%93 = tail call i32 @gfmul(i32 %52, i32 32)
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %93, i32 32)
%95 = tail call i32 @gfmul(i32 %52, i32 48)
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %95, i32 32)
%97 = tail call i32 @gfmul(i32 %52, i32 64)
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %97, i32 32)
%99 = tail call i32 @gfmul(i32 %52, i32 80)
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %99, i32 32)
%101 = tail call i32 @gfmul(i32 %52, i32 96)
%102 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %101, i32 32)
%103 = tail call i32 @gfmul(i32 %52, i32 112)
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %103, i32 10)
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%106 = tail call i32 @gfmul(i32 %52, i32 128)
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %106, i32 32)
%108 = tail call i32 @gfmul(i32 %52, i32 144)
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %108, i32 32)
%110 = tail call i32 @gfmul(i32 %52, i32 160)
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %110, i32 32)
%112 = tail call i32 @gfmul(i32 %52, i32 176)
%113 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %112, i32 32)
%114 = tail call i32 @gfmul(i32 %52, i32 192)
%115 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %114, i32 32)
%116 = tail call i32 @gfmul(i32 %52, i32 208)
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %116, i32 32)
%118 = tail call i32 @gfmul(i32 %52, i32 224)
%119 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %118, i32 32)
%120 = tail call i32 @gfmul(i32 %52, i32 240)
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %120, i32 10)
%122 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.49, i64 0, i64 0))
%123 = add nuw nsw i32 %52, 1
%124 = icmp eq i32 %123, 256
br i1 %124, label %125, label %51
125: ; preds = %51
%126 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.42, i64 0, i64 0))
%127 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.43, i64 0, i64 0))
%128 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.29, i64 0, i64 0))
%129 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.45, i64 0, i64 0))
%130 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.31, i64 0, i64 0))
br label %131
131: ; preds = %125, %131
%132 = phi i64 [ 0, %125 ], [ %182, %131 ]
%133 = phi i32 [ 1, %125 ], [ %181, %131 ]
%134 = tail call i32 @putchar(i32 9)
%135 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %132
store i32 %133, i32* %135
%136 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %133, i32 32)
%137 = tail call i32 @gfmul(i32 %133, i32 2)
%138 = icmp eq i32 %137, 1
%139 = select i1 %138, i32 0, i32 %137
%140 = or i64 %132, 1
%141 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %140
store i32 %139, i32* %141
%142 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %139, i32 32)
%143 = tail call i32 @gfmul(i32 %139, i32 2)
%144 = icmp eq i32 %143, 1
%145 = select i1 %144, i32 0, i32 %143
%146 = or i64 %132, 2
%147 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %146
store i32 %145, i32* %147
%148 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %145, i32 32)
%149 = tail call i32 @gfmul(i32 %145, i32 2)
%150 = icmp eq i32 %149, 1
%151 = select i1 %150, i32 0, i32 %149
%152 = or i64 %132, 3
%153 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %152
store i32 %151, i32* %153
%154 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %151, i32 32)
%155 = tail call i32 @gfmul(i32 %151, i32 2)
%156 = icmp eq i32 %155, 1
%157 = select i1 %156, i32 0, i32 %155
%158 = or i64 %132, 4
%159 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %158
store i32 %157, i32* %159
%160 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %157, i32 32)
%161 = tail call i32 @gfmul(i32 %157, i32 2)
%162 = icmp eq i32 %161, 1
%163 = select i1 %162, i32 0, i32 %161
%164 = or i64 %132, 5
%165 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %164
store i32 %163, i32* %165
%166 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %163, i32 32)
%167 = tail call i32 @gfmul(i32 %163, i32 2)
%168 = icmp eq i32 %167, 1
%169 = select i1 %168, i32 0, i32 %167
%170 = or i64 %132, 6
%171 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %170
store i32 %169, i32* %171
%172 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %169, i32 32)
%173 = tail call i32 @gfmul(i32 %169, i32 2)
%174 = icmp eq i32 %173, 1
%175 = select i1 %174, i32 0, i32 %173
%176 = or i64 %132, 7
%177 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %176
store i32 %175, i32* %177
%178 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %175, i32 10)
%179 = tail call i32 @gfmul(i32 %175, i32 2)
%180 = icmp eq i32 %179, 1
%181 = select i1 %180, i32 0, i32 %179
%182 = add nuw nsw i64 %132, 8
%183 = icmp ult i64 %132, 248
br i1 %183, label %131, label %184
184: ; preds = %131
%185 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.42, i64 0, i64 0))
%186 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.43, i64 0, i64 0))
%187 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.34, i64 0, i64 0))
%188 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.45, i64 0, i64 0))
%189 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.36, i64 0, i64 0))
br label %190
190: ; preds = %184, %190
%191 = phi i64 [ 0, %184 ], [ %232, %190 ]
%192 = tail call i32 @putchar(i32 9)
%193 = trunc i64 %191 to i32
%194 = tail call i32 @gfpow(i32 %193, i32 254)
%195 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %191
store i32 %194, i32* %195
%196 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %194, i32 32)
%197 = or i64 %191, 1
%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.5, i64 0, i64 0), i32 %199, i32 32)
%202 = or i64 %191, 2
%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.5, i64 0, i64 0), i32 %204, i32 32)
%207 = or i64 %191, 3
%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.5, i64 0, i64 0), i32 %209, i32 32)
%212 = or i64 %191, 4
%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.5, i64 0, i64 0), i32 %214, i32 32)
%217 = or i64 %191, 5
%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.5, i64 0, i64 0), i32 %219, i32 32)
%222 = or i64 %191, 6
%223 = trunc i64 %222 to i32
%224 = tail call i32 @gfpow(i32 %223, i32 254)
%225 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %222
store i32 %224, i32* %225
%226 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %224, i32 32)
%227 = or i64 %191, 7
%228 = trunc i64 %227 to i32
%229 = tail call i32 @gfpow(i32 %228, i32 254)
%230 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %227
store i32 %229, i32* %230
%231 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %229, i32 10)
%232 = add nuw nsw i64 %191, 8
%233 = icmp ult i64 %191, 248
br i1 %233, label %190, label %234
234: ; preds = %190
%235 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.42, i64 0, i64 0))
%236 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.43, i64 0, i64 0))
%237 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.39, i64 0, i64 0))
%238 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.45, i64 0, i64 0))
%239 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.41, i64 0, i64 0))
br label %240
240: ; preds = %234, %240
%241 = phi i64 [ 0, %234 ], [ %306, %240 ]
%242 = tail call i32 @putchar(i32 9)
%243 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %241
%244 = load i32, i32* %243
%245 = xor i32 %244, 1
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %246
%248 = load i32, i32* %247
%249 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %248, i32 32)
%250 = or i64 %241, 1
%251 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %250
%252 = load i32, i32* %251
%253 = xor i32 %252, 1
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %254
%256 = load i32, i32* %255
%257 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %256, i32 32)
%258 = or i64 %241, 2
%259 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %258
%260 = load i32, i32* %259
%261 = xor i32 %260, 1
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %262
%264 = load i32, i32* %263
%265 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %264, i32 32)
%266 = or i64 %241, 3
%267 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %266
%268 = load i32, i32* %267
%269 = xor i32 %268, 1
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %270
%272 = load i32, i32* %271
%273 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %272, i32 32)
%274 = or i64 %241, 4
%275 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %274
%276 = load i32, i32* %275
%277 = xor i32 %276, 1
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %278
%280 = load i32, i32* %279
%281 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %280, i32 32)
%282 = or i64 %241, 5
%283 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %282
%284 = load i32, i32* %283
%285 = xor i32 %284, 1
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %286
%288 = load i32, i32* %287
%289 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %288, i32 32)
%290 = or i64 %241, 6
%291 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %290
%292 = load i32, i32* %291
%293 = xor i32 %292, 1
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %294
%296 = load i32, i32* %295
%297 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %296, i32 32)
%298 = or i64 %241, 7
%299 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %298
%300 = load i32, i32* %299
%301 = xor i32 %300, 1
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %302
%304 = load i32, i32* %303
%305 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %304, i32 10)
%306 = add nuw nsw i64 %241, 8
%307 = icmp ult i64 %241, 248
br i1 %307, label %240, label %308
308: ; preds = %240
%309 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.42, i64 0, i64 0))
%310 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.43, i64 0, i64 0))
%311 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.44, i64 0, i64 0))
%312 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.45, i64 0, i64 0))
ret i32 0
}