#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*/ strcasecmp(char *, char *);
double strtod(char *, char **);
int freqstr(char *str, double *freq) {
  char *end;
  double f = strtod(str, &end);
  int result = 0;
  if (!*end)
    result = -1;
  else if (!strcasecmp(end, "hz"))
    ;
  else if (!strcasecmp(end, "khz"))
    f *= 1E3;
  else if (!strcasecmp(end, "mhz"))
    f *= 1E6;
  else if (!strcasecmp(end, "ghz"))
    f *= 1E9;
  else if (!strcasecmp(end, "sec") || !strcasecmp(end, "s"))
    f = 1.0 / f;
  else if (!strcasecmp(end, "msec") || !strcasecmp(end, "ms"))
    f = 1E3 / f;
  else if (!strcasecmp(end, "usec") || !strcasecmp(end, "us"))
    f = 1E6 / f;
  else if (!strcasecmp(end, "nsec") || !strcasecmp(end, "ns"))
    f = 1E9 / f;
  else if (!strcasecmp(end, "psec") || !strcasecmp(end, "ps"))
    f = 1E12 / f;
  else
    result = -1;
  if (result == 0 && freq != NULL)
    *freq = f;
  return result;
}


x86 assembly (clang, -O0):
<freqstr>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <strtod@plt>
movsd  %xmm0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x18(%rbp),%rax
cmpb   $0x0,(%rax)
jne    1162 <freqstr+0x42>
movl   $0xffffffff,-0x24(%rbp)
jmp    13b1 <freqstr+0x291>
mov    -0x18(%rbp),%rdi
lea    0xec4(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1180 <freqstr+0x60>
jmp    13ac <freqstr+0x28c>
mov    -0x18(%rbp),%rdi
lea    0xe9d(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    11b0 <freqstr+0x90>
movsd  0xe5f(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    13a7 <freqstr+0x287>
mov    -0x18(%rbp),%rdi
lea    0xe71(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    11e0 <freqstr+0xc0>
movsd  0xe37(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    13a2 <freqstr+0x282>
mov    -0x18(%rbp),%rdi
lea    0xe45(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1210 <freqstr+0xf0>
movsd  0xe0f(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    139d <freqstr+0x27d>
mov    -0x18(%rbp),%rdi
lea    0xe1a(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
je     1242 <freqstr+0x122>
mov    -0x18(%rbp),%rdi
lea    0xe06(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1259 <freqstr+0x139>
movsd  0xdce(%rip),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    1398 <freqstr+0x278>
mov    -0x18(%rbp),%rdi
lea    0xdd0(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
je     128b <freqstr+0x16b>
mov    -0x18(%rbp),%rdi
lea    0xdbc(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    12a2 <freqstr+0x182>
movsd  0xd6d(%rip),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    1393 <freqstr+0x273>
mov    -0x18(%rbp),%rdi
lea    0xd8f(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
je     12d4 <freqstr+0x1b4>
mov    -0x18(%rbp),%rdi
lea    0xd7b(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    12eb <freqstr+0x1cb>
movsd  0xd2c(%rip),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    138e <freqstr+0x26e>
mov    -0x18(%rbp),%rdi
lea    0xd4e(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
je     131d <freqstr+0x1fd>
mov    -0x18(%rbp),%rdi
lea    0xd3a(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    1334 <freqstr+0x214>
movsd  0xceb(%rip),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    1389 <freqstr+0x269>
mov    -0x18(%rbp),%rdi
lea    0xd0d(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
je     1366 <freqstr+0x246>
mov    -0x18(%rbp),%rdi
lea    0xcf9(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%eax
jne    137d <freqstr+0x25d>
movsd  0xcb2(%rip),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    1384 <freqstr+0x264>
movl   $0xffffffff,-0x24(%rbp)
jmp    1389 <freqstr+0x269>
jmp    138e <freqstr+0x26e>
jmp    1393 <freqstr+0x273>
jmp    1398 <freqstr+0x278>
jmp    139d <freqstr+0x27d>
jmp    13a2 <freqstr+0x282>
jmp    13a7 <freqstr+0x287>
jmp    13ac <freqstr+0x28c>
jmp    13b1 <freqstr+0x291>
cmpl   $0x0,-0x24(%rbp)
jne    13d3 <freqstr+0x2b3>
cmpq   $0x0,-0x10(%rbp)
je     13d3 <freqstr+0x2b3>
movsd  -0x20(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x24(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<freqstr>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%r14
lea    0x8(%rsp),%rsi
call   1040 <strtod@plt>
mov    0x8(%rsp),%rbx
mov    $0xffffffff,%ebp
cmpb   $0x0,(%rbx)
je     12fc <freqstr+0x1dc>
movsd  %xmm0,(%rsp)
lea    0xedd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1291 <freqstr+0x171>
lea    0xebd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1298 <freqstr+0x178>
lea    0xeaa(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12a7 <freqstr+0x187>
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12c0 <freqstr+0x1a0>
lea    0xe85(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12b6 <freqstr+0x196>
lea    0xe73(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12b6 <freqstr+0x196>
lea    0xe56(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12cf <freqstr+0x1af>
lea    0xe44(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12cf <freqstr+0x1af>
lea    0xe30(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12d9 <freqstr+0x1b9>
lea    0xe1e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12d9 <freqstr+0x1b9>
lea    0xe0a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12e3 <freqstr+0x1c3>
lea    0xdf8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     12e3 <freqstr+0x1c3>
lea    0xde4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
je     1287 <freqstr+0x167>
lea    0xdd6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %eax,%eax
jne    12fc <freqstr+0x1dc>
movsd  0xd71(%rip),%xmm0
jmp    12eb <freqstr+0x1cb>
movsd  (%rsp),%xmm0
jmp    12f0 <freqstr+0x1d0>
movsd  (%rsp),%xmm0
mulsd  0xd73(%rip),%xmm0
jmp    12f0 <freqstr+0x1d0>
movsd  (%rsp),%xmm0
mulsd  0xd5c(%rip),%xmm0
jmp    12f0 <freqstr+0x1d0>
movsd  0xd62(%rip),%xmm0
jmp    12eb <freqstr+0x1cb>
movsd  (%rsp),%xmm0
mulsd  0xd3b(%rip),%xmm0
jmp    12f0 <freqstr+0x1d0>
movsd  0xd41(%rip),%xmm0
jmp    12eb <freqstr+0x1cb>
movsd  0xd2f(%rip),%xmm0
jmp    12eb <freqstr+0x1cb>
movsd  0xd1d(%rip),%xmm0
divsd  (%rsp),%xmm0
xor    %ebp,%ebp
test   %r14,%r14
je     12fc <freqstr+0x1dc>
movsd  %xmm0,(%r14)
mov    %ebp,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"hz\00"
@.str.1 = [4 x i8] c"khz\00"
@.str.2 = [4 x i8] c"mhz\00"
@.str.3 = [4 x i8] c"ghz\00"
@.str.4 = [4 x i8] c"sec\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [5 x i8] c"msec\00"
@.str.7 = [3 x i8] c"ms\00"
@.str.8 = [5 x i8] c"usec\00"
@.str.9 = [3 x i8] c"us\00"
@.str.10 = [5 x i8] c"nsec\00"
@.str.11 = [3 x i8] c"ns\00"
@.str.12 = [5 x i8] c"psec\00"
@.str.13 = [3 x i8] c"ps\00"
define i32 @freqstr(i8* %0, double* %1) {
%3 = alloca i8*
%4 = alloca double*
%5 = alloca i8*
%6 = alloca double
%7 = alloca i32
store i8* %0, i8** %3
store double* %1, double** %4
%8 = load i8*, i8** %3
%9 = call double @strtod(i8* %8, i8** %5)
store double %9, double* %6
store i32 0, i32* %7
%10 = load i8*, i8** %5
%11 = load i8, i8* %10
%12 = icmp ne i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %2
store i32 -1, i32* %7
br label %105
14: ; preds = %2
%15 = load i8*, i8** %5
%16 = call i32 @strcasecmp(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14
br label %104
19: ; preds = %14
%20 = load i8*, i8** %5
%21 = call i32 @strcasecmp(i8* %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %19
%24 = load double, double* %6
%25 = fmul double %24, 1.000000e+03
store double %25, double* %6
br label %103
26: ; preds = %19
%27 = load i8*, i8** %5
%28 = call i32 @strcasecmp(i8* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%29 = icmp ne i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %26
%31 = load double, double* %6
%32 = fmul double %31, 1.000000e+06
store double %32, double* %6
br label %102
33: ; preds = %26
%34 = load i8*, i8** %5
%35 = call i32 @strcasecmp(i8* %34, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%36 = icmp ne i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load double, double* %6
%39 = fmul double %38, 1.000000e+09
store double %39, double* %6
br label %101
40: ; preds = %33
%41 = load i8*, i8** %5
%42 = call i32 @strcasecmp(i8* %41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %40
%45 = load i8*, i8** %5
%46 = call i32 @strcasecmp(i8* %45, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44, %40
%49 = load double, double* %6
%50 = fdiv double 1.000000e+00, %49
store double %50, double* %6
br label %100
51: ; preds = %44
%52 = load i8*, i8** %5
%53 = call i32 @strcasecmp(i8* %52, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i8*, i8** %5
%57 = call i32 @strcasecmp(i8* %56, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%58 = icmp ne i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %55, %51
%60 = load double, double* %6
%61 = fdiv double 1.000000e+03, %60
store double %61, double* %6
br label %99
62: ; preds = %55
%63 = load i8*, i8** %5
%64 = call i32 @strcasecmp(i8* %63, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %62
%67 = load i8*, i8** %5
%68 = call i32 @strcasecmp(i8* %67, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%69 = icmp ne i32 %68, 0
br i1 %69, label %73, label %70
70: ; preds = %66, %62
%71 = load double, double* %6
%72 = fdiv double 1.000000e+06, %71
store double %72, double* %6
br label %98
73: ; preds = %66
%74 = load i8*, i8** %5
%75 = call i32 @strcasecmp(i8* %74, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %81
77: ; preds = %73
%78 = load i8*, i8** %5
%79 = call i32 @strcasecmp(i8* %78, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%80 = icmp ne i32 %79, 0
br i1 %80, label %84, label %81
81: ; preds = %77, %73
%82 = load double, double* %6
%83 = fdiv double 1.000000e+09, %82
store double %83, double* %6
br label %97
84: ; preds = %77
%85 = load i8*, i8** %5
%86 = call i32 @strcasecmp(i8* %85, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %92
88: ; preds = %84
%89 = load i8*, i8** %5
%90 = call i32 @strcasecmp(i8* %89, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%91 = icmp ne i32 %90, 0
br i1 %91, label %95, label %92
92: ; preds = %88, %84
%93 = load double, double* %6
%94 = fdiv double 1.000000e+12, %93
store double %94, double* %6
br label %96
95: ; preds = %88
store i32 -1, i32* %7
br label %96
96: ; preds = %95, %92
br label %97
97: ; preds = %96, %81
br label %98
98: ; preds = %97, %70
br label %99
99: ; preds = %98, %59
br label %100
100: ; preds = %99, %48
br label %101
101: ; preds = %100, %37
br label %102
102: ; preds = %101, %30
br label %103
103: ; preds = %102, %23
br label %104
104: ; preds = %103, %18
br label %105
105: ; preds = %104, %13
%106 = load i32, i32* %7
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %114
108: ; preds = %105
%109 = load double*, double** %4
%110 = icmp ne double* %109, null
br i1 %110, label %111, label %114
111: ; preds = %108
%112 = load double, double* %6
%113 = load double*, double** %4
store double %112, double* %113
br label %114
114: ; preds = %111, %108, %105
%115 = load i32, i32* %7
ret i32 %115
}

LLVM IR (-O2):
@.str = [3 x i8] c"hz\00"
@.str.1 = [4 x i8] c"khz\00"
@.str.2 = [4 x i8] c"mhz\00"
@.str.3 = [4 x i8] c"ghz\00"
@.str.4 = [4 x i8] c"sec\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [5 x i8] c"msec\00"
@.str.7 = [3 x i8] c"ms\00"
@.str.8 = [5 x i8] c"usec\00"
@.str.9 = [3 x i8] c"us\00"
@.str.10 = [5 x i8] c"nsec\00"
@.str.11 = [3 x i8] c"ns\00"
@.str.12 = [5 x i8] c"psec\00"
@.str.13 = [3 x i8] c"ps\00"
define i32 @freqstr(i8* %0, double* writeonly %1) {
%3 = alloca i8*
%4 = bitcast i8** %3 to i8*
%5 = call double @strtod(i8* %0, i8** %3)
%6 = load i8*, i8** %3
%7 = load i8, i8* %6
%8 = icmp eq i8 %7, 0
br i1 %8, label %71, label %9
9: ; preds = %2
%10 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
br i1 %11, label %67, label %12
12: ; preds = %9
%13 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = fmul double %5, 1.000000e+03
br label %67
17: ; preds = %12
%18 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = fmul double %5, 1.000000e+06
br label %67
22: ; preds = %17
%23 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = fmul double %5, 1.000000e+09
br label %67
27: ; preds = %22
%28 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30, %27
%34 = fdiv double 1.000000e+00, %5
br label %67
35: ; preds = %30
%36 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%37 = icmp eq i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38, %35
%42 = fdiv double 1.000000e+03, %5
br label %67
43: ; preds = %38
%44 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%45 = icmp eq i32 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %43
%47 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46, %43
%50 = fdiv double 1.000000e+06, %5
br label %67
51: ; preds = %46
%52 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%53 = icmp eq i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54, %51
%58 = fdiv double 1.000000e+09, %5
br label %67
59: ; preds = %54
%60 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%61 = icmp eq i32 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %59
%63 = tail call i32 @strcasecmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %62, %59
%66 = fdiv double 1.000000e+12, %5
br label %67
67: ; preds = %9, %20, %33, %49, %65, %57, %41, %25, %15
%68 = phi double [ %66, %65 ], [ %58, %57 ], [ %50, %49 ], [ %42, %41 ], [ %34, %33 ], [ %26, %25 ], [ %21, %20 ], [ %16, %15 ], [ %5, %9 ]
%69 = icmp eq double* %1, null
br i1 %69, label %71, label %70
70: ; preds = %67
store double %68, double* %1
br label %71
71: ; preds = %62, %2, %70, %67
%72 = phi i32 [ 0, %70 ], [ 0, %67 ], [ -1, %2 ], [ -1, %62 ]
ret i32 %72
}