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

; 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.nonlinear_workspace = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double }
%struct.perturbs = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i32, i32, i32, double, i32, i32, [100 x double], [100 x double], i32, i32, i32, i32, i32, double, i32, i32, [30 x double], double, double, double, ptr, ptr, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, double, double, ptr, i32, double, double, double, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, [8000 x i8], [8000 x i8], [8000 x i8], i32, i32, i32, [30 x ptr], [30 x ptr], [30 x ptr], [30 x i32], [30 x i32], [30 x i32], i16, [2048 x i8] }
%struct.nonlinear = type { i32, i32, i32, double, double, double, i16, i32, i32, i32, ptr, i16, i16, i32, i32, i32, i32, i32, i16, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, i16, [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.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [35 x i8], align 1
@stdout = external global ptr, align 8
@.str.53 = external hidden unnamed_addr constant [208 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [204 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [39 x i8], align 1
@__func__.nonlinear_init = external hidden unnamed_addr constant [15 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [209 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [142 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [200 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [194 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [474 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

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

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

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

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

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

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

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

; 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 i32 @nonlinear_sigmas_at_z(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef) #5

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

; Function Attrs: nounwind uwtable
define dso_local i32 @nonlinear_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #5 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i16, align 2
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca %struct.nonlinear_workspace, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %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 i32, align 4
  %37 = alloca [2048 x i8], align 16
  %38 = alloca i32, align 4
  %39 = alloca [2048 x i8], align 16
  %40 = alloca i32, align 4
  %41 = alloca [2048 x i8], align 16
  %42 = alloca i32, align 4
  %43 = alloca [2048 x i8], align 16
  %44 = alloca i32, align 4
  %45 = alloca [2048 x i8], align 16
  %46 = alloca i32, align 4
  %47 = alloca [2048 x i8], align 16
  %48 = alloca [2048 x i8], align 16
  %49 = alloca [2048 x i8], align 16
  %50 = alloca [2048 x i8], align 16
  %51 = alloca [2048 x i8], align 16
  %52 = alloca [2048 x i8], align 16
  %53 = alloca [2048 x i8], align 16
  %54 = alloca [2048 x i8], align 16
  %55 = alloca [2048 x i8], align 16
  %56 = alloca i32, align 4
  %57 = alloca [2048 x i8], align 16
  %58 = alloca [2048 x i8], align 16
  %59 = alloca [2048 x i8], align 16
  %60 = alloca [2048 x i8], align 16
  %61 = alloca [2048 x i8], align 16
  %62 = alloca [2048 x i8], align 16
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #6
  store i16 0, ptr %23, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 88, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.perturbs, ptr %63, i32 0, i32 2
  %65 = load i16, ptr %64, align 4, !tbaa !11
  %66 = sext i16 %65 to i32
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %72

68:                                               ; preds = %6
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.nonlinear, ptr %69, i32 0, i32 0
  store i32 0, ptr %70, align 8, !tbaa !15
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
  store i32 0, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

72:                                               ; preds = %6
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.perturbs, ptr %73, i32 0, i32 19
  %75 = load i16, ptr %74, align 2, !tbaa !17
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.nonlinear, ptr %76, i32 0, i32 18
  store i16 %75, ptr %77, align 8, !tbaa !18
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.nonlinear, ptr %78, i32 0, i32 18
  %80 = load i16, ptr %79, align 8, !tbaa !18
  %81 = sext i16 %80 to i32
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %83, label %97

83:                                               ; preds = %72
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.nonlinear, ptr %84, i32 0, i32 0
  %86 = load i32, ptr %85, align 8, !tbaa !15
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %88, label %97

88:                                               ; preds = %83
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.nonlinear, ptr %89, i32 0, i32 44
  %91 = load i16, ptr %90, align 8, !tbaa !19
  %92 = sext i16 %91 to i32
  %93 = icmp sgt i32 %92, 0
  br i1 %93, label %94, label %96

94:                                               ; preds = %88
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.51)
  br label %96

96:                                               ; preds = %94, %88
  store i32 0, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

97:                                               ; preds = %83, %72
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.nonlinear, ptr %98, i32 0, i32 44
  %100 = load i16, ptr %99, align 8, !tbaa !19
  %101 = sext i16 %100 to i32
  %102 = icmp sgt i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %97
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.52)
  br label %105

105:                                              ; preds = %103, %97
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.nonlinear, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 8, !tbaa !15
  %110 = icmp ugt i32 %109, 0
  br i1 %110, label %111, label %156

111:                                              ; preds = %106
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.background, ptr %112, i32 0, i32 123
  %114 = load i16, ptr %113, align 4, !tbaa !20
  %115 = icmp ne i16 %114, 0
  br i1 %115, label %116, label %147

116:                                              ; preds = %111
  store i32 0, ptr %14, align 4, !tbaa !22
  br label %117

117:                                              ; preds = %143, %116
  %118 = load i32, ptr %14, align 4, !tbaa !22
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.background, ptr %119, i32 0, i32 29
  %121 = load i32, ptr %120, align 8, !tbaa !23
  %122 = icmp slt i32 %118, %121
  br i1 %122, label %123, label %146

123:                                              ; preds = %117
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.background, ptr %124, i32 0, i32 47
  %126 = load ptr, ptr %125, align 8, !tbaa !24
  %127 = load i32, ptr %14, align 4, !tbaa !22
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds double, ptr %126, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !25
  %131 = fcmp ogt double %130, 1.000000e+01
  br i1 %131, label %132, label %142

132:                                              ; preds = %123
  %133 = load ptr, ptr @stdout, align 8, !tbaa !5
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.background, ptr %134, i32 0, i32 47
  %136 = load ptr, ptr %135, align 8, !tbaa !24
  %137 = load i32, ptr %14, align 4, !tbaa !22
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds double, ptr %136, i64 %138
  %140 = load double, ptr %139, align 8, !tbaa !25
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.53, double noundef %140) #6
  br label %142

142:                                              ; preds = %132, %123
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %14, align 4, !tbaa !22
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %14, align 4, !tbaa !22
  br label %117, !llvm.loop !26

146:                                              ; preds = %117
  br label %147

147:                                              ; preds = %146, %111
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.background, ptr %148, i32 0, i32 128
  %150 = load i16, ptr %149, align 2, !tbaa !28
  %151 = icmp ne i16 %150, 0
  br i1 %151, label %152, label %155

152:                                              ; preds = %147
  %153 = load ptr, ptr @stdout, align 8, !tbaa !5
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %153, ptr noundef @.str.54) #6
  br label %155

155:                                              ; preds = %152, %147
  br label %156

156:                                              ; preds = %155, %106
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = load ptr, ptr %12, align 8, !tbaa !5
  %161 = load ptr, ptr %13, align 8, !tbaa !5
  %162 = call i32 @nonlinear_indices(ptr noundef %157, ptr noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161)
  %163 = icmp eq i32 %162, 1
  br i1 %163, label %164, label %173

164:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #6
  %165 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.nonlinear, ptr %166, i32 0, i32 45
  %168 = getelementptr inbounds [2048 x i8], ptr %167, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %165, ptr noundef @.str.4, ptr noundef @.str.55, ptr noundef %168)
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.nonlinear, ptr %169, i32 0, i32 45
  %171 = getelementptr inbounds [2048 x i8], ptr %170, i64 0, i64 0
  %172 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %171, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1286, ptr noundef %172)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

173:                                              ; preds = %156
  store i32 0, ptr %16, align 4, !tbaa !22
  br label %174

174:                                              ; preds = %340, %173
  %175 = load i32, ptr %16, align 4, !tbaa !22
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.nonlinear, ptr %176, i32 0, i32 23
  %178 = load i32, ptr %177, align 8, !tbaa !29
  %179 = icmp slt i32 %175, %178
  br i1 %179, label %180, label %343

180:                                              ; preds = %174
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.perturbs, ptr %181, i32 0, i32 159
  %183 = load i32, ptr %182, align 8, !tbaa !30
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.perturbs, ptr %184, i32 0, i32 169
  %186 = load i32, ptr %185, align 8, !tbaa !31
  %187 = sub nsw i32 %183, %186
  %188 = load i32, ptr %16, align 4, !tbaa !22
  %189 = add nsw i32 %187, %188
  store i32 %189, ptr %17, align 4, !tbaa !22
  store i32 0, ptr %19, align 4, !tbaa !22
  br label %190

190:                                              ; preds = %336, %180
  %191 = load i32, ptr %19, align 4, !tbaa !22
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.nonlinear, ptr %192, i32 0, i32 17
  %194 = load i32, ptr %193, align 4, !tbaa !32
  %195 = icmp slt i32 %191, %194
  br i1 %195, label %196, label %339

196:                                              ; preds = %190
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = load ptr, ptr %12, align 8, !tbaa !5
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = load i32, ptr %19, align 4, !tbaa !22
  %202 = load i32, ptr %17, align 4, !tbaa !22
  %203 = load ptr, ptr %13, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.nonlinear, ptr %203, i32 0, i32 19
  %205 = load i32, ptr %204, align 4, !tbaa !33
  %206 = load ptr, ptr %13, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.nonlinear, ptr %206, i32 0, i32 26
  %208 = load ptr, ptr %207, align 8, !tbaa !34
  %209 = load i32, ptr %19, align 4, !tbaa !22
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds ptr, ptr %208, i64 %210
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = load i32, ptr %16, align 4, !tbaa !22
  %214 = load ptr, ptr %13, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.nonlinear, ptr %214, i32 0, i32 19
  %216 = load i32, ptr %215, align 4, !tbaa !33
  %217 = mul nsw i32 %213, %216
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds double, ptr %212, i64 %218
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.nonlinear, ptr %220, i32 0, i32 24
  %222 = load ptr, ptr %221, align 8, !tbaa !35
  %223 = load i32, ptr %19, align 4, !tbaa !22
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds ptr, ptr %222, i64 %224
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  %227 = load i32, ptr %16, align 4, !tbaa !22
  %228 = load ptr, ptr %13, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.nonlinear, ptr %228, i32 0, i32 19
  %230 = load i32, ptr %229, align 4, !tbaa !33
  %231 = mul nsw i32 %227, %230
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.nonlinear, ptr %232, i32 0, i32 9
  %234 = load i32, ptr %233, align 4, !tbaa !36
  %235 = mul nsw i32 %231, %234
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds double, ptr %226, i64 %236
  %238 = call i32 @nonlinear_pk_linear(ptr noundef %197, ptr noundef %198, ptr noundef %199, ptr noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %205, ptr noundef %219, ptr noundef %237)
  %239 = icmp eq i32 %238, 1
  br i1 %239, label %240, label %249

240:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #6
  %241 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  %242 = load ptr, ptr %13, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.nonlinear, ptr %242, i32 0, i32 45
  %244 = getelementptr inbounds [2048 x i8], ptr %243, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %241, ptr noundef @.str.4, ptr noundef @.str.56, ptr noundef %244)
  %245 = load ptr, ptr %13, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.nonlinear, ptr %245, i32 0, i32 45
  %247 = getelementptr inbounds [2048 x i8], ptr %246, i64 0, i64 0
  %248 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %247, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1323, ptr noundef %248)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

249:                                              ; preds = %196
  %250 = load ptr, ptr %13, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.nonlinear, ptr %250, i32 0, i32 23
  %252 = load i32, ptr %251, align 8, !tbaa !29
  %253 = icmp sgt i32 %252, 1
  br i1 %253, label %254, label %335

254:                                              ; preds = %249
  %255 = load ptr, ptr %13, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.nonlinear, ptr %255, i32 0, i32 22
  %257 = load ptr, ptr %256, align 8, !tbaa !37
  %258 = load ptr, ptr %13, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.nonlinear, ptr %258, i32 0, i32 23
  %260 = load i32, ptr %259, align 8, !tbaa !29
  %261 = load ptr, ptr %13, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.nonlinear, ptr %261, i32 0, i32 26
  %263 = load ptr, ptr %262, align 8, !tbaa !34
  %264 = load i32, ptr %19, align 4, !tbaa !22
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds ptr, ptr %263, i64 %265
  %267 = load ptr, ptr %266, align 8, !tbaa !5
  %268 = load ptr, ptr %13, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.nonlinear, ptr %268, i32 0, i32 19
  %270 = load i32, ptr %269, align 4, !tbaa !33
  %271 = load ptr, ptr %13, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.nonlinear, ptr %271, i32 0, i32 27
  %273 = load ptr, ptr %272, align 8, !tbaa !38
  %274 = load i32, ptr %19, align 4, !tbaa !22
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds ptr, ptr %273, i64 %275
  %277 = load ptr, ptr %276, align 8, !tbaa !5
  %278 = load ptr, ptr %13, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.nonlinear, ptr %278, i32 0, i32 45
  %280 = getelementptr inbounds [2048 x i8], ptr %279, i64 0, i64 0
  %281 = call i32 @array_spline_table_lines(ptr noundef %257, i32 noundef %260, ptr noundef %267, i32 noundef %270, ptr noundef %277, i16 noundef signext 1, ptr noundef %280)
  %282 = icmp eq i32 %281, 1
  br i1 %282, label %283, label %292

283:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #6
  %284 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.nonlinear, ptr %285, i32 0, i32 45
  %287 = getelementptr inbounds [2048 x i8], ptr %286, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %284, ptr noundef @.str.4, ptr noundef @.str.57, ptr noundef %287)
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.nonlinear, ptr %288, i32 0, i32 45
  %290 = getelementptr inbounds [2048 x i8], ptr %289, i64 0, i64 0
  %291 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %290, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1340, ptr noundef %291)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

292:                                              ; preds = %254
  %293 = load ptr, ptr %13, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.nonlinear, ptr %293, i32 0, i32 22
  %295 = load ptr, ptr %294, align 8, !tbaa !37
  %296 = load ptr, ptr %13, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.nonlinear, ptr %296, i32 0, i32 23
  %298 = load i32, ptr %297, align 8, !tbaa !29
  %299 = load ptr, ptr %13, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.nonlinear, ptr %299, i32 0, i32 24
  %301 = load ptr, ptr %300, align 8, !tbaa !35
  %302 = load i32, ptr %19, align 4, !tbaa !22
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds ptr, ptr %301, i64 %303
  %305 = load ptr, ptr %304, align 8, !tbaa !5
  %306 = load ptr, ptr %13, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.nonlinear, ptr %306, i32 0, i32 19
  %308 = load i32, ptr %307, align 4, !tbaa !33
  %309 = load ptr, ptr %13, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.nonlinear, ptr %309, i32 0, i32 9
  %311 = load i32, ptr %310, align 4, !tbaa !36
  %312 = mul nsw i32 %308, %311
  %313 = load ptr, ptr %13, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.nonlinear, ptr %313, i32 0, i32 25
  %315 = load ptr, ptr %314, align 8, !tbaa !39
  %316 = load i32, ptr %19, align 4, !tbaa !22
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds ptr, ptr %315, i64 %317
  %319 = load ptr, ptr %318, align 8, !tbaa !5
  %320 = load ptr, ptr %13, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.nonlinear, ptr %320, i32 0, i32 45
  %322 = getelementptr inbounds [2048 x i8], ptr %321, i64 0, i64 0
  %323 = call i32 @array_spline_table_lines(ptr noundef %295, i32 noundef %298, ptr noundef %305, i32 noundef %312, ptr noundef %319, i16 noundef signext 1, ptr noundef %322)
  %324 = icmp eq i32 %323, 1
  br i1 %324, label %325, label %334

325:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 2048, ptr %34) #6
  %326 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  %327 = load ptr, ptr %13, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.nonlinear, ptr %327, i32 0, i32 45
  %329 = getelementptr inbounds [2048 x i8], ptr %328, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %326, ptr noundef @.str.4, ptr noundef @.str.58, ptr noundef %329)
  %330 = load ptr, ptr %13, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.nonlinear, ptr %330, i32 0, i32 45
  %332 = getelementptr inbounds [2048 x i8], ptr %331, i64 0, i64 0
  %333 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %332, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1350, ptr noundef %333)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %34) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

334:                                              ; preds = %292
  br label %335

335:                                              ; preds = %334, %249
  br label %336

336:                                              ; preds = %335
  %337 = load i32, ptr %19, align 4, !tbaa !22
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %19, align 4, !tbaa !22
  br label %190, !llvm.loop !40

339:                                              ; preds = %190
  br label %340

340:                                              ; preds = %339
  %341 = load i32, ptr %16, align 4, !tbaa !22
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr %16, align 4, !tbaa !22
  br label %174, !llvm.loop !41

343:                                              ; preds = %174
  store i32 0, ptr %19, align 4, !tbaa !22
  br label %344

344:                                              ; preds = %377, %343
  %345 = load i32, ptr %19, align 4, !tbaa !22
  %346 = load ptr, ptr %13, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.nonlinear, ptr %346, i32 0, i32 17
  %348 = load i32, ptr %347, align 4, !tbaa !32
  %349 = icmp slt i32 %345, %348
  br i1 %349, label %350, label %380

350:                                              ; preds = %344
  %351 = load ptr, ptr %8, align 8, !tbaa !5
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = load ptr, ptr %13, align 8, !tbaa !5
  %354 = load ptr, ptr %9, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.background, ptr %354, i32 0, i32 42
  %356 = load double, ptr %355, align 8, !tbaa !42
  %357 = fdiv double 8.000000e+00, %356
  %358 = load i32, ptr %19, align 4, !tbaa !22
  %359 = load ptr, ptr %13, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.nonlinear, ptr %359, i32 0, i32 30
  %361 = load ptr, ptr %360, align 8, !tbaa !43
  %362 = load i32, ptr %19, align 4, !tbaa !22
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds double, ptr %361, i64 %363
  %365 = call i32 @nonlinear_sigmas_at_z(ptr noundef %351, ptr noundef %352, ptr noundef %353, double noundef %357, double noundef 0.000000e+00, i32 noundef %358, i32 noundef 0, ptr noundef %364)
  %366 = icmp eq i32 %365, 1
  br i1 %366, label %367, label %376

367:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 2048, ptr %35) #6
  %368 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  %369 = load ptr, ptr %13, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.nonlinear, ptr %369, i32 0, i32 45
  %371 = getelementptr inbounds [2048 x i8], ptr %370, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %368, ptr noundef @.str.4, ptr noundef @.str.59, ptr noundef %371)
  %372 = load ptr, ptr %13, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.nonlinear, ptr %372, i32 0, i32 45
  %374 = getelementptr inbounds [2048 x i8], ptr %373, i64 0, i64 0
  %375 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %374, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1371, ptr noundef %375)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %35) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

376:                                              ; preds = %350
  br label %377

377:                                              ; preds = %376
  %378 = load i32, ptr %19, align 4, !tbaa !22
  %379 = add nsw i32 %378, 1
  store i32 %379, ptr %19, align 4, !tbaa !22
  br label %344, !llvm.loop !44

380:                                              ; preds = %344
  %381 = load ptr, ptr %13, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.nonlinear, ptr %381, i32 0, i32 44
  %383 = load i16, ptr %382, align 8, !tbaa !19
  %384 = sext i16 %383 to i32
  %385 = icmp sgt i32 %384, 0
  br i1 %385, label %386, label %451

386:                                              ; preds = %380
  %387 = load ptr, ptr %13, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.nonlinear, ptr %387, i32 0, i32 11
  %389 = load i16, ptr %388, align 8, !tbaa !45
  %390 = sext i16 %389 to i32
  %391 = icmp eq i32 %390, 1
  br i1 %391, label %392, label %418

392:                                              ; preds = %386
  %393 = load ptr, ptr @stdout, align 8, !tbaa !5
  %394 = load ptr, ptr %13, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.nonlinear, ptr %394, i32 0, i32 30
  %396 = load ptr, ptr %395, align 8, !tbaa !43
  %397 = load ptr, ptr %13, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.nonlinear, ptr %397, i32 0, i32 13
  %399 = load i32, ptr %398, align 4, !tbaa !46
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds double, ptr %396, i64 %400
  %402 = load double, ptr %401, align 8, !tbaa !25
  %403 = load ptr, ptr %13, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.nonlinear, ptr %403, i32 0, i32 20
  %405 = load ptr, ptr %404, align 8, !tbaa !47
  %406 = load ptr, ptr %13, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.nonlinear, ptr %406, i32 0, i32 19
  %408 = load i32, ptr %407, align 4, !tbaa !33
  %409 = sub nsw i32 %408, 1
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds double, ptr %405, i64 %410
  %412 = load double, ptr %411, align 8, !tbaa !25
  %413 = load ptr, ptr %9, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.background, ptr %413, i32 0, i32 42
  %415 = load double, ptr %414, align 8, !tbaa !42
  %416 = fdiv double %412, %415
  %417 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %393, ptr noundef @.str.60, double noundef %402, double noundef %416) #6
  br label %418

418:                                              ; preds = %392, %386
  %419 = load ptr, ptr %13, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.nonlinear, ptr %419, i32 0, i32 12
  %421 = load i16, ptr %420, align 2, !tbaa !48
  %422 = sext i16 %421 to i32
  %423 = icmp eq i32 %422, 1
  br i1 %423, label %424, label %450

424:                                              ; preds = %418
  %425 = load ptr, ptr @stdout, align 8, !tbaa !5
  %426 = load ptr, ptr %13, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.nonlinear, ptr %426, i32 0, i32 30
  %428 = load ptr, ptr %427, align 8, !tbaa !43
  %429 = load ptr, ptr %13, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.nonlinear, ptr %429, i32 0, i32 14
  %431 = load i32, ptr %430, align 8, !tbaa !49
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds double, ptr %428, i64 %432
  %434 = load double, ptr %433, align 8, !tbaa !25
  %435 = load ptr, ptr %13, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.nonlinear, ptr %435, i32 0, i32 20
  %437 = load ptr, ptr %436, align 8, !tbaa !47
  %438 = load ptr, ptr %13, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.nonlinear, ptr %438, i32 0, i32 19
  %440 = load i32, ptr %439, align 4, !tbaa !33
  %441 = sub nsw i32 %440, 1
  %442 = sext i32 %441 to i64
  %443 = getelementptr inbounds double, ptr %437, i64 %442
  %444 = load double, ptr %443, align 8, !tbaa !25
  %445 = load ptr, ptr %9, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.background, ptr %445, i32 0, i32 42
  %447 = load double, ptr %446, align 8, !tbaa !42
  %448 = fdiv double %444, %447
  %449 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %425, ptr noundef @.str.61, double noundef %434, double noundef %448) #6
  br label %450

450:                                              ; preds = %424, %418
  br label %451

451:                                              ; preds = %450, %380
  %452 = load ptr, ptr %13, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.nonlinear, ptr %452, i32 0, i32 0
  %454 = load i32, ptr %453, align 8, !tbaa !15
  %455 = icmp eq i32 %454, 0
  br i1 %455, label %456, label %465

456:                                              ; preds = %451
  %457 = load ptr, ptr %13, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.nonlinear, ptr %457, i32 0, i32 44
  %459 = load i16, ptr %458, align 8, !tbaa !19
  %460 = sext i16 %459 to i32
  %461 = icmp sgt i32 %460, 0
  br i1 %461, label %462, label %464

462:                                              ; preds = %456
  %463 = call i32 (ptr, ...) @printf(ptr noundef @.str.62)
  br label %464

464:                                              ; preds = %462, %456
  br label %1347

465:                                              ; preds = %451
  %466 = load ptr, ptr %13, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.nonlinear, ptr %466, i32 0, i32 0
  %468 = load i32, ptr %467, align 8, !tbaa !15
  %469 = icmp eq i32 %468, 1
  br i1 %469, label %475, label %470

470:                                              ; preds = %465
  %471 = load ptr, ptr %13, align 8, !tbaa !5
  %472 = getelementptr inbounds %struct.nonlinear, ptr %471, i32 0, i32 0
  %473 = load i32, ptr %472, align 8, !tbaa !15
  %474 = icmp eq i32 %473, 2
  br i1 %474, label %475, label %1335

475:                                              ; preds = %470, %465
  %476 = load ptr, ptr %13, align 8, !tbaa !5
  %477 = getelementptr inbounds %struct.nonlinear, ptr %476, i32 0, i32 44
  %478 = load i16, ptr %477, align 8, !tbaa !19
  %479 = sext i16 %478 to i32
  %480 = icmp sgt i32 %479, 0
  br i1 %480, label %481, label %488

481:                                              ; preds = %475
  %482 = load ptr, ptr %13, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.nonlinear, ptr %482, i32 0, i32 0
  %484 = load i32, ptr %483, align 8, !tbaa !15
  %485 = icmp eq i32 %484, 1
  br i1 %485, label %486, label %488

486:                                              ; preds = %481
  %487 = call i32 (ptr, ...) @printf(ptr noundef @.str.63)
  br label %488

488:                                              ; preds = %486, %481, %475
  %489 = load ptr, ptr %13, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.nonlinear, ptr %489, i32 0, i32 44
  %491 = load i16, ptr %490, align 8, !tbaa !19
  %492 = sext i16 %491 to i32
  %493 = icmp sgt i32 %492, 0
  br i1 %493, label %494, label %501

494:                                              ; preds = %488
  %495 = load ptr, ptr %13, align 8, !tbaa !5
  %496 = getelementptr inbounds %struct.nonlinear, ptr %495, i32 0, i32 0
  %497 = load i32, ptr %496, align 8, !tbaa !15
  %498 = icmp eq i32 %497, 2
  br i1 %498, label %499, label %501

499:                                              ; preds = %494
  %500 = call i32 (ptr, ...) @printf(ptr noundef @.str.64)
  br label %501

501:                                              ; preds = %499, %494, %488
  %502 = load ptr, ptr %13, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.nonlinear, ptr %502, i32 0, i32 19
  %504 = load i32, ptr %503, align 4, !tbaa !33
  %505 = sext i32 %504 to i64
  %506 = mul i64 %505, 8
  %507 = call noalias ptr @malloc(i64 noundef %506) #7
  store ptr %507, ptr %20, align 8, !tbaa !5
  %508 = load ptr, ptr %20, align 8, !tbaa !5
  %509 = icmp eq ptr %508, null
  br i1 %509, label %510, label %523

510:                                              ; preds = %501
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %511 = load ptr, ptr %13, align 8, !tbaa !5
  %512 = getelementptr inbounds %struct.nonlinear, ptr %511, i32 0, i32 19
  %513 = load i32, ptr %512, align 4, !tbaa !33
  %514 = sext i32 %513 to i64
  %515 = mul i64 %514, 8
  %516 = trunc i64 %515 to i32
  store i32 %516, ptr %36, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %37) #6
  %517 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  %518 = load i32, ptr %36, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %517, ptr noundef @.str.15, ptr noundef @.str.65, i32 noundef %518)
  %519 = load ptr, ptr %13, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.nonlinear, ptr %519, i32 0, i32 45
  %521 = getelementptr inbounds [2048 x i8], ptr %520, i64 0, i64 0
  %522 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %521, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1409, ptr noundef %522)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %37) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %1348

523:                                              ; preds = %501
  %524 = load ptr, ptr %13, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.nonlinear, ptr %524, i32 0, i32 19
  %526 = load i32, ptr %525, align 4, !tbaa !33
  %527 = sext i32 %526 to i64
  %528 = mul i64 %527, 8
  %529 = call noalias ptr @malloc(i64 noundef %528) #7
  store ptr %529, ptr %21, align 8, !tbaa !5
  %530 = load ptr, ptr %21, align 8, !tbaa !5
  %531 = icmp eq ptr %530, null
  br i1 %531, label %532, label %545

532:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %533 = load ptr, ptr %13, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.nonlinear, ptr %533, i32 0, i32 19
  %535 = load i32, ptr %534, align 4, !tbaa !33
  %536 = sext i32 %535 to i64
  %537 = mul i64 %536, 8
  %538 = trunc i64 %537 to i32
  store i32 %538, ptr %38, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %39) #6
  %539 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  %540 = load i32, ptr %38, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %539, ptr noundef @.str.15, ptr noundef @.str.66, i32 noundef %540)
  %541 = load ptr, ptr %13, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.nonlinear, ptr %541, i32 0, i32 45
  %543 = getelementptr inbounds [2048 x i8], ptr %542, i64 0, i64 0
  %544 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %543, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1413, ptr noundef %544)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %39) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br label %1348

545:                                              ; preds = %523
  %546 = load ptr, ptr %13, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.nonlinear, ptr %546, i32 0, i32 19
  %548 = load i32, ptr %547, align 4, !tbaa !33
  %549 = sext i32 %548 to i64
  %550 = mul i64 %549, 8
  %551 = call noalias ptr @malloc(i64 noundef %550) #7
  store ptr %551, ptr %22, align 8, !tbaa !5
  %552 = load ptr, ptr %22, align 8, !tbaa !5
  %553 = icmp eq ptr %552, null
  br i1 %553, label %554, label %567

554:                                              ; preds = %545
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  %555 = load ptr, ptr %13, align 8, !tbaa !5
  %556 = getelementptr inbounds %struct.nonlinear, ptr %555, i32 0, i32 19
  %557 = load i32, ptr %556, align 4, !tbaa !33
  %558 = sext i32 %557 to i64
  %559 = mul i64 %558, 8
  %560 = trunc i64 %559 to i32
  store i32 %560, ptr %40, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %41) #6
  %561 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  %562 = load i32, ptr %40, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %561, ptr noundef @.str.15, ptr noundef @.str.67, i32 noundef %562)
  %563 = load ptr, ptr %13, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.nonlinear, ptr %563, i32 0, i32 45
  %565 = getelementptr inbounds [2048 x i8], ptr %564, i64 0, i64 0
  %566 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %565, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1417, ptr noundef %566)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %41) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  br label %1348

567:                                              ; preds = %545
  store i32 0, ptr %19, align 4, !tbaa !22
  br label %568

568:                                              ; preds = %665, %567
  %569 = load i32, ptr %19, align 4, !tbaa !22
  %570 = load ptr, ptr %13, align 8, !tbaa !5
  %571 = getelementptr inbounds %struct.nonlinear, ptr %570, i32 0, i32 17
  %572 = load i32, ptr %571, align 4, !tbaa !32
  %573 = icmp slt i32 %569, %572
  br i1 %573, label %574, label %668

574:                                              ; preds = %568
  %575 = load ptr, ptr %13, align 8, !tbaa !5
  %576 = getelementptr inbounds %struct.nonlinear, ptr %575, i32 0, i32 19
  %577 = load i32, ptr %576, align 4, !tbaa !33
  %578 = sext i32 %577 to i64
  %579 = mul i64 %578, 8
  %580 = call noalias ptr @malloc(i64 noundef %579) #7
  %581 = load ptr, ptr %20, align 8, !tbaa !5
  %582 = load i32, ptr %19, align 4, !tbaa !22
  %583 = sext i32 %582 to i64
  %584 = getelementptr inbounds ptr, ptr %581, i64 %583
  store ptr %580, ptr %584, align 8, !tbaa !5
  %585 = load ptr, ptr %20, align 8, !tbaa !5
  %586 = load i32, ptr %19, align 4, !tbaa !22
  %587 = sext i32 %586 to i64
  %588 = getelementptr inbounds ptr, ptr %585, i64 %587
  %589 = load ptr, ptr %588, align 8, !tbaa !5
  %590 = icmp eq ptr %589, null
  br i1 %590, label %591, label %604

591:                                              ; preds = %574
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  %592 = load ptr, ptr %13, align 8, !tbaa !5
  %593 = getelementptr inbounds %struct.nonlinear, ptr %592, i32 0, i32 19
  %594 = load i32, ptr %593, align 4, !tbaa !33
  %595 = sext i32 %594 to i64
  %596 = mul i64 %595, 8
  %597 = trunc i64 %596 to i32
  store i32 %597, ptr %42, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %43) #6
  %598 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  %599 = load i32, ptr %42, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %598, ptr noundef @.str.15, ptr noundef @.str.68, i32 noundef %599)
  %600 = load ptr, ptr %13, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.nonlinear, ptr %600, i32 0, i32 45
  %602 = getelementptr inbounds [2048 x i8], ptr %601, i64 0, i64 0
  %603 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %602, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1420, ptr noundef %603)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %43) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  br label %1348

604:                                              ; preds = %574
  %605 = load ptr, ptr %13, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.nonlinear, ptr %605, i32 0, i32 31
  %607 = load i32, ptr %606, align 8, !tbaa !50
  %608 = sext i32 %607 to i64
  %609 = mul i64 %608, 8
  %610 = call noalias ptr @malloc(i64 noundef %609) #7
  %611 = load ptr, ptr %21, align 8, !tbaa !5
  %612 = load i32, ptr %19, align 4, !tbaa !22
  %613 = sext i32 %612 to i64
  %614 = getelementptr inbounds ptr, ptr %611, i64 %613
  store ptr %610, ptr %614, align 8, !tbaa !5
  %615 = load ptr, ptr %21, align 8, !tbaa !5
  %616 = load i32, ptr %19, align 4, !tbaa !22
  %617 = sext i32 %616 to i64
  %618 = getelementptr inbounds ptr, ptr %615, i64 %617
  %619 = load ptr, ptr %618, align 8, !tbaa !5
  %620 = icmp eq ptr %619, null
  br i1 %620, label %621, label %634

621:                                              ; preds = %604
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %622 = load ptr, ptr %13, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.nonlinear, ptr %622, i32 0, i32 31
  %624 = load i32, ptr %623, align 8, !tbaa !50
  %625 = sext i32 %624 to i64
  %626 = mul i64 %625, 8
  %627 = trunc i64 %626 to i32
  store i32 %627, ptr %44, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %45) #6
  %628 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  %629 = load i32, ptr %44, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %628, ptr noundef @.str.15, ptr noundef @.str.69, i32 noundef %629)
  %630 = load ptr, ptr %13, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.nonlinear, ptr %630, i32 0, i32 45
  %632 = getelementptr inbounds [2048 x i8], ptr %631, i64 0, i64 0
  %633 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %632, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1421, ptr noundef %633)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %45) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %1348

634:                                              ; preds = %604
  %635 = load ptr, ptr %13, align 8, !tbaa !5
  %636 = getelementptr inbounds %struct.nonlinear, ptr %635, i32 0, i32 31
  %637 = load i32, ptr %636, align 8, !tbaa !50
  %638 = sext i32 %637 to i64
  %639 = mul i64 %638, 8
  %640 = call noalias ptr @malloc(i64 noundef %639) #7
  %641 = load ptr, ptr %22, align 8, !tbaa !5
  %642 = load i32, ptr %19, align 4, !tbaa !22
  %643 = sext i32 %642 to i64
  %644 = getelementptr inbounds ptr, ptr %641, i64 %643
  store ptr %640, ptr %644, align 8, !tbaa !5
  %645 = load ptr, ptr %22, align 8, !tbaa !5
  %646 = load i32, ptr %19, align 4, !tbaa !22
  %647 = sext i32 %646 to i64
  %648 = getelementptr inbounds ptr, ptr %645, i64 %647
  %649 = load ptr, ptr %648, align 8, !tbaa !5
  %650 = icmp eq ptr %649, null
  br i1 %650, label %651, label %664

651:                                              ; preds = %634
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %652 = load ptr, ptr %13, align 8, !tbaa !5
  %653 = getelementptr inbounds %struct.nonlinear, ptr %652, i32 0, i32 31
  %654 = load i32, ptr %653, align 8, !tbaa !50
  %655 = sext i32 %654 to i64
  %656 = mul i64 %655, 8
  %657 = trunc i64 %656 to i32
  store i32 %657, ptr %46, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %47) #6
  %658 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  %659 = load i32, ptr %46, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %658, ptr noundef @.str.15, ptr noundef @.str.70, i32 noundef %659)
  %660 = load ptr, ptr %13, align 8, !tbaa !5
  %661 = getelementptr inbounds %struct.nonlinear, ptr %660, i32 0, i32 45
  %662 = getelementptr inbounds [2048 x i8], ptr %661, i64 0, i64 0
  %663 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %662, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1422, ptr noundef %663)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %47) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %1348

664:                                              ; preds = %634
  br label %665

665:                                              ; preds = %664
  %666 = load i32, ptr %19, align 4, !tbaa !22
  %667 = add nsw i32 %666, 1
  store i32 %667, ptr %19, align 4, !tbaa !22
  br label %568, !llvm.loop !51

668:                                              ; preds = %568
  %669 = load ptr, ptr %13, align 8, !tbaa !5
  %670 = getelementptr inbounds %struct.nonlinear, ptr %669, i32 0, i32 0
  %671 = load i32, ptr %670, align 8, !tbaa !15
  %672 = icmp eq i32 %671, 2
  br i1 %672, label %673, label %719

673:                                              ; preds = %668
  store ptr %28, ptr %29, align 8, !tbaa !5
  %674 = load ptr, ptr %8, align 8, !tbaa !5
  %675 = load ptr, ptr %9, align 8, !tbaa !5
  %676 = load ptr, ptr %13, align 8, !tbaa !5
  %677 = load ptr, ptr %29, align 8, !tbaa !5
  %678 = call i32 @nonlinear_hmcode_workspace_init(ptr noundef %674, ptr noundef %675, ptr noundef %676, ptr noundef %677)
  %679 = icmp eq i32 %678, 1
  br i1 %679, label %680, label %689

680:                                              ; preds = %673
  call void @llvm.lifetime.start.p0(i64 2048, ptr %48) #6
  %681 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  %682 = load ptr, ptr %13, align 8, !tbaa !5
  %683 = getelementptr inbounds %struct.nonlinear, ptr %682, i32 0, i32 45
  %684 = getelementptr inbounds [2048 x i8], ptr %683, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %681, ptr noundef @.str.4, ptr noundef @.str.71, ptr noundef %684)
  %685 = load ptr, ptr %13, align 8, !tbaa !5
  %686 = getelementptr inbounds %struct.nonlinear, ptr %685, i32 0, i32 45
  %687 = getelementptr inbounds [2048 x i8], ptr %686, i64 0, i64 0
  %688 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %687, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1433, ptr noundef %688)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %48) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

689:                                              ; preds = %673
  %690 = load ptr, ptr %8, align 8, !tbaa !5
  %691 = load ptr, ptr %9, align 8, !tbaa !5
  %692 = load ptr, ptr %13, align 8, !tbaa !5
  %693 = load ptr, ptr %29, align 8, !tbaa !5
  %694 = call i32 @nonlinear_hmcode_dark_energy_correction(ptr noundef %690, ptr noundef %691, ptr noundef %692, ptr noundef %693)
  %695 = icmp eq i32 %694, 1
  br i1 %695, label %696, label %705

696:                                              ; preds = %689
  call void @llvm.lifetime.start.p0(i64 2048, ptr %49) #6
  %697 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  %698 = load ptr, ptr %13, align 8, !tbaa !5
  %699 = getelementptr inbounds %struct.nonlinear, ptr %698, i32 0, i32 45
  %700 = getelementptr inbounds [2048 x i8], ptr %699, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %697, ptr noundef @.str.4, ptr noundef @.str.72, ptr noundef %700)
  %701 = load ptr, ptr %13, align 8, !tbaa !5
  %702 = getelementptr inbounds %struct.nonlinear, ptr %701, i32 0, i32 45
  %703 = getelementptr inbounds [2048 x i8], ptr %702, i64 0, i64 0
  %704 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %703, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1437, ptr noundef %704)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %49) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

705:                                              ; preds = %689
  %706 = load ptr, ptr %13, align 8, !tbaa !5
  %707 = call i32 @nonlinear_hmcode_baryonic_feedback(ptr noundef %706)
  %708 = icmp eq i32 %707, 1
  br i1 %708, label %709, label %718

709:                                              ; preds = %705
  call void @llvm.lifetime.start.p0(i64 2048, ptr %50) #6
  %710 = getelementptr inbounds [2048 x i8], ptr %50, i64 0, i64 0
  %711 = load ptr, ptr %13, align 8, !tbaa !5
  %712 = getelementptr inbounds %struct.nonlinear, ptr %711, i32 0, i32 45
  %713 = getelementptr inbounds [2048 x i8], ptr %712, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %710, ptr noundef @.str.4, ptr noundef @.str.73, ptr noundef %713)
  %714 = load ptr, ptr %13, align 8, !tbaa !5
  %715 = getelementptr inbounds %struct.nonlinear, ptr %714, i32 0, i32 45
  %716 = getelementptr inbounds [2048 x i8], ptr %715, i64 0, i64 0
  %717 = getelementptr inbounds [2048 x i8], ptr %50, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %716, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1441, ptr noundef %717)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %50) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

718:                                              ; preds = %705
  br label %719

719:                                              ; preds = %718, %668
  store i16 0, ptr %23, align 2, !tbaa !9
  %720 = load ptr, ptr %13, align 8, !tbaa !5
  %721 = getelementptr inbounds %struct.nonlinear, ptr %720, i32 0, i32 36
  store i32 0, ptr %721, align 8, !tbaa !52
  %722 = load ptr, ptr %13, align 8, !tbaa !5
  %723 = getelementptr inbounds %struct.nonlinear, ptr %722, i32 0, i32 32
  %724 = load i32, ptr %723, align 4, !tbaa !53
  %725 = sub nsw i32 %724, 1
  store i32 %725, ptr %16, align 4, !tbaa !22
  br label %726

726:                                              ; preds = %1227, %719
  %727 = load i32, ptr %16, align 4, !tbaa !22
  %728 = icmp sge i32 %727, 0
  br i1 %728, label %729, label %1230

729:                                              ; preds = %726
  store i32 0, ptr %19, align 4, !tbaa !22
  br label %730

730:                                              ; preds = %1223, %729
  %731 = load i32, ptr %19, align 4, !tbaa !22
  %732 = load ptr, ptr %13, align 8, !tbaa !5
  %733 = getelementptr inbounds %struct.nonlinear, ptr %732, i32 0, i32 17
  %734 = load i32, ptr %733, align 4, !tbaa !32
  %735 = icmp slt i32 %731, %734
  br i1 %735, label %736, label %1226

736:                                              ; preds = %730
  %737 = load ptr, ptr %9, align 8, !tbaa !5
  %738 = load ptr, ptr %11, align 8, !tbaa !5
  %739 = load ptr, ptr %12, align 8, !tbaa !5
  %740 = load ptr, ptr %13, align 8, !tbaa !5
  %741 = load i32, ptr %19, align 4, !tbaa !22
  %742 = load i32, ptr %16, align 4, !tbaa !22
  %743 = load ptr, ptr %13, align 8, !tbaa !5
  %744 = getelementptr inbounds %struct.nonlinear, ptr %743, i32 0, i32 31
  %745 = load i32, ptr %744, align 8, !tbaa !50
  %746 = load ptr, ptr %21, align 8, !tbaa !5
  %747 = load i32, ptr %19, align 4, !tbaa !22
  %748 = sext i32 %747 to i64
  %749 = getelementptr inbounds ptr, ptr %746, i64 %748
  %750 = load ptr, ptr %749, align 8, !tbaa !5
  %751 = call i32 @nonlinear_pk_linear(ptr noundef %737, ptr noundef %738, ptr noundef %739, ptr noundef %740, i32 noundef %741, i32 noundef %742, i32 noundef %745, ptr noundef %750, ptr noundef null)
  %752 = icmp eq i32 %751, 1
  br i1 %752, label %753, label %762

753:                                              ; preds = %736
  call void @llvm.lifetime.start.p0(i64 2048, ptr %51) #6
  %754 = getelementptr inbounds [2048 x i8], ptr %51, i64 0, i64 0
  %755 = load ptr, ptr %13, align 8, !tbaa !5
  %756 = getelementptr inbounds %struct.nonlinear, ptr %755, i32 0, i32 45
  %757 = getelementptr inbounds [2048 x i8], ptr %756, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %754, ptr noundef @.str.4, ptr noundef @.str.74, ptr noundef %757)
  %758 = load ptr, ptr %13, align 8, !tbaa !5
  %759 = getelementptr inbounds %struct.nonlinear, ptr %758, i32 0, i32 45
  %760 = getelementptr inbounds [2048 x i8], ptr %759, i64 0, i64 0
  %761 = getelementptr inbounds [2048 x i8], ptr %51, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %760, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1479, ptr noundef %761)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %51) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

762:                                              ; preds = %736
  %763 = load ptr, ptr %13, align 8, !tbaa !5
  %764 = getelementptr inbounds %struct.nonlinear, ptr %763, i32 0, i32 21
  %765 = load ptr, ptr %764, align 8, !tbaa !54
  %766 = load ptr, ptr %13, align 8, !tbaa !5
  %767 = getelementptr inbounds %struct.nonlinear, ptr %766, i32 0, i32 31
  %768 = load i32, ptr %767, align 8, !tbaa !50
  %769 = load ptr, ptr %21, align 8, !tbaa !5
  %770 = load i32, ptr %19, align 4, !tbaa !22
  %771 = sext i32 %770 to i64
  %772 = getelementptr inbounds ptr, ptr %769, i64 %771
  %773 = load ptr, ptr %772, align 8, !tbaa !5
  %774 = load ptr, ptr %22, align 8, !tbaa !5
  %775 = load i32, ptr %19, align 4, !tbaa !22
  %776 = sext i32 %775 to i64
  %777 = getelementptr inbounds ptr, ptr %774, i64 %776
  %778 = load ptr, ptr %777, align 8, !tbaa !5
  %779 = load ptr, ptr %13, align 8, !tbaa !5
  %780 = getelementptr inbounds %struct.nonlinear, ptr %779, i32 0, i32 45
  %781 = getelementptr inbounds [2048 x i8], ptr %780, i64 0, i64 0
  %782 = call i32 @array_spline_table_columns(ptr noundef %765, i32 noundef %768, ptr noundef %773, i32 noundef 1, ptr noundef %778, i16 noundef signext 0, ptr noundef %781)
  %783 = icmp eq i32 %782, 1
  br i1 %783, label %784, label %793

784:                                              ; preds = %762
  call void @llvm.lifetime.start.p0(i64 2048, ptr %52) #6
  %785 = getelementptr inbounds [2048 x i8], ptr %52, i64 0, i64 0
  %786 = load ptr, ptr %13, align 8, !tbaa !5
  %787 = getelementptr inbounds %struct.nonlinear, ptr %786, i32 0, i32 45
  %788 = getelementptr inbounds [2048 x i8], ptr %787, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %785, ptr noundef @.str.4, ptr noundef @.str.75, ptr noundef %788)
  %789 = load ptr, ptr %13, align 8, !tbaa !5
  %790 = getelementptr inbounds %struct.nonlinear, ptr %789, i32 0, i32 45
  %791 = getelementptr inbounds [2048 x i8], ptr %790, i64 0, i64 0
  %792 = getelementptr inbounds [2048 x i8], ptr %52, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %791, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1491, ptr noundef %792)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %52) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

793:                                              ; preds = %762
  %794 = load i16, ptr %23, align 2, !tbaa !9
  %795 = sext i16 %794 to i32
  %796 = icmp eq i32 %795, 0
  br i1 %796, label %797, label %1111

797:                                              ; preds = %793
  %798 = load ptr, ptr %13, align 8, !tbaa !5
  %799 = getelementptr inbounds %struct.nonlinear, ptr %798, i32 0, i32 0
  %800 = load i32, ptr %799, align 8, !tbaa !15
  %801 = icmp eq i32 %800, 1
  br i1 %801, label %802, label %853

802:                                              ; preds = %797
  %803 = load ptr, ptr %8, align 8, !tbaa !5
  %804 = load ptr, ptr %9, align 8, !tbaa !5
  %805 = load ptr, ptr %11, align 8, !tbaa !5
  %806 = load ptr, ptr %12, align 8, !tbaa !5
  %807 = load ptr, ptr %13, align 8, !tbaa !5
  %808 = load i32, ptr %19, align 4, !tbaa !22
  %809 = load ptr, ptr %13, align 8, !tbaa !5
  %810 = getelementptr inbounds %struct.nonlinear, ptr %809, i32 0, i32 33
  %811 = load ptr, ptr %810, align 8, !tbaa !55
  %812 = load i32, ptr %16, align 4, !tbaa !22
  %813 = sext i32 %812 to i64
  %814 = getelementptr inbounds double, ptr %811, i64 %813
  %815 = load double, ptr %814, align 8, !tbaa !25
  %816 = load ptr, ptr %20, align 8, !tbaa !5
  %817 = load i32, ptr %19, align 4, !tbaa !22
  %818 = sext i32 %817 to i64
  %819 = getelementptr inbounds ptr, ptr %816, i64 %818
  %820 = load ptr, ptr %819, align 8, !tbaa !5
  %821 = load ptr, ptr %21, align 8, !tbaa !5
  %822 = load i32, ptr %19, align 4, !tbaa !22
  %823 = sext i32 %822 to i64
  %824 = getelementptr inbounds ptr, ptr %821, i64 %823
  %825 = load ptr, ptr %824, align 8, !tbaa !5
  %826 = load ptr, ptr %22, align 8, !tbaa !5
  %827 = load i32, ptr %19, align 4, !tbaa !22
  %828 = sext i32 %827 to i64
  %829 = getelementptr inbounds ptr, ptr %826, i64 %828
  %830 = load ptr, ptr %829, align 8, !tbaa !5
  %831 = load ptr, ptr %13, align 8, !tbaa !5
  %832 = getelementptr inbounds %struct.nonlinear, ptr %831, i32 0, i32 35
  %833 = load ptr, ptr %832, align 8, !tbaa !56
  %834 = load i32, ptr %19, align 4, !tbaa !22
  %835 = sext i32 %834 to i64
  %836 = getelementptr inbounds ptr, ptr %833, i64 %835
  %837 = load ptr, ptr %836, align 8, !tbaa !5
  %838 = load i32, ptr %16, align 4, !tbaa !22
  %839 = sext i32 %838 to i64
  %840 = getelementptr inbounds double, ptr %837, i64 %839
  %841 = call i32 @nonlinear_halofit(ptr noundef %803, ptr noundef %804, ptr noundef %805, ptr noundef %806, ptr noundef %807, i32 noundef %808, double noundef %815, ptr noundef %820, ptr noundef %825, ptr noundef %830, ptr noundef %840, ptr noundef %23)
  %842 = icmp eq i32 %841, 1
  br i1 %842, label %843, label %852

843:                                              ; preds = %802
  call void @llvm.lifetime.start.p0(i64 2048, ptr %53) #6
  %844 = getelementptr inbounds [2048 x i8], ptr %53, i64 0, i64 0
  %845 = load ptr, ptr %13, align 8, !tbaa !5
  %846 = getelementptr inbounds %struct.nonlinear, ptr %845, i32 0, i32 45
  %847 = getelementptr inbounds [2048 x i8], ptr %846, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %844, ptr noundef @.str.4, ptr noundef @.str.76, ptr noundef %847)
  %848 = load ptr, ptr %13, align 8, !tbaa !5
  %849 = getelementptr inbounds %struct.nonlinear, ptr %848, i32 0, i32 45
  %850 = getelementptr inbounds [2048 x i8], ptr %849, i64 0, i64 0
  %851 = getelementptr inbounds [2048 x i8], ptr %53, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %850, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1513, ptr noundef %851)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %53) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

852:                                              ; preds = %802
  br label %937

853:                                              ; preds = %797
  %854 = load ptr, ptr %13, align 8, !tbaa !5
  %855 = getelementptr inbounds %struct.nonlinear, ptr %854, i32 0, i32 0
  %856 = load i32, ptr %855, align 8, !tbaa !15
  %857 = icmp eq i32 %856, 2
  br i1 %857, label %858, label %936

858:                                              ; preds = %853
  %859 = load i32, ptr %19, align 4, !tbaa !22
  %860 = icmp eq i32 %859, 0
  br i1 %860, label %861, label %891

861:                                              ; preds = %858
  %862 = load ptr, ptr %8, align 8, !tbaa !5
  %863 = load ptr, ptr %9, align 8, !tbaa !5
  %864 = load ptr, ptr %11, align 8, !tbaa !5
  %865 = load ptr, ptr %12, align 8, !tbaa !5
  %866 = load ptr, ptr %13, align 8, !tbaa !5
  %867 = load i32, ptr %16, align 4, !tbaa !22
  %868 = load ptr, ptr %21, align 8, !tbaa !5
  %869 = load i32, ptr %19, align 4, !tbaa !22
  %870 = sext i32 %869 to i64
  %871 = getelementptr inbounds ptr, ptr %868, i64 %870
  %872 = load ptr, ptr %871, align 8, !tbaa !5
  %873 = load ptr, ptr %22, align 8, !tbaa !5
  %874 = load i32, ptr %19, align 4, !tbaa !22
  %875 = sext i32 %874 to i64
  %876 = getelementptr inbounds ptr, ptr %873, i64 %875
  %877 = load ptr, ptr %876, align 8, !tbaa !5
  %878 = load ptr, ptr %29, align 8, !tbaa !5
  %879 = call i32 @nonlinear_hmcode_fill_sigtab(ptr noundef %862, ptr noundef %863, ptr noundef %864, ptr noundef %865, ptr noundef %866, i32 noundef %867, ptr noundef %872, ptr noundef %877, ptr noundef %878)
  %880 = icmp eq i32 %879, 1
  br i1 %880, label %881, label %890

881:                                              ; preds = %861
  call void @llvm.lifetime.start.p0(i64 2048, ptr %54) #6
  %882 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  %883 = load ptr, ptr %13, align 8, !tbaa !5
  %884 = getelementptr inbounds %struct.nonlinear, ptr %883, i32 0, i32 45
  %885 = getelementptr inbounds [2048 x i8], ptr %884, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %882, ptr noundef @.str.4, ptr noundef @.str.77, ptr noundef %885)
  %886 = load ptr, ptr %13, align 8, !tbaa !5
  %887 = getelementptr inbounds %struct.nonlinear, ptr %886, i32 0, i32 45
  %888 = getelementptr inbounds [2048 x i8], ptr %887, i64 0, i64 0
  %889 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %888, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1531, ptr noundef %889)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %54) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

890:                                              ; preds = %861
  br label %891

891:                                              ; preds = %890, %858
  %892 = load ptr, ptr %8, align 8, !tbaa !5
  %893 = load ptr, ptr %9, align 8, !tbaa !5
  %894 = load ptr, ptr %11, align 8, !tbaa !5
  %895 = load ptr, ptr %12, align 8, !tbaa !5
  %896 = load ptr, ptr %13, align 8, !tbaa !5
  %897 = load i32, ptr %19, align 4, !tbaa !22
  %898 = load i32, ptr %16, align 4, !tbaa !22
  %899 = load ptr, ptr %13, align 8, !tbaa !5
  %900 = getelementptr inbounds %struct.nonlinear, ptr %899, i32 0, i32 33
  %901 = load ptr, ptr %900, align 8, !tbaa !55
  %902 = load i32, ptr %16, align 4, !tbaa !22
  %903 = sext i32 %902 to i64
  %904 = getelementptr inbounds double, ptr %901, i64 %903
  %905 = load double, ptr %904, align 8, !tbaa !25
  %906 = load ptr, ptr %20, align 8, !tbaa !5
  %907 = load i32, ptr %19, align 4, !tbaa !22
  %908 = sext i32 %907 to i64
  %909 = getelementptr inbounds ptr, ptr %906, i64 %908
  %910 = load ptr, ptr %909, align 8, !tbaa !5
  %911 = load ptr, ptr %21, align 8, !tbaa !5
  %912 = load ptr, ptr %22, align 8, !tbaa !5
  %913 = load ptr, ptr %13, align 8, !tbaa !5
  %914 = getelementptr inbounds %struct.nonlinear, ptr %913, i32 0, i32 35
  %915 = load ptr, ptr %914, align 8, !tbaa !56
  %916 = load i32, ptr %19, align 4, !tbaa !22
  %917 = sext i32 %916 to i64
  %918 = getelementptr inbounds ptr, ptr %915, i64 %917
  %919 = load ptr, ptr %918, align 8, !tbaa !5
  %920 = load i32, ptr %16, align 4, !tbaa !22
  %921 = sext i32 %920 to i64
  %922 = getelementptr inbounds double, ptr %919, i64 %921
  %923 = load ptr, ptr %29, align 8, !tbaa !5
  %924 = call i32 @nonlinear_hmcode(ptr noundef %892, ptr noundef %893, ptr noundef %894, ptr noundef %895, ptr noundef %896, i32 noundef %897, i32 noundef %898, double noundef %905, ptr noundef %910, ptr noundef %911, ptr noundef %912, ptr noundef %922, ptr noundef %23, ptr noundef %923)
  %925 = icmp eq i32 %924, 1
  br i1 %925, label %926, label %935

926:                                              ; preds = %891
  call void @llvm.lifetime.start.p0(i64 2048, ptr %55) #6
  %927 = getelementptr inbounds [2048 x i8], ptr %55, i64 0, i64 0
  %928 = load ptr, ptr %13, align 8, !tbaa !5
  %929 = getelementptr inbounds %struct.nonlinear, ptr %928, i32 0, i32 45
  %930 = getelementptr inbounds [2048 x i8], ptr %929, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %927, ptr noundef @.str.4, ptr noundef @.str.78, ptr noundef %930)
  %931 = load ptr, ptr %13, align 8, !tbaa !5
  %932 = getelementptr inbounds %struct.nonlinear, ptr %931, i32 0, i32 45
  %933 = getelementptr inbounds [2048 x i8], ptr %932, i64 0, i64 0
  %934 = getelementptr inbounds [2048 x i8], ptr %55, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %933, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1549, ptr noundef %934)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %55) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

935:                                              ; preds = %891
  br label %936

936:                                              ; preds = %935, %853
  br label %937

937:                                              ; preds = %936, %852
  %938 = load i16, ptr %23, align 2, !tbaa !9
  %939 = sext i16 %938 to i32
  %940 = icmp eq i32 %939, 0
  br i1 %940, label %941, label %990

941:                                              ; preds = %937
  store i32 0, ptr %15, align 4, !tbaa !22
  br label %942

942:                                              ; preds = %986, %941
  %943 = load i32, ptr %15, align 4, !tbaa !22
  %944 = load ptr, ptr %13, align 8, !tbaa !5
  %945 = getelementptr inbounds %struct.nonlinear, ptr %944, i32 0, i32 19
  %946 = load i32, ptr %945, align 4, !tbaa !33
  %947 = icmp slt i32 %943, %946
  br i1 %947, label %948, label %989

948:                                              ; preds = %942
  %949 = load ptr, ptr %20, align 8, !tbaa !5
  %950 = load i32, ptr %19, align 4, !tbaa !22
  %951 = sext i32 %950 to i64
  %952 = getelementptr inbounds ptr, ptr %949, i64 %951
  %953 = load ptr, ptr %952, align 8, !tbaa !5
  %954 = load i32, ptr %15, align 4, !tbaa !22
  %955 = sext i32 %954 to i64
  %956 = getelementptr inbounds double, ptr %953, i64 %955
  %957 = load double, ptr %956, align 8, !tbaa !25
  %958 = load ptr, ptr %21, align 8, !tbaa !5
  %959 = load i32, ptr %19, align 4, !tbaa !22
  %960 = sext i32 %959 to i64
  %961 = getelementptr inbounds ptr, ptr %958, i64 %960
  %962 = load ptr, ptr %961, align 8, !tbaa !5
  %963 = load i32, ptr %15, align 4, !tbaa !22
  %964 = sext i32 %963 to i64
  %965 = getelementptr inbounds double, ptr %962, i64 %964
  %966 = load double, ptr %965, align 8, !tbaa !25
  %967 = call double @exp(double noundef %966) #6
  %968 = fdiv double %957, %967
  %969 = call double @sqrt(double noundef %968) #6
  %970 = load ptr, ptr %13, align 8, !tbaa !5
  %971 = getelementptr inbounds %struct.nonlinear, ptr %970, i32 0, i32 34
  %972 = load ptr, ptr %971, align 8, !tbaa !57
  %973 = load i32, ptr %19, align 4, !tbaa !22
  %974 = sext i32 %973 to i64
  %975 = getelementptr inbounds ptr, ptr %972, i64 %974
  %976 = load ptr, ptr %975, align 8, !tbaa !5
  %977 = load i32, ptr %16, align 4, !tbaa !22
  %978 = load ptr, ptr %13, align 8, !tbaa !5
  %979 = getelementptr inbounds %struct.nonlinear, ptr %978, i32 0, i32 19
  %980 = load i32, ptr %979, align 4, !tbaa !33
  %981 = mul nsw i32 %977, %980
  %982 = load i32, ptr %15, align 4, !tbaa !22
  %983 = add nsw i32 %981, %982
  %984 = sext i32 %983 to i64
  %985 = getelementptr inbounds double, ptr %976, i64 %984
  store double %969, ptr %985, align 8, !tbaa !25
  br label %986

986:                                              ; preds = %948
  %987 = load i32, ptr %15, align 4, !tbaa !22
  %988 = add nsw i32 %987, 1
  store i32 %988, ptr %15, align 4, !tbaa !22
  br label %942, !llvm.loop !58

989:                                              ; preds = %942
  br label %1110

990:                                              ; preds = %937
  %991 = load ptr, ptr %13, align 8, !tbaa !5
  %992 = getelementptr inbounds %struct.nonlinear, ptr %991, i32 0, i32 32
  %993 = load i32, ptr %992, align 4, !tbaa !53
  %994 = sub nsw i32 %993, 1
  %995 = load i32, ptr %16, align 4, !tbaa !22
  %996 = add nsw i32 %995, 1
  %997 = icmp slt i32 %994, %996
  br i1 %997, label %998, label %1003

998:                                              ; preds = %990
  %999 = load ptr, ptr %13, align 8, !tbaa !5
  %1000 = getelementptr inbounds %struct.nonlinear, ptr %999, i32 0, i32 32
  %1001 = load i32, ptr %1000, align 4, !tbaa !53
  %1002 = sub nsw i32 %1001, 1
  br label %1006

1003:                                             ; preds = %990
  %1004 = load i32, ptr %16, align 4, !tbaa !22
  %1005 = add nsw i32 %1004, 1
  br label %1006

1006:                                             ; preds = %1003, %998
  %1007 = phi i32 [ %1002, %998 ], [ %1005, %1003 ]
  %1008 = load ptr, ptr %13, align 8, !tbaa !5
  %1009 = getelementptr inbounds %struct.nonlinear, ptr %1008, i32 0, i32 36
  store i32 %1007, ptr %1009, align 8, !tbaa !52
  store i32 0, ptr %15, align 4, !tbaa !22
  br label %1010

1010:                                             ; preds = %1033, %1006
  %1011 = load i32, ptr %15, align 4, !tbaa !22
  %1012 = load ptr, ptr %13, align 8, !tbaa !5
  %1013 = getelementptr inbounds %struct.nonlinear, ptr %1012, i32 0, i32 19
  %1014 = load i32, ptr %1013, align 4, !tbaa !33
  %1015 = icmp slt i32 %1011, %1014
  br i1 %1015, label %1016, label %1036

1016:                                             ; preds = %1010
  %1017 = load ptr, ptr %13, align 8, !tbaa !5
  %1018 = getelementptr inbounds %struct.nonlinear, ptr %1017, i32 0, i32 34
  %1019 = load ptr, ptr %1018, align 8, !tbaa !57
  %1020 = load i32, ptr %19, align 4, !tbaa !22
  %1021 = sext i32 %1020 to i64
  %1022 = getelementptr inbounds ptr, ptr %1019, i64 %1021
  %1023 = load ptr, ptr %1022, align 8, !tbaa !5
  %1024 = load i32, ptr %16, align 4, !tbaa !22
  %1025 = load ptr, ptr %13, align 8, !tbaa !5
  %1026 = getelementptr inbounds %struct.nonlinear, ptr %1025, i32 0, i32 19
  %1027 = load i32, ptr %1026, align 4, !tbaa !33
  %1028 = mul nsw i32 %1024, %1027
  %1029 = load i32, ptr %15, align 4, !tbaa !22
  %1030 = add nsw i32 %1028, %1029
  %1031 = sext i32 %1030 to i64
  %1032 = getelementptr inbounds double, ptr %1023, i64 %1031
  store double 1.000000e+00, ptr %1032, align 8, !tbaa !25
  br label %1033

1033:                                             ; preds = %1016
  %1034 = load i32, ptr %15, align 4, !tbaa !22
  %1035 = add nsw i32 %1034, 1
  store i32 %1035, ptr %15, align 4, !tbaa !22
  br label %1010, !llvm.loop !59

1036:                                             ; preds = %1010
  %1037 = load ptr, ptr %13, align 8, !tbaa !5
  %1038 = getelementptr inbounds %struct.nonlinear, ptr %1037, i32 0, i32 44
  %1039 = load i16, ptr %1038, align 8, !tbaa !19
  %1040 = sext i16 %1039 to i32
  %1041 = icmp sgt i32 %1040, 0
  br i1 %1041, label %1042, label %1109

1042:                                             ; preds = %1036
  %1043 = load ptr, ptr %9, align 8, !tbaa !5
  %1044 = getelementptr inbounds %struct.background, ptr %1043, i32 0, i32 99
  %1045 = load i32, ptr %1044, align 8, !tbaa !60
  %1046 = sext i32 %1045 to i64
  %1047 = mul i64 %1046, 8
  %1048 = call noalias ptr @malloc(i64 noundef %1047) #7
  store ptr %1048, ptr %24, align 8, !tbaa !5
  %1049 = load ptr, ptr %24, align 8, !tbaa !5
  %1050 = icmp eq ptr %1049, null
  br i1 %1050, label %1051, label %1064

1051:                                             ; preds = %1042
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  %1052 = load ptr, ptr %9, align 8, !tbaa !5
  %1053 = getelementptr inbounds %struct.background, ptr %1052, i32 0, i32 99
  %1054 = load i32, ptr %1053, align 8, !tbaa !60
  %1055 = sext i32 %1054 to i64
  %1056 = mul i64 %1055, 8
  %1057 = trunc i64 %1056 to i32
  store i32 %1057, ptr %56, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2048, ptr %57) #6
  %1058 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  %1059 = load i32, ptr %56, align 4, !tbaa !22
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1058, ptr noundef @.str.15, ptr noundef @.str.79, i32 noundef %1059)
  %1060 = load ptr, ptr %13, align 8, !tbaa !5
  %1061 = getelementptr inbounds %struct.nonlinear, ptr %1060, i32 0, i32 45
  %1062 = getelementptr inbounds [2048 x i8], ptr %1061, i64 0, i64 0
  %1063 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1062, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1572, ptr noundef %1063)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %57) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  br label %1348

1064:                                             ; preds = %1042
  %1065 = load ptr, ptr %9, align 8, !tbaa !5
  %1066 = load ptr, ptr %13, align 8, !tbaa !5
  %1067 = getelementptr inbounds %struct.nonlinear, ptr %1066, i32 0, i32 33
  %1068 = load ptr, ptr %1067, align 8, !tbaa !55
  %1069 = load i32, ptr %16, align 4, !tbaa !22
  %1070 = sext i32 %1069 to i64
  %1071 = getelementptr inbounds double, ptr %1068, i64 %1070
  %1072 = load double, ptr %1071, align 8, !tbaa !25
  %1073 = load ptr, ptr %9, align 8, !tbaa !5
  %1074 = getelementptr inbounds %struct.background, ptr %1073, i32 0, i32 141
  %1075 = load i16, ptr %1074, align 8, !tbaa !61
  %1076 = load ptr, ptr %9, align 8, !tbaa !5
  %1077 = getelementptr inbounds %struct.background, ptr %1076, i32 0, i32 144
  %1078 = load i16, ptr %1077, align 2, !tbaa !62
  %1079 = load ptr, ptr %24, align 8, !tbaa !5
  %1080 = call i32 @background_at_tau(ptr noundef %1065, double noundef %1072, i16 noundef signext %1075, i16 noundef signext %1078, ptr noundef %25, ptr noundef %1079)
  %1081 = icmp eq i32 %1080, 1
  br i1 %1081, label %1082, label %1091

1082:                                             ; preds = %1064
  call void @llvm.lifetime.start.p0(i64 2048, ptr %58) #6
  %1083 = getelementptr inbounds [2048 x i8], ptr %58, i64 0, i64 0
  %1084 = load ptr, ptr %9, align 8, !tbaa !5
  %1085 = getelementptr inbounds %struct.background, ptr %1084, i32 0, i32 149
  %1086 = getelementptr inbounds [2048 x i8], ptr %1085, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1083, ptr noundef @.str.4, ptr noundef @.str.80, ptr noundef %1086)
  %1087 = load ptr, ptr %13, align 8, !tbaa !5
  %1088 = getelementptr inbounds %struct.nonlinear, ptr %1087, i32 0, i32 45
  %1089 = getelementptr inbounds [2048 x i8], ptr %1088, i64 0, i64 0
  %1090 = getelementptr inbounds [2048 x i8], ptr %58, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1089, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1575, ptr noundef %1090)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %58) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

1091:                                             ; preds = %1064
  %1092 = load ptr, ptr %24, align 8, !tbaa !5
  %1093 = load ptr, ptr %9, align 8, !tbaa !5
  %1094 = getelementptr inbounds %struct.background, ptr %1093, i32 0, i32 59
  %1095 = load i32, ptr %1094, align 8, !tbaa !63
  %1096 = sext i32 %1095 to i64
  %1097 = getelementptr inbounds double, ptr %1092, i64 %1096
  %1098 = load double, ptr %1097, align 8, !tbaa !25
  store double %1098, ptr %26, align 8, !tbaa !25
  %1099 = load ptr, ptr %9, align 8, !tbaa !5
  %1100 = getelementptr inbounds %struct.background, ptr %1099, i32 0, i32 58
  %1101 = load double, ptr %1100, align 8, !tbaa !64
  %1102 = load double, ptr %26, align 8, !tbaa !25
  %1103 = fdiv double %1101, %1102
  %1104 = fsub double %1103, 1.000000e+00
  store double %1104, ptr %27, align 8, !tbaa !25
  %1105 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1106 = load double, ptr %27, align 8, !tbaa !25
  %1107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1105, ptr noundef @.str.81, double noundef %1106) #6
  %1108 = load ptr, ptr %24, align 8, !tbaa !5
  call void @free(ptr noundef %1108) #6
  br label %1109

1109:                                             ; preds = %1091, %1036
  br label %1110

1110:                                             ; preds = %1109, %989
  br label %1139

1111:                                             ; preds = %793
  store i32 0, ptr %15, align 4, !tbaa !22
  br label %1112

1112:                                             ; preds = %1135, %1111
  %1113 = load i32, ptr %15, align 4, !tbaa !22
  %1114 = load ptr, ptr %13, align 8, !tbaa !5
  %1115 = getelementptr inbounds %struct.nonlinear, ptr %1114, i32 0, i32 19
  %1116 = load i32, ptr %1115, align 4, !tbaa !33
  %1117 = icmp slt i32 %1113, %1116
  br i1 %1117, label %1118, label %1138

1118:                                             ; preds = %1112
  %1119 = load ptr, ptr %13, align 8, !tbaa !5
  %1120 = getelementptr inbounds %struct.nonlinear, ptr %1119, i32 0, i32 34
  %1121 = load ptr, ptr %1120, align 8, !tbaa !57
  %1122 = load i32, ptr %19, align 4, !tbaa !22
  %1123 = sext i32 %1122 to i64
  %1124 = getelementptr inbounds ptr, ptr %1121, i64 %1123
  %1125 = load ptr, ptr %1124, align 8, !tbaa !5
  %1126 = load i32, ptr %16, align 4, !tbaa !22
  %1127 = load ptr, ptr %13, align 8, !tbaa !5
  %1128 = getelementptr inbounds %struct.nonlinear, ptr %1127, i32 0, i32 19
  %1129 = load i32, ptr %1128, align 4, !tbaa !33
  %1130 = mul nsw i32 %1126, %1129
  %1131 = load i32, ptr %15, align 4, !tbaa !22
  %1132 = add nsw i32 %1130, %1131
  %1133 = sext i32 %1132 to i64
  %1134 = getelementptr inbounds double, ptr %1125, i64 %1133
  store double 1.000000e+00, ptr %1134, align 8, !tbaa !25
  br label %1135

1135:                                             ; preds = %1118
  %1136 = load i32, ptr %15, align 4, !tbaa !22
  %1137 = add nsw i32 %1136, 1
  store i32 %1137, ptr %15, align 4, !tbaa !22
  br label %1112, !llvm.loop !65

1138:                                             ; preds = %1112
  br label %1139

1139:                                             ; preds = %1138, %1110
  %1140 = load i32, ptr %16, align 4, !tbaa !22
  %1141 = load ptr, ptr %13, align 8, !tbaa !5
  %1142 = getelementptr inbounds %struct.nonlinear, ptr %1141, i32 0, i32 32
  %1143 = load i32, ptr %1142, align 4, !tbaa !53
  %1144 = load ptr, ptr %13, align 8, !tbaa !5
  %1145 = getelementptr inbounds %struct.nonlinear, ptr %1144, i32 0, i32 23
  %1146 = load i32, ptr %1145, align 8, !tbaa !29
  %1147 = sub nsw i32 %1143, %1146
  %1148 = icmp sge i32 %1140, %1147
  br i1 %1148, label %1149, label %1222

1149:                                             ; preds = %1139
  %1150 = load i32, ptr %16, align 4, !tbaa !22
  %1151 = load ptr, ptr %13, align 8, !tbaa !5
  %1152 = getelementptr inbounds %struct.nonlinear, ptr %1151, i32 0, i32 32
  %1153 = load i32, ptr %1152, align 4, !tbaa !53
  %1154 = load ptr, ptr %13, align 8, !tbaa !5
  %1155 = getelementptr inbounds %struct.nonlinear, ptr %1154, i32 0, i32 23
  %1156 = load i32, ptr %1155, align 8, !tbaa !29
  %1157 = sub nsw i32 %1153, %1156
  %1158 = sub nsw i32 %1150, %1157
  store i32 %1158, ptr %18, align 4, !tbaa !22
  store i32 0, ptr %15, align 4, !tbaa !22
  br label %1159

1159:                                             ; preds = %1218, %1149
  %1160 = load i32, ptr %15, align 4, !tbaa !22
  %1161 = load ptr, ptr %13, align 8, !tbaa !5
  %1162 = getelementptr inbounds %struct.nonlinear, ptr %1161, i32 0, i32 19
  %1163 = load i32, ptr %1162, align 4, !tbaa !33
  %1164 = icmp slt i32 %1160, %1163
  br i1 %1164, label %1165, label %1221

1165:                                             ; preds = %1159
  %1166 = load ptr, ptr %13, align 8, !tbaa !5
  %1167 = getelementptr inbounds %struct.nonlinear, ptr %1166, i32 0, i32 26
  %1168 = load ptr, ptr %1167, align 8, !tbaa !34
  %1169 = load i32, ptr %19, align 4, !tbaa !22
  %1170 = sext i32 %1169 to i64
  %1171 = getelementptr inbounds ptr, ptr %1168, i64 %1170
  %1172 = load ptr, ptr %1171, align 8, !tbaa !5
  %1173 = load i32, ptr %18, align 4, !tbaa !22
  %1174 = load ptr, ptr %13, align 8, !tbaa !5
  %1175 = getelementptr inbounds %struct.nonlinear, ptr %1174, i32 0, i32 19
  %1176 = load i32, ptr %1175, align 4, !tbaa !33
  %1177 = mul nsw i32 %1173, %1176
  %1178 = load i32, ptr %15, align 4, !tbaa !22
  %1179 = add nsw i32 %1177, %1178
  %1180 = sext i32 %1179 to i64
  %1181 = getelementptr inbounds double, ptr %1172, i64 %1180
  %1182 = load double, ptr %1181, align 8, !tbaa !25
  %1183 = load ptr, ptr %13, align 8, !tbaa !5
  %1184 = getelementptr inbounds %struct.nonlinear, ptr %1183, i32 0, i32 34
  %1185 = load ptr, ptr %1184, align 8, !tbaa !57
  %1186 = load i32, ptr %19, align 4, !tbaa !22
  %1187 = sext i32 %1186 to i64
  %1188 = getelementptr inbounds ptr, ptr %1185, i64 %1187
  %1189 = load ptr, ptr %1188, align 8, !tbaa !5
  %1190 = load i32, ptr %16, align 4, !tbaa !22
  %1191 = load ptr, ptr %13, align 8, !tbaa !5
  %1192 = getelementptr inbounds %struct.nonlinear, ptr %1191, i32 0, i32 19
  %1193 = load i32, ptr %1192, align 4, !tbaa !33
  %1194 = mul nsw i32 %1190, %1193
  %1195 = load i32, ptr %15, align 4, !tbaa !22
  %1196 = add nsw i32 %1194, %1195
  %1197 = sext i32 %1196 to i64
  %1198 = getelementptr inbounds double, ptr %1189, i64 %1197
  %1199 = load double, ptr %1198, align 8, !tbaa !25
  %1200 = call double @log(double noundef %1199) #6
  %1201 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1200, double %1182)
  %1202 = load ptr, ptr %13, align 8, !tbaa !5
  %1203 = getelementptr inbounds %struct.nonlinear, ptr %1202, i32 0, i32 28
  %1204 = load ptr, ptr %1203, align 8, !tbaa !66
  %1205 = load i32, ptr %19, align 4, !tbaa !22
  %1206 = sext i32 %1205 to i64
  %1207 = getelementptr inbounds ptr, ptr %1204, i64 %1206
  %1208 = load ptr, ptr %1207, align 8, !tbaa !5
  %1209 = load i32, ptr %18, align 4, !tbaa !22
  %1210 = load ptr, ptr %13, align 8, !tbaa !5
  %1211 = getelementptr inbounds %struct.nonlinear, ptr %1210, i32 0, i32 19
  %1212 = load i32, ptr %1211, align 4, !tbaa !33
  %1213 = mul nsw i32 %1209, %1212
  %1214 = load i32, ptr %15, align 4, !tbaa !22
  %1215 = add nsw i32 %1213, %1214
  %1216 = sext i32 %1215 to i64
  %1217 = getelementptr inbounds double, ptr %1208, i64 %1216
  store double %1201, ptr %1217, align 8, !tbaa !25
  br label %1218

1218:                                             ; preds = %1165
  %1219 = load i32, ptr %15, align 4, !tbaa !22
  %1220 = add nsw i32 %1219, 1
  store i32 %1220, ptr %15, align 4, !tbaa !22
  br label %1159, !llvm.loop !67

1221:                                             ; preds = %1159
  br label %1222

1222:                                             ; preds = %1221, %1139
  br label %1223

1223:                                             ; preds = %1222
  %1224 = load i32, ptr %19, align 4, !tbaa !22
  %1225 = add nsw i32 %1224, 1
  store i32 %1225, ptr %19, align 4, !tbaa !22
  br label %730, !llvm.loop !68

1226:                                             ; preds = %730
  br label %1227

1227:                                             ; preds = %1226
  %1228 = load i32, ptr %16, align 4, !tbaa !22
  %1229 = add nsw i32 %1228, -1
  store i32 %1229, ptr %16, align 4, !tbaa !22
  br label %726, !llvm.loop !69

1230:                                             ; preds = %726
  %1231 = load ptr, ptr %13, align 8, !tbaa !5
  %1232 = getelementptr inbounds %struct.nonlinear, ptr %1231, i32 0, i32 23
  %1233 = load i32, ptr %1232, align 8, !tbaa !29
  %1234 = icmp sgt i32 %1233, 1
  br i1 %1234, label %1235, label %1285

1235:                                             ; preds = %1230
  store i32 0, ptr %19, align 4, !tbaa !22
  br label %1236

1236:                                             ; preds = %1281, %1235
  %1237 = load i32, ptr %19, align 4, !tbaa !22
  %1238 = load ptr, ptr %13, align 8, !tbaa !5
  %1239 = getelementptr inbounds %struct.nonlinear, ptr %1238, i32 0, i32 17
  %1240 = load i32, ptr %1239, align 4, !tbaa !32
  %1241 = icmp slt i32 %1237, %1240
  br i1 %1241, label %1242, label %1284

1242:                                             ; preds = %1236
  %1243 = load ptr, ptr %13, align 8, !tbaa !5
  %1244 = getelementptr inbounds %struct.nonlinear, ptr %1243, i32 0, i32 22
  %1245 = load ptr, ptr %1244, align 8, !tbaa !37
  %1246 = load ptr, ptr %13, align 8, !tbaa !5
  %1247 = getelementptr inbounds %struct.nonlinear, ptr %1246, i32 0, i32 23
  %1248 = load i32, ptr %1247, align 8, !tbaa !29
  %1249 = load ptr, ptr %13, align 8, !tbaa !5
  %1250 = getelementptr inbounds %struct.nonlinear, ptr %1249, i32 0, i32 28
  %1251 = load ptr, ptr %1250, align 8, !tbaa !66
  %1252 = load i32, ptr %19, align 4, !tbaa !22
  %1253 = sext i32 %1252 to i64
  %1254 = getelementptr inbounds ptr, ptr %1251, i64 %1253
  %1255 = load ptr, ptr %1254, align 8, !tbaa !5
  %1256 = load ptr, ptr %13, align 8, !tbaa !5
  %1257 = getelementptr inbounds %struct.nonlinear, ptr %1256, i32 0, i32 19
  %1258 = load i32, ptr %1257, align 4, !tbaa !33
  %1259 = load ptr, ptr %13, align 8, !tbaa !5
  %1260 = getelementptr inbounds %struct.nonlinear, ptr %1259, i32 0, i32 29
  %1261 = load ptr, ptr %1260, align 8, !tbaa !70
  %1262 = load i32, ptr %19, align 4, !tbaa !22
  %1263 = sext i32 %1262 to i64
  %1264 = getelementptr inbounds ptr, ptr %1261, i64 %1263
  %1265 = load ptr, ptr %1264, align 8, !tbaa !5
  %1266 = load ptr, ptr %13, align 8, !tbaa !5
  %1267 = getelementptr inbounds %struct.nonlinear, ptr %1266, i32 0, i32 45
  %1268 = getelementptr inbounds [2048 x i8], ptr %1267, i64 0, i64 0
  %1269 = call i32 @array_spline_table_lines(ptr noundef %1245, i32 noundef %1248, ptr noundef %1255, i32 noundef %1258, ptr noundef %1265, i16 noundef signext 1, ptr noundef %1268)
  %1270 = icmp eq i32 %1269, 1
  br i1 %1270, label %1271, label %1280

1271:                                             ; preds = %1242
  call void @llvm.lifetime.start.p0(i64 2048, ptr %59) #6
  %1272 = getelementptr inbounds [2048 x i8], ptr %59, i64 0, i64 0
  %1273 = load ptr, ptr %13, align 8, !tbaa !5
  %1274 = getelementptr inbounds %struct.nonlinear, ptr %1273, i32 0, i32 45
  %1275 = getelementptr inbounds [2048 x i8], ptr %1274, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1272, ptr noundef @.str.4, ptr noundef @.str.82, ptr noundef %1275)
  %1276 = load ptr, ptr %13, align 8, !tbaa !5
  %1277 = getelementptr inbounds %struct.nonlinear, ptr %1276, i32 0, i32 45
  %1278 = getelementptr inbounds [2048 x i8], ptr %1277, i64 0, i64 0
  %1279 = getelementptr inbounds [2048 x i8], ptr %59, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1278, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1625, ptr noundef %1279)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %59) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

1280:                                             ; preds = %1242
  br label %1281

1281:                                             ; preds = %1280
  %1282 = load i32, ptr %19, align 4, !tbaa !22
  %1283 = add nsw i32 %1282, 1
  store i32 %1283, ptr %19, align 4, !tbaa !22
  br label %1236, !llvm.loop !71

1284:                                             ; preds = %1236
  br label %1285

1285:                                             ; preds = %1284, %1230
  store i32 0, ptr %19, align 4, !tbaa !22
  br label %1286

1286:                                             ; preds = %1308, %1285
  %1287 = load i32, ptr %19, align 4, !tbaa !22
  %1288 = load ptr, ptr %13, align 8, !tbaa !5
  %1289 = getelementptr inbounds %struct.nonlinear, ptr %1288, i32 0, i32 17
  %1290 = load i32, ptr %1289, align 4, !tbaa !32
  %1291 = icmp slt i32 %1287, %1290
  br i1 %1291, label %1292, label %1311

1292:                                             ; preds = %1286
  %1293 = load ptr, ptr %20, align 8, !tbaa !5
  %1294 = load i32, ptr %19, align 4, !tbaa !22
  %1295 = sext i32 %1294 to i64
  %1296 = getelementptr inbounds ptr, ptr %1293, i64 %1295
  %1297 = load ptr, ptr %1296, align 8, !tbaa !5
  call void @free(ptr noundef %1297) #6
  %1298 = load ptr, ptr %21, align 8, !tbaa !5
  %1299 = load i32, ptr %19, align 4, !tbaa !22
  %1300 = sext i32 %1299 to i64
  %1301 = getelementptr inbounds ptr, ptr %1298, i64 %1300
  %1302 = load ptr, ptr %1301, align 8, !tbaa !5
  call void @free(ptr noundef %1302) #6
  %1303 = load ptr, ptr %22, align 8, !tbaa !5
  %1304 = load i32, ptr %19, align 4, !tbaa !22
  %1305 = sext i32 %1304 to i64
  %1306 = getelementptr inbounds ptr, ptr %1303, i64 %1305
  %1307 = load ptr, ptr %1306, align 8, !tbaa !5
  call void @free(ptr noundef %1307) #6
  br label %1308

1308:                                             ; preds = %1292
  %1309 = load i32, ptr %19, align 4, !tbaa !22
  %1310 = add nsw i32 %1309, 1
  store i32 %1310, ptr %19, align 4, !tbaa !22
  br label %1286, !llvm.loop !72

1311:                                             ; preds = %1286
  %1312 = load ptr, ptr %20, align 8, !tbaa !5
  call void @free(ptr noundef %1312) #6
  %1313 = load ptr, ptr %21, align 8, !tbaa !5
  call void @free(ptr noundef %1313) #6
  %1314 = load ptr, ptr %22, align 8, !tbaa !5
  call void @free(ptr noundef %1314) #6
  %1315 = load ptr, ptr %13, align 8, !tbaa !5
  %1316 = getelementptr inbounds %struct.nonlinear, ptr %1315, i32 0, i32 0
  %1317 = load i32, ptr %1316, align 8, !tbaa !15
  %1318 = icmp eq i32 %1317, 2
  br i1 %1318, label %1319, label %1334

1319:                                             ; preds = %1311
  %1320 = load ptr, ptr %13, align 8, !tbaa !5
  %1321 = load ptr, ptr %29, align 8, !tbaa !5
  %1322 = call i32 @nonlinear_hmcode_workspace_free(ptr noundef %1320, ptr noundef %1321)
  %1323 = icmp eq i32 %1322, 1
  br i1 %1323, label %1324, label %1333

1324:                                             ; preds = %1319
  call void @llvm.lifetime.start.p0(i64 2048, ptr %60) #6
  %1325 = getelementptr inbounds [2048 x i8], ptr %60, i64 0, i64 0
  %1326 = load ptr, ptr %13, align 8, !tbaa !5
  %1327 = getelementptr inbounds %struct.nonlinear, ptr %1326, i32 0, i32 45
  %1328 = getelementptr inbounds [2048 x i8], ptr %1327, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1325, ptr noundef @.str.4, ptr noundef @.str.83, ptr noundef %1328)
  %1329 = load ptr, ptr %13, align 8, !tbaa !5
  %1330 = getelementptr inbounds %struct.nonlinear, ptr %1329, i32 0, i32 45
  %1331 = getelementptr inbounds [2048 x i8], ptr %1330, i64 0, i64 0
  %1332 = getelementptr inbounds [2048 x i8], ptr %60, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1331, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1647, ptr noundef %1332)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %60) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

1333:                                             ; preds = %1319
  br label %1334

1334:                                             ; preds = %1333, %1311
  br label %1346

1335:                                             ; preds = %470
  call void @llvm.lifetime.start.p0(i64 2048, ptr %61) #6
  %1336 = getelementptr inbounds [2048 x i8], ptr %61, i64 0, i64 0
  %1337 = load ptr, ptr %13, align 8, !tbaa !5
  %1338 = getelementptr inbounds %struct.nonlinear, ptr %1337, i32 0, i32 0
  %1339 = load i32, ptr %1338, align 8, !tbaa !15
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1336, ptr noundef @.str.84, i32 noundef %1339)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %62) #6
  %1340 = getelementptr inbounds [2048 x i8], ptr %62, i64 0, i64 0
  %1341 = getelementptr inbounds [2048 x i8], ptr %61, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1340, ptr noundef @.str.85, ptr noundef %1341)
  %1342 = load ptr, ptr %13, align 8, !tbaa !5
  %1343 = getelementptr inbounds %struct.nonlinear, ptr %1342, i32 0, i32 45
  %1344 = getelementptr inbounds [2048 x i8], ptr %1343, i64 0, i64 0
  %1345 = getelementptr inbounds [2048 x i8], ptr %62, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1344, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_init, i32 noundef 1654, ptr noundef %1345)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %62) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %61) #6
  br label %1348

1346:                                             ; preds = %1334
  br label %1347

1347:                                             ; preds = %1346, %464
  store i32 0, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %1348

1348:                                             ; preds = %1347, %1335, %1324, %1271, %1082, %1051, %926, %881, %843, %784, %753, %709, %696, %680, %651, %621, %591, %554, %532, %510, %367, %325, %283, %240, %164, %96, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %1349 = load i32, ptr %7, align 4
  ret i32 %1349
}

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_indices(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_pk_linear(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_workspace_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_dark_energy_correction(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_baryonic_feedback(ptr noundef) #5

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_fill_sigtab(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #5

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_workspace_free(ptr noundef, ptr noundef) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"perturbs", !10, i64 0, !10, i64 2, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 10, !10, i64 12, !10, i64 14, !10, i64 16, !10, i64 18, !10, i64 20, !13, i64 24, !10, i64 28, !10, i64 30, !10, i64 32, !10, i64 34, !10, i64 36, !10, i64 38, !10, i64 40, !10, i64 42, !10, i64 44, !10, i64 46, !10, i64 48, !10, i64 50, !10, i64 52, !10, i64 54, !10, i64 56, !10, i64 58, !10, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !14, i64 80, !13, i64 88, !13, i64 92, !7, i64 96, !7, i64 896, !13, i64 1696, !13, i64 1700, !13, i64 1704, !13, i64 1708, !13, i64 1712, !14, i64 1720, !13, i64 1728, !13, i64 1732, !7, i64 1736, !14, i64 1976, !14, i64 1984, !14, i64 1992, !6, i64 2000, !6, i64 2008, !13, i64 2016, !10, i64 2020, !10, i64 2022, !13, i64 2024, !13, i64 2028, !13, i64 2032, !13, i64 2036, !13, i64 2040, !13, i64 2044, !13, i64 2048, !13, i64 2052, !13, i64 2056, !13, i64 2060, !13, i64 2064, !6, i64 2072, !10, i64 2080, !10, i64 2082, !10, i64 2084, !10, i64 2086, !10, i64 2088, !10, i64 2090, !10, i64 2092, !10, i64 2094, !10, i64 2096, !10, i64 2098, !10, i64 2100, !10, i64 2102, !10, i64 2104, !10, i64 2106, !10, i64 2108, !10, i64 2110, !10, i64 2112, !10, i64 2114, !10, i64 2116, !10, i64 2118, !10, i64 2120, !10, i64 2122, !10, i64 2124, !10, i64 2126, !10, i64 2128, !10, i64 2130, !10, i64 2132, !10, i64 2134, !10, i64 2136, !10, i64 2138, !10, i64 2140, !10, i64 2142, !10, i64 2144, !10, i64 2146, !10, i64 2148, !10, i64 2150, !10, i64 2152, !10, i64 2154, !10, i64 2156, !10, i64 2158, !13, i64 2160, !13, i64 2164, !13, i64 2168, !13, i64 2172, !13, i64 2176, !13, i64 2180, !13, i64 2184, !13, i64 2188, !13, i64 2192, !13, i64 2196, !13, i64 2200, !13, i64 2204, !13, i64 2208, !13, i64 2212, !13, i64 2216, !13, i64 2220, !13, i64 2224, !13, i64 2228, !13, i64 2232, !13, i64 2236, !13, i64 2240, !13, i64 2244, !13, i64 2248, !13, i64 2252, !13, i64 2256, !13, i64 2260, !13, i64 2264, !13, i64 2268, !13, i64 2272, !13, i64 2276, !13, i64 2280, !13, i64 2284, !13, i64 2288, !13, i64 2292, !13, i64 2296, !13, i64 2300, !13, i64 2304, !13, i64 2308, !13, i64 2312, !13, i64 2316, !13, i64 2320, !13, i64 2324, !13, i64 2328, !13, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !14, i64 2376, !14, i64 2384, !6, i64 2392, !13, i64 2400, !14, i64 2408, !14, i64 2416, !14, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !13, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !13, i64 26512, !13, i64 26516, !13, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !10, i64 27608, !7, i64 27610}
!13 = !{!"int", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"nonlinear", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !10, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !6, i64 56, !10, i64 64, !10, i64 66, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !10, i64 88, !13, i64 92, !6, i64 96, !6, i64 104, !6, i64 112, !13, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !13, i64 184, !13, i64 188, !6, i64 192, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !10, i64 264, !7, i64 266}
!17 = !{!12, !10, i64 42}
!18 = !{!16, !10, i64 88}
!19 = !{!16, !10, i64 264}
!20 = !{!21, !10, i64 732}
!21 = !{!"background", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !10, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !10, i64 176, !14, i64 184, !14, i64 192, !6, i64 200, !13, i64 208, !13, i64 212, !14, i64 216, !13, i64 224, !6, i64 232, !6, i64 240, !14, i64 248, !6, i64 256, !14, i64 264, !6, i64 272, !14, i64 280, !6, i64 288, !14, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !14, i64 328, !14, i64 336, !14, i64 344, !14, i64 352, !13, i64 360, !6, i64 368, !14, i64 376, !14, i64 384, !14, i64 392, !14, i64 400, !14, i64 408, !14, i64 416, !14, i64 424, !14, i64 432, !14, i64 440, !14, i64 448, !14, 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, !10, i64 724, !10, i64 726, !10, i64 728, !10, i64 730, !10, i64 732, !10, i64 734, !10, i64 736, !10, i64 738, !10, i64 740, !10, i64 742, !10, 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, !10, i64 840, !10, i64 842, !10, i64 844, !10, i64 846, !10, i64 848, !10, i64 850, !7, i64 852, !10, i64 2900, !7, i64 2902}
!22 = !{!13, !13, i64 0}
!23 = !{!21, !13, i64 224}
!24 = !{!21, !6, i64 368}
!25 = !{!14, !14, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!21, !10, i64 742}
!29 = !{!16, !13, i64 120}
!30 = !{!12, !13, i64 2400}
!31 = !{!12, !13, i64 2480}
!32 = !{!16, !13, i64 84}
!33 = !{!16, !13, i64 92}
!34 = !{!16, !6, i64 144}
!35 = !{!16, !6, i64 128}
!36 = !{!16, !13, i64 52}
!37 = !{!16, !6, i64 112}
!38 = !{!16, !6, i64 152}
!39 = !{!16, !6, i64 136}
!40 = distinct !{!40, !27}
!41 = distinct !{!41, !27}
!42 = !{!21, !14, i64 328}
!43 = !{!16, !6, i64 176}
!44 = distinct !{!44, !27}
!45 = !{!16, !10, i64 64}
!46 = !{!16, !13, i64 68}
!47 = !{!16, !6, i64 96}
!48 = !{!16, !10, i64 66}
!49 = !{!16, !13, i64 72}
!50 = !{!16, !13, i64 184}
!51 = distinct !{!51, !27}
!52 = !{!16, !13, i64 216}
!53 = !{!16, !13, i64 188}
!54 = !{!16, !6, i64 104}
!55 = !{!16, !6, i64 192}
!56 = !{!16, !6, i64 208}
!57 = !{!16, !6, i64 200}
!58 = distinct !{!58, !27}
!59 = distinct !{!59, !27}
!60 = !{!21, !13, i64 624}
!61 = !{!21, !10, i64 840}
!62 = !{!21, !10, i64 846}
!63 = !{!21, !13, i64 464}
!64 = !{!21, !14, i64 456}
!65 = distinct !{!65, !27}
!66 = !{!16, !6, i64 160}
!67 = distinct !{!67, !27}
!68 = distinct !{!68, !27}
!69 = distinct !{!69, !27}
!70 = !{!16, !6, i64 168}
!71 = distinct !{!71, !27}
!72 = distinct !{!72, !27}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.nonlinear_workspace = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double }

@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [35 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.53 = external hidden unnamed_addr constant [208 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [204 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [39 x i8], align 1
@__func__.nonlinear_init = external hidden unnamed_addr constant [15 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [209 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [142 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [200 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [194 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [474 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @nonlinear_init(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readnone %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #6 {
  %7 = alloca i16, align 2
  %8 = alloca i32, align 4
  %9 = alloca %struct.nonlinear_workspace, align 8
  %10 = alloca [2048 x i8], align 16
  %11 = alloca [2048 x i8], align 16
  %12 = alloca [2048 x i8], align 16
  %13 = alloca [2048 x i8], align 16
  %14 = alloca [2048 x i8], align 16
  %15 = alloca [2048 x i8], align 16
  %16 = alloca [2048 x i8], align 16
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  %20 = alloca [2048 x i8], align 16
  %21 = alloca [2048 x i8], align 16
  %22 = alloca [2048 x i8], align 16
  %23 = alloca [2048 x i8], align 16
  %24 = alloca [2048 x i8], align 16
  %25 = alloca [2048 x i8], align 16
  %26 = alloca [2048 x i8], align 16
  %27 = alloca [2048 x i8], align 16
  %28 = alloca [2048 x i8], align 16
  %29 = alloca [2048 x i8], align 16
  %30 = alloca [2048 x i8], align 16
  %31 = alloca [2048 x i8], align 16
  %32 = alloca [2048 x i8], align 16
  %33 = alloca [2048 x i8], align 16
  %34 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #8
  store i16 0, ptr %7, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #8
  %35 = getelementptr inbounds i8, ptr %3, i64 4
  %36 = load i16, ptr %35, align 4, !tbaa !9
  %37 = icmp eq i16 %36, 0
  br i1 %37, label %38, label %40

38:                                               ; preds = %6
  store i32 0, ptr %5, align 8, !tbaa !14
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.50)
  br label %572

40:                                               ; preds = %6
  %41 = getelementptr inbounds i8, ptr %3, i64 42
  %42 = load i16, ptr %41, align 2, !tbaa !16
  %43 = getelementptr inbounds i8, ptr %5, i64 88
  store i16 %42, ptr %43, align 8, !tbaa !17
  %44 = icmp eq i16 %42, 0
  br i1 %44, label %45, label %54

45:                                               ; preds = %40
  %46 = load i32, ptr %5, align 8, !tbaa !14
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %54

48:                                               ; preds = %45
  %49 = getelementptr inbounds i8, ptr %5, i64 264
  %50 = load i16, ptr %49, align 8, !tbaa !18
  %51 = icmp sgt i16 %50, 0
  br i1 %51, label %52, label %572

52:                                               ; preds = %48
  %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.51)
  br label %572

54:                                               ; preds = %45, %40
  %55 = getelementptr inbounds i8, ptr %5, i64 264
  %56 = load i16, ptr %55, align 8, !tbaa !18
  %57 = icmp sgt i16 %56, 0
  br i1 %57, label %58, label %60

58:                                               ; preds = %54
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.52)
  br label %60

60:                                               ; preds = %54, %58
  %61 = load i32, ptr %5, align 8, !tbaa !14
  %.not = icmp eq i32 %61, 0
  br i1 %.not, label %87, label %62

62:                                               ; preds = %60
  %63 = getelementptr inbounds i8, ptr %1, i64 732
  %64 = load i16, ptr %63, align 4, !tbaa !19
  %.not381 = icmp eq i16 %64, 0
  br i1 %.not381, label %.loopexit398, label %.preheader397

.preheader397:                                    ; preds = %62
  %65 = getelementptr inbounds i8, ptr %1, i64 224
  %66 = load i32, ptr %65, align 8, !tbaa !21
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph, label %.loopexit398

.lr.ph:                                           ; preds = %.preheader397
  %68 = getelementptr inbounds i8, ptr %1, i64 368
  br label %69

69:                                               ; preds = %.lr.ph, %78
  %70 = phi i32 [ %66, %.lr.ph ], [ %79, %78 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %78 ]
  %71 = load ptr, ptr %68, align 8, !tbaa !22
  %72 = getelementptr inbounds double, ptr %71, i64 %indvars.iv
  %73 = load double, ptr %72, align 8, !tbaa !23
  %74 = fcmp ogt double %73, 1.000000e+01
  br i1 %74, label %75, label %78

75:                                               ; preds = %69
  %76 = load ptr, ptr @stdout, align 8, !tbaa !24
  %77 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.53, double noundef %73) #8
  %.pre = load i32, ptr %65, align 8, !tbaa !21
  br label %78

78:                                               ; preds = %69, %75
  %79 = phi i32 [ %70, %69 ], [ %.pre, %75 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %80 = sext i32 %79 to i64
  %81 = icmp slt i64 %indvars.iv.next, %80
  br i1 %81, label %69, label %.loopexit398, !llvm.loop !25

.loopexit398:                                     ; preds = %78, %.preheader397, %62
  %82 = getelementptr inbounds i8, ptr %1, i64 742
  %83 = load i16, ptr %82, align 2, !tbaa !27
  %.not382 = icmp eq i16 %83, 0
  br i1 %.not382, label %87, label %84

84:                                               ; preds = %.loopexit398
  %85 = load ptr, ptr @stdout, align 8, !tbaa !24
  %86 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.54) #8
  br label %87

87:                                               ; preds = %.loopexit398, %84, %60
  %88 = tail call i32 @nonlinear_indices(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5)
  %89 = icmp eq i32 %88, 1
  br i1 %89, label %107, label %.preheader396

.preheader396:                                    ; preds = %87
  %90 = getelementptr inbounds i8, ptr %5, i64 120
  %91 = load i32, ptr %90, align 8, !tbaa !28
  %92 = icmp sgt i32 %91, 0
  br i1 %92, label %.lr.ph421, label %.preheader396..preheader395_crit_edge

.preheader396..preheader395_crit_edge:            ; preds = %.preheader396
  %.phi.trans.insert = getelementptr inbounds i8, ptr %5, i64 84
  %.pre496 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !29
  br label %.preheader395

.lr.ph421:                                        ; preds = %.preheader396
  %93 = getelementptr inbounds i8, ptr %3, i64 2400
  %94 = getelementptr inbounds i8, ptr %3, i64 2480
  %95 = getelementptr inbounds i8, ptr %5, i64 84
  %96 = getelementptr inbounds i8, ptr %5, i64 92
  %97 = getelementptr inbounds i8, ptr %5, i64 144
  %98 = getelementptr inbounds i8, ptr %5, i64 128
  %99 = getelementptr inbounds i8, ptr %5, i64 52
  %100 = getelementptr inbounds i8, ptr %5, i64 112
  %101 = getelementptr inbounds i8, ptr %5, i64 152
  %102 = getelementptr inbounds i8, ptr %5, i64 266
  %103 = getelementptr inbounds i8, ptr %5, i64 136
  %104 = load i32, ptr %95, align 4, !tbaa !29
  %105 = icmp sgt i32 %104, 0
  br i1 %105, label %.lr.ph421.split, label %.preheader395.thread

.preheader395.thread:                             ; preds = %.lr.ph421
  %106 = getelementptr inbounds i8, ptr %5, i64 84
  br label %._crit_edge424

107:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #8
  %108 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.55, ptr noundef nonnull %108) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %108, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1286, ptr noundef nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #8
  br label %572

.preheader395:                                    ; preds = %._crit_edge, %.preheader396..preheader395_crit_edge
  %109 = phi i32 [ %.pre496, %.preheader396..preheader395_crit_edge ], [ %174, %._crit_edge ]
  %110 = getelementptr inbounds i8, ptr %5, i64 84
  %111 = icmp sgt i32 %109, 0
  br i1 %111, label %.lr.ph423, label %._crit_edge424

.lr.ph423:                                        ; preds = %.preheader395
  %112 = getelementptr inbounds i8, ptr %1, i64 328
  %113 = getelementptr inbounds i8, ptr %5, i64 176
  br label %181

.lr.ph421.split:                                  ; preds = %.lr.ph421, %._crit_edge
  %114 = phi i32 [ %173, %._crit_edge ], [ %91, %.lr.ph421 ]
  %115 = phi i32 [ %174, %._crit_edge ], [ %104, %.lr.ph421 ]
  %.0360420 = phi i32 [ %175, %._crit_edge ], [ 0, %.lr.ph421 ]
  %116 = load i32, ptr %93, align 8, !tbaa !30
  %117 = load i32, ptr %94, align 8, !tbaa !31
  %118 = add i32 %116, %.0360420
  %119 = sub i32 %118, %117
  %120 = icmp sgt i32 %115, 0
  br i1 %120, label %.lr.ph419, label %._crit_edge

.lr.ph419:                                        ; preds = %.lr.ph421.split, %169
  %indvars.iv461 = phi i64 [ %indvars.iv.next462, %169 ], [ 0, %.lr.ph421.split ]
  %121 = load i32, ptr %96, align 4, !tbaa !32
  %122 = load ptr, ptr %97, align 8, !tbaa !33
  %123 = getelementptr inbounds ptr, ptr %122, i64 %indvars.iv461
  %124 = load ptr, ptr %123, align 8, !tbaa !24
  %125 = mul nsw i32 %121, %.0360420
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds double, ptr %124, i64 %126
  %128 = load ptr, ptr %98, align 8, !tbaa !34
  %129 = getelementptr inbounds ptr, ptr %128, i64 %indvars.iv461
  %130 = load ptr, ptr %129, align 8, !tbaa !24
  %131 = load i32, ptr %99, align 4, !tbaa !35
  %132 = mul nsw i32 %131, %125
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %130, i64 %133
  %135 = trunc nuw nsw i64 %indvars.iv461 to i32
  %136 = tail call i32 @nonlinear_pk_linear(ptr noundef %1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5, i32 noundef %135, i32 noundef %119, i32 noundef %121, ptr noundef %127, ptr noundef %134)
  %137 = icmp eq i32 %136, 1
  br i1 %137, label %138, label %139

138:                                              ; preds = %.lr.ph419
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.56, ptr noundef nonnull %102) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %102, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1323, ptr noundef nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #8
  br label %572

139:                                              ; preds = %.lr.ph419
  %140 = load i32, ptr %90, align 8, !tbaa !28
  %141 = icmp sgt i32 %140, 1
  br i1 %141, label %142, label %169

142:                                              ; preds = %139
  %143 = load ptr, ptr %100, align 8, !tbaa !36
  %144 = load ptr, ptr %97, align 8, !tbaa !33
  %145 = getelementptr inbounds ptr, ptr %144, i64 %indvars.iv461
  %146 = load ptr, ptr %145, align 8, !tbaa !24
  %147 = load i32, ptr %96, align 4, !tbaa !32
  %148 = load ptr, ptr %101, align 8, !tbaa !37
  %149 = getelementptr inbounds ptr, ptr %148, i64 %indvars.iv461
  %150 = load ptr, ptr %149, align 8, !tbaa !24
  %151 = tail call i32 @array_spline_table_lines(ptr noundef %143, i32 noundef %140, ptr noundef %146, i32 noundef %147, ptr noundef %150, i16 noundef signext 1, ptr noundef nonnull %102) #8
  %152 = icmp eq i32 %151, 1
  br i1 %152, label %153, label %154

153:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.57, ptr noundef nonnull %102) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %102, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1340, ptr noundef nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #8
  br label %572

154:                                              ; preds = %142
  %155 = load ptr, ptr %100, align 8, !tbaa !36
  %156 = load i32, ptr %90, align 8, !tbaa !28
  %157 = load ptr, ptr %98, align 8, !tbaa !34
  %158 = getelementptr inbounds ptr, ptr %157, i64 %indvars.iv461
  %159 = load ptr, ptr %158, align 8, !tbaa !24
  %160 = load i32, ptr %96, align 4, !tbaa !32
  %161 = load i32, ptr %99, align 4, !tbaa !35
  %162 = mul nsw i32 %161, %160
  %163 = load ptr, ptr %103, align 8, !tbaa !38
  %164 = getelementptr inbounds ptr, ptr %163, i64 %indvars.iv461
  %165 = load ptr, ptr %164, align 8, !tbaa !24
  %166 = tail call i32 @array_spline_table_lines(ptr noundef %155, i32 noundef %156, ptr noundef %159, i32 noundef %162, ptr noundef %165, i16 noundef signext 1, ptr noundef nonnull %102) #8
  %167 = icmp eq i32 %166, 1
  br i1 %167, label %168, label %169

168:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.58, ptr noundef nonnull %102) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %102, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1350, ptr noundef nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #8
  br label %572

169:                                              ; preds = %139, %154
  %indvars.iv.next462 = add nuw nsw i64 %indvars.iv461, 1
  %170 = load i32, ptr %95, align 4, !tbaa !29
  %171 = sext i32 %170 to i64
  %172 = icmp slt i64 %indvars.iv.next462, %171
  br i1 %172, label %.lr.ph419, label %._crit_edge.loopexit, !llvm.loop !39

._crit_edge.loopexit:                             ; preds = %169
  %.pre495 = load i32, ptr %90, align 8, !tbaa !28
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph421.split
  %173 = phi i32 [ %.pre495, %._crit_edge.loopexit ], [ %114, %.lr.ph421.split ]
  %174 = phi i32 [ %170, %._crit_edge.loopexit ], [ %115, %.lr.ph421.split ]
  %175 = add nuw nsw i32 %.0360420, 1
  %176 = icmp slt i32 %175, %173
  br i1 %176, label %.lr.ph421.split, label %.preheader395, !llvm.loop !40

177:                                              ; preds = %181
  %indvars.iv.next465 = add nuw nsw i64 %indvars.iv464, 1
  %178 = load i32, ptr %110, align 4, !tbaa !29
  %179 = sext i32 %178 to i64
  %180 = icmp slt i64 %indvars.iv.next465, %179
  br i1 %180, label %181, label %._crit_edge424, !llvm.loop !42

181:                                              ; preds = %.lr.ph423, %177
  %indvars.iv464 = phi i64 [ 0, %.lr.ph423 ], [ %indvars.iv.next465, %177 ]
  %182 = load double, ptr %112, align 8, !tbaa !43
  %183 = fdiv double 8.000000e+00, %182
  %184 = load ptr, ptr %113, align 8, !tbaa !44
  %185 = getelementptr inbounds double, ptr %184, i64 %indvars.iv464
  %186 = trunc nuw nsw i64 %indvars.iv464 to i32
  %187 = tail call i32 @nonlinear_sigmas_at_z(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, double noundef %183, double noundef 0.000000e+00, i32 noundef %186, i32 noundef 0, ptr noundef %185)
  %188 = icmp eq i32 %187, 1
  br i1 %188, label %189, label %177

189:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #8
  %190 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.59, ptr noundef nonnull %190) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %190, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1371, ptr noundef nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #8
  br label %572

._crit_edge424:                                   ; preds = %177, %.preheader395.thread, %.preheader395
  %191 = phi ptr [ %106, %.preheader395.thread ], [ %110, %.preheader395 ], [ %110, %177 ]
  %192 = load i16, ptr %55, align 8, !tbaa !18
  %193 = icmp sgt i16 %192, 0
  br i1 %193, label %194, label %244

194:                                              ; preds = %._crit_edge424
  %195 = getelementptr inbounds i8, ptr %5, i64 64
  %196 = load i16, ptr %195, align 8, !tbaa !45
  %197 = icmp eq i16 %196, 1
  br i1 %197, label %198, label %219

198:                                              ; preds = %194
  %199 = load ptr, ptr @stdout, align 8, !tbaa !24
  %200 = getelementptr inbounds i8, ptr %5, i64 176
  %201 = load ptr, ptr %200, align 8, !tbaa !44
  %202 = getelementptr inbounds i8, ptr %5, i64 68
  %203 = load i32, ptr %202, align 4, !tbaa !46
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds double, ptr %201, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !23
  %207 = getelementptr inbounds i8, ptr %5, i64 96
  %208 = load ptr, ptr %207, align 8, !tbaa !47
  %209 = getelementptr inbounds i8, ptr %5, i64 92
  %210 = load i32, ptr %209, align 4, !tbaa !32
  %211 = sext i32 %210 to i64
  %212 = getelementptr double, ptr %208, i64 %211
  %213 = getelementptr i8, ptr %212, i64 -8
  %214 = load double, ptr %213, align 8, !tbaa !23
  %215 = getelementptr inbounds i8, ptr %1, i64 328
  %216 = load double, ptr %215, align 8, !tbaa !43
  %217 = fdiv double %214, %216
  %218 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef nonnull @.str.60, double noundef %206, double noundef %217) #8
  br label %219

219:                                              ; preds = %198, %194
  %220 = getelementptr inbounds i8, ptr %5, i64 66
  %221 = load i16, ptr %220, align 2, !tbaa !48
  %222 = icmp eq i16 %221, 1
  br i1 %222, label %223, label %244

223:                                              ; preds = %219
  %224 = load ptr, ptr @stdout, align 8, !tbaa !24
  %225 = getelementptr inbounds i8, ptr %5, i64 176
  %226 = load ptr, ptr %225, align 8, !tbaa !44
  %227 = getelementptr inbounds i8, ptr %5, i64 72
  %228 = load i32, ptr %227, align 8, !tbaa !49
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds double, ptr %226, i64 %229
  %231 = load double, ptr %230, align 8, !tbaa !23
  %232 = getelementptr inbounds i8, ptr %5, i64 96
  %233 = load ptr, ptr %232, align 8, !tbaa !47
  %234 = getelementptr inbounds i8, ptr %5, i64 92
  %235 = load i32, ptr %234, align 4, !tbaa !32
  %236 = sext i32 %235 to i64
  %237 = getelementptr double, ptr %233, i64 %236
  %238 = getelementptr i8, ptr %237, i64 -8
  %239 = load double, ptr %238, align 8, !tbaa !23
  %240 = getelementptr inbounds i8, ptr %1, i64 328
  %241 = load double, ptr %240, align 8, !tbaa !43
  %242 = fdiv double %239, %241
  %243 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef nonnull @.str.61, double noundef %231, double noundef %242) #8
  br label %244

244:                                              ; preds = %219, %223, %._crit_edge424
  %245 = load i32, ptr %5, align 8, !tbaa !14
  switch i32 %245, label %570 [
    i32 0, label %246
    i32 1, label %251
    i32 2, label %251
  ]

246:                                              ; preds = %244
  %247 = load i16, ptr %55, align 8, !tbaa !18
  %248 = icmp sgt i16 %247, 0
  br i1 %248, label %249, label %572

249:                                              ; preds = %246
  %250 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.62)
  br label %572

251:                                              ; preds = %244, %244
  %252 = load i16, ptr %55, align 8, !tbaa !18
  %253 = icmp sgt i16 %252, 0
  br i1 %253, label %254, label %.thread385

254:                                              ; preds = %251
  %255 = icmp eq i32 %245, 1
  br i1 %255, label %256, label %.thread.thread

256:                                              ; preds = %254
  %257 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.63)
  %.pr = load i16, ptr %55, align 8, !tbaa !18
  %258 = icmp sgt i16 %.pr, 0
  br i1 %258, label %.thread, label %.thread385

.thread:                                          ; preds = %256
  %.pre497 = load i32, ptr %5, align 8, !tbaa !14
  %259 = icmp eq i32 %.pre497, 2
  br i1 %259, label %.thread.thread, label %.thread385

.thread.thread:                                   ; preds = %254, %.thread
  %260 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.64)
  br label %.thread385

.thread385:                                       ; preds = %251, %.thread.thread, %.thread, %256
  %261 = getelementptr inbounds i8, ptr %5, i64 92
  %262 = load i32, ptr %261, align 4, !tbaa !32
  %263 = sext i32 %262 to i64
  %264 = shl nsw i64 %263, 3
  %265 = tail call noalias ptr @malloc(i64 noundef %264) #9
  %266 = icmp eq ptr %265, null
  br i1 %266, label %267, label %270

267:                                              ; preds = %.thread385
  %268 = shl i32 %262, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.65, i32 noundef %268) #8
  %269 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %269, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1409, ptr noundef nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #8
  br label %572

270:                                              ; preds = %.thread385
  %271 = tail call noalias ptr @malloc(i64 noundef %264) #9
  %272 = icmp eq ptr %271, null
  br i1 %272, label %273, label %276

273:                                              ; preds = %270
  %274 = shl i32 %262, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.66, i32 noundef %274) #8
  %275 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %275, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1413, ptr noundef nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #8
  br label %572

276:                                              ; preds = %270
  %277 = tail call noalias ptr @malloc(i64 noundef %264) #9
  %278 = icmp eq ptr %277, null
  br i1 %278, label %282, label %.preheader394

.preheader394:                                    ; preds = %276
  %279 = load i32, ptr %191, align 4, !tbaa !29
  %280 = icmp sgt i32 %279, 0
  br i1 %280, label %.lr.ph426, label %._crit_edge427

.lr.ph426:                                        ; preds = %.preheader394
  %281 = getelementptr inbounds i8, ptr %5, i64 184
  %wide.trip.count = zext nneg i32 %279 to i64
  br label %286

282:                                              ; preds = %276
  %283 = shl i32 %262, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.67, i32 noundef %283) #8
  %284 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %284, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1417, ptr noundef nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #8
  br label %572

285:                                              ; preds = %303
  %indvars.iv.next468 = add nuw nsw i64 %indvars.iv467, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next468, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge427, label %286, !llvm.loop !50

286:                                              ; preds = %.lr.ph426, %285
  %indvars.iv467 = phi i64 [ 0, %.lr.ph426 ], [ %indvars.iv.next468, %285 ]
  %287 = tail call noalias ptr @malloc(i64 noundef %264) #9
  %288 = getelementptr inbounds ptr, ptr %265, i64 %indvars.iv467
  store ptr %287, ptr %288, align 8, !tbaa !24
  %289 = icmp eq ptr %287, null
  br i1 %289, label %290, label %293

290:                                              ; preds = %286
  %291 = shl i32 %262, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.68, i32 noundef %291) #8
  %292 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %292, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1420, ptr noundef nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #8
  br label %572

293:                                              ; preds = %286
  %294 = load i32, ptr %281, align 8, !tbaa !51
  %295 = sext i32 %294 to i64
  %296 = shl nsw i64 %295, 3
  %297 = tail call noalias ptr @malloc(i64 noundef %296) #9
  %298 = getelementptr inbounds ptr, ptr %271, i64 %indvars.iv467
  store ptr %297, ptr %298, align 8, !tbaa !24
  %299 = icmp eq ptr %297, null
  br i1 %299, label %300, label %303

300:                                              ; preds = %293
  %301 = shl i32 %294, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.69, i32 noundef %301) #8
  %302 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %302, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1421, ptr noundef nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #8
  br label %572

303:                                              ; preds = %293
  %304 = tail call noalias ptr @malloc(i64 noundef %296) #9
  %305 = getelementptr inbounds ptr, ptr %277, i64 %indvars.iv467
  store ptr %304, ptr %305, align 8, !tbaa !24
  %306 = icmp eq ptr %304, null
  br i1 %306, label %307, label %285

307:                                              ; preds = %303
  %308 = shl i32 %294, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %20) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %20, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.70, i32 noundef %308) #8
  %309 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %309, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1422, ptr noundef nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %20) #8
  br label %572

._crit_edge427:                                   ; preds = %285, %.preheader394
  %310 = load i32, ptr %5, align 8, !tbaa !14
  %311 = icmp eq i32 %310, 2
  br i1 %311, label %312, label %327

312:                                              ; preds = %._crit_edge427
  %313 = call i32 @nonlinear_hmcode_workspace_init(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %9)
  %314 = icmp eq i32 %313, 1
  br i1 %314, label %315, label %317

315:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %21) #8
  %316 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.71, ptr noundef nonnull %316) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %316, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1433, ptr noundef nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %21) #8
  br label %572

317:                                              ; preds = %312
  %318 = call i32 @nonlinear_hmcode_dark_energy_correction(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %9)
  %319 = icmp eq i32 %318, 1
  br i1 %319, label %320, label %322

320:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %22) #8
  %321 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %22, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.72, ptr noundef nonnull %321) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %321, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1437, ptr noundef nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %22) #8
  br label %572

322:                                              ; preds = %317
  %323 = call i32 @nonlinear_hmcode_baryonic_feedback(ptr noundef nonnull %5)
  %324 = icmp eq i32 %323, 1
  br i1 %324, label %325, label %._crit_edge500

._crit_edge500:                                   ; preds = %322
  %.pre498.pre.pre = load i32, ptr %191, align 4, !tbaa !29
  br label %327

325:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %23) #8
  %326 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %23, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.73, ptr noundef nonnull %326) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %326, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1441, ptr noundef nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %23) #8
  br label %572

327:                                              ; preds = %._crit_edge500, %._crit_edge427
  %.pre498.pre = phi i32 [ %.pre498.pre.pre, %._crit_edge500 ], [ %279, %._crit_edge427 ]
  store i16 0, ptr %7, align 2, !tbaa !5
  %328 = getelementptr inbounds i8, ptr %5, i64 216
  store i32 0, ptr %328, align 8, !tbaa !52
  %329 = getelementptr inbounds i8, ptr %5, i64 188
  %330 = load i32, ptr %329, align 4, !tbaa !53
  %331 = icmp sgt i32 %330, 0
  br i1 %331, label %.preheader392.lr.ph, label %._crit_edge446

.preheader392.lr.ph:                              ; preds = %327
  %332 = getelementptr inbounds i8, ptr %5, i64 184
  %333 = getelementptr inbounds i8, ptr %5, i64 104
  %334 = getelementptr inbounds i8, ptr %5, i64 266
  %335 = getelementptr inbounds i8, ptr %5, i64 200
  %336 = getelementptr inbounds i8, ptr %5, i64 192
  %337 = getelementptr inbounds i8, ptr %5, i64 208
  %338 = getelementptr inbounds i8, ptr %1, i64 624
  %339 = getelementptr inbounds i8, ptr %1, i64 840
  %340 = getelementptr inbounds i8, ptr %1, i64 846
  %341 = getelementptr inbounds i8, ptr %1, i64 464
  %342 = getelementptr inbounds i8, ptr %1, i64 456
  %343 = getelementptr inbounds i8, ptr %5, i64 144
  %344 = getelementptr inbounds i8, ptr %5, i64 160
  %345 = icmp sgt i32 %.pre498.pre, 0
  br i1 %345, label %.preheader392.preheader, label %._crit_edge446

.preheader392.preheader:                          ; preds = %.preheader392.lr.ph
  %.1361443 = add nsw i32 %330, -1
  %346 = zext nneg i32 %.1361443 to i64
  br label %.preheader392

.loopexit393:                                     ; preds = %.loopexit387, %.preheader392
  %347 = phi i32 [ %349, %.preheader392 ], [ %525, %.loopexit387 ]
  %indvars.iv.next487 = add nsw i64 %indvars.iv486, -1
  %348 = icmp sgt i64 %indvars.iv486, 0
  br i1 %348, label %.preheader392, label %._crit_edge446, !llvm.loop !54

.preheader392:                                    ; preds = %.preheader392.preheader, %.loopexit393
  %349 = phi i32 [ %.pre498.pre, %.preheader392.preheader ], [ %347, %.loopexit393 ]
  %indvars.iv486 = phi i64 [ %346, %.preheader392.preheader ], [ %indvars.iv.next487, %.loopexit393 ]
  %.1361.in444 = phi i32 [ %330, %.preheader392.preheader ], [ %351, %.loopexit393 ]
  %350 = icmp sgt i32 %349, 0
  %351 = trunc nuw nsw i64 %indvars.iv486 to i32
  br i1 %350, label %.lr.ph442, label %.loopexit393

.lr.ph442:                                        ; preds = %.preheader392, %.loopexit387
  %indvars.iv483 = phi i64 [ %indvars.iv.next484, %.loopexit387 ], [ 0, %.preheader392 ]
  %352 = load i32, ptr %332, align 8, !tbaa !51
  %353 = getelementptr inbounds ptr, ptr %271, i64 %indvars.iv483
  %354 = load ptr, ptr %353, align 8, !tbaa !24
  %355 = trunc nuw nsw i64 %indvars.iv483 to i32
  %356 = call i32 @nonlinear_pk_linear(ptr noundef %1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5, i32 noundef %355, i32 noundef %351, i32 noundef %352, ptr noundef %354, ptr noundef null)
  %357 = icmp eq i32 %356, 1
  br i1 %357, label %358, label %359

358:                                              ; preds = %.lr.ph442
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %24) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.74, ptr noundef nonnull %334) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1479, ptr noundef nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %24) #8
  br label %572

359:                                              ; preds = %.lr.ph442
  %360 = load ptr, ptr %333, align 8, !tbaa !55
  %361 = load i32, ptr %332, align 8, !tbaa !51
  %362 = load ptr, ptr %353, align 8, !tbaa !24
  %363 = getelementptr inbounds ptr, ptr %277, i64 %indvars.iv483
  %364 = load ptr, ptr %363, align 8, !tbaa !24
  %365 = call i32 @array_spline_table_columns(ptr noundef %360, i32 noundef %361, ptr noundef %362, i32 noundef 1, ptr noundef %364, i16 noundef signext 0, ptr noundef nonnull %334) #8
  %366 = icmp eq i32 %365, 1
  br i1 %366, label %367, label %368

367:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %25) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %25, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.75, ptr noundef nonnull %334) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1491, ptr noundef nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %25) #8
  br label %572

368:                                              ; preds = %359
  %369 = load i16, ptr %7, align 2, !tbaa !5
  %370 = icmp eq i16 %369, 0
  br i1 %370, label %381, label %.preheader390

.preheader390:                                    ; preds = %368
  %371 = load i32, ptr %261, align 4, !tbaa !32
  %372 = icmp sgt i32 %371, 0
  br i1 %372, label %.lr.ph429, label %.loopexit389

.lr.ph429:                                        ; preds = %.preheader390
  %373 = load ptr, ptr %335, align 8, !tbaa !56
  %374 = getelementptr inbounds ptr, ptr %373, i64 %indvars.iv483
  %375 = load ptr, ptr %374, align 8, !tbaa !24
  %376 = mul nsw i32 %371, %351
  %377 = sext i32 %376 to i64
  %wide.trip.count473 = zext nneg i32 %371 to i64
  %invariant.gep = getelementptr double, ptr %375, i64 %377
  %min.iters.check536 = icmp ult i32 %371, 4
  br i1 %min.iters.check536, label %scalar.ph535.preheader, label %vector.ph537

scalar.ph535.preheader:                           ; preds = %middle.block534, %.lr.ph429
  %indvars.iv470.ph = phi i64 [ 0, %.lr.ph429 ], [ %n.vec539, %middle.block534 ]
  br label %scalar.ph535

vector.ph537:                                     ; preds = %.lr.ph429
  %n.vec539 = and i64 %wide.trip.count473, 2147483644
  br label %vector.body541

vector.body541:                                   ; preds = %vector.body541, %vector.ph537
  %index542 = phi i64 [ 0, %vector.ph537 ], [ %index.next543, %vector.body541 ]
  %378 = getelementptr double, ptr %invariant.gep, i64 %index542
  %379 = getelementptr i8, ptr %378, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %378, align 8, !tbaa !23
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %379, align 8, !tbaa !23
  %index.next543 = add nuw i64 %index542, 4
  %380 = icmp eq i64 %index.next543, %n.vec539
  br i1 %380, label %middle.block534, label %vector.body541, !llvm.loop !57

middle.block534:                                  ; preds = %vector.body541
  %cmp.n544 = icmp eq i64 %n.vec539, %wide.trip.count473
  br i1 %cmp.n544, label %.loopexit389, label %scalar.ph535.preheader

381:                                              ; preds = %368
  %382 = load i32, ptr %5, align 8, !tbaa !14
  switch i32 %382, label %.preheader388 [
    i32 1, label %383
    i32 2, label %398
  ]

383:                                              ; preds = %381
  %384 = load ptr, ptr %336, align 8, !tbaa !60
  %385 = getelementptr inbounds double, ptr %384, i64 %indvars.iv486
  %386 = load double, ptr %385, align 8, !tbaa !23
  %387 = getelementptr inbounds ptr, ptr %265, i64 %indvars.iv483
  %388 = load ptr, ptr %387, align 8, !tbaa !24
  %389 = load ptr, ptr %353, align 8, !tbaa !24
  %390 = load ptr, ptr %363, align 8, !tbaa !24
  %391 = load ptr, ptr %337, align 8, !tbaa !61
  %392 = getelementptr inbounds ptr, ptr %391, i64 %indvars.iv483
  %393 = load ptr, ptr %392, align 8, !tbaa !24
  %394 = getelementptr inbounds double, ptr %393, i64 %indvars.iv486
  %395 = call i32 @nonlinear_halofit(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5, i32 noundef %355, double noundef %386, ptr noundef %388, ptr noundef %389, ptr noundef %390, ptr noundef %394, ptr noundef nonnull %7)
  %396 = icmp eq i32 %395, 1
  br i1 %396, label %397, label %419

397:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %26) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %26, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.76, ptr noundef nonnull %334) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1513, ptr noundef nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %26) #8
  br label %572

398:                                              ; preds = %381
  %399 = icmp eq i64 %indvars.iv483, 0
  br i1 %399, label %400, label %406

400:                                              ; preds = %398
  %401 = load ptr, ptr %353, align 8, !tbaa !24
  %402 = load ptr, ptr %363, align 8, !tbaa !24
  %403 = call i32 @nonlinear_hmcode_fill_sigtab(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5, i32 noundef %351, ptr noundef %401, ptr noundef %402, ptr noundef nonnull %9)
  %404 = icmp eq i32 %403, 1
  br i1 %404, label %405, label %406

405:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %27) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.77, ptr noundef nonnull %334) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1531, ptr noundef nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %27) #8
  br label %572

406:                                              ; preds = %400, %398
  %407 = load ptr, ptr %336, align 8, !tbaa !60
  %408 = getelementptr inbounds double, ptr %407, i64 %indvars.iv486
  %409 = load double, ptr %408, align 8, !tbaa !23
  %410 = getelementptr inbounds ptr, ptr %265, i64 %indvars.iv483
  %411 = load ptr, ptr %410, align 8, !tbaa !24
  %412 = load ptr, ptr %337, align 8, !tbaa !61
  %413 = getelementptr inbounds ptr, ptr %412, i64 %indvars.iv483
  %414 = load ptr, ptr %413, align 8, !tbaa !24
  %415 = getelementptr inbounds double, ptr %414, i64 %indvars.iv486
  %416 = call i32 @nonlinear_hmcode(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5, i32 noundef %355, i32 noundef %351, double noundef %409, ptr noundef %411, ptr noundef nonnull %271, ptr noundef nonnull %277, ptr noundef %415, ptr noundef nonnull %7, ptr noundef nonnull %9)
  %417 = icmp eq i32 %416, 1
  br i1 %417, label %418, label %419

418:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %28) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.78, ptr noundef nonnull %334) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1549, ptr noundef nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %28) #8
  br label %572

419:                                              ; preds = %406, %383
  %.pr386 = load i16, ptr %7, align 2, !tbaa !5
  %420 = icmp eq i16 %.pr386, 0
  br i1 %420, label %.preheader388, label %445

.preheader388:                                    ; preds = %381, %419
  %421 = load i32, ptr %261, align 4, !tbaa !32
  %422 = icmp sgt i32 %421, 0
  br i1 %422, label %.lr.ph435, label %.loopexit389

.lr.ph435:                                        ; preds = %.preheader388
  %423 = getelementptr inbounds ptr, ptr %265, i64 %indvars.iv483
  %424 = load ptr, ptr %423, align 8, !tbaa !24
  br label %425

425:                                              ; preds = %.lr.ph435, %425
  %indvars.iv480 = phi i64 [ 0, %.lr.ph435 ], [ %indvars.iv.next481, %425 ]
  %426 = getelementptr inbounds double, ptr %424, i64 %indvars.iv480
  %427 = load double, ptr %426, align 8, !tbaa !23
  %428 = load ptr, ptr %353, align 8, !tbaa !24
  %429 = getelementptr inbounds double, ptr %428, i64 %indvars.iv480
  %430 = load double, ptr %429, align 8, !tbaa !23
  %431 = call double @exp(double noundef %430) #8
  %432 = fdiv double %427, %431
  %433 = call double @sqrt(double noundef %432) #8
  %434 = load ptr, ptr %335, align 8, !tbaa !56
  %435 = getelementptr inbounds ptr, ptr %434, i64 %indvars.iv483
  %436 = load ptr, ptr %435, align 8, !tbaa !24
  %437 = load i32, ptr %261, align 4, !tbaa !32
  %438 = mul nsw i32 %437, %351
  %439 = trunc nuw nsw i64 %indvars.iv480 to i32
  %440 = add nsw i32 %438, %439
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds double, ptr %436, i64 %441
  store double %433, ptr %442, align 8, !tbaa !23
  %indvars.iv.next481 = add nuw nsw i64 %indvars.iv480, 1
  %443 = sext i32 %437 to i64
  %444 = icmp slt i64 %indvars.iv.next481, %443
  br i1 %444, label %425, label %.loopexit389, !llvm.loop !62

445:                                              ; preds = %419
  %446 = load i32, ptr %329, align 4, !tbaa !53
  %.not383 = icmp sgt i32 %446, %.1361.in444
  %447 = add nsw i32 %446, -1
  %448 = select i1 %.not383, i32 %.1361.in444, i32 %447
  store i32 %448, ptr %328, align 8, !tbaa !52
  %449 = load i32, ptr %261, align 4, !tbaa !32
  %450 = icmp sgt i32 %449, 0
  br i1 %450, label %.lr.ph432, label %._crit_edge433

.lr.ph432:                                        ; preds = %445
  %451 = load ptr, ptr %335, align 8, !tbaa !56
  %452 = getelementptr inbounds ptr, ptr %451, i64 %indvars.iv483
  %453 = load ptr, ptr %452, align 8, !tbaa !24
  %454 = mul nsw i32 %449, %351
  %455 = sext i32 %454 to i64
  %wide.trip.count478 = zext nneg i32 %449 to i64
  %invariant.gep522 = getelementptr double, ptr %453, i64 %455
  %min.iters.check = icmp ult i32 %449, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph432
  %n.vec = and i64 %wide.trip.count478, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %456 = getelementptr double, ptr %invariant.gep522, i64 %index
  %457 = getelementptr i8, ptr %456, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %456, align 8, !tbaa !23
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %457, align 8, !tbaa !23
  %index.next = add nuw i64 %index, 4
  %458 = icmp eq i64 %index.next, %n.vec
  br i1 %458, label %middle.block, label %vector.body, !llvm.loop !63

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

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

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv475 = phi i64 [ %indvars.iv.next476, %scalar.ph ], [ %indvars.iv475.ph, %scalar.ph.preheader ]
  %gep523 = getelementptr double, ptr %invariant.gep522, i64 %indvars.iv475
  store double 1.000000e+00, ptr %gep523, align 8, !tbaa !23
  %indvars.iv.next476 = add nuw nsw i64 %indvars.iv475, 1
  %exitcond479.not = icmp eq i64 %indvars.iv.next476, %wide.trip.count478
  br i1 %exitcond479.not, label %._crit_edge433, label %scalar.ph, !llvm.loop !64

._crit_edge433:                                   ; preds = %scalar.ph, %middle.block, %445
  %459 = load i16, ptr %55, align 8, !tbaa !18
  %460 = icmp sgt i16 %459, 0
  br i1 %460, label %461, label %.loopexit389

461:                                              ; preds = %._crit_edge433
  %462 = load i32, ptr %338, align 8, !tbaa !65
  %463 = sext i32 %462 to i64
  %464 = shl nsw i64 %463, 3
  %465 = call noalias ptr @malloc(i64 noundef %464) #9
  %466 = icmp eq ptr %465, null
  br i1 %466, label %467, label %469

467:                                              ; preds = %461
  %468 = shl i32 %462, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %29) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %29, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.79, i32 noundef %468) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1572, ptr noundef nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %29) #8
  br label %572

469:                                              ; preds = %461
  %470 = load ptr, ptr %336, align 8, !tbaa !60
  %471 = getelementptr inbounds double, ptr %470, i64 %indvars.iv486
  %472 = load double, ptr %471, align 8, !tbaa !23
  %473 = load i16, ptr %339, align 8, !tbaa !66
  %474 = load i16, ptr %340, align 2, !tbaa !67
  %475 = call i32 @background_at_tau(ptr noundef nonnull %1, double noundef %472, i16 noundef signext %473, i16 noundef signext %474, ptr noundef nonnull %8, ptr noundef nonnull %465) #8
  %476 = icmp eq i32 %475, 1
  br i1 %476, label %477, label %479

477:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %30) #8
  %478 = getelementptr inbounds i8, ptr %1, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %30, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.80, ptr noundef nonnull %478) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %334, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1575, ptr noundef nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %30) #8
  br label %572

479:                                              ; preds = %469
  %480 = load i32, ptr %341, align 8, !tbaa !68
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds double, ptr %465, i64 %481
  %483 = load double, ptr %482, align 8, !tbaa !23
  %484 = load double, ptr %342, align 8, !tbaa !69
  %485 = fdiv double %484, %483
  %486 = fadd double %485, -1.000000e+00
  %487 = load ptr, ptr @stdout, align 8, !tbaa !24
  %488 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %487, ptr noundef nonnull @.str.81, double noundef %486) #8
  call void @free(ptr noundef nonnull %465) #8
  br label %.loopexit389

scalar.ph535:                                     ; preds = %scalar.ph535.preheader, %scalar.ph535
  %indvars.iv470 = phi i64 [ %indvars.iv.next471, %scalar.ph535 ], [ %indvars.iv470.ph, %scalar.ph535.preheader ]
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv470
  store double 1.000000e+00, ptr %gep, align 8, !tbaa !23
  %indvars.iv.next471 = add nuw nsw i64 %indvars.iv470, 1
  %exitcond474.not = icmp eq i64 %indvars.iv.next471, %wide.trip.count473
  br i1 %exitcond474.not, label %.loopexit389, label %scalar.ph535, !llvm.loop !70

.loopexit389:                                     ; preds = %scalar.ph535, %425, %middle.block534, %.preheader390, %.preheader388, %479, %._crit_edge433
  %489 = load i32, ptr %329, align 4, !tbaa !53
  %490 = load i32, ptr %90, align 8, !tbaa !28
  %491 = sub nsw i32 %489, %490
  %.not384.not = icmp sgt i32 %.1361.in444, %491
  br i1 %.not384.not, label %492, label %.loopexit387

492:                                              ; preds = %.loopexit389
  %493 = sub nsw i32 %351, %491
  %494 = load i32, ptr %261, align 4, !tbaa !32
  %495 = icmp sgt i32 %494, 0
  br i1 %495, label %.lr.ph438, label %.loopexit387

.lr.ph438:                                        ; preds = %492, %.lr.ph438
  %496 = phi i32 [ %518, %.lr.ph438 ], [ %494, %492 ]
  %.3436 = phi i32 [ %523, %.lr.ph438 ], [ 0, %492 ]
  %497 = load ptr, ptr %343, align 8, !tbaa !33
  %498 = getelementptr inbounds ptr, ptr %497, i64 %indvars.iv483
  %499 = load ptr, ptr %498, align 8, !tbaa !24
  %500 = mul nsw i32 %496, %493
  %501 = add nsw i32 %500, %.3436
  %502 = sext i32 %501 to i64
  %503 = getelementptr inbounds double, ptr %499, i64 %502
  %504 = load double, ptr %503, align 8, !tbaa !23
  %505 = load ptr, ptr %335, align 8, !tbaa !56
  %506 = getelementptr inbounds ptr, ptr %505, i64 %indvars.iv483
  %507 = load ptr, ptr %506, align 8, !tbaa !24
  %508 = mul nsw i32 %496, %351
  %509 = add nsw i32 %508, %.3436
  %510 = sext i32 %509 to i64
  %511 = getelementptr inbounds double, ptr %507, i64 %510
  %512 = load double, ptr %511, align 8, !tbaa !23
  %513 = call double @log(double noundef %512) #8
  %514 = call double @llvm.fmuladd.f64(double %513, double 2.000000e+00, double %504)
  %515 = load ptr, ptr %344, align 8, !tbaa !71
  %516 = getelementptr inbounds ptr, ptr %515, i64 %indvars.iv483
  %517 = load ptr, ptr %516, align 8, !tbaa !24
  %518 = load i32, ptr %261, align 4, !tbaa !32
  %519 = mul nsw i32 %518, %493
  %520 = add nsw i32 %519, %.3436
  %521 = sext i32 %520 to i64
  %522 = getelementptr inbounds double, ptr %517, i64 %521
  store double %514, ptr %522, align 8, !tbaa !23
  %523 = add nuw nsw i32 %.3436, 1
  %524 = icmp slt i32 %523, %518
  br i1 %524, label %.lr.ph438, label %.loopexit387, !llvm.loop !72

.loopexit387:                                     ; preds = %.lr.ph438, %492, %.loopexit389
  %indvars.iv.next484 = add nuw nsw i64 %indvars.iv483, 1
  %525 = load i32, ptr %191, align 4, !tbaa !29
  %526 = sext i32 %525 to i64
  %527 = icmp slt i64 %indvars.iv.next484, %526
  br i1 %527, label %.lr.ph442, label %.loopexit393, !llvm.loop !73

._crit_edge446:                                   ; preds = %.loopexit393, %.preheader392.lr.ph, %327
  %.pre498 = phi i32 [ %.pre498.pre, %327 ], [ %.pre498.pre, %.preheader392.lr.ph ], [ %347, %.loopexit393 ]
  %528 = load i32, ptr %90, align 8, !tbaa !28
  %529 = icmp sgt i32 %528, 1
  br i1 %529, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %._crit_edge446
  %530 = icmp sgt i32 %.pre498, 0
  br i1 %530, label %.lr.ph448, label %._crit_edge452

.lr.ph448:                                        ; preds = %.preheader
  %531 = getelementptr inbounds i8, ptr %5, i64 112
  %532 = getelementptr inbounds i8, ptr %5, i64 160
  %533 = getelementptr inbounds i8, ptr %5, i64 168
  %534 = getelementptr inbounds i8, ptr %5, i64 266
  br label %539

535:                                              ; preds = %539
  %indvars.iv.next490 = add nuw nsw i64 %indvars.iv489, 1
  %536 = load i32, ptr %191, align 4, !tbaa !29
  %537 = sext i32 %536 to i64
  %538 = icmp slt i64 %indvars.iv.next490, %537
  br i1 %538, label %539, label %.loopexit, !llvm.loop !74

539:                                              ; preds = %.lr.ph448, %535
  %indvars.iv489 = phi i64 [ 0, %.lr.ph448 ], [ %indvars.iv.next490, %535 ]
  %540 = load ptr, ptr %531, align 8, !tbaa !36
  %541 = load i32, ptr %90, align 8, !tbaa !28
  %542 = load ptr, ptr %532, align 8, !tbaa !71
  %543 = getelementptr inbounds ptr, ptr %542, i64 %indvars.iv489
  %544 = load ptr, ptr %543, align 8, !tbaa !24
  %545 = load i32, ptr %261, align 4, !tbaa !32
  %546 = load ptr, ptr %533, align 8, !tbaa !75
  %547 = getelementptr inbounds ptr, ptr %546, i64 %indvars.iv489
  %548 = load ptr, ptr %547, align 8, !tbaa !24
  %549 = call i32 @array_spline_table_lines(ptr noundef %540, i32 noundef %541, ptr noundef %544, i32 noundef %545, ptr noundef %548, i16 noundef signext 1, ptr noundef nonnull %534) #8
  %550 = icmp eq i32 %549, 1
  br i1 %550, label %551, label %535

551:                                              ; preds = %539
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %31) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %31, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.82, ptr noundef nonnull %534) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %534, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1625, ptr noundef nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %31) #8
  br label %572

.loopexit:                                        ; preds = %535, %._crit_edge446
  %552 = phi i32 [ %.pre498, %._crit_edge446 ], [ %536, %535 ]
  %553 = icmp sgt i32 %552, 0
  br i1 %553, label %.lr.ph451, label %._crit_edge452

.lr.ph451:                                        ; preds = %.loopexit, %.lr.ph451
  %indvars.iv492 = phi i64 [ %indvars.iv.next493, %.lr.ph451 ], [ 0, %.loopexit ]
  %554 = getelementptr inbounds ptr, ptr %265, i64 %indvars.iv492
  %555 = load ptr, ptr %554, align 8, !tbaa !24
  call void @free(ptr noundef %555) #8
  %556 = getelementptr inbounds ptr, ptr %271, i64 %indvars.iv492
  %557 = load ptr, ptr %556, align 8, !tbaa !24
  call void @free(ptr noundef %557) #8
  %558 = getelementptr inbounds ptr, ptr %277, i64 %indvars.iv492
  %559 = load ptr, ptr %558, align 8, !tbaa !24
  call void @free(ptr noundef %559) #8
  %indvars.iv.next493 = add nuw nsw i64 %indvars.iv492, 1
  %560 = load i32, ptr %191, align 4, !tbaa !29
  %561 = sext i32 %560 to i64
  %562 = icmp slt i64 %indvars.iv.next493, %561
  br i1 %562, label %.lr.ph451, label %._crit_edge452, !llvm.loop !76

._crit_edge452:                                   ; preds = %.lr.ph451, %.preheader, %.loopexit
  call void @free(ptr noundef %265) #8
  call void @free(ptr noundef %271) #8
  call void @free(ptr noundef %277) #8
  %563 = load i32, ptr %5, align 8, !tbaa !14
  %564 = icmp eq i32 %563, 2
  br i1 %564, label %565, label %572

565:                                              ; preds = %._crit_edge452
  %566 = call i32 @nonlinear_hmcode_workspace_free(ptr noundef nonnull %5, ptr noundef nonnull %9)
  %567 = icmp eq i32 %566, 1
  br i1 %567, label %568, label %572

568:                                              ; preds = %565
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %32) #8
  %569 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %32, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.83, ptr noundef nonnull %569) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %569, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1647, ptr noundef nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %32) #8
  br label %572

570:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %33) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %33, ptr noundef nonnull @.str.84, i32 noundef %245) #8
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %34) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %34, ptr noundef nonnull @.str.85, ptr noundef nonnull %33) #8
  %571 = getelementptr inbounds i8, ptr %5, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %571, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_init, i32 noundef 1654, ptr noundef nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %33) #8
  br label %572

572:                                              ; preds = %249, %246, %._crit_edge452, %565, %48, %52, %570, %568, %551, %477, %467, %418, %405, %397, %367, %358, %325, %320, %315, %307, %300, %290, %282, %273, %267, %189, %168, %153, %138, %107, %38
  %.0 = phi i32 [ 0, %38 ], [ 1, %107 ], [ 1, %138 ], [ 1, %153 ], [ 1, %168 ], [ 1, %189 ], [ 1, %267 ], [ 1, %273 ], [ 1, %282 ], [ 1, %290 ], [ 1, %300 ], [ 1, %307 ], [ 1, %315 ], [ 1, %320 ], [ 1, %325 ], [ 1, %358 ], [ 1, %367 ], [ 1, %397 ], [ 1, %467 ], [ 1, %477 ], [ 1, %405 ], [ 1, %418 ], [ 1, %551 ], [ 1, %568 ], [ 1, %570 ], [ 0, %52 ], [ 0, %48 ], [ 0, %565 ], [ 0, %._crit_edge452 ], [ 0, %246 ], [ 0, %249 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #8
  ret i32 %.0
}

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_indices(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_pk_linear(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_workspace_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_dark_energy_correction(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_fill_sigtab(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @nonlinear_hmcode_workspace_free(ptr noundef, ptr noundef) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"perturbs", !6, i64 0, !6, i64 2, !6, i64 4, !6, i64 6, !6, i64 8, !6, i64 10, !6, i64 12, !6, i64 14, !6, i64 16, !6, i64 18, !6, i64 20, !11, i64 24, !6, i64 28, !6, i64 30, !6, i64 32, !6, i64 34, !6, i64 36, !6, i64 38, !6, i64 40, !6, i64 42, !6, i64 44, !6, i64 46, !6, i64 48, !6, i64 50, !6, i64 52, !6, i64 54, !6, i64 56, !6, i64 58, !6, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !12, i64 80, !11, i64 88, !11, i64 92, !7, i64 96, !7, i64 896, !11, i64 1696, !11, i64 1700, !11, i64 1704, !11, i64 1708, !11, i64 1712, !12, i64 1720, !11, i64 1728, !11, i64 1732, !7, i64 1736, !12, i64 1976, !12, i64 1984, !12, i64 1992, !13, i64 2000, !13, i64 2008, !11, i64 2016, !6, i64 2020, !6, i64 2022, !11, i64 2024, !11, i64 2028, !11, i64 2032, !11, i64 2036, !11, i64 2040, !11, i64 2044, !11, i64 2048, !11, i64 2052, !11, i64 2056, !11, i64 2060, !11, i64 2064, !13, i64 2072, !6, i64 2080, !6, i64 2082, !6, i64 2084, !6, i64 2086, !6, i64 2088, !6, i64 2090, !6, i64 2092, !6, i64 2094, !6, i64 2096, !6, i64 2098, !6, i64 2100, !6, i64 2102, !6, i64 2104, !6, i64 2106, !6, i64 2108, !6, i64 2110, !6, i64 2112, !6, i64 2114, !6, i64 2116, !6, i64 2118, !6, i64 2120, !6, i64 2122, !6, i64 2124, !6, i64 2126, !6, i64 2128, !6, i64 2130, !6, i64 2132, !6, i64 2134, !6, i64 2136, !6, i64 2138, !6, i64 2140, !6, i64 2142, !6, i64 2144, !6, i64 2146, !6, i64 2148, !6, i64 2150, !6, i64 2152, !6, i64 2154, !6, i64 2156, !6, i64 2158, !11, i64 2160, !11, i64 2164, !11, i64 2168, !11, i64 2172, !11, i64 2176, !11, i64 2180, !11, i64 2184, !11, i64 2188, !11, i64 2192, !11, i64 2196, !11, i64 2200, !11, i64 2204, !11, i64 2208, !11, i64 2212, !11, i64 2216, !11, i64 2220, !11, i64 2224, !11, i64 2228, !11, i64 2232, !11, i64 2236, !11, i64 2240, !11, i64 2244, !11, i64 2248, !11, i64 2252, !11, i64 2256, !11, i64 2260, !11, i64 2264, !11, i64 2268, !11, i64 2272, !11, i64 2276, !11, i64 2280, !11, i64 2284, !11, i64 2288, !11, i64 2292, !11, i64 2296, !11, i64 2300, !11, i64 2304, !11, i64 2308, !11, i64 2312, !11, i64 2316, !11, i64 2320, !11, i64 2324, !11, i64 2328, !11, i64 2332, !13, i64 2336, !13, i64 2344, !13, i64 2352, !13, i64 2360, !13, i64 2368, !12, i64 2376, !12, i64 2384, !13, i64 2392, !11, i64 2400, !12, i64 2408, !12, i64 2416, !12, i64 2424, !13, i64 2432, !13, i64 2440, !13, i64 2448, !13, i64 2456, !13, i64 2464, !13, i64 2472, !11, i64 2480, !13, i64 2488, !13, i64 2496, !13, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !11, i64 26512, !11, i64 26516, !11, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !6, i64 27608, !7, i64 27610}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"nonlinear", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !6, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !13, i64 56, !6, i64 64, !6, i64 66, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !6, i64 88, !11, i64 92, !13, i64 96, !13, i64 104, !13, i64 112, !11, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !11, i64 184, !11, i64 188, !13, i64 192, !13, i64 200, !13, i64 208, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !6, i64 264, !7, i64 266}
!16 = !{!10, !6, i64 42}
!17 = !{!15, !6, i64 88}
!18 = !{!15, !6, i64 264}
!19 = !{!20, !6, i64 732}
!20 = !{!"background", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !11, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !6, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !6, i64 176, !12, i64 184, !12, i64 192, !13, i64 200, !11, i64 208, !11, i64 212, !12, i64 216, !11, i64 224, !13, i64 232, !13, i64 240, !12, i64 248, !13, i64 256, !12, i64 264, !13, i64 272, !12, i64 280, !13, i64 288, !12, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !12, i64 328, !12, i64 336, !12, i64 344, !12, i64 352, !11, i64 360, !13, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !12, i64 408, !12, i64 416, !12, i64 424, !12, i64 432, !12, i64 440, !12, i64 448, !12, i64 456, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !11, i64 512, !11, i64 516, !11, i64 520, !11, i64 524, !11, i64 528, !11, i64 532, !11, i64 536, !11, i64 540, !11, i64 544, !11, i64 548, !11, i64 552, !11, i64 556, !11, i64 560, !11, i64 564, !11, i64 568, !11, i64 572, !11, i64 576, !11, i64 580, !11, i64 584, !11, i64 588, !11, i64 592, !11, i64 596, !11, i64 600, !11, i64 604, !11, i64 608, !11, i64 612, !11, i64 616, !11, i64 620, !11, i64 624, !11, i64 628, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !13, i64 664, !11, i64 672, !11, i64 676, !11, i64 680, !11, i64 684, !11, i64 688, !11, i64 692, !11, i64 696, !11, i64 700, !11, i64 704, !11, i64 708, !11, i64 712, !11, i64 716, !11, i64 720, !6, i64 724, !6, i64 726, !6, i64 728, !6, i64 730, !6, i64 732, !6, i64 734, !6, i64 736, !6, i64 738, !6, i64 740, !6, i64 742, !6, i64 744, !13, i64 752, !13, i64 760, !13, i64 768, !13, i64 776, !13, i64 784, !13, i64 792, !13, i64 800, !13, i64 808, !13, i64 816, !13, i64 824, !13, i64 832, !6, i64 840, !6, i64 842, !6, i64 844, !6, i64 846, !6, i64 848, !6, i64 850, !7, i64 852, !6, i64 2900, !7, i64 2902}
!21 = !{!20, !11, i64 224}
!22 = !{!20, !13, i64 368}
!23 = !{!12, !12, i64 0}
!24 = !{!13, !13, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!20, !6, i64 742}
!28 = !{!15, !11, i64 120}
!29 = !{!15, !11, i64 84}
!30 = !{!10, !11, i64 2400}
!31 = !{!10, !11, i64 2480}
!32 = !{!15, !11, i64 92}
!33 = !{!15, !13, i64 144}
!34 = !{!15, !13, i64 128}
!35 = !{!15, !11, i64 52}
!36 = !{!15, !13, i64 112}
!37 = !{!15, !13, i64 152}
!38 = !{!15, !13, i64 136}
!39 = distinct !{!39, !26}
!40 = distinct !{!40, !26, !41}
!41 = !{!"llvm.loop.unswitch.partial.disable"}
!42 = distinct !{!42, !26}
!43 = !{!20, !12, i64 328}
!44 = !{!15, !13, i64 176}
!45 = !{!15, !6, i64 64}
!46 = !{!15, !11, i64 68}
!47 = !{!15, !13, i64 96}
!48 = !{!15, !6, i64 66}
!49 = !{!15, !11, i64 72}
!50 = distinct !{!50, !26}
!51 = !{!15, !11, i64 184}
!52 = !{!15, !11, i64 216}
!53 = !{!15, !11, i64 188}
!54 = distinct !{!54, !26, !41}
!55 = !{!15, !13, i64 104}
!56 = !{!15, !13, i64 200}
!57 = distinct !{!57, !26, !58, !59}
!58 = !{!"llvm.loop.isvectorized", i32 1}
!59 = !{!"llvm.loop.unroll.runtime.disable"}
!60 = !{!15, !13, i64 192}
!61 = !{!15, !13, i64 208}
!62 = distinct !{!62, !26}
!63 = distinct !{!63, !26, !58, !59}
!64 = distinct !{!64, !26, !59, !58}
!65 = !{!20, !11, i64 624}
!66 = !{!20, !6, i64 840}
!67 = !{!20, !6, i64 846}
!68 = !{!20, !11, i64 464}
!69 = !{!20, !12, i64 456}
!70 = distinct !{!70, !26, !59, !58}
!71 = !{!15, !13, i64 160}
!72 = distinct !{!72, !26}
!73 = distinct !{!73, !26}
!74 = distinct !{!74, !26}
!75 = !{!15, !13, i64 168}
!76 = distinct !{!76, !26}


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