#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 */
double acos(double);
double asin(double);
double atan2(double, double);
double ceil(double);
double cos(double);
double exp(double);
double fabs(double);
double floor(double);
double log(double);
double round(double);
double sin(double);
double sqrt(double);
int /*<<< orphan*/ strcasecmp(char *, char *);
double tan(double);
double _do_function(char *fname, double arg1, double arg2) {
  if (!strcasecmp(fname, "ABS"))
    return fabs(arg1);
  if (!strcasecmp(fname, "ASIN"))
    return asin(arg1) * 57.2957795131;
  if (!strcasecmp(fname, "ACOS"))
    return acos(arg1) * 57.2957795131;
  if (!strcasecmp(fname, "ATAN"))
    return atan2(arg1, arg2) * 57.2957795131;
  if (!strcasecmp(fname, "COS"))
    return cos(arg1 * 0.0174532925199);
  if (!strcasecmp(fname, "EXP"))
    return exp(arg1);
  if (!strcasecmp(fname, "FIX"))
    return floor(arg1);
  if (!strcasecmp(fname, "FUP"))
    return ceil(arg1);
  if (!strcasecmp(fname, "LN"))
    return log(arg1);
  if (!strcasecmp(fname, "ROUND"))
    return round(arg1);
  if (!strcasecmp(fname, "SIN"))
    return sin(arg1 * 0.0174532925199);
  if (!strcasecmp(fname, "SQRT"))
    return sqrt(arg1);
  if (!strcasecmp(fname, "TAN"))
    return tan(arg1 * 0.0174532925199);
  return 0;
}


x86 assembly (clang, -O0):
<_do_function>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe2f(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1219 <_do_function+0x49>
movsd  -0x18(%rbp),%xmm0
movaps 0xdf5(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xe00(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1252 <_do_function+0x82>
movsd  -0x18(%rbp),%xmm0
call   1080 <asin@plt>
movsd  0xdcc(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xdcc(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    128b <_do_function+0xbb>
movsd  -0x18(%rbp),%xmm0
call   1060 <acos@plt>
movsd  0xd93(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xd98(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    12c9 <_do_function+0xf9>
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
call   1050 <atan2@plt>
movsd  0xd55(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xd56(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    12fe <_do_function+0x12e>
movsd  0xd2e(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
call   10b0 <cos@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xd2a(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    132b <_do_function+0x15b>
movsd  -0x18(%rbp),%xmm0
call   1090 <exp@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xd01(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1358 <_do_function+0x188>
movsd  -0x18(%rbp),%xmm0
call   10f0 <floor@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xcd8(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1385 <_do_function+0x1b5>
movsd  -0x18(%rbp),%xmm0
call   1040 <ceil@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xcaf(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    13b2 <_do_function+0x1e2>
movsd  -0x18(%rbp),%xmm0
call   10c0 <log@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xc85(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    13df <_do_function+0x20f>
movsd  -0x18(%rbp),%xmm0
call   10d0 <round@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xc3b(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1414 <_do_function+0x244>
movsd  0xc18(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
call   1070 <sin@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xc29(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1441 <_do_function+0x271>
movsd  -0x18(%rbp),%xmm0
call   10e0 <sqrt@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xbe3(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1476 <_do_function+0x2a6>
movsd  0xbb6(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
call   10a0 <tan@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    147e <_do_function+0x2ae>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_do_function>:
push   %rbx
sub    $0x20,%rsp
movsd  %xmm1,0x18(%rsp)
movapd %xmm0,(%rsp)
mov    %rdi,%rbx
lea    0xe36(%rip),%rsi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1322 <_do_function+0x152>
lea    0xe26(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1331 <_do_function+0x161>
lea    0xe14(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     133d <_do_function+0x16d>
lea    0xe02(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1349 <_do_function+0x179>
lea    0xde7(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1367 <_do_function+0x197>
lea    0xdd9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     137e <_do_function+0x1ae>
lea    0xdc6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     138c <_do_function+0x1bc>
lea    0xdb3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     139a <_do_function+0x1ca>
lea    0xda0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     13a8 <_do_function+0x1d8>
lea    0xd8c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     13b6 <_do_function+0x1e6>
lea    0xd58(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     13c4 <_do_function+0x1f4>
lea    0xd64(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     13db <_do_function+0x20b>
lea    0xd34(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
xorpd  %xmm0,%xmm0
test   %eax,%eax
jne    1361 <_do_function+0x191>
movapd (%rsp),%xmm0
mulsd  0xce8(%rip),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    10a0 <tan@plt>
movapd (%rsp),%xmm0
andpd  0xce1(%rip),%xmm0
jmp    1361 <_do_function+0x191>
movapd (%rsp),%xmm0
call   1080 <asin@plt>
jmp    1359 <_do_function+0x189>
movapd (%rsp),%xmm0
call   1060 <acos@plt>
jmp    1359 <_do_function+0x189>
movapd (%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
call   1050 <atan2@plt>
mulsd  0xca7(%rip),%xmm0
add    $0x20,%rsp
pop    %rbx
ret
movapd (%rsp),%xmm0
mulsd  0xc8c(%rip),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    10b0 <cos@plt>
movaps (%rsp),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    1090 <exp@plt>
movaps (%rsp),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    10f0 <floor@plt>
movaps (%rsp),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    1040 <ceil@plt>
movaps (%rsp),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    10c0 <log@plt>
movaps (%rsp),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    10d0 <round@plt>
movapd (%rsp),%xmm0
mulsd  0xc2f(%rip),%xmm0
add    $0x20,%rsp
pop    %rbx
jmp    1070 <sin@plt>
xorpd  %xmm0,%xmm0
movapd (%rsp),%xmm1
ucomisd %xmm0,%xmm1
movapd %xmm1,%xmm0
jb     13f7 <_do_function+0x227>
sqrtsd %xmm0,%xmm0
jmp    1361 <_do_function+0x191>
add    $0x20,%rsp
pop    %rbx
jmp    10e0 <sqrt@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"ABS\00"
@.str.1 = [5 x i8] c"ASIN\00"
@.str.2 = [5 x i8] c"ACOS\00"
@.str.3 = [5 x i8] c"ATAN\00"
@.str.4 = [4 x i8] c"COS\00"
@.str.5 = [4 x i8] c"EXP\00"
@.str.6 = [4 x i8] c"FIX\00"
@.str.7 = [4 x i8] c"FUP\00"
@.str.8 = [3 x i8] c"LN\00"
@.str.9 = [6 x i8] c"ROUND\00"
@.str.10 = [4 x i8] c"SIN\00"
@.str.11 = [5 x i8] c"SQRT\00"
@.str.12 = [4 x i8] c"TAN\00"
define double @_do_function(i8* %0, double %1, double %2) {
%4 = alloca double
%5 = alloca i8*
%6 = alloca double
%7 = alloca double
store i8* %0, i8** %5
store double %1, double* %6
store double %2, double* %7
%8 = load i8*, i8** %5
%9 = call i32 @strcasecmp(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%10 = icmp ne i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load double, double* %6
%13 = call double @llvm.fabs.f64(double %12)
store double %13, double* %4
br label %106
14: ; preds = %3
%15 = load i8*, i8** %5
%16 = call i32 @strcasecmp(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%17 = icmp ne i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load double, double* %6
%20 = call double @asin(double %19)
%21 = fmul double %20, 0x404CA5DC1A63CBB0
store double %21, double* %4
br label %106
22: ; preds = %14
%23 = load i8*, i8** %5
%24 = call i32 @strcasecmp(i8* %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%25 = icmp ne i32 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load double, double* %6
%28 = call double @acos(double %27)
%29 = fmul double %28, 0x404CA5DC1A63CBB0
store double %29, double* %4
br label %106
30: ; preds = %22
%31 = load i8*, i8** %5
%32 = call i32 @strcasecmp(i8* %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%33 = icmp ne i32 %32, 0
br i1 %33, label %39, label %34
34: ; preds = %30
%35 = load double, double* %6
%36 = load double, double* %7
%37 = call double @atan2(double %35, double %36)
%38 = fmul double %37, 0x404CA5DC1A63CBB0
store double %38, double* %4
br label %106
39: ; preds = %30
%40 = load i8*, i8** %5
%41 = call i32 @strcasecmp(i8* %40, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%42 = icmp ne i32 %41, 0
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = load double, double* %6
%45 = fmul double %44, 0x3F91DF46A2526C7A
%46 = call double @cos(double %45)
store double %46, double* %4
br label %106
47: ; preds = %39
%48 = load i8*, i8** %5
%49 = call i32 @strcasecmp(i8* %48, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%50 = icmp ne i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %47
%52 = load double, double* %6
%53 = call double @exp(double %52)
store double %53, double* %4
br label %106
54: ; preds = %47
%55 = load i8*, i8** %5
%56 = call i32 @strcasecmp(i8* %55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%57 = icmp ne i32 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %54
%59 = load double, double* %6
%60 = call double @llvm.floor.f64(double %59)
store double %60, double* %4
br label %106
61: ; preds = %54
%62 = load i8*, i8** %5
%63 = call i32 @strcasecmp(i8* %62, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%64 = icmp ne i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %61
%66 = load double, double* %6
%67 = call double @llvm.ceil.f64(double %66)
store double %67, double* %4
br label %106
68: ; preds = %61
%69 = load i8*, i8** %5
%70 = call i32 @strcasecmp(i8* %69, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%71 = icmp ne i32 %70, 0
br i1 %71, label %75, label %72
72: ; preds = %68
%73 = load double, double* %6
%74 = call double @log(double %73)
store double %74, double* %4
br label %106
75: ; preds = %68
%76 = load i8*, i8** %5
%77 = call i32 @strcasecmp(i8* %76, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%78 = icmp ne i32 %77, 0
br i1 %78, label %82, label %79
79: ; preds = %75
%80 = load double, double* %6
%81 = call double @llvm.round.f64(double %80)
store double %81, double* %4
br label %106
82: ; preds = %75
%83 = load i8*, i8** %5
%84 = call i32 @strcasecmp(i8* %83, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%85 = icmp ne i32 %84, 0
br i1 %85, label %90, label %86
86: ; preds = %82
%87 = load double, double* %6
%88 = fmul double %87, 0x3F91DF46A2526C7A
%89 = call double @sin(double %88)
store double %89, double* %4
br label %106
90: ; preds = %82
%91 = load i8*, i8** %5
%92 = call i32 @strcasecmp(i8* %91, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%93 = icmp ne i32 %92, 0
br i1 %93, label %97, label %94
94: ; preds = %90
%95 = load double, double* %6
%96 = call double @sqrt(double %95)
store double %96, double* %4
br label %106
97: ; preds = %90
%98 = load i8*, i8** %5
%99 = call i32 @strcasecmp(i8* %98, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%100 = icmp ne i32 %99, 0
br i1 %100, label %105, label %101
101: ; preds = %97
%102 = load double, double* %6
%103 = fmul double %102, 0x3F91DF46A2526C7A
%104 = call double @tan(double %103)
store double %104, double* %4
br label %106
105: ; preds = %97
store double 0.000000e+00, double* %4
br label %106
106: ; preds = %105, %101, %94, %86, %79, %72, %65, %58, %51, %43, %34, %26, %18, %11
%107 = load double, double* %4
ret double %107
}

LLVM IR (-O2):
@.str = [4 x i8] c"ABS\00"
@.str.1 = [5 x i8] c"ASIN\00"
@.str.2 = [5 x i8] c"ACOS\00"
@.str.3 = [5 x i8] c"ATAN\00"
@.str.4 = [4 x i8] c"COS\00"
@.str.5 = [4 x i8] c"EXP\00"
@.str.6 = [4 x i8] c"FIX\00"
@.str.7 = [4 x i8] c"FUP\00"
@.str.8 = [3 x i8] c"LN\00"
@.str.9 = [6 x i8] c"ROUND\00"
@.str.10 = [4 x i8] c"SIN\00"
@.str.11 = [5 x i8] c"SQRT\00"
@.str.12 = [4 x i8] c"TAN\00"
define double @_do_function(i8* nocapture %0, double %1, double %2) {
%4 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call double @llvm.fabs.f64(double %1)
br label %74
8: ; preds = %3
%9 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = tail call double @asin(double %1)
%13 = fmul double %12, 0x404CA5DC1A63CBB0
br label %74
14: ; preds = %8
%15 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = tail call double @acos(double %1)
%19 = fmul double %18, 0x404CA5DC1A63CBB0
br label %74
20: ; preds = %14
%21 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = tail call double @atan2(double %1, double %2)
%25 = fmul double %24, 0x404CA5DC1A63CBB0
br label %74
26: ; preds = %20
%27 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = fmul double %1, 0x3F91DF46A2526C7A
%31 = tail call double @cos(double %30)
br label %74
32: ; preds = %26
%33 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = tail call double @exp(double %1)
br label %74
37: ; preds = %32
%38 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = tail call double @llvm.floor.f64(double %1)
br label %74
42: ; preds = %37
%43 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = tail call double @llvm.ceil.f64(double %1)
br label %74
47: ; preds = %42
%48 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = tail call double @log(double %1)
br label %74
52: ; preds = %47
%53 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = tail call double @llvm.round.f64(double %1)
br label %74
57: ; preds = %52
%58 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = fmul double %1, 0x3F91DF46A2526C7A
%62 = tail call double @sin(double %61)
br label %74
63: ; preds = %57
%64 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = tail call double @sqrt(double %1)
br label %74
68: ; preds = %63
%69 = tail call i32 @strcasecmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = fmul double %1, 0x3F91DF46A2526C7A
%73 = tail call double @tan(double %72)
br label %74
74: ; preds = %68, %71, %66, %60, %55, %50, %45, %40, %35, %29, %23, %17, %11, %6
%75 = phi double [ %73, %71 ], [ %67, %66 ], [ %62, %60 ], [ %56, %55 ], [ %51, %50 ], [ %46, %45 ], [ %41, %40 ], [ %36, %35 ], [ %31, %29 ], [ %25, %23 ], [ %19, %17 ], [ %13, %11 ], [ %7, %6 ], [ 0.000000e+00, %68 ]
ret double %75
}