#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 */

/* Variables and functions */
int EOF;
int /*<<< orphan*/ exit(int);
int getc(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int scanf(char *, int *);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ ungetc(int, int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  int variants[10 * 8176];
  int uni2index[0x10000];
  int index;
  if (argc != 1)
    exit(1);
  printf("/*\n");
  printf(" * Copyright (C) 1999-2002 Free Software Foundation, Inc.\n");
  printf(" * This file is part of the GNU LIBICONV Library.\n");
  printf(" *\n");
  printf(" * The GNU LIBICONV Library is free software; you can redistribute "
         "it\n");
  printf(" * and/or modify it under the terms of the GNU Library General "
         "Public\n");
  printf(" * License as published by the Free Software Foundation; either "
         "version 2\n");
  printf(" * of the License, or (at your option) any later version.\n");
  printf(" *\n");
  printf(" * The GNU LIBICONV Library is distributed in the hope that it will "
         "be\n");
  printf(" * useful, but WITHOUT ANY WARRANTY; without even the implied "
         "warranty of\n");
  printf(
      " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n");
  printf(" * Library General Public License for more details.\n");
  printf(" *\n");
  printf(
      " * You should have received a copy of the GNU Library General Public\n");
  printf(" * License along with the GNU LIBICONV Library; see the file "
         "COPYING.LIB.\n");
  printf(" * If not, write to the Free Software Foundation, Inc., 51 Franklin "
         "Street,\n");
  printf(" * Fifth Floor, Boston, MA 02110-1301, USA.\n");
  printf(" */\n");
  printf("\n");
  printf("/*\n");
  printf(" * CJK variants table\n");
  printf(" */\n");
  printf("\n");
  {
    int c;
    int j;
    for (j = 0; j < 0x10000; j++)
      uni2index[j] = -1;
    index = 0;
    for (;;) {
      c = getc(stdin);
      if (c == EOF)
        break;
      if (c == '#') {
        do {
          c = getc(stdin);
        } while (!(c == EOF || c == '\n'));
        continue;
      }
      ungetc(c, stdin);
      if (scanf("%x", &j) != 1)
        exit(1);
      c = getc(stdin);
      if (c != '\t')
        exit(1);
      uni2index[j] = index;
      for (;;) {
        int i;
        if (scanf("%x", &i) != 1)
          exit(1);
        if (!(i >= 0x3000 && i < 0x3000 + 0x8000))
          exit(1);
        variants[index++] = i - 0x3000;
        c = getc(stdin);
        if (c != ' ')
          break;
      }
      variants[index - 1] |= 0x8000;
      if (c != '\n')
        exit(1);
    }
  }
  printf("static const unsigned short cjk_variants[%d] = {", index);
  {
    int i;
    for (i = 0; i < index; i++) {
      if ((i % 8) == 0)
        printf("\n ");
      printf(" 0x%04x,", variants[i]);
    }
    printf("\n};\n");
  }
  printf("\n");
  printf("static const short cjk_variants_indx[0x5200] = {\n");
  {
    int j;
    for (j = 0x4e00; j < 0xa000; j++) {
      if ((j % 0x100) == 0)
        printf("  /* 0x%04x */\n", j);
      if ((j % 8) == 0)
        printf(" ");
      printf(" %5d,", uni2index[j]);
      if ((j % 8) == 7)
        printf("\n");
    }
    printf("};\n");
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x8fdb0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
je     117d <main+0x2d>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeba(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1037(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe38(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1050(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1088(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1104(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11bc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xde6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10f9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1184(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8fd9c(%rbp)
cmpl   $0x10000,-0x8fd9c(%rbp)
jge    130d <main+0x1bd>
movslq -0x8fd9c(%rbp),%rax
movl   $0xffffffff,-0x8fd90(%rbp,%rax,4)
ff ff ff ff
mov    -0x8fd9c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8fd9c(%rbp)
jmp    12d7 <main+0x187>
movl   $0x0,-0x8fd94(%rbp)
mov    0x2cca(%rip),%rax
mov    (%rax),%edi
call   1070 <getc@plt>
mov    %eax,-0x8fd98(%rbp)
mov    -0x8fd98(%rbp),%eax
mov    0x2ca8(%rip),%rcx
cmp    (%rcx),%eax
jne    1345 <main+0x1f5>
jmp    1502 <main+0x3b2>
cmpl   $0x23,-0x8fd98(%rbp)
jne    13ad <main+0x25d>
jmp    1357 <main+0x207>
mov    0x2c8a(%rip),%rax
mov    (%rax),%edi
call   1070 <getc@plt>
mov    %eax,-0x8fd98(%rbp)
mov    -0x8fd98(%rbp),%ecx
mov    $0x1,%al
mov    0x2c66(%rip),%rdx
cmp    (%rdx),%ecx
mov    %al,-0x8fda9(%rbp)
je     1398 <main+0x248>
cmpl   $0xa,-0x8fd98(%rbp)
sete   %al
mov    %al,-0x8fda9(%rbp)
mov    -0x8fda9(%rbp),%al
xor    $0xff,%al
test   $0x1,%al
jne    1357 <main+0x207>
jmp    1317 <main+0x1c7>
mov    -0x8fd98(%rbp),%edi
mov    0x2c2e(%rip),%rax
mov    (%rax),%esi
call   1040 <ungetc@plt>
lea    0xff2(%rip),%rdi
lea    -0x8fd9c(%rbp),%rsi
call   1050 <scanf@plt>
cmp    $0x1,%eax
je     13e7 <main+0x297>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    0x2bfa(%rip),%rax
mov    (%rax),%edi
call   1070 <getc@plt>
mov    %eax,-0x8fd98(%rbp)
cmpl   $0x9,-0x8fd98(%rbp)
je     1412 <main+0x2c2>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    -0x8fd94(%rbp),%ecx
movslq -0x8fd9c(%rbp),%rax
mov    %ecx,-0x8fd90(%rbp,%rax,4)
lea    0xf8d(%rip),%rdi
lea    -0x8fda0(%rbp),%rsi
call   1050 <scanf@plt>
cmp    $0x1,%eax
je     144c <main+0x2fc>
mov    $0x1,%edi
call   1060 <exit@plt>
cmpl   $0x3000,-0x8fda0(%rbp)
jl     146c <main+0x31c>
cmpl   $0xb000,-0x8fda0(%rbp)
jl     1476 <main+0x326>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    -0x8fda0(%rbp),%ecx
sub    $0x3000,%ecx
mov    -0x8fd94(%rbp),%eax
mov    %eax,%edx
add    $0x1,%edx
mov    %edx,-0x8fd94(%rbp)
cltq
mov    %ecx,-0x4fd90(%rbp,%rax,4)
mov    0x2b45(%rip),%rax
mov    (%rax),%edi
call   1070 <getc@plt>
mov    %eax,-0x8fd98(%rbp)
cmpl   $0x20,-0x8fd98(%rbp)
je     14c2 <main+0x372>
jmp    14c7 <main+0x377>
jmp    1426 <main+0x2d6>
mov    -0x8fd94(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x4fd90(%rbp,%rax,4),%ecx
or     $0x8000,%ecx
mov    %ecx,-0x4fd90(%rbp,%rax,4)
cmpl   $0xa,-0x8fd98(%rbp)
je     14fd <main+0x3ad>
mov    $0x1,%edi
call   1060 <exit@plt>
jmp    1317 <main+0x1c7>
mov    -0x8fd94(%rbp),%esi
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8fda4(%rbp)
mov    -0x8fda4(%rbp),%eax
cmp    -0x8fd94(%rbp),%eax
jge    1587 <main+0x437>
mov    -0x8fda4(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1557 <main+0x407>
lea    0xe9e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x8fda4(%rbp),%rax
mov    -0x4fd90(%rbp,%rax,4),%esi
lea    0xe85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8fda4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8fda4(%rbp)
jmp    1520 <main+0x3d0>
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xad8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x4e00,-0x8fda8(%rbp)
cmpl   $0xa000,-0x8fda8(%rbp)
jge    1675 <main+0x525>
mov    -0x8fda8(%rbp),%eax
mov    $0x100,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    15f6 <main+0x4a6>
mov    -0x8fda8(%rbp),%esi
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8fda8(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    161b <main+0x4cb>
lea    0xddb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x8fda8(%rbp),%rax
mov    -0x8fd90(%rbp,%rax,4),%esi
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8fda8(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
cmp    $0x7,%edx
jne    165c <main+0x50c>
lea    0xa1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1661 <main+0x511>
mov    -0x8fda8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8fda8(%rbp)
jmp    15bb <main+0x46b>
lea    0xd7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x9ea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8fdb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x8fd98,%rsp
cmp    $0x1,%edi
jne    13b8 <main+0x238>
lea    0x1245(%rip),%r14
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xea6(%rip),%rdi
call   1040 <puts@plt>
lea    0xed4(%rip),%rdi
call   1040 <puts@plt>
lea    0x1114(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xeeb(%rip),%rdi
call   1040 <puts@plt>
lea    0xf25(%rip),%rdi
call   1040 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9d(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xfc3(%rip),%rdi
call   1040 <puts@plt>
lea    0xffe(%rip),%rdi
call   1040 <puts@plt>
lea    0x103c(%rip),%rdi
call   1040 <puts@plt>
lea    0x1075(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0x1098(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d1(%rip),%rdi
call   1040 <puts@plt>
lea    0x110f(%rip),%rdi
call   1040 <puts@plt>
lea    0x114f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1188(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0x1151(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10(%rsp),%rdi
mov    $0x40000,%edx
mov    $0xff,%esi
call   1060 <memset@plt>
movl   $0x10000,0x8(%rsp)
xor    %r13d,%r13d
mov    0x2d13(%rip),%rbx
mov    0x2d04(%rip),%rbp
lea    0xd1d(%rip),%r14
lea    0x8(%rsp),%r15
nopl   0x0(%rax,%rax,1)
mov    (%rbx),%edi
call   10a0 <getc@plt>
cmp    0x0(%rbp),%eax
je     13c2 <main+0x242>
cmp    $0x23,%eax
jne    1323 <main+0x1a3>
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%rbx),%edi
call   10a0 <getc@plt>
cmp    $0xa,%eax
je     12f0 <main+0x170>
cmp    0x0(%rbp),%eax
jne    1310 <main+0x190>
jmp    12f0 <main+0x170>
mov    (%rbx),%esi
mov    %eax,%edi
call   1070 <ungetc@plt>
mov    %r14,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
cmp    $0x1,%eax
jne    13b8 <main+0x238>
mov    (%rbx),%edi
call   10a0 <getc@plt>
cmp    $0x9,%eax
jne    13b8 <main+0x238>
movslq 0x8(%rsp),%rax
mov    %r13d,0x10(%rsp,%rax,4)
movslq %r13d,%rax
lea    (%rsp,%rax,4),%r15
add    $0x40010,%r15
mov    %r14,%rdi
lea    0xc(%rsp),%rsi
call   1080 <scanf@plt>
cmp    $0x1,%eax
jne    13b8 <main+0x238>
mov    0xc(%rsp),%r12d
mov    $0xffffd000,%eax
add    %eax,%r12d
cmp    $0x8000,%r12d
jae    13b8 <main+0x238>
mov    %r12d,(%r15)
mov    (%rbx),%edi
call   10a0 <getc@plt>
add    $0x4,%r15
add    $0x1,%r13d
cmp    $0x20,%eax
je     1360 <main+0x1e0>
or     $0x8000,%r12d
mov    %r12d,-0x4(%r15)
cmp    $0xa,%eax
lea    0x8(%rsp),%r15
je     12f0 <main+0x170>
mov    $0x1,%edi
call   1090 <exit@plt>
lea    0xc3a(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
test   %r13d,%r13d
jle    141b <main+0x29b>
mov    %r13d,%ebp
lea    0xc52(%rip),%r14
lea    0xc4e(%rip),%r15
xor    %ebx,%ebx
jmp    140a <main+0x28a>
nopl   (%rax)
mov    0x40010(%rsp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%rbp
je     141b <main+0x29b>
test   $0x7,%bl
jne    13f0 <main+0x270>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    13f0 <main+0x270>
lea    0xfe1(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xfcf(%rip),%rdi
call   1040 <puts@plt>
mov    $0x4e00,%ebx
lea    0xbf7(%rip),%r14
lea    0xc00(%rip),%r15
jmp    1485 <main+0x305>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    0x10(%rsp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    $0xa000,%rbx
je     14bb <main+0x33b>
test   %bl,%bl
jne    1495 <main+0x315>
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%ebp
and    $0x7,%ebp
je     1460 <main+0x2e0>
mov    0x10(%rsp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x7,%ebp
jne    1478 <main+0x2f8>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    1478 <main+0x2f8>
lea    0xf42(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x8fd98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"/*\0A\00"
@.str.1 = [59 x i8] c" * Copyright (C) 1999-2002 Free Software Foundation, Inc.\0A\00"
@.str.2 = [51 x i8] c" * This file is part of the GNU LIBICONV Library.\0A\00"
@.str.3 = [4 x i8] c" *\0A\00"
@.str.4 = [71 x i8] c" * The GNU LIBICONV Library is free software; you can redistribute it\0A\00"
@.str.5 = [71 x i8] c" * and/or modify it under the terms of the GNU Library General Public\0A\00"
@.str.6 = [75 x i8] c" * License as published by the Free Software Foundation; either version 2\0A\00"
@.str.7 = [59 x i8] c" * of the License, or (at your option) any later version.\0A\00"
@.str.8 = [72 x i8] c" * The GNU LIBICONV Library is distributed in the hope that it will be\0A\00"
@.str.9 = [75 x i8] c" * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\0A\00"
@.str.10 = [70 x i8] c" * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\0A\00"
@.str.11 = [53 x i8] c" * Library General Public License for more details.\0A\00"
@.str.12 = [70 x i8] c" * You should have received a copy of the GNU Library General Public\0A\00"
@.str.13 = [75 x i8] c" * License along with the GNU LIBICONV Library; see the file COPYING.LIB.\0A\00"
@.str.14 = [77 x i8] c" * If not, write to the Free Software Foundation, Inc., 51 Franklin Street,\0A\00"
@.str.15 = [45 x i8] c" * Fifth Floor, Boston, MA 02110-1301, USA.\0A\00"
@.str.16 = [5 x i8] c" */\0A\00"
@.str.17 = [2 x i8] c"\0A\00"
@.str.18 = [23 x i8] c" * CJK variants table\0A\00"
@stdin = global i32 0
@EOF = global i32 0
@.str.19 = [3 x i8] c"%x\00"
@.str.20 = [49 x i8] c"static const unsigned short cjk_variants[%d] = {\00"
@.str.21 = [3 x i8] c"\0A \00"
@.str.22 = [9 x i8] c" 0x%04x,\00"
@.str.23 = [5 x i8] c"\0A};\0A\00"
@.str.24 = [50 x i8] c"static const short cjk_variants_indx[0x5200] = {\0A\00"
@.str.25 = [16 x i8] c" /* 0x%04x */\0A\00"
@.str.26 = [2 x i8] c" \00"
@.str.27 = [6 x i8] c" %5d,\00"
@.str.28 = [4 x i8] c"};\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [81760 x i32]
%7 = alloca [65536 x i32]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = load i32, i32* %4
%15 = icmp ne i32 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @exit(i32 1)
unreachable
18: ; preds = %2
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.4, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.5, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.6, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.7, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.8, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.9, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.11, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.12, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.13, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.14, i64 0, i64 0))
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.15, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0))
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
store i32 0, i32* %10
br label %43
43: ; preds = %50, %18
%44 = load i32, i32* %10
%45 = icmp slt i32 %44, 65536
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = load i32, i32* %10
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [65536 x i32], [65536 x i32]* %7, i64 0, i64 %48
store i32 -1, i32* %49
br label %50
50: ; preds = %46
%51 = load i32, i32* %10
%52 = add nsw i32 %51, 1
store i32 %52, i32* %10
br label %43
53: ; preds = %43
store i32 0, i32* %8
br label %54
54: ; preds = %136, %78, %53
%55 = load i32, i32* @stdin
%56 = call i32 @getc(i32 %55)
store i32 %56, i32* %9
%57 = load i32, i32* %9
%58 = load i32, i32* @EOF
%59 = icmp eq i32 %57, %58
br i1 %59, label %60, label %61
60: ; preds = %54
br label %137
61: ; preds = %54
%62 = load i32, i32* %9
%63 = icmp eq i32 %62, 35
br i1 %63, label %64, label %79
64: ; preds = %61
br label %65
65: ; preds = %75, %64
%66 = load i32, i32* @stdin
%67 = call i32 @getc(i32 %66)
store i32 %67, i32* %9
br label %68
68: ; preds = %65
%69 = load i32, i32* %9
%70 = load i32, i32* @EOF
%71 = icmp eq i32 %69, %70
br i1 %71, label %75, label %72
72: ; preds = %68
%73 = load i32, i32* %9
%74 = icmp eq i32 %73, 10
br label %75
75: ; preds = %72, %68
%76 = phi i1 [ true, %68 ], [ %74, %72 ]
%77 = xor i1 %76, true
br i1 %77, label %65, label %78
78: ; preds = %75
br label %54
79: ; preds = %61
%80 = load i32, i32* %9
%81 = load i32, i32* @stdin
%82 = call i32 @ungetc(i32 %80, i32 %81)
%83 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0), i32* %10)
%84 = icmp ne i32 %83, 1
br i1 %84, label %85, label %87
85: ; preds = %79
%86 = call i32 @exit(i32 1)
unreachable
87: ; preds = %79
%88 = load i32, i32* @stdin
%89 = call i32 @getc(i32 %88)
store i32 %89, i32* %9
%90 = load i32, i32* %9
%91 = icmp ne i32 %90, 9
br i1 %91, label %92, label %94
92: ; preds = %87
%93 = call i32 @exit(i32 1)
unreachable
94: ; preds = %87
%95 = load i32, i32* %8
%96 = load i32, i32* %10
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [65536 x i32], [65536 x i32]* %7, i64 0, i64 %97
store i32 %95, i32* %98
br label %99
99: ; preds = %124, %94
%100 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0), i32* %11)
%101 = icmp ne i32 %100, 1
br i1 %101, label %102, label %104
102: ; preds = %99
%103 = call i32 @exit(i32 1)
unreachable
104: ; preds = %99
%105 = load i32, i32* %11
%106 = icmp sge i32 %105, 12288
br i1 %106, label %107, label %110
107: ; preds = %104
%108 = load i32, i32* %11
%109 = icmp slt i32 %108, 45056
br i1 %109, label %112, label %110
110: ; preds = %107, %104
%111 = call i32 @exit(i32 1)
unreachable
112: ; preds = %107
%113 = load i32, i32* %11
%114 = sub nsw i32 %113, 12288
%115 = load i32, i32* %8
%116 = add nsw i32 %115, 1
store i32 %116, i32* %8
%117 = sext i32 %115 to i64
%118 = getelementptr inbounds [81760 x i32], [81760 x i32]* %6, i64 0, i64 %117
store i32 %114, i32* %118
%119 = load i32, i32* @stdin
%120 = call i32 @getc(i32 %119)
store i32 %120, i32* %9
%121 = load i32, i32* %9
%122 = icmp ne i32 %121, 32
br i1 %122, label %123, label %124
123: ; preds = %112
br label %125
124: ; preds = %112
br label %99
125: ; preds = %123
%126 = load i32, i32* %8
%127 = sub nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [81760 x i32], [81760 x i32]* %6, i64 0, i64 %128
%130 = load i32, i32* %129
%131 = or i32 %130, 32768
store i32 %131, i32* %129
%132 = load i32, i32* %9
%133 = icmp ne i32 %132, 10
br i1 %133, label %134, label %136
134: ; preds = %125
%135 = call i32 @exit(i32 1)
unreachable
136: ; preds = %125
br label %54
137: ; preds = %60
%138 = load i32, i32* %8
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.20, i64 0, i64 0), i32 %138)
store i32 0, i32* %12
br label %140
140: ; preds = %156, %137
%141 = load i32, i32* %12
%142 = load i32, i32* %8
%143 = icmp slt i32 %141, %142
br i1 %143, label %144, label %159
144: ; preds = %140
%145 = load i32, i32* %12
%146 = srem i32 %145, 8
%147 = icmp eq i32 %146, 0
br i1 %147, label %148, label %150
148: ; preds = %144
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %150
150: ; preds = %148, %144
%151 = load i32, i32* %12
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [81760 x i32], [81760 x i32]* %6, i64 0, i64 %152
%154 = load i32, i32* %153
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), i32 %154)
br label %156
156: ; preds = %150
%157 = load i32, i32* %12
%158 = add nsw i32 %157, 1
store i32 %158, i32* %12
br label %140
159: ; preds = %140
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%161 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.24, i64 0, i64 0))
store i32 19968, i32* %13
br label %163
163: ; preds = %191, %159
%164 = load i32, i32* %13
%165 = icmp slt i32 %164, 40960
br i1 %165, label %166, label %194
166: ; preds = %163
%167 = load i32, i32* %13
%168 = srem i32 %167, 256
%169 = icmp eq i32 %168, 0
br i1 %169, label %170, label %173
170: ; preds = %166
%171 = load i32, i32* %13
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.25, i64 0, i64 0), i32 %171)
br label %173
173: ; preds = %170, %166
%174 = load i32, i32* %13
%175 = srem i32 %174, 8
%176 = icmp eq i32 %175, 0
br i1 %176, label %177, label %179
177: ; preds = %173
%178 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
br label %179
179: ; preds = %177, %173
%180 = load i32, i32* %13
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [65536 x i32], [65536 x i32]* %7, i64 0, i64 %181
%183 = load i32, i32* %182
%184 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0), i32 %183)
%185 = load i32, i32* %13
%186 = srem i32 %185, 8
%187 = icmp eq i32 %186, 7
br i1 %187, label %188, label %190
188: ; preds = %179
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
br label %190
190: ; preds = %188, %179
br label %191
191: ; preds = %190
%192 = load i32, i32* %13
%193 = add nsw i32 %192, 1
store i32 %193, i32* %13
br label %163
194: ; preds = %163
%195 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%196 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@stdin = global i32 0
@EOF = global i32 0
@.str.19 = [3 x i8] c"%x\00"
@.str.20 = [49 x i8] c"static const unsigned short cjk_variants[%d] = {\00"
@.str.21 = [3 x i8] c"\0A \00"
@.str.22 = [9 x i8] c" 0x%04x,\00"
@.str.25 = [16 x i8] c" /* 0x%04x */\0A\00"
@.str.27 = [6 x i8] c" %5d,\00"
@str.29 = [58 x i8] c" * Copyright (C) 1999-2002 Free Software Foundation, Inc.\00"
@str.30 = [50 x i8] c" * This file is part of the GNU LIBICONV Library.\00"
@str.32 = [70 x i8] c" * The GNU LIBICONV Library is free software; you can redistribute it\00"
@str.33 = [70 x i8] c" * and/or modify it under the terms of the GNU Library General Public\00"
@str.34 = [74 x i8] c" * License as published by the Free Software Foundation; either version 2\00"
@str.35 = [58 x i8] c" * of the License, or (at your option) any later version.\00"
@str.37 = [71 x i8] c" * The GNU LIBICONV Library is distributed in the hope that it will be\00"
@str.38 = [74 x i8] c" * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\00"
@str.39 = [69 x i8] c" * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\00"
@str.40 = [52 x i8] c" * Library General Public License for more details.\00"
@str.41 = [3 x i8] c" *\00"
@str.42 = [69 x i8] c" * You should have received a copy of the GNU Library General Public\00"
@str.43 = [74 x i8] c" * License along with the GNU LIBICONV Library; see the file COPYING.LIB.\00"
@str.44 = [76 x i8] c" * If not, write to the Free Software Foundation, Inc., 51 Franklin Street,\00"
@str.45 = [44 x i8] c" * Fifth Floor, Boston, MA 02110-1301, USA.\00"
@str.47 = [3 x i8] c"/*\00"
@str.48 = [22 x i8] c" * CJK variants table\00"
@str.49 = [4 x i8] c" */\00"
@str.50 = [4 x i8] c"\0A};\00"
@str.51 = [49 x i8] c"static const short cjk_variants_indx[0x5200] = {\00"
@str.52 = [3 x i8] c"};\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [81760 x i32]
%4 = alloca [65536 x i32]
%5 = bitcast [65536 x i32]* %4 to i8*
%6 = alloca i32
%7 = alloca i32
%8 = bitcast [81760 x i32]* %3 to i8*
%9 = icmp eq i32 %0, 1
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @exit(i32 1)
unreachable
12: ; preds = %2
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.47, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.29, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.30, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.41, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.32, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.33, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.34, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.35, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.41, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.37, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.38, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.39, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.40, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.41, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.42, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.43, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.44, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.45, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.49, i64 0, i64 0))
%32 = tail call i32 @putchar(i32 10)
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.47, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.48, i64 0, i64 0))
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.49, i64 0, i64 0))
%36 = tail call i32 @putchar(i32 10)
%37 = bitcast i32* %6 to i8*
store i32 65536, i32* %6
%38 = bitcast i32* %7 to i8*
br label %95
39: ; preds = %47
%40 = load i32, i32* @stdin
%41 = call i32 @getc(i32 %40)
%42 = load i32, i32* @EOF
%43 = icmp eq i32 %41, %42
br i1 %43, label %103, label %44
44: ; preds = %95, %39
%45 = phi i32 [ %41, %39 ], [ %98, %95 ]
%46 = icmp eq i32 %45, 35
br i1 %46, label %47, label %54
47: ; preds = %44, %47
%48 = load i32, i32* @stdin
%49 = call i32 @getc(i32 %48)
%50 = load i32, i32* @EOF
%51 = icmp ne i32 %49, %50
%52 = icmp ne i32 %49, 10
%53 = and i1 %52, %51
br i1 %53, label %47, label %39
54: ; preds = %44
%55 = load i32, i32* @stdin
%56 = call i32 @ungetc(i32 %45, i32 %55)
%57 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0), i32* %6)
%58 = icmp eq i32 %57, 1
br i1 %58, label %61, label %59
59: ; preds = %54
%60 = call i32 @exit(i32 1)
unreachable
61: ; preds = %54
%62 = load i32, i32* @stdin
%63 = call i32 @getc(i32 %62)
%64 = icmp eq i32 %63, 9
br i1 %64, label %67, label %65
65: ; preds = %61
%66 = call i32 @exit(i32 1)
unreachable
67: ; preds = %61
%68 = load i32, i32* %6
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %69
store i32 %96, i32* %70
%71 = sext i32 %96 to i64
br label %72
72: ; preds = %84, %67
%73 = phi i64 [ %85, %84 ], [ %71, %67 ]
%74 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0), i32* %7)
%75 = icmp eq i32 %74, 1
br i1 %75, label %78, label %76
76: ; preds = %72
%77 = call i32 @exit(i32 1)
unreachable
78: ; preds = %72
%79 = load i32, i32* %7
%80 = add i32 %79, -12288
%81 = icmp ult i32 %80, 32768
br i1 %81, label %84, label %82
82: ; preds = %78
%83 = call i32 @exit(i32 1)
unreachable
84: ; preds = %78
%85 = add i64 %73, 1
%86 = getelementptr inbounds [81760 x i32], [81760 x i32]* %3, i64 0, i64 %73
store i32 %80, i32* %86
%87 = load i32, i32* @stdin
%88 = call i32 @getc(i32 %87)
%89 = icmp eq i32 %88, 32
br i1 %89, label %72, label %90
90: ; preds = %84
%91 = getelementptr inbounds [81760 x i32], [81760 x i32]* %3, i64 0, i64 %73
%92 = trunc i64 %85 to i32
%93 = or i32 %80, 32768
store i32 %93, i32* %91
%94 = icmp eq i32 %88, 10
br i1 %94, label %95, label %101
95: ; preds = %12, %90
%96 = phi i32 [ 0, %12 ], [ %92, %90 ]
%97 = load i32, i32* @stdin
%98 = call i32 @getc(i32 %97)
%99 = load i32, i32* @EOF
%100 = icmp eq i32 %98, %99
br i1 %100, label %103, label %44
101: ; preds = %90
%102 = call i32 @exit(i32 1)
unreachable
103: ; preds = %95, %39
%104 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.20, i64 0, i64 0), i32 %96)
%105 = icmp sgt i32 %96, 0
br i1 %105, label %106, label %120
106: ; preds = %103
%107 = zext i32 %96 to i64
br label %108
108: ; preds = %106, %114
%109 = phi i64 [ 0, %106 ], [ %118, %114 ]
%110 = and i64 %109, 7
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %114
112: ; preds = %108
%113 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %114
114: ; preds = %112, %108
%115 = getelementptr inbounds [81760 x i32], [81760 x i32]* %3, i64 0, i64 %109
%116 = load i32, i32* %115
%117 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), i32 %116)
%118 = add nuw nsw i64 %109, 1
%119 = icmp eq i64 %118, %107
br i1 %119, label %120, label %108
120: ; preds = %114, %103
%121 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.50, i64 0, i64 0))
%122 = call i32 @putchar(i32 10)
%123 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.51, i64 0, i64 0))
br label %124
124: ; preds = %120, %146
%125 = phi i64 [ 19968, %120 ], [ %147, %146 ]
%126 = trunc i64 %125 to i32
%127 = and i32 %126, 255
%128 = icmp eq i32 %127, 0
br i1 %128, label %129, label %131
129: ; preds = %124
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.25, i64 0, i64 0), i32 %126)
br label %131
131: ; preds = %129, %124
%132 = and i32 %126, 7
%133 = icmp eq i32 %132, 0
br i1 %133, label %134, label %139
134: ; preds = %131
%135 = call i32 @putchar(i32 32)
%136 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %125
%137 = load i32, i32* %136
%138 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0), i32 %137)
br label %146
139: ; preds = %131
%140 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %125
%141 = load i32, i32* %140
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0), i32 %141)
%143 = icmp eq i32 %132, 7
br i1 %143, label %144, label %146
144: ; preds = %139
%145 = call i32 @putchar(i32 10)
br label %146
146: ; preds = %134, %139, %144
%147 = add nuw nsw i64 %125, 1
%148 = icmp eq i64 %147, 40960
br i1 %148, label %149, label %124
149: ; preds = %146
%150 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.52, i64 0, i64 0))
%151 = call i32 @putchar(i32 10)
ret i32 0
}