#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*/ assert(int /*<<< orphan*/);
double **createVars(int, int);
int /*<<< orphan*/ destroyVars(double **);
int /*<<< orphan*/ equals(double, int /*<<< orphan*/, double);
int /*<<< orphan*/ humidityIndex(double const, double const, double const,
                                 double);
int /*<<< orphan*/ readNcFile(char *, double **, int, int);
int /*<<< orphan*/ submitCdoCommand(char *);
int /*<<< orphan*/ writeNcFile(char *, double const *, int);
void testHi() {
  const double array1[] = {-9.0E33, 70.0, 36.0, 46.0, 56.0};
  const double array2[] = {1.0, 1.0, 1.0, 1.0, 1.0};
  const double array3[] = {0.4, 0.4, 0.3, 0.5, 0.6};
  int nvars = 1;
  int nts = 5;
  double **vars = createVars(nvars, nts);
  writeNcFile("in1.nc", array1, 5);
  writeNcFile("in2.nc", array2, 5);
  writeNcFile("in3.nc", array3, 5);
  submitCdoCommand("hi in1.nc in2.nc in3.nc out.nc");
  readNcFile("out.nc", vars, nvars, nts);
  assert(equals(vars[0][0],
                humidityIndex(array1[0], array2[0], array3[0], -9.0E33),
                1.0e-5));
  assert(equals(vars[0][1],
                humidityIndex(array1[1], array2[1], array3[1], -9.0E33),
                1.0e-5));
  assert(equals(vars[0][2],
                humidityIndex(array1[2], array2[2], array3[2], -9.0E33),
                1.0e-5));
  assert(equals(vars[0][3],
                humidityIndex(array1[3], array2[3], array3[3], -9.0E33),
                1.0e-5));
  assert(equals(vars[0][4],
                humidityIndex(array1[4], array2[4], array3[4], -9.0E33),
                1.0e-5));
  destroyVars(vars);
}


x86 assembly (clang, -O0):
<testHi>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
movsd  0xe55(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe90(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe7b(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe66(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xe51(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
lea    -0x60(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
movsd  0xe2c(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xe1f(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xe12(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xe05(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xdf8(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
movsd  0xdd0(%rip),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xdc0(%rip),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xda8(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xd93(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xd7e(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movl   $0x1,-0x94(%rbp)
movl   $0x5,-0x98(%rbp)
mov    -0x94(%rbp),%edi
mov    -0x98(%rbp),%esi
call   1030 <createVars@plt>
mov    %rax,-0xa0(%rbp)
lea    -0x30(%rbp),%rsi
lea    0xd8a(%rip),%rdi
mov    $0x5,%edx
call   1080 <writeNcFile@plt>
lea    -0x60(%rbp),%rsi
lea    0xd7c(%rip),%rdi
mov    $0x5,%edx
call   1080 <writeNcFile@plt>
lea    -0x90(%rbp),%rsi
lea    0xd6b(%rip),%rdi
mov    $0x5,%edx
call   1080 <writeNcFile@plt>
lea    0xd61(%rip),%rdi
call   1070 <submitCdoCommand@plt>
mov    -0xa0(%rbp),%rsi
mov    -0x94(%rbp),%edx
mov    -0x98(%rbp),%ecx
lea    0xd5a(%rip),%rdi
call   1090 <readNcFile@plt>
mov    -0xa0(%rbp),%rax
mov    (%rax),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
movsd  -0x90(%rbp),%xmm2
ff
movsd  0xca8(%rip),%xmm3
call   10b0 <humidityIndex@plt>
movsd  -0xc8(%rbp),%xmm0
ff
mov    %eax,%edi
movsd  0xc89(%rip),%xmm1
call   10a0 <equals@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    -0xa0(%rbp),%rax
mov    (%rax),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
movsd  -0x88(%rbp),%xmm2
ff
movsd  0xc54(%rip),%xmm3
call   10b0 <humidityIndex@plt>
movsd  -0xc0(%rbp),%xmm0
ff
mov    %eax,%edi
movsd  0xc35(%rip),%xmm1
call   10a0 <equals@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    -0xa0(%rbp),%rax
mov    (%rax),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x20(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x80(%rbp),%xmm2
movsd  0xc03(%rip),%xmm3
call   10b0 <humidityIndex@plt>
movsd  -0xb8(%rbp),%xmm0
ff
mov    %eax,%edi
movsd  0xbe4(%rip),%xmm1
call   10a0 <equals@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    -0xa0(%rbp),%rax
mov    (%rax),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
movsd  0xbb2(%rip),%xmm3
call   10b0 <humidityIndex@plt>
movsd  -0xb0(%rbp),%xmm0
ff
mov    %eax,%edi
movsd  0xb93(%rip),%xmm1
call   10a0 <equals@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    -0xa0(%rbp),%rax
mov    (%rax),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm2
movsd  0xb61(%rip),%xmm3
call   10b0 <humidityIndex@plt>
movsd  -0xa8(%rbp),%xmm0
ff
mov    %eax,%edi
movsd  0xb42(%rip),%xmm1
call   10a0 <equals@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    -0xa0(%rbp),%rdi
call   1040 <destroyVars@plt>
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<testHi>:
push   %rbx
sub    $0xa0,%rsp
movaps 0xe71(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe75(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movabs $0x404c000000000000,%rax
mov    %rax,0x90(%rsp)
movaps 0xe64(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movabs $0x3ff0000000000000,%rax
mov    %rax,0x60(%rsp)
movaps 0xe54(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe58(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movabs $0x3fe3333333333333,%rax
33 e3 3f
mov    %rax,0x30(%rsp)
mov    $0x1,%edi
mov    $0x5,%esi
call   1030 <createVars@plt>
mov    %rax,%rbx
lea    0xe4b(%rip),%rdi
lea    0x70(%rsp),%rsi
mov    $0x5,%edx
call   1070 <writeNcFile@plt>
lea    0xe3c(%rip),%rdi
lea    0x40(%rsp),%rsi
mov    $0x5,%edx
call   1070 <writeNcFile@plt>
lea    0xe2d(%rip),%rdi
lea    0x10(%rsp),%rsi
mov    $0x5,%edx
call   1070 <writeNcFile@plt>
lea    0xe1e(%rip),%rdi
call   1060 <submitCdoCommand@plt>
lea    0xe2a(%rip),%rdi
mov    %rbx,%rsi
mov    $0x1,%edx
mov    $0x5,%ecx
call   1080 <readNcFile@plt>
mov    (%rbx),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x70(%rsp),%xmm0
movsd  0x40(%rsp),%xmm1
movsd  0x10(%rsp),%xmm2
movsd  0xdb4(%rip),%xmm3
call   10a0 <humidityIndex@plt>
movsd  0xdaf(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
mov    %eax,%edi
call   1090 <equals@plt>
mov    %eax,%edi
call   1050 <assert@plt>
mov    (%rbx),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x78(%rsp),%xmm0
movsd  0x48(%rsp),%xmm1
movsd  0x18(%rsp),%xmm2
movsd  0xd6b(%rip),%xmm3
call   10a0 <humidityIndex@plt>
movsd  0x8(%rsp),%xmm0
mov    %eax,%edi
movsd  0xd5e(%rip),%xmm1
call   1090 <equals@plt>
mov    %eax,%edi
call   1050 <assert@plt>
mov    (%rbx),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x80(%rsp),%xmm0
movsd  0x50(%rsp),%xmm1
movsd  0x20(%rsp),%xmm2
movsd  0xd1f(%rip),%xmm3
call   10a0 <humidityIndex@plt>
movsd  0x8(%rsp),%xmm0
mov    %eax,%edi
movsd  0xd12(%rip),%xmm1
call   1090 <equals@plt>
mov    %eax,%edi
call   1050 <assert@plt>
mov    (%rbx),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x88(%rsp),%xmm0
movsd  0x58(%rsp),%xmm1
movsd  0x28(%rsp),%xmm2
movsd  0xcd3(%rip),%xmm3
call   10a0 <humidityIndex@plt>
movsd  0x8(%rsp),%xmm0
mov    %eax,%edi
movsd  0xcc6(%rip),%xmm1
call   1090 <equals@plt>
mov    %eax,%edi
call   1050 <assert@plt>
mov    (%rbx),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x90(%rsp),%xmm0
movsd  0x60(%rsp),%xmm1
movsd  0x30(%rsp),%xmm2
movsd  0xc87(%rip),%xmm3
call   10a0 <humidityIndex@plt>
movsd  0x8(%rsp),%xmm0
mov    %eax,%edi
movsd  0xc7a(%rip),%xmm1
call   1090 <equals@plt>
mov    %eax,%edi
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1040 <destroyVars@plt>
add    $0xa0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [7 x i8] c"in1.nc\00"
@.str.1 = [7 x i8] c"in2.nc\00"
@.str.2 = [7 x i8] c"in3.nc\00"
@.str.3 = [31 x i8] c"hi in1.nc in2.nc in3.nc out.nc\00"
@.str.4 = [7 x i8] c"out.nc\00"
define void @testHi() {
%1 = alloca [5 x double]
%2 = alloca [5 x double]
%3 = alloca [5 x double]
%4 = alloca i32
%5 = alloca i32
%6 = alloca double**
%7 = bitcast [5 x double]* %1 to i8*
%8 = bitcast i8* %7 to [5 x double]*
%9 = getelementptr inbounds [5 x double], [5 x double]* %8, i32 0, i32 0
store double -9.000000e+33, double* %9
%10 = getelementptr inbounds [5 x double], [5 x double]* %8, i32 0, i32 1
store double 7.000000e+01, double* %10
%11 = getelementptr inbounds [5 x double], [5 x double]* %8, i32 0, i32 2
store double 3.600000e+01, double* %11
%12 = getelementptr inbounds [5 x double], [5 x double]* %8, i32 0, i32 3
store double 4.600000e+01, double* %12
%13 = getelementptr inbounds [5 x double], [5 x double]* %8, i32 0, i32 4
store double 5.600000e+01, double* %13
%14 = bitcast [5 x double]* %2 to i8*
%15 = bitcast i8* %14 to [5 x double]*
%16 = getelementptr inbounds [5 x double], [5 x double]* %15, i32 0, i32 0
store double 1.000000e+00, double* %16
%17 = getelementptr inbounds [5 x double], [5 x double]* %15, i32 0, i32 1
store double 1.000000e+00, double* %17
%18 = getelementptr inbounds [5 x double], [5 x double]* %15, i32 0, i32 2
store double 1.000000e+00, double* %18
%19 = getelementptr inbounds [5 x double], [5 x double]* %15, i32 0, i32 3
store double 1.000000e+00, double* %19
%20 = getelementptr inbounds [5 x double], [5 x double]* %15, i32 0, i32 4
store double 1.000000e+00, double* %20
%21 = bitcast [5 x double]* %3 to i8*
%22 = bitcast i8* %21 to [5 x double]*
%23 = getelementptr inbounds [5 x double], [5 x double]* %22, i32 0, i32 0
store double 4.000000e-01, double* %23
%24 = getelementptr inbounds [5 x double], [5 x double]* %22, i32 0, i32 1
store double 4.000000e-01, double* %24
%25 = getelementptr inbounds [5 x double], [5 x double]* %22, i32 0, i32 2
store double 3.000000e-01, double* %25
%26 = getelementptr inbounds [5 x double], [5 x double]* %22, i32 0, i32 3
store double 5.000000e-01, double* %26
%27 = getelementptr inbounds [5 x double], [5 x double]* %22, i32 0, i32 4
store double 6.000000e-01, double* %27
store i32 1, i32* %4
store i32 5, i32* %5
%28 = load i32, i32* %4
%29 = load i32, i32* %5
%30 = call double** @createVars(i32 %28, i32 %29)
store double** %30, double*** %6
%31 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 0
%32 = call i32 @writeNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double* %31, i32 5)
%33 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 0
%34 = call i32 @writeNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double* %33, i32 5)
%35 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 0
%36 = call i32 @writeNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), double* %35, i32 5)
%37 = call i32 @submitCdoCommand(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0))
%38 = load double**, double*** %6
%39 = load i32, i32* %4
%40 = load i32, i32* %5
%41 = call i32 @readNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), double** %38, i32 %39, i32 %40)
%42 = load double**, double*** %6
%43 = getelementptr inbounds double*, double** %42, i64 0
%44 = load double*, double** %43
%45 = getelementptr inbounds double, double* %44, i64 0
%46 = load double, double* %45
%47 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 0
%48 = load double, double* %47
%49 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 0
%50 = load double, double* %49
%51 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 0
%52 = load double, double* %51
%53 = call i32 @humidityIndex(double %48, double %50, double %52, double -9.000000e+33)
%54 = call i32 @equals(double %46, i32 %53, double 1.000000e-05)
%55 = call i32 @assert(i32 %54)
%56 = load double**, double*** %6
%57 = getelementptr inbounds double*, double** %56, i64 0
%58 = load double*, double** %57
%59 = getelementptr inbounds double, double* %58, i64 1
%60 = load double, double* %59
%61 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 1
%62 = load double, double* %61
%63 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 1
%64 = load double, double* %63
%65 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 1
%66 = load double, double* %65
%67 = call i32 @humidityIndex(double %62, double %64, double %66, double -9.000000e+33)
%68 = call i32 @equals(double %60, i32 %67, double 1.000000e-05)
%69 = call i32 @assert(i32 %68)
%70 = load double**, double*** %6
%71 = getelementptr inbounds double*, double** %70, i64 0
%72 = load double*, double** %71
%73 = getelementptr inbounds double, double* %72, i64 2
%74 = load double, double* %73
%75 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 2
%76 = load double, double* %75
%77 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 2
%78 = load double, double* %77
%79 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 2
%80 = load double, double* %79
%81 = call i32 @humidityIndex(double %76, double %78, double %80, double -9.000000e+33)
%82 = call i32 @equals(double %74, i32 %81, double 1.000000e-05)
%83 = call i32 @assert(i32 %82)
%84 = load double**, double*** %6
%85 = getelementptr inbounds double*, double** %84, i64 0
%86 = load double*, double** %85
%87 = getelementptr inbounds double, double* %86, i64 3
%88 = load double, double* %87
%89 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 3
%90 = load double, double* %89
%91 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 3
%92 = load double, double* %91
%93 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 3
%94 = load double, double* %93
%95 = call i32 @humidityIndex(double %90, double %92, double %94, double -9.000000e+33)
%96 = call i32 @equals(double %88, i32 %95, double 1.000000e-05)
%97 = call i32 @assert(i32 %96)
%98 = load double**, double*** %6
%99 = getelementptr inbounds double*, double** %98, i64 0
%100 = load double*, double** %99
%101 = getelementptr inbounds double, double* %100, i64 4
%102 = load double, double* %101
%103 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 4
%104 = load double, double* %103
%105 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 4
%106 = load double, double* %105
%107 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 4
%108 = load double, double* %107
%109 = call i32 @humidityIndex(double %104, double %106, double %108, double -9.000000e+33)
%110 = call i32 @equals(double %102, i32 %109, double 1.000000e-05)
%111 = call i32 @assert(i32 %110)
%112 = load double**, double*** %6
%113 = call i32 @destroyVars(double** %112)
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"in1.nc\00"
@.str.1 = [7 x i8] c"in2.nc\00"
@.str.2 = [7 x i8] c"in3.nc\00"
@.str.3 = [31 x i8] c"hi in1.nc in2.nc in3.nc out.nc\00"
@.str.4 = [7 x i8] c"out.nc\00"
define void @testHi() {
%1 = alloca [5 x double]
%2 = alloca [5 x double]
%3 = alloca [5 x double]
%4 = bitcast [5 x double]* %1 to i8*
%5 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 0
%6 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 1
%7 = bitcast [5 x double]* %1 to <2 x double>*
store <2 x double> <double -9.000000e+33, double 7.000000e+01>, <2 x double>* %7
%8 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 2
%9 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 3
%10 = bitcast double* %8 to <2 x double>*
store <2 x double> <double 3.600000e+01, double 4.600000e+01>, <2 x double>* %10
%11 = getelementptr inbounds [5 x double], [5 x double]* %1, i64 0, i64 4
store double 5.600000e+01, double* %11
%12 = bitcast [5 x double]* %2 to i8*
%13 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 0
%14 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 1
%15 = bitcast [5 x double]* %2 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %15
%16 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 2
%17 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 3
%18 = bitcast double* %16 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %18
%19 = getelementptr inbounds [5 x double], [5 x double]* %2, i64 0, i64 4
store double 1.000000e+00, double* %19
%20 = bitcast [5 x double]* %3 to i8*
%21 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 0
%22 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 1
%23 = bitcast [5 x double]* %3 to <2 x double>*
store <2 x double> <double 4.000000e-01, double 4.000000e-01>, <2 x double>* %23
%24 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 2
%25 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 3
%26 = bitcast double* %24 to <2 x double>*
store <2 x double> <double 3.000000e-01, double 5.000000e-01>, <2 x double>* %26
%27 = getelementptr inbounds [5 x double], [5 x double]* %3, i64 0, i64 4
store double 6.000000e-01, double* %27
%28 = tail call double** @createVars(i32 1, i32 5)
%29 = call i32 @writeNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double* %5, i32 5)
%30 = call i32 @writeNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double* %13, i32 5)
%31 = call i32 @writeNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), double* %21, i32 5)
%32 = call i32 @submitCdoCommand(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0))
%33 = call i32 @readNcFile(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), double** %28, i32 1, i32 5)
%34 = load double*, double** %28
%35 = load double, double* %34
%36 = load double, double* %5
%37 = load double, double* %13
%38 = load double, double* %21
%39 = call i32 @humidityIndex(double %36, double %37, double %38, double -9.000000e+33)
%40 = call i32 @equals(double %35, i32 %39, double 1.000000e-05)
%41 = call i32 @assert(i32 %40)
%42 = load double*, double** %28
%43 = getelementptr inbounds double, double* %42, i64 1
%44 = load double, double* %43
%45 = load double, double* %6
%46 = load double, double* %14
%47 = load double, double* %22
%48 = call i32 @humidityIndex(double %45, double %46, double %47, double -9.000000e+33)
%49 = call i32 @equals(double %44, i32 %48, double 1.000000e-05)
%50 = call i32 @assert(i32 %49)
%51 = load double*, double** %28
%52 = getelementptr inbounds double, double* %51, i64 2
%53 = load double, double* %52
%54 = load double, double* %8
%55 = load double, double* %16
%56 = load double, double* %24
%57 = call i32 @humidityIndex(double %54, double %55, double %56, double -9.000000e+33)
%58 = call i32 @equals(double %53, i32 %57, double 1.000000e-05)
%59 = call i32 @assert(i32 %58)
%60 = load double*, double** %28
%61 = getelementptr inbounds double, double* %60, i64 3
%62 = load double, double* %61
%63 = load double, double* %9
%64 = load double, double* %17
%65 = load double, double* %25
%66 = call i32 @humidityIndex(double %63, double %64, double %65, double -9.000000e+33)
%67 = call i32 @equals(double %62, i32 %66, double 1.000000e-05)
%68 = call i32 @assert(i32 %67)
%69 = load double*, double** %28
%70 = getelementptr inbounds double, double* %69, i64 4
%71 = load double, double* %70
%72 = load double, double* %11
%73 = load double, double* %19
%74 = load double, double* %27
%75 = call i32 @humidityIndex(double %72, double %73, double %74, double -9.000000e+33)
%76 = call i32 @equals(double %71, i32 %75, double 1.000000e-05)
%77 = call i32 @assert(i32 %76)
%78 = call i32 @destroyVars(double** %28)
ret void
}