#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 */
float powf(int, int);
int strlen(char const *);
int /*<<< orphan*/ strncmp(char const *, char *, int);
float note2freq(const char *note, int octave) {
  int notenum = 0;
  float freq = 440.0;
  octave -= 3;
  if (!strncmp(note, "Si", sizeof("Si") - 1) ||
      !strncmp(note, "B", sizeof("B") - 1))
    notenum = 2;
  else if (!strncmp(note, "Do", sizeof("Do") - 1) ||
           !strncmp(note, "C", sizeof("C") - 1))
    notenum = 3;
  else if (!strncmp(note, "Re", sizeof("Re") - 1) ||
           !strncmp(note, "D", sizeof("D") - 1))
    notenum = 5;
  else if (!strncmp(note, "Mi", sizeof("Mi") - 1) ||
           !strncmp(note, "E", sizeof("E") - 1))
    notenum = 7;
  else if (!strncmp(note, "Fa", sizeof("Fa") - 1) ||
           !strncmp(note, "F", sizeof("F") - 1))
    notenum = 8;
  else if (!strncmp(note, "Sol", sizeof("Sol") - 1) ||
           !strncmp(note, "G", sizeof("G") - 1))
    notenum = 10;
  else if (!!strncmp(note, "La", sizeof("La") - 1) &&
           !!strncmp(note, "A", sizeof("A") - 1))
    return 0;
  switch (note[strlen(note) - 1]) {
  case '#':
  case 'd':
  case 's':
    notenum++;
    break;
  case 'b':
  case 'f':
    notenum--;
    break;
  }
  if (notenum == -1)
    notenum = 11;
  freq *= powf(2, octave + notenum / 12.0);
  return freq;
}


x86 assembly (clang, -O0):
<note2freq>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movss  0xeb2(%rip),%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x14(%rbp),%eax
sub    $0x3,%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xea9(%rip),%rsi
mov    $0x2,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1198 <note2freq+0x68>
mov    -0x10(%rbp),%rdi
lea    0xe8e(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    11a4 <note2freq+0x74>
movl   $0x2,-0x18(%rbp)
jmp    1373 <note2freq+0x243>
mov    -0x10(%rbp),%rdi
lea    0xe66(%rip),%rsi
mov    $0x2,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     11e0 <note2freq+0xb0>
mov    -0x10(%rbp),%rdi
lea    0xe4b(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    11ec <note2freq+0xbc>
movl   $0x3,-0x18(%rbp)
jmp    136e <note2freq+0x23e>
mov    -0x10(%rbp),%rdi
lea    0xe23(%rip),%rsi
mov    $0x2,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1228 <note2freq+0xf8>
mov    -0x10(%rbp),%rdi
lea    0xe08(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1234 <note2freq+0x104>
movl   $0x5,-0x18(%rbp)
jmp    1369 <note2freq+0x239>
mov    -0x10(%rbp),%rdi
lea    0xde0(%rip),%rsi
mov    $0x2,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1270 <note2freq+0x140>
mov    -0x10(%rbp),%rdi
lea    0xdc5(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    127c <note2freq+0x14c>
movl   $0x7,-0x18(%rbp)
jmp    1364 <note2freq+0x234>
mov    -0x10(%rbp),%rdi
lea    0xd9d(%rip),%rsi
mov    $0x2,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     12b8 <note2freq+0x188>
mov    -0x10(%rbp),%rdi
lea    0xd82(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    12c4 <note2freq+0x194>
movl   $0x8,-0x18(%rbp)
jmp    135f <note2freq+0x22f>
mov    -0x10(%rbp),%rdi
lea    0xd5a(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1300 <note2freq+0x1d0>
mov    -0x10(%rbp),%rdi
lea    0xd40(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    130c <note2freq+0x1dc>
movl   $0xa,-0x18(%rbp)
jmp    135a <note2freq+0x22a>
mov    -0x10(%rbp),%rdi
lea    0xd18(%rip),%rsi
mov    $0x2,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1355 <note2freq+0x225>
mov    -0x10(%rbp),%rdi
lea    0xcfd(%rip),%rsi
mov    $0x1,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1355 <note2freq+0x225>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x4(%rbp)
jmp    1449 <note2freq+0x319>
jmp    135a <note2freq+0x22a>
jmp    135f <note2freq+0x22f>
jmp    1364 <note2freq+0x234>
jmp    1369 <note2freq+0x239>
jmp    136e <note2freq+0x23e>
jmp    1373 <note2freq+0x243>
mov    -0x10(%rbp),%rdi
mov    %rdi,-0x28(%rbp)
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%rax
add    $0xffffffff,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x20(%rbp)
sub    $0x23,%eax
je     13e5 <note2freq+0x2b5>
jmp    13a1 <note2freq+0x271>
mov    -0x20(%rbp),%eax
sub    $0x62,%eax
je     13f3 <note2freq+0x2c3>
jmp    13b2 <note2freq+0x282>
mov    -0x20(%rbp),%eax
sub    $0x64,%eax
je     13e5 <note2freq+0x2b5>
jmp    13c3 <note2freq+0x293>
mov    -0x20(%rbp),%eax
sub    $0x66,%eax
je     13f3 <note2freq+0x2c3>
jmp    13d4 <note2freq+0x2a4>
mov    -0x20(%rbp),%eax
sub    $0x73,%eax
jne    13fc <note2freq+0x2cc>
jmp    13e5 <note2freq+0x2b5>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13fc <note2freq+0x2cc>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    140d <note2freq+0x2dd>
movl   $0xb,-0x18(%rbp)
cvtsi2sdl -0x14(%rbp),%xmm0
cvtsi2sdl -0x18(%rbp),%xmm1
movsd  0xbe9(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%esi
mov    $0x2,%edi
call   1040 <powf@plt>
mulss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x4(%rbp)
movss  -0x4(%rbp),%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<note2freq>:
push   %rbp
push   %r14
push   %rbx
mov    %esi,%r14d
mov    %rdi,%rbx
lea    0xf13(%rip),%rsi
mov    $0x2,%ebp
mov    $0x2,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xef8(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xede(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <strncmp@plt>
mov    $0x3,%ebp
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xec0(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xea6(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <strncmp@plt>
mov    $0x5,%ebp
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xe88(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xe6e(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <strncmp@plt>
mov    $0x7,%ebp
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xe50(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xe36(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <strncmp@plt>
mov    $0x8,%ebp
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xe18(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xe02(%rip),%rsi
mov    %rbx,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
mov    $0xa,%ebp
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xde9(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xdd3(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <strncmp@plt>
xor    %ebp,%ebp
test   %eax,%eax
je     12ce <note2freq+0x19e>
lea    0xdbc(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <strncmp@plt>
xorps  %xmm0,%xmm0
test   %eax,%eax
jne    133f <note2freq+0x20f>
add    $0xfffffffd,%r14d
mov    %rbx,%rdi
call   1050 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbx,1),%ecx
lea    -0x62(%rcx),%eax
cmp    $0x11,%eax
ja     12fe <note2freq+0x1ce>
lea    0xd1c(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
add    $0xffffffff,%ebp
jmp    1306 <note2freq+0x1d6>
cmp    $0x23,%ecx
jne    1306 <note2freq+0x1d6>
add    $0x1,%ebp
cmp    $0xffffffff,%ebp
mov    $0xb,%eax
cmovne %ebp,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %r14d,%xmm0
cvtsi2sd %eax,%xmm1
divsd  0xcdb(%rip),%xmm1
addsd  %xmm0,%xmm1
cvttsd2si %xmm1,%esi
mov    $0x2,%edi
call   1040 <powf@plt>
mulss  0xcc9(%rip),%xmm0
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"Si\00"
@.str.1 = [2 x i8] c"B\00"
@.str.2 = [3 x i8] c"Do\00"
@.str.3 = [2 x i8] c"C\00"
@.str.4 = [3 x i8] c"Re\00"
@.str.5 = [2 x i8] c"D\00"
@.str.6 = [3 x i8] c"Mi\00"
@.str.7 = [2 x i8] c"E\00"
@.str.8 = [3 x i8] c"Fa\00"
@.str.9 = [2 x i8] c"F\00"
@.str.10 = [4 x i8] c"Sol\00"
@.str.11 = [2 x i8] c"G\00"
@.str.12 = [3 x i8] c"La\00"
@.str.13 = [2 x i8] c"A\00"
define float @note2freq(i8* %0, i32 %1) {
%3 = alloca float
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca float
store i8* %0, i8** %4
store i32 %1, i32* %5
store i32 0, i32* %6
store float 4.400000e+02, float* %7
%8 = load i32, i32* %5
%9 = sub nsw i32 %8, 3
store i32 %9, i32* %5
%10 = load i8*, i8** %4
%11 = call i32 @strncmp(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2)
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i8*, i8** %4
%15 = call i32 @strncmp(i8* %14, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 1)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13, %2
store i32 2, i32* %6
br label %78
18: ; preds = %13
%19 = load i8*, i8** %4
%20 = call i32 @strncmp(i8* %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 2)
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i8*, i8** %4
%24 = call i32 @strncmp(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 1)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %22, %18
store i32 3, i32* %6
br label %77
27: ; preds = %22
%28 = load i8*, i8** %4
%29 = call i32 @strncmp(i8* %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 2)
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i8*, i8** %4
%33 = call i32 @strncmp(i8* %32, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 1)
%34 = icmp ne i32 %33, 0
br i1 %34, label %36, label %35
35: ; preds = %31, %27
store i32 5, i32* %6
br label %76
36: ; preds = %31
%37 = load i8*, i8** %4
%38 = call i32 @strncmp(i8* %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 2)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i8*, i8** %4
%42 = call i32 @strncmp(i8* %41, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 1)
%43 = icmp ne i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %40, %36
store i32 7, i32* %6
br label %75
45: ; preds = %40
%46 = load i8*, i8** %4
%47 = call i32 @strncmp(i8* %46, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 2)
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = load i8*, i8** %4
%51 = call i32 @strncmp(i8* %50, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32 1)
%52 = icmp ne i32 %51, 0
br i1 %52, label %54, label %53
53: ; preds = %49, %45
store i32 8, i32* %6
br label %74
54: ; preds = %49
%55 = load i8*, i8** %4
%56 = call i32 @strncmp(i8* %55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 3)
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = load i8*, i8** %4
%60 = call i32 @strncmp(i8* %59, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i32 1)
%61 = icmp ne i32 %60, 0
br i1 %61, label %63, label %62
62: ; preds = %58, %54
store i32 10, i32* %6
br label %73
63: ; preds = %58
%64 = load i8*, i8** %4
%65 = call i32 @strncmp(i8* %64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32 2)
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %72
67: ; preds = %63
%68 = load i8*, i8** %4
%69 = call i32 @strncmp(i8* %68, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i32 1)
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %67
store float 0.000000e+00, float* %3
br label %109
72: ; preds = %67, %63
br label %73
73: ; preds = %72, %62
br label %74
74: ; preds = %73, %53
br label %75
75: ; preds = %74, %44
br label %76
76: ; preds = %75, %35
br label %77
77: ; preds = %76, %26
br label %78
78: ; preds = %77, %17
%79 = load i8*, i8** %4
%80 = load i8*, i8** %4
%81 = call i32 @strlen(i8* %80)
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, i8* %79, i64 %83
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
switch i32 %86, label %93 [
i32 35, label %87
i32 100, label %87
i32 115, label %87
i32 98, label %90
i32 102, label %90
]
87: ; preds = %78, %78, %78
%88 = load i32, i32* %6
%89 = add nsw i32 %88, 1
store i32 %89, i32* %6
br label %93
90: ; preds = %78, %78
%91 = load i32, i32* %6
%92 = add nsw i32 %91, -1
store i32 %92, i32* %6
br label %93
93: ; preds = %78, %90, %87
%94 = load i32, i32* %6
%95 = icmp eq i32 %94, -1
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 11, i32* %6
br label %97
97: ; preds = %96, %93
%98 = load i32, i32* %5
%99 = sitofp i32 %98 to double
%100 = load i32, i32* %6
%101 = sitofp i32 %100 to double
%102 = fdiv double %101, 1.200000e+01
%103 = fadd double %99, %102
%104 = fptosi double %103 to i32
%105 = call float @powf(i32 2, i32 %104)
%106 = load float, float* %7
%107 = fmul float %106, %105
store float %107, float* %7
%108 = load float, float* %7
store float %108, float* %3
br label %109
109: ; preds = %97, %71
%110 = load float, float* %3
ret float %110
}

LLVM IR (-O2):
@.str = [3 x i8] c"Si\00"
@.str.1 = [2 x i8] c"B\00"
@.str.2 = [3 x i8] c"Do\00"
@.str.3 = [2 x i8] c"C\00"
@.str.4 = [3 x i8] c"Re\00"
@.str.5 = [2 x i8] c"D\00"
@.str.6 = [3 x i8] c"Mi\00"
@.str.7 = [2 x i8] c"E\00"
@.str.8 = [3 x i8] c"Fa\00"
@.str.9 = [2 x i8] c"F\00"
@.str.10 = [4 x i8] c"Sol\00"
@.str.11 = [2 x i8] c"G\00"
@.str.12 = [3 x i8] c"La\00"
@.str.13 = [2 x i8] c"A\00"
define float @note2freq(i8* %0, i32 %1) {
%3 = add nsw i32 %1, -3
%4 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2)
%5 = icmp eq i32 %4, 0
br i1 %5, label %45, label %6
6: ; preds = %2
%7 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 1)
%8 = icmp eq i32 %7, 0
br i1 %8, label %45, label %9
9: ; preds = %6
%10 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 2)
%11 = icmp eq i32 %10, 0
br i1 %11, label %45, label %12
12: ; preds = %9
%13 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %45, label %15
15: ; preds = %12
%16 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 2)
%17 = icmp eq i32 %16, 0
br i1 %17, label %45, label %18
18: ; preds = %15
%19 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 1)
%20 = icmp eq i32 %19, 0
br i1 %20, label %45, label %21
21: ; preds = %18
%22 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 2)
%23 = icmp eq i32 %22, 0
br i1 %23, label %45, label %24
24: ; preds = %21
%25 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 1)
%26 = icmp eq i32 %25, 0
br i1 %26, label %45, label %27
27: ; preds = %24
%28 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 2)
%29 = icmp eq i32 %28, 0
br i1 %29, label %45, label %30
30: ; preds = %27
%31 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32 1)
%32 = icmp eq i32 %31, 0
br i1 %32, label %45, label %33
33: ; preds = %30
%34 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 3)
%35 = icmp eq i32 %34, 0
br i1 %35, label %45, label %36
36: ; preds = %33
%37 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i32 1)
%38 = icmp eq i32 %37, 0
br i1 %38, label %45, label %39
39: ; preds = %36
%40 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32 2)
%41 = icmp eq i32 %40, 0
br i1 %41, label %45, label %42
42: ; preds = %39
%43 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i32 1)
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %68
45: ; preds = %33, %36, %27, %30, %21, %24, %15, %18, %9, %12, %2, %6, %42, %39
%46 = phi i32 [ 0, %42 ], [ 0, %39 ], [ 2, %6 ], [ 2, %2 ], [ 3, %12 ], [ 3, %9 ], [ 5, %18 ], [ 5, %15 ], [ 7, %24 ], [ 7, %21 ], [ 8, %30 ], [ 8, %27 ], [ 10, %36 ], [ 10, %33 ]
%47 = tail call i32 @strlen(i8* %0)
%48 = add nsw i32 %47, -1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %0, i64 %49
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
switch i32 %52, label %57 [
i32 35, label %53
i32 100, label %53
i32 115, label %53
i32 98, label %55
i32 102, label %55
]
53: ; preds = %45, %45, %45
%54 = add nuw nsw i32 %46, 1
br label %57
55: ; preds = %45, %45
%56 = add nsw i32 %46, -1
br label %57
57: ; preds = %45, %55, %53
%58 = phi i32 [ %46, %45 ], [ %56, %55 ], [ %54, %53 ]
%59 = icmp eq i32 %58, -1
%60 = select i1 %59, i32 11, i32 %58
%61 = sitofp i32 %3 to double
%62 = sitofp i32 %60 to double
%63 = fdiv double %62, 1.200000e+01
%64 = fadd double %63, %61
%65 = fptosi double %64 to i32
%66 = tail call float @powf(i32 2, i32 %65)
%67 = fmul float %66, 4.400000e+02
br label %68
68: ; preds = %42, %57
%69 = phi float [ %67, %57 ], [ 0.000000e+00, %42 ]
ret float %69
}