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

; 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.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.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] }

@.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.125 = external hidden unnamed_addr constant [224 x i8], align 1
@__func__.background_initial_conditions = external hidden unnamed_addr constant [30 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.138 = 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 uwtable
declare dso_local i32 @background_functions(ptr noundef, ptr noundef, i16 noundef signext, ptr noundef) #2

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

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

; Function Attrs: nounwind uwtable
declare dso_local double @V_scf(ptr noundef, double noundef) #2

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

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

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

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

declare i32 @printf(ptr noundef, ...) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @background_initial_conditions(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %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 [2048 x i8], align 16
  %26 = alloca i32, align 4
  %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
  %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
  %36 = alloca [2048 x i8], align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, 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
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.precision, ptr %37, i32 0, i32 1
  %39 = load double, ptr %38, align 8, !tbaa !11
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.background, ptr %40, i32 0, i32 58
  %42 = load double, ptr %41, align 8, !tbaa !14
  %43 = fmul double %39, %42
  store double %43, ptr %10, align 8, !tbaa !9
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.background, ptr %44, i32 0, i32 123
  %46 = load i16, ptr %45, align 4, !tbaa !17
  %47 = sext i16 %46 to i32
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %49, label %154

49:                                               ; preds = %4
  store i32 0, ptr %17, align 4, !tbaa !18
  br label %50

50:                                               ; preds = %139, %49
  %51 = load i32, ptr %17, align 4, !tbaa !18
  %52 = icmp slt i32 %51, 10000
  br i1 %52, label %53, label %142

53:                                               ; preds = %50
  store i32 1, ptr %18, align 4, !tbaa !18
  store double 0.000000e+00, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !18
  br label %54

54:                                               ; preds = %128, %53
  %55 = load i32, ptr %19, align 4, !tbaa !18
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.background, ptr %56, i32 0, i32 29
  %58 = load i32, ptr %57, align 8, !tbaa !19
  %59 = icmp slt i32 %55, %58
  br i1 %59, label %60, label %131

60:                                               ; preds = %54
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.background, ptr %61, i32 0, i32 133
  %63 = load ptr, ptr %62, align 8, !tbaa !20
  %64 = load i32, ptr %19, align 4, !tbaa !18
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.background, ptr %68, i32 0, i32 134
  %70 = load ptr, ptr %69, align 8, !tbaa !21
  %71 = load i32, ptr %19, align 4, !tbaa !18
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds ptr, ptr %70, i64 %72
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.background, ptr %75, i32 0, i32 138
  %77 = load ptr, ptr %76, align 8, !tbaa !22
  %78 = load i32, ptr %19, align 4, !tbaa !18
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i32, ptr %77, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !18
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.background, ptr %82, i32 0, i32 30
  %84 = load ptr, ptr %83, align 8, !tbaa !23
  %85 = load i32, ptr %19, align 4, !tbaa !18
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %84, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !9
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.background, ptr %89, i32 0, i32 140
  %91 = load ptr, ptr %90, align 8, !tbaa !24
  %92 = load i32, ptr %19, align 4, !tbaa !18
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds double, ptr %91, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.background, ptr %96, i32 0, i32 58
  %98 = load double, ptr %97, align 8, !tbaa !14
  %99 = load double, ptr %10, align 8, !tbaa !9
  %100 = fdiv double %98, %99
  %101 = fsub double %100, 1.000000e+00
  %102 = call i32 @background_ncdm_momenta(ptr noundef %67, ptr noundef %74, i32 noundef %81, double noundef %88, double noundef %95, double noundef %101, ptr noundef null, ptr noundef %11, ptr noundef %12, ptr noundef null, ptr noundef null)
  %103 = icmp eq i32 %102, 1
  br i1 %103, label %104, label %113

104:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 2048, ptr %25) #5
  %105 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.background, ptr %106, i32 0, i32 149
  %108 = getelementptr inbounds [2048 x i8], ptr %107, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %105, ptr noundef @.str.6, ptr noundef @.str.125, ptr noundef %108)
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.background, ptr %109, i32 0, i32 149
  %111 = getelementptr inbounds [2048 x i8], ptr %110, i64 0, i64 0
  %112 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %111, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2002, ptr noundef %112)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %25) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

113:                                              ; preds = %60
  %114 = load double, ptr %12, align 8, !tbaa !9
  %115 = load double, ptr %13, align 8, !tbaa !9
  %116 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %114, double %115)
  store double %116, ptr %13, align 8, !tbaa !9
  %117 = load double, ptr %12, align 8, !tbaa !9
  %118 = load double, ptr %11, align 8, !tbaa !9
  %119 = fdiv double %117, %118
  %120 = fsub double %119, 0x3FD5555555555555
  %121 = call double @llvm.fabs.f64(double %120)
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.precision, ptr %122, i32 0, i32 10
  %124 = load double, ptr %123, align 8, !tbaa !25
  %125 = fcmp ogt double %121, %124
  br i1 %125, label %126, label %127

126:                                              ; preds = %113
  store i32 0, ptr %18, align 4, !tbaa !18
  br label %127

127:                                              ; preds = %126, %113
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %19, align 4, !tbaa !18
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %19, align 4, !tbaa !18
  br label %54, !llvm.loop !26

131:                                              ; preds = %54
  %132 = load i32, ptr %18, align 4, !tbaa !18
  %133 = icmp eq i32 %132, 1
  br i1 %133, label %134, label %135

134:                                              ; preds = %131
  br label %142

135:                                              ; preds = %131
  %136 = load double, ptr %10, align 8, !tbaa !9
  %137 = fmul double %136, 1.000000e-01
  store double %137, ptr %10, align 8, !tbaa !9
  br label %138

138:                                              ; preds = %135
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr %17, align 4, !tbaa !18
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %17, align 4, !tbaa !18
  br label %50, !llvm.loop !28

142:                                              ; preds = %134, %50
  %143 = load i32, ptr %17, align 4, !tbaa !18
  %144 = icmp eq i32 %143, 10000
  br i1 %144, label %145, label %153

145:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #5
  %146 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %146, ptr noundef @.str.126)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %28) #5
  %147 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  %148 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %147, ptr noundef @.str.1, ptr noundef @.str.127, ptr noundef %148)
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.background, ptr %149, i32 0, i32 149
  %151 = getelementptr inbounds [2048 x i8], ptr %150, i64 0, i64 0
  %152 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %151, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2014, ptr noundef %152)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

153:                                              ; preds = %142
  br label %154

154:                                              ; preds = %153, %4
  %155 = load double, ptr %10, align 8, !tbaa !9
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.background, ptr %157, i32 0, i32 106
  %159 = load i32, ptr %158, align 8, !tbaa !29
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds double, ptr %156, i64 %160
  store double %155, ptr %161, align 8, !tbaa !9
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.background, ptr %162, i32 0, i32 1
  %164 = load double, ptr %163, align 8, !tbaa !30
  store double %164, ptr %15, align 8, !tbaa !9
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.background, ptr %165, i32 0, i32 126
  %167 = load i16, ptr %166, align 2, !tbaa !31
  %168 = sext i16 %167 to i32
  %169 = icmp eq i32 %168, 1
  br i1 %169, label %170, label %176

170:                                              ; preds = %154
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.background, ptr %171, i32 0, i32 14
  %173 = load double, ptr %172, align 8, !tbaa !32
  %174 = load double, ptr %15, align 8, !tbaa !9
  %175 = fadd double %174, %173
  store double %175, ptr %15, align 8, !tbaa !9
  br label %176

176:                                              ; preds = %170, %154
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.background, ptr %177, i32 0, i32 127
  %179 = load i16, ptr %178, align 4, !tbaa !33
  %180 = sext i16 %179 to i32
  %181 = icmp eq i32 %180, 1
  br i1 %181, label %182, label %188

182:                                              ; preds = %176
  %183 = load ptr, ptr %7, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.background, ptr %183, i32 0, i32 15
  %185 = load double, ptr %184, align 8, !tbaa !34
  %186 = load double, ptr %15, align 8, !tbaa !9
  %187 = fadd double %186, %185
  store double %187, ptr %15, align 8, !tbaa !9
  br label %188

188:                                              ; preds = %182, %176
  %189 = load double, ptr %15, align 8, !tbaa !9
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.background, ptr %190, i32 0, i32 0
  %192 = load double, ptr %191, align 8, !tbaa !35
  %193 = call double @pow(double noundef %192, double noundef 2.000000e+00) #5
  %194 = fmul double %189, %193
  %195 = load double, ptr %10, align 8, !tbaa !9
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.background, ptr %196, i32 0, i32 58
  %198 = load double, ptr %197, align 8, !tbaa !14
  %199 = fdiv double %195, %198
  %200 = call double @pow(double noundef %199, double noundef 4.000000e+00) #5
  %201 = fdiv double %194, %200
  store double %201, ptr %16, align 8, !tbaa !9
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.background, ptr %202, i32 0, i32 123
  %204 = load i16, ptr %203, align 4, !tbaa !17
  %205 = sext i16 %204 to i32
  %206 = icmp eq i32 %205, 1
  br i1 %206, label %207, label %211

207:                                              ; preds = %188
  %208 = load double, ptr %13, align 8, !tbaa !9
  %209 = load double, ptr %16, align 8, !tbaa !9
  %210 = fadd double %209, %208
  store double %210, ptr %16, align 8, !tbaa !9
  br label %211

211:                                              ; preds = %207, %188
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.background, ptr %212, i32 0, i32 120
  %214 = load i16, ptr %213, align 2, !tbaa !36
  %215 = sext i16 %214 to i32
  %216 = icmp eq i32 %215, 1
  br i1 %216, label %217, label %263

217:                                              ; preds = %211
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.background, ptr %218, i32 0, i32 20
  %220 = load double, ptr %219, align 8, !tbaa !37
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.background, ptr %221, i32 0, i32 0
  %223 = load double, ptr %222, align 8, !tbaa !35
  %224 = fmul double %220, %223
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.background, ptr %225, i32 0, i32 0
  %227 = load double, ptr %226, align 8, !tbaa !35
  %228 = fmul double %224, %227
  %229 = load ptr, ptr %7, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.background, ptr %229, i32 0, i32 58
  %231 = load double, ptr %230, align 8, !tbaa !14
  %232 = load double, ptr %10, align 8, !tbaa !9
  %233 = fdiv double %231, %232
  %234 = call double @pow(double noundef %233, double noundef 3.000000e+00) #5
  %235 = fmul double %228, %234
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.background, ptr %237, i32 0, i32 107
  %239 = load i32, ptr %238, align 4, !tbaa !38
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds double, ptr %236, i64 %240
  store double %235, ptr %241, align 8, !tbaa !9
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.background, ptr %242, i32 0, i32 148
  %244 = load i16, ptr %243, align 4, !tbaa !39
  %245 = sext i16 %244 to i32
  %246 = icmp sgt i32 %245, 3
  br i1 %246, label %247, label %262

247:                                              ; preds = %217
  %248 = load ptr, ptr %9, align 8, !tbaa !5
  %249 = load ptr, ptr %7, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.background, ptr %249, i32 0, i32 107
  %251 = load i32, ptr %250, align 4, !tbaa !38
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds double, ptr %248, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !9
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.background, ptr %255, i32 0, i32 58
  %257 = load double, ptr %256, align 8, !tbaa !14
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.background, ptr %258, i32 0, i32 20
  %260 = load double, ptr %259, align 8, !tbaa !37
  %261 = call i32 (ptr, ...) @printf(ptr noundef @.str.128, double noundef %254, double noundef %257, double noundef %260)
  br label %262

262:                                              ; preds = %247, %217
  br label %263

263:                                              ; preds = %262, %211
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.background, ptr %264, i32 0, i32 121
  %266 = load i16, ptr %265, align 8, !tbaa !40
  %267 = sext i16 %266 to i32
  %268 = icmp eq i32 %267, 1
  br i1 %268, label %269, label %333

269:                                              ; preds = %263
  %270 = load ptr, ptr %7, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.background, ptr %270, i32 0, i32 120
  %272 = load i16, ptr %271, align 2, !tbaa !36
  %273 = sext i16 %272 to i32
  %274 = icmp eq i32 %273, 1
  br i1 %274, label %275, label %325

275:                                              ; preds = %269
  %276 = load double, ptr %10, align 8, !tbaa !9
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.background, ptr %277, i32 0, i32 58
  %279 = load double, ptr %278, align 8, !tbaa !14
  %280 = fdiv double %276, %279
  %281 = call double @pow(double noundef %280, double noundef 6.000000e+00) #5
  %282 = fmul double 0x3FD5555555555555, %281
  %283 = load ptr, ptr %9, align 8, !tbaa !5
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.background, ptr %284, i32 0, i32 107
  %286 = load i32, ptr %285, align 4, !tbaa !38
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds double, ptr %283, i64 %287
  %289 = load double, ptr %288, align 8, !tbaa !9
  %290 = fmul double %282, %289
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.background, ptr %291, i32 0, i32 19
  %293 = load double, ptr %292, align 8, !tbaa !41
  %294 = fmul double %290, %293
  %295 = load ptr, ptr %7, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.background, ptr %295, i32 0, i32 0
  %297 = load double, ptr %296, align 8, !tbaa !35
  %298 = call double @pow(double noundef %297, double noundef 3.000000e+00) #5
  %299 = fdiv double %294, %298
  %300 = load double, ptr %15, align 8, !tbaa !9
  %301 = call double @sqrt(double noundef %300) #5
  %302 = fdiv double %299, %301
  store double %302, ptr %14, align 8, !tbaa !9
  %303 = load double, ptr %14, align 8, !tbaa !9
  %304 = load ptr, ptr %7, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.background, ptr %304, i32 0, i32 0
  %306 = load double, ptr %305, align 8, !tbaa !35
  %307 = fmul double %303, %306
  %308 = load ptr, ptr %7, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.background, ptr %308, i32 0, i32 0
  %310 = load double, ptr %309, align 8, !tbaa !35
  %311 = fmul double %307, %310
  %312 = load double, ptr %10, align 8, !tbaa !9
  %313 = load ptr, ptr %7, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.background, ptr %313, i32 0, i32 58
  %315 = load double, ptr %314, align 8, !tbaa !14
  %316 = fdiv double %312, %315
  %317 = call double @pow(double noundef %316, double noundef 4.000000e+00) #5
  %318 = fdiv double %311, %317
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.background, ptr %320, i32 0, i32 108
  %322 = load i32, ptr %321, align 8, !tbaa !42
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds double, ptr %319, i64 %323
  store double %318, ptr %324, align 8, !tbaa !9
  br label %332

325:                                              ; preds = %269
  %326 = load ptr, ptr %9, align 8, !tbaa !5
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.background, ptr %327, i32 0, i32 108
  %329 = load i32, ptr %328, align 8, !tbaa !42
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds double, ptr %326, i64 %330
  store double 0.000000e+00, ptr %331, align 8, !tbaa !9
  br label %332

332:                                              ; preds = %325, %275
  br label %333

333:                                              ; preds = %332, %263
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.background, ptr %334, i32 0, i32 125
  %336 = load i16, ptr %335, align 8, !tbaa !43
  %337 = sext i16 %336 to i32
  %338 = icmp eq i32 %337, 1
  br i1 %338, label %339, label %372

339:                                              ; preds = %333
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.background, ptr %340, i32 0, i32 6
  %342 = load double, ptr %341, align 8, !tbaa !44
  %343 = load ptr, ptr %7, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.background, ptr %343, i32 0, i32 0
  %345 = load double, ptr %344, align 8, !tbaa !35
  %346 = call double @pow(double noundef %345, double noundef 2.000000e+00) #5
  %347 = fmul double %342, %346
  store double %347, ptr %21, align 8, !tbaa !9
  %348 = load ptr, ptr %7, align 8, !tbaa !5
  %349 = load double, ptr %10, align 8, !tbaa !9
  %350 = call i32 @background_w_fld(ptr noundef %348, double noundef %349, ptr noundef %22, ptr noundef %23, ptr noundef %24)
  %351 = icmp eq i32 %350, 1
  br i1 %351, label %352, label %361

352:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #5
  %353 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %354 = load ptr, ptr %7, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.background, ptr %354, i32 0, i32 149
  %356 = getelementptr inbounds [2048 x i8], ptr %355, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %353, ptr noundef @.str.6, ptr noundef @.str.129, ptr noundef %356)
  %357 = load ptr, ptr %7, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.background, ptr %357, i32 0, i32 149
  %359 = getelementptr inbounds [2048 x i8], ptr %358, i64 0, i64 0
  %360 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %359, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2063, ptr noundef %360)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %29) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

361:                                              ; preds = %339
  %362 = load double, ptr %21, align 8, !tbaa !9
  %363 = load double, ptr %24, align 8, !tbaa !9
  %364 = call double @exp(double noundef %363) #5
  %365 = fmul double %362, %364
  %366 = load ptr, ptr %9, align 8, !tbaa !5
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.background, ptr %367, i32 0, i32 109
  %369 = load i32, ptr %368, align 4, !tbaa !45
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds double, ptr %366, i64 %370
  store double %365, ptr %371, align 8, !tbaa !9
  br label %372

372:                                              ; preds = %361, %333
  %373 = load ptr, ptr %7, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.background, ptr %373, i32 0, i32 122
  %375 = load i16, ptr %374, align 2, !tbaa !46
  %376 = sext i16 %375 to i32
  %377 = icmp eq i32 %376, 1
  br i1 %377, label %378, label %523

378:                                              ; preds = %372
  %379 = load ptr, ptr %7, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.background, ptr %379, i32 0, i32 25
  %381 = load ptr, ptr %380, align 8, !tbaa !47
  %382 = getelementptr inbounds double, ptr %381, i64 0
  %383 = load double, ptr %382, align 8, !tbaa !9
  store double %383, ptr %20, align 8, !tbaa !9
  %384 = load ptr, ptr %7, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.background, ptr %384, i32 0, i32 22
  %386 = load i16, ptr %385, align 8, !tbaa !48
  %387 = sext i16 %386 to i32
  %388 = icmp eq i32 %387, 1
  br i1 %388, label %389, label %462

389:                                              ; preds = %378
  %390 = load double, ptr %20, align 8, !tbaa !9
  %391 = fdiv double -1.000000e+00, %390
  %392 = load double, ptr %16, align 8, !tbaa !9
  %393 = fmul double %392, 4.000000e+00
  %394 = load double, ptr %20, align 8, !tbaa !9
  %395 = call double @pow(double noundef %394, double noundef 2.000000e+00) #5
  %396 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %395, double -1.200000e+01)
  %397 = fdiv double %393, %396
  %398 = call double @log(double noundef %397) #5
  %399 = fmul double %391, %398
  %400 = load ptr, ptr %7, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.background, ptr %400, i32 0, i32 23
  %402 = load double, ptr %401, align 8, !tbaa !49
  %403 = fmul double %399, %402
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = load ptr, ptr %7, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.background, ptr %405, i32 0, i32 110
  %407 = load i32, ptr %406, align 8, !tbaa !50
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds double, ptr %404, i64 %408
  store double %403, ptr %409, align 8, !tbaa !9
  %410 = load double, ptr %20, align 8, !tbaa !9
  %411 = call double @pow(double noundef %410, double noundef 2.000000e+00) #5
  %412 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %411, double -1.200000e+01)
  %413 = fcmp olt double %412, 0.000000e+00
  br i1 %413, label %414, label %432

414:                                              ; preds = %389
  %415 = load double, ptr %20, align 8, !tbaa !9
  %416 = fdiv double 1.000000e+00, %415
  %417 = load ptr, ptr %9, align 8, !tbaa !5
  %418 = load ptr, ptr %7, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.background, ptr %418, i32 0, i32 110
  %420 = load i32, ptr %419, align 8, !tbaa !50
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds double, ptr %417, i64 %421
  store double %416, ptr %422, align 8, !tbaa !9
  %423 = load ptr, ptr %7, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.background, ptr %423, i32 0, i32 148
  %425 = load i16, ptr %424, align 4, !tbaa !39
  %426 = sext i16 %425 to i32
  %427 = icmp sgt i32 %426, 0
  br i1 %427, label %428, label %431

428:                                              ; preds = %414
  %429 = load double, ptr %20, align 8, !tbaa !9
  %430 = call i32 (ptr, ...) @printf(ptr noundef @.str.130, double noundef %429)
  br label %431

431:                                              ; preds = %428, %414
  br label %432

432:                                              ; preds = %431, %389
  %433 = load ptr, ptr %9, align 8, !tbaa !5
  %434 = load ptr, ptr %7, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.background, ptr %434, i32 0, i32 106
  %436 = load i32, ptr %435, align 8, !tbaa !29
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds double, ptr %433, i64 %437
  %439 = load double, ptr %438, align 8, !tbaa !9
  %440 = fmul double 2.000000e+00, %439
  %441 = load ptr, ptr %7, align 8, !tbaa !5
  %442 = load ptr, ptr %9, align 8, !tbaa !5
  %443 = load ptr, ptr %7, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.background, ptr %443, i32 0, i32 110
  %445 = load i32, ptr %444, align 8, !tbaa !50
  %446 = sext i32 %445 to i64
  %447 = getelementptr inbounds double, ptr %442, i64 %446
  %448 = load double, ptr %447, align 8, !tbaa !9
  %449 = call double @V_scf(ptr noundef %441, double noundef %448)
  %450 = call double @sqrt(double noundef %449) #5
  %451 = fmul double %440, %450
  %452 = load ptr, ptr %7, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.background, ptr %452, i32 0, i32 24
  %454 = load double, ptr %453, align 8, !tbaa !51
  %455 = fmul double %451, %454
  %456 = load ptr, ptr %9, align 8, !tbaa !5
  %457 = load ptr, ptr %7, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.background, ptr %457, i32 0, i32 111
  %459 = load i32, ptr %458, align 4, !tbaa !52
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds double, ptr %456, i64 %460
  store double %455, ptr %461, align 8, !tbaa !9
  br label %482

462:                                              ; preds = %378
  %463 = call i32 (ptr, ...) @printf(ptr noundef @.str.131)
  %464 = load ptr, ptr %7, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.background, ptr %464, i32 0, i32 23
  %466 = load double, ptr %465, align 8, !tbaa !49
  %467 = load ptr, ptr %9, align 8, !tbaa !5
  %468 = load ptr, ptr %7, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.background, ptr %468, i32 0, i32 110
  %470 = load i32, ptr %469, align 8, !tbaa !50
  %471 = sext i32 %470 to i64
  %472 = getelementptr inbounds double, ptr %467, i64 %471
  store double %466, ptr %472, align 8, !tbaa !9
  %473 = load ptr, ptr %7, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.background, ptr %473, i32 0, i32 24
  %475 = load double, ptr %474, align 8, !tbaa !51
  %476 = load ptr, ptr %9, align 8, !tbaa !5
  %477 = load ptr, ptr %7, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.background, ptr %477, i32 0, i32 111
  %479 = load i32, ptr %478, align 4, !tbaa !52
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds double, ptr %476, i64 %480
  store double %475, ptr %481, align 8, !tbaa !9
  br label %482

482:                                              ; preds = %462, %432
  %483 = load ptr, ptr %9, align 8, !tbaa !5
  %484 = load ptr, ptr %7, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.background, ptr %484, i32 0, i32 110
  %486 = load i32, ptr %485, align 8, !tbaa !50
  %487 = sext i32 %486 to i64
  %488 = getelementptr inbounds double, ptr %483, i64 %487
  %489 = load double, ptr %488, align 8, !tbaa !9
  %490 = call i1 @llvm.is.fpclass.f64(double %489, i32 504)
  br i1 %490, label %491, label %500

491:                                              ; preds = %482
  %492 = load ptr, ptr %9, align 8, !tbaa !5
  %493 = load ptr, ptr %7, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.background, ptr %493, i32 0, i32 110
  %495 = load i32, ptr %494, align 8, !tbaa !50
  %496 = sext i32 %495 to i64
  %497 = getelementptr inbounds double, ptr %492, i64 %496
  %498 = load double, ptr %497, align 8, !tbaa !9
  %499 = call i1 @llvm.is.fpclass.f64(double %498, i32 504)
  br i1 %499, label %522, label %500

500:                                              ; preds = %491, %482
  call void @llvm.lifetime.start.p0(i64 2048, ptr %30) #5
  %501 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  %502 = load ptr, ptr %9, align 8, !tbaa !5
  %503 = load ptr, ptr %7, align 8, !tbaa !5
  %504 = getelementptr inbounds %struct.background, ptr %503, i32 0, i32 110
  %505 = load i32, ptr %504, align 8, !tbaa !50
  %506 = sext i32 %505 to i64
  %507 = getelementptr inbounds double, ptr %502, i64 %506
  %508 = load double, ptr %507, align 8, !tbaa !9
  %509 = load ptr, ptr %9, align 8, !tbaa !5
  %510 = load ptr, ptr %7, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.background, ptr %510, i32 0, i32 110
  %512 = load i32, ptr %511, align 8, !tbaa !50
  %513 = sext i32 %512 to i64
  %514 = getelementptr inbounds double, ptr %509, i64 %513
  %515 = load double, ptr %514, align 8, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %501, ptr noundef @.str.132, double noundef %508, double noundef %515)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #5
  %516 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %517 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %516, ptr noundef @.str.1, ptr noundef @.str.133, ptr noundef %517)
  %518 = load ptr, ptr %7, align 8, !tbaa !5
  %519 = getelementptr inbounds %struct.background, ptr %518, i32 0, i32 149
  %520 = getelementptr inbounds [2048 x i8], ptr %519, i64 0, i64 0
  %521 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %520, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2109, ptr noundef %521)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %30) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

522:                                              ; preds = %491
  br label %523

523:                                              ; preds = %522, %372
  %524 = load ptr, ptr %7, align 8, !tbaa !5
  %525 = load ptr, ptr %9, align 8, !tbaa !5
  %526 = load ptr, ptr %7, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.background, ptr %526, i32 0, i32 142
  %528 = load i16, ptr %527, align 2, !tbaa !53
  %529 = load ptr, ptr %8, align 8, !tbaa !5
  %530 = call i32 @background_functions(ptr noundef %524, ptr noundef %525, i16 noundef signext %528, ptr noundef %529)
  %531 = icmp eq i32 %530, 1
  br i1 %531, label %532, label %541

532:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #5
  %533 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  %534 = load ptr, ptr %7, align 8, !tbaa !5
  %535 = getelementptr inbounds %struct.background, ptr %534, i32 0, i32 149
  %536 = getelementptr inbounds [2048 x i8], ptr %535, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %533, ptr noundef @.str.6, ptr noundef @.str.134, ptr noundef %536)
  %537 = load ptr, ptr %7, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.background, ptr %537, i32 0, i32 149
  %539 = getelementptr inbounds [2048 x i8], ptr %538, i64 0, i64 0
  %540 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %539, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2115, ptr noundef %540)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

541:                                              ; preds = %523
  %542 = load ptr, ptr %8, align 8, !tbaa !5
  %543 = load ptr, ptr %7, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.background, ptr %543, i32 0, i32 87
  %545 = load i32, ptr %544, align 8, !tbaa !54
  %546 = sext i32 %545 to i64
  %547 = getelementptr inbounds double, ptr %542, i64 %546
  %548 = load double, ptr %547, align 8, !tbaa !9
  %549 = fsub double %548, 1.000000e+00
  %550 = call double @llvm.fabs.f64(double %549)
  %551 = load ptr, ptr %6, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.precision, ptr %551, i32 0, i32 4
  %553 = load double, ptr %552, align 8, !tbaa !55
  %554 = fcmp ogt double %550, %553
  br i1 %554, label %555, label %570

555:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #5
  %556 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %557 = load ptr, ptr %8, align 8, !tbaa !5
  %558 = load ptr, ptr %7, align 8, !tbaa !5
  %559 = getelementptr inbounds %struct.background, ptr %558, i32 0, i32 87
  %560 = load i32, ptr %559, align 8, !tbaa !54
  %561 = sext i32 %560 to i64
  %562 = getelementptr inbounds double, ptr %557, i64 %561
  %563 = load double, ptr %562, align 8, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %556, ptr noundef @.str.135, double noundef %563)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %34) #5
  %564 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  %565 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %564, ptr noundef @.str.1, ptr noundef @.str.136, ptr noundef %565)
  %566 = load ptr, ptr %7, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.background, ptr %566, i32 0, i32 149
  %568 = getelementptr inbounds [2048 x i8], ptr %567, i64 0, i64 0
  %569 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %568, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2122, ptr noundef %569)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

570:                                              ; preds = %541
  %571 = load ptr, ptr %8, align 8, !tbaa !5
  %572 = load ptr, ptr %7, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.background, ptr %572, i32 0, i32 60
  %574 = load i32, ptr %573, align 4, !tbaa !56
  %575 = sext i32 %574 to i64
  %576 = getelementptr inbounds double, ptr %571, i64 %575
  %577 = load double, ptr %576, align 8, !tbaa !9
  %578 = fcmp ole double %577, 0.000000e+00
  br i1 %578, label %579, label %594

579:                                              ; preds = %570
  call void @llvm.lifetime.start.p0(i64 2048, ptr %35) #5
  %580 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  %581 = load ptr, ptr %8, align 8, !tbaa !5
  %582 = load ptr, ptr %7, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.background, ptr %582, i32 0, i32 60
  %584 = load i32, ptr %583, align 4, !tbaa !56
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds double, ptr %581, i64 %585
  %587 = load double, ptr %586, align 8, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %580, ptr noundef @.str.137, double noundef %587)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %36) #5
  %588 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  %589 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %588, ptr noundef @.str.1, ptr noundef @.str.138, ptr noundef %589)
  %590 = load ptr, ptr %7, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.background, ptr %590, i32 0, i32 149
  %592 = getelementptr inbounds [2048 x i8], ptr %591, i64 0, i64 0
  %593 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %592, ptr noundef @.str.3, ptr noundef @__func__.background_initial_conditions, i32 noundef 2130, ptr noundef %593)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %35) #5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

594:                                              ; preds = %570
  %595 = load ptr, ptr %8, align 8, !tbaa !5
  %596 = load ptr, ptr %7, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.background, ptr %596, i32 0, i32 60
  %598 = load i32, ptr %597, align 4, !tbaa !56
  %599 = sext i32 %598 to i64
  %600 = getelementptr inbounds double, ptr %595, i64 %599
  %601 = load double, ptr %600, align 8, !tbaa !9
  %602 = fmul double 2.000000e+00, %601
  %603 = fdiv double 1.000000e+00, %602
  %604 = load ptr, ptr %9, align 8, !tbaa !5
  %605 = load ptr, ptr %7, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.background, ptr %605, i32 0, i32 112
  %607 = load i32, ptr %606, align 8, !tbaa !57
  %608 = sext i32 %607 to i64
  %609 = getelementptr inbounds double, ptr %604, i64 %608
  store double %603, ptr %609, align 8, !tbaa !9
  %610 = load double, ptr %10, align 8, !tbaa !9
  %611 = load ptr, ptr %8, align 8, !tbaa !5
  %612 = load ptr, ptr %7, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.background, ptr %612, i32 0, i32 60
  %614 = load i32, ptr %613, align 4, !tbaa !56
  %615 = sext i32 %614 to i64
  %616 = getelementptr inbounds double, ptr %611, i64 %615
  %617 = load double, ptr %616, align 8, !tbaa !9
  %618 = fmul double %610, %617
  %619 = fdiv double 1.000000e+00, %618
  %620 = load ptr, ptr %9, align 8, !tbaa !5
  %621 = load ptr, ptr %7, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct.background, ptr %621, i32 0, i32 114
  %623 = load i32, ptr %622, align 8, !tbaa !58
  %624 = sext i32 %623 to i64
  %625 = getelementptr inbounds double, ptr %620, i64 %624
  store double %619, ptr %625, align 8, !tbaa !9
  %626 = load ptr, ptr %9, align 8, !tbaa !5
  %627 = load ptr, ptr %7, align 8, !tbaa !5
  %628 = getelementptr inbounds %struct.background, ptr %627, i32 0, i32 114
  %629 = load i32, ptr %628, align 8, !tbaa !58
  %630 = sext i32 %629 to i64
  %631 = getelementptr inbounds double, ptr %626, i64 %630
  %632 = load double, ptr %631, align 8, !tbaa !9
  %633 = call double @sqrt(double noundef 3.000000e+00) #5
  %634 = fdiv double %632, %633
  %635 = load ptr, ptr %9, align 8, !tbaa !5
  %636 = load ptr, ptr %7, align 8, !tbaa !5
  %637 = getelementptr inbounds %struct.background, ptr %636, i32 0, i32 113
  %638 = load i32, ptr %637, align 4, !tbaa !59
  %639 = sext i32 %638 to i64
  %640 = getelementptr inbounds double, ptr %635, i64 %639
  store double %634, ptr %640, align 8, !tbaa !9
  %641 = load double, ptr %10, align 8, !tbaa !9
  %642 = load ptr, ptr %9, align 8, !tbaa !5
  %643 = load ptr, ptr %7, align 8, !tbaa !5
  %644 = getelementptr inbounds %struct.background, ptr %643, i32 0, i32 115
  %645 = load i32, ptr %644, align 4, !tbaa !60
  %646 = sext i32 %645 to i64
  %647 = getelementptr inbounds double, ptr %642, i64 %646
  store double %641, ptr %647, align 8, !tbaa !9
  %648 = load ptr, ptr %9, align 8, !tbaa !5
  %649 = load ptr, ptr %7, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.background, ptr %649, i32 0, i32 115
  %651 = load i32, ptr %650, align 4, !tbaa !60
  %652 = sext i32 %651 to i64
  %653 = getelementptr inbounds double, ptr %648, i64 %652
  %654 = load double, ptr %653, align 8, !tbaa !9
  %655 = fmul double 2.000000e+00, %654
  %656 = load ptr, ptr %8, align 8, !tbaa !5
  %657 = load ptr, ptr %7, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.background, ptr %657, i32 0, i32 60
  %659 = load i32, ptr %658, align 4, !tbaa !56
  %660 = sext i32 %659 to i64
  %661 = getelementptr inbounds double, ptr %656, i64 %660
  %662 = load double, ptr %661, align 8, !tbaa !9
  %663 = fmul double %655, %662
  %664 = load ptr, ptr %9, align 8, !tbaa !5
  %665 = load ptr, ptr %7, align 8, !tbaa !5
  %666 = getelementptr inbounds %struct.background, ptr %665, i32 0, i32 116
  %667 = load i32, ptr %666, align 8, !tbaa !61
  %668 = sext i32 %667 to i64
  %669 = getelementptr inbounds double, ptr %664, i64 %668
  store double %663, ptr %669, align 8, !tbaa !9
  store i32 0, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %670

670:                                              ; preds = %594, %579, %555, %532, %500, %352, %145, %104
  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 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %671 = load i32, ptr %5, align 4
  ret i32 %671
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f64(double, i32 immarg) #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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"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}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !10, i64 456}
!15 = !{!"background", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !13, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !16, 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, !16, i64 176, !10, i64 184, !10, i64 192, !6, i64 200, !13, i64 208, !13, i64 212, !10, i64 216, !13, i64 224, !6, i64 232, !6, i64 240, !10, i64 248, !6, i64 256, !10, i64 264, !6, i64 272, !10, i64 280, !6, i64 288, !10, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !13, i64 360, !6, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !13, i64 464, !13, i64 468, !13, i64 472, !13, i64 476, !13, i64 480, !13, i64 484, !13, i64 488, !13, i64 492, !13, i64 496, !13, i64 500, !13, i64 504, !13, i64 508, !13, i64 512, !13, i64 516, !13, i64 520, !13, i64 524, !13, i64 528, !13, i64 532, !13, i64 536, !13, i64 540, !13, i64 544, !13, i64 548, !13, i64 552, !13, i64 556, !13, i64 560, !13, i64 564, !13, i64 568, !13, i64 572, !13, i64 576, !13, i64 580, !13, i64 584, !13, i64 588, !13, i64 592, !13, i64 596, !13, i64 600, !13, i64 604, !13, i64 608, !13, i64 612, !13, i64 616, !13, i64 620, !13, i64 624, !13, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !13, i64 672, !13, i64 676, !13, i64 680, !13, i64 684, !13, i64 688, !13, i64 692, !13, i64 696, !13, i64 700, !13, i64 704, !13, i64 708, !13, i64 712, !13, i64 716, !13, i64 720, !16, i64 724, !16, i64 726, !16, i64 728, !16, i64 730, !16, i64 732, !16, i64 734, !16, i64 736, !16, i64 738, !16, i64 740, !16, i64 742, !16, 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, !16, i64 840, !16, i64 842, !16, i64 844, !16, i64 846, !16, i64 848, !16, i64 850, !7, i64 852, !16, i64 2900, !7, i64 2902}
!16 = !{!"short", !7, i64 0}
!17 = !{!15, !16, i64 732}
!18 = !{!13, !13, i64 0}
!19 = !{!15, !13, i64 224}
!20 = !{!15, !6, i64 776}
!21 = !{!15, !6, i64 784}
!22 = !{!15, !6, i64 816}
!23 = !{!15, !6, i64 232}
!24 = !{!15, !6, i64 832}
!25 = !{!12, !10, i64 80}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!15, !13, i64 672}
!30 = !{!15, !10, i64 8}
!31 = !{!15, !16, i64 738}
!32 = !{!15, !10, i64 112}
!33 = !{!15, !16, i64 740}
!34 = !{!15, !10, i64 120}
!35 = !{!15, !10, i64 0}
!36 = !{!15, !16, i64 726}
!37 = !{!15, !10, i64 160}
!38 = !{!15, !13, i64 676}
!39 = !{!15, !16, i64 2900}
!40 = !{!15, !16, i64 728}
!41 = !{!15, !10, i64 152}
!42 = !{!15, !13, i64 680}
!43 = !{!15, !16, i64 736}
!44 = !{!15, !10, i64 48}
!45 = !{!15, !13, i64 684}
!46 = !{!15, !16, i64 730}
!47 = !{!15, !6, i64 200}
!48 = !{!15, !16, i64 176}
!49 = !{!15, !10, i64 184}
!50 = !{!15, !13, i64 688}
!51 = !{!15, !10, i64 192}
!52 = !{!15, !13, i64 692}
!53 = !{!15, !16, i64 842}
!54 = !{!15, !13, i64 576}
!55 = !{!12, !10, i64 32}
!56 = !{!15, !13, i64 468}
!57 = !{!15, !13, i64 696}
!58 = !{!15, !13, i64 704}
!59 = !{!15, !13, i64 700}
!60 = !{!15, !13, i64 708}
!61 = !{!15, !13, i64 712}


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

@.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.125 = external hidden unnamed_addr constant [224 x i8], align 1
@__func__.background_initial_conditions = external hidden unnamed_addr constant [30 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.138 = 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: nounwind uwtable
declare dso_local i32 @background_functions(ptr noundef, ptr noundef, i16 noundef signext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare dso_local double @V_scf(ptr noundef, double noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @background_initial_conditions(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, 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
  %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
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  %22 = load double, ptr %21, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %1, i64 456
  %24 = load double, ptr %23, align 8, !tbaa !11
  %25 = fmul double %22, %24
  %26 = getelementptr inbounds i8, ptr %1, i64 732
  %27 = load i16, ptr %26, align 4, !tbaa !15
  %28 = icmp eq i16 %27, 1
  br i1 %28, label %.preheader177, label %.split.us.thread203

.preheader177:                                    ; preds = %4
  %29 = getelementptr inbounds i8, ptr %1, i64 224
  %30 = getelementptr inbounds i8, ptr %1, i64 776
  %31 = getelementptr inbounds i8, ptr %1, i64 784
  %32 = getelementptr inbounds i8, ptr %1, i64 816
  %33 = getelementptr inbounds i8, ptr %1, i64 232
  %34 = getelementptr inbounds i8, ptr %1, i64 832
  %35 = getelementptr inbounds i8, ptr %0, i64 80
  %36 = load i32, ptr %29, align 8, !tbaa !16
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.preheader, label %.split.us.thread203

.preheader:                                       ; preds = %.preheader177, %75
  %38 = phi i32 [ %71, %75 ], [ %36, %.preheader177 ]
  %.0163187 = phi double [ %76, %75 ], [ %25, %.preheader177 ]
  %.0167186 = phi i32 [ %77, %75 ], [ 0, %.preheader177 ]
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.lr.ph, label %.split.us

.lr.ph:                                           ; preds = %.preheader, %62
  %indvars.iv = phi i64 [ %indvars.iv.next, %62 ], [ 0, %.preheader ]
  %.0165183 = phi i32 [ %.1166, %62 ], [ 1, %.preheader ]
  %.1172182 = phi double [ %64, %62 ], [ 0.000000e+00, %.preheader ]
  %40 = load ptr, ptr %30, align 8, !tbaa !17
  %41 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv
  %42 = load ptr, ptr %41, align 8, !tbaa !18
  %43 = load ptr, ptr %31, align 8, !tbaa !19
  %44 = getelementptr inbounds ptr, ptr %43, i64 %indvars.iv
  %45 = load ptr, ptr %44, align 8, !tbaa !18
  %46 = load ptr, ptr %32, align 8, !tbaa !20
  %47 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv
  %48 = load i32, ptr %47, align 4, !tbaa !21
  %49 = load ptr, ptr %33, align 8, !tbaa !22
  %50 = getelementptr inbounds double, ptr %49, i64 %indvars.iv
  %51 = load double, ptr %50, align 8, !tbaa !23
  %52 = load ptr, ptr %34, align 8, !tbaa !24
  %53 = getelementptr inbounds double, ptr %52, i64 %indvars.iv
  %54 = load double, ptr %53, align 8, !tbaa !23
  %55 = load double, ptr %23, align 8, !tbaa !11
  %56 = fdiv double %55, %.0163187
  %57 = fadd double %56, -1.000000e+00
  %58 = call i32 @background_ncdm_momenta(ptr noundef %42, ptr noundef %45, i32 noundef %48, double noundef %51, double noundef %54, double noundef %57, ptr noundef null, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null, ptr noundef null)
  %59 = icmp eq i32 %58, 1
  br i1 %59, label %60, label %62

60:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #6
  %61 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.125, ptr noundef nonnull %61) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %61, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2002, ptr noundef nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #6
  br label %323

62:                                               ; preds = %.lr.ph
  %63 = load double, ptr %6, align 8, !tbaa !23
  %64 = call double @llvm.fmuladd.f64(double %63, double 3.000000e+00, double %.1172182)
  %65 = load double, ptr %5, align 8, !tbaa !23
  %66 = fdiv double %63, %65
  %67 = fadd double %66, 0xBFD5555555555555
  %68 = call double @llvm.fabs.f64(double %67)
  %69 = load double, ptr %35, align 8, !tbaa !25
  %70 = fcmp ogt double %68, %69
  %.1166 = select i1 %70, i32 0, i32 %.0165183
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %71 = load i32, ptr %29, align 8, !tbaa !16
  %72 = sext i32 %71 to i64
  %73 = icmp slt i64 %indvars.iv.next, %72
  br i1 %73, label %.lr.ph, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %62
  %74 = icmp eq i32 %.1166, 1
  br i1 %74, label %.split.us, label %75

75:                                               ; preds = %._crit_edge
  %76 = fmul double %.0163187, 1.000000e-01
  %77 = add nuw nsw i32 %.0167186, 1
  %exitcond.not = icmp eq i32 %77, 10000
  br i1 %exitcond.not, label %.split.us.thread, label %.preheader, !llvm.loop !28

.split.us:                                        ; preds = %.preheader, %._crit_edge
  %.us-phi189 = phi double [ %64, %._crit_edge ], [ 0.000000e+00, %.preheader ]
  %78 = icmp eq i32 %.0167186, 10000
  br i1 %78, label %.split.us.thread, label %.split.us.thread203

.split.us.thread:                                 ; preds = %75, %.split.us
  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.126) #6
  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.1, ptr noundef nonnull @.str.127, ptr noundef nonnull %11) #6
  %79 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %79, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2014, ptr noundef nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #6
  br label %323

.split.us.thread203:                              ; preds = %.preheader177, %.split.us, %4
  %.3 = phi double [ %.us-phi189, %.split.us ], [ 0.000000e+00, %4 ], [ 0.000000e+00, %.preheader177 ]
  %.1 = phi double [ %.0163187, %.split.us ], [ %25, %4 ], [ %25, %.preheader177 ]
  %80 = getelementptr inbounds i8, ptr %1, i64 672
  %81 = load i32, ptr %80, align 8, !tbaa !30
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %3, i64 %82
  store double %.1, ptr %83, align 8, !tbaa !23
  %84 = getelementptr inbounds i8, ptr %1, i64 8
  %85 = load double, ptr %84, align 8, !tbaa !31
  %86 = getelementptr inbounds i8, ptr %1, i64 738
  %87 = load i16, ptr %86, align 2, !tbaa !32
  %88 = icmp eq i16 %87, 1
  br i1 %88, label %89, label %93

89:                                               ; preds = %.split.us.thread203
  %90 = getelementptr inbounds i8, ptr %1, i64 112
  %91 = load double, ptr %90, align 8, !tbaa !33
  %92 = fadd double %85, %91
  br label %93

93:                                               ; preds = %89, %.split.us.thread203
  %.0169 = phi double [ %92, %89 ], [ %85, %.split.us.thread203 ]
  %94 = getelementptr inbounds i8, ptr %1, i64 740
  %95 = load i16, ptr %94, align 4, !tbaa !34
  %96 = icmp eq i16 %95, 1
  br i1 %96, label %97, label %101

97:                                               ; preds = %93
  %98 = getelementptr inbounds i8, ptr %1, i64 120
  %99 = load double, ptr %98, align 8, !tbaa !35
  %100 = fadd double %.0169, %99
  br label %101

101:                                              ; preds = %97, %93
  %.1170 = phi double [ %100, %97 ], [ %.0169, %93 ]
  %102 = load double, ptr %1, align 8, !tbaa !36
  %square = fmul double %102, %102
  %103 = fmul double %.1170, %square
  %104 = load double, ptr %23, align 8, !tbaa !11
  %105 = fdiv double %.1, %104
  %106 = call double @pow(double noundef %105, double noundef 4.000000e+00) #6
  %107 = fdiv double %103, %106
  %108 = load i16, ptr %26, align 4, !tbaa !15
  %109 = icmp eq i16 %108, 1
  %110 = fadd double %.3, %107
  %.0168 = select i1 %109, double %110, double %107
  %111 = getelementptr inbounds i8, ptr %1, i64 726
  %112 = load i16, ptr %111, align 2, !tbaa !37
  %113 = icmp eq i16 %112, 1
  br i1 %113, label %114, label %135

114:                                              ; preds = %101
  %115 = getelementptr inbounds i8, ptr %1, i64 160
  %116 = load double, ptr %115, align 8, !tbaa !38
  %117 = load double, ptr %1, align 8, !tbaa !36
  %118 = fmul double %116, %117
  %119 = fmul double %117, %118
  %120 = load double, ptr %23, align 8, !tbaa !11
  %121 = fdiv double %120, %.1
  %122 = call double @pow(double noundef %121, double noundef 3.000000e+00) #6
  %123 = fmul double %119, %122
  %124 = getelementptr inbounds i8, ptr %1, i64 676
  %125 = load i32, ptr %124, align 4, !tbaa !39
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds double, ptr %3, i64 %126
  store double %123, ptr %127, align 8, !tbaa !23
  %128 = getelementptr inbounds i8, ptr %1, i64 2900
  %129 = load i16, ptr %128, align 4, !tbaa !40
  %130 = icmp sgt i16 %129, 3
  br i1 %130, label %131, label %135

131:                                              ; preds = %114
  %132 = load double, ptr %23, align 8, !tbaa !11
  %133 = load double, ptr %115, align 8, !tbaa !38
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.128, double noundef %123, double noundef %132, double noundef %133)
  br label %135

135:                                              ; preds = %114, %131, %101
  %136 = getelementptr inbounds i8, ptr %1, i64 728
  %137 = load i16, ptr %136, align 8, !tbaa !41
  %138 = icmp eq i16 %137, 1
  br i1 %138, label %139, label %172

139:                                              ; preds = %135
  %140 = load i16, ptr %111, align 2, !tbaa !37
  %141 = icmp eq i16 %140, 1
  br i1 %141, label %142, label %.sink.split

142:                                              ; preds = %139
  %143 = load double, ptr %23, align 8, !tbaa !11
  %144 = fdiv double %.1, %143
  %145 = call double @pow(double noundef %144, double noundef 6.000000e+00) #6
  %146 = fmul double %145, 0x3FD5555555555555
  %147 = getelementptr inbounds i8, ptr %1, i64 676
  %148 = load i32, ptr %147, align 4, !tbaa !39
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds double, ptr %3, i64 %149
  %151 = load double, ptr %150, align 8, !tbaa !23
  %152 = fmul double %146, %151
  %153 = getelementptr inbounds i8, ptr %1, i64 152
  %154 = load double, ptr %153, align 8, !tbaa !42
  %155 = fmul double %152, %154
  %156 = load double, ptr %1, align 8, !tbaa !36
  %157 = call double @pow(double noundef %156, double noundef 3.000000e+00) #6
  %158 = fdiv double %155, %157
  %159 = call double @sqrt(double noundef %.1170) #6
  %160 = fdiv double %158, %159
  %161 = load double, ptr %1, align 8, !tbaa !36
  %162 = fmul double %160, %161
  %163 = fmul double %161, %162
  %164 = load double, ptr %23, align 8, !tbaa !11
  %165 = fdiv double %.1, %164
  %166 = call double @pow(double noundef %165, double noundef 4.000000e+00) #6
  %167 = fdiv double %163, %166
  br label %.sink.split

.sink.split:                                      ; preds = %139, %142
  %.sink = phi double [ %167, %142 ], [ 0.000000e+00, %139 ]
  %168 = getelementptr inbounds i8, ptr %1, i64 680
  %169 = load i32, ptr %168, align 8, !tbaa !43
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds double, ptr %3, i64 %170
  store double %.sink, ptr %171, align 8, !tbaa !23
  br label %172

172:                                              ; preds = %.sink.split, %135
  %173 = getelementptr inbounds i8, ptr %1, i64 736
  %174 = load i16, ptr %173, align 8, !tbaa !44
  %175 = icmp eq i16 %174, 1
  br i1 %175, label %176, label %193

176:                                              ; preds = %172
  %177 = getelementptr inbounds i8, ptr %1, i64 48
  %178 = load double, ptr %177, align 8, !tbaa !45
  %179 = load double, ptr %1, align 8, !tbaa !36
  %180 = call i32 @background_w_fld(ptr noundef nonnull %1, double noundef %.1, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %181 = icmp eq i32 %180, 1
  br i1 %181, label %182, label %184

182:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #6
  %183 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.129, ptr noundef nonnull %183) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %183, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2063, ptr noundef nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #6
  br label %323

184:                                              ; preds = %176
  %square174 = fmul double %179, %179
  %185 = fmul double %178, %square174
  %186 = load double, ptr %9, align 8, !tbaa !23
  %187 = call double @exp(double noundef %186) #6
  %188 = fmul double %185, %187
  %189 = getelementptr inbounds i8, ptr %1, i64 684
  %190 = load i32, ptr %189, align 4, !tbaa !46
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds double, ptr %3, i64 %191
  store double %188, ptr %192, align 8, !tbaa !23
  br label %193

193:                                              ; preds = %184, %172
  %194 = getelementptr inbounds i8, ptr %1, i64 730
  %195 = load i16, ptr %194, align 2, !tbaa !47
  %196 = icmp eq i16 %195, 1
  br i1 %196, label %197, label %264

197:                                              ; preds = %193
  %198 = getelementptr inbounds i8, ptr %1, i64 200
  %199 = load ptr, ptr %198, align 8, !tbaa !48
  %200 = load double, ptr %199, align 8, !tbaa !23
  %201 = getelementptr inbounds i8, ptr %1, i64 176
  %202 = load i16, ptr %201, align 8, !tbaa !49
  %203 = icmp eq i16 %202, 1
  br i1 %203, label %204, label %243

204:                                              ; preds = %197
  %205 = fdiv double -1.000000e+00, %200
  %206 = fmul double %.0168, 4.000000e+00
  %square175 = fmul double %200, %200
  %207 = call double @llvm.fmuladd.f64(double %square175, double 3.000000e+00, double -1.200000e+01)
  %208 = fdiv double %206, %207
  %209 = call double @log(double noundef %208) #6
  %210 = fmul double %205, %209
  %211 = getelementptr inbounds i8, ptr %1, i64 184
  %212 = load double, ptr %211, align 8, !tbaa !50
  %213 = fmul double %210, %212
  %214 = getelementptr inbounds i8, ptr %1, i64 688
  %215 = load i32, ptr %214, align 8, !tbaa !51
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds double, ptr %3, i64 %216
  store double %213, ptr %217, align 8, !tbaa !23
  %218 = fcmp olt double %207, 0.000000e+00
  br i1 %218, label %219, label %226

219:                                              ; preds = %204
  %220 = fdiv double 1.000000e+00, %200
  store double %220, ptr %217, align 8, !tbaa !23
  %221 = getelementptr inbounds i8, ptr %1, i64 2900
  %222 = load i16, ptr %221, align 4, !tbaa !40
  %223 = icmp sgt i16 %222, 0
  br i1 %223, label %224, label %226

224:                                              ; preds = %219
  %225 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.130, double noundef %200)
  %.pre = load i32, ptr %214, align 8, !tbaa !51
  %.phi.trans.insert = sext i32 %.pre to i64
  %.phi.trans.insert191 = getelementptr inbounds double, ptr %3, i64 %.phi.trans.insert
  %.pre192 = load double, ptr %.phi.trans.insert191, align 8, !tbaa !23
  br label %226

226:                                              ; preds = %219, %224, %204
  %227 = phi double [ %220, %219 ], [ %.pre192, %224 ], [ %213, %204 ]
  %228 = load i32, ptr %80, align 8, !tbaa !30
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds double, ptr %3, i64 %229
  %231 = load double, ptr %230, align 8, !tbaa !23
  %232 = fmul double %231, 2.000000e+00
  %233 = call double @V_scf(ptr noundef nonnull %1, double noundef %227)
  %234 = call double @sqrt(double noundef %233) #6
  %235 = fmul double %232, %234
  %236 = getelementptr inbounds i8, ptr %1, i64 192
  %237 = load double, ptr %236, align 8, !tbaa !52
  %238 = fmul double %235, %237
  %239 = getelementptr inbounds i8, ptr %1, i64 692
  %240 = load i32, ptr %239, align 4, !tbaa !53
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds double, ptr %3, i64 %241
  store double %238, ptr %242, align 8, !tbaa !23
  %.pre194 = load i32, ptr %214, align 8, !tbaa !51
  %.pre195 = sext i32 %.pre194 to i64
  br label %257

243:                                              ; preds = %197
  %244 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.131)
  %245 = getelementptr inbounds i8, ptr %1, i64 184
  %246 = load double, ptr %245, align 8, !tbaa !50
  %247 = getelementptr inbounds i8, ptr %1, i64 688
  %248 = load i32, ptr %247, align 8, !tbaa !51
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds double, ptr %3, i64 %249
  store double %246, ptr %250, align 8, !tbaa !23
  %251 = getelementptr inbounds i8, ptr %1, i64 192
  %252 = load double, ptr %251, align 8, !tbaa !52
  %253 = getelementptr inbounds i8, ptr %1, i64 692
  %254 = load i32, ptr %253, align 4, !tbaa !53
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds double, ptr %3, i64 %255
  store double %252, ptr %256, align 8, !tbaa !23
  br label %257

257:                                              ; preds = %243, %226
  %.pre-phi = phi i64 [ %249, %243 ], [ %.pre195, %226 ]
  %258 = getelementptr inbounds double, ptr %3, i64 %.pre-phi
  %259 = load double, ptr %258, align 8, !tbaa !23
  %260 = call double @llvm.fabs.f64(double %259)
  %261 = fcmp ueq double %260, 0x7FF0000000000000
  br i1 %261, label %262, label %264

262:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.132, double noundef %259, double noundef %259) #6
  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.1, ptr noundef nonnull @.str.133, ptr noundef nonnull %14) #6
  %263 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %263, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2109, ptr noundef nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #6
  br label %323

264:                                              ; preds = %257, %193
  %265 = getelementptr inbounds i8, ptr %1, i64 842
  %266 = load i16, ptr %265, align 2, !tbaa !54
  %267 = call i32 @background_functions(ptr noundef nonnull %1, ptr noundef nonnull %3, i16 noundef signext %266, ptr noundef %2)
  %268 = icmp eq i32 %267, 1
  br i1 %268, label %269, label %271

269:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #6
  %270 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.134, ptr noundef nonnull %270) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %270, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2115, ptr noundef nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #6
  br label %323

271:                                              ; preds = %264
  %272 = getelementptr inbounds i8, ptr %1, i64 576
  %273 = load i32, ptr %272, align 8, !tbaa !55
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds double, ptr %2, i64 %274
  %276 = load double, ptr %275, align 8, !tbaa !23
  %277 = fadd double %276, -1.000000e+00
  %278 = call double @llvm.fabs.f64(double %277)
  %279 = getelementptr inbounds i8, ptr %0, i64 32
  %280 = load double, ptr %279, align 8, !tbaa !56
  %281 = fcmp ogt double %278, %280
  br i1 %281, label %282, label %284

282:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str.135, double noundef %276) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.136, ptr noundef nonnull %17) #6
  %283 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %283, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2122, ptr noundef nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #6
  br label %323

284:                                              ; preds = %271
  %285 = getelementptr inbounds i8, ptr %1, i64 468
  %286 = load i32, ptr %285, align 4, !tbaa !57
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds double, ptr %2, i64 %287
  %289 = load double, ptr %288, align 8, !tbaa !23
  %290 = fcmp ugt double %289, 0.000000e+00
  br i1 %290, label %293, label %291

291:                                              ; preds = %284
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.137, double noundef %289) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %20) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %20, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.138, ptr noundef nonnull %19) #6
  %292 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %292, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_initial_conditions, i32 noundef 2130, ptr noundef nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #6
  br label %323

293:                                              ; preds = %284
  %294 = fmul double %289, 2.000000e+00
  %295 = fdiv double 1.000000e+00, %294
  %296 = getelementptr inbounds i8, ptr %1, i64 696
  %297 = load i32, ptr %296, align 8, !tbaa !58
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds double, ptr %3, i64 %298
  store double %295, ptr %299, align 8, !tbaa !23
  %300 = load double, ptr %288, align 8, !tbaa !23
  %301 = fmul double %.1, %300
  %302 = fdiv double 1.000000e+00, %301
  %303 = getelementptr inbounds i8, ptr %1, i64 704
  %304 = load i32, ptr %303, align 8, !tbaa !59
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds double, ptr %3, i64 %305
  store double %302, ptr %306, align 8, !tbaa !23
  %307 = fdiv double %302, 0x3FFBB67AE8584CAA
  %308 = getelementptr inbounds i8, ptr %1, i64 700
  %309 = load i32, ptr %308, align 4, !tbaa !60
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds double, ptr %3, i64 %310
  store double %307, ptr %311, align 8, !tbaa !23
  %312 = getelementptr inbounds i8, ptr %1, i64 708
  %313 = load i32, ptr %312, align 4, !tbaa !61
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds double, ptr %3, i64 %314
  store double %.1, ptr %315, align 8, !tbaa !23
  %316 = fmul double %.1, 2.000000e+00
  %317 = load double, ptr %288, align 8, !tbaa !23
  %318 = fmul double %316, %317
  %319 = getelementptr inbounds i8, ptr %1, i64 712
  %320 = load i32, ptr %319, align 8, !tbaa !62
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds double, ptr %3, i64 %321
  store double %318, ptr %322, align 8, !tbaa !23
  br label %323

323:                                              ; preds = %293, %291, %282, %269, %262, %182, %.split.us.thread, %60
  %.0 = phi i32 [ 1, %60 ], [ 1, %.split.us.thread ], [ 1, %182 ], [ 1, %269 ], [ 1, %282 ], [ 1, %291 ], [ 0, %293 ], [ 1, %262 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  ret i32 %.0
}

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 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nofree 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 #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 8}
!6 = !{!"precision", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !8, i64 104, !7, i64 360, !10, i64 368, !7, i64 376, !10, i64 384, !10, i64 388, !7, i64 392, !10, i64 400, !7, i64 408, !10, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, i64 456, !7, i64 464, !7, i64 472, !7, i64 480, !7, i64 488, !7, i64 496, !7, i64 504, !7, i64 512, !7, i64 520, !7, i64 528, !7, i64 536, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !7, i64 576, !7, i64 584, !7, i64 592, !7, i64 600, !7, i64 608, !7, i64 616, !10, i64 624, !8, i64 628, !8, i64 884, !8, i64 1140, !7, i64 1400, !7, i64 1408, !7, i64 1416, !7, i64 1424, !7, i64 1432, !7, i64 1440, !7, i64 1448, !7, i64 1456, !7, i64 1464, !7, i64 1472, !7, i64 1480, !7, i64 1488, !7, i64 1496, !7, i64 1504, !7, i64 1512, !7, i64 1520, !10, i64 1528, !7, i64 1536, !7, 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, !7, i64 1584, !7, i64 1592, !7, i64 1600, !7, i64 1608, !7, i64 1616, !7, i64 1624, !7, i64 1632, !7, i64 1640, !10, i64 1648, !7, i64 1656, !7, i64 1664, !10, i64 1672, !7, i64 1680, !7, i64 1688, !10, i64 1696, !7, i64 1704, !10, i64 1712, !7, i64 1720, !7, i64 1728, !10, i64 1736, !7, i64 1744, !7, i64 1752, !7, i64 1760, !10, i64 1768, !7, i64 1776, !7, i64 1784, !7, i64 1792, !7, i64 1800, !7, i64 1808, !10, i64 1816, !7, i64 1824, !7, i64 1832, !7, i64 1840, !7, i64 1848, !7, i64 1856, !7, i64 1864, !7, i64 1872, !10, i64 1880, !7, i64 1888, !7, i64 1896, !7, i64 1904, !7, i64 1912, !7, i64 1920, !7, i64 1928, !7, i64 1936, !7, i64 1944, !7, i64 1952, !7, i64 1960, !7, i64 1968, !7, i64 1976, !7, i64 1984, !7, i64 1992, !7, i64 2000, !7, i64 2008, !7, i64 2016, !7, i64 2024, !7, i64 2032, !7, i64 2040, !7, i64 2048, !7, i64 2056, !7, i64 2064, !7, i64 2072, !7, i64 2080, !7, i64 2088, !7, i64 2096, !7, i64 2104, !7, i64 2112, !7, i64 2120, !7, i64 2128, !7, i64 2136, !7, i64 2144, !7, i64 2152, !7, i64 2160, !7, i64 2168, !7, i64 2176, !7, i64 2184, !7, i64 2192, !7, i64 2200, !7, i64 2208, !7, i64 2216, !7, i64 2224, !7, i64 2232, !7, i64 2240, !7, i64 2248, !10, i64 2256, !7, i64 2264, !7, i64 2272, !7, i64 2280, !7, i64 2288, !10, i64 2296, !7, i64 2304, !7, i64 2312, !10, i64 2320, !10, i64 2324, !10, i64 2328, !7, i64 2336, !7, i64 2344, !8, i64 2352}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 456}
!12 = !{!"background", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !13, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !13, i64 176, !7, i64 184, !7, i64 192, !14, i64 200, !10, i64 208, !10, i64 212, !7, i64 216, !10, i64 224, !14, i64 232, !14, i64 240, !7, i64 248, !14, i64 256, !7, i64 264, !14, i64 272, !7, i64 280, !14, i64 288, !7, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !10, i64 360, !14, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, 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, !14, i64 632, !14, i64 640, !14, i64 648, !14, i64 656, !14, 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, !13, i64 724, !13, i64 726, !13, i64 728, !13, i64 730, !13, i64 732, !13, i64 734, !13, i64 736, !13, i64 738, !13, i64 740, !13, i64 742, !13, i64 744, !14, i64 752, !14, i64 760, !14, i64 768, !14, i64 776, !14, i64 784, !14, i64 792, !14, i64 800, !14, i64 808, !14, i64 816, !14, i64 824, !14, i64 832, !13, i64 840, !13, i64 842, !13, i64 844, !13, i64 846, !13, i64 848, !13, i64 850, !8, i64 852, !13, i64 2900, !8, i64 2902}
!13 = !{!"short", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!12, !13, i64 732}
!16 = !{!12, !10, i64 224}
!17 = !{!12, !14, i64 776}
!18 = !{!14, !14, i64 0}
!19 = !{!12, !14, i64 784}
!20 = !{!12, !14, i64 816}
!21 = !{!10, !10, i64 0}
!22 = !{!12, !14, i64 232}
!23 = !{!7, !7, i64 0}
!24 = !{!12, !14, i64 832}
!25 = !{!6, !7, i64 80}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27, !29}
!29 = !{!"llvm.loop.unswitch.partial.disable"}
!30 = !{!12, !10, i64 672}
!31 = !{!12, !7, i64 8}
!32 = !{!12, !13, i64 738}
!33 = !{!12, !7, i64 112}
!34 = !{!12, !13, i64 740}
!35 = !{!12, !7, i64 120}
!36 = !{!12, !7, i64 0}
!37 = !{!12, !13, i64 726}
!38 = !{!12, !7, i64 160}
!39 = !{!12, !10, i64 676}
!40 = !{!12, !13, i64 2900}
!41 = !{!12, !13, i64 728}
!42 = !{!12, !7, i64 152}
!43 = !{!12, !10, i64 680}
!44 = !{!12, !13, i64 736}
!45 = !{!12, !7, i64 48}
!46 = !{!12, !10, i64 684}
!47 = !{!12, !13, i64 730}
!48 = !{!12, !14, i64 200}
!49 = !{!12, !13, i64 176}
!50 = !{!12, !7, i64 184}
!51 = !{!12, !10, i64 688}
!52 = !{!12, !7, i64 192}
!53 = !{!12, !10, i64 692}
!54 = !{!12, !13, i64 842}
!55 = !{!12, !10, i64 576}
!56 = !{!6, !7, i64 32}
!57 = !{!12, !10, i64 468}
!58 = !{!12, !10, i64 696}
!59 = !{!12, !10, i64 704}
!60 = !{!12, !10, i64 700}
!61 = !{!12, !10, i64 708}
!62 = !{!12, !10, i64 712}


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