#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 /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int);
int getline(char **, size_t *, int /*<<< orphan*/);
scalar_t__ isspace(char);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
char *strchr(char *, char);
int strlen(char *);
int strtol(char *, int /*<<< orphan*/, int /*<<< orphan*/);
int main(void) {
  unsigned char byte;
  char *line = 0;
  size_t line_size = 0;
  int i, mx = 0;
  printf("/* Apple II text font data\n"
         " *\n"
         " * THIS FILE IS AUTOMATICALLY GENERATED --- DO NOT EDIT\n"
         " */\n");
  i = 0x100;
  while (getline(&line, &line_size, stdin) != -1) {
    if (line[0] == ';') {
      continue;
    }
    if (line[0] == '=') {
      char *name, *size;
      name = line + 1;
      while (isspace(*name)) {
        name++;
      }
      size = strchr(name, ',');
      *size++ = 0;
      mx = i = strtol(size, 0, 0);
      printf("\nconst unsigned char %s[%d] =\n{\n  ", name, i * 8);
      continue;
    }
    i--;
    if (line[0] == ':') {
      int j = 8;
      {
        int len = strlen(line);
        line[len - 1] = '\0';
        printf("/* %s */\n", line);
      }
      while (j--) {
        int k;
        if (getline(&line, &line_size, stdin) == -1) {
        }
        k = 8;
        byte = 0;
        while (k--) {
          byte <<= 1;
          byte += (line[k] == '#') ? 1 : 0;
        }
        if (j) {
          printf("0x%02x, ", byte);
        } else if (i) {
          printf("0x%02x,\n  ", byte);
        } else {
          printf("0x%02x\n};\n", byte);
        }
      }
    } else {
      break;
    }
  }
  if (i) {
    fprintf(stderr, "Trouble with font file at character 0x%02x\n", mx - i - 1);
    exit(EXIT_FAILURE);
  }
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movl   $0x0,-0x20(%rbp)
lea    0xe53(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x100,-0x1c(%rbp)
mov    0x2e26(%rip),%rax
mov    (%rax),%edx
lea    -0x10(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1090 <getline@plt>
cmp    $0xffffffff,%eax
je     13ca <main+0x24a>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
jne    11ef <main+0x6f>
jmp    11bb <main+0x3b>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3d,%eax
jne    1286 <main+0x106>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
movsbl (%rax),%edi
call   1060 <isspace@plt>
cmp    $0x0,%rax
je     1232 <main+0xb2>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    120b <main+0x8b>
mov    -0x28(%rbp),%rdi
mov    $0x2c,%esi
call   1040 <strchr@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x0,(%rax)
mov    -0x30(%rbp),%rdi
xor    %edx,%edx
mov    %edx,%esi
call   1080 <strtol@plt>
mov    %eax,-0x1c(%rbp)
mov    %eax,-0x20(%rbp)
mov    -0x28(%rbp),%rsi
mov    -0x1c(%rbp),%edx
shl    $0x3,%edx
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11bb <main+0x3b>
mov    -0x1c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    13c0 <main+0x240>
movl   $0x8,-0x34(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x38(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x10(%rbp),%rsi
lea    0xdb0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x34(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x34(%rbp)
cmp    $0x0,%eax
je     13bb <main+0x23b>
mov    0x2cf8(%rip),%rax
mov    (%rax),%edx
lea    -0x10(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1090 <getline@plt>
cmp    $0xffffffff,%eax
jne    130d <main+0x18d>
jmp    130d <main+0x18d>
movl   $0x8,-0x3c(%rbp)
movb   $0x0,-0x5(%rbp)
mov    -0x3c(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x3c(%rbp)
cmp    $0x0,%eax
je     135d <main+0x1dd>
movzbl -0x5(%rbp),%eax
shl    $0x1,%eax
mov    %al,-0x5(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsbl (%rax,%rcx,1),%edx
xor    %ecx,%ecx
mov    $0x1,%eax
cmp    $0x23,%edx
cmove  %eax,%ecx
movzbl -0x5(%rbp),%eax
add    %ecx,%eax
mov    %al,-0x5(%rbp)
jmp    1318 <main+0x198>
cmpl   $0x0,-0x34(%rbp)
je     137e <main+0x1fe>
movzbl -0x5(%rbp),%esi
lea    0xd16(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13b6 <main+0x236>
cmpl   $0x0,-0x1c(%rbp)
je     139f <main+0x21f>
movzbl -0x5(%rbp),%esi
lea    0xcfe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13b1 <main+0x231>
movzbl -0x5(%rbp),%esi
lea    0xcf2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13b6 <main+0x236>
jmp    12d5 <main+0x155>
jmp    13c5 <main+0x245>
jmp    13ca <main+0x24a>
jmp    11bb <main+0x3b>
cmpl   $0x0,-0x1c(%rbp)
je     1400 <main+0x280>
mov    0x2bfd(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%edx
sub    -0x1c(%rbp),%edx
sub    $0x1,%edx
lea    0xcba(%rip),%rsi
call   1070 <fprintf@plt>
mov    0x2bd7(%rip),%rax
mov    (%rax),%edi
call   10a0 <exit@plt>
mov    0x2bc1(%rip),%rax
mov    (%rax),%edi
call   10a0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
movq   $0x0,0x8(%rsp)
movq   $0x0,0x20(%rsp)
lea    0xed1(%rip),%rdi
call   1030 <puts@plt>
mov    $0x100,%ebx
mov    0x2e20(%rip),%r12
lea    0x8(%rsp),%r14
lea    0x20(%rsp),%r13
xor    %eax,%eax
mov    %rax,0x18(%rsp)
jmp    1200 <main+0x70>
mov    0x14(%rsp),%ebx
test   %ebx,%ebx
lea    0xe5e(%rip),%rdi
lea    0xe62(%rip),%rax
cmove  %rax,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
nopw   0x0(%rax,%rax,1)
mov    (%r12),%edx
mov    %r14,%rdi
mov    %r13,%rsi
call   10a0 <getline@plt>
cmp    $0xffffffff,%eax
je     1361 <main+0x1d1>
mov    0x8(%rsp),%r15
mov    (%r15),%al
cmp    $0x3b,%al
je     1200 <main+0x70>
cmp    $0x3d,%al
jne    1284 <main+0xf4>
nopl   0x0(%rax,%rax,1)
movsbl 0x1(%r15),%edi
add    $0x1,%r15
call   1070 <isspace@plt>
test   %rax,%rax
jne    1230 <main+0xa0>
mov    %r15,%rdi
mov    $0x2c,%esi
call   1050 <strchr@plt>
movb   $0x0,(%rax)
lea    0x1(%rax),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1090 <strtol@plt>
mov    %eax,%ebx
lea    0x0(,%rbx,8),%edx
lea    0xda0(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,0x18(%rsp)
jmp    1200 <main+0x70>
add    $0xffffffff,%ebx
cmp    $0x3a,%al
jne    1361 <main+0x1d1>
mov    %ebx,0x14(%rsp)
mov    %r15,%rdi
call   1040 <strlen@plt>
mov    0x8(%rsp),%rcx
cltq
movb   $0x0,-0x1(%rax,%rcx,1)
mov    0x8(%rsp),%rsi
lea    0xd80(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xfffffff9,%r15d
mov    (%r12),%edx
mov    %r14,%rdi
mov    %r13,%rsi
call   10a0 <getline@plt>
mov    0x8(%rsp),%rax
movq   (%rax),%xmm0
pcmpeqb 0xd20(%rip),%xmm0
pmovmskb %xmm0,%ebp
mov    %ebp,%esi
and    $0x2,%sil
mov    %ebp,%edi
and    $0x4,%dil
shr    $0x2,%dil
mov    %ebp,%edx
and    $0x8,%dl
mov    %ebp,%r8d
and    $0x10,%r8b
shr    $0x4,%r8b
mov    %ebp,%ebx
and    $0x20,%bl
mov    %ebp,%ecx
and    $0x40,%cl
shr    $0x6,%cl
mov    %ebp,%eax
shr    $0x6,%al
and    $0x2,%al
or     %cl,%al
shl    $0x2,%al
shr    $0x4,%bl
or     %al,%bl
or     %r8b,%bl
shl    $0x2,%bl
shr    $0x2,%dl
or     %bl,%dl
or     %dil,%dl
shl    $0x2,%dl
or     %sil,%dl
and    $0x1,%bpl
or     %dl,%bpl
movzbl %bpl,%esi
test   %r15d,%r15d
je     11db <main+0x4b>
lea    0xcec(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%r15d
jmp    12c0 <main+0x130>
test   %ebx,%ebx
jne    1373 <main+0x1e3>
mov    0x2c5c(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
mov    0x2c5e(%rip),%rax
mov    (%rax),%edi
not    %ebx
mov    0x18(%rsp),%rdx
add    %ebx,%edx
lea    0xcd0(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2c38(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@.str = [91 x i8] c"/* Apple II text font data\0A *\0A * THIS FILE IS AUTOMATICALLY GENERATED --- DO NOT EDIT\0A */\0A\00"
@stdin = global i32 0
@.str.1 = [35 x i8] c"\0Aconst unsigned char %s[%d] =\0A{\0A \00"
@.str.2 = [10 x i8] c"/* %s */\0A\00"
@.str.3 = [9 x i8] c"0x%02x, \00"
@.str.4 = [11 x i8] c"0x%02x,\0A \00"
@.str.5 = [11 x i8] c"0x%02x\0A};\0A\00"
@stderr = global i32 0
@.str.6 = [44 x i8] c"Trouble with font file at character 0x%02x\0A\00"
@EXIT_FAILURE = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %1
store i8* null, i8** %3
store i64 0, i64* %4
store i32 0, i32* %6
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str, i64 0, i64 0))
store i32 256, i32* %5
br label %13
13: ; preds = %124, %41, %23, %0
%14 = load i32, i32* @stdin
%15 = call i32 @getline(i8** %3, i64* %4, i32 %14)
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %125
17: ; preds = %13
%18 = load i8*, i8** %3
%19 = getelementptr inbounds i8, i8* %18, i64 0
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 59
br i1 %22, label %23, label %24
23: ; preds = %17
br label %13
24: ; preds = %17
%25 = load i8*, i8** %3
%26 = getelementptr inbounds i8, i8* %25, i64 0
%27 = load i8, i8* %26
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 61
br i1 %29, label %30, label %52
30: ; preds = %24
%31 = load i8*, i8** %3
%32 = getelementptr inbounds i8, i8* %31, i64 1
store i8* %32, i8** %7
br label %33
33: ; preds = %38, %30
%34 = load i8*, i8** %7
%35 = load i8, i8* %34
%36 = call i64 @isspace(i8 signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = load i8*, i8** %7
%40 = getelementptr inbounds i8, i8* %39, i32 1
store i8* %40, i8** %7
br label %33
41: ; preds = %33
%42 = load i8*, i8** %7
%43 = call i8* @strchr(i8* %42, i8 signext 44)
store i8* %43, i8** %8
%44 = load i8*, i8** %8
%45 = getelementptr inbounds i8, i8* %44, i32 1
store i8* %45, i8** %8
store i8 0, i8* %44
%46 = load i8*, i8** %8
%47 = call i32 @strtol(i8* %46, i32 0, i32 0)
store i32 %47, i32* %5
store i32 %47, i32* %6
%48 = load i8*, i8** %7
%49 = load i32, i32* %5
%50 = mul nsw i32 %49, 8
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* %48, i32 %50)
br label %13
52: ; preds = %24
%53 = load i32, i32* %5
%54 = add nsw i32 %53, -1
store i32 %54, i32* %5
%55 = load i8*, i8** %3
%56 = getelementptr inbounds i8, i8* %55, i64 0
%57 = load i8, i8* %56
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 58
br i1 %59, label %60, label %123
60: ; preds = %52
store i32 8, i32* %9
%61 = load i8*, i8** %3
%62 = call i32 @strlen(i8* %61)
store i32 %62, i32* %10
%63 = load i8*, i8** %3
%64 = load i32, i32* %10
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, i8* %63, i64 %66
store i8 0, i8* %67
%68 = load i8*, i8** %3
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %68)
br label %70
70: ; preds = %121, %60
%71 = load i32, i32* %9
%72 = add nsw i32 %71, -1
store i32 %72, i32* %9
%73 = icmp ne i32 %71, 0
br i1 %73, label %74, label %122
74: ; preds = %70
%75 = load i32, i32* @stdin
%76 = call i32 @getline(i8** %3, i64* %4, i32 %75)
%77 = icmp eq i32 %76, -1
br i1 %77, label %78, label %79
78: ; preds = %74
br label %79
79: ; preds = %78, %74
store i32 8, i32* %11
store i8 0, i8* %2
br label %80
80: ; preds = %84, %79
%81 = load i32, i32* %11
%82 = add nsw i32 %81, -1
store i32 %82, i32* %11
%83 = icmp ne i32 %81, 0
br i1 %83, label %84, label %102
84: ; preds = %80
%85 = load i8, i8* %2
%86 = zext i8 %85 to i32
%87 = shl i32 %86, 1
%88 = trunc i32 %87 to i8
store i8 %88, i8* %2
%89 = load i8*, i8** %3
%90 = load i32, i32* %11
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, i8* %89, i64 %91
%93 = load i8, i8* %92
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 35
%96 = zext i1 %95 to i64
%97 = select i1 %95, i32 1, i32 0
%98 = load i8, i8* %2
%99 = zext i8 %98 to i32
%100 = add nsw i32 %99, %97
%101 = trunc i32 %100 to i8
store i8 %101, i8* %2
br label %80
102: ; preds = %80
%103 = load i32, i32* %9
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %102
%106 = load i8, i8* %2
%107 = zext i8 %106 to i32
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %107)
br label %121
109: ; preds = %102
%110 = load i32, i32* %5
%111 = icmp ne i32 %110, 0
br i1 %111, label %112, label %116
112: ; preds = %109
%113 = load i8, i8* %2
%114 = zext i8 %113 to i32
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %114)
br label %120
116: ; preds = %109
%117 = load i8, i8* %2
%118 = zext i8 %117 to i32
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %118)
br label %120
120: ; preds = %116, %112
br label %121
121: ; preds = %120, %105
br label %70
122: ; preds = %70
br label %124
123: ; preds = %52
br label %125
124: ; preds = %122
br label %13
125: ; preds = %123, %13
%126 = load i32, i32* %5
%127 = icmp ne i32 %126, 0
br i1 %127, label %128, label %137
128: ; preds = %125
%129 = load i32, i32* @stderr
%130 = load i32, i32* %6
%131 = load i32, i32* %5
%132 = sub nsw i32 %130, %131
%133 = sub nsw i32 %132, 1
%134 = call i32 @fprintf(i32 %129, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0), i32 %133)
%135 = load i32, i32* @EXIT_FAILURE
%136 = call i32 @exit(i32 %135)
unreachable
137: ; preds = %125
%138 = load i32, i32* @EXIT_SUCCESS
%139 = call i32 @exit(i32 %138)
unreachable
}

LLVM IR (-O2):
@stdin = global i32 0
@.str.1 = [35 x i8] c"\0Aconst unsigned char %s[%d] =\0A{\0A \00"
@.str.2 = [10 x i8] c"/* %s */\0A\00"
@.str.3 = [9 x i8] c"0x%02x, \00"
@.str.4 = [11 x i8] c"0x%02x,\0A \00"
@.str.5 = [11 x i8] c"0x%02x\0A};\0A\00"
@stderr = global i32 0
@.str.6 = [44 x i8] c"Trouble with font file at character 0x%02x\0A\00"
@EXIT_FAILURE = global i32 0
@EXIT_SUCCESS = global i32 0
@str = [90 x i8] c"/* Apple II text font data\0A *\0A * THIS FILE IS AUTOMATICALLY GENERATED --- DO NOT EDIT\0A */\00"
define i32 @main() {
%1 = alloca i8*
%2 = alloca i64
%3 = bitcast i8** %1 to i8*
store i8* null, i8** %1
%4 = bitcast i64* %2 to i8*
store i64 0, i64* %2
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([90 x i8], [90 x i8]* @str, i64 0, i64 0))
%6 = bitcast i8** %1 to <8 x i8>**
br label %7
7: ; preds = %25, %0
%8 = phi i32 [ %28, %25 ], [ 0, %0 ]
%9 = phi i32 [ %28, %25 ], [ 256, %0 ]
br label %10
10: ; preds = %77, %7
%11 = phi i32 [ %9, %7 ], [ %32, %77 ]
br label %12
12: ; preds = %10, %16
%13 = load i32, i32* @stdin
%14 = call i32 @getline(i8** %1, i64* %2, i32 %13)
%15 = icmp eq i32 %14, -1
br i1 %15, label %85, label %16
16: ; preds = %12
%17 = load i8*, i8** %1
%18 = load i8, i8* %17
switch i8 %18, label %31 [
i8 59, label %12
i8 61, label %19
]
19: ; preds = %16, %19
%20 = phi i8* [ %21, %19 ], [ %17, %16 ]
%21 = getelementptr inbounds i8, i8* %20, i64 1
%22 = load i8, i8* %21
%23 = call i64 @isspace(i8 signext %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %19
25: ; preds = %19
%26 = call i8* @strchr(i8* %21, i8 signext 44)
%27 = getelementptr inbounds i8, i8* %26, i64 1
store i8 0, i8* %26
%28 = call i32 @strtol(i8* %27, i32 0, i32 0)
%29 = shl nsw i32 %28, 3
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* %21, i32 %29)
br label %7
31: ; preds = %16
%32 = add nsw i32 %11, -1
%33 = icmp eq i8 %18, 58
br i1 %33, label %34, label %85
34: ; preds = %31
%35 = call i32 @strlen(i8* %17)
%36 = load i8*, i8** %1
%37 = add nsw i32 %35, -1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, i8* %36, i64 %38
store i8 0, i8* %39
%40 = load i8*, i8** %1
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %40)
%42 = icmp eq i32 %32, 0
br label %43
43: ; preds = %81, %34
%44 = phi i32 [ 7, %34 ], [ %84, %81 ]
%45 = load i32, i32* @stdin
%46 = call i32 @getline(i8** %1, i64* %2, i32 %45)
%47 = load <8 x i8>*, <8 x i8>** %6
%48 = load <8 x i8>, <8 x i8>* %47
%49 = icmp eq <8 x i8> %48, <i8 35, i8 35, i8 35, i8 35, i8 35, i8 35, i8 35, i8 35>
%50 = extractelement <8 x i1> %49, i64 7
%51 = select i1 %50, i8 2, i8 0
%52 = extractelement <8 x i1> %49, i64 6
%53 = zext i1 %52 to i8
%54 = or i8 %51, %53
%55 = shl nuw nsw i8 %54, 2
%56 = extractelement <8 x i1> %49, i64 5
%57 = select i1 %56, i8 2, i8 0
%58 = or i8 %55, %57
%59 = extractelement <8 x i1> %49, i64 4
%60 = zext i1 %59 to i8
%61 = or i8 %58, %60
%62 = shl nuw nsw i8 %61, 2
%63 = extractelement <8 x i1> %49, i64 3
%64 = select i1 %63, i8 2, i8 0
%65 = or i8 %62, %64
%66 = extractelement <8 x i1> %49, i64 2
%67 = zext i1 %66 to i8
%68 = or i8 %65, %67
%69 = shl i8 %68, 2
%70 = extractelement <8 x i1> %49, i64 1
%71 = select i1 %70, i8 2, i8 0
%72 = or i8 %69, %71
%73 = extractelement <8 x i1> %49, i64 0
%74 = zext i1 %73 to i8
%75 = or i8 %72, %74
%76 = icmp eq i32 %44, 0
br i1 %76, label %77, label %81
77: ; preds = %43
%78 = select i1 %42, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0)
%79 = zext i8 %75 to i32
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %78, i32 %79)
br label %10
81: ; preds = %43
%82 = zext i8 %75 to i32
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %82)
%84 = add nsw i32 %44, -1
br label %43
85: ; preds = %31, %12
%86 = phi i32 [ %11, %12 ], [ %32, %31 ]
%87 = icmp eq i32 %86, 0
br i1 %87, label %95, label %88
88: ; preds = %85
%89 = load i32, i32* @stderr
%90 = xor i32 %86, -1
%91 = add i32 %8, %90
%92 = call i32 @fprintf(i32 %89, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0), i32 %91)
%93 = load i32, i32* @EXIT_FAILURE
%94 = call i32 @exit(i32 %93)
unreachable
95: ; preds = %85
%96 = load i32, i32* @EXIT_SUCCESS
%97 = call i32 @exit(i32 %96)
unreachable
}