#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*/ str;
typedef int /*<<< orphan*/ plane;
typedef int /*<<< orphan*/ page;

/* Variables and functions */
scalar_t__ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int strtol(char *, char **, int);
int main(int ac, char **av) {
  char str[128];
  int errors = 0;
  int plane[0x10000];
  int page[256];
  int i;
  memset(plane, 0, sizeof(plane));
  memset(page, 0, sizeof(page));
  while (fgets(str, sizeof(str), stdin)) {
    int code1, code2, width;
    char *end;
    if (str[0] == '#')
      continue;
    code1 = strtol(str, &end, 16);
    if (code1 < 0 || code1 > 0xFFFF)
      continue;
    if (end[0] == ';') {
      code2 = code1;
    } else if (end[0] == '.' && end[1] == '.') {
      end += 2;
      code2 = strtol(end, &end, 16);
      if (code2 < 0 || code2 > 0xFFFF)
        continue;
      if (end[0] != ';') {
        errors++;
        fprintf(stderr, "error: %s", str);
        continue;
      }
    } else {
      errors++;
      fprintf(stderr, "error: %s", str);
      continue;
    }
    end++;
    width = (end[0] == 'F' || end[0] == 'W') ? 1 : 0;
    for (; code1 <= code2; code1++) {
      plane[code1] = width;
    }
  }
  if (errors)
    return 1;
  for (i = 0; i < 256; i++) {
    int j;
    int *p = plane + 256 * i;
    page[i] = 0;
    for (j = 0; j < 256; j++) {
      page[i] += p[j];
    }
    if (page[i] != 0 && page[i] != 256) {
      printf("static char pg%02X[256]=\n{\n", i);
      for (j = 0; j < 256; j++) {
        printf("%d%s%s", p[j], j < 255 ? "," : "", (j + 1) % 32 ? "" : "\n");
      }
      printf("};\n\n");
    }
  }
  printf("static struct {int page; char *p;} utr11_data[256]=\n{\n");
  for (i = 0; i < 256; i++) {
    if (page[i] == 0 || page[i] == 256) {
      int width = (page[i] == 256) ? 1 : 0;
      printf("{%d,NULL}", width);
    } else {
      printf("{0,pg%02X}", i);
    }
    printf("%s%s", i < 255 ? "," : "", (i + 1) % 8 ? "" : "\n");
  }
  printf("};\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x404e0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x94(%rbp)
lea    -0x400a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x40000,%edx
call   1040 <memset@plt>
lea    -0x404a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1040 <memset@plt>
lea    -0x90(%rbp),%rdi
mov    0x2e41(%rip),%rax
mov    (%rax),%edx
mov    $0x80,%esi
call   1050 <fgets@plt>
cmp    $0x0,%rax
je     13c7 <main+0x277>
movsbl -0x90(%rbp),%eax
cmp    $0x23,%eax
jne    11d2 <main+0x82>
jmp    1199 <main+0x49>
lea    -0x90(%rbp),%rdi
lea    -0x404b8(%rbp),%rsi
mov    $0x10,%edx
call   1070 <strtol@plt>
mov    %eax,-0x404a8(%rbp)
cmpl   $0x0,-0x404a8(%rbp)
jl     120d <main+0xbd>
cmpl   $0xffff,-0x404a8(%rbp)
jle    1212 <main+0xc2>
jmp    1199 <main+0x49>
mov    -0x404b8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
jne    1236 <main+0xe6>
mov    -0x404a8(%rbp),%eax
mov    %eax,-0x404ac(%rbp)
jmp    132c <main+0x1dc>
mov    -0x404b8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2e,%eax
jne    12f7 <main+0x1a7>
mov    -0x404b8(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x2e,%eax
jne    12f7 <main+0x1a7>
mov    -0x404b8(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x404b8(%rbp)
mov    -0x404b8(%rbp),%rdi
lea    -0x404b8(%rbp),%rsi
mov    $0x10,%edx
call   1070 <strtol@plt>
mov    %eax,-0x404ac(%rbp)
cmpl   $0x0,-0x404ac(%rbp)
jl     12aa <main+0x15a>
cmpl   $0xffff,-0x404ac(%rbp)
jle    12af <main+0x15f>
jmp    1199 <main+0x49>
mov    -0x404b8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
je     12f2 <main+0x1a2>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
mov    0x2d00(%rip),%rax
mov    (%rax),%edi
lea    -0x90(%rbp),%rdx
lea    0xd18(%rip),%rsi
call   1060 <fprintf@plt>
jmp    1199 <main+0x49>
jmp    1327 <main+0x1d7>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
mov    0x2ccb(%rip),%rax
mov    (%rax),%edi
lea    -0x90(%rbp),%rdx
lea    0xce3(%rip),%rsi
call   1060 <fprintf@plt>
jmp    1199 <main+0x49>
jmp    132c <main+0x1dc>
mov    -0x404b8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x404b8(%rbp)
mov    -0x404b8(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x46,%ecx
mov    %al,-0x404cd(%rbp)
je     136f <main+0x21f>
mov    -0x404b8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x57,%eax
sete   %al
mov    %al,-0x404cd(%rbp)
mov    -0x404cd(%rbp),%dl
xor    %eax,%eax
mov    $0x1,%ecx
test   $0x1,%dl
cmovne %ecx,%eax
mov    %eax,-0x404b0(%rbp)
mov    -0x404a8(%rbp),%eax
cmp    -0x404ac(%rbp),%eax
jg     13c2 <main+0x272>
mov    -0x404b0(%rbp),%ecx
movslq -0x404a8(%rbp),%rax
mov    %ecx,-0x400a0(%rbp,%rax,4)
mov    -0x404a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x404a8(%rbp)
jmp    1388 <main+0x238>
jmp    1199 <main+0x49>
cmpl   $0x0,-0x94(%rbp)
je     13e0 <main+0x290>
movl   $0x1,-0x4(%rbp)
jmp    16ad <main+0x55d>
movl   $0x0,-0x404a4(%rbp)
cmpl   $0x100,-0x404a4(%rbp)
jge    158a <main+0x43a>
lea    -0x400a0(%rbp),%rax
mov    -0x404a4(%rbp),%ecx
shl    $0x8,%ecx
movslq %ecx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x404c8(%rbp)
movslq -0x404a4(%rbp),%rax
movl   $0x0,-0x404a0(%rbp,%rax,4)
movl   $0x0,-0x404bc(%rbp)
cmpl   $0x100,-0x404bc(%rbp)
jge    1481 <main+0x331>
mov    -0x404c8(%rbp),%rax
movslq -0x404bc(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movslq -0x404a4(%rbp),%rax
add    -0x404a0(%rbp,%rax,4),%ecx
mov    %ecx,-0x404a0(%rbp,%rax,4)
mov    -0x404bc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x404bc(%rbp)
jmp    1437 <main+0x2e7>
movslq -0x404a4(%rbp),%rax
cmpl   $0x0,-0x404a0(%rbp,%rax,4)
je     1571 <main+0x421>
movslq -0x404a4(%rbp),%rax
cmpl   $0x100,-0x404a0(%rbp,%rax,4)
je     1571 <main+0x421>
mov    -0x404a4(%rbp),%esi
lea    0xb4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x404bc(%rbp)
cmpl   $0x100,-0x404bc(%rbp)
jge    1563 <main+0x413>
mov    -0x404c8(%rbp),%rax
movslq -0x404bc(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
mov    -0x404bc(%rbp),%edx
lea    0xb39(%rip),%rax
lea    0xb2c(%rip),%rcx
cmp    $0xff,%edx
cmovl  %rcx,%rax
mov    %rax,-0x404d8(%rbp)
mov    -0x404bc(%rbp),%eax
add    $0x1,%eax
mov    $0x20,%ecx
cltd
idiv   %ecx
mov    %edx,%edi
mov    -0x404d8(%rbp),%rdx
lea    0xaff(%rip),%rcx
lea    0xaf9(%rip),%rax
cmp    $0x0,%edi
cmovne %rax,%rcx
lea    0xade(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x404bc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x404bc(%rbp)
jmp    14cc <main+0x37c>
lea    0xac5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1576 <main+0x426>
mov    -0x404a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x404a4(%rbp)
jmp    13ea <main+0x29a>
lea    0xaa3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x404a4(%rbp)
cmpl   $0x100,-0x404a4(%rbp)
jge    1698 <main+0x548>
movslq -0x404a4(%rbp),%rax
cmpl   $0x0,-0x404a0(%rbp,%rax,4)
je     15df <main+0x48f>
movslq -0x404a4(%rbp),%rax
cmpl   $0x100,-0x404a0(%rbp,%rax,4)
jne    161c <main+0x4cc>
movslq -0x404a4(%rbp),%rax
mov    -0x404a0(%rbp,%rax,4),%edx
xor    %eax,%eax
mov    $0x1,%ecx
cmp    $0x100,%edx
cmove  %ecx,%eax
mov    %eax,-0x404cc(%rbp)
mov    -0x404cc(%rbp),%esi
lea    0xa5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1630 <main+0x4e0>
mov    -0x404a4(%rbp),%esi
lea    0xa4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x404a4(%rbp),%ecx
lea    0x9f6(%rip),%rsi
lea    0x9e9(%rip),%rax
cmp    $0xff,%ecx
cmovl  %rax,%rsi
mov    -0x404a4(%rbp),%eax
add    $0x1,%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    %edx,%ecx
lea    0x9ca(%rip),%rdx
lea    0x9c4(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdx
lea    0x9ab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x404a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x404a4(%rbp)
jmp    15a2 <main+0x452>
lea    0x9e1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x404e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x40498,%rsp
lea    0x490(%rsp),%r13
xor    %r15d,%r15d
mov    %r13,%rdi
xor    %esi,%esi
mov    $0x40000,%edx
call   1050 <memset@plt>
lea    0x90(%rsp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
mov    0x2e42(%rip),%r12
mov    (%r12),%edx
lea    0x10(%rsp),%rdi
mov    $0x80,%esi
call   1060 <fgets@plt>
test   %rax,%rax
je     1392 <main+0x232>
lea    0x10(%rsp),%r14
mov    %rsp,%rbp
jmp    120a <main+0xaa>
add    $0x1,%r15d
mov    0x2e01(%rip),%rax
mov    (%rax),%edi
lea    0xe20(%rip),%rsi
mov    %r14,%rdx
call   1070 <fprintf@plt>
nopl   0x0(%rax,%rax,1)
mov    (%r12),%edx
mov    %r14,%rdi
mov    $0x80,%esi
call   1060 <fgets@plt>
test   %rax,%rax
je     1384 <main+0x224>
cmpb   $0x23,0x10(%rsp)
je     11f0 <main+0x90>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    $0x10,%edx
call   1080 <strtol@plt>
cmp    $0xffff,%eax
ja     11f0 <main+0x90>
mov    %eax,%ebx
mov    (%rsp),%rdi
mov    (%rdi),%al
cmp    $0x3b,%al
je     1269 <main+0x109>
cmp    $0x2e,%al
jne    11cc <main+0x6c>
cmpb   $0x2e,0x1(%rdi)
jne    11cc <main+0x6c>
add    $0x2,%rdi
mov    %rdi,(%rsp)
mov    %rbp,%rsi
mov    $0x10,%edx
call   1080 <strtol@plt>
cmp    $0xffff,%eax
ja     11f0 <main+0x90>
mov    (%rsp),%rdi
cmpb   $0x3b,(%rdi)
jne    11cc <main+0x6c>
jmp    126b <main+0x10b>
mov    %ebx,%eax
mov    0x1(%rdi),%dl
cmp    $0x46,%dl
sete   %cl
cmp    $0x57,%dl
sete   %dl
mov    %eax,%r9d
sub    %ebx,%r9d
jb     11f0 <main+0x90>
or     %dl,%cl
movzbl %cl,%ecx
mov    %ebx,%edx
cmp    $0x7,%r9d
jb     1363 <main+0x203>
mov    %rbp,%r10
add    $0x1,%r9
mov    %r9,%r8
and    $0xfffffffffffffff8,%r8
movd   %ecx,%xmm0
pshufd $0x0,%xmm0,%xmm0
lea    -0x8(%r8),%rsi
mov    %rsi,%rbx
shr    $0x3,%rbx
add    $0x1,%rbx
mov    %ebx,%edi
and    $0x3,%edi
cmp    $0x18,%rsi
jae    12cc <main+0x16c>
xor    %ebp,%ebp
jmp    1319 <main+0x1b9>
and    $0xfffffffffffffffc,%rbx
lea    0x500(%rsp),%rsi
lea    (%rsi,%rdx,4),%rsi
xor    %ebp,%ebp
xchg   %ax,%ax
movdqu %xmm0,-0x70(%rsi,%rbp,4)
movdqu %xmm0,-0x60(%rsi,%rbp,4)
movdqu %xmm0,-0x50(%rsi,%rbp,4)
movdqu %xmm0,-0x40(%rsi,%rbp,4)
movdqu %xmm0,-0x30(%rsi,%rbp,4)
movdqu %xmm0,-0x20(%rsi,%rbp,4)
movdqu %xmm0,-0x10(%rsi,%rbp,4)
movdqu %xmm0,(%rsi,%rbp,4)
add    $0x20,%rbp
add    $0xfffffffffffffffc,%rbx
jne    12e0 <main+0x180>
test   %rdi,%rdi
je     1354 <main+0x1f4>
add    %rdx,%rbp
lea    0x500(%rsp),%rsi
lea    (%rsi,%rbp,4),%rsi
add    $0xffffffffffffffa0,%rsi
shl    $0x5,%rdi
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
movdqu %xmm0,-0x10(%rsi,%rbp,1)
movdqu %xmm0,(%rsi,%rbp,1)
add    $0x20,%rbp
cmp    %rbp,%rdi
jne    1340 <main+0x1e0>
cmp    %r8,%r9
mov    %r10,%rbp
je     11f0 <main+0x90>
add    %r8,%rdx
add    $0x1,%eax
mov    %eax,%eax
nopl   0x0(%rax,%rax,1)
mov    %ecx,0x490(%rsp,%rdx,4)
add    $0x1,%rdx
cmp    %edx,%eax
jne    1370 <main+0x210>
jmp    11f0 <main+0x90>
mov    $0x1,%eax
test   %r15d,%r15d
jne    157b <main+0x41b>
lea    0x500(%rsp),%r12
lea    0xcdf(%rip),%rbp
xor    %esi,%esi
jmp    13cf <main+0x26f>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rsi
add    $0x400,%r12
add    $0x400,%r13
cmp    $0x100,%rsi
je     14de <main+0x37e>
pxor   %xmm0,%xmm0
xor    %eax,%eax
pxor   %xmm1,%xmm1
nopl   0x0(%rax)
paddd  -0x70(%r12,%rax,4),%xmm0
paddd  -0x60(%r12,%rax,4),%xmm1
paddd  -0x50(%r12,%rax,4),%xmm0
paddd  -0x40(%r12,%rax,4),%xmm1
paddd  -0x30(%r12,%rax,4),%xmm0
paddd  -0x20(%r12,%rax,4),%xmm1
paddd  -0x10(%r12,%rax,4),%xmm0
paddd  (%r12,%rax,4),%xmm1
add    $0x20,%rax
cmp    $0x100,%rax
jne    13e0 <main+0x280>
paddd  %xmm0,%xmm1
pshufd $0xee,%xmm1,%xmm0
paddd  %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%eax
movd   %xmm1,0x90(%rsp,%rsi,4)
test   $0xfffffeff,%eax
je     13b0 <main+0x250>
lea    0xbb2(%rip),%rdi
mov    %rsi,0x8(%rsp)
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xffffffffffffff00,%rax
mov    $0xffffffffffffff00,%r14
lea    0xbb4(%rip),%r15
mov    %r13,%rbx
lea    0xbfc(%rip),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x400(%rbx,%rax,4),%esi
inc    %r14
mov    %r15,%rdx
cmove  %rbp,%rdx
add    $0x101,%eax
test   $0x1f,%al
mov    %rbp,%rcx
cmove  %r13,%rcx
lea    0xb70(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rax
test   %r14,%r14
jne    1490 <main+0x330>
lea    0xbb1(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%r13
mov    0x8(%rsp),%rsi
jmp    13b0 <main+0x250>
lea    0xb5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xb3e(%rip),%r13
lea    0xb30(%rip),%r15
xor    %ebx,%ebx
lea    0xb2c(%rip),%r14
lea    0xb77(%rip),%r12
jmp    154f <main+0x3ef>
nopw   0x0(%rax,%rax,1)
lea    0xb22(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xff,%rbx
mov    %rbp,%rsi
cmovb  %r14,%rsi
add    $0x1,%rbx
test   $0x7,%bl
mov    %rbp,%rdx
cmove  %r12,%rdx
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x100,%rbx
je     156d <main+0x40d>
mov    0x90(%rsp,%rbx,4),%eax
test   $0xfffffeff,%eax
jne    1510 <main+0x3b0>
xor    %esi,%esi
cmp    $0x100,%eax
sete   %sil
mov    %r13,%rdi
jmp    1519 <main+0x3b9>
lea    0xb06(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x40498,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stdin = global i32 0
@stderr = global i32 0
@.str = [10 x i8] c"error: %s\00"
@.str.1 = [28 x i8] c"static char pg%02X[256]=\0A{\0A\00"
@.str.2 = [7 x i8] c"%d%s%s\00"
@.str.3 = [2 x i8] c",\00"
@.str.4 = [1 x i8] zeroinitializer
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [5 x i8] c"};\0A\0A\00"
@.str.7 = [55 x i8] c"static struct {int page; char *p;} utr11_data[256]=\0A{\0A\00"
@.str.8 = [10 x i8] c"{%d,NULL}\00"
@.str.9 = [11 x i8] c"{0,pg%02X}\00"
@.str.10 = [5 x i8] c"%s%s\00"
@.str.11 = [4 x i8] c"};\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [128 x i8]
%7 = alloca i32
%8 = alloca [65536 x i32]
%9 = alloca [256 x i32]
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i8*
%15 = alloca i32
%16 = alloca i32*
%17 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
%18 = getelementptr inbounds [65536 x i32], [65536 x i32]* %8, i64 0, i64 0
%19 = call i32 @memset(i32* %18, i32 0, i32 262144)
%20 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 0
%21 = call i32 @memset(i32* %20, i32 0, i32 1024)
br label %22
22: ; preds = %123, %86, %79, %72, %41, %32, %2
%23 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%24 = load i32, i32* @stdin
%25 = call i64 @fgets(i8* %23, i32 128, i32 %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %124
27: ; preds = %22
%28 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%29 = load i8, i8* %28
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 35
br i1 %31, label %32, label %33
32: ; preds = %27
br label %22
33: ; preds = %27
%34 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%35 = call i32 @strtol(i8* %34, i8** %14, i32 16)
store i32 %35, i32* %11
%36 = load i32, i32* %11
%37 = icmp slt i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %33
%39 = load i32, i32* %11
%40 = icmp sgt i32 %39, 65535
br i1 %40, label %41, label %42
41: ; preds = %38, %33
br label %22
42: ; preds = %38
%43 = load i8*, i8** %14
%44 = getelementptr inbounds i8, i8* %43, i64 0
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 59
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = load i32, i32* %11
store i32 %49, i32* %12
br label %93
50: ; preds = %42
%51 = load i8*, i8** %14
%52 = getelementptr inbounds i8, i8* %51, i64 0
%53 = load i8, i8* %52
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 46
br i1 %55, label %56, label %86
56: ; preds = %50
%57 = load i8*, i8** %14
%58 = getelementptr inbounds i8, i8* %57, i64 1
%59 = load i8, i8* %58
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 46
br i1 %61, label %62, label %86
62: ; preds = %56
%63 = load i8*, i8** %14
%64 = getelementptr inbounds i8, i8* %63, i64 2
store i8* %64, i8** %14
%65 = load i8*, i8** %14
%66 = call i32 @strtol(i8* %65, i8** %14, i32 16)
store i32 %66, i32* %12
%67 = load i32, i32* %12
%68 = icmp slt i32 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %62
%70 = load i32, i32* %12
%71 = icmp sgt i32 %70, 65535
br i1 %71, label %72, label %73
72: ; preds = %69, %62
br label %22
73: ; preds = %69
%74 = load i8*, i8** %14
%75 = getelementptr inbounds i8, i8* %74, i64 0
%76 = load i8, i8* %75
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %77, 59
br i1 %78, label %79, label %85
79: ; preds = %73
%80 = load i32, i32* %7
%81 = add nsw i32 %80, 1
store i32 %81, i32* %7
%82 = load i32, i32* @stderr
%83 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%84 = call i32 @fprintf(i32 %82, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %83)
br label %22
85: ; preds = %73
br label %92
86: ; preds = %56, %50
%87 = load i32, i32* %7
%88 = add nsw i32 %87, 1
store i32 %88, i32* %7
%89 = load i32, i32* @stderr
%90 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%91 = call i32 @fprintf(i32 %89, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %90)
br label %22
92: ; preds = %85
br label %93
93: ; preds = %92, %48
%94 = load i8*, i8** %14
%95 = getelementptr inbounds i8, i8* %94, i32 1
store i8* %95, i8** %14
%96 = load i8*, i8** %14
%97 = getelementptr inbounds i8, i8* %96, i64 0
%98 = load i8, i8* %97
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 70
br i1 %100, label %107, label %101
101: ; preds = %93
%102 = load i8*, i8** %14
%103 = getelementptr inbounds i8, i8* %102, i64 0
%104 = load i8, i8* %103
%105 = sext i8 %104 to i32
%106 = icmp eq i32 %105, 87
br label %107
107: ; preds = %101, %93
%108 = phi i1 [ true, %93 ], [ %106, %101 ]
%109 = zext i1 %108 to i64
%110 = select i1 %108, i32 1, i32 0
store i32 %110, i32* %13
br label %111
111: ; preds = %120, %107
%112 = load i32, i32* %11
%113 = load i32, i32* %12
%114 = icmp sle i32 %112, %113
br i1 %114, label %115, label %123
115: ; preds = %111
%116 = load i32, i32* %13
%117 = load i32, i32* %11
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [65536 x i32], [65536 x i32]* %8, i64 0, i64 %118
store i32 %116, i32* %119
br label %120
120: ; preds = %115
%121 = load i32, i32* %11
%122 = add nsw i32 %121, 1
store i32 %122, i32* %11
br label %111
123: ; preds = %111
br label %22
124: ; preds = %22
%125 = load i32, i32* %7
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %128
127: ; preds = %124
store i32 1, i32* %3
br label %249
128: ; preds = %124
store i32 0, i32* %10
br label %129
129: ; preds = %199, %128
%130 = load i32, i32* %10
%131 = icmp slt i32 %130, 256
br i1 %131, label %132, label %202
132: ; preds = %129
%133 = getelementptr inbounds [65536 x i32], [65536 x i32]* %8, i64 0, i64 0
%134 = load i32, i32* %10
%135 = mul nsw i32 256, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, i32* %133, i64 %136
store i32* %137, i32** %16
%138 = load i32, i32* %10
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %139
store i32 0, i32* %140
store i32 0, i32* %15
br label %141
141: ; preds = %155, %132
%142 = load i32, i32* %15
%143 = icmp slt i32 %142, 256
br i1 %143, label %144, label %158
144: ; preds = %141
%145 = load i32*, i32** %16
%146 = load i32, i32* %15
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i32, i32* %145, i64 %147
%149 = load i32, i32* %148
%150 = load i32, i32* %10
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %151
%153 = load i32, i32* %152
%154 = add nsw i32 %153, %149
store i32 %154, i32* %152
br label %155
155: ; preds = %144
%156 = load i32, i32* %15
%157 = add nsw i32 %156, 1
store i32 %157, i32* %15
br label %141
158: ; preds = %141
%159 = load i32, i32* %10
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %160
%162 = load i32, i32* %161
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %198
164: ; preds = %158
%165 = load i32, i32* %10
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %166
%168 = load i32, i32* %167
%169 = icmp ne i32 %168, 256
br i1 %169, label %170, label %198
170: ; preds = %164
%171 = load i32, i32* %10
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 %171)
store i32 0, i32* %15
br label %173
173: ; preds = %193, %170
%174 = load i32, i32* %15
%175 = icmp slt i32 %174, 256
br i1 %175, label %176, label %196
176: ; preds = %173
%177 = load i32*, i32** %16
%178 = load i32, i32* %15
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i32, i32* %177, i64 %179
%181 = load i32, i32* %180
%182 = load i32, i32* %15
%183 = icmp slt i32 %182, 255
%184 = zext i1 %183 to i64
%185 = select i1 %183, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0)
%186 = load i32, i32* %15
%187 = add nsw i32 %186, 1
%188 = srem i32 %187, 32
%189 = icmp ne i32 %188, 0
%190 = zext i1 %189 to i64
%191 = select i1 %189, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%192 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %181, i8* %185, i8* %191)
br label %193
193: ; preds = %176
%194 = load i32, i32* %15
%195 = add nsw i32 %194, 1
store i32 %195, i32* %15
br label %173
196: ; preds = %173
%197 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %198
198: ; preds = %196, %164, %158
br label %199
199: ; preds = %198
%200 = load i32, i32* %10
%201 = add nsw i32 %200, 1
store i32 %201, i32* %10
br label %129
202: ; preds = %129
%203 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %10
br label %204
204: ; preds = %244, %202
%205 = load i32, i32* %10
%206 = icmp slt i32 %205, 256
br i1 %206, label %207, label %247
207: ; preds = %204
%208 = load i32, i32* %10
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %209
%211 = load i32, i32* %210
%212 = icmp eq i32 %211, 0
br i1 %212, label %219, label %213
213: ; preds = %207
%214 = load i32, i32* %10
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %215
%217 = load i32, i32* %216
%218 = icmp eq i32 %217, 256
br i1 %218, label %219, label %229
219: ; preds = %213, %207
%220 = load i32, i32* %10
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [256 x i32], [256 x i32]* %9, i64 0, i64 %221
%223 = load i32, i32* %222
%224 = icmp eq i32 %223, 256
%225 = zext i1 %224 to i64
%226 = select i1 %224, i32 1, i32 0
store i32 %226, i32* %17
%227 = load i32, i32* %17
%228 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i32 %227)
br label %232
229: ; preds = %213
%230 = load i32, i32* %10
%231 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %230)
br label %232
232: ; preds = %229, %219
%233 = load i32, i32* %10
%234 = icmp slt i32 %233, 255
%235 = zext i1 %234 to i64
%236 = select i1 %234, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0)
%237 = load i32, i32* %10
%238 = add nsw i32 %237, 1
%239 = srem i32 %238, 8
%240 = icmp ne i32 %239, 0
%241 = zext i1 %240 to i64
%242 = select i1 %240, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%243 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* %236, i8* %242)
br label %244
244: ; preds = %232
%245 = load i32, i32* %10
%246 = add nsw i32 %245, 1
store i32 %246, i32* %10
br label %204
247: ; preds = %204
%248 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %3
br label %249
249: ; preds = %247, %127
%250 = load i32, i32* %3
ret i32 %250
}

LLVM IR (-O2):
@stdin = global i32 0
@stderr = global i32 0
@.str = [10 x i8] c"error: %s\00"
@.str.1 = [28 x i8] c"static char pg%02X[256]=\0A{\0A\00"
@.str.2 = [7 x i8] c"%d%s%s\00"
@.str.3 = [2 x i8] c",\00"
@.str.4 = [1 x i8] zeroinitializer
@.str.5 = [2 x i8] c"\0A\00"
@.str.8 = [10 x i8] c"{%d,NULL}\00"
@.str.9 = [11 x i8] c"{0,pg%02X}\00"
@.str.10 = [5 x i8] c"%s%s\00"
@str = [54 x i8] c"static struct {int page; char *p;} utr11_data[256]=\0A{\00"
@str.12 = [3 x i8] c"};\00"
@str.13 = [4 x i8] c"};\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [128 x i8]
%4 = alloca [65536 x i32]
%5 = alloca [256 x i32]
%6 = alloca i8*
%7 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%8 = bitcast [65536 x i32]* %4 to i8*
%9 = bitcast [256 x i32]* %5 to i8*
%10 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 0
%11 = call i32 @memset(i32* %10, i32 0, i32 262144)
%12 = getelementptr inbounds [256 x i32], [256 x i32]* %5, i64 0, i64 0
%13 = call i32 @memset(i32* %12, i32 0, i32 1024)
%14 = load i32, i32* @stdin
%15 = call i64 @fgets(i8* %7, i32 128, i32 %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %136, label %17
17: ; preds = %2
%18 = bitcast i8** %6 to i8*
br label %19
19: ; preds = %17, %129
%20 = phi i32 [ 0, %17 ], [ %130, %129 ]
%21 = load i8, i8* %7
%22 = icmp eq i8 %21, 35
br i1 %22, label %129, label %23
23: ; preds = %19
%24 = call i32 @strtol(i8* %7, i8** %6, i32 16)
%25 = icmp ugt i32 %24, 65535
br i1 %25, label %129, label %26
26: ; preds = %23
%27 = load i8*, i8** %6
%28 = load i8, i8* %27
switch i8 %28, label %125 [
i8 59, label %41
i8 46, label %29
]
29: ; preds = %26
%30 = getelementptr inbounds i8, i8* %27, i64 1
%31 = load i8, i8* %30
%32 = icmp eq i8 %31, 46
br i1 %32, label %33, label %125
33: ; preds = %29
%34 = getelementptr inbounds i8, i8* %27, i64 2
store i8* %34, i8** %6
%35 = call i32 @strtol(i8* %34, i8** %6, i32 16)
%36 = icmp ugt i32 %35, 65535
br i1 %36, label %129, label %37
37: ; preds = %33
%38 = load i8*, i8** %6
%39 = load i8, i8* %38
%40 = icmp eq i8 %39, 59
br i1 %40, label %41, label %125
41: ; preds = %26, %37
%42 = phi i8* [ %38, %37 ], [ %27, %26 ]
%43 = phi i32 [ %35, %37 ], [ %24, %26 ]
%44 = getelementptr inbounds i8, i8* %42, i64 1
%45 = load i8, i8* %44
%46 = icmp eq i8 %45, 70
%47 = icmp eq i8 %45, 87
%48 = or i1 %46, %47
%49 = zext i1 %48 to i32
%50 = icmp ult i32 %43, %24
br i1 %50, label %129, label %51
51: ; preds = %41
%52 = zext i32 %24 to i64
%53 = add nuw nsw i32 %43, 1
%54 = sub i32 %43, %24
%55 = zext i32 %54 to i64
%56 = add nuw nsw i64 %55, 1
%57 = icmp ult i32 %54, 7
br i1 %57, label %117, label %58
58: ; preds = %51
%59 = and i64 %56, 8589934584
%60 = add nuw nsw i64 %59, %52
%61 = insertelement <4 x i32> poison, i32 %49, i64 0
%62 = shufflevector <4 x i32> %61, <4 x i32> poison, <4 x i32> zeroinitializer
%63 = insertelement <4 x i32> poison, i32 %49, i64 0
%64 = shufflevector <4 x i32> %63, <4 x i32> poison, <4 x i32> zeroinitializer
%65 = add nsw i64 %59, -8
%66 = lshr exact i64 %65, 3
%67 = add nuw nsw i64 %66, 1
%68 = and i64 %67, 3
%69 = icmp ult i64 %65, 24
br i1 %69, label %101, label %70
70: ; preds = %58
%71 = and i64 %67, 4611686018427387900
br label %72
72: ; preds = %72, %70
%73 = phi i64 [ 0, %70 ], [ %98, %72 ]
%74 = phi i64 [ 0, %70 ], [ %99, %72 ]
%75 = add i64 %73, %52
%76 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %75
%77 = bitcast i32* %76 to <4 x i32>*
store <4 x i32> %62, <4 x i32>* %77
%78 = getelementptr inbounds i32, i32* %76, i64 4
%79 = bitcast i32* %78 to <4 x i32>*
store <4 x i32> %64, <4 x i32>* %79
%80 = or i64 %73, 8
%81 = add i64 %80, %52
%82 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %81
%83 = bitcast i32* %82 to <4 x i32>*
store <4 x i32> %62, <4 x i32>* %83
%84 = getelementptr inbounds i32, i32* %82, i64 4
%85 = bitcast i32* %84 to <4 x i32>*
store <4 x i32> %64, <4 x i32>* %85
%86 = or i64 %73, 16
%87 = add i64 %86, %52
%88 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %87
%89 = bitcast i32* %88 to <4 x i32>*
store <4 x i32> %62, <4 x i32>* %89
%90 = getelementptr inbounds i32, i32* %88, i64 4
%91 = bitcast i32* %90 to <4 x i32>*
store <4 x i32> %64, <4 x i32>* %91
%92 = or i64 %73, 24
%93 = add i64 %92, %52
%94 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %93
%95 = bitcast i32* %94 to <4 x i32>*
store <4 x i32> %62, <4 x i32>* %95
%96 = getelementptr inbounds i32, i32* %94, i64 4
%97 = bitcast i32* %96 to <4 x i32>*
store <4 x i32> %64, <4 x i32>* %97
%98 = add nuw i64 %73, 32
%99 = add i64 %74, 4
%100 = icmp eq i64 %99, %71
br i1 %100, label %101, label %72
101: ; preds = %72, %58
%102 = phi i64 [ 0, %58 ], [ %98, %72 ]
%103 = icmp eq i64 %68, 0
br i1 %103, label %115, label %104
104: ; preds = %101, %104
%105 = phi i64 [ %112, %104 ], [ %102, %101 ]
%106 = phi i64 [ %113, %104 ], [ 0, %101 ]
%107 = add i64 %105, %52
%108 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %107
%109 = bitcast i32* %108 to <4 x i32>*
store <4 x i32> %62, <4 x i32>* %109
%110 = getelementptr inbounds i32, i32* %108, i64 4
%111 = bitcast i32* %110 to <4 x i32>*
store <4 x i32> %64, <4 x i32>* %111
%112 = add nuw i64 %105, 8
%113 = add i64 %106, 1
%114 = icmp eq i64 %113, %68
br i1 %114, label %115, label %104
115: ; preds = %104, %101
%116 = icmp eq i64 %56, %59
br i1 %116, label %129, label %117
117: ; preds = %51, %115
%118 = phi i64 [ %52, %51 ], [ %60, %115 ]
br label %119
119: ; preds = %117, %119
%120 = phi i64 [ %122, %119 ], [ %118, %117 ]
%121 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %120
store i32 %49, i32* %121
%122 = add nuw nsw i64 %120, 1
%123 = trunc i64 %122 to i32
%124 = icmp eq i32 %53, %123
br i1 %124, label %129, label %119
125: ; preds = %29, %26, %37
%126 = add nsw i32 %20, 1
%127 = load i32, i32* @stderr
%128 = call i32 @fprintf(i32 %127, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %7)
br label %129
129: ; preds = %119, %115, %125, %41, %33, %23, %19
%130 = phi i32 [ %20, %19 ], [ %20, %23 ], [ %20, %33 ], [ %20, %41 ], [ %126, %125 ], [ %20, %115 ], [ %20, %119 ]
%131 = load i32, i32* @stdin
%132 = call i64 @fgets(i8* %7, i32 128, i32 %131)
%133 = icmp eq i64 %132, 0
br i1 %133, label %134, label %19
134: ; preds = %129
%135 = icmp eq i32 %130, 0
br i1 %135, label %136, label %230
136: ; preds = %2, %134
br label %137
137: ; preds = %136, %203
%138 = phi i64 [ %204, %203 ], [ 0, %136 ]
%139 = shl nuw nsw i64 %138, 8
%140 = getelementptr inbounds [65536 x i32], [65536 x i32]* %4, i64 0, i64 %139
%141 = getelementptr inbounds [256 x i32], [256 x i32]* %5, i64 0, i64 %138
br label %142
142: ; preds = %142, %137
%143 = phi i64 [ 0, %137 ], [ %181, %142 ]
%144 = phi <4 x i32> [ zeroinitializer, %137 ], [ %179, %142 ]
%145 = phi <4 x i32> [ zeroinitializer, %137 ], [ %180, %142 ]
%146 = getelementptr inbounds i32, i32* %140, i64 %143
%147 = bitcast i32* %146 to <4 x i32>*
%148 = load <4 x i32>, <4 x i32>* %147
%149 = getelementptr inbounds i32, i32* %146, i64 4
%150 = bitcast i32* %149 to <4 x i32>*
%151 = load <4 x i32>, <4 x i32>* %150
%152 = add <4 x i32> %144, %148
%153 = add <4 x i32> %145, %151
%154 = or i64 %143, 8
%155 = getelementptr inbounds i32, i32* %140, i64 %154
%156 = bitcast i32* %155 to <4 x i32>*
%157 = load <4 x i32>, <4 x i32>* %156
%158 = getelementptr inbounds i32, i32* %155, i64 4
%159 = bitcast i32* %158 to <4 x i32>*
%160 = load <4 x i32>, <4 x i32>* %159
%161 = add <4 x i32> %152, %157
%162 = add <4 x i32> %153, %160
%163 = or i64 %143, 16
%164 = getelementptr inbounds i32, i32* %140, i64 %163
%165 = bitcast i32* %164 to <4 x i32>*
%166 = load <4 x i32>, <4 x i32>* %165
%167 = getelementptr inbounds i32, i32* %164, i64 4
%168 = bitcast i32* %167 to <4 x i32>*
%169 = load <4 x i32>, <4 x i32>* %168
%170 = add <4 x i32> %161, %166
%171 = add <4 x i32> %162, %169
%172 = or i64 %143, 24
%173 = getelementptr inbounds i32, i32* %140, i64 %172
%174 = bitcast i32* %173 to <4 x i32>*
%175 = load <4 x i32>, <4 x i32>* %174
%176 = getelementptr inbounds i32, i32* %173, i64 4
%177 = bitcast i32* %176 to <4 x i32>*
%178 = load <4 x i32>, <4 x i32>* %177
%179 = add <4 x i32> %170, %175
%180 = add <4 x i32> %171, %178
%181 = add nuw nsw i64 %143, 32
%182 = icmp eq i64 %181, 256
br i1 %182, label %183, label %142
183: ; preds = %142
%184 = add <4 x i32> %180, %179
%185 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %184)
store i32 %185, i32* %141
switch i32 %185, label %186 [
i32 0, label %203
i32 256, label %203
]
186: ; preds = %183
%187 = trunc i64 %138 to i32
%188 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 %187)
br label %189
189: ; preds = %186, %189
%190 = phi i64 [ 0, %186 ], [ %195, %189 ]
%191 = getelementptr inbounds i32, i32* %140, i64 %190
%192 = load i32, i32* %191
%193 = icmp eq i64 %190, 255
%194 = select i1 %193, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%195 = add nuw nsw i64 %190, 1
%196 = and i64 %195, 31
%197 = icmp eq i64 %196, 0
%198 = select i1 %197, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0)
%199 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %192, i8* %194, i8* %198)
%200 = icmp eq i64 %195, 256
br i1 %200, label %201, label %189
201: ; preds = %189
%202 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.13, i64 0, i64 0))
br label %203
203: ; preds = %183, %183, %201
%204 = add nuw nsw i64 %138, 1
%205 = icmp eq i64 %204, 256
br i1 %205, label %206, label %137
206: ; preds = %203
%207 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str, i64 0, i64 0))
br label %208
208: ; preds = %206, %219
%209 = phi i64 [ 0, %206 ], [ %222, %219 ]
%210 = getelementptr inbounds [256 x i32], [256 x i32]* %5, i64 0, i64 %209
%211 = load i32, i32* %210
switch i32 %211, label %216 [
i32 0, label %212
i32 256, label %212
]
212: ; preds = %208, %208
%213 = icmp eq i32 %211, 256
%214 = zext i1 %213 to i32
%215 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i32 %214)
br label %219
216: ; preds = %208
%217 = trunc i64 %209 to i32
%218 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %217)
br label %219
219: ; preds = %216, %212
%220 = icmp ult i64 %209, 255
%221 = select i1 %220, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0)
%222 = add nuw nsw i64 %209, 1
%223 = and i64 %222, 7
%224 = icmp eq i64 %223, 0
%225 = select i1 %224, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0)
%226 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* %221, i8* %225)
%227 = icmp eq i64 %222, 256
br i1 %227, label %228, label %208
228: ; preds = %219
%229 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.12, i64 0, i64 0))
br label %230
230: ; preds = %134, %228
%231 = phi i32 [ 0, %228 ], [ 1, %134 ]
ret i32 %231
}