#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 /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
int main(void) {
  int i, j, pl;
  FILE *jp = fopen("iso-2022-jp.html", "w");
  if (!jp)
    return 1;
  fputs("<html lang=ko>\n <head>\n  <meta http-equiv=\"Content-Type\" "
        "content=\"text/html;charset=iso-2022-jp\">\n"
        "  <title>ISO-2022-JP</title>\n"
        "  <style>.unused { background: #ccc; }"
        " table { float: left; }</style>\n"
        " </head>\n <body>\n"
        "  <table><caption>ASCII/JIS-Roman + half-width katakana</caption>\n"
        "   <tr><th>  ",
        jp);
  for (i = 0; i < 16; i++) {
    fprintf(jp, "<th>%X", i);
  }
  for (i = 32; i < 128; i++) {
    if (0 == (i & 0x0F)) {
      fprintf(jp, "\n   <tr><th>%02X", i);
    }
    fprintf(jp, "<td%s>%c", (127 == i || 160 == i) ? " class=unused" : "",
            (char)i);
  }
  fputs("\n  </table>\n", jp);
  fputs("  <table><caption>JIS-Roman</caption>\n   <tr><th> ", jp);
  for (i = 0; i < 16; i++) {
    fprintf(jp, "<th>%X", i);
  }
  for (i = 32; i < 128; i++) {
    if (0 == (i & 0x0F)) {
      fprintf(jp,
              "\n\x1B"
              "(J   <tr><th>%02X",
              i);
    }
    fprintf(jp, "<td%s>%c", (127 == i) ? " class=unused" : "", (char)i);
    if (0xF == (i & 0x0F)) {
      fputs("\x1B"
            "(B",
            jp);
    }
  }
  fputs("\n  </table>\n", jp);
  for (i = 0x21; i <= 0x7E; i++) {
    fprintf(jp,
            "  <table><caption>Multibyte: JIS X 0208:1983 (Row %X)</caption>\n "
            "  <tr><th> ",
            i);
    for (j = 0; j < 16; j++) {
      fprintf(jp, "<th>%X", j);
    }
    for (j = 0x20; j <= 0x7E; j++) {
      if (0 == (j & 0x0F)) {
        fprintf(jp, "\n   <tr><th>%02X", j);
      }
      if (0x20 == j) {
        fputs("<td class=unused>&nbsp;", jp);
      } else {
        fprintf(jp,
                "<td>\x1B"
                "$B%c%c\x1B"
                "(B",
                (char)i, (char)j);
      }
    }
    fputs("<td class=unused>&nbsp;\n  </table>\n", jp);
  }
  fputs("\n </body>\n</html>\n", jp);
  fclose(jp);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeaa(%rip),%rdi
lea    0xeb4(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    117d <main+0x3d>
movl   $0x1,-0x4(%rbp)
jmp    148a <main+0x34a>
mov    -0x18(%rbp),%rsi
lea    0xe8b(%rip),%rdi
call   1040 <fputs@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x10,-0x8(%rbp)
jge    11c1 <main+0x81>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%edx
lea    0xf8d(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1194 <main+0x54>
movl   $0x20,-0x8(%rbp)
cmpl   $0x80,-0x8(%rbp)
jge    1261 <main+0x121>
mov    -0x8(%rbp),%ecx
and    $0xf,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
jne    11fa <main+0xba>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%edx
lea    0xf4d(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    $0x1,%al
mov    $0x7f,%ecx
cmp    -0x8(%rbp),%ecx
mov    %al,-0x19(%rbp)
je     1223 <main+0xe3>
mov    $0xa0,%eax
cmp    -0x8(%rbp),%eax
sete   %al
mov    %al,-0x19(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%cl
lea    0x1015(%rip),%rdx
lea    0xf22(%rip),%rax
test   $0x1,%cl
cmovne %rax,%rdx
mov    -0x8(%rbp),%eax
movsbl %al,%ecx
lea    0xf05(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11c8 <main+0x88>
mov    -0x18(%rbp),%rsi
lea    0xfce(%rip),%rdi
call   1040 <fputs@plt>
mov    -0x18(%rbp),%rsi
lea    0xeec(%rip),%rdi
call   1040 <fputs@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x10,-0x8(%rbp)
jge    12b5 <main+0x175>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%edx
lea    0xe99(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1288 <main+0x148>
movl   $0x20,-0x8(%rbp)
cmpl   $0x80,-0x8(%rbp)
jge    1358 <main+0x218>
mov    -0x8(%rbp),%ecx
and    $0xf,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
jne    12ee <main+0x1ae>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%edx
lea    0xeb4(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%esi
mov    $0x7f,%ecx
lea    0xf45(%rip),%rdx
lea    0xe52(%rip),%rax
cmp    %esi,%ecx
cmove  %rax,%rdx
mov    -0x8(%rbp),%eax
movsbl %al,%ecx
lea    0xe36(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%ecx
and    $0xf,%ecx
mov    $0xf,%eax
cmp    %ecx,%eax
jne    1345 <main+0x205>
mov    -0x18(%rbp),%rsi
lea    0xedf(%rip),%rdi
call   1040 <fputs@plt>
jmp    134a <main+0x20a>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12bc <main+0x17c>
mov    -0x18(%rbp),%rsi
lea    0xed7(%rip),%rdi
call   1040 <fputs@plt>
movl   $0x21,-0x8(%rbp)
cmpl   $0x7e,-0x8(%rbp)
jg     146a <main+0x32a>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%edx
lea    0xe28(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x10,-0xc(%rbp)
jge    13c2 <main+0x282>
mov    -0x18(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xd8c(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1395 <main+0x255>
movl   $0x20,-0xc(%rbp)
cmpl   $0x7e,-0xc(%rbp)
jg     144c <main+0x30c>
mov    -0xc(%rbp),%ecx
and    $0xf,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
jne    13f8 <main+0x2b8>
mov    -0x18(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xd4f(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x20,%eax
cmp    -0xc(%rbp),%eax
jne    141b <main+0x2db>
mov    -0x18(%rbp),%rsi
lea    0xdeb(%rip),%rdi
call   1040 <fputs@plt>
jmp    1439 <main+0x2f9>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%eax
movsbl %al,%edx
mov    -0xc(%rbp),%eax
movsbl %al,%ecx
lea    0xde2(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    143e <main+0x2fe>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    13c9 <main+0x289>
mov    -0x18(%rbp),%rsi
lea    0xdcc(%rip),%rdi
call   1040 <fputs@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    136f <main+0x22f>
mov    -0x18(%rbp),%rsi
lea    0xdd2(%rip),%rdi
call   1040 <fputs@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xeae(%rip),%rdi
lea    0xeb8(%rip),%rsi
call   1050 <fopen@plt>
test   %rax,%rax
je     16f2 <main+0x5b2>
mov    %rax,%rbx
lea    0xea2(%rip),%rdi
mov    $0x125,%esi
mov    $0x1,%edx
mov    %rax,%rcx
call   1060 <fwrite@plt>
lea    0xfaf(%rip),%rbp
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x5,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x6,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x7,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x8,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x9,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xa,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xb,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xc,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xd,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xe,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xf,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    $0x20,%ebp
lea    0xe8d(%rip),%r12
lea    0xea0(%rip),%r13
lea    0xf85(%rip),%r14
lea    0xe89(%rip),%r15
jmp    12f4 <main+0x1b4>
nopw   0x0(%rax,%rax,1)
cmp    $0x7f,%ebp
mov    %r14,%rdx
cmove  %r13,%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %ebp,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
cmp    $0x80,%ebp
je     130b <main+0x1cb>
test   $0xf,%bpl
jne    12d0 <main+0x190>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    12d0 <main+0x190>
lea    0xf28(%rip),%rdi
mov    $0xc,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1060 <fwrite@plt>
lea    0xe3d(%rip),%rdi
mov    $0x32,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1060 <fwrite@plt>
lea    0xdf5(%rip),%rbp
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x5,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x6,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x7,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x8,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x9,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xa,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xb,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xc,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xd,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xe,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0xf,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    $0x20,%ebp
lea    0xce4(%rip),%r15
jmp    147b <main+0x33b>
nop
add    $0x1,%ebp
cmp    $0x80,%ebp
je     14d1 <main+0x391>
mov    %ebp,%r12d
and    $0xf,%r12d
jne    1497 <main+0x357>
mov    %rbx,%rdi
lea    0xd0d(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
cmp    $0x7f,%ebp
mov    %r14,%rdx
cmove  %r13,%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %ebp,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
cmp    $0xf,%r12d
jne    1470 <main+0x330>
mov    $0x3,%esi
mov    $0x1,%edx
lea    0xd58(%rip),%rdi
mov    %rbx,%rcx
call   1060 <fwrite@plt>
jmp    1470 <main+0x330>
lea    0xd62(%rip),%rdi
mov    $0xc,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1060 <fwrite@plt>
mov    $0x21,%ebp
lea    0xc43(%rip),%r15
lea    0xd17(%rip),%r14
jmp    1525 <main+0x3e5>
nop
mov    $0x23,%esi
mov    $0x1,%edx
lea    0xd12(%rip),%rdi
mov    %rbx,%rcx
call   1060 <fwrite@plt>
add    $0x1,%ebp
cmp    $0x7f,%ebp
je     16cd <main+0x58d>
mov    %rbx,%rdi
lea    0xc80(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x6,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x7,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x8,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x9,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xa,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xb,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xc,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xd,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xe,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xf,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
movsbl %bpl,%r13d
mov    %rbx,%rdi
lea    0xadd(%rip),%rsi
mov    $0x20,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    $0x17,%esi
mov    $0x1,%edx
lea    0xb7c(%rip),%rdi
mov    %rbx,%rcx
call   1060 <fwrite@plt>
mov    $0x21,%r12d
jmp    16b1 <main+0x571>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r13d,%edx
mov    %r12d,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%r12d
cmp    $0x7f,%r12d
je     1500 <main+0x3c0>
test   $0xf,%r12b
jne    1690 <main+0x550>
mov    %rbx,%rdi
lea    0xa7f(%rip),%rsi
mov    %r12d,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    1690 <main+0x550>
lea    0xb73(%rip),%rdi
mov    $0x12,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1060 <fwrite@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
jmp    16f7 <main+0x5b7>
mov    $0x1,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [17 x i8] c"iso-2022-jp.html\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [294 x i8] c"<html lang=ko>\0A <head>\0A <meta http-equiv=\22Content-Type\22 content=\22text/html;charset=iso-2022-jp\22>\0A <title>ISO-2022-JP</title>\0A <style>.unused { background: #ccc; } table { float: left; }</style>\0A </head>\0A <body>\0A <table><caption>ASCII/JIS-Roman + half-width katakana</caption>\0A <tr><th> \00"
@.str.3 = [7 x i8] c"<th>%X\00"
@.str.4 = [17 x i8] c"\0A <tr><th>%02X\00"
@.str.5 = [9 x i8] c"<td%s>%c\00"
@.str.6 = [14 x i8] c" class=unused\00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [13 x i8] c"\0A </table>\0A\00"
@.str.9 = [51 x i8] c" <table><caption>JIS-Roman</caption>\0A <tr><th> \00"
@.str.10 = [20 x i8] c"\0A\1B(J <tr><th>%02X\00"
@.str.11 = [4 x i8] c"\1B(B\00"
@.str.12 = [77 x i8] c" <table><caption>Multibyte: JIS X 0208:1983 (Row %X)</caption>\0A <tr><th> \00"
@.str.13 = [24 x i8] c"<td class=unused>&nbsp;\00"
@.str.14 = [15 x i8] c"<td>\1B$B%c%c\1B(B\00"
@.str.15 = [36 x i8] c"<td class=unused>&nbsp;\0A </table>\0A\00"
@.str.16 = [19 x i8] c"\0A </body>\0A</html>\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32*
store i32 0, i32* %1
%6 = call i32* @fopen(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %6, i32** %5
%7 = load i32*, i32** %5
%8 = icmp ne i32* %7, null
br i1 %8, label %10, label %9
9: ; preds = %0
store i32 1, i32* %1
br label %162
10: ; preds = %0
%11 = load i32*, i32** %5
%12 = call i32 @fputs(i8* getelementptr inbounds ([294 x i8], [294 x i8]* @.str.2, i64 0, i64 0), i32* %11)
store i32 0, i32* %2
br label %13
13: ; preds = %20, %10
%14 = load i32, i32* %2
%15 = icmp slt i32 %14, 16
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = load i32*, i32** %5
%18 = load i32, i32* %2
%19 = call i32 (i32*, i8*, ...) @fprintf(i32* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %18)
br label %20
20: ; preds = %16
%21 = load i32, i32* %2
%22 = add nsw i32 %21, 1
store i32 %22, i32* %2
br label %13
23: ; preds = %13
store i32 32, i32* %2
br label %24
24: ; preds = %50, %23
%25 = load i32, i32* %2
%26 = icmp slt i32 %25, 128
br i1 %26, label %27, label %53
27: ; preds = %24
%28 = load i32, i32* %2
%29 = and i32 %28, 15
%30 = icmp eq i32 0, %29
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i32*, i32** %5
%33 = load i32, i32* %2
%34 = call i32 (i32*, i8*, ...) @fprintf(i32* %32, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %33)
br label %35
35: ; preds = %31, %27
%36 = load i32*, i32** %5
%37 = load i32, i32* %2
%38 = icmp eq i32 127, %37
br i1 %38, label %42, label %39
39: ; preds = %35
%40 = load i32, i32* %2
%41 = icmp eq i32 160, %40
br label %42
42: ; preds = %39, %35
%43 = phi i1 [ true, %35 ], [ %41, %39 ]
%44 = zext i1 %43 to i64
%45 = select i1 %43, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0)
%46 = load i32, i32* %2
%47 = trunc i32 %46 to i8
%48 = sext i8 %47 to i32
%49 = call i32 (i32*, i8*, ...) @fprintf(i32* %36, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* %45, i32 %48)
br label %50
50: ; preds = %42
%51 = load i32, i32* %2
%52 = add nsw i32 %51, 1
store i32 %52, i32* %2
br label %24
53: ; preds = %24
%54 = load i32*, i32** %5
%55 = call i32 @fputs(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i32* %54)
%56 = load i32*, i32** %5
%57 = call i32 @fputs(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0), i32* %56)
store i32 0, i32* %2
br label %58
58: ; preds = %65, %53
%59 = load i32, i32* %2
%60 = icmp slt i32 %59, 16
br i1 %60, label %61, label %68
61: ; preds = %58
%62 = load i32*, i32** %5
%63 = load i32, i32* %2
%64 = call i32 (i32*, i8*, ...) @fprintf(i32* %62, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %63)
br label %65
65: ; preds = %61
%66 = load i32, i32* %2
%67 = add nsw i32 %66, 1
store i32 %67, i32* %2
br label %58
68: ; preds = %58
store i32 32, i32* %2
br label %69
69: ; preds = %97, %68
%70 = load i32, i32* %2
%71 = icmp slt i32 %70, 128
br i1 %71, label %72, label %100
72: ; preds = %69
%73 = load i32, i32* %2
%74 = and i32 %73, 15
%75 = icmp eq i32 0, %74
br i1 %75, label %76, label %80
76: ; preds = %72
%77 = load i32*, i32** %5
%78 = load i32, i32* %2
%79 = call i32 (i32*, i8*, ...) @fprintf(i32* %77, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32 %78)
br label %80
80: ; preds = %76, %72
%81 = load i32*, i32** %5
%82 = load i32, i32* %2
%83 = icmp eq i32 127, %82
%84 = zext i1 %83 to i64
%85 = select i1 %83, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0)
%86 = load i32, i32* %2
%87 = trunc i32 %86 to i8
%88 = sext i8 %87 to i32
%89 = call i32 (i32*, i8*, ...) @fprintf(i32* %81, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* %85, i32 %88)
%90 = load i32, i32* %2
%91 = and i32 %90, 15
%92 = icmp eq i32 15, %91
br i1 %92, label %93, label %96
93: ; preds = %80
%94 = load i32*, i32** %5
%95 = call i32 @fputs(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i32* %94)
br label %96
96: ; preds = %93, %80
br label %97
97: ; preds = %96
%98 = load i32, i32* %2
%99 = add nsw i32 %98, 1
store i32 %99, i32* %2
br label %69
100: ; preds = %69
%101 = load i32*, i32** %5
%102 = call i32 @fputs(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i32* %101)
store i32 33, i32* %2
br label %103
103: ; preds = %154, %100
%104 = load i32, i32* %2
%105 = icmp sle i32 %104, 126
br i1 %105, label %106, label %157
106: ; preds = %103
%107 = load i32*, i32** %5
%108 = load i32, i32* %2
%109 = call i32 (i32*, i8*, ...) @fprintf(i32* %107, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0), i32 %108)
store i32 0, i32* %3
br label %110
110: ; preds = %117, %106
%111 = load i32, i32* %3
%112 = icmp slt i32 %111, 16
br i1 %112, label %113, label %120
113: ; preds = %110
%114 = load i32*, i32** %5
%115 = load i32, i32* %3
%116 = call i32 (i32*, i8*, ...) @fprintf(i32* %114, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %115)
br label %117
117: ; preds = %113
%118 = load i32, i32* %3
%119 = add nsw i32 %118, 1
store i32 %119, i32* %3
br label %110
120: ; preds = %110
store i32 32, i32* %3
br label %121
121: ; preds = %148, %120
%122 = load i32, i32* %3
%123 = icmp sle i32 %122, 126
br i1 %123, label %124, label %151
124: ; preds = %121
%125 = load i32, i32* %3
%126 = and i32 %125, 15
%127 = icmp eq i32 0, %126
br i1 %127, label %128, label %132
128: ; preds = %124
%129 = load i32*, i32** %5
%130 = load i32, i32* %3
%131 = call i32 (i32*, i8*, ...) @fprintf(i32* %129, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %130)
br label %132
132: ; preds = %128, %124
%133 = load i32, i32* %3
%134 = icmp eq i32 32, %133
br i1 %134, label %135, label %138
135: ; preds = %132
%136 = load i32*, i32** %5
%137 = call i32 @fputs(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i32* %136)
br label %147
138: ; preds = %132
%139 = load i32*, i32** %5
%140 = load i32, i32* %2
%141 = trunc i32 %140 to i8
%142 = sext i8 %141 to i32
%143 = load i32, i32* %3
%144 = trunc i32 %143 to i8
%145 = sext i8 %144 to i32
%146 = call i32 (i32*, i8*, ...) @fprintf(i32* %139, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i32 %142, i32 %145)
br label %147
147: ; preds = %138, %135
br label %148
148: ; preds = %147
%149 = load i32, i32* %3
%150 = add nsw i32 %149, 1
store i32 %150, i32* %3
br label %121
151: ; preds = %121
%152 = load i32*, i32** %5
%153 = call i32 @fputs(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.15, i64 0, i64 0), i32* %152)
br label %154
154: ; preds = %151
%155 = load i32, i32* %2
%156 = add nsw i32 %155, 1
store i32 %156, i32* %2
br label %103
157: ; preds = %103
%158 = load i32*, i32** %5
%159 = call i32 @fputs(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i32* %158)
%160 = load i32*, i32** %5
%161 = call i32 @fclose(i32* %160)
store i32 0, i32* %1
br label %162
162: ; preds = %157, %9
%163 = load i32, i32* %1
ret i32 %163
}

LLVM IR (-O2):
@.str = [17 x i8] c"iso-2022-jp.html\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [294 x i8] c"<html lang=ko>\0A <head>\0A <meta http-equiv=\22Content-Type\22 content=\22text/html;charset=iso-2022-jp\22>\0A <title>ISO-2022-JP</title>\0A <style>.unused { background: #ccc; } table { float: left; }</style>\0A </head>\0A <body>\0A <table><caption>ASCII/JIS-Roman + half-width katakana</caption>\0A <tr><th> \00"
@.str.3 = [7 x i8] c"<th>%X\00"
@.str.4 = [17 x i8] c"\0A <tr><th>%02X\00"
@.str.5 = [9 x i8] c"<td%s>%c\00"
@.str.6 = [14 x i8] c" class=unused\00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [13 x i8] c"\0A </table>\0A\00"
@.str.9 = [51 x i8] c" <table><caption>JIS-Roman</caption>\0A <tr><th> \00"
@.str.10 = [20 x i8] c"\0A\1B(J <tr><th>%02X\00"
@.str.11 = [4 x i8] c"\1B(B\00"
@.str.12 = [77 x i8] c" <table><caption>Multibyte: JIS X 0208:1983 (Row %X)</caption>\0A <tr><th> \00"
@.str.13 = [24 x i8] c"<td class=unused>&nbsp;\00"
@.str.14 = [15 x i8] c"<td>\1B$B%c%c\1B(B\00"
@.str.15 = [36 x i8] c"<td class=unused>&nbsp;\0A </table>\0A\00"
@.str.16 = [19 x i8] c"\0A </body>\0A</html>\0A\00"
define i32 @main() {
%1 = tail call i32* @fopen(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%2 = icmp eq i32* %1, null
br i1 %2, label %110, label %3
3: ; preds = %0
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([294 x i8], [294 x i8]* @.str.2, i64 0, i64 0), i64 293, i64 1, i32* %1)
%5 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 0)
%6 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 1)
%7 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 2)
%8 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 3)
%9 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 4)
%10 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 5)
%11 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 6)
%12 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 7)
%13 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 8)
%14 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 9)
%15 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 10)
%16 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 11)
%17 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 12)
%18 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 13)
%19 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 14)
%20 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 15)
br label %21
21: ; preds = %3, %27
%22 = phi i32 [ %31, %27 ], [ 32, %3 ]
%23 = and i32 %22, 15
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %22)
br label %27
27: ; preds = %25, %21
%28 = icmp eq i32 %22, 127
%29 = select i1 %28, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0)
%30 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* %29, i32 %22)
%31 = add nuw nsw i32 %22, 1
%32 = icmp eq i32 %31, 128
br i1 %32, label %33, label %21
33: ; preds = %27
%34 = tail call i64 @fwrite(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i64 12, i64 1, i32* %1)
%35 = tail call i64 @fwrite(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0), i64 50, i64 1, i32* %1)
%36 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 0)
%37 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 1)
%38 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 2)
%39 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 3)
%40 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 4)
%41 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 5)
%42 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 6)
%43 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 7)
%44 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 8)
%45 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 9)
%46 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 10)
%47 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 11)
%48 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 12)
%49 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 13)
%50 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 14)
%51 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 15)
br label %52
52: ; preds = %33, %65
%53 = phi i32 [ %66, %65 ], [ 32, %33 ]
%54 = and i32 %53, 15
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32 %53)
br label %58
58: ; preds = %56, %52
%59 = icmp eq i32 %53, 127
%60 = select i1 %59, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0)
%61 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* %60, i32 %53)
%62 = icmp eq i32 %54, 15
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = tail call i64 @fwrite(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i64 3, i64 1, i32* %1)
br label %65
65: ; preds = %58, %63
%66 = add nuw nsw i32 %53, 1
%67 = icmp eq i32 %66, 128
br i1 %67, label %68, label %52
68: ; preds = %65
%69 = tail call i64 @fwrite(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i64 12, i64 1, i32* %1)
br label %70
70: ; preds = %103, %68
%71 = phi i32 [ 33, %68 ], [ %105, %103 ]
%72 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0), i32 %71)
%73 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 0)
%74 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 1)
%75 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 2)
%76 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 3)
%77 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 4)
%78 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 5)
%79 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 6)
%80 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 7)
%81 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 8)
%82 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 9)
%83 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 10)
%84 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 11)
%85 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 12)
%86 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 13)
%87 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 14)
%88 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 15)
%89 = shl i32 %71, 24
%90 = ashr exact i32 %89, 24
%91 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 32)
%92 = tail call i64 @fwrite(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i64 23, i64 1, i32* %1)
br label %93
93: ; preds = %70, %99
%94 = phi i32 [ 33, %70 ], [ %101, %99 ]
%95 = and i32 %94, 15
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %93
%98 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %94)
br label %99
99: ; preds = %97, %93
%100 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i32 %90, i32 %94)
%101 = add nuw nsw i32 %94, 1
%102 = icmp eq i32 %101, 127
br i1 %102, label %103, label %93
103: ; preds = %99
%104 = tail call i64 @fwrite(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.15, i64 0, i64 0), i64 35, i64 1, i32* %1)
%105 = add nuw nsw i32 %71, 1
%106 = icmp eq i32 %105, 127
br i1 %106, label %107, label %70
107: ; preds = %103
%108 = tail call i64 @fwrite(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i64 18, i64 1, i32* %1)
%109 = tail call i32 @fclose(i32* %1)
br label %110
110: ; preds = %0, %107
%111 = phi i32 [ 0, %107 ], [ 1, %0 ]
ret i32 %111
}