#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 */
scalar_t__ isalnum(int);
scalar_t__ isalpha(int);
scalar_t__ isdigit(int);
scalar_t__ isspace(int);
scalar_t__ isxdigit(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int main(void) {
  int i;
  int has;
  printf("BYTE CharTable[256] =\n{\n");
  for (i = 0; i < 256; ++i) {
    has = 0;
    printf("  ");
    if (isdigit(i)) {
      if (has++)
        printf(" | ");
      printf("CT_DIGIT");
    };
    if (isxdigit(i)) {
      if (has++)
        printf(" | ");
      printf("CT_XDIGIT");
    };
    if ((i >= 'a' && i <= 'f')) {
      if (has++)
        printf(" | ");
      printf("CT_AF_LOW");
    };
    if ((i >= 'A' && i <= 'F')) {
      if (has++)
        printf(" | ");
      printf("CT_AF_UP");
    };
    if (isspace(i)) {
      if (has++)
        printf(" | ");
      printf("CT_SPACE");
    };
    if (isalpha(i) || i == '_' || i == '?' || i == '$') {
      if (has++)
        printf(" | ");
      printf("CT_ID_START");
    };
    if (isalnum(i) || i == '_' || i == '?' || i == '$') {
      if (has++)
        printf(" | ");
      printf("CT_IDENT");
    };
    if (!has)
      printf("0");
    putchar(i == 255 ? ' ' : ',');
    printf(" // '%c' = %d\n", i > 31 && i < 128 ? i : '.', i);
  }
  printf("};\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x100,-0x8(%rbp)
jge    144b <main+0x2db>
movl   $0x0,-0xc(%rbp)
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     11f8 <main+0x88>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     11ea <main+0x7a>
lea    0xe39(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe2f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
call   1090 <isxdigit@plt>
cmp    $0x0,%rax
je     123a <main+0xca>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     122c <main+0xbc>
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdf6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0x61,-0x8(%rbp)
jl     127e <main+0x10e>
cmpl   $0x66,-0x8(%rbp)
jg     127e <main+0x10e>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     1270 <main+0x100>
lea    0xdb3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0x41,-0x8(%rbp)
jl     12c2 <main+0x152>
cmpl   $0x46,-0x8(%rbp)
jg     12c2 <main+0x152>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     12b4 <main+0x144>
lea    0xd6f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd82(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
call   1070 <isspace@plt>
cmp    $0x0,%rax
je     1304 <main+0x194>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     12f6 <main+0x186>
lea    0xd2d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd49(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
call   1080 <isalpha@plt>
cmp    $0x0,%rax
jne    1334 <main+0x1c4>
cmpl   $0x5f,-0x8(%rbp)
je     1334 <main+0x1c4>
cmpl   $0x3f,-0x8(%rbp)
je     1334 <main+0x1c4>
cmpl   $0x24,-0x8(%rbp)
jne    1364 <main+0x1f4>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     1356 <main+0x1e6>
lea    0xccd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcf2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
call   1060 <isalnum@plt>
cmp    $0x0,%rax
jne    1394 <main+0x224>
cmpl   $0x5f,-0x8(%rbp)
je     1394 <main+0x224>
cmpl   $0x3f,-0x8(%rbp)
je     1394 <main+0x224>
cmpl   $0x24,-0x8(%rbp)
jne    13c4 <main+0x254>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
je     13b6 <main+0x246>
lea    0xc6d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xc9e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0x0,-0xc(%rbp)
jne    13dc <main+0x26c>
lea    0xc8f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edx
mov    $0x2c,%eax
mov    $0x20,%ecx
cmp    $0xff,%edx
cmove  %ecx,%eax
movsbl %al,%edi
call   1030 <putchar@plt>
cmpl   $0x1f,-0x8(%rbp)
jle    141c <main+0x2ac>
cmpl   $0x80,-0x8(%rbp)
jge    141c <main+0x2ac>
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
jmp    1429 <main+0x2b9>
mov    $0x2e,%eax
mov    %eax,-0x10(%rbp)
jmp    1429 <main+0x2b9>
mov    -0x10(%rbp),%esi
mov    -0x8(%rbp),%edx
lea    0xc30(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1194 <main+0x24>
lea    0xc23(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xec8(%rip),%rdi
call   1050 <puts@plt>
lea    0xead(%rip),%r12
lea    0xe5e(%rip),%rbx
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
lea    0xe49(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     1200 <main+0x80>
lea    0xe36(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   10a0 <isxdigit@plt>
test   %rax,%rax
je     1260 <main+0xe0>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x2,%r14d
jmp    1212 <main+0x92>
cs nopw 0x0(%rax,%rax,1)
mov    %ebp,%edi
call   10a0 <isxdigit@plt>
mov    $0x1,%r14d
test   %rax,%rax
je     1277 <main+0xf7>
lea    0xdf7(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    -0x61(%rbp),%eax
cmp    $0x6,%eax
jae    1240 <main+0xc0>
add    $0x1,%r14d
lea    0xde7(%rip),%r15
mov    %r14d,%r13d
jmp    12b0 <main+0x130>
nopl   0x0(%rax,%rax,1)
lea    -0x41(%rbp),%eax
cmp    $0x6,%eax
jae    12c7 <main+0x147>
add    $0x1,%r14d
lea    0xdd1(%rip),%r15
mov    %r14d,%r13d
jmp    12b0 <main+0x130>
nopl   0x0(%rax,%rax,1)
lea    -0x61(%rbp),%eax
mov    $0x2,%r13d
cmp    $0x6,%eax
jae    1292 <main+0x112>
lea    0xda5(%rip),%r15
jmp    12b0 <main+0x130>
lea    -0x61(%rbp),%eax
mov    $0x1,%r13d
cmp    $0x6,%eax
jae    13ce <main+0x24e>
lea    0xd8a(%rip),%r15
jmp    12ba <main+0x13a>
lea    -0x41(%rbp),%eax
mov    $0x1,%r14d
lea    0xd82(%rip),%r15
cmp    $0x6,%eax
jae    12c7 <main+0x147>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r13d,%r14d
mov    %ebp,%edi
call   1080 <isspace@plt>
test   %rax,%rax
je     12f4 <main+0x174>
test   %r14d,%r14d
je     12e2 <main+0x162>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%r14d
lea    0xd40(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   1090 <isalpha@plt>
test   %rax,%rax
jne    1318 <main+0x198>
lea    -0x24(%rbp),%eax
cmp    $0x3b,%eax
ja     1339 <main+0x1b9>
movabs $0x800000008000001,%rcx
bt     %rax,%rcx
jae    1339 <main+0x1b9>
test   %r14d,%r14d
je     1327 <main+0x1a7>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%r14d
lea    0xd04(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   1070 <isalnum@plt>
test   %rax,%rax
jne    135d <main+0x1dd>
lea    -0x24(%rbp),%eax
cmp    $0x3b,%eax
ja     13bd <main+0x23d>
movabs $0x800000008000001,%rcx
bt     %rax,%rcx
jae    13bd <main+0x23d>
test   %r14d,%r14d
je     136c <main+0x1ec>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xccf(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0xff,%ebp
mov    $0x2c,%edi
mov    $0x20,%eax
cmove  %eax,%edi
call   1030 <putchar@plt>
lea    -0x20(%rbp),%eax
cmp    $0x60,%eax
mov    $0x2e,%esi
cmovb  %ebp,%esi
mov    %r12,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    11b0 <main+0x30>
jmp    13e9 <main+0x269>
test   %r14d,%r14d
jne    137a <main+0x1fa>
mov    $0x30,%edi
call   1030 <putchar@plt>
jmp    137a <main+0x1fa>
lea    -0x41(%rbp),%eax
xor    %r14d,%r14d
lea    0xc49(%rip),%r15
cmp    $0x6,%eax
jb     12ba <main+0x13a>
jmp    12c7 <main+0x147>
lea    0xc82(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [25 x i8] c"BYTE CharTable[256] =\0A{\0A\00"
@.str.1 = [3 x i8] c" \00"
@.str.2 = [4 x i8] c" | \00"
@.str.3 = [9 x i8] c"CT_DIGIT\00"
@.str.4 = [10 x i8] c"CT_XDIGIT\00"
@.str.5 = [10 x i8] c"CT_AF_LOW\00"
@.str.6 = [9 x i8] c"CT_AF_UP\00"
@.str.7 = [9 x i8] c"CT_SPACE\00"
@.str.8 = [12 x i8] c"CT_ID_START\00"
@.str.9 = [9 x i8] c"CT_IDENT\00"
@.str.10 = [2 x i8] c"0\00"
@.str.11 = [15 x i8] c" // '%c' = %d\0A\00"
@.str.12 = [4 x i8] c"};\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %2
br label %5
5: ; preds = %139, %0
%6 = load i32, i32* %2
%7 = icmp slt i32 %6, 256
br i1 %7, label %8, label %142
8: ; preds = %5
store i32 0, i32* %3
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%10 = load i32, i32* %2
%11 = call i64 @isdigit(i32 %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %8
%14 = load i32, i32* %3
%15 = add nsw i32 %14, 1
store i32 %15, i32* %3
%16 = icmp ne i32 %14, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %19
19: ; preds = %17, %13
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %21
21: ; preds = %19, %8
%22 = load i32, i32* %2
%23 = call i64 @isxdigit(i32 %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %21
%26 = load i32, i32* %3
%27 = add nsw i32 %26, 1
store i32 %27, i32* %3
%28 = icmp ne i32 %26, 0
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %31
31: ; preds = %29, %25
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %33
33: ; preds = %31, %21
%34 = load i32, i32* %2
%35 = icmp sge i32 %34, 97
br i1 %35, label %36, label %47
36: ; preds = %33
%37 = load i32, i32* %2
%38 = icmp sle i32 %37, 102
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load i32, i32* %3
%41 = add nsw i32 %40, 1
store i32 %41, i32* %3
%42 = icmp ne i32 %40, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %45
45: ; preds = %43, %39
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %47
47: ; preds = %45, %36, %33
%48 = load i32, i32* %2
%49 = icmp sge i32 %48, 65
br i1 %49, label %50, label %61
50: ; preds = %47
%51 = load i32, i32* %2
%52 = icmp sle i32 %51, 70
br i1 %52, label %53, label %61
53: ; preds = %50
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 1
store i32 %55, i32* %3
%56 = icmp ne i32 %54, 0
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %59
59: ; preds = %57, %53
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
br label %61
61: ; preds = %59, %50, %47
%62 = load i32, i32* %2
%63 = call i64 @isspace(i32 %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %73
65: ; preds = %61
%66 = load i32, i32* %3
%67 = add nsw i32 %66, 1
store i32 %67, i32* %3
%68 = icmp ne i32 %66, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %71
71: ; preds = %69, %65
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %73
73: ; preds = %71, %61
%74 = load i32, i32* %2
%75 = call i64 @isalpha(i32 %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %86, label %77
77: ; preds = %73
%78 = load i32, i32* %2
%79 = icmp eq i32 %78, 95
br i1 %79, label %86, label %80
80: ; preds = %77
%81 = load i32, i32* %2
%82 = icmp eq i32 %81, 63
br i1 %82, label %86, label %83
83: ; preds = %80
%84 = load i32, i32* %2
%85 = icmp eq i32 %84, 36
br i1 %85, label %86, label %94
86: ; preds = %83, %80, %77, %73
%87 = load i32, i32* %3
%88 = add nsw i32 %87, 1
store i32 %88, i32* %3
%89 = icmp ne i32 %87, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %92
92: ; preds = %90, %86
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
br label %94
94: ; preds = %92, %83
%95 = load i32, i32* %2
%96 = call i64 @isalnum(i32 %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %107, label %98
98: ; preds = %94
%99 = load i32, i32* %2
%100 = icmp eq i32 %99, 95
br i1 %100, label %107, label %101
101: ; preds = %98
%102 = load i32, i32* %2
%103 = icmp eq i32 %102, 63
br i1 %103, label %107, label %104
104: ; preds = %101
%105 = load i32, i32* %2
%106 = icmp eq i32 %105, 36
br i1 %106, label %107, label %115
107: ; preds = %104, %101, %98, %94
%108 = load i32, i32* %3
%109 = add nsw i32 %108, 1
store i32 %109, i32* %3
%110 = icmp ne i32 %108, 0
br i1 %110, label %111, label %113
111: ; preds = %107
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %113
113: ; preds = %111, %107
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
br label %115
115: ; preds = %113, %104
%116 = load i32, i32* %3
%117 = icmp ne i32 %116, 0
br i1 %117, label %120, label %118
118: ; preds = %115
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %120
120: ; preds = %118, %115
%121 = load i32, i32* %2
%122 = icmp eq i32 %121, 255
%123 = zext i1 %122 to i64
%124 = select i1 %122, i32 32, i32 44
%125 = trunc i32 %124 to i8
%126 = call i32 @putchar(i8 signext %125)
%127 = load i32, i32* %2
%128 = icmp sgt i32 %127, 31
br i1 %128, label %129, label %134
129: ; preds = %120
%130 = load i32, i32* %2
%131 = icmp slt i32 %130, 128
br i1 %131, label %132, label %134
132: ; preds = %129
%133 = load i32, i32* %2
br label %135
134: ; preds = %129, %120
br label %135
135: ; preds = %134, %132
%136 = phi i32 [ %133, %132 ], [ 46, %134 ]
%137 = load i32, i32* %2
%138 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i32 %136, i32 %137)
br label %139
139: ; preds = %135
%140 = load i32, i32* %2
%141 = add nsw i32 %140, 1
store i32 %141, i32* %2
br label %5
142: ; preds = %5
%143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [3 x i8] c" \00"
@.str.2 = [4 x i8] c" | \00"
@.str.3 = [9 x i8] c"CT_DIGIT\00"
@.str.4 = [10 x i8] c"CT_XDIGIT\00"
@.str.5 = [10 x i8] c"CT_AF_LOW\00"
@.str.6 = [9 x i8] c"CT_AF_UP\00"
@.str.7 = [9 x i8] c"CT_SPACE\00"
@.str.8 = [12 x i8] c"CT_ID_START\00"
@.str.9 = [9 x i8] c"CT_IDENT\00"
@.str.11 = [15 x i8] c" // '%c' = %d\0A\00"
@str = [24 x i8] c"BYTE CharTable[256] =\0A{\00"
@str.13 = [3 x i8] c"};\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
br label %2
2: ; preds = %0, %88
%3 = phi i32 [ 0, %0 ], [ %96, %88 ]
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i64 @isdigit(i32 %3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = tail call i64 @isxdigit(i32 %3)
%9 = icmp eq i64 %8, 0
br i1 %9, label %21, label %16
10: ; preds = %2
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%12 = tail call i64 @isxdigit(i32 %3)
%13 = icmp eq i64 %12, 0
br i1 %13, label %24, label %14
14: ; preds = %10
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %16
16: ; preds = %14, %7
%17 = phi i32 [ 2, %14 ], [ 1, %7 ]
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%19 = add nsw i32 %3, -97
%20 = icmp ult i32 %19, 6
br i1 %20, label %27, label %29
21: ; preds = %7
%22 = add nsw i32 %3, -97
%23 = icmp ult i32 %22, 6
br i1 %23, label %44, label %32
24: ; preds = %10
%25 = add nsw i32 %3, -97
%26 = icmp ult i32 %25, 6
br i1 %26, label %40, label %35
27: ; preds = %16
%28 = add nuw nsw i32 %17, 1
br label %40
29: ; preds = %16
%30 = add nsw i32 %3, -65
%31 = icmp ult i32 %30, 6
br i1 %31, label %38, label %48
32: ; preds = %21
%33 = add nsw i32 %3, -65
%34 = icmp ult i32 %33, 6
br i1 %34, label %44, label %48
35: ; preds = %24
%36 = add nsw i32 %3, -65
%37 = icmp ult i32 %36, 6
br i1 %37, label %40, label %48
38: ; preds = %29
%39 = add nuw nsw i32 %17, 1
br label %40
40: ; preds = %35, %38, %24, %27
%41 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), %27 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), %24 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), %38 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), %35 ]
%42 = phi i32 [ %28, %27 ], [ 2, %24 ], [ %39, %38 ], [ 2, %35 ]
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %44
44: ; preds = %40, %32, %21
%45 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), %21 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), %32 ], [ %41, %40 ]
%46 = phi i32 [ 1, %21 ], [ 1, %32 ], [ %42, %40 ]
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %45)
br label %48
48: ; preds = %44, %32, %35, %29
%49 = phi i32 [ %17, %29 ], [ 1, %35 ], [ 0, %32 ], [ %46, %44 ]
%50 = tail call i64 @isspace(i32 %3)
%51 = icmp eq i64 %50, 0
br i1 %51, label %59, label %52
52: ; preds = %48
%53 = add nuw nsw i32 %49, 1
%54 = icmp eq i32 %49, 0
br i1 %54, label %57, label %55
55: ; preds = %52
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %57
57: ; preds = %55, %52
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %59
59: ; preds = %57, %48
%60 = phi i32 [ %53, %57 ], [ %49, %48 ]
%61 = tail call i64 @isalpha(i32 %3)
%62 = freeze i64 %61
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %59
switch i32 %3, label %72 [
i32 95, label %65
i32 63, label %65
i32 36, label %65
]
65: ; preds = %64, %64, %64, %59
%66 = add nuw nsw i32 %60, 1
%67 = icmp eq i32 %60, 0
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %70
70: ; preds = %68, %65
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
br label %72
72: ; preds = %64, %70
%73 = phi i32 [ %66, %70 ], [ %60, %64 ]
%74 = tail call i64 @isalnum(i32 %3)
%75 = freeze i64 %74
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %72
switch i32 %3, label %84 [
i32 95, label %78
i32 63, label %78
i32 36, label %78
]
78: ; preds = %77, %77, %77, %72
%79 = icmp eq i32 %73, 0
br i1 %79, label %82, label %80
80: ; preds = %78
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %82
82: ; preds = %78, %80
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
br label %88
84: ; preds = %77
%85 = icmp eq i32 %73, 0
br i1 %85, label %86, label %88
86: ; preds = %84
%87 = tail call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 48)
br label %88
88: ; preds = %82, %86, %84
%89 = icmp eq i32 %3, 255
%90 = select i1 %89, i8 32, i8 44
%91 = tail call i32 @putchar(i8 signext %90)
%92 = add nsw i32 %3, -32
%93 = icmp ult i32 %92, 96
%94 = select i1 %93, i32 %3, i32 46
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i32 %94, i32 %3)
%96 = add nuw nsw i32 %3, 1
%97 = icmp eq i32 %96, 256
br i1 %97, label %98, label %2
98: ; preds = %88
%99 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.13, i64 0, i64 0))
ret i32 0
}