#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 toupper(char);
const char *morse_str(char x) {
  switch (toupper(x)) {
  case 'A':
    return ".-";
    break;
  case 'B':
    return "-...";
    break;
  case 'C':
    return "-.-.";
    break;
  case 'D':
    return "-..";
    break;
  case 'E':
    return ".";
    break;
  case 'F':
    return "..-.";
    break;
  case 'G':
    return "--.";
    break;
  case 'H':
    return "....";
    break;
  case 'I':
    return "..";
    break;
  case 'J':
    return ".---";
    break;
  case 'K':
    return "-.-";
    break;
  case 'L':
    return ".-..";
    break;
  case 'M':
    return "--";
    break;
  case 'N':
    return "-.";
    break;
  case 'O':
    return "---";
    break;
  case 'P':
    return ".--.";
    break;
  case 'Q':
    return "--.-";
    break;
  case 'R':
    return ".-.";
    break;
  case 'S':
    return "...";
    break;
  case 'T':
    return "-";
    break;
  case 'U':
    return "..-";
    break;
  case 'V':
    return "...-";
    break;
  case 'W':
    return ".--";
    break;
  case 'X':
    return "-..-";
    break;
  case 'Y':
    return "-.--";
    break;
  case 'Z':
    return "--..";
    break;
  case '0':
    return "-----";
    break;
  case '1':
    return ".----";
    break;
  case '2':
    return "..---";
    break;
  case '3':
    return "...--";
    break;
  case '4':
    return "....-";
    break;
  case '5':
    return ".....";
    break;
  case '6':
    return "-....";
    break;
  case '7':
    return "--...";
    break;
  case '8':
    return "---..";
    break;
  case '9':
    return "----.";
    break;
  case '.':
    return ".-.-.-";
    break;
  case ',':
    return "--..--";
    break;
  case '?':
    return "..--..";
    break;
  }
  return "x";
}


x86 assembly (clang, -O0):
<morse_str>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %dil,%al
mov    %al,-0x9(%rbp)
movsbl -0x9(%rbp),%edi
call   1030 <toupper@plt>
add    $0xffffffd4,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x2e,%eax
ja     13bd <morse_str+0x2ad>
mov    -0x18(%rbp),%rax
lea    0xebc(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf7e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xfa6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf48(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf8d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf85(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf1d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf63(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf40(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf3e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xf08(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xedd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xec2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xece(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xef4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xead(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe7c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe59(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe97(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe5f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe42(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe54(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe27(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe11(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe06(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xe2c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xdeb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xde1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xdd7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xdcd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xdc3(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xdb9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xdaf(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xda5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xd9b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xd91(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xd87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xd7e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xd75(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13c8 <morse_str+0x2b8>
lea    0xd6c(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<morse_str>:
push   %rax
call   1030 <toupper@plt>
add    $0xffffffd4,%eax
cmp    $0x2e,%eax
ja     1130 <morse_str+0x20>
cltq
lea    0xf51(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
pop    %rcx
ret
lea    0xf3d(%rip),%rax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c".-\00"
@.str.1 = [5 x i8] c"-...\00"
@.str.2 = [5 x i8] c"-.-.\00"
@.str.3 = [4 x i8] c"-..\00"
@.str.4 = [2 x i8] c".\00"
@.str.5 = [5 x i8] c"..-.\00"
@.str.6 = [4 x i8] c"--.\00"
@.str.7 = [5 x i8] c"....\00"
@.str.8 = [3 x i8] c"..\00"
@.str.9 = [5 x i8] c".---\00"
@.str.10 = [4 x i8] c"-.-\00"
@.str.11 = [5 x i8] c".-..\00"
@.str.12 = [3 x i8] c"--\00"
@.str.13 = [3 x i8] c"-.\00"
@.str.14 = [4 x i8] c"---\00"
@.str.15 = [5 x i8] c".--.\00"
@.str.16 = [5 x i8] c"--.-\00"
@.str.17 = [4 x i8] c".-.\00"
@.str.18 = [4 x i8] c"...\00"
@.str.19 = [2 x i8] c"-\00"
@.str.20 = [4 x i8] c"..-\00"
@.str.21 = [5 x i8] c"...-\00"
@.str.22 = [4 x i8] c".--\00"
@.str.23 = [5 x i8] c"-..-\00"
@.str.24 = [5 x i8] c"-.--\00"
@.str.25 = [5 x i8] c"--..\00"
@.str.26 = [6 x i8] c"-----\00"
@.str.27 = [6 x i8] c".----\00"
@.str.28 = [6 x i8] c"..---\00"
@.str.29 = [6 x i8] c"...--\00"
@.str.30 = [6 x i8] c"....-\00"
@.str.31 = [6 x i8] c".....\00"
@.str.32 = [6 x i8] c"-....\00"
@.str.33 = [6 x i8] c"--...\00"
@.str.34 = [6 x i8] c"---..\00"
@.str.35 = [6 x i8] c"----.\00"
@.str.36 = [7 x i8] c".-.-.-\00"
@.str.37 = [7 x i8] c"--..--\00"
@.str.38 = [7 x i8] c"..--..\00"
@.str.39 = [2 x i8] c"x\00"
define i8* @morse_str(i8 signext %0) {
%2 = alloca i8*
%3 = alloca i8
store i8 %0, i8* %3
%4 = load i8, i8* %3
%5 = call i32 @toupper(i8 signext %4)
switch i32 %5, label %45 [
i32 65, label %6
i32 66, label %7
i32 67, label %8
i32 68, label %9
i32 69, label %10
i32 70, label %11
i32 71, label %12
i32 72, label %13
i32 73, label %14
i32 74, label %15
i32 75, label %16
i32 76, label %17
i32 77, label %18
i32 78, label %19
i32 79, label %20
i32 80, label %21
i32 81, label %22
i32 82, label %23
i32 83, label %24
i32 84, label %25
i32 85, label %26
i32 86, label %27
i32 87, label %28
i32 88, label %29
i32 89, label %30
i32 90, label %31
i32 48, label %32
i32 49, label %33
i32 50, label %34
i32 51, label %35
i32 52, label %36
i32 53, label %37
i32 54, label %38
i32 55, label %39
i32 56, label %40
i32 57, label %41
i32 46, label %42
i32 44, label %43
i32 63, label %44
]
6: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8** %2
br label %46
7: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %46
8: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %46
9: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %46
10: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %46
11: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %46
12: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %46
13: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %46
14: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %46
15: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %46
16: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %46
17: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %46
18: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %46
19: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %46
20: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %46
21: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %46
22: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %46
23: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %46
24: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %46
25: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %46
26: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %46
27: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %46
28: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %46
29: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %46
30: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %46
31: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %46
32: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %46
33: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %46
34: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %46
35: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %46
36: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0), i8** %2
br label %46
37: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %46
38: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.32, i64 0, i64 0), i8** %2
br label %46
39: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %46
40: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.34, i64 0, i64 0), i8** %2
br label %46
41: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %46
42: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.36, i64 0, i64 0), i8** %2
br label %46
43: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.37, i64 0, i64 0), i8** %2
br label %46
44: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.38, i64 0, i64 0), i8** %2
br label %46
45: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.39, i64 0, i64 0), i8** %2
br label %46
46: ; preds = %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6
%47 = load i8*, i8** %2
ret i8* %47
}

LLVM IR (-O2):
@.str = [3 x i8] c".-\00"
@.str.1 = [5 x i8] c"-...\00"
@.str.2 = [5 x i8] c"-.-.\00"
@.str.3 = [4 x i8] c"-..\00"
@.str.4 = [2 x i8] c".\00"
@.str.5 = [5 x i8] c"..-.\00"
@.str.6 = [4 x i8] c"--.\00"
@.str.7 = [5 x i8] c"....\00"
@.str.8 = [3 x i8] c"..\00"
@.str.9 = [5 x i8] c".---\00"
@.str.10 = [4 x i8] c"-.-\00"
@.str.11 = [5 x i8] c".-..\00"
@.str.12 = [3 x i8] c"--\00"
@.str.13 = [3 x i8] c"-.\00"
@.str.14 = [4 x i8] c"---\00"
@.str.15 = [5 x i8] c".--.\00"
@.str.16 = [5 x i8] c"--.-\00"
@.str.17 = [4 x i8] c".-.\00"
@.str.18 = [4 x i8] c"...\00"
@.str.19 = [2 x i8] c"-\00"
@.str.20 = [4 x i8] c"..-\00"
@.str.21 = [5 x i8] c"...-\00"
@.str.22 = [4 x i8] c".--\00"
@.str.23 = [5 x i8] c"-..-\00"
@.str.24 = [5 x i8] c"-.--\00"
@.str.25 = [5 x i8] c"--..\00"
@.str.26 = [6 x i8] c"-----\00"
@.str.27 = [6 x i8] c".----\00"
@.str.28 = [6 x i8] c"..---\00"
@.str.29 = [6 x i8] c"...--\00"
@.str.30 = [6 x i8] c"....-\00"
@.str.31 = [6 x i8] c".....\00"
@.str.32 = [6 x i8] c"-....\00"
@.str.33 = [6 x i8] c"--...\00"
@.str.34 = [6 x i8] c"---..\00"
@.str.35 = [6 x i8] c"----.\00"
@.str.36 = [7 x i8] c".-.-.-\00"
@.str.37 = [7 x i8] c"--..--\00"
@.str.38 = [7 x i8] c"..--..\00"
@.str.39 = [2 x i8] c"x\00"
@reltable.morse_str = [47 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.37 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.36 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.26 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.27 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.28 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.29 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.30 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.31 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.32 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.33 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.34 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.35 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.38 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.39 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.1 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.2 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.3 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.4 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.7 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.8 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.9 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.10 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.11 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.12 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.13 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.14 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.15 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.16 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.17 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.18 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.19 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.20 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.21 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.22 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.23 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.24 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.25 to i64), i64 ptrtoint ([47 x i32]* @reltable.morse_str to i64)) to i32)]
define i8* @morse_str(i8 signext %0) {
%2 = tail call i32 @toupper(i8 signext %0)
%3 = add i32 %2, -44
%4 = icmp ult i32 %3, 47
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = sext i32 %3 to i64
%7 = shl i64 %6, 2
%8 = call i8* @llvm.load.relative.i64(i8* bitcast ([47 x i32]* @reltable.morse_str to i8*), i64 %7)
br label %9
9: ; preds = %1, %5
%10 = phi i8* [ %8, %5 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.39, i64 0, i64 0), %1 ]
ret i8* %10
}