#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__ strcmp(char *, char *);
char *aa3to1(char *resn) {
  if (strcmp(resn, "ALA") == 0)
    return "A";
  if (strcmp(resn, "VAL") == 0)
    return "V";
  if (strcmp(resn, "PHE") == 0)
    return "F";
  if (strcmp(resn, "PRO") == 0)
    return "P";
  if (strcmp(resn, "MET") == 0)
    return "M";
  if (strcmp(resn, "ILE") == 0)
    return "I";
  if (strcmp(resn, "LEU") == 0)
    return "L";
  if (strcmp(resn, "ASP") == 0)
    return "D";
  if (strcmp(resn, "GLU") == 0)
    return "E";
  if (strcmp(resn, "LYS") == 0)
    return "K";
  if (strcmp(resn, "ARG") == 0)
    return "R";
  if (strcmp(resn, "SER") == 0)
    return "S";
  if (strcmp(resn, "THR") == 0)
    return "T";
  if (strcmp(resn, "TYR") == 0)
    return "Y";
  if (strcmp(resn, "HIS") == 0)
    return "H";
  if (strcmp(resn, "CYS") == 0)
    return "C";
  if (strcmp(resn, "ASN") == 0)
    return "N";
  if (strcmp(resn, "GLN") == 0)
    return "Q";
  if (strcmp(resn, "TRP") == 0)
    return "W";
  if (strcmp(resn, "GLY") == 0)
    return "G";
  if (strcmp(resn, "MSE") == 0)
    return "M";
  return "X";
}


x86 assembly (clang, -O0):
<aa3to1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1146 <aa3to1+0x36>
lea    0xec5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xeb3(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1170 <aa3to1+0x60>
lea    0xea1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xe8f(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    119a <aa3to1+0x8a>
lea    0xe7d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xe6b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11c4 <aa3to1+0xb4>
lea    0xea1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xe45(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11ee <aa3to1+0xde>
lea    0xe33(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xe21(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1218 <aa3to1+0x108>
lea    0xe0f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xdfd(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1242 <aa3to1+0x132>
lea    0xdcd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xdd7(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    126c <aa3to1+0x15c>
lea    0xdc5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xdb3(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1296 <aa3to1+0x186>
lea    0xd7f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xd8d(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12c0 <aa3to1+0x1b0>
lea    0xd7b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xd69(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12ea <aa3to1+0x1da>
lea    0xd59(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xd43(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1314 <aa3to1+0x204>
lea    0xd3b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xd1d(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    133e <aa3to1+0x22e>
lea    0xce1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xcf7(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1368 <aa3to1+0x258>
lea    0xd03(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xcd1(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1392 <aa3to1+0x282>
lea    0xcbf(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xcad(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13bc <aa3to1+0x2ac>
lea    0xc9b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xc89(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13e6 <aa3to1+0x2d6>
lea    0xc79(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xc63(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1410 <aa3to1+0x300>
lea    0xc51(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xc3f(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    143a <aa3to1+0x32a>
lea    0xc2d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xc1b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1464 <aa3to1+0x354>
lea    0xbdb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
mov    -0x10(%rbp),%rdi
lea    0xbf5(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    148e <aa3to1+0x37e>
lea    0xb93(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1499 <aa3to1+0x389>
lea    0xbd3(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<aa3to1>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rsi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1317 <aa3to1+0x207>
lea    0xed4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1320 <aa3to1+0x210>
lea    0xec2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1329 <aa3to1+0x219>
lea    0xeb0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1332 <aa3to1+0x222>
lea    0xe9c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     133b <aa3to1+0x22b>
lea    0xe8a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1344 <aa3to1+0x234>
lea    0xe78(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     134d <aa3to1+0x23d>
lea    0xe64(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1356 <aa3to1+0x246>
lea    0xe52(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     135f <aa3to1+0x24f>
lea    0xe3e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1368 <aa3to1+0x258>
lea    0xe2c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1371 <aa3to1+0x261>
lea    0xe18(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     137a <aa3to1+0x26a>
lea    0xe04(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1383 <aa3to1+0x273>
lea    0xdf0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     138c <aa3to1+0x27c>
lea    0xddc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1395 <aa3to1+0x285>
lea    0xdca(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     139e <aa3to1+0x28e>
lea    0xdb8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <aa3to1+0x297>
lea    0xda4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13b0 <aa3to1+0x2a0>
lea    0xd92(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13b9 <aa3to1+0x2a9>
lea    0xd80(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13c2 <aa3to1+0x2b2>
lea    0xd6c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
lea    0xd0e(%rip),%rcx
lea    0xd57(%rip),%rax
cmove  %rcx,%rax
pop    %rbx
ret
lea    0xce4(%rip),%rax
pop    %rbx
ret
lea    0xce1(%rip),%rax
pop    %rbx
ret
lea    0xcde(%rip),%rax
pop    %rbx
ret
lea    0xd23(%rip),%rax
pop    %rbx
ret
lea    0xcd6(%rip),%rax
pop    %rbx
ret
lea    0xcd3(%rip),%rax
pop    %rbx
ret
lea    0xcb2(%rip),%rax
pop    %rbx
ret
lea    0xccb(%rip),%rax
pop    %rbx
ret
lea    0xca6(%rip),%rax
pop    %rbx
ret
lea    0xcc3(%rip),%rax
pop    %rbx
ret
lea    0xcc2(%rip),%rax
pop    %rbx
ret
lea    0xcc5(%rip),%rax
pop    %rbx
ret
lea    0xc8c(%rip),%rax
pop    %rbx
ret
lea    0xccf(%rip),%rax
pop    %rbx
ret
lea    0xcac(%rip),%rax
pop    %rbx
ret
lea    0xca9(%rip),%rax
pop    %rbx
ret
lea    0xca8(%rip),%rax
pop    %rbx
ret
lea    0xca1(%rip),%rax
pop    %rbx
ret
lea    0xc9e(%rip),%rax
pop    %rbx
ret
lea    0xc6d(%rip),%rax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"ALA\00"
@.str.1 = [2 x i8] c"A\00"
@.str.2 = [4 x i8] c"VAL\00"
@.str.3 = [2 x i8] c"V\00"
@.str.4 = [4 x i8] c"PHE\00"
@.str.5 = [2 x i8] c"F\00"
@.str.6 = [4 x i8] c"PRO\00"
@.str.7 = [2 x i8] c"P\00"
@.str.8 = [4 x i8] c"MET\00"
@.str.9 = [2 x i8] c"M\00"
@.str.10 = [4 x i8] c"ILE\00"
@.str.11 = [2 x i8] c"I\00"
@.str.12 = [4 x i8] c"LEU\00"
@.str.13 = [2 x i8] c"L\00"
@.str.14 = [4 x i8] c"ASP\00"
@.str.15 = [2 x i8] c"D\00"
@.str.16 = [4 x i8] c"GLU\00"
@.str.17 = [2 x i8] c"E\00"
@.str.18 = [4 x i8] c"LYS\00"
@.str.19 = [2 x i8] c"K\00"
@.str.20 = [4 x i8] c"ARG\00"
@.str.21 = [2 x i8] c"R\00"
@.str.22 = [4 x i8] c"SER\00"
@.str.23 = [2 x i8] c"S\00"
@.str.24 = [4 x i8] c"THR\00"
@.str.25 = [2 x i8] c"T\00"
@.str.26 = [4 x i8] c"TYR\00"
@.str.27 = [2 x i8] c"Y\00"
@.str.28 = [4 x i8] c"HIS\00"
@.str.29 = [2 x i8] c"H\00"
@.str.30 = [4 x i8] c"CYS\00"
@.str.31 = [2 x i8] c"C\00"
@.str.32 = [4 x i8] c"ASN\00"
@.str.33 = [2 x i8] c"N\00"
@.str.34 = [4 x i8] c"GLN\00"
@.str.35 = [2 x i8] c"Q\00"
@.str.36 = [4 x i8] c"TRP\00"
@.str.37 = [2 x i8] c"W\00"
@.str.38 = [4 x i8] c"GLY\00"
@.str.39 = [2 x i8] c"G\00"
@.str.40 = [4 x i8] c"MSE\00"
@.str.41 = [2 x i8] c"X\00"
define i8* @aa3to1(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %109
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %109
13: ; preds = %8
%14 = load i8*, i8** %3
%15 = call i64 @strcmp(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %109
18: ; preds = %13
%19 = load i8*, i8** %3
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %109
23: ; preds = %18
%24 = load i8*, i8** %3
%25 = call i64 @strcmp(i8* %24, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %109
28: ; preds = %23
%29 = load i8*, i8** %3
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %109
33: ; preds = %28
%34 = load i8*, i8** %3
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %109
38: ; preds = %33
%39 = load i8*, i8** %3
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %109
43: ; preds = %38
%44 = load i8*, i8** %3
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %109
48: ; preds = %43
%49 = load i8*, i8** %3
%50 = call i64 @strcmp(i8* %49, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %109
53: ; preds = %48
%54 = load i8*, i8** %3
%55 = call i64 @strcmp(i8* %54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %109
58: ; preds = %53
%59 = load i8*, i8** %3
%60 = call i64 @strcmp(i8* %59, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %109
63: ; preds = %58
%64 = load i8*, i8** %3
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %109
68: ; preds = %63
%69 = load i8*, i8** %3
%70 = call i64 @strcmp(i8* %69, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %109
73: ; preds = %68
%74 = load i8*, i8** %3
%75 = call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %109
78: ; preds = %73
%79 = load i8*, i8** %3
%80 = call i64 @strcmp(i8* %79, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %109
83: ; preds = %78
%84 = load i8*, i8** %3
%85 = call i64 @strcmp(i8* %84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.32, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %109
88: ; preds = %83
%89 = load i8*, i8** %3
%90 = call i64 @strcmp(i8* %89, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0))
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %109
93: ; preds = %88
%94 = load i8*, i8** %3
%95 = call i64 @strcmp(i8* %94, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.36, i64 0, i64 0))
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.37, i64 0, i64 0), i8** %2
br label %109
98: ; preds = %93
%99 = load i8*, i8** %3
%100 = call i64 @strcmp(i8* %99, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.38, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %98
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.39, i64 0, i64 0), i8** %2
br label %109
103: ; preds = %98
%104 = load i8*, i8** %3
%105 = call i64 @strcmp(i8* %104, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.40, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %103
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %109
108: ; preds = %103
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0), i8** %2
br label %109
109: ; preds = %108, %107, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%110 = load i8*, i8** %2
ret i8* %110
}

LLVM IR (-O2):
@.str = [4 x i8] c"ALA\00"
@.str.1 = [2 x i8] c"A\00"
@.str.2 = [4 x i8] c"VAL\00"
@.str.3 = [2 x i8] c"V\00"
@.str.4 = [4 x i8] c"PHE\00"
@.str.5 = [2 x i8] c"F\00"
@.str.6 = [4 x i8] c"PRO\00"
@.str.7 = [2 x i8] c"P\00"
@.str.8 = [4 x i8] c"MET\00"
@.str.9 = [2 x i8] c"M\00"
@.str.10 = [4 x i8] c"ILE\00"
@.str.11 = [2 x i8] c"I\00"
@.str.12 = [4 x i8] c"LEU\00"
@.str.13 = [2 x i8] c"L\00"
@.str.14 = [4 x i8] c"ASP\00"
@.str.15 = [2 x i8] c"D\00"
@.str.16 = [4 x i8] c"GLU\00"
@.str.17 = [2 x i8] c"E\00"
@.str.18 = [4 x i8] c"LYS\00"
@.str.19 = [2 x i8] c"K\00"
@.str.20 = [4 x i8] c"ARG\00"
@.str.21 = [2 x i8] c"R\00"
@.str.22 = [4 x i8] c"SER\00"
@.str.23 = [2 x i8] c"S\00"
@.str.24 = [4 x i8] c"THR\00"
@.str.25 = [2 x i8] c"T\00"
@.str.26 = [4 x i8] c"TYR\00"
@.str.27 = [2 x i8] c"Y\00"
@.str.28 = [4 x i8] c"HIS\00"
@.str.29 = [2 x i8] c"H\00"
@.str.30 = [4 x i8] c"CYS\00"
@.str.31 = [2 x i8] c"C\00"
@.str.32 = [4 x i8] c"ASN\00"
@.str.33 = [2 x i8] c"N\00"
@.str.34 = [4 x i8] c"GLN\00"
@.str.35 = [2 x i8] c"Q\00"
@.str.36 = [4 x i8] c"TRP\00"
@.str.37 = [2 x i8] c"W\00"
@.str.38 = [4 x i8] c"GLY\00"
@.str.39 = [2 x i8] c"G\00"
@.str.40 = [4 x i8] c"MSE\00"
@.str.41 = [2 x i8] c"X\00"
define i8* @aa3to1(i8* %0) {
%2 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %65, label %4
4: ; preds = %1
%5 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %65, label %7
7: ; preds = %4
%8 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %65, label %10
10: ; preds = %7
%11 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %65, label %13
13: ; preds = %10
%14 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %65, label %16
16: ; preds = %13
%17 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %65, label %19
19: ; preds = %16
%20 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %65, label %22
22: ; preds = %19
%23 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %65, label %25
25: ; preds = %22
%26 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %65, label %28
28: ; preds = %25
%29 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %65, label %31
31: ; preds = %28
%32 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %65, label %34
34: ; preds = %31
%35 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %65, label %37
37: ; preds = %34
%38 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %65, label %40
40: ; preds = %37
%41 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %65, label %43
43: ; preds = %40
%44 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %65, label %46
46: ; preds = %43
%47 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %65, label %49
49: ; preds = %46
%50 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.32, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %65, label %52
52: ; preds = %49
%53 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %65, label %55
55: ; preds = %52
%56 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.36, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %65, label %58
58: ; preds = %55
%59 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.38, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %65, label %61
61: ; preds = %58
%62 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.40, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
%64 = select i1 %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0)
br label %65
65: ; preds = %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1
%66 = phi i8* [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), %1 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), %4 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), %7 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), %10 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), %13 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), %16 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), %19 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), %22 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0), %25 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), %28 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0), %31 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0), %34 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.25, i64 0, i64 0), %37 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.27, i64 0, i64 0), %40 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.29, i64 0, i64 0), %43 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0), %46 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.33, i64 0, i64 0), %49 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.35, i64 0, i64 0), %52 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.37, i64 0, i64 0), %55 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.39, i64 0, i64 0), %58 ], [ %64, %61 ]
ret i8* %66
}