; LLVM IR from MBMS/C-CODE_FOR_MEMBRANE_BASED_MODEL :: CODE_MODEL/MoistAirVapProperty.ll (ZN19MoistAirVapProperty5aircpEdd)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [62 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

declare i32 @system(ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

; Function Attrs: nounwind
declare double @exp(double noundef) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #8

; Function Attrs: nounwind
declare double @log(double noundef) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #9

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN19MoistAirVapProperty5aircpEdd(double noundef %0, double noundef %1) #2 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  store double %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  store double 1.003900e+00, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  store double 1.013250e+05, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store double 1.000000e-01, ptr %7, align 8, !tbaa !5
  %18 = load double, ptr %4, align 8, !tbaa !5
  %19 = fcmp olt double %18, 0.000000e+00
  br i1 %19, label %23, label %20

20:                                               ; preds = %2
  %21 = load double, ptr %4, align 8, !tbaa !5
  %22 = fcmp ogt double %21, 1.000000e+00
  br i1 %22, label %23, label %29

23:                                               ; preds = %20, %2
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %25 = load double, ptr %4, align 8, !tbaa !5
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %24, double noundef %25)
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %28 = call i32 @system(ptr noundef @.str.1)
  call void @exit(i32 noundef 1) #11
  unreachable

29:                                               ; preds = %20
  %30 = load double, ptr %3, align 8, !tbaa !5
  %31 = fcmp olt double %30, 2.131500e+02
  br i1 %31, label %35, label %32

32:                                               ; preds = %29
  %33 = load double, ptr %3, align 8, !tbaa !5
  %34 = fcmp ogt double %33, 3.431500e+02
  br i1 %34, label %35, label %41

35:                                               ; preds = %32, %29
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %37 = load double, ptr %3, align 8, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %36, double noundef %37)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %40 = call i32 @system(ptr noundef @.str.1)
  call void @exit(i32 noundef 1) #11
  unreachable

41:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %42 = call noalias noundef nonnull ptr @_Znam(i64 noundef 104) #12
  store ptr %42, ptr %8, align 8, !tbaa !9
  %43 = load ptr, ptr %8, align 8, !tbaa !9
  %44 = getelementptr inbounds double, ptr %43, i64 0
  store double 0xC0B62A5BE76C8B44, ptr %44, align 8, !tbaa !5
  %45 = load ptr, ptr %8, align 8, !tbaa !9
  %46 = getelementptr inbounds double, ptr %45, i64 1
  store double 0x401991F1FEB57D25, ptr %46, align 8, !tbaa !5
  %47 = load ptr, ptr %8, align 8, !tbaa !9
  %48 = getelementptr inbounds double, ptr %47, i64 2
  store double 0xBF83D1FA19725315, ptr %48, align 8, !tbaa !5
  %49 = load ptr, ptr %8, align 8, !tbaa !9
  %50 = getelementptr inbounds double, ptr %49, i64 3
  store double 0x3EA4E049BBCCDCB5, ptr %50, align 8, !tbaa !5
  %51 = load ptr, ptr %8, align 8, !tbaa !9
  %52 = getelementptr inbounds double, ptr %51, i64 4
  store double 0x3E21D27EB63438FB, ptr %52, align 8, !tbaa !5
  %53 = load ptr, ptr %8, align 8, !tbaa !9
  %54 = getelementptr inbounds double, ptr %53, i64 5
  store double 0xBD70AF3985A087B4, ptr %54, align 8, !tbaa !5
  %55 = load ptr, ptr %8, align 8, !tbaa !9
  %56 = getelementptr inbounds double, ptr %55, i64 6
  store double 0x4010A76D0AC555E0, ptr %56, align 8, !tbaa !5
  %57 = load ptr, ptr %8, align 8, !tbaa !9
  %58 = getelementptr inbounds double, ptr %57, i64 7
  store double 0xC0B6A838793DD97F, ptr %58, align 8, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !9
  %60 = getelementptr inbounds double, ptr %59, i64 8
  store double 0x3FF64394C51E82A2, ptr %60, align 8, !tbaa !5
  %61 = load ptr, ptr %8, align 8, !tbaa !9
  %62 = getelementptr inbounds double, ptr %61, i64 9
  store double 0xBFA8E75F978C9B7C, ptr %62, align 8, !tbaa !5
  %63 = load ptr, ptr %8, align 8, !tbaa !9
  %64 = getelementptr inbounds double, ptr %63, i64 10
  store double 0x3F05E592806101F3, ptr %64, align 8, !tbaa !5
  %65 = load ptr, ptr %8, align 8, !tbaa !9
  %66 = getelementptr inbounds double, ptr %65, i64 11
  store double 0xBE4F091F45323982, ptr %66, align 8, !tbaa !5
  %67 = load ptr, ptr %8, align 8, !tbaa !9
  %68 = getelementptr inbounds double, ptr %67, i64 12
  store double 0x401A2F120D48BDDF, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  store double 0.000000e+00, ptr %9, align 8, !tbaa !5
  %69 = load double, ptr %3, align 8, !tbaa !5
  %70 = fcmp olt double %69, 2.731500e+02
  br i1 %70, label %71, label %111

71:                                               ; preds = %41
  %72 = load ptr, ptr %8, align 8, !tbaa !9
  %73 = getelementptr inbounds double, ptr %72, i64 0
  %74 = load double, ptr %73, align 8, !tbaa !5
  %75 = load double, ptr %3, align 8, !tbaa !5
  %76 = fdiv double %74, %75
  %77 = load ptr, ptr %8, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %77, i64 1
  %79 = load double, ptr %78, align 8, !tbaa !5
  %80 = fadd double %76, %79
  %81 = load ptr, ptr %8, align 8, !tbaa !9
  %82 = getelementptr inbounds double, ptr %81, i64 2
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = load double, ptr %3, align 8, !tbaa !5
  %85 = call double @llvm.fmuladd.f64(double %83, double %84, double %80)
  %86 = load ptr, ptr %8, align 8, !tbaa !9
  %87 = getelementptr inbounds double, ptr %86, i64 3
  %88 = load double, ptr %87, align 8, !tbaa !5
  %89 = load double, ptr %3, align 8, !tbaa !5
  %90 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %89, i32 noundef 2)
  %91 = call double @llvm.fmuladd.f64(double %88, double %90, double %85)
  %92 = load ptr, ptr %8, align 8, !tbaa !9
  %93 = getelementptr inbounds double, ptr %92, i64 4
  %94 = load double, ptr %93, align 8, !tbaa !5
  %95 = load double, ptr %3, align 8, !tbaa !5
  %96 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %95, i32 noundef 3)
  %97 = call double @llvm.fmuladd.f64(double %94, double %96, double %91)
  %98 = load ptr, ptr %8, align 8, !tbaa !9
  %99 = getelementptr inbounds double, ptr %98, i64 5
  %100 = load double, ptr %99, align 8, !tbaa !5
  %101 = load double, ptr %3, align 8, !tbaa !5
  %102 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %101, i32 noundef 4)
  %103 = call double @llvm.fmuladd.f64(double %100, double %102, double %97)
  %104 = load ptr, ptr %8, align 8, !tbaa !9
  %105 = getelementptr inbounds double, ptr %104, i64 6
  %106 = load double, ptr %105, align 8, !tbaa !5
  %107 = load double, ptr %3, align 8, !tbaa !5
  %108 = call double @log(double noundef %107) #10
  %109 = call double @llvm.fmuladd.f64(double %106, double %108, double %103)
  %110 = call double @exp(double noundef %109) #10
  store double %110, ptr %9, align 8, !tbaa !5
  br label %145

111:                                              ; preds = %41
  %112 = load ptr, ptr %8, align 8, !tbaa !9
  %113 = getelementptr inbounds double, ptr %112, i64 7
  %114 = load double, ptr %113, align 8, !tbaa !5
  %115 = load double, ptr %3, align 8, !tbaa !5
  %116 = fdiv double %114, %115
  %117 = load ptr, ptr %8, align 8, !tbaa !9
  %118 = getelementptr inbounds double, ptr %117, i64 8
  %119 = load double, ptr %118, align 8, !tbaa !5
  %120 = fadd double %116, %119
  %121 = load ptr, ptr %8, align 8, !tbaa !9
  %122 = getelementptr inbounds double, ptr %121, i64 9
  %123 = load double, ptr %122, align 8, !tbaa !5
  %124 = load double, ptr %3, align 8, !tbaa !5
  %125 = call double @llvm.fmuladd.f64(double %123, double %124, double %120)
  %126 = load ptr, ptr %8, align 8, !tbaa !9
  %127 = getelementptr inbounds double, ptr %126, i64 10
  %128 = load double, ptr %127, align 8, !tbaa !5
  %129 = load double, ptr %3, align 8, !tbaa !5
  %130 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %129, i32 noundef 2)
  %131 = call double @llvm.fmuladd.f64(double %128, double %130, double %125)
  %132 = load ptr, ptr %8, align 8, !tbaa !9
  %133 = getelementptr inbounds double, ptr %132, i64 11
  %134 = load double, ptr %133, align 8, !tbaa !5
  %135 = load double, ptr %3, align 8, !tbaa !5
  %136 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %135, i32 noundef 3)
  %137 = call double @llvm.fmuladd.f64(double %134, double %136, double %131)
  %138 = load ptr, ptr %8, align 8, !tbaa !9
  %139 = getelementptr inbounds double, ptr %138, i64 12
  %140 = load double, ptr %139, align 8, !tbaa !5
  %141 = load double, ptr %3, align 8, !tbaa !5
  %142 = call double @log(double noundef %141) #10
  %143 = call double @llvm.fmuladd.f64(double %140, double %142, double %137)
  %144 = call double @exp(double noundef %143) #10
  store double %144, ptr %9, align 8, !tbaa !5
  br label %145

145:                                              ; preds = %111, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %146 = load double, ptr %9, align 8, !tbaa !5
  %147 = fmul double %146, 1.003900e+00
  %148 = load double, ptr %9, align 8, !tbaa !5
  %149 = call double @llvm.fmuladd.f64(double -1.003900e+00, double %148, double 1.013250e+05)
  %150 = fdiv double %147, %149
  %151 = fmul double 0x3FE3E74299D883BA, %150
  store double %151, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %152 = load double, ptr %4, align 8, !tbaa !5
  %153 = load double, ptr %4, align 8, !tbaa !5
  %154 = fsub double 1.000000e+00, %153
  %155 = load double, ptr %10, align 8, !tbaa !5
  %156 = fmul double %154, %155
  %157 = fdiv double %156, 0x3FE3E74299D883BA
  %158 = fadd double 1.000000e+00, %157
  %159 = fdiv double %152, %158
  store double %159, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %160 = load double, ptr %11, align 8, !tbaa !5
  %161 = load double, ptr %10, align 8, !tbaa !5
  %162 = fmul double %160, %161
  store double %162, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %163 = load double, ptr %3, align 8, !tbaa !5
  %164 = fsub double %163, 1.000000e-01
  store double %164, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %165 = load double, ptr %3, align 8, !tbaa !5
  %166 = fadd double %165, 1.000000e-01
  store double %166, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %167 = load double, ptr %13, align 8, !tbaa !5
  %168 = fsub double %167, 2.731500e+02
  %169 = load double, ptr %12, align 8, !tbaa !5
  %170 = load double, ptr %13, align 8, !tbaa !5
  %171 = fsub double %170, 2.731500e+02
  %172 = call double @llvm.fmuladd.f64(double 1.805000e+00, double %171, double 2.501000e+03)
  %173 = fmul double %169, %172
  %174 = call double @llvm.fmuladd.f64(double 1.006000e+00, double %168, double %173)
  store double %174, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %175 = load double, ptr %14, align 8, !tbaa !5
  %176 = fsub double %175, 2.731500e+02
  %177 = load double, ptr %12, align 8, !tbaa !5
  %178 = load double, ptr %14, align 8, !tbaa !5
  %179 = fsub double %178, 2.731500e+02
  %180 = call double @llvm.fmuladd.f64(double 1.805000e+00, double %179, double 2.501000e+03)
  %181 = fmul double %177, %180
  %182 = call double @llvm.fmuladd.f64(double 1.006000e+00, double %176, double %181)
  store double %182, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %183 = load double, ptr %16, align 8, !tbaa !5
  %184 = load double, ptr %15, align 8, !tbaa !5
  %185 = fsub double %183, %184
  %186 = load double, ptr %14, align 8, !tbaa !5
  %187 = load double, ptr %13, align 8, !tbaa !5
  %188 = fsub double %186, %187
  %189 = fdiv double %185, %188
  store double %189, ptr %17, align 8, !tbaa !5
  %190 = load ptr, ptr %8, align 8, !tbaa !9
  %191 = icmp eq ptr %190, null
  br i1 %191, label %193, label %192

192:                                              ; preds = %145
  call void @_ZdaPv(ptr noundef %190) #13
  br label %193

193:                                              ; preds = %192, %145
  store ptr null, ptr %8, align 8, !tbaa !9
  %194 = load double, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  ret double %194
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [62 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: nofree
declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN19MoistAirVapProperty5aircpEdd(double noundef %0, double noundef %1) local_unnamed_addr #1 {
  %3 = fcmp olt double %1, 0.000000e+00
  %4 = fcmp ogt double %1, 1.000000e+00
  %or.cond = or i1 %3, %4
  br i1 %or.cond, label %5, label %10

5:                                                ; preds = %2
  %6 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %7 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %6, double noundef %1)
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %9 = tail call i32 @system(ptr noundef nonnull @.str.1)
  tail call void @exit(i32 noundef 1) #8
  unreachable

10:                                               ; preds = %2
  %11 = fcmp olt double %0, 2.131500e+02
  %12 = fcmp ogt double %0, 3.431500e+02
  %or.cond3 = or i1 %11, %12
  br i1 %or.cond3, label %13, label %18

13:                                               ; preds = %10
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %14, double noundef %0)
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %17 = tail call i32 @system(ptr noundef nonnull @.str.1)
  tail call void @exit(i32 noundef 1) #8
  unreachable

18:                                               ; preds = %10
  %19 = fcmp olt double %0, 2.731500e+02
  %20 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %0, i32 noundef 2)
  %21 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %0, i32 noundef 3)
  br i1 %19, label %22, label %32

22:                                               ; preds = %18
  %23 = fdiv double 0x40B62A5BE76C8B44, %0
  %24 = fsub double 0x401991F1FEB57D25, %23
  %25 = tail call double @llvm.fmuladd.f64(double %0, double 0xBF83D1FA19725315, double %24)
  %26 = tail call double @llvm.fmuladd.f64(double %20, double 0x3EA4E049BBCCDCB5, double %25)
  %27 = tail call double @llvm.fmuladd.f64(double %21, double 0x3E21D27EB63438FB, double %26)
  %28 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %0, i32 noundef 4)
  %29 = tail call double @llvm.fmuladd.f64(double %28, double 0xBD70AF3985A087B4, double %27)
  %30 = tail call double @log(double noundef %0) #9
  %31 = tail call double @llvm.fmuladd.f64(double %30, double 0x4010A76D0AC555E0, double %29)
  br label %40

32:                                               ; preds = %18
  %33 = fdiv double 0x40B6A838793DD97F, %0
  %34 = fsub double 0x3FF64394C51E82A2, %33
  %35 = tail call double @llvm.fmuladd.f64(double %0, double 0xBFA8E75F978C9B7C, double %34)
  %36 = tail call double @llvm.fmuladd.f64(double %20, double 0x3F05E592806101F3, double %35)
  %37 = tail call double @llvm.fmuladd.f64(double %21, double 0xBE4F091F45323982, double %36)
  %38 = tail call double @log(double noundef %0) #9
  %39 = tail call double @llvm.fmuladd.f64(double %38, double 0x401A2F120D48BDDF, double %37)
  br label %40

40:                                               ; preds = %22, %32
  %.sink = phi double [ %31, %22 ], [ %39, %32 ]
  %41 = tail call double @exp(double noundef %.sink) #9
  %42 = insertelement <2 x double> poison, double %0, i64 0
  %43 = shufflevector <2 x double> %42, <2 x double> poison, <2 x i32> zeroinitializer
  %44 = fadd <2 x double> %43, <double 1.000000e-01, double -1.000000e-01>
  %45 = fsub double 1.000000e+00, %1
  %46 = fmul double %41, 1.003900e+00
  %47 = tail call double @llvm.fmuladd.f64(double %41, double -1.003900e+00, double 1.013250e+05)
  %48 = fdiv double %46, %47
  %49 = fmul double %48, 0x3FE3E74299D883BA
  %50 = fmul double %45, %49
  %51 = fdiv double %50, 0x3FE3E74299D883BA
  %52 = fadd double %51, 1.000000e+00
  %53 = fdiv double %1, %52
  %54 = fmul double %49, %53
  %55 = fadd <2 x double> %44, <double -2.731500e+02, double -2.731500e+02>
  %56 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %55, <2 x double> <double 1.805000e+00, double 1.805000e+00>, <2 x double> <double 2.501000e+03, double 2.501000e+03>)
  %57 = insertelement <2 x double> poison, double %54, i64 0
  %58 = shufflevector <2 x double> %57, <2 x double> poison, <2 x i32> zeroinitializer
  %59 = fmul <2 x double> %56, %58
  %60 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %55, <2 x double> <double 1.006000e+00, double 1.006000e+00>, <2 x double> %59)
  %shift = shufflevector <2 x double> %60, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %61 = fsub <2 x double> %60, %shift
  %62 = extractelement <2 x double> %61, i64 0
  %shift70 = shufflevector <2 x double> %44, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %63 = fsub <2 x double> %44, %shift70
  %64 = extractelement <2 x double> %63, i64 0
  %65 = fdiv double %62, %64
  ret double %65
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #7

attributes #0 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { noreturn nounwind }
attributes #9 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass