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

; 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.primordial_inflation_parameters_and_workspace = type { ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32 }
%struct.generic_integrator_workspace = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, [2048 x i8] }
%struct.primordial = type { 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, double, double, double, i32, double, double, double, double, double, double, double, double, double, double, double, i32, double, i32, ptr, double, double, double, double, double, double, double, double, double, double, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, 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] }

@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [43 x i8], align 1
@__func__.primordial_inflation_one_k = external hidden unnamed_addr constant [27 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [32 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
declare double @sqrt(double noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @primordial_inflation_one_k(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #4 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca %struct.primordial_inflation_parameters_and_workspace, align 8
  %27 = alloca %struct.generic_integrator_workspace, align 8
  %28 = alloca [2048 x i8], align 16
  %29 = alloca i32, align 4
  %30 = alloca [2048 x i8], align 16
  %31 = alloca [2048 x i8], align 16
  %32 = alloca [2048 x i8], align 16
  %33 = alloca [2048 x i8], align 16
  %34 = alloca [2048 x i8], align 16
  %35 = alloca [2048 x i8], align 16
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store double %2, ptr %11, align 8, !tbaa !9
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 120, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 2152, ptr %27) #5
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.primordial_inflation_parameters_and_workspace, ptr %26, i32 0, i32 0
  store ptr %36, ptr %37, align 8, !tbaa !11
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.primordial, ptr %38, i32 0, i32 100
  %40 = load i32, ptr %39, align 8, !tbaa !14
  %41 = sitofp i32 %40 to double
  %42 = getelementptr inbounds %struct.primordial_inflation_parameters_and_workspace, ptr %26, i32 0, i32 1
  store double %41, ptr %42, align 8, !tbaa !17
  %43 = getelementptr inbounds %struct.primordial_inflation_parameters_and_workspace, ptr %26, i32 0, i32 14
  store i32 1, ptr %43, align 8, !tbaa !18
  %44 = getelementptr inbounds %struct.primordial_inflation_parameters_and_workspace, ptr %26, i32 0, i32 15
  store i32 0, ptr %44, align 4, !tbaa !19
  %45 = load double, ptr %11, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct.primordial_inflation_parameters_and_workspace, ptr %26, i32 0, i32 13
  store double %45, ptr %46, align 8, !tbaa !20
  %47 = getelementptr inbounds %struct.primordial_inflation_parameters_and_workspace, ptr %26, i32 0, i32 1
  %48 = load double, ptr %47, align 8, !tbaa !17
  %49 = fptosi double %48 to i32
  %50 = call i32 @initialize_generic_integrator(i32 noundef %49, ptr noundef %27)
  %51 = icmp eq i32 %50, 1
  br i1 %51, label %52, label %60

52:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 2048, ptr %28) #5
  %53 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  %54 = getelementptr inbounds %struct.generic_integrator_workspace, ptr %27, i32 0, i32 13
  %55 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %53, ptr noundef @.str.6, ptr noundef @.str.109, ptr noundef %55)
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.primordial, ptr %56, i32 0, i32 106
  %58 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  %59 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %58, ptr noundef @.str.3, ptr noundef @__func__.primordial_inflation_one_k, i32 noundef 1808, ptr noundef %59)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %28) #5
  store i32 1, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

60:                                               ; preds = %7
  %61 = load double, ptr %11, align 8, !tbaa !9
  %62 = fmul double 2.000000e+00, %61
  %63 = call double @sqrt(double noundef %62) #5
  %64 = fdiv double 1.000000e+00, %63
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.primordial, ptr %66, i32 0, i32 91
  %68 = load i32, ptr %67, align 4, !tbaa !21
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %65, i64 %69
  store double %64, ptr %70, align 8, !tbaa !9
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.primordial, ptr %72, i32 0, i32 92
  %74 = load i32, ptr %73, align 8, !tbaa !22
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %71, i64 %75
  store double 0.000000e+00, ptr %76, align 8, !tbaa !9
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.primordial, ptr %78, i32 0, i32 93
  %80 = load i32, ptr %79, align 4, !tbaa !23
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds double, ptr %77, i64 %81
  store double 0.000000e+00, ptr %82, align 8, !tbaa !9
  %83 = load double, ptr %11, align 8, !tbaa !9
  %84 = fneg double %83
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.primordial, ptr %86, i32 0, i32 91
  %88 = load i32, ptr %87, align 4, !tbaa !21
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds double, ptr %85, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !9
  %92 = fmul double %84, %91
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.primordial, ptr %94, i32 0, i32 94
  %96 = load i32, ptr %95, align 8, !tbaa !24
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %93, i64 %97
  store double %92, ptr %98, align 8, !tbaa !9
  %99 = load double, ptr %11, align 8, !tbaa !9
  %100 = fmul double 2.000000e+00, %99
  %101 = call double @sqrt(double noundef %100) #5
  %102 = fdiv double 1.000000e+00, %101
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.primordial, ptr %104, i32 0, i32 95
  %106 = load i32, ptr %105, align 4, !tbaa !25
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds double, ptr %103, i64 %107
  store double %102, ptr %108, align 8, !tbaa !9
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.primordial, ptr %110, i32 0, i32 96
  %112 = load i32, ptr %111, align 8, !tbaa !26
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %109, i64 %113
  store double 0.000000e+00, ptr %114, align 8, !tbaa !9
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.primordial, ptr %116, i32 0, i32 97
  %118 = load i32, ptr %117, align 4, !tbaa !27
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds double, ptr %115, i64 %119
  store double 0.000000e+00, ptr %120, align 8, !tbaa !9
  %121 = load double, ptr %11, align 8, !tbaa !9
  %122 = fneg double %121
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.primordial, ptr %124, i32 0, i32 95
  %126 = load i32, ptr %125, align 4, !tbaa !25
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds double, ptr %123, i64 %127
  %129 = load double, ptr %128, align 8, !tbaa !9
  %130 = fmul double %122, %129
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.primordial, ptr %132, i32 0, i32 98
  %134 = load i32, ptr %133, align 8, !tbaa !28
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds double, ptr %131, i64 %135
  store double %130, ptr %136, align 8, !tbaa !9
  store double 0x547D42AEA2879F2E, ptr %24, align 8, !tbaa !9
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  %137 = load double, ptr %17, align 8, !tbaa !9
  %138 = load ptr, ptr %12, align 8, !tbaa !5
  %139 = load ptr, ptr %13, align 8, !tbaa !5
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.primordial, ptr %140, i32 0, i32 106
  %142 = getelementptr inbounds [2048 x i8], ptr %141, i64 0, i64 0
  %143 = call i32 @primordial_inflation_derivs(double noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef %26, ptr noundef %142)
  %144 = icmp eq i32 %143, 1
  br i1 %144, label %145, label %154

145:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 2048, ptr %30) #5
  %146 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.primordial, ptr %147, i32 0, i32 106
  %149 = getelementptr inbounds [2048 x i8], ptr %148, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %146, ptr noundef @.str.6, ptr noundef @.str.110, ptr noundef %149)
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.primordial, ptr %150, i32 0, i32 106
  %152 = getelementptr inbounds [2048 x i8], ptr %151, i64 0, i64 0
  %153 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %152, ptr noundef @.str.3, ptr noundef @__func__.primordial_inflation_one_k, i32 noundef 1836, ptr noundef %153)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %30) #5
  store i32 1, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

154:                                              ; preds = %60
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.precision, ptr %155, i32 0, i32 103
  %157 = load double, ptr %156, align 8, !tbaa !29
  %158 = fmul double %157, 2.000000e+00
  %159 = fmul double %158, 0x400921FB54442D18
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.primordial, ptr %161, i32 0, i32 93
  %163 = load i32, ptr %162, align 4, !tbaa !23
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds double, ptr %160, i64 %164
  %166 = load double, ptr %165, align 8, !tbaa !9
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.primordial, ptr %168, i32 0, i32 91
  %170 = load i32, ptr %169, align 4, !tbaa !21
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds double, ptr %167, i64 %171
  %173 = load double, ptr %172, align 8, !tbaa !9
  %174 = fdiv double %166, %173
  %175 = call double @llvm.fabs.f64(double %174)
  %176 = call double @sqrt(double noundef %175) #5
  %177 = load double, ptr %11, align 8, !tbaa !9
  %178 = fcmp olt double %176, %177
  br i1 %178, label %179, label %181

179:                                              ; preds = %154
  %180 = load double, ptr %11, align 8, !tbaa !9
  br label %199

181:                                              ; preds = %154
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.primordial, ptr %183, i32 0, i32 93
  %185 = load i32, ptr %184, align 4, !tbaa !23
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %182, i64 %186
  %188 = load double, ptr %187, align 8, !tbaa !9
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.primordial, ptr %190, i32 0, i32 91
  %192 = load i32, ptr %191, align 4, !tbaa !21
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds double, ptr %189, i64 %193
  %195 = load double, ptr %194, align 8, !tbaa !9
  %196 = fdiv double %188, %195
  %197 = call double @llvm.fabs.f64(double %196)
  %198 = call double @sqrt(double noundef %197) #5
  br label %199

199:                                              ; preds = %181, %179
  %200 = phi double [ %180, %179 ], [ %198, %181 ]
  %201 = fdiv double %159, %200
  store double %201, ptr %18, align 8, !tbaa !9
  br label %202

202:                                              ; preds = %426, %199
  %203 = load double, ptr %17, align 8, !tbaa !9
  store double %203, ptr %16, align 8, !tbaa !9
  %204 = load double, ptr %16, align 8, !tbaa !9
  %205 = load double, ptr %18, align 8, !tbaa !9
  %206 = fadd double %204, %205
  store double %206, ptr %17, align 8, !tbaa !9
  %207 = load double, ptr %18, align 8, !tbaa !9
  %208 = load double, ptr %16, align 8, !tbaa !9
  %209 = fdiv double %207, %208
  %210 = load ptr, ptr %10, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.precision, ptr %210, i32 0, i32 175
  %212 = load double, ptr %211, align 8, !tbaa !31
  %213 = fcmp olt double %209, %212
  br i1 %213, label %214, label %225

214:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #5
  %215 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %216 = load double, ptr %18, align 8, !tbaa !9
  %217 = load double, ptr %16, align 8, !tbaa !9
  %218 = fdiv double %216, %217
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %215, ptr noundef @.str.111, double noundef %218)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #5
  %219 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  %220 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %219, ptr noundef @.str.1, ptr noundef @.str.112, ptr noundef %220)
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.primordial, ptr %221, i32 0, i32 106
  %223 = getelementptr inbounds [2048 x i8], ptr %222, i64 0, i64 0
  %224 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %223, ptr noundef @.str.3, ptr noundef @__func__.primordial_inflation_one_k, i32 noundef 1851, ptr noundef %224)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #5
  store i32 1, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

225:                                              ; preds = %202
  %226 = load double, ptr %16, align 8, !tbaa !9
  %227 = load double, ptr %17, align 8, !tbaa !9
  %228 = load ptr, ptr %12, align 8, !tbaa !5
  %229 = load ptr, ptr %10, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.precision, ptr %229, i32 0, i32 105
  %231 = load double, ptr %230, align 8, !tbaa !32
  %232 = load ptr, ptr %10, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.precision, ptr %232, i32 0, i32 175
  %234 = load double, ptr %233, align 8, !tbaa !31
  %235 = call i32 @generic_integrator(ptr noundef @primordial_inflation_derivs, double noundef %226, double noundef %227, ptr noundef %228, ptr noundef %26, double noundef %231, double noundef %234, ptr noundef %27)
  %236 = icmp eq i32 %235, 1
  br i1 %236, label %237, label %245

237:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #5
  %238 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %239 = getelementptr inbounds %struct.generic_integrator_workspace, ptr %27, i32 0, i32 13
  %240 = getelementptr inbounds [2048 x i8], ptr %239, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %238, ptr noundef @.str.6, ptr noundef @.str.113, ptr noundef %240)
  %241 = load ptr, ptr %9, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.primordial, ptr %241, i32 0, i32 106
  %243 = getelementptr inbounds [2048 x i8], ptr %242, i64 0, i64 0
  %244 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %243, ptr noundef @.str.3, ptr noundef @__func__.primordial_inflation_one_k, i32 noundef 1863, ptr noundef %244)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #5
  store i32 1, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

245:                                              ; preds = %225
  %246 = load double, ptr %17, align 8, !tbaa !9
  %247 = load ptr, ptr %12, align 8, !tbaa !5
  %248 = load ptr, ptr %13, align 8, !tbaa !5
  %249 = load ptr, ptr %9, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.primordial, ptr %249, i32 0, i32 106
  %251 = getelementptr inbounds [2048 x i8], ptr %250, i64 0, i64 0
  %252 = call i32 @primordial_inflation_derivs(double noundef %246, ptr noundef %247, ptr noundef %248, ptr noundef %26, ptr noundef %251)
  %253 = icmp eq i32 %252, 1
  br i1 %253, label %254, label %263

254:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 2048, ptr %34) #5
  %255 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.primordial, ptr %256, i32 0, i32 106
  %258 = getelementptr inbounds [2048 x i8], ptr %257, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %255, ptr noundef @.str.6, ptr noundef @.str.110, ptr noundef %258)
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.primordial, ptr %259, i32 0, i32 106
  %261 = getelementptr inbounds [2048 x i8], ptr %260, i64 0, i64 0
  %262 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %261, ptr noundef @.str.3, ptr noundef @__func__.primordial_inflation_one_k, i32 noundef 1872, ptr noundef %262)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %34) #5
  store i32 1, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

263:                                              ; preds = %245
  %264 = load ptr, ptr %10, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.precision, ptr %264, i32 0, i32 103
  %266 = load double, ptr %265, align 8, !tbaa !29
  %267 = fmul double %266, 2.000000e+00
  %268 = fmul double %267, 0x400921FB54442D18
  %269 = load ptr, ptr %13, align 8, !tbaa !5
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.primordial, ptr %270, i32 0, i32 93
  %272 = load i32, ptr %271, align 4, !tbaa !23
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds double, ptr %269, i64 %273
  %275 = load double, ptr %274, align 8, !tbaa !9
  %276 = load ptr, ptr %12, align 8, !tbaa !5
  %277 = load ptr, ptr %9, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.primordial, ptr %277, i32 0, i32 91
  %279 = load i32, ptr %278, align 4, !tbaa !21
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds double, ptr %276, i64 %280
  %282 = load double, ptr %281, align 8, !tbaa !9
  %283 = fdiv double %275, %282
  %284 = call double @llvm.fabs.f64(double %283)
  %285 = call double @sqrt(double noundef %284) #5
  %286 = load double, ptr %11, align 8, !tbaa !9
  %287 = fcmp olt double %285, %286
  br i1 %287, label %288, label %290

288:                                              ; preds = %263
  %289 = load double, ptr %11, align 8, !tbaa !9
  br label %308

290:                                              ; preds = %263
  %291 = load ptr, ptr %13, align 8, !tbaa !5
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.primordial, ptr %292, i32 0, i32 93
  %294 = load i32, ptr %293, align 4, !tbaa !23
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds double, ptr %291, i64 %295
  %297 = load double, ptr %296, align 8, !tbaa !9
  %298 = load ptr, ptr %12, align 8, !tbaa !5
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.primordial, ptr %299, i32 0, i32 91
  %301 = load i32, ptr %300, align 4, !tbaa !21
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %298, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !9
  %305 = fdiv double %297, %304
  %306 = call double @llvm.fabs.f64(double %305)
  %307 = call double @sqrt(double noundef %306) #5
  br label %308

308:                                              ; preds = %290, %288
  %309 = phi double [ %289, %288 ], [ %307, %290 ]
  %310 = fdiv double %268, %309
  store double %310, ptr %18, align 8, !tbaa !9
  %311 = load ptr, ptr %13, align 8, !tbaa !5
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.primordial, ptr %312, i32 0, i32 88
  %314 = load i32, ptr %313, align 8, !tbaa !33
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds double, ptr %311, i64 %315
  %317 = load double, ptr %316, align 8, !tbaa !9
  %318 = load ptr, ptr %12, align 8, !tbaa !5
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.primordial, ptr %319, i32 0, i32 88
  %321 = load i32, ptr %320, align 8, !tbaa !33
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds double, ptr %318, i64 %322
  %324 = load double, ptr %323, align 8, !tbaa !9
  %325 = fdiv double %317, %324
  store double %325, ptr %22, align 8, !tbaa !9
  %326 = load double, ptr %24, align 8, !tbaa !9
  store double %326, ptr %23, align 8, !tbaa !9
  %327 = load ptr, ptr %12, align 8, !tbaa !5
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.primordial, ptr %328, i32 0, i32 88
  %330 = load i32, ptr %329, align 8, !tbaa !33
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds double, ptr %327, i64 %331
  %333 = load double, ptr %332, align 8, !tbaa !9
  %334 = load ptr, ptr %13, align 8, !tbaa !5
  %335 = load ptr, ptr %9, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.primordial, ptr %335, i32 0, i32 89
  %337 = load i32, ptr %336, align 4, !tbaa !34
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds double, ptr %334, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !9
  %341 = fmul double %333, %340
  %342 = load double, ptr %22, align 8, !tbaa !9
  %343 = fdiv double %341, %342
  store double %343, ptr %19, align 8, !tbaa !9
  %344 = load ptr, ptr %12, align 8, !tbaa !5
  %345 = load ptr, ptr %9, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.primordial, ptr %345, i32 0, i32 91
  %347 = load i32, ptr %346, align 4, !tbaa !21
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds double, ptr %344, i64 %348
  %350 = load double, ptr %349, align 8, !tbaa !9
  %351 = load ptr, ptr %12, align 8, !tbaa !5
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.primordial, ptr %352, i32 0, i32 91
  %354 = load i32, ptr %353, align 4, !tbaa !21
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds double, ptr %351, i64 %355
  %357 = load double, ptr %356, align 8, !tbaa !9
  %358 = load ptr, ptr %12, align 8, !tbaa !5
  %359 = load ptr, ptr %9, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.primordial, ptr %359, i32 0, i32 92
  %361 = load i32, ptr %360, align 8, !tbaa !22
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds double, ptr %358, i64 %362
  %364 = load double, ptr %363, align 8, !tbaa !9
  %365 = load ptr, ptr %12, align 8, !tbaa !5
  %366 = load ptr, ptr %9, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.primordial, ptr %366, i32 0, i32 92
  %368 = load i32, ptr %367, align 8, !tbaa !22
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds double, ptr %365, i64 %369
  %371 = load double, ptr %370, align 8, !tbaa !9
  %372 = fmul double %364, %371
  %373 = call double @llvm.fmuladd.f64(double %350, double %357, double %372)
  store double %373, ptr %20, align 8, !tbaa !9
  %374 = load double, ptr %11, align 8, !tbaa !9
  %375 = load double, ptr %11, align 8, !tbaa !9
  %376 = fmul double %374, %375
  %377 = load double, ptr %11, align 8, !tbaa !9
  %378 = fmul double %376, %377
  %379 = fdiv double %378, 2.000000e+00
  %380 = fdiv double %379, 0x400921FB54442D18
  %381 = fdiv double %380, 0x400921FB54442D18
  %382 = load double, ptr %20, align 8, !tbaa !9
  %383 = fmul double %381, %382
  %384 = load double, ptr %19, align 8, !tbaa !9
  %385 = fdiv double %383, %384
  %386 = load double, ptr %19, align 8, !tbaa !9
  %387 = fdiv double %385, %386
  store double %387, ptr %24, align 8, !tbaa !9
  %388 = load double, ptr %24, align 8, !tbaa !9
  %389 = load double, ptr %23, align 8, !tbaa !9
  %390 = fsub double %388, %389
  %391 = load double, ptr %18, align 8, !tbaa !9
  %392 = fdiv double %390, %391
  %393 = load ptr, ptr %12, align 8, !tbaa !5
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.primordial, ptr %394, i32 0, i32 88
  %396 = load i32, ptr %395, align 8, !tbaa !33
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds double, ptr %393, i64 %397
  %399 = load double, ptr %398, align 8, !tbaa !9
  %400 = fmul double %392, %399
  %401 = load ptr, ptr %13, align 8, !tbaa !5
  %402 = load ptr, ptr %9, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.primordial, ptr %402, i32 0, i32 88
  %404 = load i32, ptr %403, align 8, !tbaa !33
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds double, ptr %401, i64 %405
  %407 = load double, ptr %406, align 8, !tbaa !9
  %408 = fdiv double %400, %407
  %409 = load double, ptr %24, align 8, !tbaa !9
  %410 = fdiv double %408, %409
  store double %410, ptr %25, align 8, !tbaa !9
  br label %411

411:                                              ; preds = %308
  %412 = load double, ptr %11, align 8, !tbaa !9
  %413 = load double, ptr %22, align 8, !tbaa !9
  %414 = fdiv double %412, %413
  %415 = load ptr, ptr %10, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.precision, ptr %415, i32 0, i32 101
  %417 = load double, ptr %416, align 8, !tbaa !35
  %418 = fcmp oge double %414, %417
  br i1 %418, label %426, label %419

419:                                              ; preds = %411
  %420 = load double, ptr %25, align 8, !tbaa !9
  %421 = call double @llvm.fabs.f64(double %420)
  %422 = load ptr, ptr %10, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.precision, ptr %422, i32 0, i32 109
  %424 = load double, ptr %423, align 8, !tbaa !36
  %425 = fcmp ogt double %421, %424
  br label %426

426:                                              ; preds = %419, %411
  %427 = phi i1 [ true, %411 ], [ %425, %419 ]
  br i1 %427, label %202, label %428, !llvm.loop !37

428:                                              ; preds = %426
  %429 = call i32 @cleanup_generic_integrator(ptr noundef %27)
  %430 = icmp eq i32 %429, 1
  br i1 %430, label %431, label %439

431:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 2048, ptr %35) #5
  %432 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  %433 = getelementptr inbounds %struct.generic_integrator_workspace, ptr %27, i32 0, i32 13
  %434 = getelementptr inbounds [2048 x i8], ptr %433, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %432, ptr noundef @.str.6, ptr noundef @.str.114, ptr noundef %434)
  %435 = load ptr, ptr %9, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.primordial, ptr %435, i32 0, i32 106
  %437 = getelementptr inbounds [2048 x i8], ptr %436, i64 0, i64 0
  %438 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %437, ptr noundef @.str.3, ptr noundef @__func__.primordial_inflation_one_k, i32 noundef 1898, ptr noundef %438)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %35) #5
  store i32 1, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

439:                                              ; preds = %428
  %440 = load double, ptr %24, align 8, !tbaa !9
  %441 = load ptr, ptr %14, align 8, !tbaa !5
  store double %440, ptr %441, align 8, !tbaa !9
  %442 = load ptr, ptr %12, align 8, !tbaa !5
  %443 = load ptr, ptr %9, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.primordial, ptr %443, i32 0, i32 95
  %445 = load i32, ptr %444, align 4, !tbaa !25
  %446 = sext i32 %445 to i64
  %447 = getelementptr inbounds double, ptr %442, i64 %446
  %448 = load double, ptr %447, align 8, !tbaa !9
  %449 = load ptr, ptr %12, align 8, !tbaa !5
  %450 = load ptr, ptr %9, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.primordial, ptr %450, i32 0, i32 95
  %452 = load i32, ptr %451, align 4, !tbaa !25
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds double, ptr %449, i64 %453
  %455 = load double, ptr %454, align 8, !tbaa !9
  %456 = load ptr, ptr %12, align 8, !tbaa !5
  %457 = load ptr, ptr %9, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.primordial, ptr %457, i32 0, i32 96
  %459 = load i32, ptr %458, align 8, !tbaa !26
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds double, ptr %456, i64 %460
  %462 = load double, ptr %461, align 8, !tbaa !9
  %463 = load ptr, ptr %12, align 8, !tbaa !5
  %464 = load ptr, ptr %9, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.primordial, ptr %464, i32 0, i32 96
  %466 = load i32, ptr %465, align 8, !tbaa !26
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds double, ptr %463, i64 %467
  %469 = load double, ptr %468, align 8, !tbaa !9
  %470 = fmul double %462, %469
  %471 = call double @llvm.fmuladd.f64(double %448, double %455, double %470)
  store double %471, ptr %21, align 8, !tbaa !9
  %472 = load double, ptr %11, align 8, !tbaa !9
  %473 = fmul double 3.200000e+01, %472
  %474 = load double, ptr %11, align 8, !tbaa !9
  %475 = fmul double %473, %474
  %476 = load double, ptr %11, align 8, !tbaa !9
  %477 = fmul double %475, %476
  %478 = fdiv double %477, 0x400921FB54442D18
  %479 = load double, ptr %21, align 8, !tbaa !9
  %480 = fmul double %478, %479
  %481 = load ptr, ptr %12, align 8, !tbaa !5
  %482 = load ptr, ptr %9, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.primordial, ptr %482, i32 0, i32 88
  %484 = load i32, ptr %483, align 8, !tbaa !33
  %485 = sext i32 %484 to i64
  %486 = getelementptr inbounds double, ptr %481, i64 %485
  %487 = load double, ptr %486, align 8, !tbaa !9
  %488 = fdiv double %480, %487
  %489 = load ptr, ptr %12, align 8, !tbaa !5
  %490 = load ptr, ptr %9, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.primordial, ptr %490, i32 0, i32 88
  %492 = load i32, ptr %491, align 8, !tbaa !33
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds double, ptr %489, i64 %493
  %495 = load double, ptr %494, align 8, !tbaa !9
  %496 = fdiv double %488, %495
  %497 = load ptr, ptr %15, align 8, !tbaa !5
  store double %496, ptr %497, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %498

498:                                              ; preds = %439, %431, %254, %237, %214, %145, %52
  call void @llvm.lifetime.end.p0(i64 2152, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %499 = load i32, ptr %8, align 4
  ret i32 %499
}

declare i32 @initialize_generic_integrator(i32 noundef, ptr noundef) #1

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

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

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

declare i32 @cleanup_generic_integrator(ptr noundef) #1

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 "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"primordial_inflation_parameters_and_workspace", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !13, i64 112, !13, i64 116}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 752}
!15 = !{!"primordial", !10, i64 0, !13, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !13, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !13, i64 504, !10, i64 512, !13, i64 520, !6, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !10, i64 560, !10, i64 568, !10, i64 576, !10, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !13, i64 616, !6, i64 624, !6, i64 632, !13, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !13, i64 704, !13, i64 708, !13, i64 712, !13, i64 716, !13, i64 720, !13, i64 724, !13, i64 728, !13, i64 732, !13, i64 736, !13, i64 740, !13, i64 744, !13, i64 748, !13, i64 752, !10, i64 760, !10, i64 768, !10, i64 776, !10, i64 784, !16, i64 792, !7, i64 794}
!16 = !{!"short", !7, i64 0}
!17 = !{!12, !10, i64 8}
!18 = !{!12, !13, i64 112}
!19 = !{!12, !13, i64 116}
!20 = !{!12, !10, i64 104}
!21 = !{!15, !13, i64 716}
!22 = !{!15, !13, i64 720}
!23 = !{!15, !13, i64 724}
!24 = !{!15, !13, i64 728}
!25 = !{!15, !13, i64 732}
!26 = !{!15, !13, i64 736}
!27 = !{!15, !13, i64 740}
!28 = !{!15, !13, i64 744}
!29 = !{!30, !10, i64 1776}
!30 = !{!"precision", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !7, i64 104, !10, i64 360, !13, i64 368, !10, i64 376, !13, i64 384, !13, i64 388, !10, i64 392, !13, i64 400, !10, i64 408, !13, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !10, i64 560, !10, i64 568, !10, i64 576, !10, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !10, i64 616, !13, i64 624, !7, i64 628, !7, i64 884, !7, i64 1140, !10, i64 1400, !10, i64 1408, !10, i64 1416, !10, i64 1424, !10, i64 1432, !10, i64 1440, !10, i64 1448, !10, i64 1456, !10, i64 1464, !10, i64 1472, !10, i64 1480, !10, i64 1488, !10, i64 1496, !10, i64 1504, !10, i64 1512, !10, i64 1520, !13, i64 1528, !10, i64 1536, !10, i64 1544, !13, i64 1552, !13, i64 1556, !13, i64 1560, !13, i64 1564, !13, i64 1568, !13, i64 1572, !13, i64 1576, !13, i64 1580, !10, i64 1584, !10, i64 1592, !10, i64 1600, !10, i64 1608, !10, i64 1616, !10, i64 1624, !10, i64 1632, !10, i64 1640, !13, i64 1648, !10, i64 1656, !10, i64 1664, !13, i64 1672, !10, i64 1680, !10, i64 1688, !13, i64 1696, !10, i64 1704, !13, i64 1712, !10, i64 1720, !10, i64 1728, !13, i64 1736, !10, i64 1744, !10, i64 1752, !10, i64 1760, !13, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !13, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !10, i64 1864, !10, i64 1872, !13, i64 1880, !10, i64 1888, !10, i64 1896, !10, i64 1904, !10, i64 1912, !10, i64 1920, !10, i64 1928, !10, i64 1936, !10, i64 1944, !10, i64 1952, !10, i64 1960, !10, i64 1968, !10, i64 1976, !10, i64 1984, !10, i64 1992, !10, i64 2000, !10, i64 2008, !10, i64 2016, !10, i64 2024, !10, i64 2032, !10, i64 2040, !10, i64 2048, !10, i64 2056, !10, i64 2064, !10, i64 2072, !10, i64 2080, !10, i64 2088, !10, i64 2096, !10, i64 2104, !10, i64 2112, !10, i64 2120, !10, i64 2128, !10, i64 2136, !10, i64 2144, !10, i64 2152, !10, i64 2160, !10, i64 2168, !10, i64 2176, !10, i64 2184, !10, i64 2192, !10, i64 2200, !10, i64 2208, !10, i64 2216, !10, i64 2224, !10, i64 2232, !10, i64 2240, !10, i64 2248, !13, i64 2256, !10, i64 2264, !10, i64 2272, !10, i64 2280, !10, i64 2288, !13, i64 2296, !10, i64 2304, !10, i64 2312, !13, i64 2320, !13, i64 2324, !13, i64 2328, !10, i64 2336, !10, i64 2344, !7, i64 2352}
!31 = !{!30, !10, i64 2344}
!32 = !{!30, !10, i64 1792}
!33 = !{!15, !13, i64 704}
!34 = !{!15, !13, i64 708}
!35 = !{!30, !10, i64 1760}
!36 = !{!30, !10, i64 1824}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}


; 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.primordial_inflation_parameters_and_workspace = type { ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32 }
%struct.generic_integrator_workspace = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, [2048 x i8] }

@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [43 x i8], align 1
@__func__.primordial_inflation_one_k = external hidden unnamed_addr constant [27 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [32 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 memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @primordial_inflation_one_k(ptr noundef %0, ptr nocapture noundef readonly %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #4 {
  %8 = alloca %struct.primordial_inflation_parameters_and_workspace, align 8
  %9 = alloca %struct.generic_integrator_workspace, align 8
  %10 = alloca [2048 x i8], align 16
  %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
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 2152, ptr nonnull %9) #6
  store ptr %0, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 752
  %18 = load i32, ptr %17, align 8, !tbaa !12
  %19 = sitofp i32 %18 to double
  %20 = getelementptr inbounds i8, ptr %8, i64 8
  store double %19, ptr %20, align 8, !tbaa !15
  %21 = getelementptr inbounds i8, ptr %8, i64 112
  store i32 1, ptr %21, align 8, !tbaa !16
  %22 = getelementptr inbounds i8, ptr %8, i64 116
  store i32 0, ptr %22, align 4, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %8, i64 104
  store double %2, ptr %23, align 8, !tbaa !18
  %24 = call i32 @initialize_generic_integrator(i32 noundef %18, ptr noundef nonnull %9) #6
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %26, label %29

26:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #6
  %27 = getelementptr inbounds i8, ptr %9, i64 104
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.109, ptr noundef nonnull %27) #6
  %28 = getelementptr inbounds i8, ptr %0, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_inflation_one_k, i32 noundef 1808, ptr noundef nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #6
  br label %203

29:                                               ; preds = %7
  %30 = fmul double %2, 2.000000e+00
  %31 = call double @sqrt(double noundef %30) #6
  %32 = fdiv double 1.000000e+00, %31
  %33 = getelementptr inbounds i8, ptr %0, i64 716
  %34 = load i32, ptr %33, align 4, !tbaa !19
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds double, ptr %3, i64 %35
  store double %32, ptr %36, align 8, !tbaa !20
  %37 = getelementptr inbounds i8, ptr %0, i64 720
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds double, ptr %3, i64 %39
  store double 0.000000e+00, ptr %40, align 8, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %0, i64 724
  %42 = load i32, ptr %41, align 4, !tbaa !22
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds double, ptr %3, i64 %43
  store double 0.000000e+00, ptr %44, align 8, !tbaa !20
  %45 = fneg double %2
  %46 = load double, ptr %36, align 8, !tbaa !20
  %47 = fmul double %46, %45
  %48 = getelementptr inbounds i8, ptr %0, i64 728
  %49 = load i32, ptr %48, align 8, !tbaa !23
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds double, ptr %3, i64 %50
  store double %47, ptr %51, align 8, !tbaa !20
  %52 = call double @sqrt(double noundef %30) #6
  %53 = fdiv double 1.000000e+00, %52
  %54 = getelementptr inbounds i8, ptr %0, i64 732
  %55 = load i32, ptr %54, align 4, !tbaa !24
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds double, ptr %3, i64 %56
  store double %53, ptr %57, align 8, !tbaa !20
  %58 = getelementptr inbounds i8, ptr %0, i64 736
  %59 = load i32, ptr %58, align 8, !tbaa !25
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %3, i64 %60
  store double 0.000000e+00, ptr %61, align 8, !tbaa !20
  %62 = getelementptr inbounds i8, ptr %0, i64 740
  %63 = load i32, ptr %62, align 4, !tbaa !26
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds double, ptr %3, i64 %64
  store double 0.000000e+00, ptr %65, align 8, !tbaa !20
  %66 = load double, ptr %57, align 8, !tbaa !20
  %67 = fmul double %66, %45
  %68 = getelementptr inbounds i8, ptr %0, i64 744
  %69 = load i32, ptr %68, align 8, !tbaa !27
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds double, ptr %3, i64 %70
  store double %67, ptr %71, align 8, !tbaa !20
  %72 = getelementptr inbounds i8, ptr %0, i64 794
  %73 = call i32 @primordial_inflation_derivs(double noundef 0.000000e+00, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %8, ptr noundef nonnull %72)
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %76

75:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.110, ptr noundef nonnull %72) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_inflation_one_k, i32 noundef 1836, ptr noundef nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #6
  br label %203

76:                                               ; preds = %29
  %77 = getelementptr inbounds i8, ptr %1, i64 1776
  %78 = load double, ptr %77, align 8, !tbaa !28
  %79 = fmul double %78, 2.000000e+00
  %80 = fmul double %79, 0x400921FB54442D18
  %81 = load i32, ptr %41, align 4, !tbaa !22
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %4, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !20
  %85 = load i32, ptr %33, align 4, !tbaa !19
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %3, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !20
  %89 = fdiv double %84, %88
  %90 = call double @llvm.fabs.f64(double %89)
  %sqrt = call double @llvm.sqrt.f64(double %90)
  %91 = fcmp olt double %sqrt, %2
  %92 = select i1 %91, double %2, double %sqrt
  %93 = fdiv double %80, %92
  %94 = getelementptr inbounds i8, ptr %1, i64 2344
  %95 = fdiv double %93, 0.000000e+00
  %96 = load double, ptr %94, align 8, !tbaa !30
  %97 = fcmp olt double %95, %96
  br i1 %97, label %.critedge._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %76
  %98 = fadd double %93, 0.000000e+00
  %99 = getelementptr inbounds i8, ptr %1, i64 1792
  %100 = getelementptr inbounds i8, ptr %0, i64 704
  %101 = getelementptr inbounds i8, ptr %0, i64 708
  %102 = fmul double %2, %2
  %103 = fmul double %102, %2
  %104 = fmul double %103, 5.000000e-01
  %105 = fdiv double %104, 0x400921FB54442D18
  %106 = fdiv double %105, 0x400921FB54442D18
  %107 = getelementptr inbounds i8, ptr %1, i64 1760
  %108 = getelementptr inbounds i8, ptr %1, i64 1824
  br label %109

.critedge._crit_edge:                             ; preds = %.critedge.backedge, %76
  %.lcssa = phi double [ %95, %76 ], [ %173, %.critedge.backedge ]
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str.111, double noundef %.lcssa) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.112, ptr noundef nonnull %12) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_inflation_one_k, i32 noundef 1851, ptr noundef nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #6
  br label %203

109:                                              ; preds = %.lr.ph, %.critedge.backedge
  %110 = phi double [ %96, %.lr.ph ], [ %174, %.critedge.backedge ]
  %111 = phi double [ %98, %.lr.ph ], [ %172, %.critedge.backedge ]
  %.0134149 = phi double [ 0x547D42AEA2879F2E, %.lr.ph ], [ %159, %.critedge.backedge ]
  %.0135148 = phi double [ 0.000000e+00, %.lr.ph ], [ %111, %.critedge.backedge ]
  %112 = load double, ptr %99, align 8, !tbaa !31
  %113 = call i32 @generic_integrator(ptr noundef nonnull @primordial_inflation_derivs, double noundef %.0135148, double noundef %111, ptr noundef nonnull %3, ptr noundef nonnull %8, double noundef %112, double noundef %110, ptr noundef nonnull %9) #6
  %114 = icmp eq i32 %113, 1
  br i1 %114, label %115, label %117

115:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #6
  %116 = getelementptr inbounds i8, ptr %9, i64 104
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.113, ptr noundef nonnull %116) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_inflation_one_k, i32 noundef 1863, ptr noundef nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #6
  br label %203

117:                                              ; preds = %109
  %118 = call i32 @primordial_inflation_derivs(double noundef %111, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %8, ptr noundef nonnull %72)
  %119 = icmp eq i32 %118, 1
  br i1 %119, label %120, label %121

120:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.110, ptr noundef nonnull %72) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_inflation_one_k, i32 noundef 1872, ptr noundef nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #6
  br label %203

121:                                              ; preds = %117
  %122 = load double, ptr %77, align 8, !tbaa !28
  %123 = fmul double %122, 2.000000e+00
  %124 = fmul double %123, 0x400921FB54442D18
  %125 = load i32, ptr %41, align 4, !tbaa !22
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds double, ptr %4, i64 %126
  %128 = load double, ptr %127, align 8, !tbaa !20
  %129 = load i32, ptr %33, align 4, !tbaa !19
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds double, ptr %3, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !20
  %133 = fdiv double %128, %132
  %134 = call double @llvm.fabs.f64(double %133)
  %sqrt141 = call double @llvm.sqrt.f64(double %134)
  %135 = fcmp olt double %sqrt141, %2
  %136 = select i1 %135, double %2, double %sqrt141
  %137 = fdiv double %124, %136
  %138 = load i32, ptr %100, align 8, !tbaa !32
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds double, ptr %4, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !20
  %142 = getelementptr inbounds double, ptr %3, i64 %139
  %143 = load double, ptr %142, align 8, !tbaa !20
  %144 = fdiv double %141, %143
  %145 = load i32, ptr %101, align 4, !tbaa !33
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds double, ptr %4, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !20
  %149 = fmul double %143, %148
  %150 = fdiv double %149, %144
  %151 = load i32, ptr %37, align 8, !tbaa !21
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds double, ptr %3, i64 %152
  %154 = load double, ptr %153, align 8, !tbaa !20
  %155 = fmul double %154, %154
  %156 = call double @llvm.fmuladd.f64(double %132, double %132, double %155)
  %157 = fmul double %106, %156
  %158 = fdiv double %157, %150
  %159 = fdiv double %158, %150
  %160 = fdiv double %2, %144
  %161 = load double, ptr %107, align 8, !tbaa !34
  %162 = fcmp ult double %160, %161
  br i1 %162, label %163, label %.critedge.backedge

163:                                              ; preds = %121
  %164 = fsub double %159, %.0134149
  %165 = fdiv double %164, %137
  %166 = fmul double %143, %165
  %167 = fdiv double %166, %141
  %168 = fdiv double %167, %159
  %169 = call double @llvm.fabs.f64(double %168)
  %170 = load double, ptr %108, align 8, !tbaa !35
  %171 = fcmp ogt double %169, %170
  br i1 %171, label %.critedge.backedge, label %176

.critedge.backedge:                               ; preds = %163, %121
  %172 = fadd double %137, %111
  %173 = fdiv double %137, %111
  %174 = load double, ptr %94, align 8, !tbaa !30
  %175 = fcmp olt double %173, %174
  br i1 %175, label %.critedge._crit_edge, label %109, !llvm.loop !36

176:                                              ; preds = %163
  %177 = call i32 @cleanup_generic_integrator(ptr noundef nonnull %9) #6
  %178 = icmp eq i32 %177, 1
  br i1 %178, label %179, label %181

179:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #6
  %180 = getelementptr inbounds i8, ptr %9, i64 104
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.114, ptr noundef nonnull %180) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_inflation_one_k, i32 noundef 1898, ptr noundef nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #6
  br label %203

181:                                              ; preds = %176
  store double %159, ptr %5, align 8, !tbaa !20
  %182 = load i32, ptr %54, align 4, !tbaa !24
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds double, ptr %3, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !20
  %186 = load i32, ptr %58, align 8, !tbaa !25
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds double, ptr %3, i64 %187
  %189 = load double, ptr %188, align 8, !tbaa !20
  %190 = fmul double %189, %189
  %191 = call double @llvm.fmuladd.f64(double %185, double %185, double %190)
  %192 = fmul double %2, 3.200000e+01
  %193 = fmul double %192, %2
  %194 = fmul double %193, %2
  %195 = fdiv double %194, 0x400921FB54442D18
  %196 = fmul double %195, %191
  %197 = load i32, ptr %100, align 8, !tbaa !32
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds double, ptr %3, i64 %198
  %200 = load double, ptr %199, align 8, !tbaa !20
  %201 = fdiv double %196, %200
  %202 = fdiv double %201, %200
  store double %202, ptr %6, align 8, !tbaa !20
  br label %203

203:                                              ; preds = %181, %179, %120, %115, %.critedge._crit_edge, %75, %26
  %.0 = phi i32 [ 1, %26 ], [ 1, %75 ], [ 1, %.critedge._crit_edge ], [ 1, %115 ], [ 1, %120 ], [ 1, %179 ], [ 0, %181 ]
  call void @llvm.lifetime.end.p0(i64 2152, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %8) #6
  ret i32 %.0
}

declare i32 @initialize_generic_integrator(i32 noundef, ptr noundef) local_unnamed_addr #1

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

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

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

declare i32 @cleanup_generic_integrator(ptr noundef) local_unnamed_addr #1

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

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 memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 }

!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 0}
!6 = !{!"primordial_inflation_parameters_and_workspace", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !11, i64 112, !11, i64 116}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 752}
!13 = !{!"primordial", !10, i64 0, !11, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !11, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !11, i64 504, !10, i64 512, !11, i64 520, !7, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !10, i64 560, !10, i64 568, !10, i64 576, !10, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !11, i64 616, !7, i64 624, !7, i64 632, !11, i64 640, !7, i64 648, !7, i64 656, !7, i64 664, !7, i64 672, !7, i64 680, !7, i64 688, !7, i64 696, !11, i64 704, !11, i64 708, !11, i64 712, !11, i64 716, !11, i64 720, !11, i64 724, !11, i64 728, !11, i64 732, !11, i64 736, !11, i64 740, !11, i64 744, !11, i64 748, !11, i64 752, !10, i64 760, !10, i64 768, !10, i64 776, !10, i64 784, !14, i64 792, !8, i64 794}
!14 = !{!"short", !8, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !11, i64 112}
!17 = !{!6, !11, i64 116}
!18 = !{!6, !10, i64 104}
!19 = !{!13, !11, i64 716}
!20 = !{!10, !10, i64 0}
!21 = !{!13, !11, i64 720}
!22 = !{!13, !11, i64 724}
!23 = !{!13, !11, i64 728}
!24 = !{!13, !11, i64 732}
!25 = !{!13, !11, i64 736}
!26 = !{!13, !11, i64 740}
!27 = !{!13, !11, i64 744}
!28 = !{!29, !10, i64 1776}
!29 = !{!"precision", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !8, i64 104, !10, i64 360, !11, i64 368, !10, i64 376, !11, i64 384, !11, i64 388, !10, i64 392, !11, i64 400, !10, i64 408, !11, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !10, i64 560, !10, i64 568, !10, i64 576, !10, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !10, i64 616, !11, i64 624, !8, i64 628, !8, i64 884, !8, i64 1140, !10, i64 1400, !10, i64 1408, !10, i64 1416, !10, i64 1424, !10, i64 1432, !10, i64 1440, !10, i64 1448, !10, i64 1456, !10, i64 1464, !10, i64 1472, !10, i64 1480, !10, i64 1488, !10, i64 1496, !10, i64 1504, !10, i64 1512, !10, i64 1520, !11, i64 1528, !10, i64 1536, !10, i64 1544, !11, i64 1552, !11, i64 1556, !11, i64 1560, !11, i64 1564, !11, i64 1568, !11, i64 1572, !11, i64 1576, !11, i64 1580, !10, i64 1584, !10, i64 1592, !10, i64 1600, !10, i64 1608, !10, i64 1616, !10, i64 1624, !10, i64 1632, !10, i64 1640, !11, i64 1648, !10, i64 1656, !10, i64 1664, !11, i64 1672, !10, i64 1680, !10, i64 1688, !11, i64 1696, !10, i64 1704, !11, i64 1712, !10, i64 1720, !10, i64 1728, !11, i64 1736, !10, i64 1744, !10, i64 1752, !10, i64 1760, !11, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !11, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !10, i64 1864, !10, i64 1872, !11, i64 1880, !10, i64 1888, !10, i64 1896, !10, i64 1904, !10, i64 1912, !10, i64 1920, !10, i64 1928, !10, i64 1936, !10, i64 1944, !10, i64 1952, !10, i64 1960, !10, i64 1968, !10, i64 1976, !10, i64 1984, !10, i64 1992, !10, i64 2000, !10, i64 2008, !10, i64 2016, !10, i64 2024, !10, i64 2032, !10, i64 2040, !10, i64 2048, !10, i64 2056, !10, i64 2064, !10, i64 2072, !10, i64 2080, !10, i64 2088, !10, i64 2096, !10, i64 2104, !10, i64 2112, !10, i64 2120, !10, i64 2128, !10, i64 2136, !10, i64 2144, !10, i64 2152, !10, i64 2160, !10, i64 2168, !10, i64 2176, !10, i64 2184, !10, i64 2192, !10, i64 2200, !10, i64 2208, !10, i64 2216, !10, i64 2224, !10, i64 2232, !10, i64 2240, !10, i64 2248, !11, i64 2256, !10, i64 2264, !10, i64 2272, !10, i64 2280, !10, i64 2288, !11, i64 2296, !10, i64 2304, !10, i64 2312, !11, i64 2320, !11, i64 2324, !11, i64 2328, !10, i64 2336, !10, i64 2344, !8, i64 2352}
!30 = !{!29, !10, i64 2344}
!31 = !{!29, !10, i64 1792}
!32 = !{!13, !11, i64 704}
!33 = !{!13, !11, i64 708}
!34 = !{!29, !10, i64 1760}
!35 = !{!29, !10, i64 1824}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass