#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*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
void printnonprint(int ch) {
  printf("Char:     ");
  switch (ch) {
  case 11:
    printf("ff         /* ligature (non-printing) 0x%02X */", ch);
    break;
  case 12:
    printf("fi         /* ligature (non-printing) 0x%02X */", ch);
    break;
  case 13:
    printf("fl         /* ligature (non-printing) 0x%02X */", ch);
    break;
  case 14:
    printf("ffi        /* ligature (non-printing) 0x%02X */", ch);
    break;
  case 15:
    printf("ffl        /* ligature (non-printing) 0x%02X */", ch);
    break;
  case 16:
    printf("i          /* (non-printing) 0x%02X */", ch);
    break;
  case 17:
    printf("j          /* (non-printing) 0x%02X */", ch);
    break;
  case 25:
    printf("ss         /* german (non-printing) 0x%02X */", ch);
    break;
  case 26:
    printf("ae         /* scadinavian (non-printing) 0x%02X */", ch);
    break;
  case 27:
    printf("oe         /* scadinavian (non-printing) 0x%02X */", ch);
    break;
  case 28:
    printf("o          /* scadinavian (non-printing) 0x%02X */", ch);
    break;
  case 29:
    printf("AE         /* scadinavian (non-printing) 0x%02X */", ch);
    break;
  case 30:
    printf("OE         /* scadinavian (non-printing) 0x%02X */", ch);
    break;
  case 31:
    printf("O          /* scadinavian (non-printing) 0x%02X */", ch);
    break;
  default:
    printf("0x%02X", ch);
    break;
  }
  putchar('\n');
  return;
}


x86 assembly (clang, -O0):
<printnonprint>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
lea    0xf22(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0xfffffff5,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x14,%eax
ja     1296 <printnonprint+0x176>
mov    -0x10(%rbp),%rax
lea    0xea7(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x4(%rbp),%esi
lea    0xef3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf0d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf41(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf5b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf75(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xf97(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xfaf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xfcc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0xfe9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0x1006(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0x1023(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0x1040(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a7 <printnonprint+0x187>
mov    -0x4(%rbp),%esi
lea    0x105d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printnonprint>:
push   %rbx
mov    %edi,%ebx
lea    0xf2a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0xb(%rbx),%eax
cmp    $0x14,%eax
ja     11be <printnonprint+0x9e>
lea    0xebc(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf0b(%rip),%rdi
mov    $0xb,%esi
jmp    1229 <printnonprint+0x109>
lea    0xf2a(%rip),%rdi
mov    $0xc,%esi
jmp    1229 <printnonprint+0x109>
lea    0xf49(%rip),%rdi
mov    $0xd,%esi
jmp    1229 <printnonprint+0x109>
lea    0xf68(%rip),%rdi
mov    $0xe,%esi
jmp    1229 <printnonprint+0x109>
lea    0xf87(%rip),%rdi
mov    $0xf,%esi
jmp    1229 <printnonprint+0x109>
lea    0xfa6(%rip),%rdi
mov    $0x10,%esi
jmp    1229 <printnonprint+0x109>
lea    0xfbf(%rip),%rdi
mov    $0x11,%esi
jmp    1229 <printnonprint+0x109>
lea    0x1138(%rip),%rdi
mov    %ebx,%esi
jmp    1229 <printnonprint+0x109>
lea    0xfcd(%rip),%rdi
mov    $0x19,%esi
jmp    1229 <printnonprint+0x109>
lea    0xfed(%rip),%rdi
mov    $0x1a,%esi
jmp    1229 <printnonprint+0x109>
lea    0x1012(%rip),%rdi
mov    $0x1b,%esi
jmp    1229 <printnonprint+0x109>
lea    0x1037(%rip),%rdi
mov    $0x1c,%esi
jmp    1229 <printnonprint+0x109>
lea    0x105c(%rip),%rdi
mov    $0x1d,%esi
jmp    1229 <printnonprint+0x109>
lea    0x1081(%rip),%rdi
mov    $0x1e,%esi
jmp    1229 <printnonprint+0x109>
lea    0x10a6(%rip),%rdi
mov    $0x1f,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"Char: \00"
@.str.1 = [48 x i8] c"ff /* ligature (non-printing) 0x%02X */\00"
@.str.2 = [48 x i8] c"fi /* ligature (non-printing) 0x%02X */\00"
@.str.3 = [48 x i8] c"fl /* ligature (non-printing) 0x%02X */\00"
@.str.4 = [48 x i8] c"ffi /* ligature (non-printing) 0x%02X */\00"
@.str.5 = [48 x i8] c"ffl /* ligature (non-printing) 0x%02X */\00"
@.str.6 = [39 x i8] c"i /* (non-printing) 0x%02X */\00"
@.str.7 = [39 x i8] c"j /* (non-printing) 0x%02X */\00"
@.str.8 = [46 x i8] c"ss /* german (non-printing) 0x%02X */\00"
@.str.9 = [51 x i8] c"ae /* scadinavian (non-printing) 0x%02X */\00"
@.str.10 = [51 x i8] c"oe /* scadinavian (non-printing) 0x%02X */\00"
@.str.11 = [51 x i8] c"o /* scadinavian (non-printing) 0x%02X */\00"
@.str.12 = [51 x i8] c"AE /* scadinavian (non-printing) 0x%02X */\00"
@.str.13 = [51 x i8] c"OE /* scadinavian (non-printing) 0x%02X */\00"
@.str.14 = [51 x i8] c"O /* scadinavian (non-printing) 0x%02X */\00"
@.str.15 = [7 x i8] c"0x%02X\00"
define void @printnonprint(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* %2
switch i32 %4, label %47 [
i32 11, label %5
i32 12, label %8
i32 13, label %11
i32 14, label %14
i32 15, label %17
i32 16, label %20
i32 17, label %23
i32 25, label %26
i32 26, label %29
i32 27, label %32
i32 28, label %35
i32 29, label %38
i32 30, label %41
i32 31, label %44
]
5: ; preds = %1
%6 = load i32, i32* %2
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0), i32 %6)
br label %50
8: ; preds = %1
%9 = load i32, i32* %2
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0), i32 %9)
br label %50
11: ; preds = %1
%12 = load i32, i32* %2
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), i32 %12)
br label %50
14: ; preds = %1
%15 = load i32, i32* %2
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0), i32 %15)
br label %50
17: ; preds = %1
%18 = load i32, i32* %2
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0), i32 %18)
br label %50
20: ; preds = %1
%21 = load i32, i32* %2
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %21)
br label %50
23: ; preds = %1
%24 = load i32, i32* %2
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 %24)
br label %50
26: ; preds = %1
%27 = load i32, i32* %2
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 %27)
br label %50
29: ; preds = %1
%30 = load i32, i32* %2
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0), i32 %30)
br label %50
32: ; preds = %1
%33 = load i32, i32* %2
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0), i32 %33)
br label %50
35: ; preds = %1
%36 = load i32, i32* %2
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.11, i64 0, i64 0), i32 %36)
br label %50
38: ; preds = %1
%39 = load i32, i32* %2
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0), i32 %39)
br label %50
41: ; preds = %1
%42 = load i32, i32* %2
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0), i32 %42)
br label %50
44: ; preds = %1
%45 = load i32, i32* %2
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0), i32 %45)
br label %50
47: ; preds = %1
%48 = load i32, i32* %2
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i32 %48)
br label %50
50: ; preds = %47, %44, %41, %38, %35, %32, %29, %26, %23, %20, %17, %14, %11, %8, %5
%51 = call i32 @putchar(i8 signext 10)
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"Char: \00"
@.str.1 = [48 x i8] c"ff /* ligature (non-printing) 0x%02X */\00"
@.str.2 = [48 x i8] c"fi /* ligature (non-printing) 0x%02X */\00"
@.str.3 = [48 x i8] c"fl /* ligature (non-printing) 0x%02X */\00"
@.str.4 = [48 x i8] c"ffi /* ligature (non-printing) 0x%02X */\00"
@.str.5 = [48 x i8] c"ffl /* ligature (non-printing) 0x%02X */\00"
@.str.6 = [39 x i8] c"i /* (non-printing) 0x%02X */\00"
@.str.7 = [39 x i8] c"j /* (non-printing) 0x%02X */\00"
@.str.8 = [46 x i8] c"ss /* german (non-printing) 0x%02X */\00"
@.str.9 = [51 x i8] c"ae /* scadinavian (non-printing) 0x%02X */\00"
@.str.10 = [51 x i8] c"oe /* scadinavian (non-printing) 0x%02X */\00"
@.str.11 = [51 x i8] c"o /* scadinavian (non-printing) 0x%02X */\00"
@.str.12 = [51 x i8] c"AE /* scadinavian (non-printing) 0x%02X */\00"
@.str.13 = [51 x i8] c"OE /* scadinavian (non-printing) 0x%02X */\00"
@.str.14 = [51 x i8] c"O /* scadinavian (non-printing) 0x%02X */\00"
@.str.15 = [7 x i8] c"0x%02X\00"
define void @printnonprint(i32 %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
switch i32 %0, label %31 [
i32 11, label %3
i32 12, label %5
i32 13, label %7
i32 14, label %9
i32 15, label %11
i32 16, label %13
i32 17, label %15
i32 25, label %17
i32 26, label %19
i32 27, label %21
i32 28, label %23
i32 29, label %25
i32 30, label %27
i32 31, label %29
]
3: ; preds = %1
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0), i32 11)
br label %33
5: ; preds = %1
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0), i32 12)
br label %33
7: ; preds = %1
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), i32 13)
br label %33
9: ; preds = %1
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0), i32 14)
br label %33
11: ; preds = %1
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0), i32 15)
br label %33
13: ; preds = %1
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 16)
br label %33
15: ; preds = %1
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 17)
br label %33
17: ; preds = %1
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 25)
br label %33
19: ; preds = %1
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0), i32 26)
br label %33
21: ; preds = %1
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0), i32 27)
br label %33
23: ; preds = %1
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.11, i64 0, i64 0), i32 28)
br label %33
25: ; preds = %1
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0), i32 29)
br label %33
27: ; preds = %1
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0), i32 30)
br label %33
29: ; preds = %1
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0), i32 31)
br label %33
31: ; preds = %1
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i32 %0)
br label %33
33: ; preds = %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5, %3
%34 = tail call i32 @putchar(i8 signext 10)
ret void
}