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

; 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.5 = external hidden unnamed_addr constant [63 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 @_ZN19MoistAirVapProperty9airhumratEdd(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 ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = 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
  %12 = load double, ptr %4, align 8, !tbaa !5
  %13 = fcmp olt double %12, 0.000000e+00
  br i1 %13, label %17, label %14

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

17:                                               ; preds = %14, %2
  %18 = 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)
  %19 = load double, ptr %4, align 8, !tbaa !5
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %18, double noundef %19)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %22 = call i32 @system(ptr noundef @.str.1)
  call void @exit(i32 noundef 1) #11
  unreachable

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

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

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

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

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

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

139:                                              ; preds = %105, %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %140 = load double, ptr %8, align 8, !tbaa !5
  %141 = fmul double %140, 1.003900e+00
  %142 = load double, ptr %8, align 8, !tbaa !5
  %143 = call double @llvm.fmuladd.f64(double -1.003900e+00, double %142, double 1.013250e+05)
  %144 = fdiv double %141, %143
  %145 = fmul double 0x3FE3E74299D883BA, %144
  store double %145, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %146 = load double, ptr %4, align 8, !tbaa !5
  %147 = load double, ptr %4, align 8, !tbaa !5
  %148 = fsub double 1.000000e+00, %147
  %149 = load double, ptr %9, align 8, !tbaa !5
  %150 = fmul double %148, %149
  %151 = fdiv double %150, 0x3FE3E74299D883BA
  %152 = fadd double 1.000000e+00, %151
  %153 = fdiv double %146, %152
  store double %153, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %154 = load double, ptr %10, align 8, !tbaa !5
  %155 = load double, ptr %9, align 8, !tbaa !5
  %156 = fmul double %154, %155
  store double %156, ptr %11, align 8, !tbaa !5
  %157 = load ptr, ptr %7, align 8, !tbaa !9
  %158 = icmp eq ptr %157, null
  br i1 %158, label %160, label %159

159:                                              ; preds = %139
  call void @_ZdaPv(ptr noundef %157) #13
  br label %160

160:                                              ; preds = %159, %139
  store ptr null, ptr %7, align 8, !tbaa !9
  %161 = load double, ptr %11, align 8, !tbaa !5
  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 %161
}

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.5 = external hidden unnamed_addr constant [63 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 @_ZN19MoistAirVapProperty9airhumratEdd(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) #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.5)
  %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 = fsub double 1.000000e+00, %1
  %43 = fmul double %41, 1.003900e+00
  %44 = tail call double @llvm.fmuladd.f64(double %41, double -1.003900e+00, double 1.013250e+05)
  %45 = fdiv double %43, %44
  %46 = fmul double %45, 0x3FE3E74299D883BA
  %47 = fmul double %42, %46
  %48 = fdiv double %47, 0x3FE3E74299D883BA
  %49 = fadd double %48, 1.000000e+00
  %50 = fdiv double %1, %49
  %51 = fmul double %46, %50
  ret double %51
}

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 = { 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