#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*/ input(char *);
int /*<<< orphan*/ printf(char *);
void check_and_print(char *ID) {
  switch (ID[0] - 65) {
  case 0:
    printf("出生地：臺北市\n");
    break;
  case 1:
    printf("出生地：臺中市\n");
    break;
  case 2:
    printf("出生地：基隆市\n");
    break;
  case 3:
    printf("出生地：臺南市\n");
    break;
  case 4:
    printf("出生地：高雄市\n");
    break;
  case 5:
    printf("出生地：新北市\n");
    break;
  case 6:
    printf("出生地：宜蘭縣\n");
    break;
  case 7:
    printf("出生地：桃園縣\n");
    break;
  case 8:
    printf("出生地：嘉義市\n");
    break;
  case 9:
    printf("出生地：新竹縣\n");
    break;
  case 10:
    printf("出生地：苗栗縣\n");
    break;
  case 11:
    printf("出生地：臺中縣\n");
    break;
  case 12:
    printf("出生地：南投縣\n");
    break;
  case 13:
    printf("出生地：彰化縣\n");
    break;
  case 14:
    printf("出生地：新竹市\n");
    break;
  case 15:
    printf("出生地：雲林縣\n");
    break;
  case 16:
    printf("出生地：嘉義縣\n");
    break;
  case 17:
    printf("出生地：臺南縣\n");
    break;
  case 18:
    printf("出生地：高雄縣\n");
    break;
  case 19:
    printf("出生地：屏東縣\n");
    break;
  case 20:
    printf("出生地：花蓮縣\n");
    break;
  case 21:
    printf("出生地：臺東縣\n");
    break;
  case 22:
    printf("出生地：金門縣\n");
    break;
  case 23:
    printf("出生地：澎湖縣\n");
    break;
  case 24:
    printf("出生地：陽明山管理局\n");
    break;
  case 25:
    printf("出生地：連江縣\n");
    break;
  default:
    printf("格式錯誤!\n");
    break;
  }
}
int main() {
  char ID[11];
  input(ID);
  check_and_print(ID);
  return 0;
}


x86 assembly (clang, -O0):
<check_and_print>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
add    $0xffffffbf,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x19,%eax
ja     1323 <check_and_print+0x1f3>
mov    -0x10(%rbp),%rax
lea    0xea0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xef8(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xefe(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf04(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf0a(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf10(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf16(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf1c(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf22(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf28(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf2e(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf34(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf3a(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf40(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf46(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf4c(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf52(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf58(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf5e(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf64(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf6a(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf70(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf76(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf7c(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf82(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf88(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf97(%rip),%rdi
call   1040 <printf@plt>
jmp    132f <check_and_print+0x1ff>
lea    0xf9d(%rip),%rdi
call   1040 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret
cs nopw 0x0(%rax,%rax,1)
nop

x86 assembly (clang, -O2):
<check_and_print>:
movsbl (%rdi),%eax
lea    -0x41(%rax),%ecx
cmp    $0x19,%ecx
ja     1141 <check_and_print+0x21>
cltq
lea    0x2c1c(%rip),%rcx
mov    -0x208(%rcx,%rax,8),%rdi
ff
jmp    1040 <puts@plt>
lea    0x10fd(%rip),%rdi
jmp    1040 <puts@plt>
nopl   (%rax)

LLVM IR (-O0):
@.str = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E5\8C\97\E5\B8\82\0A\00"
@.str.1 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E4\B8\AD\E5\B8\82\0A\00"
@.str.2 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\9F\BA\E9\9A\86\E5\B8\82\0A\00"
@.str.3 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E5\8D\97\E5\B8\82\0A\00"
@.str.4 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\AB\98\E9\9B\84\E5\B8\82\0A\00"
@.str.5 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\96\B0\E5\8C\97\E5\B8\82\0A\00"
@.str.6 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\AE\9C\E8\98\AD\E7\B8\A3\0A\00"
@.str.7 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\A1\83\E5\9C\92\E7\B8\A3\0A\00"
@.str.8 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\98\89\E7\BE\A9\E5\B8\82\0A\00"
@.str.9 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\96\B0\E7\AB\B9\E7\B8\A3\0A\00"
@.str.10 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\8B\97\E6\A0\97\E7\B8\A3\0A\00"
@.str.11 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E4\B8\AD\E7\B8\A3\0A\00"
@.str.12 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\8D\97\E6\8A\95\E7\B8\A3\0A\00"
@.str.13 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\BD\B0\E5\8C\96\E7\B8\A3\0A\00"
@.str.14 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\96\B0\E7\AB\B9\E5\B8\82\0A\00"
@.str.15 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\9B\B2\E6\9E\97\E7\B8\A3\0A\00"
@.str.16 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\98\89\E7\BE\A9\E7\B8\A3\0A\00"
@.str.17 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E5\8D\97\E7\B8\A3\0A\00"
@.str.18 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\AB\98\E9\9B\84\E7\B8\A3\0A\00"
@.str.19 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\B1\8F\E6\9D\B1\E7\B8\A3\0A\00"
@.str.20 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\8A\B1\E8\93\AE\E7\B8\A3\0A\00"
@.str.21 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E6\9D\B1\E7\B8\A3\0A\00"
@.str.22 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\87\91\E9\96\80\E7\B8\A3\0A\00"
@.str.23 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\BE\8E\E6\B9\96\E7\B8\A3\0A\00"
@.str.24 = [32 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\99\BD\E6\98\8E\E5\B1\B1\E7\AE\A1\E7\90\86\E5\B1\80\0A\00"
@.str.25 = [23 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\80\A3\E6\B1\9F\E7\B8\A3\0A\00"
@.str.26 = [15 x i8] c"\E6\A0\BC\E5\BC\8F\E9\8C\AF\E8\AA\A4!\0A\00"
define void @check_and_print(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = getelementptr inbounds i8, i8* %3, i64 0
%5 = load i8, i8* %4
%6 = sext i8 %5 to i32
%7 = sub nsw i32 %6, 65
switch i32 %7, label %60 [
i32 0, label %8
i32 1, label %10
i32 2, label %12
i32 3, label %14
i32 4, label %16
i32 5, label %18
i32 6, label %20
i32 7, label %22
i32 8, label %24
i32 9, label %26
i32 10, label %28
i32 11, label %30
i32 12, label %32
i32 13, label %34
i32 14, label %36
i32 15, label %38
i32 16, label %40
i32 17, label %42
i32 18, label %44
i32 19, label %46
i32 20, label %48
i32 21, label %50
i32 22, label %52
i32 23, label %54
i32 24, label %56
i32 25, label %58
]
8: ; preds = %1
%9 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
br label %62
10: ; preds = %1
%11 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
br label %62
12: ; preds = %1
%13 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
br label %62
14: ; preds = %1
%15 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
br label %62
16: ; preds = %1
%17 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
br label %62
18: ; preds = %1
%19 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
br label %62
20: ; preds = %1
%21 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
br label %62
22: ; preds = %1
%23 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
br label %62
24: ; preds = %1
%25 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0))
br label %62
26: ; preds = %1
%27 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0))
br label %62
28: ; preds = %1
%29 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0))
br label %62
30: ; preds = %1
%31 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
br label %62
32: ; preds = %1
%33 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0))
br label %62
34: ; preds = %1
%35 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0))
br label %62
36: ; preds = %1
%37 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
br label %62
38: ; preds = %1
%39 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0))
br label %62
40: ; preds = %1
%41 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0))
br label %62
42: ; preds = %1
%43 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0))
br label %62
44: ; preds = %1
%45 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0))
br label %62
46: ; preds = %1
%47 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0))
br label %62
48: ; preds = %1
%49 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0))
br label %62
50: ; preds = %1
%51 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0))
br label %62
52: ; preds = %1
%53 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0))
br label %62
54: ; preds = %1
%55 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0))
br label %62
56: ; preds = %1
%57 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.24, i64 0, i64 0))
br label %62
58: ; preds = %1
%59 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.25, i64 0, i64 0))
br label %62
60: ; preds = %1
%61 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.26, i64 0, i64 0))
br label %62
62: ; preds = %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8
ret void
}
define i32 @main() {
%1 = alloca i32
%2 = alloca [11 x i8]
store i32 0, i32* %1
%3 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
%4 = call i32 @input(i8* %3)
%5 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
ret i32 0
}

LLVM IR (-O2):
@str = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\80\A3\E6\B1\9F\E7\B8\A3\00"
@str.27 = [31 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\99\BD\E6\98\8E\E5\B1\B1\E7\AE\A1\E7\90\86\E5\B1\80\00"
@str.28 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\BE\8E\E6\B9\96\E7\B8\A3\00"
@str.29 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\87\91\E9\96\80\E7\B8\A3\00"
@str.30 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E6\9D\B1\E7\B8\A3\00"
@str.31 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\8A\B1\E8\93\AE\E7\B8\A3\00"
@str.32 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\B1\8F\E6\9D\B1\E7\B8\A3\00"
@str.33 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\AB\98\E9\9B\84\E7\B8\A3\00"
@str.34 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E5\8D\97\E7\B8\A3\00"
@str.35 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\98\89\E7\BE\A9\E7\B8\A3\00"
@str.36 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\9B\B2\E6\9E\97\E7\B8\A3\00"
@str.37 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\96\B0\E7\AB\B9\E5\B8\82\00"
@str.38 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\BD\B0\E5\8C\96\E7\B8\A3\00"
@str.39 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\8D\97\E6\8A\95\E7\B8\A3\00"
@str.40 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E4\B8\AD\E7\B8\A3\00"
@str.41 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\8B\97\E6\A0\97\E7\B8\A3\00"
@str.42 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\96\B0\E7\AB\B9\E7\B8\A3\00"
@str.43 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\98\89\E7\BE\A9\E5\B8\82\00"
@str.44 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\A1\83\E5\9C\92\E7\B8\A3\00"
@str.45 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\AE\9C\E8\98\AD\E7\B8\A3\00"
@str.46 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E6\96\B0\E5\8C\97\E5\B8\82\00"
@str.47 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E9\AB\98\E9\9B\84\E5\B8\82\00"
@str.48 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E5\8D\97\E5\B8\82\00"
@str.49 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E5\9F\BA\E9\9A\86\E5\B8\82\00"
@str.50 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E4\B8\AD\E5\B8\82\00"
@str.51 = [22 x i8] c"\E5\87\BA\E7\94\9F\E5\9C\B0\EF\BC\9A\E8\87\BA\E5\8C\97\E5\B8\82\00"
@str.52 = [14 x i8] c"\E6\A0\BC\E5\BC\8F\E9\8C\AF\E8\AA\A4!\00"
@switch.table.main = [26 x i8*] [i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.51, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.50, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.49, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.48, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.47, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.46, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.45, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.44, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.43, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.42, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.41, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.40, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.39, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.38, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.36, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.35, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.34, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.33, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.32, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.31, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.30, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.29, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.28, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @str.27, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0)]
define void @check_and_print(i8* nocapture %0) {
%2 = load i8, i8* %0
%3 = sext i8 %2 to i32
%4 = add nsw i32 %3, -65
%5 = icmp ult i32 %4, 26
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = sext i32 %4 to i64
%8 = getelementptr inbounds [26 x i8*], [26 x i8*]* @switch.table.main, i64 0, i64 %7
%9 = load i8*, i8** %8
br label %10
10: ; preds = %1, %6
%11 = phi i8* [ %9, %6 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.52, i64 0, i64 0), %1 ]
%12 = tail call i32 @puts(i8* dereferenceable(1) %11)
ret void
}
define i32 @main() {
%1 = alloca [11 x i8]
%2 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 0
%3 = call i32 @input(i8* %2)
%4 = load i8, i8* %2
%5 = sext i8 %4 to i32
%6 = add nsw i32 %5, -65
%7 = icmp ult i32 %6, 26
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = sext i32 %6 to i64
%10 = getelementptr inbounds [26 x i8*], [26 x i8*]* @switch.table.main, i64 0, i64 %9
%11 = load i8*, i8** %10
br label %12
12: ; preds = %0, %8
%13 = phi i8* [ %11, %8 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.52, i64 0, i64 0), %0 ]
%14 = call i32 @puts(i8* dereferenceable(1) %13)
ret i32 0
}