#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");
  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>
movl   $0x1,-0x20(%rbp)
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1333 <main+0x203>
lea    0xde2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1320 <main+0x1f0>
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    0xd9d(%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    130d <main+0x1dd>
movl   $0x0,-0x20(%rbp)
jmp    1312 <main+0x1e2>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12ac <main+0x17c>
jmp    1325 <main+0x1f5>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    128a <main+0x15a>
lea    0xd57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    1415 <main+0x2e5>
lea    0xcec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1402 <main+0x2d2>
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    0xc95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13a2 <main+0x272>
jmp    1407 <main+0x2d7>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1380 <main+0x250>
lea    0xc75(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc6b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd2e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    14eb <main+0x3bb>
lea    0xc0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    14d8 <main+0x3a8>
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    0xbbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1484 <main+0x354>
jmp    14dd <main+0x3ad>
mov    -0x14(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x14(%rbp)
jmp    1462 <main+0x332>
lea    0xb9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xba9(%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    0x103c(%rip),%r14
lea    0xe6d(%rip),%r15
lea    0xe69(%rip),%r13
lea    0x102a(%rip),%r12
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    %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     11c0 <main+0x70>
mov    %r12,%rdi
call   1040 <puts@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    11b0 <main+0x60>
lea    0xec0(%rip),%rdi
call   1040 <puts@plt>
lea    0xeb7(%rip),%rdi
call   1040 <puts@plt>
lea    0xd9d(%rip),%rdi
call   1040 <puts@plt>
lea    0xecd(%rip),%rdi
call   1040 <puts@plt>
lea    0xda1(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
mov    $0xfffffffffffffff8,%rbx
lea    0xceb(%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     1320 <main+0x1d0>
lea    0xce6(%rip),%rdi
call   1040 <puts@plt>
lea    0xcdd(%rip),%rdi
call   1040 <puts@plt>
lea    0xc1c(%rip),%rdi
call   1040 <puts@plt>
lea    0xcf3(%rip),%rdi
call   1040 <puts@plt>
lea    0xc20(%rip),%rdi
call   1040 <puts@plt>
lea    0xb1d(%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     14f0 <main+0x3a0>
lea    0xb6d(%rip),%rdi
call   1040 <puts@plt>
lea    0xb64(%rip),%rdi
call   1040 <puts@plt>
lea    0xafc(%rip),%rdi
call   1040 <puts@plt>
lea    0xb7a(%rip),%rdi
call   1040 <puts@plt>
lea    0xb00(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffffffffffffff8,%rbp
lea    0x99d(%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     1670 <main+0x520>
lea    0xa0e(%rip),%rdi
call   1040 <puts@plt>
lea    0xa05(%rip),%rdi
call   1040 <puts@plt>
lea    0xa0b(%rip),%rdi
call   1040 <puts@plt>
lea    0xa1b(%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 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00"
@.str.12 = [2 x i8] c"\09\00"
@.str.13 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\0A\00"
@.str.14 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00"
@.str.15 = [29 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\0A\00"
@.str.16 = [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\0A\00"
@.str.17 = [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))
store i32 1, i32* %9
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %6
br label %57
57: ; preds = %88, %51
%58 = load i32, i32* %6
%59 = icmp slt i32 %58, 256
br i1 %59, label %60, label %91
60: ; preds = %57
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %7
br label %62
62: ; preds = %84, %60
%63 = load i32, i32* %7
%64 = icmp slt i32 %63, 8
br i1 %64, label %65, label %87
65: ; preds = %62
%66 = load i32, i32* %9
%67 = load i32, i32* %6
%68 = load i32, i32* %7
%69 = add nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %70
store i32 %66, i32* %71
%72 = load i32, i32* %9
%73 = load i32, i32* %7
%74 = icmp eq i32 %73, 7
%75 = zext i1 %74 to i64
%76 = select i1 %74, i32 10, i32 32
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %72, i32 %76)
%78 = load i32, i32* %9
%79 = call i32 @gfmul(i32 %78, i32 2)
store i32 %79, i32* %9
%80 = load i32, i32* %9
%81 = icmp eq i32 %80, 1
br i1 %81, label %82, label %83
82: ; preds = %65
store i32 0, i32* %9
br label %83
83: ; preds = %82, %65
br label %84
84: ; preds = %83
%85 = load i32, i32* %7
%86 = add nsw i32 %85, 1
store i32 %86, i32* %7
br label %62
87: ; preds = %62
br label %88
88: ; preds = %87
%89 = load i32, i32* %6
%90 = add nsw i32 %89, 8
store i32 %90, i32* %6
br label %57
91: ; preds = %57
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0))
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %6
br label %97
97: ; preds = %125, %91
%98 = load i32, i32* %6
%99 = icmp slt i32 %98, 256
br i1 %99, label %100, label %128
100: ; preds = %97
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %7
br label %102
102: ; preds = %121, %100
%103 = load i32, i32* %7
%104 = icmp slt i32 %103, 8
br i1 %104, label %105, label %124
105: ; preds = %102
%106 = load i32, i32* %6
%107 = load i32, i32* %7
%108 = add nsw i32 %106, %107
%109 = call i32 @gfpow(i32 %108, i32 254)
store i32 %109, i32* %9
%110 = load i32, i32* %6
%111 = load i32, i32* %7
%112 = add nsw i32 %110, %111
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %113
store i32 %109, i32* %114
%115 = load i32, i32* %9
%116 = load i32, i32* %7
%117 = icmp eq i32 %116, 7
%118 = zext i1 %117 to i64
%119 = select i1 %117, i32 10, i32 32
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %115, i32 %119)
br label %121
121: ; preds = %105
%122 = load i32, i32* %7
%123 = add nsw i32 %122, 1
store i32 %123, i32* %7
br label %102
124: ; preds = %102
br label %125
125: ; preds = %124
%126 = load i32, i32* %6
%127 = add nsw i32 %126, 8
store i32 %127, i32* %6
br label %97
128: ; preds = %97
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%133 = 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 %134
134: ; preds = %162, %128
%135 = load i32, i32* %6
%136 = icmp slt i32 %135, 256
br i1 %136, label %137, label %165
137: ; preds = %134
%138 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %7
br label %139
139: ; preds = %158, %137
%140 = load i32, i32* %7
%141 = icmp slt i32 %140, 8
br i1 %141, label %142, label %161
142: ; preds = %139
%143 = load i32, i32* %6
%144 = load i32, i32* %7
%145 = add nsw i32 %143, %144
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [256 x i32], [256 x i32]* %10, i64 0, i64 %146
%148 = load i32, i32* %147
%149 = xor i32 %148, 1
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [256 x i32], [256 x i32]* %11, i64 0, i64 %150
%152 = load i32, i32* %151
%153 = load i32, i32* %7
%154 = icmp eq i32 %153, 7
%155 = zext i1 %154 to i64
%156 = select i1 %154, i32 10, i32 32
%157 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %152, i32 %156)
br label %158
158: ; preds = %142
%159 = load i32, i32* %7
%160 = add nsw i32 %159, 1
store i32 %160, i32* %7
br label %139
161: ; preds = %139
br label %162
162: ; preds = %161
%163 = load i32, i32* %6
%164 = add nsw i32 %163, 8
store i32 %164, i32* %6
br label %134
165: ; preds = %134
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%168 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0))
%169 = 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.18 = [26 x i8] c"#include <linux/export.h>\00"
@str.19 = [67 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\00"
@str.22 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfmul);\00"
@str.24 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\00"
@str.27 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexp);\00"
@str.29 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\00"
@str.32 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfinv);\00"
@str.34 = [61 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\00"
@str.35 = [3 x i8] c"};\00"
@str.36 = [18 x i8] c"#ifdef __KERNEL__\00"
@str.37 = [28 x i8] c"EXPORT_SYMBOL(raid6_gfexi);\00"
@str.38 = [7 x i8] c"#endif\00"
@str.39 = [3 x i8] c"\09{\00"
@str.40 = [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.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.19, 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.39, 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.40, 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.35, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.36, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.22, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.38, i64 0, i64 0))
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.24, i64 0, i64 0))
br label %51
51: ; preds = %45, %51
%52 = phi i64 [ 0, %45 ], [ %102, %51 ]
%53 = phi i32 [ 1, %45 ], [ %101, %51 ]
%54 = tail call i32 @putchar(i32 9)
%55 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %52
store i32 %53, i32* %55
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %53, i32 32)
%57 = tail call i32 @gfmul(i32 %53, i32 2)
%58 = icmp eq i32 %57, 1
%59 = select i1 %58, i32 0, i32 %57
%60 = or i64 %52, 1
%61 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %60
store i32 %59, i32* %61
%62 = 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)
%63 = tail call i32 @gfmul(i32 %59, i32 2)
%64 = icmp eq i32 %63, 1
%65 = select i1 %64, i32 0, i32 %63
%66 = or i64 %52, 2
%67 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %66
store i32 %65, i32* %67
%68 = 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)
%69 = tail call i32 @gfmul(i32 %65, i32 2)
%70 = icmp eq i32 %69, 1
%71 = select i1 %70, i32 0, i32 %69
%72 = or i64 %52, 3
%73 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %72
store i32 %71, i32* %73
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %71, i32 32)
%75 = tail call i32 @gfmul(i32 %71, i32 2)
%76 = icmp eq i32 %75, 1
%77 = select i1 %76, i32 0, i32 %75
%78 = or i64 %52, 4
%79 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %78
store i32 %77, i32* %79
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %77, i32 32)
%81 = tail call i32 @gfmul(i32 %77, i32 2)
%82 = icmp eq i32 %81, 1
%83 = select i1 %82, i32 0, i32 %81
%84 = or i64 %52, 5
%85 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %84
store i32 %83, i32* %85
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %83, i32 32)
%87 = tail call i32 @gfmul(i32 %83, i32 2)
%88 = icmp eq i32 %87, 1
%89 = select i1 %88, i32 0, i32 %87
%90 = or i64 %52, 6
%91 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %90
store i32 %89, i32* %91
%92 = 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)
%93 = tail call i32 @gfmul(i32 %89, i32 2)
%94 = icmp eq i32 %93, 1
%95 = select i1 %94, i32 0, i32 %93
%96 = or i64 %52, 7
%97 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %96
store i32 %95, i32* %97
%98 = 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 10)
%99 = tail call i32 @gfmul(i32 %95, i32 2)
%100 = icmp eq i32 %99, 1
%101 = select i1 %100, i32 0, i32 %99
%102 = add nuw nsw i64 %52, 8
%103 = icmp ult i64 %52, 248
br i1 %103, label %51, label %104
104: ; preds = %51
%105 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.35, i64 0, i64 0))
%106 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.36, i64 0, i64 0))
%107 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.27, i64 0, i64 0))
%108 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.38, i64 0, i64 0))
%109 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.29, i64 0, i64 0))
br label %110
110: ; preds = %104, %110
%111 = phi i64 [ 0, %104 ], [ %152, %110 ]
%112 = tail call i32 @putchar(i32 9)
%113 = trunc i64 %111 to i32
%114 = tail call i32 @gfpow(i32 %113, i32 254)
%115 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %111
store i32 %114, i32* %115
%116 = 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)
%117 = or i64 %111, 1
%118 = trunc i64 %117 to i32
%119 = tail call i32 @gfpow(i32 %118, i32 254)
%120 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %117
store i32 %119, i32* %120
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %119, i32 32)
%122 = or i64 %111, 2
%123 = trunc i64 %122 to i32
%124 = tail call i32 @gfpow(i32 %123, i32 254)
%125 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %122
store i32 %124, i32* %125
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %124, i32 32)
%127 = or i64 %111, 3
%128 = trunc i64 %127 to i32
%129 = tail call i32 @gfpow(i32 %128, i32 254)
%130 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %127
store i32 %129, i32* %130
%131 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %129, i32 32)
%132 = or i64 %111, 4
%133 = trunc i64 %132 to i32
%134 = tail call i32 @gfpow(i32 %133, i32 254)
%135 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %132
store i32 %134, 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 %134, i32 32)
%137 = or i64 %111, 5
%138 = trunc i64 %137 to i32
%139 = tail call i32 @gfpow(i32 %138, i32 254)
%140 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %137
store i32 %139, i32* %140
%141 = 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)
%142 = or i64 %111, 6
%143 = trunc i64 %142 to i32
%144 = tail call i32 @gfpow(i32 %143, i32 254)
%145 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %142
store i32 %144, i32* %145
%146 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %144, i32 32)
%147 = or i64 %111, 7
%148 = trunc i64 %147 to i32
%149 = tail call i32 @gfpow(i32 %148, i32 254)
%150 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %147
store i32 %149, i32* %150
%151 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %149, i32 10)
%152 = add nuw nsw i64 %111, 8
%153 = icmp ult i64 %111, 248
br i1 %153, label %110, label %154
154: ; preds = %110
%155 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.35, i64 0, i64 0))
%156 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.36, i64 0, i64 0))
%157 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.32, i64 0, i64 0))
%158 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.38, i64 0, i64 0))
%159 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.34, i64 0, i64 0))
br label %160
160: ; preds = %154, %160
%161 = phi i64 [ 0, %154 ], [ %226, %160 ]
%162 = tail call i32 @putchar(i32 9)
%163 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %161
%164 = load i32, i32* %163
%165 = xor i32 %164, 1
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %166
%168 = load i32, i32* %167
%169 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %168, i32 32)
%170 = or i64 %161, 1
%171 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %170
%172 = load i32, i32* %171
%173 = xor i32 %172, 1
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %174
%176 = load i32, i32* %175
%177 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %176, i32 32)
%178 = or i64 %161, 2
%179 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %178
%180 = load i32, i32* %179
%181 = xor i32 %180, 1
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %182
%184 = load i32, i32* %183
%185 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %184, i32 32)
%186 = or i64 %161, 3
%187 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %186
%188 = load i32, i32* %187
%189 = xor i32 %188, 1
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %190
%192 = load i32, i32* %191
%193 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %192, i32 32)
%194 = or i64 %161, 4
%195 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %194
%196 = load i32, i32* %195
%197 = xor i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %198
%200 = load i32, i32* %199
%201 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %200, i32 32)
%202 = or i64 %161, 5
%203 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %202
%204 = load i32, i32* %203
%205 = xor i32 %204, 1
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %206
%208 = load i32, i32* %207
%209 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %208, i32 32)
%210 = or i64 %161, 6
%211 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %210
%212 = load i32, i32* %211
%213 = xor i32 %212, 1
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %214
%216 = load i32, i32* %215
%217 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %216, i32 32)
%218 = or i64 %161, 7
%219 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %218
%220 = load i32, i32* %219
%221 = xor i32 %220, 1
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %222
%224 = load i32, i32* %223
%225 = 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 10)
%226 = add nuw nsw i64 %161, 8
%227 = icmp ult i64 %161, 248
br i1 %227, label %160, label %228
228: ; preds = %160
%229 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.35, i64 0, i64 0))
%230 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.36, i64 0, i64 0))
%231 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.37, i64 0, i64 0))
%232 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.38, i64 0, i64 0))
ret i32 0
}