; LLVM IR from MBMS/C-CODE_FOR_MEMBRANE_BASED_MODEL :: CODE_MODEL/SegmentSolve.ll (ZN12SegmentSolve12SegmentSolhtEv)

; 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.SegmentSolve = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, [4 x [4 x double]], [4 x double], double, double, double, double, double, double, double, double, double, double }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12SegmentSolve12SegmentSolhtEv(ptr noundef nonnull align 8 dereferenceable(432) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca [4 x [4 x double]], align 16
  %5 = alloca [4 x double], align 16
  %6 = alloca i32, align 4
  %7 = alloca double, 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
  %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
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %42 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store double 1.000000e-10, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 128, ptr %4) #5
  call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 128, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 4, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %43 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 4
  %44 = load double, ptr %43, align 8, !tbaa !13
  store double %44, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %45 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 3
  %46 = load double, ptr %45, align 8, !tbaa !15
  store double %46, ptr %8, align 8, !tbaa !9
  %47 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 23
  %48 = load i32, ptr %47, align 8, !tbaa !16
  %49 = icmp eq i32 %48, 1
  br i1 %49, label %50, label %270

50:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %51 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 0
  %52 = load double, ptr %51, align 8, !tbaa !17
  %53 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 2
  %54 = load double, ptr %53, align 8, !tbaa !18
  %55 = fmul double %52, %54
  %56 = load double, ptr %7, align 8, !tbaa !9
  %57 = fdiv double %55, %56
  store double %57, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %58 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 35
  %59 = load double, ptr %58, align 8, !tbaa !19
  %60 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 5
  %61 = load double, ptr %60, align 8, !tbaa !20
  %62 = fmul double %59, %61
  %63 = load double, ptr %8, align 8, !tbaa !9
  %64 = fmul double %62, %63
  %65 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %66 = load double, ptr %65, align 8, !tbaa !21
  %67 = fmul double %64, %66
  store double %67, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %68 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 9
  %69 = load double, ptr %68, align 8, !tbaa !22
  %70 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 11
  %71 = load double, ptr %70, align 8, !tbaa !23
  %72 = fmul double %69, %71
  %73 = load double, ptr %7, align 8, !tbaa !9
  %74 = fdiv double %72, %73
  store double %74, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %75 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 36
  %76 = load double, ptr %75, align 8, !tbaa !24
  %77 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 14
  %78 = load double, ptr %77, align 8, !tbaa !25
  %79 = fmul double %76, %78
  %80 = load double, ptr %8, align 8, !tbaa !9
  %81 = fmul double %79, %80
  %82 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %83 = load double, ptr %82, align 8, !tbaa !21
  %84 = fmul double %81, %83
  store double %84, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %85 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 5
  %86 = load double, ptr %85, align 8, !tbaa !20
  store double %86, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %87 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 14
  %88 = load double, ptr %87, align 8, !tbaa !25
  store double %88, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %89 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 19
  %90 = load double, ptr %89, align 8, !tbaa !26
  %91 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 18
  %92 = load double, ptr %91, align 8, !tbaa !27
  %93 = fdiv double %90, %92
  store double %93, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %94 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 35
  %95 = load double, ptr %94, align 8, !tbaa !19
  %96 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %97 = load double, ptr %96, align 8, !tbaa !28
  %98 = fmul double %95, %97
  %99 = load double, ptr %8, align 8, !tbaa !9
  %100 = fmul double %98, %99
  %101 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %102 = load double, ptr %101, align 8, !tbaa !29
  %103 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %104 = load double, ptr %103, align 8, !tbaa !30
  %105 = fadd double %102, %104
  %106 = fdiv double %105, 2.000000e+00
  %107 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %106)
  %108 = fmul double %100, %107
  %109 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %110 = load double, ptr %109, align 8, !tbaa !31
  %111 = fmul double %108, %110
  %112 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %113 = load double, ptr %112, align 8, !tbaa !21
  %114 = fmul double %111, %113
  store double %114, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %115 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %116 = load double, ptr %115, align 8, !tbaa !28
  %117 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %118 = load double, ptr %117, align 8, !tbaa !29
  %119 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %120 = load double, ptr %119, align 8, !tbaa !30
  %121 = fadd double %118, %120
  %122 = fdiv double %121, 2.000000e+00
  %123 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %122)
  %124 = fmul double %116, %123
  %125 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %126 = load double, ptr %125, align 8, !tbaa !31
  %127 = fmul double %124, %126
  store double %127, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %128 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %129 = load double, ptr %128, align 8, !tbaa !28
  %130 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %131 = load double, ptr %130, align 8, !tbaa !29
  %132 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %133 = load double, ptr %132, align 8, !tbaa !30
  %134 = fadd double %131, %133
  %135 = fdiv double %134, 2.000000e+00
  %136 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %135)
  %137 = fmul double %129, %136
  %138 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %139 = load double, ptr %138, align 8, !tbaa !31
  %140 = fmul double %137, %139
  store double %140, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %141 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 36
  %142 = load double, ptr %141, align 8, !tbaa !24
  %143 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %144 = load double, ptr %143, align 8, !tbaa !28
  %145 = fmul double %142, %144
  %146 = load double, ptr %8, align 8, !tbaa !9
  %147 = fmul double %145, %146
  %148 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %149 = load double, ptr %148, align 8, !tbaa !29
  %150 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %151 = load double, ptr %150, align 8, !tbaa !30
  %152 = fadd double %149, %151
  %153 = fdiv double %152, 2.000000e+00
  %154 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %153)
  %155 = fmul double %147, %154
  %156 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %157 = load double, ptr %156, align 8, !tbaa !31
  %158 = fmul double %155, %157
  %159 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %160 = load double, ptr %159, align 8, !tbaa !21
  %161 = fmul double %158, %160
  store double %161, ptr %19, align 8, !tbaa !9
  %162 = load double, ptr %9, align 8, !tbaa !9
  %163 = load double, ptr %10, align 8, !tbaa !9
  %164 = fdiv double %163, 2.000000e+00
  %165 = fadd double %162, %164
  %166 = load double, ptr %16, align 8, !tbaa !9
  %167 = fdiv double %166, 2.000000e+00
  %168 = fadd double %165, %167
  %169 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %170 = getelementptr inbounds [4 x double], ptr %169, i64 0, i64 0
  store double %168, ptr %170, align 16, !tbaa !9
  %171 = load double, ptr %10, align 8, !tbaa !9
  %172 = load double, ptr %16, align 8, !tbaa !9
  %173 = fneg double %172
  %174 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %171, double %173)
  %175 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %176 = getelementptr inbounds [4 x double], ptr %175, i64 0, i64 1
  store double %174, ptr %176, align 8, !tbaa !9
  %177 = load double, ptr %9, align 8, !tbaa !9
  %178 = load double, ptr %10, align 8, !tbaa !9
  %179 = fdiv double %178, 2.000000e+00
  %180 = fsub double %177, %179
  %181 = load double, ptr %16, align 8, !tbaa !9
  %182 = fdiv double %181, 2.000000e+00
  %183 = fsub double %180, %182
  %184 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %185 = load double, ptr %184, align 8, !tbaa !29
  %186 = fmul double %183, %185
  %187 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
  store double %186, ptr %187, align 16, !tbaa !9
  %188 = load double, ptr %13, align 8, !tbaa !9
  %189 = fdiv double %188, 2.000000e+00
  %190 = load double, ptr %17, align 8, !tbaa !9
  %191 = fdiv double %190, 2.000000e+00
  %192 = fadd double %189, %191
  %193 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %194 = getelementptr inbounds [4 x double], ptr %193, i64 0, i64 0
  store double %192, ptr %194, align 16, !tbaa !9
  %195 = load double, ptr %15, align 8, !tbaa !9
  %196 = load double, ptr %13, align 8, !tbaa !9
  %197 = fadd double %195, %196
  %198 = fmul double -1.000000e+00, %197
  %199 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %200 = getelementptr inbounds [4 x double], ptr %199, i64 0, i64 1
  store double %198, ptr %200, align 8, !tbaa !9
  %201 = load double, ptr %15, align 8, !tbaa !9
  %202 = load double, ptr %17, align 8, !tbaa !9
  %203 = fsub double %201, %202
  %204 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %205 = getelementptr inbounds [4 x double], ptr %204, i64 0, i64 2
  store double %203, ptr %205, align 16, !tbaa !9
  %206 = load double, ptr %13, align 8, !tbaa !9
  %207 = fdiv double %206, 2.000000e+00
  %208 = load double, ptr %17, align 8, !tbaa !9
  %209 = fdiv double %208, 2.000000e+00
  %210 = fadd double %207, %209
  %211 = fmul double -1.000000e+00, %210
  %212 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %213 = load double, ptr %212, align 8, !tbaa !29
  %214 = fmul double %211, %213
  %215 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 1
  store double %214, ptr %215, align 8, !tbaa !9
  %216 = load double, ptr %15, align 8, !tbaa !9
  %217 = load double, ptr %18, align 8, !tbaa !9
  %218 = fadd double %216, %217
  %219 = fmul double -1.000000e+00, %218
  %220 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %221 = getelementptr inbounds [4 x double], ptr %220, i64 0, i64 1
  store double %219, ptr %221, align 8, !tbaa !9
  %222 = load double, ptr %15, align 8, !tbaa !9
  %223 = load double, ptr %14, align 8, !tbaa !9
  %224 = fadd double %222, %223
  %225 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %226 = getelementptr inbounds [4 x double], ptr %225, i64 0, i64 2
  store double %224, ptr %226, align 16, !tbaa !9
  %227 = load double, ptr %14, align 8, !tbaa !9
  %228 = fmul double -1.000000e+00, %227
  %229 = fdiv double %228, 2.000000e+00
  %230 = load double, ptr %18, align 8, !tbaa !9
  %231 = fdiv double %230, 2.000000e+00
  %232 = fadd double %229, %231
  %233 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %234 = getelementptr inbounds [4 x double], ptr %233, i64 0, i64 3
  store double %232, ptr %234, align 8, !tbaa !9
  %235 = load double, ptr %14, align 8, !tbaa !9
  %236 = fdiv double %235, 2.000000e+00
  %237 = load double, ptr %18, align 8, !tbaa !9
  %238 = fdiv double %237, 2.000000e+00
  %239 = fsub double %236, %238
  %240 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %241 = load double, ptr %240, align 8, !tbaa !30
  %242 = fmul double %239, %241
  %243 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 2
  store double %242, ptr %243, align 16, !tbaa !9
  %244 = load double, ptr %12, align 8, !tbaa !9
  %245 = load double, ptr %19, align 8, !tbaa !9
  %246 = fneg double %245
  %247 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %244, double %246)
  %248 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 3
  %249 = getelementptr inbounds [4 x double], ptr %248, i64 0, i64 2
  store double %247, ptr %249, align 16, !tbaa !9
  %250 = load double, ptr %11, align 8, !tbaa !9
  %251 = load double, ptr %12, align 8, !tbaa !9
  %252 = fdiv double %251, 2.000000e+00
  %253 = fadd double %250, %252
  %254 = load double, ptr %19, align 8, !tbaa !9
  %255 = fdiv double %254, 2.000000e+00
  %256 = fadd double %253, %255
  %257 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 3
  %258 = getelementptr inbounds [4 x double], ptr %257, i64 0, i64 3
  store double %256, ptr %258, align 8, !tbaa !9
  %259 = load double, ptr %11, align 8, !tbaa !9
  %260 = load double, ptr %12, align 8, !tbaa !9
  %261 = fdiv double %260, 2.000000e+00
  %262 = fsub double %259, %261
  %263 = load double, ptr %19, align 8, !tbaa !9
  %264 = fdiv double %263, 2.000000e+00
  %265 = fsub double %262, %264
  %266 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %267 = load double, ptr %266, align 8, !tbaa !30
  %268 = fmul double %265, %267
  %269 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 3
  store double %268, ptr %269, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %714

270:                                              ; preds = %1
  %271 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 23
  %272 = load i32, ptr %271, align 8, !tbaa !16
  %273 = icmp eq i32 %272, 2
  br i1 %273, label %274, label %493

274:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %275 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 0
  %276 = load double, ptr %275, align 8, !tbaa !17
  %277 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 2
  %278 = load double, ptr %277, align 8, !tbaa !18
  %279 = fmul double %276, %278
  %280 = load double, ptr %7, align 8, !tbaa !9
  %281 = fdiv double %279, %280
  store double %281, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %282 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 35
  %283 = load double, ptr %282, align 8, !tbaa !19
  %284 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 5
  %285 = load double, ptr %284, align 8, !tbaa !20
  %286 = fmul double %283, %285
  %287 = load double, ptr %8, align 8, !tbaa !9
  %288 = fmul double %286, %287
  %289 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %290 = load double, ptr %289, align 8, !tbaa !21
  %291 = fmul double %288, %290
  store double %291, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %292 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 9
  %293 = load double, ptr %292, align 8, !tbaa !22
  %294 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 11
  %295 = load double, ptr %294, align 8, !tbaa !23
  %296 = fmul double %293, %295
  %297 = load double, ptr %7, align 8, !tbaa !9
  %298 = fdiv double %296, %297
  store double %298, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %299 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 36
  %300 = load double, ptr %299, align 8, !tbaa !24
  %301 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 14
  %302 = load double, ptr %301, align 8, !tbaa !25
  %303 = fmul double %300, %302
  %304 = load double, ptr %8, align 8, !tbaa !9
  %305 = fmul double %303, %304
  %306 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %307 = load double, ptr %306, align 8, !tbaa !21
  %308 = fmul double %305, %307
  store double %308, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %309 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 5
  %310 = load double, ptr %309, align 8, !tbaa !20
  store double %310, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %311 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 14
  %312 = load double, ptr %311, align 8, !tbaa !25
  store double %312, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %313 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 19
  %314 = load double, ptr %313, align 8, !tbaa !26
  %315 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 18
  %316 = load double, ptr %315, align 8, !tbaa !27
  %317 = fdiv double %314, %316
  store double %317, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %318 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 35
  %319 = load double, ptr %318, align 8, !tbaa !19
  %320 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %321 = load double, ptr %320, align 8, !tbaa !28
  %322 = fmul double %319, %321
  %323 = load double, ptr %8, align 8, !tbaa !9
  %324 = fmul double %322, %323
  %325 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %326 = load double, ptr %325, align 8, !tbaa !29
  %327 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %328 = load double, ptr %327, align 8, !tbaa !30
  %329 = fadd double %326, %328
  %330 = fdiv double %329, 2.000000e+00
  %331 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %330)
  %332 = fmul double %324, %331
  %333 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %334 = load double, ptr %333, align 8, !tbaa !31
  %335 = fmul double %332, %334
  %336 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %337 = load double, ptr %336, align 8, !tbaa !21
  %338 = fmul double %335, %337
  store double %338, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %339 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %340 = load double, ptr %339, align 8, !tbaa !28
  %341 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %342 = load double, ptr %341, align 8, !tbaa !29
  %343 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %344 = load double, ptr %343, align 8, !tbaa !30
  %345 = fadd double %342, %344
  %346 = fdiv double %345, 2.000000e+00
  %347 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %346)
  %348 = fmul double %340, %347
  %349 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %350 = load double, ptr %349, align 8, !tbaa !31
  %351 = fmul double %348, %350
  store double %351, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %352 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %353 = load double, ptr %352, align 8, !tbaa !28
  %354 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %355 = load double, ptr %354, align 8, !tbaa !29
  %356 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %357 = load double, ptr %356, align 8, !tbaa !30
  %358 = fadd double %355, %357
  %359 = fdiv double %358, 2.000000e+00
  %360 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %359)
  %361 = fmul double %353, %360
  %362 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %363 = load double, ptr %362, align 8, !tbaa !31
  %364 = fmul double %361, %363
  store double %364, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %365 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 36
  %366 = load double, ptr %365, align 8, !tbaa !24
  %367 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %368 = load double, ptr %367, align 8, !tbaa !28
  %369 = fmul double %366, %368
  %370 = load double, ptr %8, align 8, !tbaa !9
  %371 = fmul double %369, %370
  %372 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %373 = load double, ptr %372, align 8, !tbaa !29
  %374 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %375 = load double, ptr %374, align 8, !tbaa !30
  %376 = fadd double %373, %375
  %377 = fdiv double %376, 2.000000e+00
  %378 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %377)
  %379 = fmul double %371, %378
  %380 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %381 = load double, ptr %380, align 8, !tbaa !31
  %382 = fmul double %379, %381
  %383 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %384 = load double, ptr %383, align 8, !tbaa !21
  %385 = fmul double %382, %384
  store double %385, ptr %30, align 8, !tbaa !9
  %386 = load double, ptr %20, align 8, !tbaa !9
  %387 = load double, ptr %21, align 8, !tbaa !9
  %388 = fdiv double %387, 2.000000e+00
  %389 = fadd double %386, %388
  %390 = load double, ptr %27, align 8, !tbaa !9
  %391 = fdiv double %390, 2.000000e+00
  %392 = fadd double %389, %391
  %393 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %394 = getelementptr inbounds [4 x double], ptr %393, i64 0, i64 0
  store double %392, ptr %394, align 16, !tbaa !9
  %395 = load double, ptr %21, align 8, !tbaa !9
  %396 = load double, ptr %27, align 8, !tbaa !9
  %397 = fneg double %396
  %398 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %395, double %397)
  %399 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %400 = getelementptr inbounds [4 x double], ptr %399, i64 0, i64 1
  store double %398, ptr %400, align 8, !tbaa !9
  %401 = load double, ptr %20, align 8, !tbaa !9
  %402 = load double, ptr %21, align 8, !tbaa !9
  %403 = fdiv double %402, 2.000000e+00
  %404 = fsub double %401, %403
  %405 = load double, ptr %27, align 8, !tbaa !9
  %406 = fdiv double %405, 2.000000e+00
  %407 = fsub double %404, %406
  %408 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %409 = load double, ptr %408, align 8, !tbaa !29
  %410 = fmul double %407, %409
  %411 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
  store double %410, ptr %411, align 16, !tbaa !9
  %412 = load double, ptr %24, align 8, !tbaa !9
  %413 = fdiv double %412, 2.000000e+00
  %414 = load double, ptr %28, align 8, !tbaa !9
  %415 = fdiv double %414, 2.000000e+00
  %416 = fadd double %413, %415
  %417 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %418 = getelementptr inbounds [4 x double], ptr %417, i64 0, i64 0
  store double %416, ptr %418, align 16, !tbaa !9
  %419 = load double, ptr %26, align 8, !tbaa !9
  %420 = load double, ptr %24, align 8, !tbaa !9
  %421 = fadd double %419, %420
  %422 = fmul double -1.000000e+00, %421
  %423 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %424 = getelementptr inbounds [4 x double], ptr %423, i64 0, i64 1
  store double %422, ptr %424, align 8, !tbaa !9
  %425 = load double, ptr %26, align 8, !tbaa !9
  %426 = load double, ptr %28, align 8, !tbaa !9
  %427 = fsub double %425, %426
  %428 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %429 = getelementptr inbounds [4 x double], ptr %428, i64 0, i64 2
  store double %427, ptr %429, align 16, !tbaa !9
  %430 = load double, ptr %24, align 8, !tbaa !9
  %431 = fdiv double %430, 2.000000e+00
  %432 = load double, ptr %28, align 8, !tbaa !9
  %433 = fdiv double %432, 2.000000e+00
  %434 = fadd double %431, %433
  %435 = fmul double -1.000000e+00, %434
  %436 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %437 = load double, ptr %436, align 8, !tbaa !29
  %438 = fmul double %435, %437
  %439 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 1
  store double %438, ptr %439, align 8, !tbaa !9
  %440 = load double, ptr %26, align 8, !tbaa !9
  %441 = load double, ptr %29, align 8, !tbaa !9
  %442 = fadd double %440, %441
  %443 = fmul double -1.000000e+00, %442
  %444 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %445 = getelementptr inbounds [4 x double], ptr %444, i64 0, i64 1
  store double %443, ptr %445, align 8, !tbaa !9
  %446 = load double, ptr %26, align 8, !tbaa !9
  %447 = load double, ptr %25, align 8, !tbaa !9
  %448 = fadd double %446, %447
  %449 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %450 = getelementptr inbounds [4 x double], ptr %449, i64 0, i64 2
  store double %448, ptr %450, align 16, !tbaa !9
  %451 = load double, ptr %25, align 8, !tbaa !9
  %452 = fmul double -1.000000e+00, %451
  %453 = fdiv double %452, 2.000000e+00
  %454 = load double, ptr %29, align 8, !tbaa !9
  %455 = fdiv double %454, 2.000000e+00
  %456 = fadd double %453, %455
  %457 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %458 = getelementptr inbounds [4 x double], ptr %457, i64 0, i64 3
  store double %456, ptr %458, align 8, !tbaa !9
  %459 = load double, ptr %25, align 8, !tbaa !9
  %460 = fdiv double %459, 2.000000e+00
  %461 = load double, ptr %29, align 8, !tbaa !9
  %462 = fdiv double %461, 2.000000e+00
  %463 = fsub double %460, %462
  %464 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %465 = load double, ptr %464, align 8, !tbaa !30
  %466 = fmul double %463, %465
  %467 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 2
  store double %466, ptr %467, align 16, !tbaa !9
  %468 = load double, ptr %23, align 8, !tbaa !9
  %469 = load double, ptr %30, align 8, !tbaa !9
  %470 = fadd double %468, %469
  %471 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 3
  %472 = getelementptr inbounds [4 x double], ptr %471, i64 0, i64 2
  store double %470, ptr %472, align 16, !tbaa !9
  %473 = load double, ptr %22, align 8, !tbaa !9
  %474 = load double, ptr %23, align 8, !tbaa !9
  %475 = fdiv double %474, 2.000000e+00
  %476 = fsub double %473, %475
  %477 = load double, ptr %30, align 8, !tbaa !9
  %478 = fdiv double %477, 2.000000e+00
  %479 = fsub double %476, %478
  %480 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 3
  %481 = getelementptr inbounds [4 x double], ptr %480, i64 0, i64 3
  store double %479, ptr %481, align 8, !tbaa !9
  %482 = load double, ptr %22, align 8, !tbaa !9
  %483 = load double, ptr %23, align 8, !tbaa !9
  %484 = fdiv double %483, 2.000000e+00
  %485 = fadd double %482, %484
  %486 = load double, ptr %30, align 8, !tbaa !9
  %487 = fdiv double %486, 2.000000e+00
  %488 = fadd double %485, %487
  %489 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %490 = load double, ptr %489, align 8, !tbaa !30
  %491 = fmul double %488, %490
  %492 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 3
  store double %491, ptr %492, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %713

493:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %494 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 0
  %495 = load double, ptr %494, align 8, !tbaa !17
  %496 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 2
  %497 = load double, ptr %496, align 8, !tbaa !18
  %498 = fmul double %495, %497
  %499 = load double, ptr %7, align 8, !tbaa !9
  %500 = fdiv double %498, %499
  store double %500, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %501 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 35
  %502 = load double, ptr %501, align 8, !tbaa !19
  %503 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 5
  %504 = load double, ptr %503, align 8, !tbaa !20
  %505 = fmul double %502, %504
  %506 = load double, ptr %8, align 8, !tbaa !9
  %507 = fmul double %505, %506
  %508 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %509 = load double, ptr %508, align 8, !tbaa !21
  %510 = fmul double %507, %509
  store double %510, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %511 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 9
  %512 = load double, ptr %511, align 8, !tbaa !22
  %513 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 11
  %514 = load double, ptr %513, align 8, !tbaa !23
  %515 = fmul double %512, %514
  %516 = load double, ptr %8, align 8, !tbaa !9
  %517 = fdiv double %515, %516
  store double %517, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %518 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 36
  %519 = load double, ptr %518, align 8, !tbaa !24
  %520 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 14
  %521 = load double, ptr %520, align 8, !tbaa !25
  %522 = fmul double %519, %521
  %523 = load double, ptr %7, align 8, !tbaa !9
  %524 = fmul double %522, %523
  %525 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %526 = load double, ptr %525, align 8, !tbaa !21
  %527 = fmul double %524, %526
  store double %527, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %528 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 5
  %529 = load double, ptr %528, align 8, !tbaa !20
  store double %529, ptr %35, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %530 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 14
  %531 = load double, ptr %530, align 8, !tbaa !25
  store double %531, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %532 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 19
  %533 = load double, ptr %532, align 8, !tbaa !26
  %534 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 18
  %535 = load double, ptr %534, align 8, !tbaa !27
  %536 = fdiv double %533, %535
  store double %536, ptr %37, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %537 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 35
  %538 = load double, ptr %537, align 8, !tbaa !19
  %539 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %540 = load double, ptr %539, align 8, !tbaa !28
  %541 = fmul double %538, %540
  %542 = load double, ptr %8, align 8, !tbaa !9
  %543 = fmul double %541, %542
  %544 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %545 = load double, ptr %544, align 8, !tbaa !29
  %546 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %547 = load double, ptr %546, align 8, !tbaa !30
  %548 = fadd double %545, %547
  %549 = fdiv double %548, 2.000000e+00
  %550 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %549)
  %551 = fmul double %543, %550
  %552 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %553 = load double, ptr %552, align 8, !tbaa !31
  %554 = fmul double %551, %553
  %555 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %556 = load double, ptr %555, align 8, !tbaa !21
  %557 = fmul double %554, %556
  store double %557, ptr %38, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %558 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %559 = load double, ptr %558, align 8, !tbaa !28
  %560 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %561 = load double, ptr %560, align 8, !tbaa !29
  %562 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %563 = load double, ptr %562, align 8, !tbaa !30
  %564 = fadd double %561, %563
  %565 = fdiv double %564, 2.000000e+00
  %566 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %565)
  %567 = fmul double %559, %566
  %568 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %569 = load double, ptr %568, align 8, !tbaa !31
  %570 = fmul double %567, %569
  store double %570, ptr %39, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %571 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %572 = load double, ptr %571, align 8, !tbaa !28
  %573 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %574 = load double, ptr %573, align 8, !tbaa !29
  %575 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %576 = load double, ptr %575, align 8, !tbaa !30
  %577 = fadd double %574, %576
  %578 = fdiv double %577, 2.000000e+00
  %579 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %578)
  %580 = fmul double %572, %579
  %581 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %582 = load double, ptr %581, align 8, !tbaa !31
  %583 = fmul double %580, %582
  store double %583, ptr %40, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  %584 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 36
  %585 = load double, ptr %584, align 8, !tbaa !24
  %586 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 20
  %587 = load double, ptr %586, align 8, !tbaa !28
  %588 = fmul double %585, %587
  %589 = load double, ptr %7, align 8, !tbaa !9
  %590 = fmul double %588, %589
  %591 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %592 = load double, ptr %591, align 8, !tbaa !29
  %593 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %594 = load double, ptr %593, align 8, !tbaa !30
  %595 = fadd double %592, %594
  %596 = fdiv double %595, 2.000000e+00
  %597 = call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %596)
  %598 = fmul double %590, %597
  %599 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 21
  %600 = load double, ptr %599, align 8, !tbaa !31
  %601 = fmul double %598, %600
  %602 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 22
  %603 = load double, ptr %602, align 8, !tbaa !21
  %604 = fmul double %601, %603
  store double %604, ptr %41, align 8, !tbaa !9
  %605 = load double, ptr %31, align 8, !tbaa !9
  %606 = load double, ptr %32, align 8, !tbaa !9
  %607 = fdiv double %606, 2.000000e+00
  %608 = fadd double %605, %607
  %609 = load double, ptr %38, align 8, !tbaa !9
  %610 = fdiv double %609, 2.000000e+00
  %611 = fadd double %608, %610
  %612 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %613 = getelementptr inbounds [4 x double], ptr %612, i64 0, i64 0
  store double %611, ptr %613, align 16, !tbaa !9
  %614 = load double, ptr %32, align 8, !tbaa !9
  %615 = load double, ptr %38, align 8, !tbaa !9
  %616 = fneg double %615
  %617 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %614, double %616)
  %618 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %619 = getelementptr inbounds [4 x double], ptr %618, i64 0, i64 1
  store double %617, ptr %619, align 8, !tbaa !9
  %620 = load double, ptr %31, align 8, !tbaa !9
  %621 = load double, ptr %32, align 8, !tbaa !9
  %622 = fdiv double %621, 2.000000e+00
  %623 = fsub double %620, %622
  %624 = load double, ptr %38, align 8, !tbaa !9
  %625 = fdiv double %624, 2.000000e+00
  %626 = fsub double %623, %625
  %627 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %628 = load double, ptr %627, align 8, !tbaa !29
  %629 = fmul double %626, %628
  %630 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
  store double %629, ptr %630, align 16, !tbaa !9
  %631 = load double, ptr %35, align 8, !tbaa !9
  %632 = fdiv double %631, 2.000000e+00
  %633 = load double, ptr %39, align 8, !tbaa !9
  %634 = fdiv double %633, 2.000000e+00
  %635 = fadd double %632, %634
  %636 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %637 = getelementptr inbounds [4 x double], ptr %636, i64 0, i64 0
  store double %635, ptr %637, align 16, !tbaa !9
  %638 = load double, ptr %37, align 8, !tbaa !9
  %639 = load double, ptr %35, align 8, !tbaa !9
  %640 = fadd double %638, %639
  %641 = fmul double -1.000000e+00, %640
  %642 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %643 = getelementptr inbounds [4 x double], ptr %642, i64 0, i64 1
  store double %641, ptr %643, align 8, !tbaa !9
  %644 = load double, ptr %37, align 8, !tbaa !9
  %645 = load double, ptr %39, align 8, !tbaa !9
  %646 = fsub double %644, %645
  %647 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 1
  %648 = getelementptr inbounds [4 x double], ptr %647, i64 0, i64 2
  store double %646, ptr %648, align 16, !tbaa !9
  %649 = load double, ptr %35, align 8, !tbaa !9
  %650 = fdiv double %649, 2.000000e+00
  %651 = load double, ptr %39, align 8, !tbaa !9
  %652 = fdiv double %651, 2.000000e+00
  %653 = fadd double %650, %652
  %654 = fmul double -1.000000e+00, %653
  %655 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 7
  %656 = load double, ptr %655, align 8, !tbaa !29
  %657 = fmul double %654, %656
  %658 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 1
  store double %657, ptr %658, align 8, !tbaa !9
  %659 = load double, ptr %37, align 8, !tbaa !9
  %660 = load double, ptr %40, align 8, !tbaa !9
  %661 = fadd double %659, %660
  %662 = fmul double -1.000000e+00, %661
  %663 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %664 = getelementptr inbounds [4 x double], ptr %663, i64 0, i64 1
  store double %662, ptr %664, align 8, !tbaa !9
  %665 = load double, ptr %37, align 8, !tbaa !9
  %666 = load double, ptr %36, align 8, !tbaa !9
  %667 = fadd double %665, %666
  %668 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %669 = getelementptr inbounds [4 x double], ptr %668, i64 0, i64 2
  store double %667, ptr %669, align 16, !tbaa !9
  %670 = load double, ptr %36, align 8, !tbaa !9
  %671 = fmul double -1.000000e+00, %670
  %672 = fdiv double %671, 2.000000e+00
  %673 = load double, ptr %40, align 8, !tbaa !9
  %674 = fdiv double %673, 2.000000e+00
  %675 = fadd double %672, %674
  %676 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 2
  %677 = getelementptr inbounds [4 x double], ptr %676, i64 0, i64 3
  store double %675, ptr %677, align 8, !tbaa !9
  %678 = load double, ptr %36, align 8, !tbaa !9
  %679 = fdiv double %678, 2.000000e+00
  %680 = load double, ptr %40, align 8, !tbaa !9
  %681 = fdiv double %680, 2.000000e+00
  %682 = fsub double %679, %681
  %683 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %684 = load double, ptr %683, align 8, !tbaa !30
  %685 = fmul double %682, %684
  %686 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 2
  store double %685, ptr %686, align 16, !tbaa !9
  %687 = load double, ptr %34, align 8, !tbaa !9
  %688 = load double, ptr %41, align 8, !tbaa !9
  %689 = fneg double %688
  %690 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %687, double %689)
  %691 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 3
  %692 = getelementptr inbounds [4 x double], ptr %691, i64 0, i64 2
  store double %690, ptr %692, align 16, !tbaa !9
  %693 = load double, ptr %33, align 8, !tbaa !9
  %694 = load double, ptr %34, align 8, !tbaa !9
  %695 = fdiv double %694, 2.000000e+00
  %696 = fadd double %693, %695
  %697 = load double, ptr %41, align 8, !tbaa !9
  %698 = fdiv double %697, 2.000000e+00
  %699 = fadd double %696, %698
  %700 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 3
  %701 = getelementptr inbounds [4 x double], ptr %700, i64 0, i64 3
  store double %699, ptr %701, align 8, !tbaa !9
  %702 = load double, ptr %33, align 8, !tbaa !9
  %703 = load double, ptr %34, align 8, !tbaa !9
  %704 = fdiv double %703, 2.000000e+00
  %705 = fsub double %702, %704
  %706 = load double, ptr %41, align 8, !tbaa !9
  %707 = fdiv double %706, 2.000000e+00
  %708 = fsub double %705, %707
  %709 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 16
  %710 = load double, ptr %709, align 8, !tbaa !30
  %711 = fmul double %708, %710
  %712 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 3
  store double %711, ptr %712, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %713

713:                                              ; preds = %493, %274
  br label %714

714:                                              ; preds = %713, %50
  %715 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
  %716 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
  %717 = load i32, ptr %6, align 4, !tbaa !11
  %718 = load double, ptr %3, align 8, !tbaa !9
  call void @_ZN12SegmentSolve3jfcEPA4_dPdid(ptr noundef nonnull align 8 dereferenceable(432) %42, ptr noundef %715, ptr noundef %716, i32 noundef %717, double noundef %718)
  %719 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
  %720 = load double, ptr %719, align 16, !tbaa !9
  %721 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 27
  store double %720, ptr %721, align 8, !tbaa !32
  %722 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 1
  %723 = load double, ptr %722, align 8, !tbaa !9
  %724 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 28
  store double %723, ptr %724, align 8, !tbaa !33
  %725 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 2
  %726 = load double, ptr %725, align 16, !tbaa !9
  %727 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 29
  store double %726, ptr %727, align 8, !tbaa !34
  %728 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 3
  %729 = load double, ptr %728, align 8, !tbaa !9
  %730 = getelementptr inbounds %class.SegmentSolve, ptr %42, i32 0, i32 30
  store double %729, ptr %730, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12SegmentSolve3jfcEPA4_dPdid(ptr noundef nonnull align 8 dereferenceable(432), ptr noundef, ptr noundef, i32 noundef, double noundef) #0 align 2

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 32}
!14 = !{!"_ZTS12SegmentSolve", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !12, i64 184, !12, i64 188, !7, i64 192, !7, i64 320, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424}
!15 = !{!14, !10, i64 24}
!16 = !{!14, !12, i64 184}
!17 = !{!14, !10, i64 0}
!18 = !{!14, !10, i64 16}
!19 = !{!14, !10, i64 416}
!20 = !{!14, !10, i64 40}
!21 = !{!14, !10, i64 176}
!22 = !{!14, !10, i64 72}
!23 = !{!14, !10, i64 88}
!24 = !{!14, !10, i64 424}
!25 = !{!14, !10, i64 112}
!26 = !{!14, !10, i64 152}
!27 = !{!14, !10, i64 144}
!28 = !{!14, !10, i64 160}
!29 = !{!14, !10, i64 56}
!30 = !{!14, !10, i64 128}
!31 = !{!14, !10, i64 168}
!32 = !{!14, !10, i64 352}
!33 = !{!14, !10, i64 360}
!34 = !{!14, !10, i64 368}
!35 = !{!14, !10, i64 376}


; 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"

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12SegmentSolve12SegmentSolhtEv(ptr noundef nonnull align 8 dereferenceable(432) %0) local_unnamed_addr #0 align 2 {
  %2 = alloca [4 x [4 x double]], align 16
  %3 = alloca [4 x double], align 16
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %2) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %2, i8 0, i64 128, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, i8 0, i64 32, i1 false)
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  %5 = load double, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load double, ptr %6, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %0, i64 184
  %9 = load i32, ptr %8, align 8, !tbaa !12
  %10 = load double, ptr %0, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load double, ptr %11, align 8, !tbaa !14
  %13 = fmul double %10, %12
  %14 = fdiv double %13, %5
  %15 = getelementptr inbounds i8, ptr %0, i64 416
  %16 = load double, ptr %15, align 8, !tbaa !15
  %17 = getelementptr inbounds i8, ptr %0, i64 40
  %18 = load double, ptr %17, align 8, !tbaa !16
  %19 = getelementptr inbounds i8, ptr %0, i64 176
  %20 = load <2 x double>, ptr %19, align 8
  %21 = shufflevector <2 x double> %20, <2 x double> poison, <2 x i32> <i32 0, i32 poison>
  %22 = getelementptr inbounds i8, ptr %0, i64 72
  %23 = load double, ptr %22, align 8, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %0, i64 88
  %25 = load double, ptr %24, align 8, !tbaa !18
  %26 = fmul double %23, %25
  %27 = getelementptr inbounds i8, ptr %0, i64 424
  %28 = load double, ptr %27, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %0, i64 112
  %30 = load double, ptr %29, align 8, !tbaa !20
  %31 = fmul double %28, %30
  %32 = getelementptr inbounds i8, ptr %0, i64 152
  %33 = load double, ptr %32, align 8, !tbaa !21
  %34 = getelementptr inbounds i8, ptr %0, i64 144
  %35 = load double, ptr %34, align 8, !tbaa !22
  %36 = fdiv double %33, %35
  %37 = getelementptr inbounds i8, ptr %0, i64 160
  %38 = load double, ptr %37, align 8, !tbaa !23
  %39 = fmul double %16, %38
  %40 = fmul double %7, %39
  %41 = getelementptr inbounds i8, ptr %0, i64 56
  %42 = load double, ptr %41, align 8, !tbaa !24
  %43 = getelementptr inbounds i8, ptr %0, i64 128
  %44 = load double, ptr %43, align 8, !tbaa !25
  %45 = fadd double %42, %44
  %46 = fmul double %45, 5.000000e-01
  %47 = tail call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %46)
  %48 = getelementptr inbounds i8, ptr %0, i64 168
  %49 = load double, ptr %48, align 8, !tbaa !26
  %50 = load double, ptr %19, align 8, !tbaa !27
  %51 = load double, ptr %37, align 8, !tbaa !23
  %52 = load double, ptr %41, align 8, !tbaa !24
  %53 = load double, ptr %43, align 8, !tbaa !25
  %54 = fadd double %52, %53
  %55 = fmul double %54, 5.000000e-01
  %56 = tail call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %55)
  %57 = fmul double %51, %56
  %58 = load double, ptr %48, align 8, !tbaa !26
  %59 = fmul double %57, %58
  %60 = load double, ptr %37, align 8, !tbaa !23
  %61 = load double, ptr %41, align 8, !tbaa !24
  %62 = load double, ptr %43, align 8, !tbaa !25
  %63 = fadd double %61, %62
  %64 = fmul double %63, 5.000000e-01
  %65 = tail call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %64)
  %66 = fmul double %60, %65
  %67 = load double, ptr %48, align 8, !tbaa !26
  %68 = fmul double %66, %67
  %69 = load double, ptr %27, align 8, !tbaa !19
  %70 = load double, ptr %37, align 8, !tbaa !23
  %71 = fmul double %69, %70
  %72 = load double, ptr %41, align 8, !tbaa !24
  %73 = load double, ptr %43, align 8, !tbaa !25
  %74 = fadd double %72, %73
  %75 = fmul double %74, 5.000000e-01
  %76 = tail call noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef %75)
  %77 = load double, ptr %48, align 8, !tbaa !26
  %78 = load double, ptr %19, align 8, !tbaa !27
  %79 = insertelement <2 x double> poison, double %16, i64 0
  %80 = insertelement <2 x double> %79, double %40, i64 1
  %81 = insertelement <2 x double> poison, double %18, i64 0
  %82 = insertelement <2 x double> %81, double %47, i64 1
  %83 = fmul <2 x double> %80, %82
  %84 = insertelement <2 x double> poison, double %7, i64 0
  %85 = insertelement <2 x double> %84, double %49, i64 1
  %86 = fmul <2 x double> %85, %83
  %87 = insertelement <2 x double> %21, double %50, i64 1
  %88 = fmul <2 x double> %87, %86
  %89 = fmul <2 x double> %88, <double 5.000000e-01, double 5.000000e-01>
  %90 = extractelement <2 x double> %89, i64 0
  %91 = fadd double %14, %90
  %92 = extractelement <2 x double> %89, i64 1
  %93 = fadd double %91, %92
  store double %93, ptr %2, align 16, !tbaa !28
  %94 = extractelement <2 x double> %88, i64 1
  %95 = fneg double %94
  %96 = extractelement <2 x double> %88, i64 0
  %97 = tail call double @llvm.fmuladd.f64(double %96, double -1.000000e+00, double %95)
  %98 = getelementptr inbounds i8, ptr %2, i64 8
  store double %97, ptr %98, align 8, !tbaa !28
  %99 = fsub double %14, %90
  %100 = fsub double %99, %92
  %101 = load <2 x double>, ptr %41, align 8
  %102 = fmul double %18, 5.000000e-01
  %103 = fmul double %59, 5.000000e-01
  %104 = fadd double %102, %103
  %105 = getelementptr inbounds i8, ptr %2, i64 32
  store double %104, ptr %105, align 16, !tbaa !28
  %106 = fadd double %18, %36
  %107 = fneg double %106
  %108 = getelementptr inbounds i8, ptr %2, i64 40
  store double %107, ptr %108, align 8, !tbaa !28
  %109 = fsub double %36, %59
  %110 = getelementptr inbounds i8, ptr %2, i64 48
  store double %109, ptr %110, align 16, !tbaa !28
  %111 = fneg double %104
  %112 = insertelement <2 x double> poison, double %100, i64 0
  %113 = insertelement <2 x double> %112, double %111, i64 1
  %114 = shufflevector <2 x double> %101, <2 x double> poison, <2 x i32> zeroinitializer
  %115 = fmul <2 x double> %113, %114
  store <2 x double> %115, ptr %3, align 16, !tbaa !28
  %116 = fadd double %36, %68
  %117 = fneg double %116
  %118 = getelementptr inbounds i8, ptr %2, i64 72
  store double %117, ptr %118, align 8, !tbaa !28
  %119 = fadd double %30, %36
  %120 = getelementptr inbounds i8, ptr %2, i64 80
  store double %119, ptr %120, align 16, !tbaa !28
  %121 = fmul double %30, 5.000000e-01
  %122 = fmul double %68, 5.000000e-01
  %123 = fsub double %122, %121
  %124 = getelementptr inbounds i8, ptr %2, i64 88
  store double %123, ptr %124, align 8, !tbaa !28
  %125 = fsub double %121, %122
  %126 = load double, ptr %43, align 8, !tbaa !25
  %127 = fmul double %125, %126
  %128 = getelementptr inbounds i8, ptr %3, i64 16
  store double %127, ptr %128, align 16, !tbaa !28
  switch i32 %9, label %173 [
    i32 1, label %129
    i32 2, label %152
  ]

129:                                              ; preds = %1
  %130 = fdiv double %26, %5
  %131 = fmul double %7, %71
  %132 = fmul double %131, %76
  %133 = getelementptr inbounds i8, ptr %2, i64 112
  %134 = insertelement <2 x double> %84, double %77, i64 1
  %135 = insertelement <2 x double> poison, double %31, i64 0
  %136 = insertelement <2 x double> %135, double %132, i64 1
  %137 = fmul <2 x double> %134, %136
  %138 = insertelement <2 x double> %21, double %78, i64 1
  %139 = fmul <2 x double> %138, %137
  %140 = extractelement <2 x double> %139, i64 1
  %141 = fneg double %140
  %142 = extractelement <2 x double> %139, i64 0
  %143 = tail call double @llvm.fmuladd.f64(double %142, double -1.000000e+00, double %141)
  store double %143, ptr %133, align 16, !tbaa !28
  %144 = fmul <2 x double> %139, <double 5.000000e-01, double 5.000000e-01>
  %145 = extractelement <2 x double> %144, i64 0
  %146 = fadd double %130, %145
  %147 = extractelement <2 x double> %144, i64 1
  %148 = fadd double %146, %147
  %149 = getelementptr inbounds i8, ptr %2, i64 120
  store double %148, ptr %149, align 8, !tbaa !28
  %150 = fsub double %130, %145
  %151 = fsub double %150, %147
  br label %197

152:                                              ; preds = %1
  %153 = fdiv double %26, %5
  %154 = fmul double %7, %71
  %155 = fmul double %154, %76
  %156 = getelementptr inbounds i8, ptr %2, i64 112
  %157 = insertelement <2 x double> %84, double %77, i64 1
  %158 = insertelement <2 x double> poison, double %31, i64 0
  %159 = insertelement <2 x double> %158, double %155, i64 1
  %160 = fmul <2 x double> %157, %159
  %161 = insertelement <2 x double> %21, double %78, i64 1
  %162 = fmul <2 x double> %161, %160
  %shift = shufflevector <2 x double> %162, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %163 = fadd <2 x double> %162, %shift
  %164 = extractelement <2 x double> %163, i64 0
  store double %164, ptr %156, align 16, !tbaa !28
  %165 = fmul <2 x double> %162, <double 5.000000e-01, double 5.000000e-01>
  %166 = extractelement <2 x double> %165, i64 0
  %167 = fsub double %153, %166
  %168 = extractelement <2 x double> %165, i64 1
  %169 = fsub double %167, %168
  %170 = getelementptr inbounds i8, ptr %2, i64 120
  store double %169, ptr %170, align 8, !tbaa !28
  %171 = fadd double %153, %166
  %172 = fadd double %171, %168
  br label %197

173:                                              ; preds = %1
  %174 = fdiv double %26, %7
  %175 = fmul double %5, %71
  %176 = fmul double %175, %76
  %177 = getelementptr inbounds i8, ptr %2, i64 112
  %178 = insertelement <2 x double> poison, double %5, i64 0
  %179 = insertelement <2 x double> %178, double %77, i64 1
  %180 = insertelement <2 x double> poison, double %31, i64 0
  %181 = insertelement <2 x double> %180, double %176, i64 1
  %182 = fmul <2 x double> %179, %181
  %183 = insertelement <2 x double> %21, double %78, i64 1
  %184 = fmul <2 x double> %183, %182
  %185 = extractelement <2 x double> %184, i64 1
  %186 = fneg double %185
  %187 = extractelement <2 x double> %184, i64 0
  %188 = tail call double @llvm.fmuladd.f64(double %187, double -1.000000e+00, double %186)
  store double %188, ptr %177, align 16, !tbaa !28
  %189 = fmul <2 x double> %184, <double 5.000000e-01, double 5.000000e-01>
  %190 = extractelement <2 x double> %189, i64 0
  %191 = fadd double %174, %190
  %192 = extractelement <2 x double> %189, i64 1
  %193 = fadd double %191, %192
  %194 = getelementptr inbounds i8, ptr %2, i64 120
  store double %193, ptr %194, align 8, !tbaa !28
  %195 = fsub double %174, %190
  %196 = fsub double %195, %192
  br label %197

197:                                              ; preds = %152, %173, %129
  %.sink117 = phi double [ %172, %152 ], [ %196, %173 ], [ %151, %129 ]
  %198 = fmul double %.sink117, %126
  %199 = getelementptr inbounds i8, ptr %3, i64 24
  store double %198, ptr %199, align 8, !tbaa !28
  call void @_ZN12SegmentSolve3jfcEPA4_dPdid(ptr noundef nonnull align 8 dereferenceable(432) %0, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 4, double noundef 1.000000e-10)
  %200 = getelementptr inbounds i8, ptr %0, i64 352
  %201 = load <2 x double>, ptr %3, align 16, !tbaa !28
  store <2 x double> %201, ptr %200, align 8, !tbaa !28
  %202 = getelementptr inbounds i8, ptr %3, i64 16
  %203 = getelementptr inbounds i8, ptr %0, i64 368
  %204 = load <2 x double>, ptr %202, align 16, !tbaa !28
  store <2 x double> %204, ptr %203, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %2) #5
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare noundef double @_ZN19MoistAirVapProperty5vapcpEd(double noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12SegmentSolve3jfcEPA4_dPdid(ptr noundef nonnull align 8 dereferenceable(432), ptr noundef, ptr noundef, i32 noundef, double noundef) local_unnamed_addr #0 align 2

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !7, i64 32}
!6 = !{!"_ZTS12SegmentSolve", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !10, i64 184, !10, i64 188, !8, i64 192, !8, i64 320, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 24}
!12 = !{!6, !10, i64 184}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 416}
!16 = !{!6, !7, i64 40}
!17 = !{!6, !7, i64 72}
!18 = !{!6, !7, i64 88}
!19 = !{!6, !7, i64 424}
!20 = !{!6, !7, i64 112}
!21 = !{!6, !7, i64 152}
!22 = !{!6, !7, i64 144}
!23 = !{!6, !7, i64 160}
!24 = !{!6, !7, i64 56}
!25 = !{!6, !7, i64 128}
!26 = !{!6, !7, i64 168}
!27 = !{!6, !7, i64 176}
!28 = !{!7, !7, i64 0}


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