#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__ case_ignore_strcmp(char *, char *);
int fabs(double);
int /*<<< orphan*/ fatal(char *, char const *, char const *);
scalar_t__ isspace(char);
double strtod(char const *, char **);
int parse_distance(const char *str, double *val, double scale,
                   const char *module) {
  char *unit;
  if ((str == NULL) || (*str == '\0'))
    return 0;
  *val = strtod(str, &unit);
  if (unit == NULL)
    fatal("%s: Unconvertable numeric value (%s)!\n", module, str);
  if (fabs(*val) + 1 >= 1.0e25) {
    return 0;
  }
  while (isspace(*unit))
    unit++;
  if (*unit == '\0') {
    *val *= scale;
    return 1;
  }
  if (case_ignore_strcmp(unit, "m") == 0)
    ;
  else if (case_ignore_strcmp(unit, "ft") == 0)
    *val = ((*val) * 0.3048);
  else if (case_ignore_strcmp(unit, "feet") == 0)
    *val = ((*val) * 0.3048);
  else if (case_ignore_strcmp(unit, "k") == 0)
    *val *= 1000.0;
  else if (case_ignore_strcmp(unit, "km") == 0)
    *val *= 1000.0;
  else if (case_ignore_strcmp(unit, "nm") == 0)
    *val = ((*val) * 1852.0);
  else if (case_ignore_strcmp(unit, "mi") == 0)
    *val = ((*val) * 1609.344);
  else if (case_ignore_strcmp(unit, "fa") == 0)
    *val = ((*val) * 1.8288);
  else
    fatal("%s: Unsupported distance unit in item '%s'!\n", module, str);
  return 2;
}


x86 assembly (clang, -O0):
<parse_distance>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     1184 <parse_distance+0x34>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1190 <parse_distance+0x40>
movl   $0x0,-0x4(%rbp)
jmp    1425 <parse_distance+0x2d5>
mov    -0x10(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <strtod@plt>
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
cmpq   $0x0,-0x30(%rbp)
jne    11c4 <parse_distance+0x74>
mov    -0x28(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    0xe71(%rip),%rdi
call   1070 <fatal@plt>
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
call   1050 <fabs@plt>
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
movsd  0xe20(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     11f6 <parse_distance+0xa6>
movl   $0x0,-0x4(%rbp)
jmp    1425 <parse_distance+0x2d5>
jmp    11fb <parse_distance+0xab>
mov    -0x30(%rbp),%rax
movsbl (%rax),%edi
call   1040 <isspace@plt>
cmp    $0x0,%rax
je     1222 <parse_distance+0xd2>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    11fb <parse_distance+0xab>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    124f <parse_distance+0xff>
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movl   $0x1,-0x4(%rbp)
jmp    1425 <parse_distance+0x2d5>
mov    -0x30(%rbp),%rdi
lea    0xe08(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    126e <parse_distance+0x11e>
jmp    141e <parse_distance+0x2ce>
mov    -0x30(%rbp),%rdi
lea    0xdde(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    12a5 <parse_distance+0x155>
mov    -0x18(%rbp),%rax
movsd  0xd94(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1419 <parse_distance+0x2c9>
mov    -0x30(%rbp),%rdi
lea    0xdaa(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    12dc <parse_distance+0x18c>
mov    -0x18(%rbp),%rax
movsd  0xd5d(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1414 <parse_distance+0x2c4>
mov    -0x30(%rbp),%rdi
lea    0xd78(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    130f <parse_distance+0x1bf>
mov    -0x18(%rbp),%rax
movsd  0xd1e(%rip),%xmm0
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
jmp    140f <parse_distance+0x2bf>
mov    -0x30(%rbp),%rdi
lea    0xd47(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    1342 <parse_distance+0x1f2>
mov    -0x18(%rbp),%rax
movsd  0xceb(%rip),%xmm0
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
jmp    140a <parse_distance+0x2ba>
mov    -0x30(%rbp),%rdi
lea    0xd17(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    1379 <parse_distance+0x229>
mov    -0x18(%rbp),%rax
movsd  0xcb0(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1405 <parse_distance+0x2b5>
mov    -0x30(%rbp),%rdi
lea    0xce3(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    13b0 <parse_distance+0x260>
mov    -0x18(%rbp),%rax
movsd  0xc71(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1400 <parse_distance+0x2b0>
mov    -0x30(%rbp),%rdi
lea    0xcaf(%rip),%rsi
call   1060 <case_ignore_strcmp@plt>
cmp    $0x0,%rax
jne    13e7 <parse_distance+0x297>
mov    -0x18(%rbp),%rax
movsd  0xc32(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    13fb <parse_distance+0x2ab>
mov    -0x28(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    0xc77(%rip),%rdi
call   1070 <fatal@plt>
jmp    1400 <parse_distance+0x2b0>
jmp    1405 <parse_distance+0x2b5>
jmp    140a <parse_distance+0x2ba>
jmp    140f <parse_distance+0x2bf>
jmp    1414 <parse_distance+0x2c4>
jmp    1419 <parse_distance+0x2c9>
jmp    141e <parse_distance+0x2ce>
movl   $0x2,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parse_distance>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
xor    %r12d,%r12d
test   %rdi,%rdi
je     12e2 <parse_distance+0x192>
mov    %rdi,%rbx
cmpb   $0x0,(%rdi)
je     12e2 <parse_distance+0x192>
mov    %rdx,%r14
mov    %rsi,%r15
movsd  %xmm0,(%rsp)
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1030 <strtod@plt>
movsd  %xmm0,(%r15)
mov    0x8(%rsp),%rbp
test   %rbp,%rbp
jne    11b2 <parse_distance+0x62>
lea    0xe86(%rip),%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
call   1070 <fatal@plt>
movsd  (%r15),%xmm0
call   1050 <fabs@plt>
add    $0xffffffffffffffff,%rbp
nopl   0x0(%rax,%rax,1)
movsbl 0x1(%rbp),%edi
add    $0x1,%rbp
call   1040 <isspace@plt>
test   %rax,%rax
jne    11c0 <parse_distance+0x70>
cmpb   $0x0,0x0(%rbp)
je     12aa <parse_distance+0x15a>
lea    0xe77(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
mov    $0x2,%r12d
test   %rax,%rax
je     12e2 <parse_distance+0x192>
lea    0xe4e(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     12c1 <parse_distance+0x171>
lea    0xe39(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     12c1 <parse_distance+0x171>
lea    0xe26(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     12d0 <parse_distance+0x180>
lea    0xe10(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     12d0 <parse_distance+0x180>
lea    0xdff(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     12f2 <parse_distance+0x1a2>
lea    0xdea(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     1301 <parse_distance+0x1b1>
lea    0xdd9(%rip),%rsi
mov    %rbp,%rdi
call   1060 <case_ignore_strcmp@plt>
test   %rax,%rax
je     1310 <parse_distance+0x1c0>
lea    0xdc8(%rip),%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
call   1070 <fatal@plt>
jmp    12e2 <parse_distance+0x192>
movsd  (%rsp),%xmm0
mulsd  (%r15),%xmm0
movsd  %xmm0,(%r15)
mov    $0x1,%r12d
jmp    12e2 <parse_distance+0x192>
movsd  (%r15),%xmm0
mulsd  0xd52(%rip),%xmm0
jmp    12dd <parse_distance+0x18d>
movsd  (%r15),%xmm0
mulsd  0xd3b(%rip),%xmm0
movsd  %xmm0,(%r15)
mov    %r12d,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
movsd  (%r15),%xmm0
mulsd  0xd11(%rip),%xmm0
jmp    12dd <parse_distance+0x18d>
movsd  (%r15),%xmm0
mulsd  0xcfa(%rip),%xmm0
jmp    12dd <parse_distance+0x18d>
movsd  (%r15),%xmm0
mulsd  0xce3(%rip),%xmm0
jmp    12dd <parse_distance+0x18d>

LLVM IR (-O0):
@.str = [39 x i8] c"%s: Unconvertable numeric value (%s)!\0A\00"
@.str.1 = [2 x i8] c"m\00"
@.str.2 = [3 x i8] c"ft\00"
@.str.3 = [5 x i8] c"feet\00"
@.str.4 = [2 x i8] c"k\00"
@.str.5 = [3 x i8] c"km\00"
@.str.6 = [3 x i8] c"nm\00"
@.str.7 = [3 x i8] c"mi\00"
@.str.8 = [3 x i8] c"fa\00"
@.str.9 = [45 x i8] c"%s: Unsupported distance unit in item '%s'!\0A\00"
define i32 @parse_distance(i8* %0, double* %1, double %2, i8* %3) {
%5 = alloca i32
%6 = alloca i8*
%7 = alloca double*
%8 = alloca double
%9 = alloca i8*
%10 = alloca i8*
store i8* %0, i8** %6
store double* %1, double** %7
store double %2, double* %8
store i8* %3, i8** %9
%11 = load i8*, i8** %6
%12 = icmp eq i8* %11, null
br i1 %12, label %18, label %13
13: ; preds = %4
%14 = load i8*, i8** %6
%15 = load i8, i8* %14
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %13, %4
store i32 0, i32* %5
br label %134
19: ; preds = %13
%20 = load i8*, i8** %6
%21 = call double @strtod(i8* %20, i8** %10)
%22 = load double*, double** %7
store double %21, double* %22
%23 = load i8*, i8** %10
%24 = icmp eq i8* %23, null
br i1 %24, label %25, label %29
25: ; preds = %19
%26 = load i8*, i8** %9
%27 = load i8*, i8** %6
%28 = call i32 @fatal(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* %26, i8* %27)
br label %29
29: ; preds = %25, %19
%30 = load double*, double** %7
%31 = load double, double* %30
%32 = call i32 @fabs(double %31)
%33 = add nsw i32 %32, 1
%34 = sitofp i32 %33 to double
%35 = fcmp oge double %34, 1.000000e+25
br i1 %35, label %36, label %37
36: ; preds = %29
store i32 0, i32* %5
br label %134
37: ; preds = %29
br label %38
38: ; preds = %43, %37
%39 = load i8*, i8** %10
%40 = load i8, i8* %39
%41 = call i64 @isspace(i8 signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = load i8*, i8** %10
%45 = getelementptr inbounds i8, i8* %44, i32 1
store i8* %45, i8** %10
br label %38
46: ; preds = %38
%47 = load i8*, i8** %10
%48 = load i8, i8* %47
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %46
%52 = load double, double* %8
%53 = load double*, double** %7
%54 = load double, double* %53
%55 = fmul double %54, %52
store double %55, double* %53
store i32 1, i32* %5
br label %134
56: ; preds = %46
%57 = load i8*, i8** %10
%58 = call i64 @case_ignore_strcmp(i8* %57, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %56
br label %133
61: ; preds = %56
%62 = load i8*, i8** %10
%63 = call i64 @case_ignore_strcmp(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = load double*, double** %7
%67 = load double, double* %66
%68 = fmul double %67, 3.048000e-01
%69 = load double*, double** %7
store double %68, double* %69
br label %132
70: ; preds = %61
%71 = load i8*, i8** %10
%72 = call i64 @case_ignore_strcmp(i8* %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %79
74: ; preds = %70
%75 = load double*, double** %7
%76 = load double, double* %75
%77 = fmul double %76, 3.048000e-01
%78 = load double*, double** %7
store double %77, double* %78
br label %131
79: ; preds = %70
%80 = load i8*, i8** %10
%81 = call i64 @case_ignore_strcmp(i8* %80, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %79
%84 = load double*, double** %7
%85 = load double, double* %84
%86 = fmul double %85, 1.000000e+03
store double %86, double* %84
br label %130
87: ; preds = %79
%88 = load i8*, i8** %10
%89 = call i64 @case_ignore_strcmp(i8* %88, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %95
91: ; preds = %87
%92 = load double*, double** %7
%93 = load double, double* %92
%94 = fmul double %93, 1.000000e+03
store double %94, double* %92
br label %129
95: ; preds = %87
%96 = load i8*, i8** %10
%97 = call i64 @case_ignore_strcmp(i8* %96, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %104
99: ; preds = %95
%100 = load double*, double** %7
%101 = load double, double* %100
%102 = fmul double %101, 1.852000e+03
%103 = load double*, double** %7
store double %102, double* %103
br label %128
104: ; preds = %95
%105 = load i8*, i8** %10
%106 = call i64 @case_ignore_strcmp(i8* %105, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%107 = icmp eq i64 %106, 0
br i1 %107, label %108, label %113
108: ; preds = %104
%109 = load double*, double** %7
%110 = load double, double* %109
%111 = fmul double %110, 0x409925604189374C
%112 = load double*, double** %7
store double %111, double* %112
br label %127
113: ; preds = %104
%114 = load i8*, i8** %10
%115 = call i64 @case_ignore_strcmp(i8* %114, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %122
117: ; preds = %113
%118 = load double*, double** %7
%119 = load double, double* %118
%120 = fmul double %119, 1.828800e+00
%121 = load double*, double** %7
store double %120, double* %121
br label %126
122: ; preds = %113
%123 = load i8*, i8** %9
%124 = load i8*, i8** %6
%125 = call i32 @fatal(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0), i8* %123, i8* %124)
br label %126
126: ; preds = %122, %117
br label %127
127: ; preds = %126, %108
br label %128
128: ; preds = %127, %99
br label %129
129: ; preds = %128, %91
br label %130
130: ; preds = %129, %83
br label %131
131: ; preds = %130, %74
br label %132
132: ; preds = %131, %65
br label %133
133: ; preds = %132, %60
store i32 2, i32* %5
br label %134
134: ; preds = %133, %51, %36, %18
%135 = load i32, i32* %5
ret i32 %135
}

LLVM IR (-O2):
@.str = [39 x i8] c"%s: Unconvertable numeric value (%s)!\0A\00"
@.str.1 = [2 x i8] c"m\00"
@.str.2 = [3 x i8] c"ft\00"
@.str.3 = [5 x i8] c"feet\00"
@.str.4 = [2 x i8] c"k\00"
@.str.5 = [3 x i8] c"km\00"
@.str.6 = [3 x i8] c"nm\00"
@.str.7 = [3 x i8] c"mi\00"
@.str.8 = [3 x i8] c"fa\00"
@.str.9 = [45 x i8] c"%s: Unsupported distance unit in item '%s'!\0A\00"
define i32 @parse_distance(i8* %0, double* nocapture %1, double %2, i8* %3) {
%5 = alloca i8*
%6 = bitcast i8** %5 to i8*
%7 = icmp eq i8* %0, null
br i1 %7, label %80, label %8
8: ; preds = %4
%9 = load i8, i8* %0
%10 = icmp eq i8 %9, 0
br i1 %10, label %80, label %11
11: ; preds = %8
%12 = call double @strtod(i8* %0, i8** %5)
store double %12, double* %1
%13 = load i8*, i8** %5
%14 = icmp eq i8* %13, null
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = tail call i32 @fatal(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* %3, i8* %0)
%17 = load double, double* %1
br label %18
18: ; preds = %15, %11
%19 = phi double [ %17, %15 ], [ %12, %11 ]
%20 = tail call i32 @fabs(double %19)
br label %21
21: ; preds = %21, %18
%22 = phi i8* [ %13, %18 ], [ %26, %21 ]
%23 = load i8, i8* %22
%24 = tail call i64 @isspace(i8 signext %23)
%25 = icmp eq i64 %24, 0
%26 = getelementptr inbounds i8, i8* %22, i64 1
br i1 %25, label %27, label %21
27: ; preds = %21
%28 = load i8, i8* %22
%29 = icmp eq i8 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load double, double* %1
%32 = fmul double %31, %2
store double %32, double* %1
br label %80
33: ; preds = %27
%34 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %80, label %36
36: ; preds = %33
%37 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load double, double* %1
%41 = fmul double %40, 3.048000e-01
store double %41, double* %1
br label %80
42: ; preds = %36
%43 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load double, double* %1
%47 = fmul double %46, 3.048000e-01
store double %47, double* %1
br label %80
48: ; preds = %42
%49 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load double, double* %1
%53 = fmul double %52, 1.000000e+03
store double %53, double* %1
br label %80
54: ; preds = %48
%55 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load double, double* %1
%59 = fmul double %58, 1.000000e+03
store double %59, double* %1
br label %80
60: ; preds = %54
%61 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %60
%64 = load double, double* %1
%65 = fmul double %64, 1.852000e+03
store double %65, double* %1
br label %80
66: ; preds = %60
%67 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load double, double* %1
%71 = fmul double %70, 0x409925604189374C
store double %71, double* %1
br label %80
72: ; preds = %66
%73 = tail call i64 @case_ignore_strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = load double, double* %1
%77 = fmul double %76, 1.828800e+00
store double %77, double* %1
br label %80
78: ; preds = %72
%79 = tail call i32 @fatal(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0), i8* %3, i8* %0)
br label %80
80: ; preds = %33, %45, %57, %69, %78, %75, %63, %51, %39, %4, %8, %30
%81 = phi i32 [ 1, %30 ], [ 0, %8 ], [ 0, %4 ], [ 2, %39 ], [ 2, %51 ], [ 2, %63 ], [ 2, %75 ], [ 2, %78 ], [ 2, %69 ], [ 2, %57 ], [ 2, %45 ], [ 2, %33 ]
ret i32 %81
}