#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*/ EXIT_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ stderr;
scalar_t__ strncmp(char *, char *, int);
double aa2Mass(char *residueName) {
  if (strncmp(residueName, "ALA", 3) == 0)
    return (71.0779);
  if (strncmp(residueName, "ARG", 3) == 0)
    return (156.1857);
  if (strncmp(residueName, "ASN", 3) == 0)
    return (114.1026);
  if (strncmp(residueName, "ASP", 3) == 0)
    return (115.0874);
  if (strncmp(residueName, "CYS", 3) == 0)
    return (103.1429);
  if (strncmp(residueName, "GLN", 3) == 0)
    return (128.1292);
  if (strncmp(residueName, "GLU", 3) == 0)
    return (129.1140);
  if (strncmp(residueName, "GLY", 3) == 0)
    return (57.0513);
  if (strncmp(residueName, "HIS", 3) == 0)
    return (137.1393);
  if (strncmp(residueName, "ILE", 3) == 0)
    return (113.1576);
  if (strncmp(residueName, "LEU", 3) == 0)
    return (113.1576);
  if (strncmp(residueName, "LYS", 3) == 0)
    return (128.1723);
  if (strncmp(residueName, "MET", 3) == 0)
    return (131.1961);
  if (strncmp(residueName, "PHE", 3) == 0)
    return (147.1739);
  if (strncmp(residueName, "PRO", 3) == 0)
    return (97.1152);
  if (strncmp(residueName, "SER", 3) == 0)
    return (87.0773);
  if (strncmp(residueName, "THR", 3) == 0)
    return (101.1039);
  if (strncmp(residueName, "TRP", 3) == 0)
    return (186.2099);
  if (strncmp(residueName, "TYR", 3) == 0)
    return (163.1733);
  if (strncmp(residueName, "VAL", 3) == 0)
    return (99.1311);
  else {
    fprintf(stderr, "ERROR: %s is unknown residue encountered!\n", residueName);
    return (0.0);
    exit(EXIT_FAILURE);
  }
}


x86 assembly (clang, -O0):
<aa2Mass>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xf61(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    115d <aa2Mass+0x3d>
movsd  0xf3d(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xf34(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    118e <aa2Mass+0x6e>
movsd  0xf04(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xf07(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    11bf <aa2Mass+0x9f>
movsd  0xecb(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xeda(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    11f0 <aa2Mass+0xd0>
movsd  0xe92(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xead(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1221 <aa2Mass+0x101>
movsd  0xe59(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xe80(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1252 <aa2Mass+0x132>
movsd  0xe20(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xe53(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1283 <aa2Mass+0x163>
movsd  0xde7(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xe26(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    12b4 <aa2Mass+0x194>
movsd  0xdae(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xdf9(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    12e5 <aa2Mass+0x1c5>
movsd  0xd75(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xdcc(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1316 <aa2Mass+0x1f6>
movsd  0xd3c(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xd9f(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1347 <aa2Mass+0x227>
movsd  0xd0b(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xd72(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1378 <aa2Mass+0x258>
movsd  0xcd2(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xd45(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    13a9 <aa2Mass+0x289>
movsd  0xc99(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xd18(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    13da <aa2Mass+0x2ba>
movsd  0xc60(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xceb(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    140b <aa2Mass+0x2eb>
movsd  0xc27(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xcbe(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    143c <aa2Mass+0x31c>
movsd  0xbee(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xc91(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    146d <aa2Mass+0x34d>
movsd  0xbb5(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xc64(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    149e <aa2Mass+0x37e>
movsd  0xb7c(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xc37(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    14cf <aa2Mass+0x3af>
movsd  0xb43(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    -0x10(%rbp),%rdi
lea    0xc0a(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1500 <aa2Mass+0x3e0>
movsd  0xb0a(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1521 <aa2Mass+0x401>
mov    0x2ad9(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xbd4(%rip),%rsi
call   1040 <fprintf@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<aa2Mass>:
push   %rbx
mov    %rdi,%rbx
lea    0xf6d(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1392 <aa2Mass+0x272>
lea    0xf57(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     139c <aa2Mass+0x27c>
lea    0xf3e(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13a6 <aa2Mass+0x286>
lea    0xf25(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13b0 <aa2Mass+0x290>
lea    0xf0c(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13ba <aa2Mass+0x29a>
lea    0xef3(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13c4 <aa2Mass+0x2a4>
lea    0xeda(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13ce <aa2Mass+0x2ae>
lea    0xec1(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13d8 <aa2Mass+0x2b8>
lea    0xea8(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13e2 <aa2Mass+0x2c2>
lea    0xe8f(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
movsd  0xe06(%rip),%xmm0
test   %rax,%rax
je     1390 <aa2Mass+0x270>
lea    0xe6e(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
movsd  0xde1(%rip),%xmm0
test   %rax,%rax
je     1390 <aa2Mass+0x270>
lea    0xe4d(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13ec <aa2Mass+0x2cc>
lea    0xe34(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     13f6 <aa2Mass+0x2d6>
lea    0xe1b(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1400 <aa2Mass+0x2e0>
lea    0xe02(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     140a <aa2Mass+0x2ea>
lea    0xde9(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1414 <aa2Mass+0x2f4>
lea    0xdd0(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     141e <aa2Mass+0x2fe>
lea    0xdb7(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1428 <aa2Mass+0x308>
lea    0xd9e(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1432 <aa2Mass+0x312>
lea    0xd85(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     143c <aa2Mass+0x31c>
mov    0x2c64(%rip),%rax
mov    (%rax),%edi
lea    0xd63(%rip),%rsi
mov    %rbx,%rdx
call   1040 <fprintf@plt>
xorps  %xmm0,%xmm0
pop    %rbx
ret
movsd  0xc66(%rip),%xmm0
pop    %rbx
ret
movsd  0xc64(%rip),%xmm0
pop    %rbx
ret
movsd  0xc62(%rip),%xmm0
pop    %rbx
ret
movsd  0xc60(%rip),%xmm0
pop    %rbx
ret
movsd  0xc5e(%rip),%xmm0
pop    %rbx
ret
movsd  0xc5c(%rip),%xmm0
pop    %rbx
ret
movsd  0xc5a(%rip),%xmm0
pop    %rbx
ret
movsd  0xc58(%rip),%xmm0
pop    %rbx
ret
movsd  0xc56(%rip),%xmm0
pop    %rbx
ret
movsd  0xc5c(%rip),%xmm0
pop    %rbx
ret
movsd  0xc5a(%rip),%xmm0
pop    %rbx
ret
movsd  0xc58(%rip),%xmm0
pop    %rbx
ret
movsd  0xc56(%rip),%xmm0
pop    %rbx
ret
movsd  0xc54(%rip),%xmm0
pop    %rbx
ret
movsd  0xc52(%rip),%xmm0
pop    %rbx
ret
movsd  0xc50(%rip),%xmm0
pop    %rbx
ret
movsd  0xc4e(%rip),%xmm0
pop    %rbx
ret
movsd  0xc4c(%rip),%xmm0
pop    %rbx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"ALA\00"
@.str.1 = [4 x i8] c"ARG\00"
@.str.2 = [4 x i8] c"ASN\00"
@.str.3 = [4 x i8] c"ASP\00"
@.str.4 = [4 x i8] c"CYS\00"
@.str.5 = [4 x i8] c"GLN\00"
@.str.6 = [4 x i8] c"GLU\00"
@.str.7 = [4 x i8] c"GLY\00"
@.str.8 = [4 x i8] c"HIS\00"
@.str.9 = [4 x i8] c"ILE\00"
@.str.10 = [4 x i8] c"LEU\00"
@.str.11 = [4 x i8] c"LYS\00"
@.str.12 = [4 x i8] c"MET\00"
@.str.13 = [4 x i8] c"PHE\00"
@.str.14 = [4 x i8] c"PRO\00"
@.str.15 = [4 x i8] c"SER\00"
@.str.16 = [4 x i8] c"THR\00"
@.str.17 = [4 x i8] c"TRP\00"
@.str.18 = [4 x i8] c"TYR\00"
@.str.19 = [4 x i8] c"VAL\00"
@stderr = global i32 0
@.str.20 = [43 x i8] c"ERROR: %s is unknown residue encountered!\0A\00"
@EXIT_FAILURE = global i32 0
define double @aa2Mass(i8* %0) {
%2 = alloca double
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i64 @strncmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store double 7.107790e+01, double* %2
br label %107
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i64 @strncmp(i8* %9, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 3)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store double 0x406385F141205BC0, double* %2
br label %107
13: ; preds = %8
%14 = load i8*, i8** %3
%15 = call i64 @strncmp(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 3)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store double 0x405C8690FF972474, double* %2
br label %107
18: ; preds = %13
%19 = load i8*, i8** %3
%20 = call i64 @strncmp(i8* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store double 0x405CC597F62B6AE8, double* %2
br label %107
23: ; preds = %18
%24 = load i8*, i8** %3
%25 = call i64 @strncmp(i8* %24, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store double 0x4059C925460AA64C, double* %2
br label %107
28: ; preds = %23
%29 = load i8*, i8** %3
%30 = call i64 @strncmp(i8* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 3)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store double 0x406004226809D495, double* %2
br label %107
33: ; preds = %28
%34 = load i8*, i8** %3
%35 = call i64 @strncmp(i8* %34, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 3)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store double 1.291140e+02, double* %2
br label %107
38: ; preds = %33
%39 = load i8*, i8** %3
%40 = call i64 @strncmp(i8* %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 3)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store double 5.705130e+01, double* %2
br label %107
43: ; preds = %38
%44 = load i8*, i8** %3
%45 = call i64 @strncmp(i8* %44, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 3)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store double 0x4061247525460AA6, double* %2
br label %107
48: ; preds = %43
%49 = load i8*, i8** %3
%50 = call i64 @strncmp(i8* %49, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 3)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store double 0x405C4A161E4F7660, double* %2
br label %107
53: ; preds = %48
%54 = load i8*, i8** %3
%55 = call i64 @strncmp(i8* %54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 3)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store double 0x405C4A161E4F7660, double* %2
br label %107
58: ; preds = %53
%59 = load i8*, i8** %3
%60 = call i64 @strncmp(i8* %59, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i32 3)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store double 0x406005837B4A233A, double* %2
br label %107
63: ; preds = %58
%64 = load i8*, i8** %3
%65 = call i64 @strncmp(i8* %64, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i32 3)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store double 0x406066467381D7DC, double* %2
br label %107
68: ; preds = %63
%69 = load i8*, i8** %3
%70 = call i64 @strncmp(i8* %69, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 3)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store double 0x4062659096BB98C8, double* %2
br label %107
73: ; preds = %68
%74 = load i8*, i8** %3
%75 = call i64 @strncmp(i8* %74, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i32 3)
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store double 9.711520e+01, double* %2
br label %107
78: ; preds = %73
%79 = load i8*, i8** %3
%80 = call i64 @strncmp(i8* %79, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i32 3)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store double 0x4055C4F27BB2FEC5, double* %2
br label %107
83: ; preds = %78
%84 = load i8*, i8** %3
%85 = call i64 @strncmp(i8* %84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i32 3)
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store double 0x405946A64C2F837B, double* %2
br label %107
88: ; preds = %83
%89 = load i8*, i8** %3
%90 = call i64 @strncmp(i8* %89, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i32 3)
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store double 0x406746B780346DC6, double* %2
br label %107
93: ; preds = %88
%94 = load i8*, i8** %3
%95 = call i64 @strncmp(i8* %94, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 3)
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
store double 0x4064658BAC710CB3, double* %2
br label %107
98: ; preds = %93
%99 = load i8*, i8** %3
%100 = call i64 @strncmp(i8* %99, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i32 3)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %98
store double 9.913110e+01, double* %2
br label %107
103: ; preds = %98
%104 = load i32, i32* @stderr
%105 = load i8*, i8** %3
%106 = call i32 @fprintf(i32 %104, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.20, i64 0, i64 0), i8* %105)
store double 0.000000e+00, double* %2
br label %107
107: ; preds = %103, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%108 = load double, double* %2
ret double %108
}

LLVM IR (-O2):
@.str = [4 x i8] c"ALA\00"
@.str.1 = [4 x i8] c"ARG\00"
@.str.2 = [4 x i8] c"ASN\00"
@.str.3 = [4 x i8] c"ASP\00"
@.str.4 = [4 x i8] c"CYS\00"
@.str.5 = [4 x i8] c"GLN\00"
@.str.6 = [4 x i8] c"GLU\00"
@.str.7 = [4 x i8] c"GLY\00"
@.str.8 = [4 x i8] c"HIS\00"
@.str.9 = [4 x i8] c"ILE\00"
@.str.10 = [4 x i8] c"LEU\00"
@.str.11 = [4 x i8] c"LYS\00"
@.str.12 = [4 x i8] c"MET\00"
@.str.13 = [4 x i8] c"PHE\00"
@.str.14 = [4 x i8] c"PRO\00"
@.str.15 = [4 x i8] c"SER\00"
@.str.16 = [4 x i8] c"THR\00"
@.str.17 = [4 x i8] c"TRP\00"
@.str.18 = [4 x i8] c"TYR\00"
@.str.19 = [4 x i8] c"VAL\00"
@stderr = global i32 0
@.str.20 = [43 x i8] c"ERROR: %s is unknown residue encountered!\0A\00"
@EXIT_FAILURE = global i32 0
define double @aa2Mass(i8* %0) {
%2 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 3)
%3 = icmp eq i64 %2, 0
br i1 %3, label %64, label %4
4: ; preds = %1
%5 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %64, label %7
7: ; preds = %4
%8 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 3)
%9 = icmp eq i64 %8, 0
br i1 %9, label %64, label %10
10: ; preds = %7
%11 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%12 = icmp eq i64 %11, 0
br i1 %12, label %64, label %13
13: ; preds = %10
%14 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 3)
%15 = icmp eq i64 %14, 0
br i1 %15, label %64, label %16
16: ; preds = %13
%17 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 3)
%18 = icmp eq i64 %17, 0
br i1 %18, label %64, label %19
19: ; preds = %16
%20 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %64, label %22
22: ; preds = %19
%23 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 3)
%24 = icmp eq i64 %23, 0
br i1 %24, label %64, label %25
25: ; preds = %22
%26 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 3)
%27 = icmp eq i64 %26, 0
br i1 %27, label %64, label %28
28: ; preds = %25
%29 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 3)
%30 = icmp eq i64 %29, 0
br i1 %30, label %64, label %31
31: ; preds = %28
%32 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 3)
%33 = icmp eq i64 %32, 0
br i1 %33, label %64, label %34
34: ; preds = %31
%35 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i32 3)
%36 = icmp eq i64 %35, 0
br i1 %36, label %64, label %37
37: ; preds = %34
%38 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i32 3)
%39 = icmp eq i64 %38, 0
br i1 %39, label %64, label %40
40: ; preds = %37
%41 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 3)
%42 = icmp eq i64 %41, 0
br i1 %42, label %64, label %43
43: ; preds = %40
%44 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i32 3)
%45 = icmp eq i64 %44, 0
br i1 %45, label %64, label %46
46: ; preds = %43
%47 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i32 3)
%48 = icmp eq i64 %47, 0
br i1 %48, label %64, label %49
49: ; preds = %46
%50 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i32 3)
%51 = icmp eq i64 %50, 0
br i1 %51, label %64, label %52
52: ; preds = %49
%53 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i32 3)
%54 = icmp eq i64 %53, 0
br i1 %54, label %64, label %55
55: ; preds = %52
%56 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 3)
%57 = icmp eq i64 %56, 0
br i1 %57, label %64, label %58
58: ; preds = %55
%59 = tail call i64 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i32 3)
%60 = icmp eq i64 %59, 0
br i1 %60, label %64, label %61
61: ; preds = %58
%62 = load i32, i32* @stderr
%63 = tail call i32 @fprintf(i32 %62, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.20, i64 0, i64 0), i8* %0)
br label %64
64: ; preds = %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1, %61
%65 = phi double [ 0.000000e+00, %61 ], [ 7.107790e+01, %1 ], [ 0x406385F141205BC0, %4 ], [ 0x405C8690FF972474, %7 ], [ 0x405CC597F62B6AE8, %10 ], [ 0x4059C925460AA64C, %13 ], [ 0x406004226809D495, %16 ], [ 1.291140e+02, %19 ], [ 5.705130e+01, %22 ], [ 0x4061247525460AA6, %25 ], [ 0x405C4A161E4F7660, %28 ], [ 0x405C4A161E4F7660, %31 ], [ 0x406005837B4A233A, %34 ], [ 0x406066467381D7DC, %37 ], [ 0x4062659096BB98C8, %40 ], [ 9.711520e+01, %43 ], [ 0x4055C4F27BB2FEC5, %46 ], [ 0x405946A64C2F837B, %49 ], [ 0x406746B780346DC6, %52 ], [ 0x4064658BAC710CB3, %55 ], [ 9.913110e+01, %58 ]
ret double %65
}