; LLVM IR from CLASS-SZ/class_sz :: class-sz/source (perturbations)

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

%struct.perturb_parameters_and_workspace = type { ptr, ptr, ptr, ptr, i32, i32, i32, double, ptr }
%struct.perturb_workspace = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, ptr, i32, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr }
%struct.background = type { double, double, double, double, double, double, double, i32, double, double, double, double, i16, double, double, double, double, double, double, double, double, double, i16, double, double, ptr, i32, i32, double, i32, ptr, ptr, double, ptr, double, ptr, double, ptr, double, ptr, ptr, ptr, double, double, double, double, i32, ptr, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i16, i16, i16, i16, i16, [2048 x i8], i16, [2048 x i8] }
%struct.perturbs = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i32, i32, i32, double, i32, i32, [100 x double], [100 x double], i32, i32, i32, i32, i32, double, i32, i32, [30 x double], double, double, double, ptr, ptr, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, double, double, ptr, i32, double, double, double, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, [8000 x i8], [8000 x i8], [8000 x i8], i32, i32, i32, [30 x ptr], [30 x ptr], [30 x ptr], [30 x i32], [30 x i32], [30 x i32], i16, [2048 x i8] }
%struct.thermo = type { double, i32, i32, i32, double, double, i16, i16, double, double, double, double, i32, ptr, ptr, double, i32, ptr, ptr, double, i32, ptr, ptr, double, i16, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i16, i16, i16, [2048 x i8] }
%struct.precision = type { double, double, double, double, double, double, double, double, double, double, double, double, double, [256 x i8], double, i32, double, i32, i32, double, i32, double, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, [256 x i8], [256 x i8], [256 x i8], double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, double, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, i32, double, double, i32, double, double, i32, double, i32, double, double, i32, double, double, double, i32, double, double, double, double, double, i32, double, double, double, double, double, double, double, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, double, double, double, double, i32, double, double, i32, i32, i32, double, double, [2048 x i8] }
%struct.perturb_vector = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [8 x i8], align 1
@__func__.perturb_solve = external hidden unnamed_addr constant [14 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [146 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [273 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [143 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [273 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [198 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [153 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [208 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [376 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [29 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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @perturb_solve(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #4 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %struct.perturb_parameters_and_workspace, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca [2048 x i8], align 16
  %41 = alloca [2048 x i8], align 16
  %42 = alloca i32, align 4
  %43 = alloca [2048 x i8], align 16
  %44 = alloca [2048 x i8], align 16
  %45 = alloca [2048 x i8], align 16
  %46 = alloca [2048 x i8], align 16
  %47 = alloca [2048 x i8], align 16
  %48 = alloca [2048 x i8], align 16
  %49 = alloca [2048 x i8], align 16
  %50 = alloca [2048 x i8], align 16
  %51 = alloca [2048 x i8], align 16
  %52 = alloca [2048 x i8], align 16
  %53 = alloca i32, align 4
  %54 = alloca [2048 x i8], align 16
  %55 = alloca [2048 x i8], align 16
  %56 = alloca i32, align 4
  %57 = alloca [2048 x i8], align 16
  %58 = alloca i32, align 4
  %59 = alloca [2048 x i8], align 16
  %60 = alloca i32, align 4
  %61 = alloca [2048 x i8], align 16
  %62 = alloca [2048 x i8], align 16
  %63 = alloca [2048 x i8], align 16
  %64 = alloca [2048 x i8], align 16
  %65 = alloca [2048 x i8], align 16
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.perturb_workspace, ptr %66, i32 0, i32 47
  store i32 0, ptr %67, align 8, !tbaa !11
  %68 = load ptr, ptr %17, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.perturb_workspace, ptr %68, i32 0, i32 48
  store i32 0, ptr %69, align 4, !tbaa !15
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.background, ptr %70, i32 0, i32 144
  %72 = load i16, ptr %71, align 2, !tbaa !16
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.perturb_workspace, ptr %73, i32 0, i32 46
  store i16 %72, ptr %74, align 4, !tbaa !18
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.perturbs, ptr %75, i32 0, i32 155
  %77 = load ptr, ptr %76, align 8, !tbaa !19
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %81, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !21
  store double %85, ptr %27, align 8, !tbaa !21
  %86 = load double, ptr %27, align 8, !tbaa !21
  %87 = fcmp oeq double %86, 0.000000e+00
  br i1 %87, label %88, label %96

88:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 2048, ptr %40) #6
  %89 = getelementptr inbounds [2048 x i8], ptr %40, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %89, ptr noundef @.str.157)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %41) #6
  %90 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  %91 = getelementptr inbounds [2048 x i8], ptr %40, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %90, ptr noundef @.str.7, ptr noundef @.str.191, ptr noundef %91)
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.perturbs, ptr %92, i32 0, i32 186
  %94 = getelementptr inbounds [2048 x i8], ptr %93, i64 0, i64 0
  %95 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %94, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2779, ptr noundef %95)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %40) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

96:                                               ; preds = %8
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.background, ptr %97, i32 0, i32 129
  %99 = load i16, ptr %98, align 8, !tbaa !22
  %100 = sext i16 %99 to i32
  %101 = icmp eq i32 %100, 1
  br i1 %101, label %102, label %154

102:                                              ; preds = %96
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %150, %102
  %104 = load i32, ptr %23, align 4, !tbaa !9
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.perturb_workspace, ptr %105, i32 0, i32 57
  %107 = load i32, ptr %106, align 8, !tbaa !23
  %108 = icmp sle i32 %104, %107
  br i1 %108, label %109, label %153

109:                                              ; preds = %103
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.background, ptr %110, i32 0, i32 45
  %112 = load double, ptr %111, align 8, !tbaa !24
  %113 = load i32, ptr %23, align 4, !tbaa !9
  %114 = load i32, ptr %23, align 4, !tbaa !9
  %115 = mul nsw i32 %113, %114
  %116 = sitofp i32 %115 to double
  %117 = fsub double %116, 1.000000e+00
  %118 = fmul double %112, %117
  %119 = load double, ptr %27, align 8, !tbaa !21
  %120 = fdiv double %118, %119
  %121 = load double, ptr %27, align 8, !tbaa !21
  %122 = fdiv double %120, %121
  %123 = fsub double 1.000000e+00, %122
  %124 = fcmp olt double %123, 0.000000e+00
  br i1 %124, label %125, label %126

125:                                              ; preds = %109
  br label %141

126:                                              ; preds = %109
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.background, ptr %127, i32 0, i32 45
  %129 = load double, ptr %128, align 8, !tbaa !24
  %130 = load i32, ptr %23, align 4, !tbaa !9
  %131 = load i32, ptr %23, align 4, !tbaa !9
  %132 = mul nsw i32 %130, %131
  %133 = sitofp i32 %132 to double
  %134 = fsub double %133, 1.000000e+00
  %135 = fmul double %129, %134
  %136 = load double, ptr %27, align 8, !tbaa !21
  %137 = fdiv double %135, %136
  %138 = load double, ptr %27, align 8, !tbaa !21
  %139 = fdiv double %137, %138
  %140 = fsub double 1.000000e+00, %139
  br label %141

141:                                              ; preds = %126, %125
  %142 = phi double [ 0.000000e+00, %125 ], [ %140, %126 ]
  %143 = call double @sqrt(double noundef %142) #6
  %144 = load ptr, ptr %17, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.perturb_workspace, ptr %144, i32 0, i32 58
  %146 = load ptr, ptr %145, align 8, !tbaa !25
  %147 = load i32, ptr %23, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds double, ptr %146, i64 %148
  store double %143, ptr %149, align 8, !tbaa !21
  br label %150

150:                                              ; preds = %141
  %151 = load i32, ptr %23, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %23, align 4, !tbaa !9
  br label %103, !llvm.loop !26

153:                                              ; preds = %103
  br label %154

154:                                              ; preds = %153, %96
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.perturbs, ptr %155, i32 0, i32 159
  %157 = load i32, ptr %156, align 8, !tbaa !28
  store i32 %157, ptr %25, align 4, !tbaa !9
  %158 = load ptr, ptr %11, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.background, ptr %158, i32 0, i32 101
  %160 = load ptr, ptr %159, align 8, !tbaa !29
  %161 = getelementptr inbounds double, ptr %160, i64 0
  %162 = load double, ptr %161, align 8, !tbaa !21
  store double %162, ptr %20, align 8, !tbaa !21
  %163 = load ptr, ptr %11, align 8, !tbaa !5
  %164 = load double, ptr %20, align 8, !tbaa !21
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.background, ptr %165, i32 0, i32 142
  %167 = load i16, ptr %166, align 2, !tbaa !30
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.background, ptr %168, i32 0, i32 144
  %170 = load i16, ptr %169, align 2, !tbaa !16
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.perturb_workspace, ptr %171, i32 0, i32 47
  %173 = load ptr, ptr %17, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.perturb_workspace, ptr %173, i32 0, i32 11
  %175 = load ptr, ptr %174, align 8, !tbaa !31
  %176 = call i32 @background_at_tau(ptr noundef %163, double noundef %164, i16 noundef signext %167, i16 noundef signext %170, ptr noundef %172, ptr noundef %175)
  %177 = icmp eq i32 %176, 1
  br i1 %177, label %178, label %187

178:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 2048, ptr %43) #6
  %179 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.background, ptr %180, i32 0, i32 149
  %182 = getelementptr inbounds [2048 x i8], ptr %181, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %179, ptr noundef @.str, ptr noundef @.str.192, ptr noundef %182)
  %183 = load ptr, ptr %13, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.perturbs, ptr %183, i32 0, i32 186
  %185 = getelementptr inbounds [2048 x i8], ptr %184, i64 0, i64 0
  %186 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %185, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2806, ptr noundef %186)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %43) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

187:                                              ; preds = %154
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = load ptr, ptr %17, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.perturb_workspace, ptr %190, i32 0, i32 11
  %192 = load ptr, ptr %191, align 8, !tbaa !31
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.background, ptr %193, i32 0, i32 59
  %195 = load i32, ptr %194, align 8, !tbaa !32
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds double, ptr %192, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !21
  %199 = fdiv double 1.000000e+00, %198
  %200 = fsub double %199, 1.000000e+00
  %201 = load ptr, ptr %12, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.thermo, ptr %201, i32 0, i32 90
  %203 = load i16, ptr %202, align 8, !tbaa !33
  %204 = load ptr, ptr %17, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.perturb_workspace, ptr %204, i32 0, i32 48
  %206 = load ptr, ptr %17, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.perturb_workspace, ptr %206, i32 0, i32 11
  %208 = load ptr, ptr %207, align 8, !tbaa !31
  %209 = load ptr, ptr %17, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.perturb_workspace, ptr %209, i32 0, i32 12
  %211 = load ptr, ptr %210, align 8, !tbaa !35
  %212 = call i32 @thermodynamics_at_z(ptr noundef %188, ptr noundef %189, double noundef %200, i16 noundef signext %203, ptr noundef %205, ptr noundef %208, ptr noundef %211)
  %213 = icmp eq i32 %212, 1
  br i1 %213, label %214, label %223

214:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 2048, ptr %44) #6
  %215 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  %216 = load ptr, ptr %12, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.thermo, ptr %216, i32 0, i32 93
  %218 = getelementptr inbounds [2048 x i8], ptr %217, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %215, ptr noundef @.str, ptr noundef @.str.193, ptr noundef %218)
  %219 = load ptr, ptr %13, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.perturbs, ptr %219, i32 0, i32 186
  %221 = getelementptr inbounds [2048 x i8], ptr %220, i64 0, i64 0
  %222 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %221, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2816, ptr noundef %222)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %44) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

223:                                              ; preds = %187
  %224 = load ptr, ptr %17, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.perturb_workspace, ptr %224, i32 0, i32 11
  %226 = load ptr, ptr %225, align 8, !tbaa !31
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.background, ptr %227, i32 0, i32 59
  %229 = load i32, ptr %228, align 8, !tbaa !32
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds double, ptr %226, i64 %230
  %232 = load double, ptr %231, align 8, !tbaa !21
  %233 = load ptr, ptr %17, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.perturb_workspace, ptr %233, i32 0, i32 11
  %235 = load ptr, ptr %234, align 8, !tbaa !31
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.background, ptr %236, i32 0, i32 60
  %238 = load i32, ptr %237, align 4, !tbaa !36
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %235, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !21
  %242 = fmul double %232, %241
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.perturb_workspace, ptr %243, i32 0, i32 12
  %245 = load ptr, ptr %244, align 8, !tbaa !35
  %246 = load ptr, ptr %12, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.thermo, ptr %246, i32 0, i32 37
  %248 = load i32, ptr %247, align 4, !tbaa !37
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds double, ptr %245, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !21
  %252 = fdiv double %242, %251
  %253 = load ptr, ptr %10, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.precision, ptr %253, i32 0, i32 63
  %255 = load double, ptr %254, align 8, !tbaa !38
  %256 = fcmp ogt double %252, %255
  br i1 %256, label %257, label %294

257:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 2048, ptr %45) #6
  %258 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  %259 = load ptr, ptr %17, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.perturb_workspace, ptr %259, i32 0, i32 11
  %261 = load ptr, ptr %260, align 8, !tbaa !31
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.background, ptr %262, i32 0, i32 59
  %264 = load i32, ptr %263, align 8, !tbaa !32
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds double, ptr %261, i64 %265
  %267 = load double, ptr %266, align 8, !tbaa !21
  %268 = load ptr, ptr %17, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.perturb_workspace, ptr %268, i32 0, i32 11
  %270 = load ptr, ptr %269, align 8, !tbaa !31
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.background, ptr %271, i32 0, i32 60
  %273 = load i32, ptr %272, align 4, !tbaa !36
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds double, ptr %270, i64 %274
  %276 = load double, ptr %275, align 8, !tbaa !21
  %277 = fmul double %267, %276
  %278 = load ptr, ptr %17, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.perturb_workspace, ptr %278, i32 0, i32 12
  %280 = load ptr, ptr %279, align 8, !tbaa !35
  %281 = load ptr, ptr %12, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.thermo, ptr %281, i32 0, i32 37
  %283 = load i32, ptr %282, align 4, !tbaa !37
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds double, ptr %280, i64 %284
  %286 = load double, ptr %285, align 8, !tbaa !21
  %287 = fdiv double %277, %286
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %258, ptr noundef @.str.194, double noundef %287)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %46) #6
  %288 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  %289 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %288, ptr noundef @.str.7, ptr noundef @.str.195, ptr noundef %289)
  %290 = load ptr, ptr %13, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.perturbs, ptr %290, i32 0, i32 186
  %292 = getelementptr inbounds [2048 x i8], ptr %291, i64 0, i64 0
  %293 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %292, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2827, ptr noundef %293)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %45) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

294:                                              ; preds = %223
  %295 = load double, ptr %27, align 8, !tbaa !21
  %296 = load ptr, ptr %17, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.perturb_workspace, ptr %296, i32 0, i32 11
  %298 = load ptr, ptr %297, align 8, !tbaa !31
  %299 = load ptr, ptr %11, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.background, ptr %299, i32 0, i32 59
  %301 = load i32, ptr %300, align 8, !tbaa !32
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %298, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !21
  %305 = fdiv double %295, %304
  %306 = load ptr, ptr %17, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.perturb_workspace, ptr %306, i32 0, i32 11
  %308 = load ptr, ptr %307, align 8, !tbaa !31
  %309 = load ptr, ptr %11, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.background, ptr %309, i32 0, i32 60
  %311 = load i32, ptr %310, align 4, !tbaa !36
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds double, ptr %308, i64 %312
  %314 = load double, ptr %313, align 8, !tbaa !21
  %315 = fdiv double %305, %314
  %316 = load ptr, ptr %10, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.precision, ptr %316, i32 0, i32 64
  %318 = load double, ptr %317, align 8, !tbaa !40
  %319 = fcmp ogt double %315, %318
  br i1 %319, label %320, label %366

320:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 2048, ptr %47) #6
  %321 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  %322 = load ptr, ptr %13, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.perturbs, ptr %322, i32 0, i32 155
  %324 = load ptr, ptr %323, align 8, !tbaa !19
  %325 = load i32, ptr %14, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds ptr, ptr %324, i64 %326
  %328 = load ptr, ptr %327, align 8, !tbaa !5
  %329 = load ptr, ptr %13, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.perturbs, ptr %329, i32 0, i32 154
  %331 = load ptr, ptr %330, align 8, !tbaa !41
  %332 = load i32, ptr %14, align 4, !tbaa !9
  %333 = sext i32 %332 to i64
  %334 = getelementptr inbounds i32, ptr %331, i64 %333
  %335 = load i32, ptr %334, align 4, !tbaa !9
  %336 = sub nsw i32 %335, 1
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds double, ptr %328, i64 %337
  %339 = load double, ptr %338, align 8, !tbaa !21
  %340 = load ptr, ptr %17, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.perturb_workspace, ptr %340, i32 0, i32 11
  %342 = load ptr, ptr %341, align 8, !tbaa !31
  %343 = load ptr, ptr %11, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.background, ptr %343, i32 0, i32 59
  %345 = load i32, ptr %344, align 8, !tbaa !32
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds double, ptr %342, i64 %346
  %348 = load double, ptr %347, align 8, !tbaa !21
  %349 = fdiv double %339, %348
  %350 = load ptr, ptr %17, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.perturb_workspace, ptr %350, i32 0, i32 11
  %352 = load ptr, ptr %351, align 8, !tbaa !31
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.background, ptr %353, i32 0, i32 60
  %355 = load i32, ptr %354, align 4, !tbaa !36
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds double, ptr %352, i64 %356
  %358 = load double, ptr %357, align 8, !tbaa !21
  %359 = fdiv double %349, %358
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %321, ptr noundef @.str.196, double noundef %359)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %48) #6
  %360 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  %361 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %360, ptr noundef @.str.7, ptr noundef @.str.197, ptr noundef %361)
  %362 = load ptr, ptr %13, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.perturbs, ptr %362, i32 0, i32 186
  %364 = getelementptr inbounds [2048 x i8], ptr %363, i64 0, i64 0
  %365 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %364, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2833, ptr noundef %365)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %47) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

366:                                              ; preds = %294
  %367 = load ptr, ptr %11, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.background, ptr %367, i32 0, i32 123
  %369 = load i16, ptr %368, align 4, !tbaa !42
  %370 = sext i16 %369 to i32
  %371 = icmp eq i32 %370, 1
  br i1 %371, label %372, label %468

372:                                              ; preds = %366
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %373

373:                                              ; preds = %464, %372
  %374 = load i32, ptr %35, align 4, !tbaa !9
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.background, ptr %375, i32 0, i32 29
  %377 = load i32, ptr %376, align 8, !tbaa !43
  %378 = icmp slt i32 %374, %377
  br i1 %378, label %379, label %467

379:                                              ; preds = %373
  %380 = load ptr, ptr %17, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.perturb_workspace, ptr %380, i32 0, i32 11
  %382 = load ptr, ptr %381, align 8, !tbaa !31
  %383 = load ptr, ptr %11, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.background, ptr %383, i32 0, i32 82
  %385 = load i32, ptr %384, align 4, !tbaa !44
  %386 = load i32, ptr %35, align 4, !tbaa !9
  %387 = add nsw i32 %385, %386
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds double, ptr %382, i64 %388
  %390 = load double, ptr %389, align 8, !tbaa !21
  %391 = load ptr, ptr %17, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.perturb_workspace, ptr %391, i32 0, i32 11
  %393 = load ptr, ptr %392, align 8, !tbaa !31
  %394 = load ptr, ptr %11, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.background, ptr %394, i32 0, i32 81
  %396 = load i32, ptr %395, align 8, !tbaa !45
  %397 = load i32, ptr %35, align 4, !tbaa !9
  %398 = add nsw i32 %396, %397
  %399 = sext i32 %398 to i64
  %400 = getelementptr inbounds double, ptr %393, i64 %399
  %401 = load double, ptr %400, align 8, !tbaa !21
  %402 = fdiv double %390, %401
  %403 = fsub double %402, 0x3FD5555555555555
  %404 = call double @llvm.fabs.f64(double %403)
  %405 = load ptr, ptr %10, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.precision, ptr %405, i32 0, i32 10
  %407 = load double, ptr %406, align 8, !tbaa !46
  %408 = fcmp ogt double %404, %407
  br i1 %408, label %409, label %463

409:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 2048, ptr %49) #6
  %410 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  %411 = load i32, ptr %35, align 4, !tbaa !9
  %412 = load ptr, ptr %17, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.perturb_workspace, ptr %412, i32 0, i32 11
  %414 = load ptr, ptr %413, align 8, !tbaa !31
  %415 = load ptr, ptr %11, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.background, ptr %415, i32 0, i32 82
  %417 = load i32, ptr %416, align 4, !tbaa !44
  %418 = load i32, ptr %35, align 4, !tbaa !9
  %419 = add nsw i32 %417, %418
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds double, ptr %414, i64 %420
  %422 = load double, ptr %421, align 8, !tbaa !21
  %423 = load ptr, ptr %17, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.perturb_workspace, ptr %423, i32 0, i32 11
  %425 = load ptr, ptr %424, align 8, !tbaa !31
  %426 = load ptr, ptr %11, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.background, ptr %426, i32 0, i32 81
  %428 = load i32, ptr %427, align 8, !tbaa !45
  %429 = load i32, ptr %35, align 4, !tbaa !9
  %430 = add nsw i32 %428, %429
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds double, ptr %425, i64 %431
  %433 = load double, ptr %432, align 8, !tbaa !21
  %434 = fdiv double %422, %433
  %435 = load ptr, ptr %17, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.perturb_workspace, ptr %435, i32 0, i32 11
  %437 = load ptr, ptr %436, align 8, !tbaa !31
  %438 = load ptr, ptr %11, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.background, ptr %438, i32 0, i32 82
  %440 = load i32, ptr %439, align 4, !tbaa !44
  %441 = load i32, ptr %35, align 4, !tbaa !9
  %442 = add nsw i32 %440, %441
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds double, ptr %437, i64 %443
  %445 = load double, ptr %444, align 8, !tbaa !21
  %446 = load ptr, ptr %17, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.perturb_workspace, ptr %446, i32 0, i32 11
  %448 = load ptr, ptr %447, align 8, !tbaa !31
  %449 = load ptr, ptr %11, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.background, ptr %449, i32 0, i32 81
  %451 = load i32, ptr %450, align 8, !tbaa !45
  %452 = load i32, ptr %35, align 4, !tbaa !9
  %453 = add nsw i32 %451, %452
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds double, ptr %448, i64 %454
  %456 = load double, ptr %455, align 8, !tbaa !21
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %410, ptr noundef @.str.198, i32 noundef %411, double noundef %434, double noundef %445, double noundef %456)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %50) #6
  %457 = getelementptr inbounds [2048 x i8], ptr %50, i64 0, i64 0
  %458 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %457, ptr noundef @.str.7, ptr noundef @.str.199, ptr noundef %458)
  %459 = load ptr, ptr %13, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.perturbs, ptr %459, i32 0, i32 186
  %461 = getelementptr inbounds [2048 x i8], ptr %460, i64 0, i64 0
  %462 = getelementptr inbounds [2048 x i8], ptr %50, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %461, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2843, ptr noundef %462)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %49) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

463:                                              ; preds = %379
  br label %464

464:                                              ; preds = %463
  %465 = load i32, ptr %35, align 4, !tbaa !9
  %466 = add nsw i32 %465, 1
  store i32 %466, ptr %35, align 4, !tbaa !9
  br label %373, !llvm.loop !47

467:                                              ; preds = %373
  br label %468

468:                                              ; preds = %467, %366
  %469 = load ptr, ptr %13, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.perturbs, ptr %469, i32 0, i32 158
  %471 = load ptr, ptr %470, align 8, !tbaa !48
  %472 = getelementptr inbounds double, ptr %471, i64 0
  %473 = load double, ptr %472, align 8, !tbaa !21
  store double %473, ptr %21, align 8, !tbaa !21
  %474 = load double, ptr %20, align 8, !tbaa !21
  %475 = load double, ptr %21, align 8, !tbaa !21
  %476 = fadd double %474, %475
  %477 = fmul double 5.000000e-01, %476
  store double %477, ptr %22, align 8, !tbaa !21
  br label %478

478:                                              ; preds = %670, %468
  %479 = load double, ptr %21, align 8, !tbaa !21
  %480 = load double, ptr %20, align 8, !tbaa !21
  %481 = fsub double %479, %480
  %482 = load double, ptr %20, align 8, !tbaa !21
  %483 = fdiv double %481, %482
  %484 = load ptr, ptr %10, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.precision, ptr %484, i32 0, i32 86
  %486 = load double, ptr %485, align 8, !tbaa !49
  %487 = fcmp ogt double %483, %486
  br i1 %487, label %488, label %675

488:                                              ; preds = %478
  store i32 1, ptr %36, align 4, !tbaa !9
  %489 = load ptr, ptr %11, align 8, !tbaa !5
  %490 = load double, ptr %22, align 8, !tbaa !21
  %491 = load ptr, ptr %11, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.background, ptr %491, i32 0, i32 142
  %493 = load i16, ptr %492, align 2, !tbaa !30
  %494 = load ptr, ptr %11, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.background, ptr %494, i32 0, i32 144
  %496 = load i16, ptr %495, align 2, !tbaa !16
  %497 = load ptr, ptr %17, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.perturb_workspace, ptr %497, i32 0, i32 47
  %499 = load ptr, ptr %17, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.perturb_workspace, ptr %499, i32 0, i32 11
  %501 = load ptr, ptr %500, align 8, !tbaa !31
  %502 = call i32 @background_at_tau(ptr noundef %489, double noundef %490, i16 noundef signext %493, i16 noundef signext %496, ptr noundef %498, ptr noundef %501)
  %503 = icmp eq i32 %502, 1
  br i1 %503, label %504, label %513

504:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 2048, ptr %51) #6
  %505 = getelementptr inbounds [2048 x i8], ptr %51, i64 0, i64 0
  %506 = load ptr, ptr %11, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.background, ptr %506, i32 0, i32 149
  %508 = getelementptr inbounds [2048 x i8], ptr %507, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %505, ptr noundef @.str, ptr noundef @.str.200, ptr noundef %508)
  %509 = load ptr, ptr %13, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.perturbs, ptr %509, i32 0, i32 186
  %511 = getelementptr inbounds [2048 x i8], ptr %510, i64 0, i64 0
  %512 = getelementptr inbounds [2048 x i8], ptr %51, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %511, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2864, ptr noundef %512)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %51) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

513:                                              ; preds = %488
  %514 = load ptr, ptr %11, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.background, ptr %514, i32 0, i32 123
  %516 = load i16, ptr %515, align 4, !tbaa !42
  %517 = sext i16 %516 to i32
  %518 = icmp eq i32 %517, 1
  br i1 %518, label %519, label %562

519:                                              ; preds = %513
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %520

520:                                              ; preds = %558, %519
  %521 = load i32, ptr %35, align 4, !tbaa !9
  %522 = load ptr, ptr %11, align 8, !tbaa !5
  %523 = getelementptr inbounds %struct.background, ptr %522, i32 0, i32 29
  %524 = load i32, ptr %523, align 8, !tbaa !43
  %525 = icmp slt i32 %521, %524
  br i1 %525, label %526, label %561

526:                                              ; preds = %520
  %527 = load ptr, ptr %17, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.perturb_workspace, ptr %527, i32 0, i32 11
  %529 = load ptr, ptr %528, align 8, !tbaa !31
  %530 = load ptr, ptr %11, align 8, !tbaa !5
  %531 = getelementptr inbounds %struct.background, ptr %530, i32 0, i32 82
  %532 = load i32, ptr %531, align 4, !tbaa !44
  %533 = load i32, ptr %35, align 4, !tbaa !9
  %534 = add nsw i32 %532, %533
  %535 = sext i32 %534 to i64
  %536 = getelementptr inbounds double, ptr %529, i64 %535
  %537 = load double, ptr %536, align 8, !tbaa !21
  %538 = load ptr, ptr %17, align 8, !tbaa !5
  %539 = getelementptr inbounds %struct.perturb_workspace, ptr %538, i32 0, i32 11
  %540 = load ptr, ptr %539, align 8, !tbaa !31
  %541 = load ptr, ptr %11, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.background, ptr %541, i32 0, i32 81
  %543 = load i32, ptr %542, align 8, !tbaa !45
  %544 = load i32, ptr %35, align 4, !tbaa !9
  %545 = add nsw i32 %543, %544
  %546 = sext i32 %545 to i64
  %547 = getelementptr inbounds double, ptr %540, i64 %546
  %548 = load double, ptr %547, align 8, !tbaa !21
  %549 = fdiv double %537, %548
  %550 = fsub double %549, 0x3FD5555555555555
  %551 = call double @llvm.fabs.f64(double %550)
  %552 = load ptr, ptr %10, align 8, !tbaa !5
  %553 = getelementptr inbounds %struct.precision, ptr %552, i32 0, i32 10
  %554 = load double, ptr %553, align 8, !tbaa !46
  %555 = fcmp ogt double %551, %554
  br i1 %555, label %556, label %557

556:                                              ; preds = %526
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %557

557:                                              ; preds = %556, %526
  br label %558

558:                                              ; preds = %557
  %559 = load i32, ptr %35, align 4, !tbaa !9
  %560 = add nsw i32 %559, 1
  store i32 %560, ptr %35, align 4, !tbaa !9
  br label %520, !llvm.loop !50

561:                                              ; preds = %520
  br label %562

562:                                              ; preds = %561, %513
  %563 = load i32, ptr %36, align 4, !tbaa !9
  %564 = icmp eq i32 %563, 1
  br i1 %564, label %565, label %663

565:                                              ; preds = %562
  %566 = load ptr, ptr %11, align 8, !tbaa !5
  %567 = load ptr, ptr %12, align 8, !tbaa !5
  %568 = load ptr, ptr %17, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.perturb_workspace, ptr %568, i32 0, i32 11
  %570 = load ptr, ptr %569, align 8, !tbaa !31
  %571 = load ptr, ptr %11, align 8, !tbaa !5
  %572 = getelementptr inbounds %struct.background, ptr %571, i32 0, i32 59
  %573 = load i32, ptr %572, align 8, !tbaa !32
  %574 = sext i32 %573 to i64
  %575 = getelementptr inbounds double, ptr %570, i64 %574
  %576 = load double, ptr %575, align 8, !tbaa !21
  %577 = fdiv double 1.000000e+00, %576
  %578 = fsub double %577, 1.000000e+00
  %579 = load ptr, ptr %12, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.thermo, ptr %579, i32 0, i32 90
  %581 = load i16, ptr %580, align 8, !tbaa !33
  %582 = load ptr, ptr %17, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.perturb_workspace, ptr %582, i32 0, i32 48
  %584 = load ptr, ptr %17, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.perturb_workspace, ptr %584, i32 0, i32 11
  %586 = load ptr, ptr %585, align 8, !tbaa !31
  %587 = load ptr, ptr %17, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.perturb_workspace, ptr %587, i32 0, i32 12
  %589 = load ptr, ptr %588, align 8, !tbaa !35
  %590 = call i32 @thermodynamics_at_z(ptr noundef %566, ptr noundef %567, double noundef %578, i16 noundef signext %581, ptr noundef %583, ptr noundef %586, ptr noundef %589)
  %591 = icmp eq i32 %590, 1
  br i1 %591, label %592, label %601

592:                                              ; preds = %565
  call void @llvm.lifetime.start.p0(i64 2048, ptr %52) #6
  %593 = getelementptr inbounds [2048 x i8], ptr %52, i64 0, i64 0
  %594 = load ptr, ptr %12, align 8, !tbaa !5
  %595 = getelementptr inbounds %struct.thermo, ptr %594, i32 0, i32 93
  %596 = getelementptr inbounds [2048 x i8], ptr %595, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %593, ptr noundef @.str, ptr noundef @.str.193, ptr noundef %596)
  %597 = load ptr, ptr %13, align 8, !tbaa !5
  %598 = getelementptr inbounds %struct.perturbs, ptr %597, i32 0, i32 186
  %599 = getelementptr inbounds [2048 x i8], ptr %598, i64 0, i64 0
  %600 = getelementptr inbounds [2048 x i8], ptr %52, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %599, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2885, ptr noundef %600)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %52) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

601:                                              ; preds = %565
  %602 = load ptr, ptr %17, align 8, !tbaa !5
  %603 = getelementptr inbounds %struct.perturb_workspace, ptr %602, i32 0, i32 11
  %604 = load ptr, ptr %603, align 8, !tbaa !31
  %605 = load ptr, ptr %11, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.background, ptr %605, i32 0, i32 59
  %607 = load i32, ptr %606, align 8, !tbaa !32
  %608 = sext i32 %607 to i64
  %609 = getelementptr inbounds double, ptr %604, i64 %608
  %610 = load double, ptr %609, align 8, !tbaa !21
  %611 = load ptr, ptr %17, align 8, !tbaa !5
  %612 = getelementptr inbounds %struct.perturb_workspace, ptr %611, i32 0, i32 11
  %613 = load ptr, ptr %612, align 8, !tbaa !31
  %614 = load ptr, ptr %11, align 8, !tbaa !5
  %615 = getelementptr inbounds %struct.background, ptr %614, i32 0, i32 60
  %616 = load i32, ptr %615, align 4, !tbaa !36
  %617 = sext i32 %616 to i64
  %618 = getelementptr inbounds double, ptr %613, i64 %617
  %619 = load double, ptr %618, align 8, !tbaa !21
  %620 = fmul double %610, %619
  %621 = load ptr, ptr %17, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct.perturb_workspace, ptr %621, i32 0, i32 12
  %623 = load ptr, ptr %622, align 8, !tbaa !35
  %624 = load ptr, ptr %12, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.thermo, ptr %624, i32 0, i32 37
  %626 = load i32, ptr %625, align 4, !tbaa !37
  %627 = sext i32 %626 to i64
  %628 = getelementptr inbounds double, ptr %623, i64 %627
  %629 = load double, ptr %628, align 8, !tbaa !21
  %630 = fdiv double %620, %629
  %631 = load ptr, ptr %10, align 8, !tbaa !5
  %632 = getelementptr inbounds %struct.precision, ptr %631, i32 0, i32 63
  %633 = load double, ptr %632, align 8, !tbaa !38
  %634 = fcmp ogt double %630, %633
  br i1 %634, label %661, label %635

635:                                              ; preds = %601
  %636 = load double, ptr %27, align 8, !tbaa !21
  %637 = load ptr, ptr %17, align 8, !tbaa !5
  %638 = getelementptr inbounds %struct.perturb_workspace, ptr %637, i32 0, i32 11
  %639 = load ptr, ptr %638, align 8, !tbaa !31
  %640 = load ptr, ptr %11, align 8, !tbaa !5
  %641 = getelementptr inbounds %struct.background, ptr %640, i32 0, i32 59
  %642 = load i32, ptr %641, align 8, !tbaa !32
  %643 = sext i32 %642 to i64
  %644 = getelementptr inbounds double, ptr %639, i64 %643
  %645 = load double, ptr %644, align 8, !tbaa !21
  %646 = fdiv double %636, %645
  %647 = load ptr, ptr %17, align 8, !tbaa !5
  %648 = getelementptr inbounds %struct.perturb_workspace, ptr %647, i32 0, i32 11
  %649 = load ptr, ptr %648, align 8, !tbaa !31
  %650 = load ptr, ptr %11, align 8, !tbaa !5
  %651 = getelementptr inbounds %struct.background, ptr %650, i32 0, i32 60
  %652 = load i32, ptr %651, align 4, !tbaa !36
  %653 = sext i32 %652 to i64
  %654 = getelementptr inbounds double, ptr %649, i64 %653
  %655 = load double, ptr %654, align 8, !tbaa !21
  %656 = fdiv double %646, %655
  %657 = load ptr, ptr %10, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.precision, ptr %657, i32 0, i32 64
  %659 = load double, ptr %658, align 8, !tbaa !40
  %660 = fcmp ogt double %656, %659
  br i1 %660, label %661, label %662

661:                                              ; preds = %635, %601
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %662

662:                                              ; preds = %661, %635
  br label %663

663:                                              ; preds = %662, %562
  %664 = load i32, ptr %36, align 4, !tbaa !9
  %665 = icmp eq i32 %664, 1
  br i1 %665, label %666, label %668

666:                                              ; preds = %663
  %667 = load double, ptr %22, align 8, !tbaa !21
  store double %667, ptr %20, align 8, !tbaa !21
  br label %670

668:                                              ; preds = %663
  %669 = load double, ptr %22, align 8, !tbaa !21
  store double %669, ptr %21, align 8, !tbaa !21
  br label %670

670:                                              ; preds = %668, %666
  %671 = load double, ptr %20, align 8, !tbaa !21
  %672 = load double, ptr %21, align 8, !tbaa !21
  %673 = fadd double %671, %672
  %674 = fmul double 5.000000e-01, %673
  store double %674, ptr %22, align 8, !tbaa !21
  br label %478, !llvm.loop !51

675:                                              ; preds = %478
  %676 = load double, ptr %22, align 8, !tbaa !21
  store double %676, ptr %19, align 8, !tbaa !21
  %677 = load ptr, ptr %17, align 8, !tbaa !5
  %678 = getelementptr inbounds %struct.perturb_workspace, ptr %677, i32 0, i32 55
  %679 = load i32, ptr %678, align 8, !tbaa !52
  %680 = sext i32 %679 to i64
  %681 = mul i64 %680, 4
  %682 = call noalias ptr @malloc(i64 noundef %681) #7
  store ptr %682, ptr %30, align 8, !tbaa !5
  %683 = load ptr, ptr %30, align 8, !tbaa !5
  %684 = icmp eq ptr %683, null
  br i1 %684, label %685, label %698

685:                                              ; preds = %675
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %686 = load ptr, ptr %17, align 8, !tbaa !5
  %687 = getelementptr inbounds %struct.perturb_workspace, ptr %686, i32 0, i32 55
  %688 = load i32, ptr %687, align 8, !tbaa !52
  %689 = sext i32 %688 to i64
  %690 = mul i64 %689, 4
  %691 = trunc i64 %690 to i32
  store i32 %691, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %54) #6
  %692 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  %693 = load i32, ptr %53, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %692, ptr noundef @.str.4, ptr noundef @.str.201, i32 noundef %693)
  %694 = load ptr, ptr %13, align 8, !tbaa !5
  %695 = getelementptr inbounds %struct.perturbs, ptr %694, i32 0, i32 186
  %696 = getelementptr inbounds [2048 x i8], ptr %695, i64 0, i64 0
  %697 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %696, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2910, ptr noundef %697)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %54) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  br label %1136

698:                                              ; preds = %675
  %699 = load ptr, ptr %11, align 8, !tbaa !5
  %700 = getelementptr inbounds %struct.background, ptr %699, i32 0, i32 144
  %701 = load i16, ptr %700, align 2, !tbaa !16
  %702 = load ptr, ptr %17, align 8, !tbaa !5
  %703 = getelementptr inbounds %struct.perturb_workspace, ptr %702, i32 0, i32 46
  store i16 %701, ptr %703, align 4, !tbaa !18
  %704 = load ptr, ptr %10, align 8, !tbaa !5
  %705 = load ptr, ptr %11, align 8, !tbaa !5
  %706 = load ptr, ptr %12, align 8, !tbaa !5
  %707 = load ptr, ptr %13, align 8, !tbaa !5
  %708 = load i32, ptr %14, align 4, !tbaa !9
  %709 = load double, ptr %27, align 8, !tbaa !21
  %710 = load ptr, ptr %17, align 8, !tbaa !5
  %711 = load double, ptr %19, align 8, !tbaa !21
  %712 = load ptr, ptr %13, align 8, !tbaa !5
  %713 = getelementptr inbounds %struct.perturbs, ptr %712, i32 0, i32 158
  %714 = load ptr, ptr %713, align 8, !tbaa !48
  %715 = load i32, ptr %25, align 4, !tbaa !9
  %716 = sub nsw i32 %715, 1
  %717 = sext i32 %716 to i64
  %718 = getelementptr inbounds double, ptr %714, i64 %717
  %719 = load double, ptr %718, align 8, !tbaa !21
  %720 = load ptr, ptr %30, align 8, !tbaa !5
  %721 = call i32 @perturb_find_approximation_number(ptr noundef %704, ptr noundef %705, ptr noundef %706, ptr noundef %707, i32 noundef %708, double noundef %709, ptr noundef %710, double noundef %711, double noundef %719, ptr noundef %28, ptr noundef %720)
  %722 = icmp eq i32 %721, 1
  br i1 %722, label %723, label %732

723:                                              ; preds = %698
  call void @llvm.lifetime.start.p0(i64 2048, ptr %55) #6
  %724 = getelementptr inbounds [2048 x i8], ptr %55, i64 0, i64 0
  %725 = load ptr, ptr %13, align 8, !tbaa !5
  %726 = getelementptr inbounds %struct.perturbs, ptr %725, i32 0, i32 186
  %727 = getelementptr inbounds [2048 x i8], ptr %726, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %724, ptr noundef @.str, ptr noundef @.str.202, ptr noundef %727)
  %728 = load ptr, ptr %13, align 8, !tbaa !5
  %729 = getelementptr inbounds %struct.perturbs, ptr %728, i32 0, i32 186
  %730 = getelementptr inbounds [2048 x i8], ptr %729, i64 0, i64 0
  %731 = getelementptr inbounds [2048 x i8], ptr %55, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %730, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2926, ptr noundef %731)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %55) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

732:                                              ; preds = %698
  %733 = load i32, ptr %28, align 4, !tbaa !9
  %734 = add nsw i32 %733, 1
  %735 = sext i32 %734 to i64
  %736 = mul i64 %735, 8
  %737 = call noalias ptr @malloc(i64 noundef %736) #7
  store ptr %737, ptr %31, align 8, !tbaa !5
  %738 = load ptr, ptr %31, align 8, !tbaa !5
  %739 = icmp eq ptr %738, null
  br i1 %739, label %740, label %752

740:                                              ; preds = %732
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  %741 = load i32, ptr %28, align 4, !tbaa !9
  %742 = add nsw i32 %741, 1
  %743 = sext i32 %742 to i64
  %744 = mul i64 %743, 8
  %745 = trunc i64 %744 to i32
  store i32 %745, ptr %56, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %57) #6
  %746 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  %747 = load i32, ptr %56, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %746, ptr noundef @.str.4, ptr noundef @.str.203, i32 noundef %747)
  %748 = load ptr, ptr %13, align 8, !tbaa !5
  %749 = getelementptr inbounds %struct.perturbs, ptr %748, i32 0, i32 186
  %750 = getelementptr inbounds [2048 x i8], ptr %749, i64 0, i64 0
  %751 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %750, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2928, ptr noundef %751)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %57) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  br label %1136

752:                                              ; preds = %732
  %753 = load i32, ptr %28, align 4, !tbaa !9
  %754 = sext i32 %753 to i64
  %755 = mul i64 %754, 8
  %756 = call noalias ptr @malloc(i64 noundef %755) #7
  store ptr %756, ptr %32, align 8, !tbaa !5
  %757 = load ptr, ptr %32, align 8, !tbaa !5
  %758 = icmp eq ptr %757, null
  br i1 %758, label %759, label %770

759:                                              ; preds = %752
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  %760 = load i32, ptr %28, align 4, !tbaa !9
  %761 = sext i32 %760 to i64
  %762 = mul i64 %761, 8
  %763 = trunc i64 %762 to i32
  store i32 %763, ptr %58, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %59) #6
  %764 = getelementptr inbounds [2048 x i8], ptr %59, i64 0, i64 0
  %765 = load i32, ptr %58, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %764, ptr noundef @.str.4, ptr noundef @.str.204, i32 noundef %765)
  %766 = load ptr, ptr %13, align 8, !tbaa !5
  %767 = getelementptr inbounds %struct.perturbs, ptr %766, i32 0, i32 186
  %768 = getelementptr inbounds [2048 x i8], ptr %767, i64 0, i64 0
  %769 = getelementptr inbounds [2048 x i8], ptr %59, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %768, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2930, ptr noundef %769)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %59) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  br label %1136

770:                                              ; preds = %752
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %771

771:                                              ; preds = %806, %770
  %772 = load i32, ptr %29, align 4, !tbaa !9
  %773 = load i32, ptr %28, align 4, !tbaa !9
  %774 = icmp slt i32 %772, %773
  br i1 %774, label %775, label %809

775:                                              ; preds = %771
  %776 = load ptr, ptr %17, align 8, !tbaa !5
  %777 = getelementptr inbounds %struct.perturb_workspace, ptr %776, i32 0, i32 55
  %778 = load i32, ptr %777, align 8, !tbaa !52
  %779 = sext i32 %778 to i64
  %780 = mul i64 %779, 4
  %781 = call noalias ptr @malloc(i64 noundef %780) #7
  %782 = load ptr, ptr %32, align 8, !tbaa !5
  %783 = load i32, ptr %29, align 4, !tbaa !9
  %784 = sext i32 %783 to i64
  %785 = getelementptr inbounds ptr, ptr %782, i64 %784
  store ptr %781, ptr %785, align 8, !tbaa !5
  %786 = load ptr, ptr %32, align 8, !tbaa !5
  %787 = load i32, ptr %29, align 4, !tbaa !9
  %788 = sext i32 %787 to i64
  %789 = getelementptr inbounds ptr, ptr %786, i64 %788
  %790 = load ptr, ptr %789, align 8, !tbaa !5
  %791 = icmp eq ptr %790, null
  br i1 %791, label %792, label %805

792:                                              ; preds = %775
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #6
  %793 = load ptr, ptr %17, align 8, !tbaa !5
  %794 = getelementptr inbounds %struct.perturb_workspace, ptr %793, i32 0, i32 55
  %795 = load i32, ptr %794, align 8, !tbaa !52
  %796 = sext i32 %795 to i64
  %797 = mul i64 %796, 4
  %798 = trunc i64 %797 to i32
  store i32 %798, ptr %60, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %61) #6
  %799 = getelementptr inbounds [2048 x i8], ptr %61, i64 0, i64 0
  %800 = load i32, ptr %60, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %799, ptr noundef @.str.4, ptr noundef @.str.205, i32 noundef %800)
  %801 = load ptr, ptr %13, align 8, !tbaa !5
  %802 = getelementptr inbounds %struct.perturbs, ptr %801, i32 0, i32 186
  %803 = getelementptr inbounds [2048 x i8], ptr %802, i64 0, i64 0
  %804 = getelementptr inbounds [2048 x i8], ptr %61, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %803, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2933, ptr noundef %804)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %61) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #6
  br label %1136

805:                                              ; preds = %775
  br label %806

806:                                              ; preds = %805
  %807 = load i32, ptr %29, align 4, !tbaa !9
  %808 = add nsw i32 %807, 1
  store i32 %808, ptr %29, align 4, !tbaa !9
  br label %771, !llvm.loop !53

809:                                              ; preds = %771
  %810 = load ptr, ptr %10, align 8, !tbaa !5
  %811 = load ptr, ptr %11, align 8, !tbaa !5
  %812 = load ptr, ptr %12, align 8, !tbaa !5
  %813 = load ptr, ptr %13, align 8, !tbaa !5
  %814 = load i32, ptr %14, align 4, !tbaa !9
  %815 = load double, ptr %27, align 8, !tbaa !21
  %816 = load ptr, ptr %17, align 8, !tbaa !5
  %817 = load double, ptr %19, align 8, !tbaa !21
  %818 = load ptr, ptr %13, align 8, !tbaa !5
  %819 = getelementptr inbounds %struct.perturbs, ptr %818, i32 0, i32 158
  %820 = load ptr, ptr %819, align 8, !tbaa !48
  %821 = load i32, ptr %25, align 4, !tbaa !9
  %822 = sub nsw i32 %821, 1
  %823 = sext i32 %822 to i64
  %824 = getelementptr inbounds double, ptr %820, i64 %823
  %825 = load double, ptr %824, align 8, !tbaa !21
  %826 = load ptr, ptr %10, align 8, !tbaa !5
  %827 = getelementptr inbounds %struct.precision, ptr %826, i32 0, i32 86
  %828 = load double, ptr %827, align 8, !tbaa !49
  %829 = load i32, ptr %28, align 4, !tbaa !9
  %830 = load ptr, ptr %30, align 8, !tbaa !5
  %831 = load ptr, ptr %31, align 8, !tbaa !5
  %832 = load ptr, ptr %32, align 8, !tbaa !5
  %833 = call i32 @perturb_find_approximation_switches(ptr noundef %810, ptr noundef %811, ptr noundef %812, ptr noundef %813, i32 noundef %814, double noundef %815, ptr noundef %816, double noundef %817, double noundef %825, double noundef %828, i32 noundef %829, ptr noundef %830, ptr noundef %831, ptr noundef %832)
  %834 = icmp eq i32 %833, 1
  br i1 %834, label %835, label %844

835:                                              ; preds = %809
  call void @llvm.lifetime.start.p0(i64 2048, ptr %62) #6
  %836 = getelementptr inbounds [2048 x i8], ptr %62, i64 0, i64 0
  %837 = load ptr, ptr %13, align 8, !tbaa !5
  %838 = getelementptr inbounds %struct.perturbs, ptr %837, i32 0, i32 186
  %839 = getelementptr inbounds [2048 x i8], ptr %838, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %836, ptr noundef @.str, ptr noundef @.str.206, ptr noundef %839)
  %840 = load ptr, ptr %13, align 8, !tbaa !5
  %841 = getelementptr inbounds %struct.perturbs, ptr %840, i32 0, i32 186
  %842 = getelementptr inbounds [2048 x i8], ptr %841, i64 0, i64 0
  %843 = getelementptr inbounds [2048 x i8], ptr %62, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %842, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 2950, ptr noundef %843)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %62) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

844:                                              ; preds = %809
  %845 = load ptr, ptr %30, align 8, !tbaa !5
  call void @free(ptr noundef %845) #6
  %846 = load ptr, ptr %10, align 8, !tbaa !5
  %847 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 0
  store ptr %846, ptr %847, align 8, !tbaa !54
  %848 = load ptr, ptr %11, align 8, !tbaa !5
  %849 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 1
  store ptr %848, ptr %849, align 8, !tbaa !56
  %850 = load ptr, ptr %12, align 8, !tbaa !5
  %851 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 2
  store ptr %850, ptr %851, align 8, !tbaa !57
  %852 = load ptr, ptr %13, align 8, !tbaa !5
  %853 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 3
  store ptr %852, ptr %853, align 8, !tbaa !58
  %854 = load i32, ptr %14, align 4, !tbaa !9
  %855 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 4
  store i32 %854, ptr %855, align 8, !tbaa !59
  %856 = load i32, ptr %15, align 4, !tbaa !9
  %857 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 5
  store i32 %856, ptr %857, align 4, !tbaa !60
  %858 = load i32, ptr %16, align 4, !tbaa !9
  %859 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 6
  store i32 %858, ptr %859, align 8, !tbaa !61
  %860 = load double, ptr %27, align 8, !tbaa !21
  %861 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 7
  store double %860, ptr %861, align 8, !tbaa !62
  %862 = load ptr, ptr %17, align 8, !tbaa !5
  %863 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 8
  store ptr %862, ptr %863, align 8, !tbaa !63
  %864 = load ptr, ptr %11, align 8, !tbaa !5
  %865 = getelementptr inbounds %struct.background, ptr %864, i32 0, i32 145
  %866 = load i16, ptr %865, align 8, !tbaa !64
  %867 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 8
  %868 = load ptr, ptr %867, align 8, !tbaa !63
  %869 = getelementptr inbounds %struct.perturb_workspace, ptr %868, i32 0, i32 46
  store i16 %866, ptr %869, align 4, !tbaa !18
  %870 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 8
  %871 = load ptr, ptr %870, align 8, !tbaa !63
  %872 = getelementptr inbounds %struct.perturb_workspace, ptr %871, i32 0, i32 47
  store i32 0, ptr %872, align 8, !tbaa !11
  %873 = getelementptr inbounds %struct.perturb_parameters_and_workspace, ptr %18, i32 0, i32 8
  %874 = load ptr, ptr %873, align 8, !tbaa !63
  %875 = getelementptr inbounds %struct.perturb_workspace, ptr %874, i32 0, i32 48
  store i32 0, ptr %875, align 4, !tbaa !15
  store ptr null, ptr %38, align 8, !tbaa !5
  %876 = load ptr, ptr %17, align 8, !tbaa !5
  %877 = getelementptr inbounds %struct.perturb_workspace, ptr %876, i32 0, i32 45
  store i32 -1, ptr %877, align 8, !tbaa !65
  store i32 0, ptr %39, align 4, !tbaa !9
  br label %878

878:                                              ; preds = %905, %844
  %879 = load i32, ptr %39, align 4, !tbaa !9
  %880 = load ptr, ptr %13, align 8, !tbaa !5
  %881 = getelementptr inbounds %struct.perturbs, ptr %880, i32 0, i32 45
  %882 = load i32, ptr %881, align 4, !tbaa !66
  %883 = icmp slt i32 %879, %882
  br i1 %883, label %884, label %908

884:                                              ; preds = %878
  %885 = load ptr, ptr %13, align 8, !tbaa !5
  %886 = getelementptr inbounds %struct.perturbs, ptr %885, i32 0, i32 172
  %887 = load ptr, ptr %886, align 8, !tbaa !67
  %888 = load i32, ptr %14, align 4, !tbaa !9
  %889 = load ptr, ptr %13, align 8, !tbaa !5
  %890 = getelementptr inbounds %struct.perturbs, ptr %889, i32 0, i32 45
  %891 = load i32, ptr %890, align 4, !tbaa !66
  %892 = mul nsw i32 %888, %891
  %893 = load i32, ptr %39, align 4, !tbaa !9
  %894 = add nsw i32 %892, %893
  %895 = sext i32 %894 to i64
  %896 = getelementptr inbounds i32, ptr %887, i64 %895
  %897 = load i32, ptr %896, align 4, !tbaa !9
  %898 = load i32, ptr %16, align 4, !tbaa !9
  %899 = icmp eq i32 %897, %898
  br i1 %899, label %900, label %904

900:                                              ; preds = %884
  %901 = load i32, ptr %39, align 4, !tbaa !9
  %902 = load ptr, ptr %17, align 8, !tbaa !5
  %903 = getelementptr inbounds %struct.perturb_workspace, ptr %902, i32 0, i32 45
  store i32 %901, ptr %903, align 8, !tbaa !65
  store ptr @perturb_print_variables, ptr %38, align 8, !tbaa !5
  br label %904

904:                                              ; preds = %900, %884
  br label %905

905:                                              ; preds = %904
  %906 = load i32, ptr %39, align 4, !tbaa !9
  %907 = add nsw i32 %906, 1
  store i32 %907, ptr %39, align 4, !tbaa !9
  br label %878, !llvm.loop !68

908:                                              ; preds = %878
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %909

909:                                              ; preds = %1040, %908
  %910 = load i32, ptr %29, align 4, !tbaa !9
  %911 = load i32, ptr %28, align 4, !tbaa !9
  %912 = icmp slt i32 %910, %911
  br i1 %912, label %913, label %1043

913:                                              ; preds = %909
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %914

914:                                              ; preds = %936, %913
  %915 = load i32, ptr %33, align 4, !tbaa !9
  %916 = load ptr, ptr %17, align 8, !tbaa !5
  %917 = getelementptr inbounds %struct.perturb_workspace, ptr %916, i32 0, i32 55
  %918 = load i32, ptr %917, align 8, !tbaa !52
  %919 = icmp slt i32 %915, %918
  br i1 %919, label %920, label %939

920:                                              ; preds = %914
  %921 = load ptr, ptr %32, align 8, !tbaa !5
  %922 = load i32, ptr %29, align 4, !tbaa !9
  %923 = sext i32 %922 to i64
  %924 = getelementptr inbounds ptr, ptr %921, i64 %923
  %925 = load ptr, ptr %924, align 8, !tbaa !5
  %926 = load i32, ptr %33, align 4, !tbaa !9
  %927 = sext i32 %926 to i64
  %928 = getelementptr inbounds i32, ptr %925, i64 %927
  %929 = load i32, ptr %928, align 4, !tbaa !9
  %930 = load ptr, ptr %17, align 8, !tbaa !5
  %931 = getelementptr inbounds %struct.perturb_workspace, ptr %930, i32 0, i32 56
  %932 = load ptr, ptr %931, align 8, !tbaa !69
  %933 = load i32, ptr %33, align 4, !tbaa !9
  %934 = sext i32 %933 to i64
  %935 = getelementptr inbounds i32, ptr %932, i64 %934
  store i32 %929, ptr %935, align 4, !tbaa !9
  br label %936

936:                                              ; preds = %920
  %937 = load i32, ptr %33, align 4, !tbaa !9
  %938 = add nsw i32 %937, 1
  store i32 %938, ptr %33, align 4, !tbaa !9
  br label %914, !llvm.loop !70

939:                                              ; preds = %914
  %940 = load i32, ptr %29, align 4, !tbaa !9
  %941 = icmp eq i32 %940, 0
  br i1 %941, label %942, label %943

942:                                              ; preds = %939
  store ptr null, ptr %34, align 8, !tbaa !5
  br label %950

943:                                              ; preds = %939
  %944 = load ptr, ptr %32, align 8, !tbaa !5
  %945 = load i32, ptr %29, align 4, !tbaa !9
  %946 = sub nsw i32 %945, 1
  %947 = sext i32 %946 to i64
  %948 = getelementptr inbounds ptr, ptr %944, i64 %947
  %949 = load ptr, ptr %948, align 8, !tbaa !5
  store ptr %949, ptr %34, align 8, !tbaa !5
  br label %950

950:                                              ; preds = %943, %942
  %951 = load ptr, ptr %10, align 8, !tbaa !5
  %952 = load ptr, ptr %11, align 8, !tbaa !5
  %953 = load ptr, ptr %12, align 8, !tbaa !5
  %954 = load ptr, ptr %13, align 8, !tbaa !5
  %955 = load i32, ptr %14, align 4, !tbaa !9
  %956 = load i32, ptr %15, align 4, !tbaa !9
  %957 = load double, ptr %27, align 8, !tbaa !21
  %958 = load ptr, ptr %31, align 8, !tbaa !5
  %959 = load i32, ptr %29, align 4, !tbaa !9
  %960 = sext i32 %959 to i64
  %961 = getelementptr inbounds double, ptr %958, i64 %960
  %962 = load double, ptr %961, align 8, !tbaa !21
  %963 = load ptr, ptr %17, align 8, !tbaa !5
  %964 = load ptr, ptr %34, align 8, !tbaa !5
  %965 = call i32 @perturb_vector_init(ptr noundef %951, ptr noundef %952, ptr noundef %953, ptr noundef %954, i32 noundef %955, i32 noundef %956, double noundef %957, double noundef %962, ptr noundef %963, ptr noundef %964)
  %966 = icmp eq i32 %965, 1
  br i1 %966, label %967, label %976

967:                                              ; preds = %950
  call void @llvm.lifetime.start.p0(i64 2048, ptr %63) #6
  %968 = getelementptr inbounds [2048 x i8], ptr %63, i64 0, i64 0
  %969 = load ptr, ptr %13, align 8, !tbaa !5
  %970 = getelementptr inbounds %struct.perturbs, ptr %969, i32 0, i32 186
  %971 = getelementptr inbounds [2048 x i8], ptr %970, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %968, ptr noundef @.str, ptr noundef @.str.207, ptr noundef %971)
  %972 = load ptr, ptr %13, align 8, !tbaa !5
  %973 = getelementptr inbounds %struct.perturbs, ptr %972, i32 0, i32 186
  %974 = getelementptr inbounds [2048 x i8], ptr %973, i64 0, i64 0
  %975 = getelementptr inbounds [2048 x i8], ptr %63, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %974, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 3021, ptr noundef %975)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %63) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

976:                                              ; preds = %950
  %977 = load ptr, ptr %10, align 8, !tbaa !5
  %978 = getelementptr inbounds %struct.precision, ptr %977, i32 0, i32 98
  %979 = load i32, ptr %978, align 8, !tbaa !71
  %980 = icmp eq i32 %979, 0
  br i1 %980, label %981, label %982

981:                                              ; preds = %976
  store ptr @evolver_rk, ptr %37, align 8, !tbaa !5
  br label %983

982:                                              ; preds = %976
  store ptr @evolver_ndf15, ptr %37, align 8, !tbaa !5
  br label %983

983:                                              ; preds = %982, %981
  %984 = load ptr, ptr %37, align 8, !tbaa !5
  %985 = load ptr, ptr %31, align 8, !tbaa !5
  %986 = load i32, ptr %29, align 4, !tbaa !9
  %987 = sext i32 %986 to i64
  %988 = getelementptr inbounds double, ptr %985, i64 %987
  %989 = load double, ptr %988, align 8, !tbaa !21
  %990 = load ptr, ptr %31, align 8, !tbaa !5
  %991 = load i32, ptr %29, align 4, !tbaa !9
  %992 = add nsw i32 %991, 1
  %993 = sext i32 %992 to i64
  %994 = getelementptr inbounds double, ptr %990, i64 %993
  %995 = load double, ptr %994, align 8, !tbaa !21
  %996 = load ptr, ptr %17, align 8, !tbaa !5
  %997 = getelementptr inbounds %struct.perturb_workspace, ptr %996, i32 0, i32 14
  %998 = load ptr, ptr %997, align 8, !tbaa !72
  %999 = getelementptr inbounds %struct.perturb_vector, ptr %998, i32 0, i32 48
  %1000 = load ptr, ptr %999, align 8, !tbaa !73
  %1001 = load ptr, ptr %17, align 8, !tbaa !5
  %1002 = getelementptr inbounds %struct.perturb_workspace, ptr %1001, i32 0, i32 14
  %1003 = load ptr, ptr %1002, align 8, !tbaa !72
  %1004 = getelementptr inbounds %struct.perturb_vector, ptr %1003, i32 0, i32 50
  %1005 = load ptr, ptr %1004, align 8, !tbaa !75
  %1006 = load ptr, ptr %17, align 8, !tbaa !5
  %1007 = getelementptr inbounds %struct.perturb_workspace, ptr %1006, i32 0, i32 14
  %1008 = load ptr, ptr %1007, align 8, !tbaa !72
  %1009 = getelementptr inbounds %struct.perturb_vector, ptr %1008, i32 0, i32 47
  %1010 = load i32, ptr %1009, align 8, !tbaa !76
  %1011 = load ptr, ptr %10, align 8, !tbaa !5
  %1012 = getelementptr inbounds %struct.precision, ptr %1011, i32 0, i32 84
  %1013 = load double, ptr %1012, align 8, !tbaa !77
  %1014 = load ptr, ptr %10, align 8, !tbaa !5
  %1015 = getelementptr inbounds %struct.precision, ptr %1014, i32 0, i32 175
  %1016 = load double, ptr %1015, align 8, !tbaa !78
  %1017 = load ptr, ptr %10, align 8, !tbaa !5
  %1018 = getelementptr inbounds %struct.precision, ptr %1017, i32 0, i32 82
  %1019 = load double, ptr %1018, align 8, !tbaa !79
  %1020 = load ptr, ptr %13, align 8, !tbaa !5
  %1021 = getelementptr inbounds %struct.perturbs, ptr %1020, i32 0, i32 158
  %1022 = load ptr, ptr %1021, align 8, !tbaa !48
  %1023 = load i32, ptr %25, align 4, !tbaa !9
  %1024 = load ptr, ptr %38, align 8, !tbaa !5
  %1025 = load ptr, ptr %13, align 8, !tbaa !5
  %1026 = getelementptr inbounds %struct.perturbs, ptr %1025, i32 0, i32 186
  %1027 = getelementptr inbounds [2048 x i8], ptr %1026, i64 0, i64 0
  %1028 = call i32 (ptr, double, double, ptr, ptr, i32, ptr, double, double, ptr, double, ptr, i32, ptr, ptr, ptr, ...) %984(ptr noundef @perturb_derivs, double noundef %989, double noundef %995, ptr noundef %1000, ptr noundef %1005, i32 noundef %1010, ptr noundef %18, double noundef %1013, double noundef %1016, ptr noundef @perturb_timescale, double noundef %1019, ptr noundef %1022, i32 noundef %1023, ptr noundef @perturb_sources, ptr noundef %1024, ptr noundef %1027)
  %1029 = icmp eq i32 %1028, 1
  br i1 %1029, label %1030, label %1039

1030:                                             ; preds = %983
  call void @llvm.lifetime.start.p0(i64 2048, ptr %64) #6
  %1031 = getelementptr inbounds [2048 x i8], ptr %64, i64 0, i64 0
  %1032 = load ptr, ptr %13, align 8, !tbaa !5
  %1033 = getelementptr inbounds %struct.perturbs, ptr %1032, i32 0, i32 186
  %1034 = getelementptr inbounds [2048 x i8], ptr %1033, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1031, ptr noundef @.str, ptr noundef @.str.208, ptr noundef %1034)
  %1035 = load ptr, ptr %13, align 8, !tbaa !5
  %1036 = getelementptr inbounds %struct.perturbs, ptr %1035, i32 0, i32 186
  %1037 = getelementptr inbounds [2048 x i8], ptr %1036, i64 0, i64 0
  %1038 = getelementptr inbounds [2048 x i8], ptr %64, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1037, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 3049, ptr noundef %1038)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %64) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

1039:                                             ; preds = %983
  br label %1040

1040:                                             ; preds = %1039
  %1041 = load i32, ptr %29, align 4, !tbaa !9
  %1042 = add nsw i32 %1041, 1
  store i32 %1042, ptr %29, align 4, !tbaa !9
  br label %909, !llvm.loop !80

1043:                                             ; preds = %909
  %1044 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %1044, ptr %24, align 4, !tbaa !9
  br label %1045

1045:                                             ; preds = %1101, %1043
  %1046 = load i32, ptr %24, align 4, !tbaa !9
  %1047 = load ptr, ptr %13, align 8, !tbaa !5
  %1048 = getelementptr inbounds %struct.perturbs, ptr %1047, i32 0, i32 159
  %1049 = load i32, ptr %1048, align 8, !tbaa !28
  %1050 = icmp slt i32 %1046, %1049
  br i1 %1050, label %1051, label %1104

1051:                                             ; preds = %1045
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %1052

1052:                                             ; preds = %1097, %1051
  %1053 = load i32, ptr %26, align 4, !tbaa !9
  %1054 = load ptr, ptr %13, align 8, !tbaa !5
  %1055 = getelementptr inbounds %struct.perturbs, ptr %1054, i32 0, i32 151
  %1056 = load ptr, ptr %1055, align 8, !tbaa !81
  %1057 = load i32, ptr %14, align 4, !tbaa !9
  %1058 = sext i32 %1057 to i64
  %1059 = getelementptr inbounds i32, ptr %1056, i64 %1058
  %1060 = load i32, ptr %1059, align 4, !tbaa !9
  %1061 = icmp slt i32 %1053, %1060
  br i1 %1061, label %1062, label %1100

1062:                                             ; preds = %1052
  %1063 = load ptr, ptr %13, align 8, !tbaa !5
  %1064 = getelementptr inbounds %struct.perturbs, ptr %1063, i32 0, i32 167
  %1065 = load ptr, ptr %1064, align 8, !tbaa !82
  %1066 = load i32, ptr %14, align 4, !tbaa !9
  %1067 = sext i32 %1066 to i64
  %1068 = getelementptr inbounds ptr, ptr %1065, i64 %1067
  %1069 = load ptr, ptr %1068, align 8, !tbaa !5
  %1070 = load i32, ptr %15, align 4, !tbaa !9
  %1071 = load ptr, ptr %13, align 8, !tbaa !5
  %1072 = getelementptr inbounds %struct.perturbs, ptr %1071, i32 0, i32 151
  %1073 = load ptr, ptr %1072, align 8, !tbaa !81
  %1074 = load i32, ptr %14, align 4, !tbaa !9
  %1075 = sext i32 %1074 to i64
  %1076 = getelementptr inbounds i32, ptr %1073, i64 %1075
  %1077 = load i32, ptr %1076, align 4, !tbaa !9
  %1078 = mul nsw i32 %1070, %1077
  %1079 = load i32, ptr %26, align 4, !tbaa !9
  %1080 = add nsw i32 %1078, %1079
  %1081 = sext i32 %1080 to i64
  %1082 = getelementptr inbounds ptr, ptr %1069, i64 %1081
  %1083 = load ptr, ptr %1082, align 8, !tbaa !5
  %1084 = load i32, ptr %24, align 4, !tbaa !9
  %1085 = load ptr, ptr %13, align 8, !tbaa !5
  %1086 = getelementptr inbounds %struct.perturbs, ptr %1085, i32 0, i32 154
  %1087 = load ptr, ptr %1086, align 8, !tbaa !41
  %1088 = load i32, ptr %14, align 4, !tbaa !9
  %1089 = sext i32 %1088 to i64
  %1090 = getelementptr inbounds i32, ptr %1087, i64 %1089
  %1091 = load i32, ptr %1090, align 4, !tbaa !9
  %1092 = mul nsw i32 %1084, %1091
  %1093 = load i32, ptr %16, align 4, !tbaa !9
  %1094 = add nsw i32 %1092, %1093
  %1095 = sext i32 %1094 to i64
  %1096 = getelementptr inbounds double, ptr %1083, i64 %1095
  store double 0.000000e+00, ptr %1096, align 8, !tbaa !21
  br label %1097

1097:                                             ; preds = %1062
  %1098 = load i32, ptr %26, align 4, !tbaa !9
  %1099 = add nsw i32 %1098, 1
  store i32 %1099, ptr %26, align 4, !tbaa !9
  br label %1052, !llvm.loop !83

1100:                                             ; preds = %1052
  br label %1101

1101:                                             ; preds = %1100
  %1102 = load i32, ptr %24, align 4, !tbaa !9
  %1103 = add nsw i32 %1102, 1
  store i32 %1103, ptr %24, align 4, !tbaa !9
  br label %1045, !llvm.loop !84

1104:                                             ; preds = %1045
  %1105 = load ptr, ptr %17, align 8, !tbaa !5
  %1106 = getelementptr inbounds %struct.perturb_workspace, ptr %1105, i32 0, i32 14
  %1107 = load ptr, ptr %1106, align 8, !tbaa !72
  %1108 = call i32 @perturb_vector_free(ptr noundef %1107)
  %1109 = icmp eq i32 %1108, 1
  br i1 %1109, label %1110, label %1119

1110:                                             ; preds = %1104
  call void @llvm.lifetime.start.p0(i64 2048, ptr %65) #6
  %1111 = getelementptr inbounds [2048 x i8], ptr %65, i64 0, i64 0
  %1112 = load ptr, ptr %13, align 8, !tbaa !5
  %1113 = getelementptr inbounds %struct.perturbs, ptr %1112, i32 0, i32 186
  %1114 = getelementptr inbounds [2048 x i8], ptr %1113, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1111, ptr noundef @.str, ptr noundef @.str.209, ptr noundef %1114)
  %1115 = load ptr, ptr %13, align 8, !tbaa !5
  %1116 = getelementptr inbounds %struct.perturbs, ptr %1115, i32 0, i32 186
  %1117 = getelementptr inbounds [2048 x i8], ptr %1116, i64 0, i64 0
  %1118 = getelementptr inbounds [2048 x i8], ptr %65, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1117, ptr noundef @.str.2, ptr noundef @__func__.perturb_solve, i32 noundef 3073, ptr noundef %1118)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %65) #6
  store i32 1, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

1119:                                             ; preds = %1104
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %1120

1120:                                             ; preds = %1130, %1119
  %1121 = load i32, ptr %29, align 4, !tbaa !9
  %1122 = load i32, ptr %28, align 4, !tbaa !9
  %1123 = icmp slt i32 %1121, %1122
  br i1 %1123, label %1124, label %1133

1124:                                             ; preds = %1120
  %1125 = load ptr, ptr %32, align 8, !tbaa !5
  %1126 = load i32, ptr %29, align 4, !tbaa !9
  %1127 = sext i32 %1126 to i64
  %1128 = getelementptr inbounds ptr, ptr %1125, i64 %1127
  %1129 = load ptr, ptr %1128, align 8, !tbaa !5
  call void @free(ptr noundef %1129) #6
  br label %1130

1130:                                             ; preds = %1124
  %1131 = load i32, ptr %29, align 4, !tbaa !9
  %1132 = add nsw i32 %1131, 1
  store i32 %1132, ptr %29, align 4, !tbaa !9
  br label %1120, !llvm.loop !85

1133:                                             ; preds = %1120
  %1134 = load ptr, ptr %32, align 8, !tbaa !5
  call void @free(ptr noundef %1134) #6
  %1135 = load ptr, ptr %31, align 8, !tbaa !5
  call void @free(ptr noundef %1135) #6
  store i32 0, ptr %9, align 4
  store i32 1, ptr %42, align 4
  br label %1136

1136:                                             ; preds = %1133, %1110, %1030, %967, %835, %792, %759, %740, %723, %685, %592, %504, %409, %320, %257, %214, %178, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #6
  %1137 = load i32, ptr %9, align 4
  ret i32 %1137
}

declare i32 @background_at_tau(ptr noundef, double noundef, i16 noundef signext, i16 noundef signext, ptr noundef, ptr noundef) #1

declare i32 @thermodynamics_at_z(ptr noundef, ptr noundef, double noundef, i16 noundef signext, ptr noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_find_approximation_number(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_find_approximation_switches(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, double noundef, double noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_print_variables(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_vector_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef) #4

declare i32 @evolver_rk(...) #1

declare i32 @evolver_ndf15(ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_derivs(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_timescale(double noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_sources(double noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_vector_free(ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nounwind 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 #3 = { 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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(0) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 328}
!12 = !{!"perturb_workspace", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !6, i64 312, !10, i64 320, !14, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !6, i64 368, !10, i64 376, !6, i64 384}
!13 = !{!"double", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!12, !10, i64 332}
!16 = !{!17, !14, i64 846}
!17 = !{!"background", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !10, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !14, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !14, i64 176, !13, i64 184, !13, i64 192, !6, i64 200, !10, i64 208, !10, i64 212, !13, i64 216, !10, i64 224, !6, i64 232, !6, i64 240, !13, i64 248, !6, i64 256, !13, i64 264, !6, i64 272, !13, i64 280, !6, i64 288, !13, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !10, i64 360, !6, i64 368, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !14, i64 724, !14, i64 726, !14, i64 728, !14, i64 730, !14, i64 732, !14, i64 734, !14, i64 736, !14, i64 738, !14, i64 740, !14, i64 742, !14, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !14, i64 840, !14, i64 842, !14, i64 844, !14, i64 846, !14, i64 848, !14, i64 850, !7, i64 852, !14, i64 2900, !7, i64 2902}
!18 = !{!12, !14, i64 324}
!19 = !{!20, !6, i64 2368}
!20 = !{!"perturbs", !14, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !14, i64 18, !14, i64 20, !10, i64 24, !14, i64 28, !14, i64 30, !14, i64 32, !14, i64 34, !14, i64 36, !14, i64 38, !14, i64 40, !14, i64 42, !14, i64 44, !14, i64 46, !14, i64 48, !14, i64 50, !14, i64 52, !14, i64 54, !14, i64 56, !14, i64 58, !14, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !13, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 896, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !13, i64 1720, !10, i64 1728, !10, i64 1732, !7, i64 1736, !13, i64 1976, !13, i64 1984, !13, i64 1992, !6, i64 2000, !6, i64 2008, !10, i64 2016, !14, i64 2020, !14, i64 2022, !10, i64 2024, !10, i64 2028, !10, i64 2032, !10, i64 2036, !10, i64 2040, !10, i64 2044, !10, i64 2048, !10, i64 2052, !10, i64 2056, !10, i64 2060, !10, i64 2064, !6, i64 2072, !14, i64 2080, !14, i64 2082, !14, i64 2084, !14, i64 2086, !14, i64 2088, !14, i64 2090, !14, i64 2092, !14, i64 2094, !14, i64 2096, !14, i64 2098, !14, i64 2100, !14, i64 2102, !14, i64 2104, !14, i64 2106, !14, i64 2108, !14, i64 2110, !14, i64 2112, !14, i64 2114, !14, i64 2116, !14, i64 2118, !14, i64 2120, !14, i64 2122, !14, i64 2124, !14, i64 2126, !14, i64 2128, !14, i64 2130, !14, i64 2132, !14, i64 2134, !14, i64 2136, !14, i64 2138, !14, i64 2140, !14, i64 2142, !14, i64 2144, !14, i64 2146, !14, i64 2148, !14, i64 2150, !14, i64 2152, !14, i64 2154, !14, i64 2156, !14, i64 2158, !10, i64 2160, !10, i64 2164, !10, i64 2168, !10, i64 2172, !10, i64 2176, !10, i64 2180, !10, i64 2184, !10, i64 2188, !10, i64 2192, !10, i64 2196, !10, i64 2200, !10, i64 2204, !10, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !10, i64 2284, !10, i64 2288, !10, i64 2292, !10, i64 2296, !10, i64 2300, !10, i64 2304, !10, i64 2308, !10, i64 2312, !10, i64 2316, !10, i64 2320, !10, i64 2324, !10, i64 2328, !10, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !13, i64 2376, !13, i64 2384, !6, i64 2392, !10, i64 2400, !13, i64 2408, !13, i64 2416, !13, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !10, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !10, i64 26512, !10, i64 26516, !10, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !14, i64 27608, !7, i64 27610}
!21 = !{!13, !13, i64 0}
!22 = !{!17, !14, i64 744}
!23 = !{!12, !10, i64 376}
!24 = !{!17, !13, i64 352}
!25 = !{!12, !6, i64 384}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!20, !10, i64 2400}
!29 = !{!17, !6, i64 632}
!30 = !{!17, !14, i64 842}
!31 = !{!12, !6, i64 48}
!32 = !{!17, !10, i64 464}
!33 = !{!34, !14, i64 600}
!34 = !{!"thermo", !13, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 42, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !10, i64 80, !6, i64 88, !6, i64 96, !13, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !14, i64 600, !14, i64 602, !14, i64 604, !7, i64 606}
!35 = !{!12, !6, i64 56}
!36 = !{!17, !10, i64 468}
!37 = !{!34, !10, i64 276}
!38 = !{!39, !13, i64 1488}
!39 = !{!"precision", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !7, i64 104, !13, i64 360, !10, i64 368, !13, i64 376, !10, i64 384, !10, i64 388, !13, i64 392, !10, i64 400, !13, i64 408, !10, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !13, i64 616, !10, i64 624, !7, i64 628, !7, i64 884, !7, i64 1140, !13, i64 1400, !13, i64 1408, !13, i64 1416, !13, i64 1424, !13, i64 1432, !13, i64 1440, !13, i64 1448, !13, i64 1456, !13, i64 1464, !13, i64 1472, !13, i64 1480, !13, i64 1488, !13, i64 1496, !13, i64 1504, !13, i64 1512, !13, i64 1520, !10, i64 1528, !13, i64 1536, !13, i64 1544, !10, i64 1552, !10, i64 1556, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !13, i64 1584, !13, i64 1592, !13, i64 1600, !13, i64 1608, !13, i64 1616, !13, i64 1624, !13, i64 1632, !13, i64 1640, !10, i64 1648, !13, i64 1656, !13, i64 1664, !10, i64 1672, !13, i64 1680, !13, i64 1688, !10, i64 1696, !13, i64 1704, !10, i64 1712, !13, i64 1720, !13, i64 1728, !10, i64 1736, !13, i64 1744, !13, i64 1752, !13, i64 1760, !10, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !10, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !13, i64 1872, !10, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !13, i64 1912, !13, i64 1920, !13, i64 1928, !13, i64 1936, !13, i64 1944, !13, i64 1952, !13, i64 1960, !13, i64 1968, !13, i64 1976, !13, i64 1984, !13, i64 1992, !13, i64 2000, !13, i64 2008, !13, i64 2016, !13, i64 2024, !13, i64 2032, !13, i64 2040, !13, i64 2048, !13, i64 2056, !13, i64 2064, !13, i64 2072, !13, i64 2080, !13, i64 2088, !13, i64 2096, !13, i64 2104, !13, i64 2112, !13, i64 2120, !13, i64 2128, !13, i64 2136, !13, i64 2144, !13, i64 2152, !13, i64 2160, !13, i64 2168, !13, i64 2176, !13, i64 2184, !13, i64 2192, !13, i64 2200, !13, i64 2208, !13, i64 2216, !13, i64 2224, !13, i64 2232, !13, i64 2240, !13, i64 2248, !10, i64 2256, !13, i64 2264, !13, i64 2272, !13, i64 2280, !13, i64 2288, !10, i64 2296, !13, i64 2304, !13, i64 2312, !10, i64 2320, !10, i64 2324, !10, i64 2328, !13, i64 2336, !13, i64 2344, !7, i64 2352}
!40 = !{!39, !13, i64 1496}
!41 = !{!20, !6, i64 2360}
!42 = !{!17, !14, i64 732}
!43 = !{!17, !10, i64 224}
!44 = !{!17, !10, i64 556}
!45 = !{!17, !10, i64 552}
!46 = !{!39, !13, i64 80}
!47 = distinct !{!47, !27}
!48 = !{!20, !6, i64 2392}
!49 = !{!39, !13, i64 1640}
!50 = distinct !{!50, !27}
!51 = distinct !{!51, !27}
!52 = !{!12, !10, i64 360}
!53 = distinct !{!53, !27}
!54 = !{!55, !6, i64 0}
!55 = !{!"perturb_parameters_and_workspace", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !13, i64 48, !6, i64 56}
!56 = !{!55, !6, i64 8}
!57 = !{!55, !6, i64 16}
!58 = !{!55, !6, i64 24}
!59 = !{!55, !10, i64 32}
!60 = !{!55, !10, i64 36}
!61 = !{!55, !10, i64 40}
!62 = !{!55, !13, i64 48}
!63 = !{!55, !6, i64 56}
!64 = !{!17, !14, i64 848}
!65 = !{!12, !10, i64 320}
!66 = !{!20, !10, i64 1732}
!67 = !{!20, !6, i64 2504}
!68 = distinct !{!68, !27}
!69 = !{!12, !6, i64 368}
!70 = distinct !{!70, !27}
!71 = !{!39, !10, i64 1736}
!72 = !{!12, !6, i64 72}
!73 = !{!74, !6, i64 208}
!74 = !{!"perturb_vector", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !6, i64 208, !6, i64 216, !6, i64 224}
!75 = !{!74, !6, i64 224}
!76 = !{!74, !10, i64 200}
!77 = !{!39, !13, i64 1624}
!78 = !{!39, !13, i64 2344}
!79 = !{!39, !13, i64 1608}
!80 = distinct !{!80, !27}
!81 = !{!20, !6, i64 2336}
!82 = !{!20, !6, i64 2464}
!83 = distinct !{!83, !27}
!84 = distinct !{!84, !27}
!85 = distinct !{!85, !27}


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

%struct.perturb_parameters_and_workspace = type { ptr, ptr, ptr, ptr, i32, i32, i32, double, ptr }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [8 x i8], align 1
@__func__.perturb_solve = external hidden unnamed_addr constant [14 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [146 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [273 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [143 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [273 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [198 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [153 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [208 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [376 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [29 x i8], align 1

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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @perturb_solve(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) local_unnamed_addr #4 {
  %9 = alloca %struct.perturb_parameters_and_workspace, align 8
  %10 = alloca i32, align 4
  %11 = alloca [2048 x i8], align 16
  %12 = alloca [2048 x i8], align 16
  %13 = alloca [2048 x i8], align 16
  %14 = alloca [2048 x i8], align 16
  %15 = alloca [2048 x i8], align 16
  %16 = alloca [2048 x i8], align 16
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  %20 = alloca [2048 x i8], align 16
  %21 = alloca [2048 x i8], align 16
  %22 = alloca [2048 x i8], align 16
  %23 = alloca [2048 x i8], align 16
  %24 = alloca [2048 x i8], align 16
  %25 = alloca [2048 x i8], align 16
  %26 = alloca [2048 x i8], align 16
  %27 = alloca [2048 x i8], align 16
  %28 = alloca [2048 x i8], align 16
  %29 = alloca [2048 x i8], align 16
  %30 = alloca [2048 x i8], align 16
  %31 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %32 = getelementptr inbounds i8, ptr %7, i64 328
  store i32 0, ptr %32, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %7, i64 332
  store i32 0, ptr %33, align 4, !tbaa !13
  %34 = getelementptr inbounds i8, ptr %1, i64 846
  %35 = load i16, ptr %34, align 2, !tbaa !14
  %36 = getelementptr inbounds i8, ptr %7, i64 324
  store i16 %35, ptr %36, align 4, !tbaa !16
  %37 = getelementptr inbounds i8, ptr %3, i64 2368
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = sext i32 %4 to i64
  %40 = getelementptr inbounds ptr, ptr %38, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !19
  %42 = sext i32 %6 to i64
  %43 = getelementptr inbounds double, ptr %41, i64 %42
  %44 = load double, ptr %43, align 8, !tbaa !20
  %45 = fcmp oeq double %44, 0.000000e+00
  br i1 %45, label %46, label %48

46:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.157) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.191, ptr noundef nonnull %11) #7
  %47 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %47, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2779, ptr noundef nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #7
  br label %495

48:                                               ; preds = %8
  %49 = getelementptr inbounds i8, ptr %1, i64 744
  %50 = load i16, ptr %49, align 8, !tbaa !21
  %51 = icmp eq i16 %50, 1
  br i1 %51, label %.preheader338, label %.loopexit339

.preheader338:                                    ; preds = %48
  %52 = getelementptr inbounds i8, ptr %7, i64 376
  %53 = load i32, ptr %52, align 8, !tbaa !22
  %.not349 = icmp slt i32 %53, 0
  br i1 %.not349, label %.loopexit339, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader338
  %54 = getelementptr inbounds i8, ptr %1, i64 352
  %55 = getelementptr inbounds i8, ptr %7, i64 384
  %56 = load ptr, ptr %55, align 8, !tbaa !23
  %57 = add nuw i32 %53, 1
  %wide.trip.count = zext i32 %57 to i64
  %min.iters.check = icmp eq i32 %53, 0
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph
  %58 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %56, i64 %58
  %scevgep458 = getelementptr i8, ptr %1, i64 360
  %bound0 = icmp ult ptr %56, %scevgep458
  %bound1 = icmp ult ptr %54, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 4294967294
  %broadcast.splatinsert459 = insertelement <2 x double> poison, double %44, i64 0
  %broadcast.splat460 = shufflevector <2 x double> %broadcast.splatinsert459, <2 x double> poison, <2 x i32> zeroinitializer
  %59 = load double, ptr %54, align 8, !tbaa !24, !alias.scope !25
  %broadcast.splatinsert = insertelement <2 x double> poison, double %59, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %60 = mul nuw nsw <2 x i64> %vec.ind, %vec.ind
  %61 = trunc <2 x i64> %60 to <2 x i32>
  %62 = add nsw <2 x i32> %61, <i32 -1, i32 -1>
  %63 = sitofp <2 x i32> %62 to <2 x double>
  %64 = fmul <2 x double> %broadcast.splat, %63
  %65 = fdiv <2 x double> %64, %broadcast.splat460
  %66 = fdiv <2 x double> %65, %broadcast.splat460
  %67 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+00>, %66
  %68 = fcmp olt <2 x double> %67, zeroinitializer
  %69 = select <2 x i1> %68, <2 x double> zeroinitializer, <2 x double> %67
  %70 = tail call <2 x double> @llvm.sqrt.v2f64(<2 x double> %69)
  %71 = getelementptr inbounds double, ptr %56, i64 %index
  store <2 x double> %70, ptr %71, align 8, !tbaa !20, !alias.scope !28, !noalias !25
  %index.next = add nuw i64 %index, 2
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %72 = icmp eq i64 %index.next, %n.vec
  br i1 %72, label %middle.block, label %vector.body, !llvm.loop !30

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit339, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %73 = load double, ptr %54, align 8, !tbaa !24
  %74 = mul nuw nsw i64 %indvars.iv, %indvars.iv
  %75 = trunc nuw i64 %74 to i32
  %76 = add nsw i32 %75, -1
  %77 = sitofp i32 %76 to double
  %78 = fmul double %73, %77
  %79 = fdiv double %78, %44
  %80 = fdiv double %79, %44
  %81 = fsub double 1.000000e+00, %80
  %82 = fcmp olt double %81, 0.000000e+00
  %83 = select i1 %82, double 0.000000e+00, double %81
  %sqrt = tail call double @llvm.sqrt.f64(double %83)
  %84 = getelementptr inbounds double, ptr %56, i64 %indvars.iv
  store double %sqrt, ptr %84, align 8, !tbaa !20
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit339, label %scalar.ph, !llvm.loop !34

.loopexit339:                                     ; preds = %scalar.ph, %middle.block, %.preheader338, %48
  %85 = getelementptr inbounds i8, ptr %3, i64 2400
  %86 = load i32, ptr %85, align 8, !tbaa !35
  %87 = getelementptr inbounds i8, ptr %1, i64 632
  %88 = load ptr, ptr %87, align 8, !tbaa !36
  %89 = load double, ptr %88, align 8, !tbaa !20
  %90 = getelementptr inbounds i8, ptr %1, i64 842
  %91 = load i16, ptr %90, align 2, !tbaa !37
  %92 = getelementptr inbounds i8, ptr %7, i64 48
  %93 = load ptr, ptr %92, align 8, !tbaa !38
  %94 = tail call i32 @background_at_tau(ptr noundef nonnull %1, double noundef %89, i16 noundef signext %91, i16 noundef signext %35, ptr noundef nonnull %32, ptr noundef %93) #7
  %95 = icmp eq i32 %94, 1
  br i1 %95, label %96, label %99

96:                                               ; preds = %.loopexit339
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #7
  %97 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str, ptr noundef nonnull @.str.192, ptr noundef nonnull %97) #7
  %98 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %98, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2806, ptr noundef nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #7
  br label %495

99:                                               ; preds = %.loopexit339
  %100 = load ptr, ptr %92, align 8, !tbaa !38
  %101 = getelementptr inbounds i8, ptr %1, i64 464
  %102 = load i32, ptr %101, align 8, !tbaa !39
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds double, ptr %100, i64 %103
  %105 = load double, ptr %104, align 8, !tbaa !20
  %106 = fdiv double 1.000000e+00, %105
  %107 = fadd double %106, -1.000000e+00
  %108 = getelementptr inbounds i8, ptr %2, i64 600
  %109 = load i16, ptr %108, align 8, !tbaa !40
  %110 = getelementptr inbounds i8, ptr %7, i64 56
  %111 = load ptr, ptr %110, align 8, !tbaa !42
  %112 = tail call i32 @thermodynamics_at_z(ptr noundef nonnull %1, ptr noundef %2, double noundef %107, i16 noundef signext %109, ptr noundef nonnull %33, ptr noundef %100, ptr noundef %111) #7
  %113 = icmp eq i32 %112, 1
  br i1 %113, label %114, label %117

114:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #7
  %115 = getelementptr inbounds i8, ptr %2, i64 606
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str, ptr noundef nonnull @.str.193, ptr noundef nonnull %115) #7
  %116 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %116, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2816, ptr noundef nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #7
  br label %495

117:                                              ; preds = %99
  %118 = load ptr, ptr %92, align 8, !tbaa !38
  %119 = load i32, ptr %101, align 8, !tbaa !39
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %118, i64 %120
  %122 = load double, ptr %121, align 8, !tbaa !20
  %123 = getelementptr inbounds i8, ptr %1, i64 468
  %124 = load i32, ptr %123, align 4, !tbaa !43
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %118, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !20
  %128 = fmul double %122, %127
  %129 = load ptr, ptr %110, align 8, !tbaa !42
  %130 = getelementptr inbounds i8, ptr %2, i64 276
  %131 = load i32, ptr %130, align 4, !tbaa !44
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds double, ptr %129, i64 %132
  %134 = load double, ptr %133, align 8, !tbaa !20
  %135 = fdiv double %128, %134
  %136 = getelementptr inbounds i8, ptr %0, i64 1488
  %137 = load double, ptr %136, align 8, !tbaa !45
  %138 = fcmp ogt double %135, %137
  br i1 %138, label %139, label %141

139:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.194, double noundef %135) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.195, ptr noundef nonnull %15) #7
  %140 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %140, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2827, ptr noundef nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #7
  br label %495

141:                                              ; preds = %117
  %142 = fdiv double %44, %122
  %143 = fdiv double %142, %127
  %144 = getelementptr inbounds i8, ptr %0, i64 1496
  %145 = load double, ptr %144, align 8, !tbaa !47
  %146 = fcmp ogt double %143, %145
  br i1 %146, label %147, label %162

147:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #7
  %148 = load ptr, ptr %37, align 8, !tbaa !17
  %149 = getelementptr inbounds ptr, ptr %148, i64 %39
  %150 = load ptr, ptr %149, align 8, !tbaa !19
  %151 = getelementptr inbounds i8, ptr %3, i64 2360
  %152 = load ptr, ptr %151, align 8, !tbaa !48
  %153 = getelementptr inbounds i32, ptr %152, i64 %39
  %154 = load i32, ptr %153, align 4, !tbaa !49
  %155 = sext i32 %154 to i64
  %156 = getelementptr double, ptr %150, i64 %155
  %157 = getelementptr i8, ptr %156, i64 -8
  %158 = load double, ptr %157, align 8, !tbaa !20
  %159 = fdiv double %158, %122
  %160 = fdiv double %159, %127
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str.196, double noundef %160) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.197, ptr noundef nonnull %17) #7
  %161 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %161, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2833, ptr noundef nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #7
  br label %495

162:                                              ; preds = %141
  %163 = getelementptr inbounds i8, ptr %1, i64 732
  %164 = load i16, ptr %163, align 4, !tbaa !50
  %165 = icmp eq i16 %164, 1
  br i1 %165, label %.preheader337, label %.loopexit

.preheader337:                                    ; preds = %162
  %166 = getelementptr inbounds i8, ptr %1, i64 224
  %167 = load i32, ptr %166, align 8, !tbaa !51
  %168 = icmp sgt i32 %167, 0
  br i1 %168, label %.lr.ph354, label %.loopexit

.lr.ph354:                                        ; preds = %.preheader337
  %169 = getelementptr inbounds i8, ptr %1, i64 556
  %170 = load i32, ptr %169, align 4, !tbaa !52
  %171 = getelementptr inbounds i8, ptr %1, i64 552
  %172 = load i32, ptr %171, align 8, !tbaa !53
  %173 = getelementptr inbounds i8, ptr %0, i64 80
  %174 = load double, ptr %173, align 8, !tbaa !54
  %175 = sext i32 %170 to i64
  %176 = sext i32 %172 to i64
  %wide.trip.count395 = zext nneg i32 %167 to i64
  %invariant.gep439 = getelementptr double, ptr %118, i64 %175
  %invariant.gep441 = getelementptr double, ptr %118, i64 %176
  br label %177

177:                                              ; preds = %.lr.ph354, %187
  %indvars.iv392 = phi i64 [ 0, %.lr.ph354 ], [ %indvars.iv.next393, %187 ]
  %gep440 = getelementptr double, ptr %invariant.gep439, i64 %indvars.iv392
  %178 = load double, ptr %gep440, align 8, !tbaa !20
  %gep442 = getelementptr double, ptr %invariant.gep441, i64 %indvars.iv392
  %179 = load double, ptr %gep442, align 8, !tbaa !20
  %180 = fdiv double %178, %179
  %181 = fadd double %180, 0xBFD5555555555555
  %182 = tail call double @llvm.fabs.f64(double %181)
  %183 = fcmp ogt double %182, %174
  br i1 %183, label %184, label %187

184:                                              ; preds = %177
  %185 = trunc nuw nsw i64 %indvars.iv392 to i32
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.198, i32 noundef %185, double noundef %180, double noundef %178, double noundef %179) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %20) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %20, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.199, ptr noundef nonnull %19) #7
  %186 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %186, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2843, ptr noundef nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #7
  br label %495

187:                                              ; preds = %177
  %indvars.iv.next393 = add nuw nsw i64 %indvars.iv392, 1
  %exitcond396.not = icmp eq i64 %indvars.iv.next393, %wide.trip.count395
  br i1 %exitcond396.not, label %.loopexit, label %177, !llvm.loop !55

.loopexit:                                        ; preds = %187, %.preheader337, %162
  %188 = getelementptr inbounds i8, ptr %3, i64 2392
  %189 = load ptr, ptr %188, align 8, !tbaa !56
  %190 = load double, ptr %189, align 8, !tbaa !20
  %191 = fadd double %89, %190
  %192 = getelementptr inbounds i8, ptr %0, i64 1640
  %.0303358 = fmul double %191, 5.000000e-01
  %193 = fsub double %190, %89
  %194 = fdiv double %193, %89
  %195 = load double, ptr %192, align 8, !tbaa !57
  %196 = fcmp ogt double %194, %195
  br i1 %196, label %.lr.ph363, label %._crit_edge364

.lr.ph363:                                        ; preds = %.loopexit
  %197 = getelementptr inbounds i8, ptr %1, i64 224
  %198 = getelementptr inbounds i8, ptr %1, i64 556
  %199 = getelementptr inbounds i8, ptr %1, i64 552
  %200 = getelementptr inbounds i8, ptr %0, i64 80
  br label %201

201:                                              ; preds = %.lr.ph363, %283
  %.0303361 = phi double [ %.0303358, %.lr.ph363 ], [ %.0303, %283 ]
  %.0300360 = phi double [ %89, %.lr.ph363 ], [ %285, %283 ]
  %.0301359 = phi double [ %190, %.lr.ph363 ], [ %284, %283 ]
  %202 = load i16, ptr %90, align 2, !tbaa !37
  %203 = load i16, ptr %34, align 2, !tbaa !14
  %204 = load ptr, ptr %92, align 8, !tbaa !38
  %205 = tail call i32 @background_at_tau(ptr noundef nonnull %1, double noundef %.0303361, i16 noundef signext %202, i16 noundef signext %203, ptr noundef nonnull %32, ptr noundef %204) #7
  %206 = icmp eq i32 %205, 1
  br i1 %206, label %207, label %210

207:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %21) #7
  %208 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str, ptr noundef nonnull @.str.200, ptr noundef nonnull %208) #7
  %209 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %209, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2864, ptr noundef nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %21) #7
  br label %495

210:                                              ; preds = %201
  %211 = load i16, ptr %163, align 4, !tbaa !50
  %212 = icmp eq i16 %211, 1
  br i1 %212, label %.preheader336, label %.thread

.preheader336:                                    ; preds = %210
  %213 = load i32, ptr %197, align 8, !tbaa !51
  %214 = icmp sgt i32 %213, 0
  br i1 %214, label %.lr.ph357, label %.thread

.lr.ph357:                                        ; preds = %.preheader336
  %215 = load ptr, ptr %92, align 8, !tbaa !38
  %216 = load i32, ptr %198, align 4, !tbaa !52
  %217 = load i32, ptr %199, align 8, !tbaa !53
  %218 = load double, ptr %200, align 8, !tbaa !54
  %219 = sext i32 %216 to i64
  %220 = sext i32 %217 to i64
  %wide.trip.count400 = zext nneg i32 %213 to i64
  %invariant.gep443 = getelementptr double, ptr %215, i64 %219
  %invariant.gep445 = getelementptr double, ptr %215, i64 %220
  %min.iters.check463 = icmp ult i32 %213, 4
  br i1 %min.iters.check463, label %scalar.ph462.preheader, label %vector.ph464

vector.ph464:                                     ; preds = %.lr.ph357
  %n.vec466 = and i64 %wide.trip.count400, 2147483644
  %broadcast.splatinsert474 = insertelement <2 x double> poison, double %218, i64 0
  %broadcast.splat475 = shufflevector <2 x double> %broadcast.splatinsert474, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body468

vector.body468:                                   ; preds = %vector.body468, %vector.ph464
  %index469 = phi i64 [ 0, %vector.ph464 ], [ %index.next476, %vector.body468 ]
  %vec.phi = phi <2 x i1> [ zeroinitializer, %vector.ph464 ], [ %233, %vector.body468 ]
  %vec.phi470 = phi <2 x i1> [ zeroinitializer, %vector.ph464 ], [ %234, %vector.body468 ]
  %221 = getelementptr double, ptr %invariant.gep443, i64 %index469
  %222 = getelementptr i8, ptr %221, i64 16
  %wide.load = load <2 x double>, ptr %221, align 8, !tbaa !20
  %wide.load471 = load <2 x double>, ptr %222, align 8, !tbaa !20
  %223 = getelementptr double, ptr %invariant.gep445, i64 %index469
  %224 = getelementptr i8, ptr %223, i64 16
  %wide.load472 = load <2 x double>, ptr %223, align 8, !tbaa !20
  %wide.load473 = load <2 x double>, ptr %224, align 8, !tbaa !20
  %225 = fdiv <2 x double> %wide.load, %wide.load472
  %226 = fdiv <2 x double> %wide.load471, %wide.load473
  %227 = fadd <2 x double> %225, <double 0xBFD5555555555555, double 0xBFD5555555555555>
  %228 = fadd <2 x double> %226, <double 0xBFD5555555555555, double 0xBFD5555555555555>
  %229 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %227)
  %230 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %228)
  %231 = fcmp ogt <2 x double> %229, %broadcast.splat475
  %232 = fcmp ogt <2 x double> %230, %broadcast.splat475
  %233 = or <2 x i1> %vec.phi, %231
  %234 = or <2 x i1> %vec.phi470, %232
  %index.next476 = add nuw i64 %index469, 4
  %235 = icmp eq i64 %index.next476, %n.vec466
  br i1 %235, label %middle.block461, label %vector.body468, !llvm.loop !58

middle.block461:                                  ; preds = %vector.body468
  %bin.rdx = or <2 x i1> %234, %233
  %bin.rdx.fr = freeze <2 x i1> %bin.rdx
  %236 = bitcast <2 x i1> %bin.rdx.fr to i2
  %.not = icmp eq i2 %236, 0
  %rdx.select = zext i1 %.not to i32
  %cmp.n477 = icmp eq i64 %n.vec466, %wide.trip.count400
  br i1 %cmp.n477, label %._crit_edge, label %scalar.ph462.preheader

scalar.ph462.preheader:                           ; preds = %middle.block461, %.lr.ph357
  %indvars.iv397.ph = phi i64 [ 0, %.lr.ph357 ], [ %n.vec466, %middle.block461 ]
  %.0308356.ph = phi i32 [ 1, %.lr.ph357 ], [ %rdx.select, %middle.block461 ]
  br label %scalar.ph462

scalar.ph462:                                     ; preds = %scalar.ph462.preheader, %scalar.ph462
  %indvars.iv397 = phi i64 [ %indvars.iv.next398, %scalar.ph462 ], [ %indvars.iv397.ph, %scalar.ph462.preheader ]
  %.0308356 = phi i32 [ %.1309, %scalar.ph462 ], [ %.0308356.ph, %scalar.ph462.preheader ]
  %gep444 = getelementptr double, ptr %invariant.gep443, i64 %indvars.iv397
  %237 = load double, ptr %gep444, align 8, !tbaa !20
  %gep446 = getelementptr double, ptr %invariant.gep445, i64 %indvars.iv397
  %238 = load double, ptr %gep446, align 8, !tbaa !20
  %239 = fdiv double %237, %238
  %240 = fadd double %239, 0xBFD5555555555555
  %241 = tail call double @llvm.fabs.f64(double %240)
  %242 = fcmp ogt double %241, %218
  %.1309 = select i1 %242, i32 0, i32 %.0308356
  %indvars.iv.next398 = add nuw nsw i64 %indvars.iv397, 1
  %exitcond401.not = icmp eq i64 %indvars.iv.next398, %wide.trip.count400
  br i1 %exitcond401.not, label %._crit_edge, label %scalar.ph462, !llvm.loop !59

._crit_edge:                                      ; preds = %scalar.ph462, %middle.block461
  %.1309.lcssa = phi i32 [ %rdx.select, %middle.block461 ], [ %.1309, %scalar.ph462 ]
  %243 = icmp eq i32 %.1309.lcssa, 1
  br i1 %243, label %.thread, label %283

.thread:                                          ; preds = %.preheader336, %210, %._crit_edge
  %244 = load ptr, ptr %92, align 8, !tbaa !38
  %245 = load i32, ptr %101, align 8, !tbaa !39
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds double, ptr %244, i64 %246
  %248 = load double, ptr %247, align 8, !tbaa !20
  %249 = fdiv double 1.000000e+00, %248
  %250 = fadd double %249, -1.000000e+00
  %251 = load i16, ptr %108, align 8, !tbaa !40
  %252 = load ptr, ptr %110, align 8, !tbaa !42
  %253 = tail call i32 @thermodynamics_at_z(ptr noundef nonnull %1, ptr noundef %2, double noundef %250, i16 noundef signext %251, ptr noundef nonnull %33, ptr noundef %244, ptr noundef %252) #7
  %254 = icmp eq i32 %253, 1
  br i1 %254, label %255, label %258

255:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %22) #7
  %256 = getelementptr inbounds i8, ptr %2, i64 606
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.193, ptr noundef nonnull %256) #7
  %257 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %257, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2885, ptr noundef nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %22) #7
  br label %495

258:                                              ; preds = %.thread
  %259 = load ptr, ptr %92, align 8, !tbaa !38
  %260 = load i32, ptr %101, align 8, !tbaa !39
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds double, ptr %259, i64 %261
  %263 = load double, ptr %262, align 8, !tbaa !20
  %264 = load i32, ptr %123, align 4, !tbaa !43
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds double, ptr %259, i64 %265
  %267 = load double, ptr %266, align 8, !tbaa !20
  %268 = fmul double %263, %267
  %269 = load ptr, ptr %110, align 8, !tbaa !42
  %270 = load i32, ptr %130, align 4, !tbaa !44
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds double, ptr %269, i64 %271
  %273 = load double, ptr %272, align 8, !tbaa !20
  %274 = fdiv double %268, %273
  %275 = load double, ptr %136, align 8, !tbaa !45
  %276 = fcmp ogt double %274, %275
  br i1 %276, label %282, label %277

277:                                              ; preds = %258
  %278 = fdiv double %44, %263
  %279 = fdiv double %278, %267
  %280 = load double, ptr %144, align 8, !tbaa !47
  %281 = fcmp ogt double %279, %280
  br i1 %281, label %282, label %283

282:                                              ; preds = %277, %258
  br label %283

283:                                              ; preds = %277, %._crit_edge, %282
  %284 = phi double [ %.0303361, %282 ], [ %.0303361, %._crit_edge ], [ %.0301359, %277 ]
  %285 = phi double [ %.0300360, %282 ], [ %.0300360, %._crit_edge ], [ %.0303361, %277 ]
  %286 = fadd double %284, %285
  %.0303 = fmul double %286, 5.000000e-01
  %287 = fsub double %284, %285
  %288 = fdiv double %287, %285
  %289 = load double, ptr %192, align 8, !tbaa !57
  %290 = fcmp ogt double %288, %289
  br i1 %290, label %201, label %._crit_edge364, !llvm.loop !60

._crit_edge364:                                   ; preds = %283, %.loopexit
  %.0303.lcssa = phi double [ %.0303358, %.loopexit ], [ %.0303, %283 ]
  %291 = getelementptr inbounds i8, ptr %7, i64 360
  %292 = load i32, ptr %291, align 8, !tbaa !61
  %293 = sext i32 %292 to i64
  %294 = shl nsw i64 %293, 2
  %295 = tail call noalias ptr @malloc(i64 noundef %294) #8
  %296 = icmp eq ptr %295, null
  br i1 %296, label %297, label %300

297:                                              ; preds = %._crit_edge364
  %298 = shl i32 %292, 2
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %23) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %23, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.201, i32 noundef %298) #7
  %299 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %299, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2910, ptr noundef nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %23) #7
  br label %495

300:                                              ; preds = %._crit_edge364
  %301 = load i16, ptr %34, align 2, !tbaa !14
  store i16 %301, ptr %36, align 4, !tbaa !16
  %302 = load ptr, ptr %188, align 8, !tbaa !56
  %303 = add nsw i32 %86, -1
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds double, ptr %302, i64 %304
  %306 = load double, ptr %305, align 8, !tbaa !20
  %307 = call i32 @perturb_find_approximation_number(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %44, ptr noundef nonnull %7, double noundef %.0303.lcssa, double noundef %306, ptr noundef nonnull %10, ptr noundef nonnull %295)
  %308 = icmp eq i32 %307, 1
  br i1 %308, label %309, label %311

309:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %24) #7
  %310 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str, ptr noundef nonnull @.str.202, ptr noundef nonnull %310) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %310, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2926, ptr noundef nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %24) #7
  br label %495

311:                                              ; preds = %300
  %312 = load i32, ptr %10, align 4, !tbaa !49
  %313 = add nsw i32 %312, 1
  %314 = sext i32 %313 to i64
  %315 = shl nsw i64 %314, 3
  %316 = call noalias ptr @malloc(i64 noundef %315) #8
  %317 = icmp eq ptr %316, null
  br i1 %317, label %318, label %322

318:                                              ; preds = %311
  %319 = shl i32 %312, 3
  %320 = add i32 %319, 8
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %25) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %25, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.203, i32 noundef %320) #7
  %321 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %321, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2928, ptr noundef nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %25) #7
  br label %495

322:                                              ; preds = %311
  %323 = sext i32 %312 to i64
  %324 = shl nsw i64 %323, 3
  %325 = call noalias ptr @malloc(i64 noundef %324) #8
  %326 = icmp eq ptr %325, null
  br i1 %326, label %331, label %.preheader335

.preheader335:                                    ; preds = %322
  %327 = icmp sgt i32 %312, 0
  br i1 %327, label %.lr.ph367, label %._crit_edge368

.lr.ph367:                                        ; preds = %.preheader335
  %328 = load i32, ptr %291, align 8, !tbaa !61
  %329 = sext i32 %328 to i64
  %330 = shl nsw i64 %329, 2
  %wide.trip.count405 = zext nneg i32 %312 to i64
  br label %335

331:                                              ; preds = %322
  %332 = shl i32 %312, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %26) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %26, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.204, i32 noundef %332) #7
  %333 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %333, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2930, ptr noundef nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %26) #7
  br label %495

334:                                              ; preds = %335
  %indvars.iv.next403 = add nuw nsw i64 %indvars.iv402, 1
  %exitcond406.not = icmp eq i64 %indvars.iv.next403, %wide.trip.count405
  br i1 %exitcond406.not, label %._crit_edge368, label %335, !llvm.loop !62

335:                                              ; preds = %.lr.ph367, %334
  %indvars.iv402 = phi i64 [ 0, %.lr.ph367 ], [ %indvars.iv.next403, %334 ]
  %336 = call noalias ptr @malloc(i64 noundef %330) #8
  %337 = getelementptr inbounds ptr, ptr %325, i64 %indvars.iv402
  store ptr %336, ptr %337, align 8, !tbaa !19
  %338 = icmp eq ptr %336, null
  br i1 %338, label %339, label %334

339:                                              ; preds = %335
  %340 = shl i32 %328, 2
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %27) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.205, i32 noundef %340) #7
  %341 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %341, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2933, ptr noundef nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %27) #7
  br label %495

._crit_edge368:                                   ; preds = %334, %.preheader335
  %342 = load ptr, ptr %188, align 8, !tbaa !56
  %343 = getelementptr inbounds double, ptr %342, i64 %304
  %344 = load double, ptr %343, align 8, !tbaa !20
  %345 = load double, ptr %192, align 8, !tbaa !57
  %346 = call i32 @perturb_find_approximation_switches(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %44, ptr noundef nonnull %7, double noundef %.0303.lcssa, double noundef %344, double noundef %345, i32 noundef %312, ptr noundef nonnull %295, ptr noundef nonnull %316, ptr noundef nonnull %325)
  %347 = icmp eq i32 %346, 1
  br i1 %347, label %348, label %350

348:                                              ; preds = %._crit_edge368
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %28) #7
  %349 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str, ptr noundef nonnull @.str.206, ptr noundef nonnull %349) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %349, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 2950, ptr noundef nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %28) #7
  br label %495

350:                                              ; preds = %._crit_edge368
  call void @free(ptr noundef %295) #7
  store ptr %0, ptr %9, align 8, !tbaa !63
  %351 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %1, ptr %351, align 8, !tbaa !65
  %352 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %2, ptr %352, align 8, !tbaa !66
  %353 = getelementptr inbounds i8, ptr %9, i64 24
  store ptr %3, ptr %353, align 8, !tbaa !67
  %354 = getelementptr inbounds i8, ptr %9, i64 32
  store i32 %4, ptr %354, align 8, !tbaa !68
  %355 = getelementptr inbounds i8, ptr %9, i64 36
  store i32 %5, ptr %355, align 4, !tbaa !69
  %356 = getelementptr inbounds i8, ptr %9, i64 40
  store i32 %6, ptr %356, align 8, !tbaa !70
  %357 = getelementptr inbounds i8, ptr %9, i64 48
  store double %44, ptr %357, align 8, !tbaa !71
  %358 = getelementptr inbounds i8, ptr %9, i64 56
  store ptr %7, ptr %358, align 8, !tbaa !72
  %359 = getelementptr inbounds i8, ptr %1, i64 848
  %360 = load i16, ptr %359, align 8, !tbaa !73
  store i16 %360, ptr %36, align 4, !tbaa !16
  store i32 0, ptr %32, align 8, !tbaa !5
  store i32 0, ptr %33, align 4, !tbaa !13
  %361 = getelementptr inbounds i8, ptr %7, i64 320
  store i32 -1, ptr %361, align 8, !tbaa !74
  %362 = getelementptr inbounds i8, ptr %3, i64 1732
  %363 = load i32, ptr %362, align 4, !tbaa !75
  %364 = icmp sgt i32 %363, 0
  br i1 %364, label %.lr.ph372, label %.preheader334

.lr.ph372:                                        ; preds = %350
  %365 = getelementptr inbounds i8, ptr %3, i64 2504
  %366 = load ptr, ptr %365, align 8, !tbaa !76
  %367 = mul nsw i32 %363, %4
  %368 = sext i32 %367 to i64
  %wide.trip.count410 = zext nneg i32 %363 to i64
  %invariant.gep447 = getelementptr i32, ptr %366, i64 %368
  %xtraiter = and i64 %wide.trip.count410, 3
  %369 = icmp ult i32 %363, 4
  br i1 %369, label %.preheader334.loopexit.unr-lcssa, label %.lr.ph372.new

.lr.ph372.new:                                    ; preds = %.lr.ph372
  %unroll_iter = and i64 %wide.trip.count410, 2147483644
  br label %382

.preheader334.loopexit.unr-lcssa:                 ; preds = %402, %.lr.ph372
  %.1306.lcssa.ph = phi ptr [ poison, %.lr.ph372 ], [ %.1306.3, %402 ]
  %indvars.iv407.unr = phi i64 [ 0, %.lr.ph372 ], [ %indvars.iv.next408.3, %402 ]
  %.0305369.unr = phi ptr [ null, %.lr.ph372 ], [ %.1306.3, %402 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader334, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader334.loopexit.unr-lcssa, %374
  %indvars.iv407.epil = phi i64 [ %indvars.iv.next408.epil, %374 ], [ %indvars.iv407.unr, %.preheader334.loopexit.unr-lcssa ]
  %.0305369.epil = phi ptr [ %.1306.epil, %374 ], [ %.0305369.unr, %.preheader334.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %374 ], [ 0, %.preheader334.loopexit.unr-lcssa ]
  %gep448.epil = getelementptr i32, ptr %invariant.gep447, i64 %indvars.iv407.epil
  %370 = load i32, ptr %gep448.epil, align 4, !tbaa !49
  %371 = icmp eq i32 %370, %6
  br i1 %371, label %372, label %374

372:                                              ; preds = %.epil.preheader
  %373 = trunc nuw nsw i64 %indvars.iv407.epil to i32
  store i32 %373, ptr %361, align 8, !tbaa !74
  br label %374

374:                                              ; preds = %372, %.epil.preheader
  %.1306.epil = phi ptr [ @perturb_print_variables, %372 ], [ %.0305369.epil, %.epil.preheader ]
  %indvars.iv.next408.epil = add nuw nsw i64 %indvars.iv407.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader334, label %.epil.preheader, !llvm.loop !77

.preheader334:                                    ; preds = %.preheader334.loopexit.unr-lcssa, %374, %350
  %.0305.lcssa = phi ptr [ null, %350 ], [ %.1306.lcssa.ph, %.preheader334.loopexit.unr-lcssa ], [ %.1306.epil, %374 ]
  %invariant.gep = getelementptr i8, ptr %325, i64 -8
  %375 = getelementptr inbounds i8, ptr %7, i64 368
  %376 = getelementptr inbounds i8, ptr %0, i64 1736
  %377 = getelementptr inbounds i8, ptr %7, i64 72
  %378 = getelementptr inbounds i8, ptr %0, i64 1624
  %379 = getelementptr inbounds i8, ptr %0, i64 2344
  %380 = getelementptr inbounds i8, ptr %0, i64 1608
  %381 = getelementptr inbounds i8, ptr %3, i64 27610
  br label %403

382:                                              ; preds = %402, %.lr.ph372.new
  %indvars.iv407 = phi i64 [ 0, %.lr.ph372.new ], [ %indvars.iv.next408.3, %402 ]
  %.0305369 = phi ptr [ null, %.lr.ph372.new ], [ %.1306.3, %402 ]
  %niter = phi i64 [ 0, %.lr.ph372.new ], [ %niter.next.3, %402 ]
  %gep448 = getelementptr i32, ptr %invariant.gep447, i64 %indvars.iv407
  %383 = load i32, ptr %gep448, align 4, !tbaa !49
  %384 = icmp eq i32 %383, %6
  br i1 %384, label %385, label %387

385:                                              ; preds = %382
  %386 = trunc nuw nsw i64 %indvars.iv407 to i32
  store i32 %386, ptr %361, align 8, !tbaa !74
  br label %387

387:                                              ; preds = %382, %385
  %.1306 = phi ptr [ @perturb_print_variables, %385 ], [ %.0305369, %382 ]
  %indvars.iv.next408 = or disjoint i64 %indvars.iv407, 1
  %gep448.1 = getelementptr i32, ptr %invariant.gep447, i64 %indvars.iv.next408
  %388 = load i32, ptr %gep448.1, align 4, !tbaa !49
  %389 = icmp eq i32 %388, %6
  br i1 %389, label %390, label %392

390:                                              ; preds = %387
  %391 = trunc nuw nsw i64 %indvars.iv.next408 to i32
  store i32 %391, ptr %361, align 8, !tbaa !74
  br label %392

392:                                              ; preds = %390, %387
  %.1306.1 = phi ptr [ @perturb_print_variables, %390 ], [ %.1306, %387 ]
  %indvars.iv.next408.1 = or disjoint i64 %indvars.iv407, 2
  %gep448.2 = getelementptr i32, ptr %invariant.gep447, i64 %indvars.iv.next408.1
  %393 = load i32, ptr %gep448.2, align 4, !tbaa !49
  %394 = icmp eq i32 %393, %6
  br i1 %394, label %395, label %397

395:                                              ; preds = %392
  %396 = trunc nuw nsw i64 %indvars.iv.next408.1 to i32
  store i32 %396, ptr %361, align 8, !tbaa !74
  br label %397

397:                                              ; preds = %395, %392
  %.1306.2 = phi ptr [ @perturb_print_variables, %395 ], [ %.1306.1, %392 ]
  %indvars.iv.next408.2 = or disjoint i64 %indvars.iv407, 3
  %gep448.3 = getelementptr i32, ptr %invariant.gep447, i64 %indvars.iv.next408.2
  %398 = load i32, ptr %gep448.3, align 4, !tbaa !49
  %399 = icmp eq i32 %398, %6
  br i1 %399, label %400, label %402

400:                                              ; preds = %397
  %401 = trunc nuw nsw i64 %indvars.iv.next408.2 to i32
  store i32 %401, ptr %361, align 8, !tbaa !74
  br label %402

402:                                              ; preds = %400, %397
  %.1306.3 = phi ptr [ @perturb_print_variables, %400 ], [ %.1306.2, %397 ]
  %indvars.iv.next408.3 = add nuw nsw i64 %indvars.iv407, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader334.loopexit.unr-lcssa, label %382, !llvm.loop !79

403:                                              ; preds = %.preheader334, %464
  %indvars.iv415 = phi i64 [ 0, %.preheader334 ], [ %indvars.iv.next416, %464 ]
  %404 = load i32, ptr %10, align 4, !tbaa !49
  %405 = sext i32 %404 to i64
  %406 = icmp slt i64 %indvars.iv415, %405
  br i1 %406, label %.preheader333, label %.preheader332

.preheader333:                                    ; preds = %403
  %407 = load i32, ptr %291, align 8, !tbaa !61
  %408 = icmp sgt i32 %407, 0
  br i1 %408, label %.lr.ph375, label %._crit_edge376

.lr.ph375:                                        ; preds = %.preheader333
  %409 = getelementptr inbounds ptr, ptr %325, i64 %indvars.iv415
  %410 = load ptr, ptr %409, align 8, !tbaa !19
  %411 = load ptr, ptr %375, align 8, !tbaa !80
  br label %448

.preheader332:                                    ; preds = %403
  %412 = load i32, ptr %85, align 8, !tbaa !35
  %413 = icmp slt i32 %86, %412
  br i1 %413, label %.preheader331.lr.ph, label %._crit_edge381

.preheader331.lr.ph:                              ; preds = %.preheader332
  %414 = getelementptr inbounds i8, ptr %3, i64 2336
  %415 = load ptr, ptr %414, align 8, !tbaa !81
  %416 = getelementptr inbounds i32, ptr %415, i64 %39
  %417 = load i32, ptr %416, align 4, !tbaa !49
  %418 = icmp sgt i32 %417, 0
  br i1 %418, label %.preheader331.lr.ph.split.us, label %._crit_edge381

.preheader331.lr.ph.split.us:                     ; preds = %.preheader331.lr.ph
  %419 = mul nsw i32 %417, %5
  %420 = getelementptr inbounds i8, ptr %3, i64 2360
  %421 = getelementptr inbounds i8, ptr %3, i64 2464
  %422 = load ptr, ptr %421, align 8, !tbaa !82
  %423 = getelementptr inbounds ptr, ptr %422, i64 %39
  %424 = load ptr, ptr %423, align 8, !tbaa !19
  %425 = load ptr, ptr %420, align 8, !tbaa !48
  %426 = getelementptr inbounds i32, ptr %425, i64 %39
  %427 = load i32, ptr %426, align 4, !tbaa !49
  %428 = sext i32 %419 to i64
  %429 = sext i32 %86 to i64
  %430 = sext i32 %427 to i64
  %wide.trip.count426 = sext i32 %412 to i64
  %wide.trip.count421 = zext nneg i32 %417 to i64
  %invariant.gep449 = getelementptr ptr, ptr %424, i64 %428
  %xtraiter490 = and i64 %wide.trip.count421, 3
  %431 = icmp ult i32 %417, 4
  %unroll_iter493 = and i64 %wide.trip.count421, 2147483644
  %lcmp.mod492.not = icmp eq i64 %xtraiter490, 0
  br label %.preheader331.us

.preheader331.us:                                 ; preds = %._crit_edge379.us, %.preheader331.lr.ph.split.us
  %indvars.iv423 = phi i64 [ %indvars.iv.next424, %._crit_edge379.us ], [ %429, %.preheader331.lr.ph.split.us ]
  %432 = mul nsw i64 %indvars.iv423, %430
  br i1 %431, label %._crit_edge379.us.unr-lcssa, label %.preheader331.us.new

.preheader331.us.new:                             ; preds = %.preheader331.us, %.preheader331.us.new
  %indvars.iv418 = phi i64 [ %indvars.iv.next419.3, %.preheader331.us.new ], [ 0, %.preheader331.us ]
  %niter494 = phi i64 [ %niter494.next.3, %.preheader331.us.new ], [ 0, %.preheader331.us ]
  %gep450 = getelementptr ptr, ptr %invariant.gep449, i64 %indvars.iv418
  %433 = load ptr, ptr %gep450, align 8, !tbaa !19
  %434 = getelementptr double, ptr %433, i64 %432
  %435 = getelementptr double, ptr %434, i64 %42
  store double 0.000000e+00, ptr %435, align 8, !tbaa !20
  %indvars.iv.next419 = or disjoint i64 %indvars.iv418, 1
  %gep450.1 = getelementptr ptr, ptr %invariant.gep449, i64 %indvars.iv.next419
  %436 = load ptr, ptr %gep450.1, align 8, !tbaa !19
  %437 = getelementptr double, ptr %436, i64 %432
  %438 = getelementptr double, ptr %437, i64 %42
  store double 0.000000e+00, ptr %438, align 8, !tbaa !20
  %indvars.iv.next419.1 = or disjoint i64 %indvars.iv418, 2
  %gep450.2 = getelementptr ptr, ptr %invariant.gep449, i64 %indvars.iv.next419.1
  %439 = load ptr, ptr %gep450.2, align 8, !tbaa !19
  %440 = getelementptr double, ptr %439, i64 %432
  %441 = getelementptr double, ptr %440, i64 %42
  store double 0.000000e+00, ptr %441, align 8, !tbaa !20
  %indvars.iv.next419.2 = or disjoint i64 %indvars.iv418, 3
  %gep450.3 = getelementptr ptr, ptr %invariant.gep449, i64 %indvars.iv.next419.2
  %442 = load ptr, ptr %gep450.3, align 8, !tbaa !19
  %443 = getelementptr double, ptr %442, i64 %432
  %444 = getelementptr double, ptr %443, i64 %42
  store double 0.000000e+00, ptr %444, align 8, !tbaa !20
  %indvars.iv.next419.3 = add nuw nsw i64 %indvars.iv418, 4
  %niter494.next.3 = add i64 %niter494, 4
  %niter494.ncmp.3 = icmp eq i64 %niter494.next.3, %unroll_iter493
  br i1 %niter494.ncmp.3, label %._crit_edge379.us.unr-lcssa, label %.preheader331.us.new, !llvm.loop !83

._crit_edge379.us.unr-lcssa:                      ; preds = %.preheader331.us.new, %.preheader331.us
  %indvars.iv418.unr = phi i64 [ 0, %.preheader331.us ], [ %indvars.iv.next419.3, %.preheader331.us.new ]
  br i1 %lcmp.mod492.not, label %._crit_edge379.us, label %.epil.preheader489

.epil.preheader489:                               ; preds = %._crit_edge379.us.unr-lcssa, %.epil.preheader489
  %indvars.iv418.epil = phi i64 [ %indvars.iv.next419.epil, %.epil.preheader489 ], [ %indvars.iv418.unr, %._crit_edge379.us.unr-lcssa ]
  %epil.iter491 = phi i64 [ %epil.iter491.next, %.epil.preheader489 ], [ 0, %._crit_edge379.us.unr-lcssa ]
  %gep450.epil = getelementptr ptr, ptr %invariant.gep449, i64 %indvars.iv418.epil
  %445 = load ptr, ptr %gep450.epil, align 8, !tbaa !19
  %446 = getelementptr double, ptr %445, i64 %432
  %447 = getelementptr double, ptr %446, i64 %42
  store double 0.000000e+00, ptr %447, align 8, !tbaa !20
  %indvars.iv.next419.epil = add nuw nsw i64 %indvars.iv418.epil, 1
  %epil.iter491.next = add i64 %epil.iter491, 1
  %epil.iter491.cmp.not = icmp eq i64 %epil.iter491.next, %xtraiter490
  br i1 %epil.iter491.cmp.not, label %._crit_edge379.us, label %.epil.preheader489, !llvm.loop !84

._crit_edge379.us:                                ; preds = %.epil.preheader489, %._crit_edge379.us.unr-lcssa
  %indvars.iv.next424 = add nsw i64 %indvars.iv423, 1
  %exitcond427.not = icmp eq i64 %indvars.iv.next424, %wide.trip.count426
  br i1 %exitcond427.not, label %._crit_edge381, label %.preheader331.us, !llvm.loop !85

448:                                              ; preds = %.lr.ph375, %448
  %indvars.iv412 = phi i64 [ 0, %.lr.ph375 ], [ %indvars.iv.next413, %448 ]
  %449 = getelementptr inbounds i32, ptr %410, i64 %indvars.iv412
  %450 = load i32, ptr %449, align 4, !tbaa !49
  %451 = getelementptr inbounds i32, ptr %411, i64 %indvars.iv412
  store i32 %450, ptr %451, align 4, !tbaa !49
  %indvars.iv.next413 = add nuw nsw i64 %indvars.iv412, 1
  %452 = load i32, ptr %291, align 8, !tbaa !61
  %453 = sext i32 %452 to i64
  %454 = icmp slt i64 %indvars.iv.next413, %453
  br i1 %454, label %448, label %._crit_edge376, !llvm.loop !86

._crit_edge376:                                   ; preds = %448, %.preheader333
  %455 = icmp eq i64 %indvars.iv415, 0
  br i1 %455, label %458, label %456

456:                                              ; preds = %._crit_edge376
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %indvars.iv415
  %457 = load ptr, ptr %gep, align 8, !tbaa !19
  br label %458

458:                                              ; preds = %._crit_edge376, %456
  %.0312 = phi ptr [ %457, %456 ], [ null, %._crit_edge376 ]
  %459 = getelementptr inbounds double, ptr %316, i64 %indvars.iv415
  %460 = load double, ptr %459, align 8, !tbaa !20
  %461 = call i32 @perturb_vector_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, double noundef %44, double noundef %460, ptr noundef nonnull %7, ptr noundef %.0312)
  %462 = icmp eq i32 %461, 1
  br i1 %462, label %463, label %464

463:                                              ; preds = %458
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %29) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %29, ptr noundef nonnull @.str, ptr noundef nonnull @.str.207, ptr noundef nonnull %381) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %381, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 3021, ptr noundef nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %29) #7
  br label %495

464:                                              ; preds = %458
  %465 = load i32, ptr %376, align 8, !tbaa !87
  %466 = icmp eq i32 %465, 0
  %evolver_rk.evolver_ndf15 = select i1 %466, ptr @evolver_rk, ptr @evolver_ndf15
  %467 = load double, ptr %459, align 8, !tbaa !20
  %indvars.iv.next416 = add nuw nsw i64 %indvars.iv415, 1
  %468 = getelementptr inbounds double, ptr %316, i64 %indvars.iv.next416
  %469 = load double, ptr %468, align 8, !tbaa !20
  %470 = load ptr, ptr %377, align 8, !tbaa !88
  %471 = getelementptr inbounds i8, ptr %470, i64 208
  %472 = load ptr, ptr %471, align 8, !tbaa !89
  %473 = getelementptr inbounds i8, ptr %470, i64 224
  %474 = load ptr, ptr %473, align 8, !tbaa !91
  %475 = getelementptr inbounds i8, ptr %470, i64 200
  %476 = load i32, ptr %475, align 8, !tbaa !92
  %477 = load double, ptr %378, align 8, !tbaa !93
  %478 = load double, ptr %379, align 8, !tbaa !94
  %479 = load double, ptr %380, align 8, !tbaa !95
  %480 = load ptr, ptr %188, align 8, !tbaa !56
  %481 = call i32 (ptr, double, double, ptr, ptr, i32, ptr, double, double, ptr, double, ptr, i32, ptr, ptr, ptr, ...) %evolver_rk.evolver_ndf15(ptr noundef nonnull @perturb_derivs, double noundef %467, double noundef %469, ptr noundef %472, ptr noundef %474, i32 noundef %476, ptr noundef nonnull %9, double noundef %477, double noundef %478, ptr noundef nonnull @perturb_timescale, double noundef %479, ptr noundef %480, i32 noundef %86, ptr noundef nonnull @perturb_sources, ptr noundef %.0305.lcssa, ptr noundef nonnull %381) #7, !callees !96
  %482 = icmp eq i32 %481, 1
  br i1 %482, label %483, label %403, !llvm.loop !97

483:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %30) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %30, ptr noundef nonnull @.str, ptr noundef nonnull @.str.208, ptr noundef nonnull %381) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %381, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 3049, ptr noundef nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %30) #7
  br label %495

._crit_edge381:                                   ; preds = %._crit_edge379.us, %.preheader331.lr.ph, %.preheader332
  %484 = load ptr, ptr %377, align 8, !tbaa !88
  %485 = call i32 @perturb_vector_free(ptr noundef %484)
  %486 = icmp eq i32 %485, 1
  br i1 %486, label %489, label %.preheader

.preheader:                                       ; preds = %._crit_edge381
  %487 = load i32, ptr %10, align 4, !tbaa !49
  %488 = icmp sgt i32 %487, 0
  br i1 %488, label %.lr.ph383, label %._crit_edge384

489:                                              ; preds = %._crit_edge381
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %31) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %31, ptr noundef nonnull @.str, ptr noundef nonnull @.str.209, ptr noundef nonnull %381) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %381, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_solve, i32 noundef 3073, ptr noundef nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %31) #7
  br label %495

.lr.ph383:                                        ; preds = %.preheader, %.lr.ph383
  %indvars.iv428 = phi i64 [ %indvars.iv.next429, %.lr.ph383 ], [ 0, %.preheader ]
  %490 = getelementptr inbounds ptr, ptr %325, i64 %indvars.iv428
  %491 = load ptr, ptr %490, align 8, !tbaa !19
  call void @free(ptr noundef %491) #7
  %indvars.iv.next429 = add nuw nsw i64 %indvars.iv428, 1
  %492 = load i32, ptr %10, align 4, !tbaa !49
  %493 = sext i32 %492 to i64
  %494 = icmp slt i64 %indvars.iv.next429, %493
  br i1 %494, label %.lr.ph383, label %._crit_edge384, !llvm.loop !98

._crit_edge384:                                   ; preds = %.lr.ph383, %.preheader
  call void @free(ptr noundef %325) #7
  call void @free(ptr noundef %316) #7
  br label %495

495:                                              ; preds = %._crit_edge384, %489, %483, %463, %348, %339, %331, %318, %309, %297, %255, %207, %184, %147, %139, %114, %96, %46
  %.0 = phi i32 [ 1, %46 ], [ 1, %96 ], [ 1, %114 ], [ 1, %139 ], [ 1, %147 ], [ 1, %184 ], [ 1, %207 ], [ 1, %255 ], [ 1, %297 ], [ 1, %309 ], [ 1, %318 ], [ 1, %331 ], [ 1, %339 ], [ 1, %348 ], [ 1, %463 ], [ 1, %483 ], [ 1, %489 ], [ 0, %._crit_edge384 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  ret i32 %.0
}

declare i32 @background_at_tau(ptr noundef, double noundef, i16 noundef signext, i16 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @thermodynamics_at_z(ptr noundef, ptr noundef, double noundef, i16 noundef signext, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_find_approximation_number(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_find_approximation_switches(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, double noundef, double noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_print_variables(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_vector_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @evolver_rk(...) local_unnamed_addr #1

declare i32 @evolver_ndf15(ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_derivs(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_timescale(double noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_sources(double noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @perturb_vector_free(ptr noundef) local_unnamed_addr #4

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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 328}
!6 = !{!"perturb_workspace", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !10, i64 312, !7, i64 320, !12, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !10, i64 368, !7, i64 376, !10, i64 384}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!6, !7, i64 332}
!14 = !{!15, !12, i64 846}
!15 = !{!"background", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !12, i64 176, !11, i64 184, !11, i64 192, !10, i64 200, !7, i64 208, !7, i64 212, !11, i64 216, !7, i64 224, !10, i64 232, !10, i64 240, !11, i64 248, !10, i64 256, !11, i64 264, !10, i64 272, !11, i64 280, !10, i64 288, !11, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !7, i64 360, !10, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !7, i64 512, !7, i64 516, !7, i64 520, !7, i64 524, !7, i64 528, !7, i64 532, !7, i64 536, !7, i64 540, !7, i64 544, !7, i64 548, !7, i64 552, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !7, i64 588, !7, i64 592, !7, i64 596, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !7, i64 616, !7, i64 620, !7, i64 624, !7, i64 628, !10, i64 632, !10, i64 640, !10, i64 648, !10, i64 656, !10, i64 664, !7, i64 672, !7, i64 676, !7, i64 680, !7, i64 684, !7, i64 688, !7, i64 692, !7, i64 696, !7, i64 700, !7, i64 704, !7, i64 708, !7, i64 712, !7, i64 716, !7, i64 720, !12, i64 724, !12, i64 726, !12, i64 728, !12, i64 730, !12, i64 732, !12, i64 734, !12, i64 736, !12, i64 738, !12, i64 740, !12, i64 742, !12, i64 744, !10, i64 752, !10, i64 760, !10, i64 768, !10, i64 776, !10, i64 784, !10, i64 792, !10, i64 800, !10, i64 808, !10, i64 816, !10, i64 824, !10, i64 832, !12, i64 840, !12, i64 842, !12, i64 844, !12, i64 846, !12, i64 848, !12, i64 850, !8, i64 852, !12, i64 2900, !8, i64 2902}
!16 = !{!6, !12, i64 324}
!17 = !{!18, !10, i64 2368}
!18 = !{!"perturbs", !12, i64 0, !12, i64 2, !12, i64 4, !12, i64 6, !12, i64 8, !12, i64 10, !12, i64 12, !12, i64 14, !12, i64 16, !12, i64 18, !12, i64 20, !7, i64 24, !12, i64 28, !12, i64 30, !12, i64 32, !12, i64 34, !12, i64 36, !12, i64 38, !12, i64 40, !12, i64 42, !12, i64 44, !12, i64 46, !12, i64 48, !12, i64 50, !12, i64 52, !12, i64 54, !12, i64 56, !12, i64 58, !12, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !11, i64 80, !7, i64 88, !7, i64 92, !8, i64 96, !8, i64 896, !7, i64 1696, !7, i64 1700, !7, i64 1704, !7, i64 1708, !7, i64 1712, !11, i64 1720, !7, i64 1728, !7, i64 1732, !8, i64 1736, !11, i64 1976, !11, i64 1984, !11, i64 1992, !10, i64 2000, !10, i64 2008, !7, i64 2016, !12, i64 2020, !12, i64 2022, !7, i64 2024, !7, i64 2028, !7, i64 2032, !7, i64 2036, !7, i64 2040, !7, i64 2044, !7, i64 2048, !7, i64 2052, !7, i64 2056, !7, i64 2060, !7, i64 2064, !10, i64 2072, !12, i64 2080, !12, i64 2082, !12, i64 2084, !12, i64 2086, !12, i64 2088, !12, i64 2090, !12, i64 2092, !12, i64 2094, !12, i64 2096, !12, i64 2098, !12, i64 2100, !12, i64 2102, !12, i64 2104, !12, i64 2106, !12, i64 2108, !12, i64 2110, !12, i64 2112, !12, i64 2114, !12, i64 2116, !12, i64 2118, !12, i64 2120, !12, i64 2122, !12, i64 2124, !12, i64 2126, !12, i64 2128, !12, i64 2130, !12, i64 2132, !12, i64 2134, !12, i64 2136, !12, i64 2138, !12, i64 2140, !12, i64 2142, !12, i64 2144, !12, i64 2146, !12, i64 2148, !12, i64 2150, !12, i64 2152, !12, i64 2154, !12, i64 2156, !12, i64 2158, !7, i64 2160, !7, i64 2164, !7, i64 2168, !7, i64 2172, !7, i64 2176, !7, i64 2180, !7, i64 2184, !7, i64 2188, !7, i64 2192, !7, i64 2196, !7, i64 2200, !7, i64 2204, !7, i64 2208, !7, i64 2212, !7, i64 2216, !7, i64 2220, !7, i64 2224, !7, i64 2228, !7, i64 2232, !7, i64 2236, !7, i64 2240, !7, i64 2244, !7, i64 2248, !7, i64 2252, !7, i64 2256, !7, i64 2260, !7, i64 2264, !7, i64 2268, !7, i64 2272, !7, i64 2276, !7, i64 2280, !7, i64 2284, !7, i64 2288, !7, i64 2292, !7, i64 2296, !7, i64 2300, !7, i64 2304, !7, i64 2308, !7, i64 2312, !7, i64 2316, !7, i64 2320, !7, i64 2324, !7, i64 2328, !7, i64 2332, !10, i64 2336, !10, i64 2344, !10, i64 2352, !10, i64 2360, !10, i64 2368, !11, i64 2376, !11, i64 2384, !10, i64 2392, !7, i64 2400, !11, i64 2408, !11, i64 2416, !11, i64 2424, !10, i64 2432, !10, i64 2440, !10, i64 2448, !10, i64 2456, !10, i64 2464, !10, i64 2472, !7, i64 2480, !10, i64 2488, !10, i64 2496, !10, i64 2504, !8, i64 2512, !8, i64 10512, !8, i64 18512, !7, i64 26512, !7, i64 26516, !7, i64 26520, !8, i64 26528, !8, i64 26768, !8, i64 27008, !8, i64 27248, !8, i64 27368, !8, i64 27488, !12, i64 27608, !8, i64 27610}
!19 = !{!10, !10, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!15, !12, i64 744}
!22 = !{!6, !7, i64 376}
!23 = !{!6, !10, i64 384}
!24 = !{!15, !11, i64 352}
!25 = !{!26}
!26 = distinct !{!26, !27}
!27 = distinct !{!27, !"LVerDomain"}
!28 = !{!29}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !31, !32, !33}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!"llvm.loop.isvectorized", i32 1}
!33 = !{!"llvm.loop.unroll.runtime.disable"}
!34 = distinct !{!34, !31, !32}
!35 = !{!18, !7, i64 2400}
!36 = !{!15, !10, i64 632}
!37 = !{!15, !12, i64 842}
!38 = !{!6, !10, i64 48}
!39 = !{!15, !7, i64 464}
!40 = !{!41, !12, i64 600}
!41 = !{!"thermo", !11, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !12, i64 42, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !7, i64 80, !10, i64 88, !10, i64 96, !11, i64 104, !7, i64 112, !10, i64 120, !10, i64 128, !11, i64 136, !7, i64 144, !10, i64 152, !10, i64 160, !11, i64 168, !12, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !12, i64 600, !12, i64 602, !12, i64 604, !8, i64 606}
!42 = !{!6, !10, i64 56}
!43 = !{!15, !7, i64 468}
!44 = !{!41, !7, i64 276}
!45 = !{!46, !11, i64 1488}
!46 = !{!"precision", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !8, i64 104, !11, i64 360, !7, i64 368, !11, i64 376, !7, i64 384, !7, i64 388, !11, i64 392, !7, i64 400, !11, i64 408, !7, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !7, i64 624, !8, i64 628, !8, i64 884, !8, i64 1140, !11, i64 1400, !11, i64 1408, !11, i64 1416, !11, i64 1424, !11, i64 1432, !11, i64 1440, !11, i64 1448, !11, i64 1456, !11, i64 1464, !11, i64 1472, !11, i64 1480, !11, i64 1488, !11, i64 1496, !11, i64 1504, !11, i64 1512, !11, i64 1520, !7, i64 1528, !11, i64 1536, !11, i64 1544, !7, i64 1552, !7, i64 1556, !7, i64 1560, !7, i64 1564, !7, i64 1568, !7, i64 1572, !7, i64 1576, !7, i64 1580, !11, i64 1584, !11, i64 1592, !11, i64 1600, !11, i64 1608, !11, i64 1616, !11, i64 1624, !11, i64 1632, !11, i64 1640, !7, i64 1648, !11, i64 1656, !11, i64 1664, !7, i64 1672, !11, i64 1680, !11, i64 1688, !7, i64 1696, !11, i64 1704, !7, i64 1712, !11, i64 1720, !11, i64 1728, !7, i64 1736, !11, i64 1744, !11, i64 1752, !11, i64 1760, !7, i64 1768, !11, i64 1776, !11, i64 1784, !11, i64 1792, !11, i64 1800, !11, i64 1808, !7, i64 1816, !11, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !11, i64 1872, !7, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !11, i64 1912, !11, i64 1920, !11, i64 1928, !11, i64 1936, !11, i64 1944, !11, i64 1952, !11, i64 1960, !11, i64 1968, !11, i64 1976, !11, i64 1984, !11, i64 1992, !11, i64 2000, !11, i64 2008, !11, i64 2016, !11, i64 2024, !11, i64 2032, !11, i64 2040, !11, i64 2048, !11, i64 2056, !11, i64 2064, !11, i64 2072, !11, i64 2080, !11, i64 2088, !11, i64 2096, !11, i64 2104, !11, i64 2112, !11, i64 2120, !11, i64 2128, !11, i64 2136, !11, i64 2144, !11, i64 2152, !11, i64 2160, !11, i64 2168, !11, i64 2176, !11, i64 2184, !11, i64 2192, !11, i64 2200, !11, i64 2208, !11, i64 2216, !11, i64 2224, !11, i64 2232, !11, i64 2240, !11, i64 2248, !7, i64 2256, !11, i64 2264, !11, i64 2272, !11, i64 2280, !11, i64 2288, !7, i64 2296, !11, i64 2304, !11, i64 2312, !7, i64 2320, !7, i64 2324, !7, i64 2328, !11, i64 2336, !11, i64 2344, !8, i64 2352}
!47 = !{!46, !11, i64 1496}
!48 = !{!18, !10, i64 2360}
!49 = !{!7, !7, i64 0}
!50 = !{!15, !12, i64 732}
!51 = !{!15, !7, i64 224}
!52 = !{!15, !7, i64 556}
!53 = !{!15, !7, i64 552}
!54 = !{!46, !11, i64 80}
!55 = distinct !{!55, !31}
!56 = !{!18, !10, i64 2392}
!57 = !{!46, !11, i64 1640}
!58 = distinct !{!58, !31, !32, !33}
!59 = distinct !{!59, !31, !33, !32}
!60 = distinct !{!60, !31}
!61 = !{!6, !7, i64 360}
!62 = distinct !{!62, !31}
!63 = !{!64, !10, i64 0}
!64 = !{!"perturb_parameters_and_workspace", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !11, i64 48, !10, i64 56}
!65 = !{!64, !10, i64 8}
!66 = !{!64, !10, i64 16}
!67 = !{!64, !10, i64 24}
!68 = !{!64, !7, i64 32}
!69 = !{!64, !7, i64 36}
!70 = !{!64, !7, i64 40}
!71 = !{!64, !11, i64 48}
!72 = !{!64, !10, i64 56}
!73 = !{!15, !12, i64 848}
!74 = !{!6, !7, i64 320}
!75 = !{!18, !7, i64 1732}
!76 = !{!18, !10, i64 2504}
!77 = distinct !{!77, !78}
!78 = !{!"llvm.loop.unroll.disable"}
!79 = distinct !{!79, !31}
!80 = !{!6, !10, i64 368}
!81 = !{!18, !10, i64 2336}
!82 = !{!18, !10, i64 2464}
!83 = distinct !{!83, !31}
!84 = distinct !{!84, !78}
!85 = distinct !{!85, !31}
!86 = distinct !{!86, !31}
!87 = !{!46, !7, i64 1736}
!88 = !{!6, !10, i64 72}
!89 = !{!90, !10, i64 208}
!90 = !{!"perturb_vector", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !10, i64 208, !10, i64 216, !10, i64 224}
!91 = !{!90, !10, i64 224}
!92 = !{!90, !7, i64 200}
!93 = !{!46, !11, i64 1624}
!94 = !{!46, !11, i64 2344}
!95 = !{!46, !11, i64 1608}
!96 = !{ptr @evolver_ndf15, ptr @evolver_rk}
!97 = distinct !{!97, !31}
!98 = distinct !{!98, !31}


; Effective O3 passes: AggressiveInstCombinePass,CalledValuePropagationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass