#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 /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int getchar();
scalar_t__ isalnum(int);
char peekc(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int main(int argc, char **argv) {
  int c, n, last_c, got_space, in_string;
  if (argc < 2) {
    fprintf(stderr, "usage: csstoqe array_name\n");
    exit(1);
  }
  printf("/* Automatically generated file - do not edit */\n"
         "\n"
         "#include \"qe.h\"\n"
         "#include \"css.h\"\n"
         "\n");
  printf("const char %s[] = {\n", argv[1]);
  n = 0;
  got_space = 0;
  last_c = 0;
  in_string = 0;
  for (;;) {
    c = getchar();
    if (c == EOF)
      break;
    if (!in_string) {
      if (c == ' ' || c == '\t' || c == '\n') {
        got_space = 1;
        continue;
      }
      if (c == '/' && peekc(stdin) == '/') {
        for (;;) {
          c = getchar();
          if (c == EOF)
            goto the_end;
          if (c == '\n')
            goto end_comment;
        }
      }
      if (c == '/' && peekc(stdin) == '*') {
        getchar();
        for (;;) {
          c = getchar();
          if (c == EOF)
            goto the_end;
          while (c == '*') {
            c = getchar();
            if (c == EOF)
              goto the_end;
            if (c == '/')
              goto end_comment;
          }
        }
      end_comment:
        got_space = 1;
        continue;
      }
    }
    if (n == 0) {
      printf("    \"");
    }
    if (!in_string && got_space && isalnum(c) && isalnum(last_c)) {
      putchar(' ');
      n++;
    }
    if (c == '\"' || c == '\'' || c == '\\') {
      putchar('\\');
      n++;
    }
    putchar(c);
    if (c == '\"') {
      in_string ^= 1;
    }
    last_c = c;
    got_space = 0;
    if (++n >= 64) {
      printf("\"\n");
      n = 0;
    }
  }
the_end:
  if (n > 0)
    printf("\"\n");
  printf("};\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11af <main+0x3f>
mov    0x2e39(%rip),%rax
mov    (%rax),%edi
lea    0xe60(%rip),%rsi
call   1080 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xea4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x24(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    0x2ddd(%rip),%rcx
cmp    (%rcx),%eax
jne    1210 <main+0xa0>
jmp    1430 <main+0x2c0>
cmpl   $0x0,-0x24(%rbp)
jne    1348 <main+0x1d8>
cmpl   $0x20,-0x14(%rbp)
je     1238 <main+0xc8>
cmpl   $0x9,-0x14(%rbp)
je     1238 <main+0xc8>
cmpl   $0xa,-0x14(%rbp)
jne    1244 <main+0xd4>
movl   $0x1,-0x20(%rbp)
jmp    11ef <main+0x7f>
cmpl   $0x2f,-0x14(%rbp)
jne    12a2 <main+0x132>
mov    0x2d93(%rip),%rax
mov    (%rax),%edi
call   1040 <peekc@plt>
movsbl %al,%eax
cmp    $0x2f,%eax
jne    12a2 <main+0x132>
jmp    126d <main+0xfd>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    0x2d5f(%rip),%rcx
cmp    (%rcx),%eax
jne    128e <main+0x11e>
jmp    1435 <main+0x2c5>
cmpl   $0xa,-0x14(%rbp)
jne    129d <main+0x12d>
jmp    1337 <main+0x1c7>
jmp    126d <main+0xfd>
cmpl   $0x2f,-0x14(%rbp)
jne    1343 <main+0x1d3>
mov    0x2d35(%rip),%rax
mov    (%rax),%edi
call   1040 <peekc@plt>
movsbl %al,%eax
cmp    $0x2a,%eax
jne    1343 <main+0x1d3>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    0x2cff(%rip),%rcx
cmp    (%rcx),%eax
jne    12ee <main+0x17e>
jmp    1435 <main+0x2c5>
jmp    12f3 <main+0x183>
cmpl   $0x2a,-0x14(%rbp)
jne    1332 <main+0x1c2>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    0x2ccf(%rip),%rcx
cmp    (%rcx),%eax
jne    131e <main+0x1ae>
jmp    1435 <main+0x2c5>
cmpl   $0x2f,-0x14(%rbp)
jne    132d <main+0x1bd>
jmp    1337 <main+0x1c7>
jmp    12f3 <main+0x183>
jmp    12cd <main+0x15d>
movl   $0x1,-0x20(%rbp)
jmp    11ef <main+0x7f>
jmp    1348 <main+0x1d8>
cmpl   $0x0,-0x18(%rbp)
jne    1360 <main+0x1f0>
lea    0xd2c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0x0,-0x24(%rbp)
jne    13ab <main+0x23b>
cmpl   $0x0,-0x20(%rbp)
je     13ab <main+0x23b>
mov    -0x14(%rbp),%edi
call   1060 <isalnum@plt>
cmp    $0x0,%rax
je     13ab <main+0x23b>
mov    -0x1c(%rbp),%edi
call   1060 <isalnum@plt>
cmp    $0x0,%rax
je     13ab <main+0x23b>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0x22,-0x14(%rbp)
je     13c9 <main+0x259>
cmpl   $0x27,-0x14(%rbp)
je     13c9 <main+0x259>
cmpl   $0x5c,-0x14(%rbp)
jne    13dc <main+0x26c>
mov    $0x5c,%edi
call   1030 <putchar@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
call   1030 <putchar@plt>
cmpl   $0x22,-0x14(%rbp)
jne    13f7 <main+0x287>
mov    -0x24(%rbp),%eax
xor    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmp    $0x40,%eax
jl     142b <main+0x2bb>
lea    0xc6e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x18(%rbp)
jmp    11ef <main+0x7f>
jmp    1435 <main+0x2c5>
cmpl   $0x0,-0x18(%rbp)
jle    144d <main+0x2dd>
lea    0xc45(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xc3a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%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
cmp    $0x1,%edi
jle    13ea <main+0x26a>
mov    %rsi,%rbx
lea    0xe98(%rip),%rdi
call   1040 <puts@plt>
mov    0x8(%rbx),%rsi
lea    0xe6d(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1080 <getchar@plt>
mov    0x2e1d(%rip),%r13
cmp    0x0(%r13),%eax
je     13cd <main+0x24d>
xor    %r14d,%r14d
xor    %ebp,%ebp
xor    %r12d,%r12d
mov    %r12d,(%rsp)
xor    %r12d,%r12d
test   %r14d,%r14d
je     1250 <main+0xd0>
mov    %eax,%ebx
mov    %r14d,%r15d
cmpl   $0x0,(%rsp)
jne    11fa <main+0x7a>
lea    0xe3d(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %r14d,%r14d
setne  %al
not    %r12b
or     %al,%r12b
test   $0x1,%r12b
jne    1330 <main+0x1b0>
mov    %ebx,%edi
call   1070 <isalnum@plt>
test   %rax,%rax
mov    (%rsp),%r12d
je     1334 <main+0x1b4>
mov    %ebp,%edi
call   1070 <isalnum@plt>
test   %rax,%rax
je     1334 <main+0x1b4>
mov    $0x20,%edi
call   1030 <putchar@plt>
add    $0x1,%r12d
jmp    1334 <main+0x1b4>
nopw   0x0(%rax,%rax,1)
mov    %r14d,%r15d
mov    %eax,%ebx
mov    %ebp,0x4(%rsp)
jmp    127e <main+0xfe>
nopl   0x0(%rax,%rax,1)
cmp    $0x20,%ebx
jne    11e6 <main+0x66>
xor    %r15d,%r15d
xor    %eax,%eax
call   1080 <getchar@plt>
mov    %eax,%ebx
mov    $0x1,%r12b
cmp    0x0(%r13),%eax
je     13b8 <main+0x238>
lea    -0x9(%rbx),%eax
cmp    $0x2,%eax
jb     1265 <main+0xe5>
cmp    $0x2f,%ebx
jne    1260 <main+0xe0>
mov    0x2d56(%rip),%rbp
mov    0x0(%rbp),%edi
call   1050 <peekc@plt>
cmp    $0x2f,%al
jne    12c8 <main+0x148>
mov    0x4(%rsp),%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xor    %eax,%eax
call   1080 <getchar@plt>
cmp    0x0(%r13),%eax
je     13ad <main+0x22d>
cmp    $0xa,%eax
jne    12b0 <main+0x130>
jmp    1265 <main+0xe5>
mov    0x0(%rbp),%edi
call   1050 <peekc@plt>
cmp    $0x2a,%al
mov    0x4(%rsp),%ebp
jne    11e6 <main+0x66>
xor    %eax,%eax
call   1080 <getchar@plt>
xor    %eax,%eax
call   1080 <getchar@plt>
cmp    0x0(%r13),%eax
jne    1308 <main+0x188>
jmp    13ad <main+0x22d>
cs nopw 0x0(%rax,%rax,1)
nop
cmp    %ecx,%eax
je     13ad <main+0x22d>
mov    %eax,%ebx
xor    %eax,%eax
call   1080 <getchar@plt>
mov    0x0(%r13),%ecx
cmp    $0x2a,%ebx
jne    1300 <main+0x180>
cmp    %ecx,%eax
je     13ad <main+0x22d>
cmp    $0x2f,%eax
jne    1308 <main+0x188>
jmp    1265 <main+0xe5>
nopl   0x0(%rax)
mov    (%rsp),%r12d
lea    -0x22(%rbx),%eax
cmp    $0x3a,%eax
ja     135a <main+0x1da>
movabs $0x400000000000021,%rcx
bt     %rax,%rcx
jae    135a <main+0x1da>
mov    $0x5c,%edi
call   1030 <putchar@plt>
add    $0x1,%r12d
xor    %ebp,%ebp
cmp    $0x22,%ebx
sete   %r14b
mov    %ebx,%edi
call   1030 <putchar@plt>
cmp    $0x3f,%r12d
jge    1380 <main+0x200>
add    $0x1,%r12d
jmp    138f <main+0x20f>
cs nopw 0x0(%rax,%rax,1)
lea    0xcad(%rip),%rdi
call   1040 <puts@plt>
xor    %r12d,%r12d
mov    %r14b,%bpl
xor    %ebp,%r15d
xor    %eax,%eax
call   1080 <getchar@plt>
mov    %r15d,%r14d
mov    %ebx,%ebp
cmp    0x0(%r13),%eax
jne    11d5 <main+0x55>
jmp    13bc <main+0x23c>
mov    (%rsp),%r12d
test   %r12d,%r12d
jg     13c1 <main+0x241>
jmp    13cd <main+0x24d>
mov    (%rsp),%r12d
test   %r12d,%r12d
jle    13cd <main+0x24d>
lea    0xc6c(%rip),%rdi
call   1040 <puts@plt>
lea    0xcb6(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2bdf(%rip),%rax
mov    (%rax),%edi
lea    0xc06(%rip),%rsi
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [27 x i8] c"usage: csstoqe array_name\0A\00"
@.str.1 = [85 x i8] c"/* Automatically generated file - do not edit */\0A\0A#include \22qe.h\22\0A#include \22css.h\22\0A\0A\00"
@.str.2 = [21 x i8] c"const char %s[] = {\0A\00"
@EOF = global i32 0
@stdin = global i32 0
@.str.3 = [6 x i8] c" \22\00"
@.str.4 = [3 x i8] c"\22\0A\00"
@.str.5 = [5 x i8] c"};\0A\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* %4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, i32* @stderr
%15 = call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @exit(i32 1)
unreachable
17: ; preds = %2
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0))
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 1
%21 = load i8*, i8** %20
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* %21)
store i32 0, i32* %7
store i32 0, i32* %9
store i32 0, i32* %8
store i32 0, i32* %10
br label %23
23: ; preds = %147, %94, %41, %17
%24 = call i32 (...) @getchar()
store i32 %24, i32* %6
%25 = load i32, i32* %6
%26 = load i32, i32* @EOF
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %23
br label %148
29: ; preds = %23
%30 = load i32, i32* %10
%31 = icmp ne i32 %30, 0
br i1 %31, label %96, label %32
32: ; preds = %29
%33 = load i32, i32* %6
%34 = icmp eq i32 %33, 32
br i1 %34, label %41, label %35
35: ; preds = %32
%36 = load i32, i32* %6
%37 = icmp eq i32 %36, 9
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, i32* %6
%40 = icmp eq i32 %39, 10
br i1 %40, label %41, label %42
41: ; preds = %38, %35, %32
store i32 1, i32* %9
br label %23
42: ; preds = %38
%43 = load i32, i32* %6
%44 = icmp eq i32 %43, 47
br i1 %44, label %45, label %62
45: ; preds = %42
%46 = load i32, i32* @stdin
%47 = call signext i8 @peekc(i32 %46)
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 47
br i1 %49, label %50, label %62
50: ; preds = %45
br label %51
51: ; preds = %61, %50
%52 = call i32 (...) @getchar()
store i32 %52, i32* %6
%53 = load i32, i32* %6
%54 = load i32, i32* @EOF
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %57
56: ; preds = %51
br label %149
57: ; preds = %51
%58 = load i32, i32* %6
%59 = icmp eq i32 %58, 10
br i1 %59, label %60, label %61
60: ; preds = %57
br label %94
61: ; preds = %57
br label %51
62: ; preds = %45, %42
%63 = load i32, i32* %6
%64 = icmp eq i32 %63, 47
br i1 %64, label %65, label %95
65: ; preds = %62
%66 = load i32, i32* @stdin
%67 = call signext i8 @peekc(i32 %66)
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %68, 42
br i1 %69, label %70, label %95
70: ; preds = %65
%71 = call i32 (...) @getchar()
br label %72
72: ; preds = %93, %70
%73 = call i32 (...) @getchar()
store i32 %73, i32* %6
%74 = load i32, i32* %6
%75 = load i32, i32* @EOF
%76 = icmp eq i32 %74, %75
br i1 %76, label %77, label %78
77: ; preds = %72
br label %149
78: ; preds = %72
br label %79
79: ; preds = %92, %78
%80 = load i32, i32* %6
%81 = icmp eq i32 %80, 42
br i1 %81, label %82, label %93
82: ; preds = %79
%83 = call i32 (...) @getchar()
store i32 %83, i32* %6
%84 = load i32, i32* %6
%85 = load i32, i32* @EOF
%86 = icmp eq i32 %84, %85
br i1 %86, label %87, label %88
87: ; preds = %82
br label %149
88: ; preds = %82
%89 = load i32, i32* %6
%90 = icmp eq i32 %89, 47
br i1 %90, label %91, label %92
91: ; preds = %88
br label %94
92: ; preds = %88
br label %79
93: ; preds = %79
br label %72
94: ; preds = %91, %60
store i32 1, i32* %9
br label %23
95: ; preds = %65, %62
br label %96
96: ; preds = %95, %29
%97 = load i32, i32* %7
%98 = icmp eq i32 %97, 0
br i1 %98, label %99, label %101
99: ; preds = %96
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
br label %101
101: ; preds = %99, %96
%102 = load i32, i32* %10
%103 = icmp ne i32 %102, 0
br i1 %103, label %119, label %104
104: ; preds = %101
%105 = load i32, i32* %9
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %119
107: ; preds = %104
%108 = load i32, i32* %6
%109 = call i64 @isalnum(i32 %108)
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %119
111: ; preds = %107
%112 = load i32, i32* %8
%113 = call i64 @isalnum(i32 %112)
%114 = icmp ne i64 %113, 0
br i1 %114, label %115, label %119
115: ; preds = %111
%116 = call i32 @putchar(i32 32)
%117 = load i32, i32* %7
%118 = add nsw i32 %117, 1
store i32 %118, i32* %7
br label %119
119: ; preds = %115, %111, %107, %104, %101
%120 = load i32, i32* %6
%121 = icmp eq i32 %120, 34
br i1 %121, label %128, label %122
122: ; preds = %119
%123 = load i32, i32* %6
%124 = icmp eq i32 %123, 39
br i1 %124, label %128, label %125
125: ; preds = %122
%126 = load i32, i32* %6
%127 = icmp eq i32 %126, 92
br i1 %127, label %128, label %132
128: ; preds = %125, %122, %119
%129 = call i32 @putchar(i32 92)
%130 = load i32, i32* %7
%131 = add nsw i32 %130, 1
store i32 %131, i32* %7
br label %132
132: ; preds = %128, %125
%133 = load i32, i32* %6
%134 = call i32 @putchar(i32 %133)
%135 = load i32, i32* %6
%136 = icmp eq i32 %135, 34
br i1 %136, label %137, label %140
137: ; preds = %132
%138 = load i32, i32* %10
%139 = xor i32 %138, 1
store i32 %139, i32* %10
br label %140
140: ; preds = %137, %132
%141 = load i32, i32* %6
store i32 %141, i32* %8
store i32 0, i32* %9
%142 = load i32, i32* %7
%143 = add nsw i32 %142, 1
store i32 %143, i32* %7
%144 = icmp sge i32 %143, 64
br i1 %144, label %145, label %147
145: ; preds = %140
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %7
br label %147
147: ; preds = %145, %140
br label %23
148: ; preds = %28
br label %149
149: ; preds = %148, %87, %77, %56
%150 = load i32, i32* %7
%151 = icmp sgt i32 %150, 0
br i1 %151, label %152, label %154
152: ; preds = %149
%153 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %154
154: ; preds = %152, %149
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [27 x i8] c"usage: csstoqe array_name\0A\00"
@.str.2 = [21 x i8] c"const char %s[] = {\0A\00"
@EOF = global i32 0
@stdin = global i32 0
@.str.3 = [6 x i8] c" \22\00"
@str = [84 x i8] c"/* Automatically generated file - do not edit */\0A\0A#include \22qe.h\22\0A#include \22css.h\22\0A\00"
@str.7 = [4 x i8] c"};\0A\00"
@str.8 = [2 x i8] c"\22\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %8
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @exit(i32 1)
unreachable
8: ; preds = %2
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str, i64 0, i64 0))
%10 = getelementptr inbounds i8*, i8** %1, i64 1
%11 = load i8*, i8** %10
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* %11)
%13 = tail call i32 (...) @getchar()
%14 = load i32, i32* @EOF
%15 = icmp eq i32 %13, %14
br i1 %15, label %103, label %16
16: ; preds = %8, %93
%17 = phi i32 [ %95, %93 ], [ %13, %8 ]
%18 = phi i32 [ %88, %93 ], [ 0, %8 ]
%19 = phi i32 [ %61, %93 ], [ 0, %8 ]
%20 = phi i32 [ %94, %93 ], [ 0, %8 ]
%21 = icmp eq i32 %18, 0
br i1 %21, label %22, label %60
22: ; preds = %16, %26
%23 = phi i1 [ true, %26 ], [ false, %16 ]
%24 = phi i32 [ 0, %26 ], [ %18, %16 ]
%25 = phi i32 [ %27, %26 ], [ %17, %16 ]
switch i32 %25, label %60 [
i32 32, label %26
i32 10, label %26
i32 9, label %26
i32 47, label %30
]
26: ; preds = %57, %38, %22, %22, %22
%27 = tail call i32 (...) @getchar()
%28 = load i32, i32* @EOF
%29 = icmp eq i32 %27, %28
br i1 %29, label %98, label %22
30: ; preds = %22
%31 = load i32, i32* @stdin
%32 = tail call signext i8 @peekc(i32 %31)
%33 = icmp eq i8 %32, 47
br i1 %33, label %34, label %40
34: ; preds = %30, %38
%35 = tail call i32 (...) @getchar()
%36 = load i32, i32* @EOF
%37 = icmp eq i32 %35, %36
br i1 %37, label %98, label %38
38: ; preds = %34
%39 = icmp eq i32 %35, 10
br i1 %39, label %26, label %34
40: ; preds = %30
%41 = load i32, i32* @stdin
%42 = tail call signext i8 @peekc(i32 %41)
%43 = icmp eq i8 %42, 42
br i1 %43, label %44, label %60
44: ; preds = %40
%45 = tail call i32 (...) @getchar()
%46 = tail call i32 (...) @getchar()
%47 = load i32, i32* @EOF
%48 = icmp eq i32 %46, %47
br i1 %48, label %98, label %50
49: ; preds = %50
br i1 %55, label %98, label %59
50: ; preds = %44, %59
%51 = phi i32 [ %53, %59 ], [ %46, %44 ]
%52 = icmp eq i32 %51, 42
%53 = tail call i32 (...) @getchar()
%54 = load i32, i32* @EOF
%55 = icmp eq i32 %53, %54
br i1 %52, label %56, label %49
56: ; preds = %50
br i1 %55, label %98, label %57
57: ; preds = %56
%58 = icmp eq i32 %53, 47
br i1 %58, label %26, label %59
59: ; preds = %57, %49
br label %50
60: ; preds = %40, %22, %16
%61 = phi i32 [ %17, %16 ], [ %25, %22 ], [ %25, %40 ]
%62 = phi i32 [ %18, %16 ], [ %24, %22 ], [ %24, %40 ]
%63 = phi i1 [ false, %16 ], [ %23, %22 ], [ %23, %40 ]
%64 = icmp eq i32 %20, 0
br i1 %64, label %65, label %67
65: ; preds = %60
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
br label %67
67: ; preds = %65, %60
%68 = and i1 %63, %21
br i1 %68, label %69, label %78
69: ; preds = %67
%70 = tail call i64 @isalnum(i32 %61)
%71 = icmp eq i64 %70, 0
br i1 %71, label %78, label %72
72: ; preds = %69
%73 = tail call i64 @isalnum(i32 %19)
%74 = icmp eq i64 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %72
%76 = tail call i32 @putchar(i32 32)
%77 = add nsw i32 %20, 1
br label %78
78: ; preds = %75, %72, %69, %67
%79 = phi i32 [ %77, %75 ], [ %20, %72 ], [ %20, %69 ], [ %20, %67 ]
%80 = icmp eq i32 %61, 34
switch i32 %61, label %84 [
i32 92, label %81
i32 39, label %81
i32 34, label %81
]
81: ; preds = %78, %78, %78
%82 = tail call i32 @putchar(i32 92)
%83 = add nsw i32 %79, 1
br label %84
84: ; preds = %78, %81
%85 = phi i32 [ %83, %81 ], [ %79, %78 ]
%86 = tail call i32 @putchar(i32 %61)
%87 = zext i1 %80 to i32
%88 = xor i32 %62, %87
%89 = add nsw i32 %85, 1
%90 = icmp sgt i32 %85, 62
br i1 %90, label %91, label %93
91: ; preds = %84
%92 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.8, i64 0, i64 0))
br label %93
93: ; preds = %91, %84
%94 = phi i32 [ 0, %91 ], [ %89, %84 ]
%95 = tail call i32 (...) @getchar()
%96 = load i32, i32* @EOF
%97 = icmp eq i32 %95, %96
br i1 %97, label %98, label %16
98: ; preds = %93, %26, %44, %49, %56, %34
%99 = phi i32 [ %20, %34 ], [ %20, %56 ], [ %20, %49 ], [ %20, %44 ], [ %20, %26 ], [ %94, %93 ]
%100 = icmp sgt i32 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %98
%102 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.8, i64 0, i64 0))
br label %103
103: ; preds = %8, %101, %98
%104 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.7, i64 0, i64 0))
ret i32 0
}