#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");
  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>
movl   $0x1,-0x20(%rbp)
lea    0xe44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1325 <main+0x1f5>
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1312 <main+0x1e2>
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    0xd90(%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    12ff <main+0x1cf>
movl   $0x0,-0x20(%rbp)
jmp    1304 <main+0x1d4>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    129e <main+0x16e>
jmp    1317 <main+0x1e7>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    127c <main+0x14c>
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xda9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1407 <main+0x2d7>
lea    0xcdf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    13f4 <main+0x2c4>
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    0xc88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1394 <main+0x264>
jmp    13f9 <main+0x2c9>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1372 <main+0x242>
lea    0xc68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd22(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    14dd <main+0x3ad>
lea    0xbfd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    14ca <main+0x39a>
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    0xbb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1476 <main+0x346>
jmp    14cf <main+0x39f>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1454 <main+0x324>
lea    0xb92(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xca6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb9c(%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    0x102e(%rip),%r14
lea    0xe79(%rip),%r15
lea    0xe75(%rip),%r13
lea    0x101c(%rip),%r12
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x2(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x3(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x5(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x6(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x7(%rbx),%esi
mov    %ebp,%edi
call   1070 <gfmul@plt>
mov    %r13,%rdi
mov    %eax,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rbx),%eax
cmp    $0xf8,%ebx
mov    %eax,%ebx
jb     11b0 <main+0x60>
mov    %r12,%rdi
call   1040 <puts@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    11a0 <main+0x50>
lea    0xeb6(%rip),%rdi
call   1040 <puts@plt>
lea    0xead(%rip),%rdi
call   1040 <puts@plt>
lea    0xd93(%rip),%rdi
call   1040 <puts@plt>
lea    0xec3(%rip),%rdi
call   1040 <puts@plt>
lea    0xd97(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0xcfb(%rip),%r14
xor    %r15d,%r15d
nopl   0x0(%rax,%rax,1)
mov    $0x9,%edi
call   1030 <putchar@plt>
mov    %ebp,0x420(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x424(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x428(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x42c(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x430(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x434(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x438(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x20,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
mov    %ebp,0x43c(%rsp,%rbx,4)
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebp,%edi
mov    $0x2,%esi
call   1070 <gfmul@plt>
mov    %eax,%ebp
cmp    $0x1,%eax
cmove  %r15d,%ebp
add    $0x8,%rbx
cmp    $0xf8,%rbx
jb     1310 <main+0x1c0>
lea    0xcdc(%rip),%rdi
call   1040 <puts@plt>
lea    0xcd3(%rip),%rdi
call   1040 <puts@plt>
lea    0xc12(%rip),%rdi
call   1040 <puts@plt>
lea    0xce9(%rip),%rdi
call   1040 <puts@plt>
lea    0xc16(%rip),%rdi
call   1040 <puts@plt>
lea    0xb2d(%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     14e0 <main+0x390>
lea    0xb63(%rip),%rdi
call   1040 <puts@plt>
lea    0xb5a(%rip),%rdi
call   1040 <puts@plt>
lea    0xaf2(%rip),%rdi
call   1040 <puts@plt>
lea    0xb70(%rip),%rdi
call   1040 <puts@plt>
lea    0xaf6(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0x9ad(%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     1660 <main+0x510>
lea    0xa04(%rip),%rdi
call   1040 <puts@plt>
lea    0x9fb(%rip),%rdi
call   1040 <puts@plt>
lea    0xa01(%rip),%rdi
call   1040 <puts@plt>
lea    0xa11(%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 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00"
@.str.11 = [2 x i8] c"\09\00"
@.str.12 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\0A\00"
@.str.13 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00"
@.str.14 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\0A\00"
@.str.15 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\0A\00"
@.str.16 = [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))
store i32 1, i32* %9
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %6
br label %56
56: ; preds = %87, %50
%57 = load i32, i32* %6
%58 = icmp slt i32 %57, 256
br i1 %58, label %59, label %90
59: ; preds = %56
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %7
br label %61
61: ; preds = %83, %59
%62 = load i32, i32* %7
%63 = icmp slt i32 %62, 8
br i1 %63, label %64, label %86
64: ; preds = %61
%65 = load i32, i32* %9
%66 = load i32, i32* %6
%67 = load i32, i32* %7
%68 = add nsw i32 %66, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %69
store i32 %65, i32* %70
%71 = load i32, i32* %9
%72 = load i32, i32* %7
%73 = icmp eq i32 %72, 7
%74 = zext i1 %73 to i64
%75 = select i1 %73, i32 10, i32 32
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %71, i32 %75)
%77 = load i32, i32* %9
%78 = call i32 @gfmul(i32 %77, i32 2)
store i32 %78, i32* %9
%79 = load i32, i32* %9
%80 = icmp eq i32 %79, 1
br i1 %80, label %81, label %82
81: ; preds = %64
store i32 0, i32* %9
br label %82
82: ; preds = %81, %64
br label %83
83: ; preds = %82
%84 = load i32, i32* %7
%85 = add nsw i32 %84, 1
store i32 %85, i32* %7
br label %61
86: ; preds = %61
br label %87
87: ; preds = %86
%88 = load i32, i32* %6
%89 = add nsw i32 %88, 8
store i32 %89, i32* %6
br label %56
90: ; preds = %56
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%95 = 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 %96
96: ; preds = %124, %90
%97 = load i32, i32* %6
%98 = icmp slt i32 %97, 256
br i1 %98, label %99, label %127
99: ; preds = %96
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %7
br label %101
101: ; preds = %120, %99
%102 = load i32, i32* %7
%103 = icmp slt i32 %102, 8
br i1 %103, label %104, label %123
104: ; preds = %101
%105 = load i32, i32* %6
%106 = load i32, i32* %7
%107 = add nsw i32 %105, %106
%108 = call i32 @gfpow(i32 %107, i32 254)
store i32 %108, i32* %9
%109 = load i32, i32* %6
%110 = load i32, i32* %7
%111 = add nsw i32 %109, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %112
store i32 %108, i32* %113
%114 = load i32, i32* %9
%115 = load i32, i32* %7
%116 = icmp eq i32 %115, 7
%117 = zext i1 %116 to i64
%118 = select i1 %116, i32 10, i32 32
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %114, i32 %118)
br label %120
120: ; preds = %104
%121 = load i32, i32* %7
%122 = add nsw i32 %121, 1
store i32 %122, i32* %7
br label %101
123: ; preds = %101
br label %124
124: ; preds = %123
%125 = load i32, i32* %6
%126 = add nsw i32 %125, 8
store i32 %126, i32* %6
br label %96
127: ; preds = %96
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0))
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%132 = 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 %133
133: ; preds = %161, %127
%134 = load i32, i32* %6
%135 = icmp slt i32 %134, 256
br i1 %135, label %136, label %164
136: ; preds = %133
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %7
br label %138
138: ; preds = %157, %136
%139 = load i32, i32* %7
%140 = icmp slt i32 %139, 8
br i1 %140, label %141, label %160
141: ; preds = %138
%142 = load i32, i32* %6
%143 = load i32, i32* %7
%144 = add nsw i32 %142, %143
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %145
%147 = load i32, i32* %146
%148 = xor i32 %147, 1
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %149
%151 = load i32, i32* %150
%152 = load i32, i32* %7
%153 = icmp eq i32 %152, 7
%154 = zext i1 %153 to i64
%155 = select i1 %153, i32 10, i32 32
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %151, i32 %155)
br label %157
157: ; preds = %141
%158 = load i32, i32* %7
%159 = add nsw i32 %158, 1
store i32 %159, i32* %7
br label %138
160: ; preds = %138
br label %161
161: ; preds = %160
%162 = load i32, i32* %6
%163 = add nsw i32 %162, 8
store i32 %163, i32* %6
br label %133
164: ; preds = %133
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0))
%168 = 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.17 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\00"
@str.20 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfmul);\00"
@str.22 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\00"
@str.25 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\00"
@str.27 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\00"
@str.30 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\00"
@str.32 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\00"
@str.33 = [3 x i8] c"};\00"
@str.34 = [18 x i8] c"#ifdef __KERNEL__\00"
@str.35 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexi);\00"
@str.36 = [7 x i8] c"#endif\00"
@str.37 = [3 x i8] c"\09{\00"
@str.38 = [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.17, 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.37, 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.38, 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.33, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.34, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.20, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.36, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.22, i64 0, i64 0))
br label %50
50: ; preds = %44, %50
%51 = phi i64 [ 0, %44 ], [ %101, %50 ]
%52 = phi i32 [ 1, %44 ], [ %100, %50 ]
%53 = tail call i32 @putchar(i32 9)
%54 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %51
store i32 %52, i32* %54
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %52, i32 32)
%56 = tail call i32 @gfmul(i32 %52, i32 2)
%57 = icmp eq i32 %56, 1
%58 = select i1 %57, i32 0, i32 %56
%59 = or i64 %51, 1
%60 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %59
store i32 %58, i32* %60
%61 = 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)
%62 = tail call i32 @gfmul(i32 %58, i32 2)
%63 = icmp eq i32 %62, 1
%64 = select i1 %63, i32 0, i32 %62
%65 = or i64 %51, 2
%66 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %65
store i32 %64, i32* %66
%67 = 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)
%68 = tail call i32 @gfmul(i32 %64, i32 2)
%69 = icmp eq i32 %68, 1
%70 = select i1 %69, i32 0, i32 %68
%71 = or i64 %51, 3
%72 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %71
store i32 %70, i32* %72
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %70, i32 32)
%74 = tail call i32 @gfmul(i32 %70, i32 2)
%75 = icmp eq i32 %74, 1
%76 = select i1 %75, i32 0, i32 %74
%77 = or i64 %51, 4
%78 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %77
store i32 %76, i32* %78
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %76, i32 32)
%80 = tail call i32 @gfmul(i32 %76, i32 2)
%81 = icmp eq i32 %80, 1
%82 = select i1 %81, i32 0, i32 %80
%83 = or i64 %51, 5
%84 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %83
store i32 %82, i32* %84
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %82, i32 32)
%86 = tail call i32 @gfmul(i32 %82, i32 2)
%87 = icmp eq i32 %86, 1
%88 = select i1 %87, i32 0, i32 %86
%89 = or i64 %51, 6
%90 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %89
store i32 %88, i32* %90
%91 = 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)
%92 = tail call i32 @gfmul(i32 %88, i32 2)
%93 = icmp eq i32 %92, 1
%94 = select i1 %93, i32 0, i32 %92
%95 = or i64 %51, 7
%96 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %95
store i32 %94, i32* %96
%97 = 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 10)
%98 = tail call i32 @gfmul(i32 %94, i32 2)
%99 = icmp eq i32 %98, 1
%100 = select i1 %99, i32 0, i32 %98
%101 = add nuw nsw i64 %51, 8
%102 = icmp ult i64 %51, 248
br i1 %102, label %50, label %103
103: ; preds = %50
%104 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.33, i64 0, i64 0))
%105 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.34, i64 0, i64 0))
%106 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.25, i64 0, i64 0))
%107 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.36, i64 0, i64 0))
%108 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.27, i64 0, i64 0))
br label %109
109: ; preds = %103, %109
%110 = phi i64 [ 0, %103 ], [ %151, %109 ]
%111 = tail call i32 @putchar(i32 9)
%112 = trunc i64 %110 to i32
%113 = tail call i32 @gfpow(i32 %112, i32 254)
%114 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %110
store i32 %113, i32* %114
%115 = 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)
%116 = or i64 %110, 1
%117 = trunc i64 %116 to i32
%118 = tail call i32 @gfpow(i32 %117, i32 254)
%119 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %116
store i32 %118, i32* %119
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %118, i32 32)
%121 = or i64 %110, 2
%122 = trunc i64 %121 to i32
%123 = tail call i32 @gfpow(i32 %122, i32 254)
%124 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %121
store i32 %123, i32* %124
%125 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %123, i32 32)
%126 = or i64 %110, 3
%127 = trunc i64 %126 to i32
%128 = tail call i32 @gfpow(i32 %127, i32 254)
%129 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %126
store i32 %128, i32* %129
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %128, i32 32)
%131 = or i64 %110, 4
%132 = trunc i64 %131 to i32
%133 = tail call i32 @gfpow(i32 %132, i32 254)
%134 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %131
store i32 %133, 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 %133, i32 32)
%136 = or i64 %110, 5
%137 = trunc i64 %136 to i32
%138 = tail call i32 @gfpow(i32 %137, i32 254)
%139 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %136
store i32 %138, i32* %139
%140 = 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)
%141 = or i64 %110, 6
%142 = trunc i64 %141 to i32
%143 = tail call i32 @gfpow(i32 %142, i32 254)
%144 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %141
store i32 %143, i32* %144
%145 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %143, i32 32)
%146 = or i64 %110, 7
%147 = trunc i64 %146 to i32
%148 = tail call i32 @gfpow(i32 %147, i32 254)
%149 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %146
store i32 %148, i32* %149
%150 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %148, i32 10)
%151 = add nuw nsw i64 %110, 8
%152 = icmp ult i64 %110, 248
br i1 %152, label %109, label %153
153: ; preds = %109
%154 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.33, i64 0, i64 0))
%155 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.34, i64 0, i64 0))
%156 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.30, i64 0, i64 0))
%157 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.36, i64 0, i64 0))
%158 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.32, i64 0, i64 0))
br label %159
159: ; preds = %153, %159
%160 = phi i64 [ 0, %153 ], [ %225, %159 ]
%161 = tail call i32 @putchar(i32 9)
%162 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %160
%163 = load i32, i32* %162
%164 = xor i32 %163, 1
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %165
%167 = load i32, i32* %166
%168 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %167, i32 32)
%169 = or i64 %160, 1
%170 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %169
%171 = load i32, i32* %170
%172 = xor i32 %171, 1
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %173
%175 = load i32, i32* %174
%176 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %175, i32 32)
%177 = or i64 %160, 2
%178 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %177
%179 = load i32, i32* %178
%180 = xor i32 %179, 1
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %181
%183 = load i32, i32* %182
%184 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %183, i32 32)
%185 = or i64 %160, 3
%186 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %185
%187 = load i32, i32* %186
%188 = xor i32 %187, 1
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %189
%191 = load i32, i32* %190
%192 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %191, i32 32)
%193 = or i64 %160, 4
%194 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %193
%195 = load i32, i32* %194
%196 = xor i32 %195, 1
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %197
%199 = load i32, i32* %198
%200 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %199, i32 32)
%201 = or i64 %160, 5
%202 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %201
%203 = load i32, i32* %202
%204 = xor i32 %203, 1
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %205
%207 = load i32, i32* %206
%208 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %207, i32 32)
%209 = or i64 %160, 6
%210 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %209
%211 = load i32, i32* %210
%212 = xor i32 %211, 1
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %213
%215 = load i32, i32* %214
%216 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %215, i32 32)
%217 = or i64 %160, 7
%218 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %217
%219 = load i32, i32* %218
%220 = xor i32 %219, 1
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %221
%223 = load i32, i32* %222
%224 = 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 10)
%225 = add nuw nsw i64 %160, 8
%226 = icmp ult i64 %160, 248
br i1 %226, label %159, label %227
227: ; preds = %159
%228 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.33, i64 0, i64 0))
%229 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.34, i64 0, i64 0))
%230 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.35, i64 0, i64 0))
%231 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.36, i64 0, i64 0))
ret i32 0
}