#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
int main() {
  int i;
  for (i = 0; i < 256; i++) {
    if (i > 0 && i % 16 == 0) {
      fprintf(stderr, "\n");
    }
    switch (i) {
    case '{':
      fprintf(stderr, "1   ,");
      break;
    case '"':
      fprintf(stderr, "_M 2,");
      break;
    case '[':
      fprintf(stderr, "3   ,");
      break;
    case '0':
    case '1':
    case '2':
    case '3':
    case '4':
    case '5':
    case '6':
    case '7':
    case '8':
    case '9':
    case '-':
      fprintf(stderr, "4   ,");
      break;
    case 't':
    case 'f':
      fprintf(stderr, "5   ,");
      break;
    case 'n':
      fprintf(stderr, "6   ,");
      break;
    case '\\':
      fprintf(stderr, "_M 0,");
      break;
    case ' ':
    case '\r':
    case '\n':
    case '\t':
      fprintf(stderr, "_N 0,");
      break;
    default:
      fprintf(stderr, "0   ,");
      break;
    }
  }
  fprintf(stderr, "\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x100,-0x8(%rbp)
jge    1287 <main+0x177>
cmpl   $0x0,-0x8(%rbp)
jle    1166 <main+0x56>
mov    -0x8(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1166 <main+0x56>
mov    0x2e88(%rip),%rax
mov    (%rax),%edi
lea    0x106b(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%eax
add    $0xfffffff7,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x72,%eax
ja     125f <main+0x14f>
mov    -0x10(%rbp),%rax
lea    0xe7a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2e4a(%rip),%rax
mov    (%rax),%edi
lea    0x102f(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2e30(%rip),%rax
mov    (%rax),%edi
lea    0x101b(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2e16(%rip),%rax
mov    (%rax),%edi
lea    0x1007(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2dfc(%rip),%rax
mov    (%rax),%edi
lea    0xff3(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2de2(%rip),%rax
mov    (%rax),%edi
lea    0xfdf(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2dc8(%rip),%rax
mov    (%rax),%edi
lea    0xfcb(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2dae(%rip),%rax
mov    (%rax),%edi
lea    0xfb7(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2d94(%rip),%rax
mov    (%rax),%edi
lea    0xfa3(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1274 <main+0x164>
mov    0x2d7a(%rip),%rax
mov    (%rax),%edi
lea    0xf8f(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1279 <main+0x169>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1126 <main+0x16>
mov    0x2d52(%rip),%rax
mov    (%rax),%edi
lea    0xf35(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x4(%rbp),%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
xor    %ebx,%ebx
mov    0x2ebc(%rip),%r15
lea    0x10a1(%rip),%r14
lea    0x109c(%rip),%r12
lea    0xec7(%rip),%rbp
lea    0x10a0(%rip),%r13
jmp    1163 <main+0x53>
lea    0x10af(%rip),%rsi
nopl   0x0(%rax)
mov    (%r15),%edi
call   1030 <fprintf@plt>
add    $0x1,%ebx
cmp    $0x100,%ebx
je     11c9 <main+0xb9>
test   %ebx,%ebx
je     1179 <main+0x69>
mov    %ebx,%eax
and    $0xf,%eax
jne    1179 <main+0x69>
mov    (%r15),%edi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    -0x9(%rbx),%eax
cmp    $0x72,%eax
ja     119c <main+0x8c>
movslq 0x0(%rbp,%rax,4),%rax
add    %rbp,%rax
mov    %r12,%rsi
jmp    *%rax
mov    %r13,%rsi
jmp    1150 <main+0x40>
lea    0x104c(%rip),%rsi
jmp    1150 <main+0x40>
lea    0x105b(%rip),%rsi
jmp    1150 <main+0x40>
lea    0x1028(%rip),%rsi
jmp    1150 <main+0x40>
lea    0x1025(%rip),%rsi
jmp    1150 <main+0x40>
lea    0x1034(%rip),%rsi
jmp    1150 <main+0x40>
lea    0x1025(%rip),%rsi
jmp    1150 <main+0x40>
mov    (%r15),%edi
lea    0xff9(%rip),%rsi
call   1030 <fprintf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [2 x i8] c"\0A\00"
@.str.1 = [6 x i8] c"1 ,\00"
@.str.2 = [6 x i8] c"_M 2,\00"
@.str.3 = [6 x i8] c"3 ,\00"
@.str.4 = [6 x i8] c"4 ,\00"
@.str.5 = [6 x i8] c"5 ,\00"
@.str.6 = [6 x i8] c"6 ,\00"
@.str.7 = [6 x i8] c"_M 0,\00"
@.str.8 = [6 x i8] c"_N 0,\00"
@.str.9 = [6 x i8] c"0 ,\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
br label %3
3: ; preds = %46, %0
%4 = load i32, i32* %2
%5 = icmp slt i32 %4, 256
br i1 %5, label %6, label %49
6: ; preds = %3
%7 = load i32, i32* %2
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load i32, i32* %2
%11 = srem i32 %10, 16
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, i32* @stderr
%15 = call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %16
16: ; preds = %13, %9, %6
%17 = load i32, i32* %2
switch i32 %17, label %42 [
i32 123, label %18
i32 34, label %21
i32 91, label %24
i32 48, label %27
i32 49, label %27
i32 50, label %27
i32 51, label %27
i32 52, label %27
i32 53, label %27
i32 54, label %27
i32 55, label %27
i32 56, label %27
i32 57, label %27
i32 45, label %27
i32 116, label %30
i32 102, label %30
i32 110, label %33
i32 92, label %36
i32 32, label %39
i32 13, label %39
i32 10, label %39
i32 9, label %39
]
18: ; preds = %16
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %45
21: ; preds = %16
%22 = load i32, i32* @stderr
%23 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
br label %45
24: ; preds = %16
%25 = load i32, i32* @stderr
%26 = call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
br label %45
27: ; preds = %16, %16, %16, %16, %16, %16, %16, %16, %16, %16, %16
%28 = load i32, i32* @stderr
%29 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %45
30: ; preds = %16, %16
%31 = load i32, i32* @stderr
%32 = call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
br label %45
33: ; preds = %16
%34 = load i32, i32* @stderr
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %45
36: ; preds = %16
%37 = load i32, i32* @stderr
%38 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br label %45
39: ; preds = %16, %16, %16, %16
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %45
42: ; preds = %16
%43 = load i32, i32* @stderr
%44 = call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %45
45: ; preds = %42, %39, %36, %33, %30, %27, %24, %21, %18
br label %46
46: ; preds = %45
%47 = load i32, i32* %2
%48 = add nsw i32 %47, 1
store i32 %48, i32* %2
br label %3
49: ; preds = %3
%50 = load i32, i32* @stderr
%51 = call i32 @fprintf(i32 %50, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%52 = load i32, i32* %1
ret i32 %52
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [2 x i8] c"\0A\00"
@.str.1 = [6 x i8] c"1 ,\00"
@.str.2 = [6 x i8] c"_M 2,\00"
@.str.3 = [6 x i8] c"3 ,\00"
@.str.4 = [6 x i8] c"4 ,\00"
@.str.5 = [6 x i8] c"5 ,\00"
@.str.6 = [6 x i8] c"6 ,\00"
@.str.7 = [6 x i8] c"_M 0,\00"
@.str.8 = [6 x i8] c"_N 0,\00"
@.str.9 = [6 x i8] c"0 ,\00"
define i32 @main() {
br label %1
1: ; preds = %0, %19
%2 = phi i32 [ 0, %0 ], [ %23, %19 ]
%3 = icmp ne i32 %2, 0
%4 = and i32 %2, 15
%5 = icmp eq i32 %4, 0
%6 = and i1 %3, %5
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, i32* @stderr
%9 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %7, %1
switch i32 %2, label %18 [
i32 123, label %19
i32 34, label %11
i32 91, label %12
i32 48, label %13
i32 49, label %13
i32 50, label %13
i32 51, label %13
i32 52, label %13
i32 53, label %13
i32 54, label %13
i32 55, label %13
i32 56, label %13
i32 57, label %13
i32 45, label %13
i32 116, label %14
i32 102, label %14
i32 110, label %15
i32 92, label %16
i32 32, label %17
i32 13, label %17
i32 10, label %17
i32 9, label %17
]
11: ; preds = %10
br label %19
12: ; preds = %10
br label %19
13: ; preds = %10, %10, %10, %10, %10, %10, %10, %10, %10, %10, %10
br label %19
14: ; preds = %10, %10
br label %19
15: ; preds = %10
br label %19
16: ; preds = %10
br label %19
17: ; preds = %10, %10, %10, %10
br label %19
18: ; preds = %10
br label %19
19: ; preds = %10, %11, %12, %13, %14, %15, %16, %17, %18
%20 = phi i8* [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), %11 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), %12 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), %13 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), %14 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), %15 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), %16 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), %17 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), %18 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %10 ]
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* %20)
%23 = add nuw nsw i32 %2, 1
%24 = icmp eq i32 %23, 256
br i1 %24, label %25, label %1
25: ; preds = %19
%26 = load i32, i32* @stderr
%27 = tail call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret i32 0
}