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

; 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 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [61 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN19MoistAirVapProperty4airhEdd(double noundef %0, double noundef %1) #0 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = 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
  %13 = load double, ptr %4, align 8, !tbaa !5
  %14 = fcmp olt double %13, 0.000000e+00
  br i1 %14, label %18, label %15

15:                                               ; preds = %2
  %16 = load double, ptr %4, align 8, !tbaa !5
  %17 = fcmp ogt double %16, 1.000000e+00
  br i1 %17, label %18, label %24

18:                                               ; preds = %15, %2
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %20 = load double, ptr %4, align 8, !tbaa !5
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %19, double noundef %20)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %23 = call i32 @system(ptr noundef @.str.1)
  call void @exit(i32 noundef 1) #11
  unreachable

24:                                               ; preds = %15
  %25 = load double, ptr %3, align 8, !tbaa !5
  %26 = fcmp olt double %25, 2.131500e+02
  br i1 %26, label %30, label %27

27:                                               ; preds = %24
  %28 = load double, ptr %3, align 8, !tbaa !5
  %29 = fcmp ogt double %28, 3.431500e+02
  br i1 %29, label %30, label %36

30:                                               ; preds = %27, %24
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %32 = load double, ptr %3, align 8, !tbaa !5
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %31, double noundef %32)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %35 = call i32 @system(ptr noundef @.str.1)
  call void @exit(i32 noundef 1) #11
  unreachable

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

66:                                               ; preds = %36
  %67 = load ptr, ptr %7, align 8, !tbaa !9
  %68 = getelementptr inbounds double, ptr %67, i64 0
  %69 = load double, ptr %68, align 8, !tbaa !5
  %70 = load double, ptr %3, align 8, !tbaa !5
  %71 = fdiv double %69, %70
  %72 = load ptr, ptr %7, align 8, !tbaa !9
  %73 = getelementptr inbounds double, ptr %72, i64 1
  %74 = load double, ptr %73, align 8, !tbaa !5
  %75 = fadd double %71, %74
  %76 = load ptr, ptr %7, align 8, !tbaa !9
  %77 = getelementptr inbounds double, ptr %76, i64 2
  %78 = load double, ptr %77, align 8, !tbaa !5
  %79 = load double, ptr %3, align 8, !tbaa !5
  %80 = call double @llvm.fmuladd.f64(double %78, double %79, double %75)
  %81 = load ptr, ptr %7, align 8, !tbaa !9
  %82 = getelementptr inbounds double, ptr %81, i64 3
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = load double, ptr %3, align 8, !tbaa !5
  %85 = 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 %84, i32 noundef 2)
  %86 = call double @llvm.fmuladd.f64(double %83, double %85, double %80)
  %87 = load ptr, ptr %7, align 8, !tbaa !9
  %88 = getelementptr inbounds double, ptr %87, i64 4
  %89 = load double, ptr %88, align 8, !tbaa !5
  %90 = load double, ptr %3, align 8, !tbaa !5
  %91 = 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 %90, i32 noundef 3)
  %92 = call double @llvm.fmuladd.f64(double %89, double %91, double %86)
  %93 = load ptr, ptr %7, align 8, !tbaa !9
  %94 = getelementptr inbounds double, ptr %93, i64 5
  %95 = load double, ptr %94, align 8, !tbaa !5
  %96 = load double, ptr %3, align 8, !tbaa !5
  %97 = 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 %96, i32 noundef 4)
  %98 = call double @llvm.fmuladd.f64(double %95, double %97, double %92)
  %99 = load ptr, ptr %7, align 8, !tbaa !9
  %100 = getelementptr inbounds double, ptr %99, i64 6
  %101 = load double, ptr %100, align 8, !tbaa !5
  %102 = load double, ptr %3, align 8, !tbaa !5
  %103 = call double @log(double noundef %102) #10
  %104 = call double @llvm.fmuladd.f64(double %101, double %103, double %98)
  %105 = call double @exp(double noundef %104) #10
  store double %105, ptr %8, align 8, !tbaa !5
  br label %140

106:                                              ; preds = %36
  %107 = load ptr, ptr %7, align 8, !tbaa !9
  %108 = getelementptr inbounds double, ptr %107, i64 7
  %109 = load double, ptr %108, align 8, !tbaa !5
  %110 = load double, ptr %3, align 8, !tbaa !5
  %111 = fdiv double %109, %110
  %112 = load ptr, ptr %7, align 8, !tbaa !9
  %113 = getelementptr inbounds double, ptr %112, i64 8
  %114 = load double, ptr %113, align 8, !tbaa !5
  %115 = fadd double %111, %114
  %116 = load ptr, ptr %7, align 8, !tbaa !9
  %117 = getelementptr inbounds double, ptr %116, i64 9
  %118 = load double, ptr %117, align 8, !tbaa !5
  %119 = load double, ptr %3, align 8, !tbaa !5
  %120 = call double @llvm.fmuladd.f64(double %118, double %119, double %115)
  %121 = load ptr, ptr %7, align 8, !tbaa !9
  %122 = getelementptr inbounds double, ptr %121, i64 10
  %123 = load double, ptr %122, align 8, !tbaa !5
  %124 = load double, ptr %3, align 8, !tbaa !5
  %125 = 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 %124, i32 noundef 2)
  %126 = call double @llvm.fmuladd.f64(double %123, double %125, double %120)
  %127 = load ptr, ptr %7, align 8, !tbaa !9
  %128 = getelementptr inbounds double, ptr %127, i64 11
  %129 = load double, ptr %128, align 8, !tbaa !5
  %130 = load double, ptr %3, align 8, !tbaa !5
  %131 = 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 %130, i32 noundef 3)
  %132 = call double @llvm.fmuladd.f64(double %129, double %131, double %126)
  %133 = load ptr, ptr %7, align 8, !tbaa !9
  %134 = getelementptr inbounds double, ptr %133, i64 12
  %135 = load double, ptr %134, align 8, !tbaa !5
  %136 = load double, ptr %3, align 8, !tbaa !5
  %137 = call double @log(double noundef %136) #10
  %138 = call double @llvm.fmuladd.f64(double %135, double %137, double %132)
  %139 = call double @exp(double noundef %138) #10
  store double %139, ptr %8, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %106, %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %141 = load double, ptr %8, align 8, !tbaa !5
  %142 = fmul double %141, 1.003900e+00
  %143 = load double, ptr %8, align 8, !tbaa !5
  %144 = call double @llvm.fmuladd.f64(double -1.003900e+00, double %143, double 1.013250e+05)
  %145 = fdiv double %142, %144
  %146 = fmul double 0x3FE3E74299D883BA, %145
  store double %146, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %147 = load double, ptr %4, align 8, !tbaa !5
  %148 = load double, ptr %4, align 8, !tbaa !5
  %149 = fsub double 1.000000e+00, %148
  %150 = load double, ptr %9, align 8, !tbaa !5
  %151 = fmul double %149, %150
  %152 = fdiv double %151, 0x3FE3E74299D883BA
  %153 = fadd double 1.000000e+00, %152
  %154 = fdiv double %147, %153
  store double %154, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %155 = load double, ptr %10, align 8, !tbaa !5
  %156 = load double, ptr %9, align 8, !tbaa !5
  %157 = fmul double %155, %156
  store double %157, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %158 = load double, ptr %3, align 8, !tbaa !5
  %159 = fsub double %158, 2.731500e+02
  %160 = load double, ptr %11, align 8, !tbaa !5
  %161 = load double, ptr %3, align 8, !tbaa !5
  %162 = fsub double %161, 2.731500e+02
  %163 = call double @llvm.fmuladd.f64(double 1.805000e+00, double %162, double 2.501000e+03)
  %164 = fmul double %160, %163
  %165 = call double @llvm.fmuladd.f64(double 1.006000e+00, double %159, double %164)
  store double %165, ptr %12, align 8, !tbaa !5
  %166 = load ptr, ptr %7, align 8, !tbaa !9
  %167 = icmp eq ptr %166, null
  br i1 %167, label %169, label %168

168:                                              ; preds = %140
  call void @_ZdaPv(ptr noundef %166) #13
  br label %169

169:                                              ; preds = %168, %140
  store ptr null, ptr %7, align 8, !tbaa !9
  %170 = load double, ptr %12, align 8, !tbaa !5
  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 %170
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #0 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) #0 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)) #2

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) #1

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [61 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN19MoistAirVapProperty4airhEdd(double noundef %0, double noundef %1) local_unnamed_addr #0 {
  %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)
  %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) #7
  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.2)
  %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) #7
  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) #8
  %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) #8
  %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) #8
  %42 = fadd double %0, -2.731500e+02
  %43 = fsub double 1.000000e+00, %1
  %44 = fmul double %41, 1.003900e+00
  %45 = tail call double @llvm.fmuladd.f64(double %41, double -1.003900e+00, double 1.013250e+05)
  %46 = fdiv double %44, %45
  %47 = fmul double %46, 0x3FE3E74299D883BA
  %48 = fmul double %43, %47
  %49 = fdiv double %48, 0x3FE3E74299D883BA
  %50 = fadd double %49, 1.000000e+00
  %51 = fdiv double %1, %50
  %52 = fmul double %47, %51
  %53 = tail call double @llvm.fmuladd.f64(double %42, double 1.805000e+00, double 2.501000e+03)
  %54 = fmul double %53, %52
  %55 = tail call double @llvm.fmuladd.f64(double %42, double 1.006000e+00, double %54)
  ret double %55
}

; 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 #1

; 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 #0 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 #0 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

; 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

attributes #0 = { 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 = { 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 = { 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 = { noreturn nounwind }
attributes #8 = { 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,SROAPass,SimplifyCFGPass,TailCallElimPass