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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@__func__.primordial_init = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [249 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [249 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [30 x i8], align 1

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

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

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

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

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

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

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

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

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

67:                                               ; preds = %3
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.primordial, ptr %68, i32 0, i32 80
  store i32 0, ptr %69, align 8, !tbaa !14
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.primordial, ptr %70, i32 0, i32 105
  %72 = load i16, ptr %71, align 8, !tbaa !16
  %73 = sext i16 %72 to i32
  %74 = icmp sgt i32 %73, 0
  br i1 %74, label %75, label %77

75:                                               ; preds = %67
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %77

77:                                               ; preds = %75, %67
  store i32 0, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

78:                                               ; preds = %3
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.primordial, ptr %79, i32 0, i32 105
  %81 = load i16, ptr %80, align 8, !tbaa !16
  %82 = sext i16 %81 to i32
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %84, label %86

84:                                               ; preds = %78
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  br label %86

86:                                               ; preds = %84, %78
  br label %87

87:                                               ; preds = %86
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.perturbs, ptr %88, i32 0, i32 156
  %90 = load double, ptr %89, align 8, !tbaa !17
  store double %90, ptr %9, align 8, !tbaa !18
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.perturbs, ptr %91, i32 0, i32 157
  %93 = load double, ptr %92, align 8, !tbaa !19
  store double %93, ptr %10, align 8, !tbaa !18
  %94 = load double, ptr %9, align 8, !tbaa !18
  %95 = fcmp ole double %94, 0.000000e+00
  br i1 %95, label %96, label %104

96:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 2048, ptr %26) #5
  %97 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %97, ptr noundef @.str.11)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #5
  %98 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  %99 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %98, ptr noundef @.str.1, ptr noundef @.str.12, ptr noundef %99)
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.primordial, ptr %100, i32 0, i32 106
  %102 = getelementptr inbounds [2048 x i8], ptr %101, i64 0, i64 0
  %103 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %102, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 224, ptr noundef %103)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %26) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

104:                                              ; preds = %87
  %105 = load double, ptr %10, align 8, !tbaa !18
  %106 = fcmp ole double %105, 0.000000e+00
  br i1 %106, label %107, label %115

107:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 2048, ptr %28) #5
  %108 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %108, ptr noundef @.str.13)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #5
  %109 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %110 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %109, ptr noundef @.str.1, ptr noundef @.str.14, ptr noundef %110)
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.primordial, ptr %111, i32 0, i32 106
  %113 = getelementptr inbounds [2048 x i8], ptr %112, i64 0, i64 0
  %114 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %113, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 228, ptr noundef %114)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %28) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

115:                                              ; preds = %104
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.primordial, ptr %116, i32 0, i32 0
  %118 = load double, ptr %117, align 8, !tbaa !20
  %119 = fcmp ole double %118, 0.000000e+00
  br i1 %119, label %120, label %128

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 2048, ptr %30) #5
  %121 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %121, ptr noundef @.str.15)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #5
  %122 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %123 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %122, ptr noundef @.str.1, ptr noundef @.str.16, ptr noundef %123)
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.primordial, ptr %124, i32 0, i32 106
  %126 = getelementptr inbounds [2048 x i8], ptr %125, i64 0, i64 0
  %127 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %126, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 232, ptr noundef %127)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %30) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

128:                                              ; preds = %115
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.precision, ptr %129, i32 0, i32 99
  %131 = load double, ptr %130, align 8, !tbaa !21
  %132 = fcmp ole double %131, 0.000000e+00
  br i1 %132, label %133, label %141

133:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #5
  %134 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %134, ptr noundef @.str.17)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #5
  %135 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %136 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %135, ptr noundef @.str.1, ptr noundef @.str.18, ptr noundef %136)
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.primordial, ptr %137, i32 0, i32 106
  %139 = getelementptr inbounds [2048 x i8], ptr %138, i64 0, i64 0
  %140 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %139, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 236, ptr noundef %140)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

141:                                              ; preds = %128
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.precision, ptr %142, i32 0, i32 99
  %144 = load double, ptr %143, align 8, !tbaa !21
  %145 = fcmp ole double %144, 1.000000e+00
  br i1 %145, label %146, label %157

146:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 2048, ptr %34) #5
  %147 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.precision, ptr %148, i32 0, i32 99
  %150 = load double, ptr %149, align 8, !tbaa !21
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %147, ptr noundef @.str.19, double noundef %150)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %35) #5
  %151 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  %152 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %151, ptr noundef @.str.1, ptr noundef @.str.20, ptr noundef %152)
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.primordial, ptr %153, i32 0, i32 106
  %155 = getelementptr inbounds [2048 x i8], ptr %154, i64 0, i64 0
  %156 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %155, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 241, ptr noundef %156)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %34) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

157:                                              ; preds = %141
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = load double, ptr %9, align 8, !tbaa !18
  %160 = load double, ptr %10, align 8, !tbaa !18
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.precision, ptr %161, i32 0, i32 99
  %163 = load double, ptr %162, align 8, !tbaa !21
  %164 = call i32 @primordial_get_lnk_list(ptr noundef %158, double noundef %159, double noundef %160, double noundef %163)
  %165 = icmp eq i32 %164, 1
  br i1 %165, label %166, label %175

166:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 2048, ptr %36) #5
  %167 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.primordial, ptr %168, i32 0, i32 106
  %170 = getelementptr inbounds [2048 x i8], ptr %169, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %167, ptr noundef @.str.6, ptr noundef @.str.21, ptr noundef %170)
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.primordial, ptr %171, i32 0, i32 106
  %173 = getelementptr inbounds [2048 x i8], ptr %172, i64 0, i64 0
  %174 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %173, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 251, ptr noundef %174)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %36) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

175:                                              ; preds = %157
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = call i32 @primordial_indices(ptr noundef %176, ptr noundef %177)
  %179 = icmp eq i32 %178, 1
  br i1 %179, label %180, label %189

180:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 2048, ptr %37) #5
  %181 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.primordial, ptr %182, i32 0, i32 106
  %184 = getelementptr inbounds [2048 x i8], ptr %183, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %181, ptr noundef @.str.6, ptr noundef @.str.22, ptr noundef %184)
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.primordial, ptr %185, i32 0, i32 106
  %187 = getelementptr inbounds [2048 x i8], ptr %186, i64 0, i64 0
  %188 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %187, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 258, ptr noundef %188)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %37) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

189:                                              ; preds = %175
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.primordial, ptr %190, i32 0, i32 1
  %192 = load i32, ptr %191, align 8, !tbaa !23
  %193 = icmp eq i32 %192, 0
  br i1 %193, label %194, label %598

194:                                              ; preds = %189
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.primordial, ptr %195, i32 0, i32 105
  %197 = load i16, ptr %196, align 8, !tbaa !16
  %198 = sext i16 %197 to i32
  %199 = icmp sgt i32 %198, 0
  br i1 %199, label %200, label %202

200:                                              ; preds = %194
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
  br label %202

202:                                              ; preds = %200, %194
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = call i32 @primordial_analytic_spectrum_init(ptr noundef %203, ptr noundef %204)
  %206 = icmp eq i32 %205, 1
  br i1 %206, label %207, label %218

207:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 2048, ptr %38) #5
  %208 = getelementptr inbounds [2048 x i8], ptr %38, i64 0, i64 0
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.primordial, ptr %209, i32 0, i32 106
  %211 = getelementptr inbounds [2048 x i8], ptr %210, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %208, ptr noundef @.str.6, ptr noundef @.str.24, ptr noundef %211)
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.primordial, ptr %212, i32 0, i32 106
  %214 = getelementptr inbounds [2048 x i8], ptr %213, i64 0, i64 0
  %215 = getelementptr inbounds [2048 x i8], ptr %38, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %214, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 271, ptr noundef %215)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %38) #5
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = call i32 @primordial_free(ptr noundef %216)
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

218:                                              ; preds = %202
  store i32 0, ptr %15, align 4, !tbaa !24
  br label %219

219:                                              ; preds = %594, %218
  %220 = load i32, ptr %15, align 4, !tbaa !24
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.primordial, ptr %221, i32 0, i32 80
  %223 = load i32, ptr %222, align 8, !tbaa !14
  %224 = icmp slt i32 %220, %223
  br i1 %224, label %225, label %597

225:                                              ; preds = %219
  %226 = load ptr, ptr %7, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.primordial, ptr %226, i32 0, i32 81
  %228 = load ptr, ptr %227, align 8, !tbaa !25
  %229 = load i32, ptr %15, align 4, !tbaa !24
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds double, ptr %228, i64 %230
  %232 = load double, ptr %231, align 8, !tbaa !18
  %233 = call double @exp(double noundef %232) #5
  store double %233, ptr %8, align 8, !tbaa !18
  store i32 0, ptr %11, align 4, !tbaa !24
  br label %234

234:                                              ; preds = %590, %225
  %235 = load i32, ptr %11, align 4, !tbaa !24
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.perturbs, ptr %236, i32 0, i32 59
  %238 = load i32, ptr %237, align 8, !tbaa !26
  %239 = icmp slt i32 %235, %238
  br i1 %239, label %240, label %593

240:                                              ; preds = %234
  store i32 0, ptr %12, align 4, !tbaa !24
  br label %241

241:                                              ; preds = %586, %240
  %242 = load i32, ptr %12, align 4, !tbaa !24
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.primordial, ptr %243, i32 0, i32 78
  %245 = load ptr, ptr %244, align 8, !tbaa !27
  %246 = load i32, ptr %11, align 4, !tbaa !24
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds i32, ptr %245, i64 %247
  %249 = load i32, ptr %248, align 4, !tbaa !24
  %250 = icmp slt i32 %242, %249
  br i1 %250, label %251, label %589

251:                                              ; preds = %241
  %252 = load i32, ptr %12, align 4, !tbaa !24
  store i32 %252, ptr %13, align 4, !tbaa !24
  br label %253

253:                                              ; preds = %582, %251
  %254 = load i32, ptr %13, align 4, !tbaa !24
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.primordial, ptr %255, i32 0, i32 78
  %257 = load ptr, ptr %256, align 8, !tbaa !27
  %258 = load i32, ptr %11, align 4, !tbaa !24
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds i32, ptr %257, i64 %259
  %261 = load i32, ptr %260, align 4, !tbaa !24
  %262 = icmp slt i32 %254, %261
  br i1 %262, label %263, label %585

263:                                              ; preds = %253
  %264 = load i32, ptr %12, align 4, !tbaa !24
  %265 = load i32, ptr %13, align 4, !tbaa !24
  %266 = icmp sle i32 %264, %265
  br i1 %266, label %267, label %285

267:                                              ; preds = %263
  %268 = load i32, ptr %13, align 4, !tbaa !24
  %269 = load ptr, ptr %7, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.primordial, ptr %269, i32 0, i32 78
  %271 = load ptr, ptr %270, align 8, !tbaa !27
  %272 = load i32, ptr %11, align 4, !tbaa !24
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds i32, ptr %271, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !24
  %276 = load i32, ptr %12, align 4, !tbaa !24
  %277 = mul nsw i32 %275, %276
  %278 = add nsw i32 %268, %277
  %279 = load i32, ptr %12, align 4, !tbaa !24
  %280 = load i32, ptr %12, align 4, !tbaa !24
  %281 = add nsw i32 %280, 1
  %282 = mul nsw i32 %279, %281
  %283 = sdiv i32 %282, 2
  %284 = sub nsw i32 %278, %283
  br label %303

285:                                              ; preds = %263
  %286 = load i32, ptr %12, align 4, !tbaa !24
  %287 = load ptr, ptr %7, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.primordial, ptr %287, i32 0, i32 78
  %289 = load ptr, ptr %288, align 8, !tbaa !27
  %290 = load i32, ptr %11, align 4, !tbaa !24
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds i32, ptr %289, i64 %291
  %293 = load i32, ptr %292, align 4, !tbaa !24
  %294 = load i32, ptr %13, align 4, !tbaa !24
  %295 = mul nsw i32 %293, %294
  %296 = add nsw i32 %286, %295
  %297 = load i32, ptr %13, align 4, !tbaa !24
  %298 = load i32, ptr %13, align 4, !tbaa !24
  %299 = add nsw i32 %298, 1
  %300 = mul nsw i32 %297, %299
  %301 = sdiv i32 %300, 2
  %302 = sub nsw i32 %296, %301
  br label %303

303:                                              ; preds = %285, %267
  %304 = phi i32 [ %284, %267 ], [ %302, %285 ]
  store i32 %304, ptr %14, align 4, !tbaa !24
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.primordial, ptr %305, i32 0, i32 84
  %307 = load ptr, ptr %306, align 8, !tbaa !28
  %308 = load i32, ptr %11, align 4, !tbaa !24
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds ptr, ptr %307, i64 %309
  %311 = load ptr, ptr %310, align 8, !tbaa !5
  %312 = load i32, ptr %14, align 4, !tbaa !24
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds i16, ptr %311, i64 %313
  %315 = load i16, ptr %314, align 2, !tbaa !29
  %316 = sext i16 %315 to i32
  %317 = icmp eq i32 %316, 1
  br i1 %317, label %318, label %560

318:                                              ; preds = %303
  %319 = load ptr, ptr %7, align 8, !tbaa !5
  %320 = load i32, ptr %11, align 4, !tbaa !24
  %321 = load i32, ptr %14, align 4, !tbaa !24
  %322 = load double, ptr %8, align 8, !tbaa !18
  %323 = call i32 @primordial_analytic_spectrum(ptr noundef %319, i32 noundef %320, i32 noundef %321, double noundef %322, ptr noundef %16)
  %324 = icmp eq i32 %323, 1
  br i1 %324, label %325, label %334

325:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 2048, ptr %39) #5
  %326 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.primordial, ptr %327, i32 0, i32 106
  %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.6, ptr noundef @.str.25, ptr noundef %329)
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.primordial, ptr %330, i32 0, i32 106
  %332 = getelementptr inbounds [2048 x i8], ptr %331, i64 0, i64 0
  %333 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %332, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 291, ptr noundef %333)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %39) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

334:                                              ; preds = %318
  %335 = load i32, ptr %12, align 4, !tbaa !24
  %336 = load i32, ptr %13, align 4, !tbaa !24
  %337 = icmp eq i32 %335, %336
  br i1 %337, label %338, label %361

338:                                              ; preds = %334
  %339 = load double, ptr %16, align 8, !tbaa !18
  %340 = call double @log(double noundef %339) #5
  %341 = load ptr, ptr %7, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.primordial, ptr %341, i32 0, i32 82
  %343 = load ptr, ptr %342, align 8, !tbaa !30
  %344 = load i32, ptr %11, align 4, !tbaa !24
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds ptr, ptr %343, i64 %345
  %347 = load ptr, ptr %346, align 8, !tbaa !5
  %348 = load i32, ptr %15, align 4, !tbaa !24
  %349 = load ptr, ptr %7, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.primordial, ptr %349, i32 0, i32 79
  %351 = load ptr, ptr %350, align 8, !tbaa !31
  %352 = load i32, ptr %11, align 4, !tbaa !24
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds i32, ptr %351, i64 %353
  %355 = load i32, ptr %354, align 4, !tbaa !24
  %356 = mul nsw i32 %348, %355
  %357 = load i32, ptr %14, align 4, !tbaa !24
  %358 = add nsw i32 %356, %357
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds double, ptr %347, i64 %359
  store double %340, ptr %360, align 8, !tbaa !18
  br label %559

361:                                              ; preds = %334
  %362 = load ptr, ptr %7, align 8, !tbaa !5
  %363 = load i32, ptr %11, align 4, !tbaa !24
  %364 = load i32, ptr %12, align 4, !tbaa !24
  %365 = load i32, ptr %12, align 4, !tbaa !24
  %366 = icmp sle i32 %364, %365
  br i1 %366, label %367, label %385

367:                                              ; preds = %361
  %368 = load i32, ptr %12, align 4, !tbaa !24
  %369 = load ptr, ptr %7, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.primordial, ptr %369, i32 0, i32 78
  %371 = load ptr, ptr %370, align 8, !tbaa !27
  %372 = load i32, ptr %11, align 4, !tbaa !24
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds i32, ptr %371, i64 %373
  %375 = load i32, ptr %374, align 4, !tbaa !24
  %376 = load i32, ptr %12, align 4, !tbaa !24
  %377 = mul nsw i32 %375, %376
  %378 = add nsw i32 %368, %377
  %379 = load i32, ptr %12, align 4, !tbaa !24
  %380 = load i32, ptr %12, align 4, !tbaa !24
  %381 = add nsw i32 %380, 1
  %382 = mul nsw i32 %379, %381
  %383 = sdiv i32 %382, 2
  %384 = sub nsw i32 %378, %383
  br label %403

385:                                              ; preds = %361
  %386 = load i32, ptr %12, align 4, !tbaa !24
  %387 = load ptr, ptr %7, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.primordial, ptr %387, i32 0, i32 78
  %389 = load ptr, ptr %388, align 8, !tbaa !27
  %390 = load i32, ptr %11, align 4, !tbaa !24
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds i32, ptr %389, i64 %391
  %393 = load i32, ptr %392, align 4, !tbaa !24
  %394 = load i32, ptr %12, align 4, !tbaa !24
  %395 = mul nsw i32 %393, %394
  %396 = add nsw i32 %386, %395
  %397 = load i32, ptr %12, align 4, !tbaa !24
  %398 = load i32, ptr %12, align 4, !tbaa !24
  %399 = add nsw i32 %398, 1
  %400 = mul nsw i32 %397, %399
  %401 = sdiv i32 %400, 2
  %402 = sub nsw i32 %396, %401
  br label %403

403:                                              ; preds = %385, %367
  %404 = phi i32 [ %384, %367 ], [ %402, %385 ]
  %405 = load double, ptr %8, align 8, !tbaa !18
  %406 = call i32 @primordial_analytic_spectrum(ptr noundef %362, i32 noundef %363, i32 noundef %404, double noundef %405, ptr noundef %17)
  %407 = icmp eq i32 %406, 1
  br i1 %407, label %408, label %417

408:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 2048, ptr %40) #5
  %409 = getelementptr inbounds [2048 x i8], ptr %40, i64 0, i64 0
  %410 = load ptr, ptr %7, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.primordial, ptr %410, i32 0, i32 106
  %412 = getelementptr inbounds [2048 x i8], ptr %411, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %409, ptr noundef @.str.6, ptr noundef @.str.26, ptr noundef %412)
  %413 = load ptr, ptr %7, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.primordial, ptr %413, i32 0, i32 106
  %415 = getelementptr inbounds [2048 x i8], ptr %414, i64 0, i64 0
  %416 = getelementptr inbounds [2048 x i8], ptr %40, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %415, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 309, ptr noundef %416)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %40) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

417:                                              ; preds = %403
  %418 = load ptr, ptr %7, align 8, !tbaa !5
  %419 = load i32, ptr %11, align 4, !tbaa !24
  %420 = load i32, ptr %13, align 4, !tbaa !24
  %421 = load i32, ptr %13, align 4, !tbaa !24
  %422 = icmp sle i32 %420, %421
  br i1 %422, label %423, label %441

423:                                              ; preds = %417
  %424 = load i32, ptr %13, align 4, !tbaa !24
  %425 = load ptr, ptr %7, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.primordial, ptr %425, i32 0, i32 78
  %427 = load ptr, ptr %426, align 8, !tbaa !27
  %428 = load i32, ptr %11, align 4, !tbaa !24
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds i32, ptr %427, i64 %429
  %431 = load i32, ptr %430, align 4, !tbaa !24
  %432 = load i32, ptr %13, align 4, !tbaa !24
  %433 = mul nsw i32 %431, %432
  %434 = add nsw i32 %424, %433
  %435 = load i32, ptr %13, align 4, !tbaa !24
  %436 = load i32, ptr %13, align 4, !tbaa !24
  %437 = add nsw i32 %436, 1
  %438 = mul nsw i32 %435, %437
  %439 = sdiv i32 %438, 2
  %440 = sub nsw i32 %434, %439
  br label %459

441:                                              ; preds = %417
  %442 = load i32, ptr %13, align 4, !tbaa !24
  %443 = load ptr, ptr %7, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.primordial, ptr %443, i32 0, i32 78
  %445 = load ptr, ptr %444, align 8, !tbaa !27
  %446 = load i32, ptr %11, align 4, !tbaa !24
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds i32, ptr %445, i64 %447
  %449 = load i32, ptr %448, align 4, !tbaa !24
  %450 = load i32, ptr %13, align 4, !tbaa !24
  %451 = mul nsw i32 %449, %450
  %452 = add nsw i32 %442, %451
  %453 = load i32, ptr %13, align 4, !tbaa !24
  %454 = load i32, ptr %13, align 4, !tbaa !24
  %455 = add nsw i32 %454, 1
  %456 = mul nsw i32 %453, %455
  %457 = sdiv i32 %456, 2
  %458 = sub nsw i32 %452, %457
  br label %459

459:                                              ; preds = %441, %423
  %460 = phi i32 [ %440, %423 ], [ %458, %441 ]
  %461 = load double, ptr %8, align 8, !tbaa !18
  %462 = call i32 @primordial_analytic_spectrum(ptr noundef %418, i32 noundef %419, i32 noundef %460, double noundef %461, ptr noundef %18)
  %463 = icmp eq i32 %462, 1
  br i1 %463, label %464, label %473

464:                                              ; preds = %459
  call void @llvm.lifetime.start.p0(i64 2048, ptr %41) #5
  %465 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  %466 = load ptr, ptr %7, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.primordial, ptr %466, i32 0, i32 106
  %468 = getelementptr inbounds [2048 x i8], ptr %467, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %465, ptr noundef @.str.6, ptr noundef @.str.27, ptr noundef %468)
  %469 = load ptr, ptr %7, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.primordial, ptr %469, i32 0, i32 106
  %471 = getelementptr inbounds [2048 x i8], ptr %470, i64 0, i64 0
  %472 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %471, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 317, ptr noundef %472)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %41) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

473:                                              ; preds = %459
  %474 = load double, ptr %16, align 8, !tbaa !18
  %475 = load double, ptr %17, align 8, !tbaa !18
  %476 = load double, ptr %18, align 8, !tbaa !18
  %477 = fmul double %475, %476
  %478 = call double @sqrt(double noundef %477) #5
  %479 = fcmp ogt double %474, %478
  br i1 %479, label %480, label %501

480:                                              ; preds = %473
  %481 = load ptr, ptr %7, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.primordial, ptr %481, i32 0, i32 82
  %483 = load ptr, ptr %482, align 8, !tbaa !30
  %484 = load i32, ptr %11, align 4, !tbaa !24
  %485 = sext i32 %484 to i64
  %486 = getelementptr inbounds ptr, ptr %483, i64 %485
  %487 = load ptr, ptr %486, align 8, !tbaa !5
  %488 = load i32, ptr %15, align 4, !tbaa !24
  %489 = load ptr, ptr %7, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.primordial, ptr %489, i32 0, i32 79
  %491 = load ptr, ptr %490, align 8, !tbaa !31
  %492 = load i32, ptr %11, align 4, !tbaa !24
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds i32, ptr %491, i64 %493
  %495 = load i32, ptr %494, align 4, !tbaa !24
  %496 = mul nsw i32 %488, %495
  %497 = load i32, ptr %14, align 4, !tbaa !24
  %498 = add nsw i32 %496, %497
  %499 = sext i32 %498 to i64
  %500 = getelementptr inbounds double, ptr %487, i64 %499
  store double 1.000000e+00, ptr %500, align 8, !tbaa !18
  br label %558

501:                                              ; preds = %473
  %502 = load double, ptr %16, align 8, !tbaa !18
  %503 = load double, ptr %17, align 8, !tbaa !18
  %504 = load double, ptr %18, align 8, !tbaa !18
  %505 = fmul double %503, %504
  %506 = call double @sqrt(double noundef %505) #5
  %507 = fneg double %506
  %508 = fcmp olt double %502, %507
  br i1 %508, label %509, label %530

509:                                              ; preds = %501
  %510 = load ptr, ptr %7, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.primordial, ptr %510, i32 0, i32 82
  %512 = load ptr, ptr %511, align 8, !tbaa !30
  %513 = load i32, ptr %11, align 4, !tbaa !24
  %514 = sext i32 %513 to i64
  %515 = getelementptr inbounds ptr, ptr %512, i64 %514
  %516 = load ptr, ptr %515, align 8, !tbaa !5
  %517 = load i32, ptr %15, align 4, !tbaa !24
  %518 = load ptr, ptr %7, align 8, !tbaa !5
  %519 = getelementptr inbounds %struct.primordial, ptr %518, i32 0, i32 79
  %520 = load ptr, ptr %519, align 8, !tbaa !31
  %521 = load i32, ptr %11, align 4, !tbaa !24
  %522 = sext i32 %521 to i64
  %523 = getelementptr inbounds i32, ptr %520, i64 %522
  %524 = load i32, ptr %523, align 4, !tbaa !24
  %525 = mul nsw i32 %517, %524
  %526 = load i32, ptr %14, align 4, !tbaa !24
  %527 = add nsw i32 %525, %526
  %528 = sext i32 %527 to i64
  %529 = getelementptr inbounds double, ptr %516, i64 %528
  store double -1.000000e+00, ptr %529, align 8, !tbaa !18
  br label %557

530:                                              ; preds = %501
  %531 = load double, ptr %16, align 8, !tbaa !18
  %532 = load double, ptr %17, align 8, !tbaa !18
  %533 = load double, ptr %18, align 8, !tbaa !18
  %534 = fmul double %532, %533
  %535 = call double @sqrt(double noundef %534) #5
  %536 = fdiv double %531, %535
  %537 = load ptr, ptr %7, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.primordial, ptr %537, i32 0, i32 82
  %539 = load ptr, ptr %538, align 8, !tbaa !30
  %540 = load i32, ptr %11, align 4, !tbaa !24
  %541 = sext i32 %540 to i64
  %542 = getelementptr inbounds ptr, ptr %539, i64 %541
  %543 = load ptr, ptr %542, align 8, !tbaa !5
  %544 = load i32, ptr %15, align 4, !tbaa !24
  %545 = load ptr, ptr %7, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.primordial, ptr %545, i32 0, i32 79
  %547 = load ptr, ptr %546, align 8, !tbaa !31
  %548 = load i32, ptr %11, align 4, !tbaa !24
  %549 = sext i32 %548 to i64
  %550 = getelementptr inbounds i32, ptr %547, i64 %549
  %551 = load i32, ptr %550, align 4, !tbaa !24
  %552 = mul nsw i32 %544, %551
  %553 = load i32, ptr %14, align 4, !tbaa !24
  %554 = add nsw i32 %552, %553
  %555 = sext i32 %554 to i64
  %556 = getelementptr inbounds double, ptr %543, i64 %555
  store double %536, ptr %556, align 8, !tbaa !18
  br label %557

557:                                              ; preds = %530, %509
  br label %558

558:                                              ; preds = %557, %480
  br label %559

559:                                              ; preds = %558, %338
  br label %581

560:                                              ; preds = %303
  %561 = load ptr, ptr %7, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.primordial, ptr %561, i32 0, i32 82
  %563 = load ptr, ptr %562, align 8, !tbaa !30
  %564 = load i32, ptr %11, align 4, !tbaa !24
  %565 = sext i32 %564 to i64
  %566 = getelementptr inbounds ptr, ptr %563, i64 %565
  %567 = load ptr, ptr %566, align 8, !tbaa !5
  %568 = load i32, ptr %15, align 4, !tbaa !24
  %569 = load ptr, ptr %7, align 8, !tbaa !5
  %570 = getelementptr inbounds %struct.primordial, ptr %569, i32 0, i32 79
  %571 = load ptr, ptr %570, align 8, !tbaa !31
  %572 = load i32, ptr %11, align 4, !tbaa !24
  %573 = sext i32 %572 to i64
  %574 = getelementptr inbounds i32, ptr %571, i64 %573
  %575 = load i32, ptr %574, align 4, !tbaa !24
  %576 = mul nsw i32 %568, %575
  %577 = load i32, ptr %14, align 4, !tbaa !24
  %578 = add nsw i32 %576, %577
  %579 = sext i32 %578 to i64
  %580 = getelementptr inbounds double, ptr %567, i64 %579
  store double 0.000000e+00, ptr %580, align 8, !tbaa !18
  br label %581

581:                                              ; preds = %560, %559
  br label %582

582:                                              ; preds = %581
  %583 = load i32, ptr %13, align 4, !tbaa !24
  %584 = add nsw i32 %583, 1
  store i32 %584, ptr %13, align 4, !tbaa !24
  br label %253, !llvm.loop !32

585:                                              ; preds = %253
  br label %586

586:                                              ; preds = %585
  %587 = load i32, ptr %12, align 4, !tbaa !24
  %588 = add nsw i32 %587, 1
  store i32 %588, ptr %12, align 4, !tbaa !24
  br label %241, !llvm.loop !34

589:                                              ; preds = %241
  br label %590

590:                                              ; preds = %589
  %591 = load i32, ptr %11, align 4, !tbaa !24
  %592 = add nsw i32 %591, 1
  store i32 %592, ptr %11, align 4, !tbaa !24
  br label %234, !llvm.loop !35

593:                                              ; preds = %234
  br label %594

594:                                              ; preds = %593
  %595 = load i32, ptr %15, align 4, !tbaa !24
  %596 = add nsw i32 %595, 1
  store i32 %596, ptr %15, align 4, !tbaa !24
  br label %219, !llvm.loop !36

597:                                              ; preds = %219
  br label %752

598:                                              ; preds = %189
  %599 = load ptr, ptr %7, align 8, !tbaa !5
  %600 = getelementptr inbounds %struct.primordial, ptr %599, i32 0, i32 1
  %601 = load i32, ptr %600, align 8, !tbaa !23
  %602 = icmp eq i32 %601, 2
  br i1 %602, label %613, label %603

603:                                              ; preds = %598
  %604 = load ptr, ptr %7, align 8, !tbaa !5
  %605 = getelementptr inbounds %struct.primordial, ptr %604, i32 0, i32 1
  %606 = load i32, ptr %605, align 8, !tbaa !23
  %607 = icmp eq i32 %606, 3
  br i1 %607, label %613, label %608

608:                                              ; preds = %603
  %609 = load ptr, ptr %7, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.primordial, ptr %609, i32 0, i32 1
  %611 = load i32, ptr %610, align 8, !tbaa !23
  %612 = icmp eq i32 %611, 4
  br i1 %612, label %613, label %652

613:                                              ; preds = %608, %603, %598
  %614 = load ptr, ptr %7, align 8, !tbaa !5
  %615 = call i32 @primordial_inflation_indices(ptr noundef %614)
  %616 = icmp eq i32 %615, 1
  br i1 %616, label %617, label %626

617:                                              ; preds = %613
  call void @llvm.lifetime.start.p0(i64 2048, ptr %42) #5
  %618 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  %619 = load ptr, ptr %7, align 8, !tbaa !5
  %620 = getelementptr inbounds %struct.primordial, ptr %619, i32 0, i32 106
  %621 = getelementptr inbounds [2048 x i8], ptr %620, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %618, ptr noundef @.str.6, ptr noundef @.str.28, ptr noundef %621)
  %622 = load ptr, ptr %7, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.primordial, ptr %622, i32 0, i32 106
  %624 = getelementptr inbounds [2048 x i8], ptr %623, i64 0, i64 0
  %625 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %624, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 360, ptr noundef %625)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %42) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

626:                                              ; preds = %613
  %627 = load ptr, ptr %7, align 8, !tbaa !5
  %628 = getelementptr inbounds %struct.primordial, ptr %627, i32 0, i32 105
  %629 = load i16, ptr %628, align 8, !tbaa !16
  %630 = sext i16 %629 to i32
  %631 = icmp sgt i32 %630, 0
  br i1 %631, label %632, label %634

632:                                              ; preds = %626
  %633 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  br label %634

634:                                              ; preds = %632, %626
  %635 = load ptr, ptr %6, align 8, !tbaa !5
  %636 = load ptr, ptr %7, align 8, !tbaa !5
  %637 = load ptr, ptr %5, align 8, !tbaa !5
  %638 = call i32 @primordial_inflation_solve_inflation(ptr noundef %635, ptr noundef %636, ptr noundef %637)
  %639 = icmp eq i32 %638, 1
  br i1 %639, label %640, label %651

640:                                              ; preds = %634
  call void @llvm.lifetime.start.p0(i64 2048, ptr %43) #5
  %641 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  %642 = load ptr, ptr %7, align 8, !tbaa !5
  %643 = getelementptr inbounds %struct.primordial, ptr %642, i32 0, i32 106
  %644 = getelementptr inbounds [2048 x i8], ptr %643, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %641, ptr noundef @.str.6, ptr noundef @.str.30, ptr noundef %644)
  %645 = load ptr, ptr %7, align 8, !tbaa !5
  %646 = getelementptr inbounds %struct.primordial, ptr %645, i32 0, i32 106
  %647 = getelementptr inbounds [2048 x i8], ptr %646, i64 0, i64 0
  %648 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %647, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 368, ptr noundef %648)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %43) #5
  %649 = load ptr, ptr %7, align 8, !tbaa !5
  %650 = call i32 @primordial_free(ptr noundef %649)
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

651:                                              ; preds = %634
  br label %751

652:                                              ; preds = %608
  %653 = load ptr, ptr %7, align 8, !tbaa !5
  %654 = getelementptr inbounds %struct.primordial, ptr %653, i32 0, i32 1
  %655 = load i32, ptr %654, align 8, !tbaa !23
  %656 = icmp eq i32 %655, 5
  br i1 %656, label %657, label %742

657:                                              ; preds = %652
  %658 = load ptr, ptr %6, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.perturbs, ptr %658, i32 0, i32 2
  %660 = load i16, ptr %659, align 4, !tbaa !37
  %661 = sext i16 %660 to i32
  %662 = icmp eq i32 %661, 0
  br i1 %662, label %663, label %671

663:                                              ; preds = %657
  call void @llvm.lifetime.start.p0(i64 2048, ptr %44) #5
  %664 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %664, ptr noundef @.str.31)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %45) #5
  %665 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  %666 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %665, ptr noundef @.str.1, ptr noundef @.str.32, ptr noundef %666)
  %667 = load ptr, ptr %7, align 8, !tbaa !5
  %668 = getelementptr inbounds %struct.primordial, ptr %667, i32 0, i32 106
  %669 = getelementptr inbounds [2048 x i8], ptr %668, i64 0, i64 0
  %670 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %669, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 378, ptr noundef %670)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %44) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

671:                                              ; preds = %657
  %672 = load ptr, ptr %6, align 8, !tbaa !5
  %673 = getelementptr inbounds %struct.perturbs, ptr %672, i32 0, i32 3
  %674 = load i16, ptr %673, align 2, !tbaa !38
  %675 = sext i16 %674 to i32
  %676 = icmp eq i32 %675, 1
  br i1 %676, label %677, label %685

677:                                              ; preds = %671
  call void @llvm.lifetime.start.p0(i64 2048, ptr %46) #5
  %678 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %678, ptr noundef @.str.33)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %47) #5
  %679 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  %680 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %679, ptr noundef @.str.1, ptr noundef @.str.34, ptr noundef %680)
  %681 = load ptr, ptr %7, align 8, !tbaa !5
  %682 = getelementptr inbounds %struct.primordial, ptr %681, i32 0, i32 106
  %683 = getelementptr inbounds [2048 x i8], ptr %682, i64 0, i64 0
  %684 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %683, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 382, ptr noundef %684)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %46) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

685:                                              ; preds = %671
  %686 = load ptr, ptr %6, align 8, !tbaa !5
  %687 = getelementptr inbounds %struct.perturbs, ptr %686, i32 0, i32 6
  %688 = load i16, ptr %687, align 4, !tbaa !39
  %689 = sext i16 %688 to i32
  %690 = icmp eq i32 %689, 1
  br i1 %690, label %709, label %691

691:                                              ; preds = %685
  %692 = load ptr, ptr %6, align 8, !tbaa !5
  %693 = getelementptr inbounds %struct.perturbs, ptr %692, i32 0, i32 7
  %694 = load i16, ptr %693, align 2, !tbaa !40
  %695 = sext i16 %694 to i32
  %696 = icmp eq i32 %695, 1
  br i1 %696, label %709, label %697

697:                                              ; preds = %691
  %698 = load ptr, ptr %6, align 8, !tbaa !5
  %699 = getelementptr inbounds %struct.perturbs, ptr %698, i32 0, i32 8
  %700 = load i16, ptr %699, align 8, !tbaa !41
  %701 = sext i16 %700 to i32
  %702 = icmp eq i32 %701, 1
  br i1 %702, label %709, label %703

703:                                              ; preds = %697
  %704 = load ptr, ptr %6, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct.perturbs, ptr %704, i32 0, i32 9
  %706 = load i16, ptr %705, align 2, !tbaa !42
  %707 = sext i16 %706 to i32
  %708 = icmp eq i32 %707, 1
  br i1 %708, label %709, label %717

709:                                              ; preds = %703, %697, %691, %685
  call void @llvm.lifetime.start.p0(i64 2048, ptr %48) #5
  %710 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %710, ptr noundef @.str.35)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %49) #5
  %711 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  %712 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %711, ptr noundef @.str.1, ptr noundef @.str.36, ptr noundef %712)
  %713 = load ptr, ptr %7, align 8, !tbaa !5
  %714 = getelementptr inbounds %struct.primordial, ptr %713, i32 0, i32 106
  %715 = getelementptr inbounds [2048 x i8], ptr %714, i64 0, i64 0
  %716 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %715, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 386, ptr noundef %716)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %48) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

717:                                              ; preds = %703
  %718 = load ptr, ptr %7, align 8, !tbaa !5
  %719 = getelementptr inbounds %struct.primordial, ptr %718, i32 0, i32 105
  %720 = load i16, ptr %719, align 8, !tbaa !16
  %721 = sext i16 %720 to i32
  %722 = icmp sgt i32 %721, 0
  br i1 %722, label %723, label %725

723:                                              ; preds = %717
  %724 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
  br label %725

725:                                              ; preds = %723, %717
  %726 = load ptr, ptr %6, align 8, !tbaa !5
  %727 = load ptr, ptr %7, align 8, !tbaa !5
  %728 = call i32 @primordial_external_spectrum_init(ptr noundef %726, ptr noundef %727)
  %729 = icmp eq i32 %728, 1
  br i1 %729, label %730, label %741

730:                                              ; preds = %725
  call void @llvm.lifetime.start.p0(i64 2048, ptr %50) #5
  %731 = getelementptr inbounds [2048 x i8], ptr %50, i64 0, i64 0
  %732 = load ptr, ptr %7, align 8, !tbaa !5
  %733 = getelementptr inbounds %struct.primordial, ptr %732, i32 0, i32 106
  %734 = getelementptr inbounds [2048 x i8], ptr %733, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %731, ptr noundef @.str.6, ptr noundef @.str.38, ptr noundef %734)
  %735 = load ptr, ptr %7, align 8, !tbaa !5
  %736 = getelementptr inbounds %struct.primordial, ptr %735, i32 0, i32 106
  %737 = getelementptr inbounds [2048 x i8], ptr %736, i64 0, i64 0
  %738 = getelementptr inbounds [2048 x i8], ptr %50, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %737, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 394, ptr noundef %738)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %50) #5
  %739 = load ptr, ptr %7, align 8, !tbaa !5
  %740 = call i32 @primordial_free(ptr noundef %739)
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

741:                                              ; preds = %725
  br label %750

742:                                              ; preds = %652
  call void @llvm.lifetime.start.p0(i64 2048, ptr %51) #5
  %743 = getelementptr inbounds [2048 x i8], ptr %51, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %743, ptr noundef @.str.39)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %52) #5
  %744 = getelementptr inbounds [2048 x i8], ptr %52, i64 0, i64 0
  %745 = getelementptr inbounds [2048 x i8], ptr %51, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %744, ptr noundef @.str.1, ptr noundef @.str.40, ptr noundef %745)
  %746 = load ptr, ptr %7, align 8, !tbaa !5
  %747 = getelementptr inbounds %struct.primordial, ptr %746, i32 0, i32 106
  %748 = getelementptr inbounds [2048 x i8], ptr %747, i64 0, i64 0
  %749 = getelementptr inbounds [2048 x i8], ptr %52, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %748, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 401, ptr noundef %749)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %51) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

750:                                              ; preds = %741
  br label %751

751:                                              ; preds = %750, %651
  br label %752

752:                                              ; preds = %751, %597
  store i32 0, ptr %11, align 4, !tbaa !24
  br label %753

753:                                              ; preds = %802, %752
  %754 = load i32, ptr %11, align 4, !tbaa !24
  %755 = load ptr, ptr %7, align 8, !tbaa !5
  %756 = getelementptr inbounds %struct.primordial, ptr %755, i32 0, i32 77
  %757 = load i32, ptr %756, align 8, !tbaa !43
  %758 = icmp slt i32 %754, %757
  br i1 %758, label %759, label %805

759:                                              ; preds = %753
  %760 = load ptr, ptr %7, align 8, !tbaa !5
  %761 = getelementptr inbounds %struct.primordial, ptr %760, i32 0, i32 81
  %762 = load ptr, ptr %761, align 8, !tbaa !25
  %763 = load ptr, ptr %7, align 8, !tbaa !5
  %764 = getelementptr inbounds %struct.primordial, ptr %763, i32 0, i32 80
  %765 = load i32, ptr %764, align 8, !tbaa !14
  %766 = load ptr, ptr %7, align 8, !tbaa !5
  %767 = getelementptr inbounds %struct.primordial, ptr %766, i32 0, i32 82
  %768 = load ptr, ptr %767, align 8, !tbaa !30
  %769 = load i32, ptr %11, align 4, !tbaa !24
  %770 = sext i32 %769 to i64
  %771 = getelementptr inbounds ptr, ptr %768, i64 %770
  %772 = load ptr, ptr %771, align 8, !tbaa !5
  %773 = load ptr, ptr %7, align 8, !tbaa !5
  %774 = getelementptr inbounds %struct.primordial, ptr %773, i32 0, i32 79
  %775 = load ptr, ptr %774, align 8, !tbaa !31
  %776 = load i32, ptr %11, align 4, !tbaa !24
  %777 = sext i32 %776 to i64
  %778 = getelementptr inbounds i32, ptr %775, i64 %777
  %779 = load i32, ptr %778, align 4, !tbaa !24
  %780 = load ptr, ptr %7, align 8, !tbaa !5
  %781 = getelementptr inbounds %struct.primordial, ptr %780, i32 0, i32 83
  %782 = load ptr, ptr %781, align 8, !tbaa !44
  %783 = load i32, ptr %11, align 4, !tbaa !24
  %784 = sext i32 %783 to i64
  %785 = getelementptr inbounds ptr, ptr %782, i64 %784
  %786 = load ptr, ptr %785, align 8, !tbaa !5
  %787 = load ptr, ptr %7, align 8, !tbaa !5
  %788 = getelementptr inbounds %struct.primordial, ptr %787, i32 0, i32 106
  %789 = getelementptr inbounds [2048 x i8], ptr %788, i64 0, i64 0
  %790 = call i32 @array_spline_table_lines(ptr noundef %762, i32 noundef %765, ptr noundef %772, i32 noundef %779, ptr noundef %786, i16 noundef signext 1, ptr noundef %789)
  %791 = icmp eq i32 %790, 1
  br i1 %791, label %792, label %801

792:                                              ; preds = %759
  call void @llvm.lifetime.start.p0(i64 2048, ptr %53) #5
  %793 = getelementptr inbounds [2048 x i8], ptr %53, i64 0, i64 0
  %794 = load ptr, ptr %7, align 8, !tbaa !5
  %795 = getelementptr inbounds %struct.primordial, ptr %794, i32 0, i32 106
  %796 = getelementptr inbounds [2048 x i8], ptr %795, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %793, ptr noundef @.str.6, ptr noundef @.str.41, ptr noundef %796)
  %797 = load ptr, ptr %7, align 8, !tbaa !5
  %798 = getelementptr inbounds %struct.primordial, ptr %797, i32 0, i32 106
  %799 = getelementptr inbounds [2048 x i8], ptr %798, i64 0, i64 0
  %800 = getelementptr inbounds [2048 x i8], ptr %53, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %799, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 417, ptr noundef %800)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %53) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

801:                                              ; preds = %759
  br label %802

802:                                              ; preds = %801
  %803 = load i32, ptr %11, align 4, !tbaa !24
  %804 = add nsw i32 %803, 1
  store i32 %804, ptr %11, align 4, !tbaa !24
  br label %753, !llvm.loop !45

805:                                              ; preds = %753
  %806 = load ptr, ptr %7, align 8, !tbaa !5
  %807 = getelementptr inbounds %struct.primordial, ptr %806, i32 0, i32 1
  %808 = load i32, ptr %807, align 8, !tbaa !23
  %809 = icmp ne i32 %808, 0
  br i1 %809, label %810, label %1097

810:                                              ; preds = %805
  %811 = call double @log(double noundef 1.000000e+01) #5
  %812 = load ptr, ptr %5, align 8, !tbaa !5
  %813 = getelementptr inbounds %struct.precision, ptr %812, i32 0, i32 99
  %814 = load double, ptr %813, align 8, !tbaa !21
  %815 = fdiv double %811, %814
  store double %815, ptr %19, align 8, !tbaa !18
  %816 = load ptr, ptr %6, align 8, !tbaa !5
  %817 = getelementptr inbounds %struct.perturbs, ptr %816, i32 0, i32 2
  %818 = load i16, ptr %817, align 4, !tbaa !37
  %819 = sext i16 %818 to i32
  %820 = icmp eq i32 %819, 1
  br i1 %820, label %821, label %982

821:                                              ; preds = %810
  %822 = load ptr, ptr %7, align 8, !tbaa !5
  %823 = load ptr, ptr %6, align 8, !tbaa !5
  %824 = getelementptr inbounds %struct.perturbs, ptr %823, i32 0, i32 56
  %825 = load i32, ptr %824, align 4, !tbaa !46
  %826 = load ptr, ptr %7, align 8, !tbaa !5
  %827 = getelementptr inbounds %struct.primordial, ptr %826, i32 0, i32 0
  %828 = load double, ptr %827, align 8, !tbaa !20
  %829 = call double @log(double noundef %828) #5
  %830 = call i32 @primordial_spectrum_at_k(ptr noundef %822, i32 noundef %825, i32 noundef 1, double noundef %829, ptr noundef %20)
  %831 = icmp eq i32 %830, 1
  br i1 %831, label %832, label %841

832:                                              ; preds = %821
  call void @llvm.lifetime.start.p0(i64 2048, ptr %54) #5
  %833 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  %834 = load ptr, ptr %7, align 8, !tbaa !5
  %835 = getelementptr inbounds %struct.primordial, ptr %834, i32 0, i32 106
  %836 = getelementptr inbounds [2048 x i8], ptr %835, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %833, ptr noundef @.str.6, ptr noundef @.str.42, ptr noundef %836)
  %837 = load ptr, ptr %7, align 8, !tbaa !5
  %838 = getelementptr inbounds %struct.primordial, ptr %837, i32 0, i32 106
  %839 = getelementptr inbounds [2048 x i8], ptr %838, i64 0, i64 0
  %840 = getelementptr inbounds [2048 x i8], ptr %54, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %839, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 436, ptr noundef %840)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %54) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

841:                                              ; preds = %821
  %842 = load ptr, ptr %7, align 8, !tbaa !5
  %843 = load ptr, ptr %6, align 8, !tbaa !5
  %844 = getelementptr inbounds %struct.perturbs, ptr %843, i32 0, i32 56
  %845 = load i32, ptr %844, align 4, !tbaa !46
  %846 = load ptr, ptr %7, align 8, !tbaa !5
  %847 = getelementptr inbounds %struct.primordial, ptr %846, i32 0, i32 0
  %848 = load double, ptr %847, align 8, !tbaa !20
  %849 = call double @log(double noundef %848) #5
  %850 = load double, ptr %19, align 8, !tbaa !18
  %851 = fadd double %849, %850
  %852 = call i32 @primordial_spectrum_at_k(ptr noundef %842, i32 noundef %845, i32 noundef 1, double noundef %851, ptr noundef %22)
  %853 = icmp eq i32 %852, 1
  br i1 %853, label %854, label %863

854:                                              ; preds = %841
  call void @llvm.lifetime.start.p0(i64 2048, ptr %55) #5
  %855 = getelementptr inbounds [2048 x i8], ptr %55, i64 0, i64 0
  %856 = load ptr, ptr %7, align 8, !tbaa !5
  %857 = getelementptr inbounds %struct.primordial, ptr %856, i32 0, i32 106
  %858 = getelementptr inbounds [2048 x i8], ptr %857, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %855, ptr noundef @.str.6, ptr noundef @.str.43, ptr noundef %858)
  %859 = load ptr, ptr %7, align 8, !tbaa !5
  %860 = getelementptr inbounds %struct.primordial, ptr %859, i32 0, i32 106
  %861 = getelementptr inbounds [2048 x i8], ptr %860, i64 0, i64 0
  %862 = getelementptr inbounds [2048 x i8], ptr %55, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %861, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 445, ptr noundef %862)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %55) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

863:                                              ; preds = %841
  %864 = load ptr, ptr %7, align 8, !tbaa !5
  %865 = load ptr, ptr %6, align 8, !tbaa !5
  %866 = getelementptr inbounds %struct.perturbs, ptr %865, i32 0, i32 56
  %867 = load i32, ptr %866, align 4, !tbaa !46
  %868 = load ptr, ptr %7, align 8, !tbaa !5
  %869 = getelementptr inbounds %struct.primordial, ptr %868, i32 0, i32 0
  %870 = load double, ptr %869, align 8, !tbaa !20
  %871 = call double @log(double noundef %870) #5
  %872 = load double, ptr %19, align 8, !tbaa !18
  %873 = fsub double %871, %872
  %874 = call i32 @primordial_spectrum_at_k(ptr noundef %864, i32 noundef %867, i32 noundef 1, double noundef %873, ptr noundef %21)
  %875 = icmp eq i32 %874, 1
  br i1 %875, label %876, label %885

876:                                              ; preds = %863
  call void @llvm.lifetime.start.p0(i64 2048, ptr %56) #5
  %877 = getelementptr inbounds [2048 x i8], ptr %56, i64 0, i64 0
  %878 = load ptr, ptr %7, align 8, !tbaa !5
  %879 = getelementptr inbounds %struct.primordial, ptr %878, i32 0, i32 106
  %880 = getelementptr inbounds [2048 x i8], ptr %879, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %877, ptr noundef @.str.6, ptr noundef @.str.44, ptr noundef %880)
  %881 = load ptr, ptr %7, align 8, !tbaa !5
  %882 = getelementptr inbounds %struct.primordial, ptr %881, i32 0, i32 106
  %883 = getelementptr inbounds [2048 x i8], ptr %882, i64 0, i64 0
  %884 = getelementptr inbounds [2048 x i8], ptr %56, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %883, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 453, ptr noundef %884)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %56) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

885:                                              ; preds = %863
  %886 = load double, ptr %20, align 8, !tbaa !18
  %887 = call double @exp(double noundef %886) #5
  %888 = load ptr, ptr %7, align 8, !tbaa !5
  %889 = getelementptr inbounds %struct.primordial, ptr %888, i32 0, i32 2
  store double %887, ptr %889, align 8, !tbaa !47
  %890 = load double, ptr %22, align 8, !tbaa !18
  %891 = load double, ptr %21, align 8, !tbaa !18
  %892 = fsub double %890, %891
  %893 = load double, ptr %19, align 8, !tbaa !18
  %894 = fmul double 2.000000e+00, %893
  %895 = fdiv double %892, %894
  %896 = fadd double %895, 1.000000e+00
  %897 = load ptr, ptr %7, align 8, !tbaa !5
  %898 = getelementptr inbounds %struct.primordial, ptr %897, i32 0, i32 3
  store double %896, ptr %898, align 8, !tbaa !48
  %899 = load double, ptr %22, align 8, !tbaa !18
  %900 = load double, ptr %20, align 8, !tbaa !18
  %901 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %900, double %899)
  %902 = load double, ptr %21, align 8, !tbaa !18
  %903 = fadd double %901, %902
  %904 = load double, ptr %19, align 8, !tbaa !18
  %905 = call double @pow(double noundef %904, double noundef 2.000000e+00) #5
  %906 = fdiv double %903, %905
  %907 = load ptr, ptr %7, align 8, !tbaa !5
  %908 = getelementptr inbounds %struct.primordial, ptr %907, i32 0, i32 4
  store double %906, ptr %908, align 8, !tbaa !49
  %909 = load ptr, ptr %7, align 8, !tbaa !5
  %910 = load ptr, ptr %6, align 8, !tbaa !5
  %911 = getelementptr inbounds %struct.perturbs, ptr %910, i32 0, i32 56
  %912 = load i32, ptr %911, align 4, !tbaa !46
  %913 = load ptr, ptr %7, align 8, !tbaa !5
  %914 = getelementptr inbounds %struct.primordial, ptr %913, i32 0, i32 0
  %915 = load double, ptr %914, align 8, !tbaa !20
  %916 = call double @log(double noundef %915) #5
  %917 = load double, ptr %19, align 8, !tbaa !18
  %918 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %917, double %916)
  %919 = call i32 @primordial_spectrum_at_k(ptr noundef %909, i32 noundef %912, i32 noundef 1, double noundef %918, ptr noundef %24)
  %920 = icmp eq i32 %919, 1
  br i1 %920, label %921, label %930

921:                                              ; preds = %885
  call void @llvm.lifetime.start.p0(i64 2048, ptr %57) #5
  %922 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  %923 = load ptr, ptr %7, align 8, !tbaa !5
  %924 = getelementptr inbounds %struct.primordial, ptr %923, i32 0, i32 106
  %925 = getelementptr inbounds [2048 x i8], ptr %924, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %922, ptr noundef @.str.6, ptr noundef @.str.45, ptr noundef %925)
  %926 = load ptr, ptr %7, align 8, !tbaa !5
  %927 = getelementptr inbounds %struct.primordial, ptr %926, i32 0, i32 106
  %928 = getelementptr inbounds [2048 x i8], ptr %927, i64 0, i64 0
  %929 = getelementptr inbounds [2048 x i8], ptr %57, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %928, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 476, ptr noundef %929)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %57) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

930:                                              ; preds = %885
  %931 = load ptr, ptr %7, align 8, !tbaa !5
  %932 = load ptr, ptr %6, align 8, !tbaa !5
  %933 = getelementptr inbounds %struct.perturbs, ptr %932, i32 0, i32 56
  %934 = load i32, ptr %933, align 4, !tbaa !46
  %935 = load ptr, ptr %7, align 8, !tbaa !5
  %936 = getelementptr inbounds %struct.primordial, ptr %935, i32 0, i32 0
  %937 = load double, ptr %936, align 8, !tbaa !20
  %938 = call double @log(double noundef %937) #5
  %939 = load double, ptr %19, align 8, !tbaa !18
  %940 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %939, double %938)
  %941 = call i32 @primordial_spectrum_at_k(ptr noundef %931, i32 noundef %934, i32 noundef 1, double noundef %940, ptr noundef %23)
  %942 = icmp eq i32 %941, 1
  br i1 %942, label %943, label %952

943:                                              ; preds = %930
  call void @llvm.lifetime.start.p0(i64 2048, ptr %58) #5
  %944 = getelementptr inbounds [2048 x i8], ptr %58, i64 0, i64 0
  %945 = load ptr, ptr %7, align 8, !tbaa !5
  %946 = getelementptr inbounds %struct.primordial, ptr %945, i32 0, i32 106
  %947 = getelementptr inbounds [2048 x i8], ptr %946, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %944, ptr noundef @.str.6, ptr noundef @.str.46, ptr noundef %947)
  %948 = load ptr, ptr %7, align 8, !tbaa !5
  %949 = getelementptr inbounds %struct.primordial, ptr %948, i32 0, i32 106
  %950 = getelementptr inbounds [2048 x i8], ptr %949, i64 0, i64 0
  %951 = getelementptr inbounds [2048 x i8], ptr %58, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %950, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 484, ptr noundef %951)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %58) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

952:                                              ; preds = %930
  %953 = load double, ptr %24, align 8, !tbaa !18
  %954 = load double, ptr %22, align 8, !tbaa !18
  %955 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %954, double %953)
  %956 = load double, ptr %21, align 8, !tbaa !18
  %957 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %956, double %955)
  %958 = load double, ptr %23, align 8, !tbaa !18
  %959 = fsub double %957, %958
  %960 = load double, ptr %19, align 8, !tbaa !18
  %961 = call double @pow(double noundef %960, double noundef 3.000000e+00) #5
  %962 = fdiv double %959, %961
  %963 = load ptr, ptr %7, align 8, !tbaa !5
  %964 = getelementptr inbounds %struct.primordial, ptr %963, i32 0, i32 5
  store double %962, ptr %964, align 8, !tbaa !50
  %965 = load ptr, ptr %7, align 8, !tbaa !5
  %966 = getelementptr inbounds %struct.primordial, ptr %965, i32 0, i32 105
  %967 = load i16, ptr %966, align 8, !tbaa !16
  %968 = sext i16 %967 to i32
  %969 = icmp sgt i32 %968, 0
  br i1 %969, label %970, label %981

970:                                              ; preds = %952
  %971 = load ptr, ptr %7, align 8, !tbaa !5
  %972 = getelementptr inbounds %struct.primordial, ptr %971, i32 0, i32 2
  %973 = load double, ptr %972, align 8, !tbaa !47
  %974 = load ptr, ptr %7, align 8, !tbaa !5
  %975 = getelementptr inbounds %struct.primordial, ptr %974, i32 0, i32 3
  %976 = load double, ptr %975, align 8, !tbaa !48
  %977 = load ptr, ptr %7, align 8, !tbaa !5
  %978 = getelementptr inbounds %struct.primordial, ptr %977, i32 0, i32 4
  %979 = load double, ptr %978, align 8, !tbaa !49
  %980 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %973, double noundef %976, double noundef %979)
  br label %981

981:                                              ; preds = %970, %952
  br label %982

982:                                              ; preds = %981, %810
  %983 = load ptr, ptr %6, align 8, !tbaa !5
  %984 = getelementptr inbounds %struct.perturbs, ptr %983, i32 0, i32 4
  %985 = load i16, ptr %984, align 8, !tbaa !51
  %986 = sext i16 %985 to i32
  %987 = icmp eq i32 %986, 1
  br i1 %987, label %988, label %1096

988:                                              ; preds = %982
  %989 = load ptr, ptr %7, align 8, !tbaa !5
  %990 = load ptr, ptr %6, align 8, !tbaa !5
  %991 = getelementptr inbounds %struct.perturbs, ptr %990, i32 0, i32 57
  %992 = load i32, ptr %991, align 8, !tbaa !52
  %993 = load ptr, ptr %7, align 8, !tbaa !5
  %994 = getelementptr inbounds %struct.primordial, ptr %993, i32 0, i32 0
  %995 = load double, ptr %994, align 8, !tbaa !20
  %996 = call double @log(double noundef %995) #5
  %997 = call i32 @primordial_spectrum_at_k(ptr noundef %989, i32 noundef %992, i32 noundef 1, double noundef %996, ptr noundef %20)
  %998 = icmp eq i32 %997, 1
  br i1 %998, label %999, label %1008

999:                                              ; preds = %988
  call void @llvm.lifetime.start.p0(i64 2048, ptr %59) #5
  %1000 = getelementptr inbounds [2048 x i8], ptr %59, i64 0, i64 0
  %1001 = load ptr, ptr %7, align 8, !tbaa !5
  %1002 = getelementptr inbounds %struct.primordial, ptr %1001, i32 0, i32 106
  %1003 = getelementptr inbounds [2048 x i8], ptr %1002, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1000, ptr noundef @.str.6, ptr noundef @.str.48, ptr noundef %1003)
  %1004 = load ptr, ptr %7, align 8, !tbaa !5
  %1005 = getelementptr inbounds %struct.primordial, ptr %1004, i32 0, i32 106
  %1006 = getelementptr inbounds [2048 x i8], ptr %1005, i64 0, i64 0
  %1007 = getelementptr inbounds [2048 x i8], ptr %59, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1006, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 509, ptr noundef %1007)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %59) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

1008:                                             ; preds = %988
  %1009 = load ptr, ptr %7, align 8, !tbaa !5
  %1010 = load ptr, ptr %6, align 8, !tbaa !5
  %1011 = getelementptr inbounds %struct.perturbs, ptr %1010, i32 0, i32 57
  %1012 = load i32, ptr %1011, align 8, !tbaa !52
  %1013 = load ptr, ptr %7, align 8, !tbaa !5
  %1014 = getelementptr inbounds %struct.primordial, ptr %1013, i32 0, i32 0
  %1015 = load double, ptr %1014, align 8, !tbaa !20
  %1016 = call double @log(double noundef %1015) #5
  %1017 = load double, ptr %19, align 8, !tbaa !18
  %1018 = fadd double %1016, %1017
  %1019 = call i32 @primordial_spectrum_at_k(ptr noundef %1009, i32 noundef %1012, i32 noundef 1, double noundef %1018, ptr noundef %22)
  %1020 = icmp eq i32 %1019, 1
  br i1 %1020, label %1021, label %1030

1021:                                             ; preds = %1008
  call void @llvm.lifetime.start.p0(i64 2048, ptr %60) #5
  %1022 = getelementptr inbounds [2048 x i8], ptr %60, i64 0, i64 0
  %1023 = load ptr, ptr %7, align 8, !tbaa !5
  %1024 = getelementptr inbounds %struct.primordial, ptr %1023, i32 0, i32 106
  %1025 = getelementptr inbounds [2048 x i8], ptr %1024, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1022, ptr noundef @.str.6, ptr noundef @.str.49, ptr noundef %1025)
  %1026 = load ptr, ptr %7, align 8, !tbaa !5
  %1027 = getelementptr inbounds %struct.primordial, ptr %1026, i32 0, i32 106
  %1028 = getelementptr inbounds [2048 x i8], ptr %1027, i64 0, i64 0
  %1029 = getelementptr inbounds [2048 x i8], ptr %60, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1028, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 517, ptr noundef %1029)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %60) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

1030:                                             ; preds = %1008
  %1031 = load ptr, ptr %7, align 8, !tbaa !5
  %1032 = load ptr, ptr %6, align 8, !tbaa !5
  %1033 = getelementptr inbounds %struct.perturbs, ptr %1032, i32 0, i32 57
  %1034 = load i32, ptr %1033, align 8, !tbaa !52
  %1035 = load ptr, ptr %7, align 8, !tbaa !5
  %1036 = getelementptr inbounds %struct.primordial, ptr %1035, i32 0, i32 0
  %1037 = load double, ptr %1036, align 8, !tbaa !20
  %1038 = call double @log(double noundef %1037) #5
  %1039 = load double, ptr %19, align 8, !tbaa !18
  %1040 = fsub double %1038, %1039
  %1041 = call i32 @primordial_spectrum_at_k(ptr noundef %1031, i32 noundef %1034, i32 noundef 1, double noundef %1040, ptr noundef %21)
  %1042 = icmp eq i32 %1041, 1
  br i1 %1042, label %1043, label %1052

1043:                                             ; preds = %1030
  call void @llvm.lifetime.start.p0(i64 2048, ptr %61) #5
  %1044 = getelementptr inbounds [2048 x i8], ptr %61, i64 0, i64 0
  %1045 = load ptr, ptr %7, align 8, !tbaa !5
  %1046 = getelementptr inbounds %struct.primordial, ptr %1045, i32 0, i32 106
  %1047 = getelementptr inbounds [2048 x i8], ptr %1046, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1044, ptr noundef @.str.6, ptr noundef @.str.50, ptr noundef %1047)
  %1048 = load ptr, ptr %7, align 8, !tbaa !5
  %1049 = getelementptr inbounds %struct.primordial, ptr %1048, i32 0, i32 106
  %1050 = getelementptr inbounds [2048 x i8], ptr %1049, i64 0, i64 0
  %1051 = getelementptr inbounds [2048 x i8], ptr %61, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %1050, ptr noundef @.str.3, ptr noundef @__func__.primordial_init, i32 noundef 525, ptr noundef %1051)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %61) #5
  store i32 1, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

1052:                                             ; preds = %1030
  %1053 = load double, ptr %20, align 8, !tbaa !18
  %1054 = call double @exp(double noundef %1053) #5
  %1055 = load ptr, ptr %7, align 8, !tbaa !5
  %1056 = getelementptr inbounds %struct.primordial, ptr %1055, i32 0, i32 2
  %1057 = load double, ptr %1056, align 8, !tbaa !47
  %1058 = fdiv double %1054, %1057
  %1059 = load ptr, ptr %7, align 8, !tbaa !5
  %1060 = getelementptr inbounds %struct.primordial, ptr %1059, i32 0, i32 6
  store double %1058, ptr %1060, align 8, !tbaa !53
  %1061 = load double, ptr %22, align 8, !tbaa !18
  %1062 = load double, ptr %21, align 8, !tbaa !18
  %1063 = fsub double %1061, %1062
  %1064 = load double, ptr %19, align 8, !tbaa !18
  %1065 = fmul double 2.000000e+00, %1064
  %1066 = fdiv double %1063, %1065
  %1067 = load ptr, ptr %7, align 8, !tbaa !5
  %1068 = getelementptr inbounds %struct.primordial, ptr %1067, i32 0, i32 7
  store double %1066, ptr %1068, align 8, !tbaa !54
  %1069 = load double, ptr %22, align 8, !tbaa !18
  %1070 = load double, ptr %20, align 8, !tbaa !18
  %1071 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %1070, double %1069)
  %1072 = load double, ptr %21, align 8, !tbaa !18
  %1073 = fadd double %1071, %1072
  %1074 = load double, ptr %19, align 8, !tbaa !18
  %1075 = call double @pow(double noundef %1074, double noundef 2.000000e+00) #5
  %1076 = fdiv double %1073, %1075
  %1077 = load ptr, ptr %7, align 8, !tbaa !5
  %1078 = getelementptr inbounds %struct.primordial, ptr %1077, i32 0, i32 8
  store double %1076, ptr %1078, align 8, !tbaa !55
  %1079 = load ptr, ptr %7, align 8, !tbaa !5
  %1080 = getelementptr inbounds %struct.primordial, ptr %1079, i32 0, i32 105
  %1081 = load i16, ptr %1080, align 8, !tbaa !16
  %1082 = sext i16 %1081 to i32
  %1083 = icmp sgt i32 %1082, 0
  br i1 %1083, label %1084, label %1095

1084:                                             ; preds = %1052
  %1085 = load ptr, ptr %7, align 8, !tbaa !5
  %1086 = getelementptr inbounds %struct.primordial, ptr %1085, i32 0, i32 6
  %1087 = load double, ptr %1086, align 8, !tbaa !53
  %1088 = load ptr, ptr %7, align 8, !tbaa !5
  %1089 = getelementptr inbounds %struct.primordial, ptr %1088, i32 0, i32 7
  %1090 = load double, ptr %1089, align 8, !tbaa !54
  %1091 = load ptr, ptr %7, align 8, !tbaa !5
  %1092 = getelementptr inbounds %struct.primordial, ptr %1091, i32 0, i32 8
  %1093 = load double, ptr %1092, align 8, !tbaa !55
  %1094 = call i32 (ptr, ...) @printf(ptr noundef @.str.51, double noundef %1087, double noundef %1090, double noundef %1093)
  br label %1095

1095:                                             ; preds = %1084, %1052
  br label %1096

1096:                                             ; preds = %1095, %982
  br label %1097

1097:                                             ; preds = %1096, %805
  store i32 0, ptr %4, align 4
  store i32 1, ptr %25, align 4
  br label %1098

1098:                                             ; preds = %1097, %1043, %1021, %999, %943, %921, %876, %854, %832, %792, %742, %730, %709, %677, %663, %640, %617, %464, %408, %325, %207, %180, %166, %146, %133, %120, %107, %96, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %1099 = load i32, ptr %4, align 4
  ret i32 %1099
}

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @primordial_free(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @primordial_inflation_indices(ptr noundef) #0

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

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

declare i32 @array_spline_table_lines(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i16 noundef signext, 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
declare double @pow(double noundef, double noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"perturbs", !11, i64 0, !11, i64 2, !11, i64 4, !11, i64 6, !11, i64 8, !11, i64 10, !11, i64 12, !11, i64 14, !11, i64 16, !11, i64 18, !11, i64 20, !12, i64 24, !11, i64 28, !11, i64 30, !11, i64 32, !11, i64 34, !11, i64 36, !11, i64 38, !11, i64 40, !11, i64 42, !11, i64 44, !11, i64 46, !11, i64 48, !11, i64 50, !11, i64 52, !11, i64 54, !11, i64 56, !11, i64 58, !11, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !13, i64 80, !12, i64 88, !12, i64 92, !7, i64 96, !7, i64 896, !12, i64 1696, !12, i64 1700, !12, i64 1704, !12, i64 1708, !12, i64 1712, !13, i64 1720, !12, i64 1728, !12, i64 1732, !7, i64 1736, !13, i64 1976, !13, i64 1984, !13, i64 1992, !6, i64 2000, !6, i64 2008, !12, i64 2016, !11, i64 2020, !11, i64 2022, !12, i64 2024, !12, i64 2028, !12, i64 2032, !12, i64 2036, !12, i64 2040, !12, i64 2044, !12, i64 2048, !12, i64 2052, !12, i64 2056, !12, i64 2060, !12, i64 2064, !6, i64 2072, !11, i64 2080, !11, i64 2082, !11, i64 2084, !11, i64 2086, !11, i64 2088, !11, i64 2090, !11, i64 2092, !11, i64 2094, !11, i64 2096, !11, i64 2098, !11, i64 2100, !11, i64 2102, !11, i64 2104, !11, i64 2106, !11, i64 2108, !11, i64 2110, !11, i64 2112, !11, i64 2114, !11, i64 2116, !11, i64 2118, !11, i64 2120, !11, i64 2122, !11, i64 2124, !11, i64 2126, !11, i64 2128, !11, i64 2130, !11, i64 2132, !11, i64 2134, !11, i64 2136, !11, i64 2138, !11, i64 2140, !11, i64 2142, !11, i64 2144, !11, i64 2146, !11, i64 2148, !11, i64 2150, !11, i64 2152, !11, i64 2154, !11, i64 2156, !11, i64 2158, !12, i64 2160, !12, i64 2164, !12, i64 2168, !12, i64 2172, !12, i64 2176, !12, i64 2180, !12, i64 2184, !12, i64 2188, !12, i64 2192, !12, i64 2196, !12, i64 2200, !12, i64 2204, !12, i64 2208, !12, i64 2212, !12, i64 2216, !12, i64 2220, !12, i64 2224, !12, i64 2228, !12, i64 2232, !12, i64 2236, !12, i64 2240, !12, i64 2244, !12, i64 2248, !12, i64 2252, !12, i64 2256, !12, i64 2260, !12, i64 2264, !12, i64 2268, !12, i64 2272, !12, i64 2276, !12, i64 2280, !12, i64 2284, !12, i64 2288, !12, i64 2292, !12, i64 2296, !12, i64 2300, !12, i64 2304, !12, i64 2308, !12, i64 2312, !12, i64 2316, !12, i64 2320, !12, i64 2324, !12, i64 2328, !12, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !13, i64 2376, !13, i64 2384, !6, i64 2392, !12, i64 2400, !13, i64 2408, !13, i64 2416, !13, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !12, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !12, i64 26512, !12, i64 26516, !12, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !11, i64 27608, !7, i64 27610}
!11 = !{!"short", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!15, !12, i64 640}
!15 = !{!"primordial", !13, i64 0, !12, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !13, i64 360, !13, i64 368, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !12, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !12, i64 504, !13, i64 512, !12, i64 520, !6, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !12, i64 616, !6, i64 624, !6, i64 632, !12, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !12, i64 704, !12, i64 708, !12, i64 712, !12, i64 716, !12, i64 720, !12, i64 724, !12, i64 728, !12, i64 732, !12, i64 736, !12, i64 740, !12, i64 744, !12, i64 748, !12, i64 752, !13, i64 760, !13, i64 768, !13, i64 776, !13, i64 784, !11, i64 792, !7, i64 794}
!16 = !{!15, !11, i64 792}
!17 = !{!10, !13, i64 2376}
!18 = !{!13, !13, i64 0}
!19 = !{!10, !13, i64 2384}
!20 = !{!15, !13, i64 0}
!21 = !{!22, !13, i64 1744}
!22 = !{!"precision", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !7, i64 104, !13, i64 360, !12, i64 368, !13, i64 376, !12, i64 384, !12, i64 388, !13, i64 392, !12, i64 400, !13, i64 408, !12, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !13, i64 616, !12, i64 624, !7, i64 628, !7, i64 884, !7, i64 1140, !13, i64 1400, !13, i64 1408, !13, i64 1416, !13, i64 1424, !13, i64 1432, !13, i64 1440, !13, i64 1448, !13, i64 1456, !13, i64 1464, !13, i64 1472, !13, i64 1480, !13, i64 1488, !13, i64 1496, !13, i64 1504, !13, i64 1512, !13, i64 1520, !12, i64 1528, !13, i64 1536, !13, i64 1544, !12, i64 1552, !12, i64 1556, !12, i64 1560, !12, i64 1564, !12, i64 1568, !12, i64 1572, !12, i64 1576, !12, i64 1580, !13, i64 1584, !13, i64 1592, !13, i64 1600, !13, i64 1608, !13, i64 1616, !13, i64 1624, !13, i64 1632, !13, i64 1640, !12, i64 1648, !13, i64 1656, !13, i64 1664, !12, i64 1672, !13, i64 1680, !13, i64 1688, !12, i64 1696, !13, i64 1704, !12, i64 1712, !13, i64 1720, !13, i64 1728, !12, i64 1736, !13, i64 1744, !13, i64 1752, !13, i64 1760, !12, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !12, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !13, i64 1872, !12, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !13, i64 1912, !13, i64 1920, !13, i64 1928, !13, i64 1936, !13, i64 1944, !13, i64 1952, !13, i64 1960, !13, i64 1968, !13, i64 1976, !13, i64 1984, !13, i64 1992, !13, i64 2000, !13, i64 2008, !13, i64 2016, !13, i64 2024, !13, i64 2032, !13, i64 2040, !13, i64 2048, !13, i64 2056, !13, i64 2064, !13, i64 2072, !13, i64 2080, !13, i64 2088, !13, i64 2096, !13, i64 2104, !13, i64 2112, !13, i64 2120, !13, i64 2128, !13, i64 2136, !13, i64 2144, !13, i64 2152, !13, i64 2160, !13, i64 2168, !13, i64 2176, !13, i64 2184, !13, i64 2192, !13, i64 2200, !13, i64 2208, !13, i64 2216, !13, i64 2224, !13, i64 2232, !13, i64 2240, !13, i64 2248, !12, i64 2256, !13, i64 2264, !13, i64 2272, !13, i64 2280, !13, i64 2288, !12, i64 2296, !13, i64 2304, !13, i64 2312, !12, i64 2320, !12, i64 2324, !12, i64 2328, !13, i64 2336, !13, i64 2344, !7, i64 2352}
!23 = !{!15, !12, i64 8}
!24 = !{!12, !12, i64 0}
!25 = !{!15, !6, i64 648}
!26 = !{!10, !12, i64 2040}
!27 = !{!15, !6, i64 624}
!28 = !{!15, !6, i64 672}
!29 = !{!11, !11, i64 0}
!30 = !{!15, !6, i64 656}
!31 = !{!15, !6, i64 632}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = distinct !{!35, !33}
!36 = distinct !{!36, !33}
!37 = !{!10, !11, i64 4}
!38 = !{!10, !11, i64 6}
!39 = !{!10, !11, i64 12}
!40 = !{!10, !11, i64 14}
!41 = !{!10, !11, i64 16}
!42 = !{!10, !11, i64 18}
!43 = !{!15, !12, i64 616}
!44 = !{!15, !6, i64 664}
!45 = distinct !{!45, !33}
!46 = !{!10, !12, i64 2028}
!47 = !{!15, !13, i64 16}
!48 = !{!15, !13, i64 24}
!49 = !{!15, !13, i64 32}
!50 = !{!15, !13, i64 40}
!51 = !{!10, !11, i64 8}
!52 = !{!10, !12, i64 2032}
!53 = !{!15, !13, i64 48}
!54 = !{!15, !13, i64 56}
!55 = !{!15, !13, i64 64}


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

@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@__func__.primordial_init = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [249 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [249 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [30 x i8], align 1

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @primordial_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %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
  %35 = alloca [2048 x i8], align 16
  %36 = alloca [2048 x i8], align 16
  %37 = alloca [2048 x i8], align 16
  %38 = alloca [2048 x i8], align 16
  %39 = alloca [2048 x i8], align 16
  %40 = alloca [2048 x i8], align 16
  %41 = alloca [2048 x i8], align 16
  %42 = alloca [2048 x i8], align 16
  %43 = alloca [2048 x i8], align 16
  %44 = alloca [2048 x i8], align 16
  %45 = alloca [2048 x i8], align 16
  %46 = alloca [2048 x i8], align 16
  %47 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %48 = load i16, ptr %1, align 8, !tbaa !5
  %49 = icmp eq i16 %48, 0
  br i1 %49, label %50, label %57

50:                                               ; preds = %3
  %51 = getelementptr inbounds i8, ptr %2, i64 640
  store i32 0, ptr %51, align 8, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %2, i64 792
  %53 = load i16, ptr %52, align 8, !tbaa !15
  %54 = icmp sgt i16 %53, 0
  br i1 %54, label %55, label %506

55:                                               ; preds = %50
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %506

57:                                               ; preds = %3
  %58 = getelementptr inbounds i8, ptr %2, i64 792
  %59 = load i16, ptr %58, align 8, !tbaa !15
  %60 = icmp sgt i16 %59, 0
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  br label %63

63:                                               ; preds = %57, %61
  %64 = getelementptr inbounds i8, ptr %1, i64 2376
  %65 = load double, ptr %64, align 8, !tbaa !16
  %66 = getelementptr inbounds i8, ptr %1, i64 2384
  %67 = load double, ptr %66, align 8, !tbaa !17
  %68 = fcmp ugt double %65, 0.000000e+00
  br i1 %68, label %71, label %69

69:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str.11) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.12, ptr noundef nonnull %12) #6
  %70 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 224, ptr noundef nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #6
  br label %506

71:                                               ; preds = %63
  %72 = fcmp ugt double %67, 0.000000e+00
  br i1 %72, label %75, label %73

73:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.13) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.14, ptr noundef nonnull %14) #6
  %74 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %74, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 228, ptr noundef nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #6
  br label %506

75:                                               ; preds = %71
  %76 = load double, ptr %2, align 8, !tbaa !18
  %77 = fcmp ugt double %76, 0.000000e+00
  br i1 %77, label %80, label %78

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str.15) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.16, ptr noundef nonnull %16) #6
  %79 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %79, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 232, ptr noundef nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #6
  br label %506

80:                                               ; preds = %75
  %81 = getelementptr inbounds i8, ptr %0, i64 1744
  %82 = load double, ptr %81, align 8, !tbaa !19
  %83 = fcmp ugt double %82, 0.000000e+00
  br i1 %83, label %86, label %84

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str.17) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.18, ptr noundef nonnull %18) #6
  %85 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %85, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 236, ptr noundef nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #6
  br label %506

86:                                               ; preds = %80
  %87 = fcmp ugt double %82, 1.000000e+00
  br i1 %87, label %90, label %88

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %20) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %20, ptr noundef nonnull @.str.19, double noundef %82) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %21) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.20, ptr noundef nonnull %20) #6
  %89 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %89, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 241, ptr noundef nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %20) #6
  br label %506

90:                                               ; preds = %86
  %91 = tail call i32 @primordial_get_lnk_list(ptr noundef nonnull %2, double noundef %65, double noundef %67, double noundef %82)
  %92 = icmp eq i32 %91, 1
  br i1 %92, label %93, label %95

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %22) #6
  %94 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %22, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.21, ptr noundef nonnull %94) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %94, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 251, ptr noundef nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %22) #6
  br label %506

95:                                               ; preds = %90
  %96 = tail call i32 @primordial_indices(ptr noundef nonnull %1, ptr noundef nonnull %2)
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %98, label %100

98:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %23) #6
  %99 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %23, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.22, ptr noundef nonnull %99) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %99, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 258, ptr noundef nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %23) #6
  br label %506

100:                                              ; preds = %95
  %101 = getelementptr inbounds i8, ptr %2, i64 8
  %102 = load i32, ptr %101, align 8, !tbaa !21
  switch i32 %102, label %334 [
    i32 0, label %103
    i32 2, label %277
    i32 3, label %277
    i32 4, label %277
    i32 5, label %293
  ]

103:                                              ; preds = %100
  %104 = load i16, ptr %58, align 8, !tbaa !15
  %105 = icmp sgt i16 %104, 0
  br i1 %105, label %106, label %108

106:                                              ; preds = %103
  %107 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23)
  br label %108

108:                                              ; preds = %106, %103
  %109 = tail call i32 @primordial_analytic_spectrum_init(ptr noundef nonnull %1, ptr noundef nonnull %2)
  %110 = icmp eq i32 %109, 1
  br i1 %110, label %120, label %.preheader272

.preheader272:                                    ; preds = %108
  %111 = getelementptr inbounds i8, ptr %2, i64 640
  %112 = load i32, ptr %111, align 8, !tbaa !13
  %113 = icmp sgt i32 %112, 0
  br i1 %113, label %.lr.ph279, label %.loopexit

.lr.ph279:                                        ; preds = %.preheader272
  %114 = getelementptr inbounds i8, ptr %2, i64 648
  %115 = getelementptr inbounds i8, ptr %1, i64 2040
  %116 = getelementptr inbounds i8, ptr %2, i64 624
  %117 = getelementptr inbounds i8, ptr %2, i64 672
  %118 = getelementptr inbounds i8, ptr %2, i64 656
  %119 = getelementptr inbounds i8, ptr %2, i64 632
  br label %123

120:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %24) #6
  %121 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.24, ptr noundef nonnull %121) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %121, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 271, ptr noundef nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %24) #6
  %122 = call i32 @primordial_free(ptr noundef nonnull %2)
  br label %506

123:                                              ; preds = %.lr.ph279, %._crit_edge277
  %indvars.iv285 = phi i64 [ 0, %.lr.ph279 ], [ %indvars.iv.next286, %._crit_edge277 ]
  %124 = load ptr, ptr %114, align 8, !tbaa !22
  %125 = getelementptr inbounds double, ptr %124, i64 %indvars.iv285
  %126 = load double, ptr %125, align 8, !tbaa !23
  %127 = call double @exp(double noundef %126) #6
  %128 = load i32, ptr %115, align 8, !tbaa !24
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.preheader271.preheader, label %._crit_edge277

.preheader271.preheader:                          ; preds = %123
  %.pre = load ptr, ptr %116, align 8, !tbaa !25
  %.sink302.peel = trunc i64 %indvars.iv285 to i32
  %.sink302 = trunc i64 %indvars.iv285 to i32
  br label %.preheader271

.preheader271:                                    ; preds = %.preheader271.preheader, %._crit_edge275
  %130 = phi i32 [ %128, %.preheader271.preheader ], [ %269, %._crit_edge275 ]
  %131 = phi ptr [ %.pre, %.preheader271.preheader ], [ %270, %._crit_edge275 ]
  %132 = phi ptr [ %.pre, %.preheader271.preheader ], [ %271, %._crit_edge275 ]
  %indvars.iv = phi i64 [ 0, %.preheader271.preheader ], [ %indvars.iv.next, %._crit_edge275 ]
  %133 = getelementptr inbounds i32, ptr %132, i64 %indvars.iv
  %134 = load i32, ptr %133, align 4, !tbaa !26
  %135 = icmp sgt i32 %134, 0
  br i1 %135, label %.preheader.preheader, label %._crit_edge275

.preheader.preheader:                             ; preds = %.preheader271
  %136 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge
  %137 = phi ptr [ %267, %._crit_edge ], [ %131, %.preheader.preheader ]
  %138 = phi i32 [ %266, %._crit_edge ], [ %134, %.preheader.preheader ]
  %.0262274 = phi i32 [ %.pre-phi, %._crit_edge ], [ 0, %.preheader.preheader ]
  %139 = icmp slt i32 %.0262274, %138
  br i1 %139, label %.lr.ph, label %.preheader.._crit_edge_crit_edge

.preheader.._crit_edge_crit_edge:                 ; preds = %.preheader
  %.phi.trans.insert = getelementptr inbounds i32, ptr %137, i64 %indvars.iv
  %.pre291 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !26
  %.pre293 = add nuw nsw i32 %.0262274, 1
  br label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %140 = add nuw nsw i32 %.0262274, 1
  %141 = mul nuw nsw i32 %140, %.0262274
  %142 = lshr i32 %141, 1
  %143 = mul nsw i32 %138, %.0262274
  %144 = sub nsw i32 %.0262274, %142
  %145 = add i32 %144, %143
  %146 = load ptr, ptr %117, align 8, !tbaa !27
  %147 = getelementptr inbounds ptr, ptr %146, i64 %indvars.iv
  %148 = load ptr, ptr %147, align 8, !tbaa !28
  %149 = sext i32 %145 to i64
  %150 = getelementptr inbounds i16, ptr %148, i64 %149
  %151 = load i16, ptr %150, align 2, !tbaa !29
  %152 = icmp eq i16 %151, 1
  br i1 %152, label %153, label %159

153:                                              ; preds = %.lr.ph
  %154 = call i32 @primordial_analytic_spectrum(ptr noundef nonnull %2, i32 noundef %136, i32 noundef %145, double noundef %127, ptr noundef nonnull %4)
  %155 = icmp eq i32 %154, 1
  br i1 %155, label %.loopexit312, label %156

156:                                              ; preds = %153
  %157 = load double, ptr %4, align 8, !tbaa !23
  %158 = call double @log(double noundef %157) #6
  br label %159

159:                                              ; preds = %156, %.lr.ph
  %.sink.peel = phi double [ %158, %156 ], [ 0.000000e+00, %.lr.ph ]
  %160 = load ptr, ptr %118, align 8, !tbaa !30
  %161 = getelementptr inbounds ptr, ptr %160, i64 %indvars.iv
  %162 = load ptr, ptr %161, align 8, !tbaa !28
  %163 = load ptr, ptr %119, align 8, !tbaa !31
  %164 = getelementptr inbounds i32, ptr %163, i64 %indvars.iv
  %165 = load i32, ptr %164, align 4, !tbaa !26
  %166 = mul nsw i32 %165, %.sink302.peel
  %167 = add nsw i32 %166, %145
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %162, i64 %168
  store double %.sink.peel, ptr %169, align 8, !tbaa !23
  %170 = add nuw nsw i32 %.0262274, 1
  %171 = load ptr, ptr %116, align 8, !tbaa !25
  %172 = getelementptr inbounds i32, ptr %171, i64 %indvars.iv
  %173 = load i32, ptr %172, align 4, !tbaa !26
  %174 = icmp slt i32 %170, %173
  br i1 %174, label %.lr.ph.peel.newph, label %._crit_edge

.lr.ph.peel.newph:                                ; preds = %159, %250
  %175 = phi i32 [ %264, %250 ], [ %173, %159 ]
  %.0261273 = phi i32 [ %261, %250 ], [ %170, %159 ]
  %.not269 = icmp ugt i32 %.0262274, %.0261273
  br i1 %.not269, label %180, label %176

176:                                              ; preds = %.lr.ph.peel.newph
  %177 = mul nsw i32 %175, %.0262274
  %178 = sub nsw i32 %.0261273, %142
  %179 = add i32 %178, %177
  br label %187

180:                                              ; preds = %.lr.ph.peel.newph
  %181 = mul nsw i32 %175, %.0261273
  %182 = add nsw i32 %181, %.0262274
  %183 = add nuw nsw i32 %.0261273, 1
  %184 = mul nuw nsw i32 %183, %.0261273
  %185 = lshr i32 %184, 1
  %186 = sub i32 %182, %185
  br label %187

187:                                              ; preds = %180, %176
  %188 = phi i32 [ %179, %176 ], [ %186, %180 ]
  %189 = load ptr, ptr %117, align 8, !tbaa !27
  %190 = getelementptr inbounds ptr, ptr %189, i64 %indvars.iv
  %191 = load ptr, ptr %190, align 8, !tbaa !28
  %192 = sext i32 %188 to i64
  %193 = getelementptr inbounds i16, ptr %191, i64 %192
  %194 = load i16, ptr %193, align 2, !tbaa !29
  %195 = icmp eq i16 %194, 1
  br i1 %195, label %196, label %250

196:                                              ; preds = %187
  %197 = call i32 @primordial_analytic_spectrum(ptr noundef nonnull %2, i32 noundef %136, i32 noundef %188, double noundef %127, ptr noundef nonnull %4)
  %198 = icmp eq i32 %197, 1
  br i1 %198, label %.loopexit312, label %200

.loopexit312:                                     ; preds = %153, %196
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %25) #6
  %199 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %25, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.25, ptr noundef nonnull %199) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %199, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 291, ptr noundef nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %25) #6
  br label %506

200:                                              ; preds = %196
  %201 = icmp eq i32 %.0262274, %.0261273
  br i1 %201, label %202, label %205

202:                                              ; preds = %200
  %203 = load double, ptr %4, align 8, !tbaa !23
  %204 = call double @log(double noundef %203) #6
  br label %250

205:                                              ; preds = %200
  %206 = load ptr, ptr %116, align 8, !tbaa !25
  %207 = getelementptr inbounds i32, ptr %206, i64 %indvars.iv
  %208 = load i32, ptr %207, align 4, !tbaa !26
  %209 = add i32 %208, 1
  %210 = mul i32 %209, %.0262274
  %211 = sub nsw i32 %210, %142
  %212 = call i32 @primordial_analytic_spectrum(ptr noundef nonnull %2, i32 noundef %136, i32 noundef %211, double noundef %127, ptr noundef nonnull %5)
  %213 = icmp eq i32 %212, 1
  br i1 %213, label %.loopexit313, label %215

.loopexit313:                                     ; preds = %205
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %26) #6
  %214 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %26, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.26, ptr noundef nonnull %214) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %214, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 309, ptr noundef nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %26) #6
  br label %506

215:                                              ; preds = %205
  %216 = load ptr, ptr %116, align 8, !tbaa !25
  %217 = getelementptr inbounds i32, ptr %216, i64 %indvars.iv
  %218 = load i32, ptr %217, align 4, !tbaa !26
  %219 = add i32 %218, 1
  %220 = mul i32 %219, %.0261273
  %221 = add nuw nsw i32 %.0261273, 1
  %222 = mul nuw nsw i32 %221, %.0261273
  %223 = lshr i32 %222, 1
  %224 = sub nsw i32 %220, %223
  %225 = call i32 @primordial_analytic_spectrum(ptr noundef nonnull %2, i32 noundef %136, i32 noundef %224, double noundef %127, ptr noundef nonnull %6)
  %226 = icmp eq i32 %225, 1
  br i1 %226, label %.loopexit314, label %228

.loopexit314:                                     ; preds = %215
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %27) #6
  %227 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.27, ptr noundef nonnull %227) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %227, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 317, ptr noundef nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %27) #6
  br label %506

228:                                              ; preds = %215
  %229 = load double, ptr %4, align 8, !tbaa !23
  %230 = load double, ptr %5, align 8, !tbaa !23
  %231 = load double, ptr %6, align 8, !tbaa !23
  %232 = fmul double %230, %231
  %233 = call double @sqrt(double noundef %232) #6
  %234 = fcmp ogt double %229, %233
  br i1 %234, label %250, label %235

235:                                              ; preds = %228
  %236 = load double, ptr %4, align 8, !tbaa !23
  %237 = load double, ptr %5, align 8, !tbaa !23
  %238 = load double, ptr %6, align 8, !tbaa !23
  %239 = fmul double %237, %238
  %240 = call double @sqrt(double noundef %239) #6
  %241 = fneg double %240
  %242 = fcmp olt double %236, %241
  br i1 %242, label %250, label %243

243:                                              ; preds = %235
  %244 = load double, ptr %4, align 8, !tbaa !23
  %245 = load double, ptr %5, align 8, !tbaa !23
  %246 = load double, ptr %6, align 8, !tbaa !23
  %247 = fmul double %245, %246
  %248 = call double @sqrt(double noundef %247) #6
  %249 = fdiv double %244, %248
  br label %250

250:                                              ; preds = %187, %235, %228, %243, %202
  %.sink = phi double [ %249, %243 ], [ %204, %202 ], [ 1.000000e+00, %228 ], [ -1.000000e+00, %235 ], [ 0.000000e+00, %187 ]
  %251 = load ptr, ptr %118, align 8, !tbaa !30
  %252 = getelementptr inbounds ptr, ptr %251, i64 %indvars.iv
  %253 = load ptr, ptr %252, align 8, !tbaa !28
  %254 = load ptr, ptr %119, align 8, !tbaa !31
  %255 = getelementptr inbounds i32, ptr %254, i64 %indvars.iv
  %256 = load i32, ptr %255, align 4, !tbaa !26
  %257 = mul nsw i32 %256, %.sink302
  %258 = add nsw i32 %257, %188
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds double, ptr %253, i64 %259
  store double %.sink, ptr %260, align 8, !tbaa !23
  %261 = add nuw nsw i32 %.0261273, 1
  %262 = load ptr, ptr %116, align 8, !tbaa !25
  %263 = getelementptr inbounds i32, ptr %262, i64 %indvars.iv
  %264 = load i32, ptr %263, align 4, !tbaa !26
  %265 = icmp slt i32 %261, %264
  br i1 %265, label %.lr.ph.peel.newph, label %._crit_edge, !llvm.loop !32

._crit_edge:                                      ; preds = %159, %250, %.preheader.._crit_edge_crit_edge
  %.pre-phi = phi i32 [ %.pre293, %.preheader.._crit_edge_crit_edge ], [ %140, %250 ], [ %140, %159 ]
  %266 = phi i32 [ %.pre291, %.preheader.._crit_edge_crit_edge ], [ %173, %159 ], [ %264, %250 ]
  %267 = phi ptr [ %137, %.preheader.._crit_edge_crit_edge ], [ %171, %159 ], [ %262, %250 ]
  %268 = icmp slt i32 %.pre-phi, %266
  br i1 %268, label %.preheader, label %._crit_edge275.loopexit, !llvm.loop !35

._crit_edge275.loopexit:                          ; preds = %._crit_edge
  %.pre292 = load i32, ptr %115, align 8, !tbaa !24
  br label %._crit_edge275

._crit_edge275:                                   ; preds = %._crit_edge275.loopexit, %.preheader271
  %269 = phi i32 [ %.pre292, %._crit_edge275.loopexit ], [ %130, %.preheader271 ]
  %270 = phi ptr [ %267, %._crit_edge275.loopexit ], [ %131, %.preheader271 ]
  %271 = phi ptr [ %267, %._crit_edge275.loopexit ], [ %132, %.preheader271 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %272 = sext i32 %269 to i64
  %273 = icmp slt i64 %indvars.iv.next, %272
  br i1 %273, label %.preheader271, label %._crit_edge277, !llvm.loop !36

._crit_edge277:                                   ; preds = %._crit_edge275, %123
  %indvars.iv.next286 = add nuw nsw i64 %indvars.iv285, 1
  %274 = load i32, ptr %111, align 8, !tbaa !13
  %275 = sext i32 %274 to i64
  %276 = icmp slt i64 %indvars.iv.next286, %275
  br i1 %276, label %123, label %.loopexit, !llvm.loop !37

277:                                              ; preds = %100, %100, %100
  %278 = tail call i32 @primordial_inflation_indices(ptr noundef nonnull %2)
  %279 = icmp eq i32 %278, 1
  br i1 %279, label %280, label %282

280:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %28) #6
  %281 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.28, ptr noundef nonnull %281) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %281, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 360, ptr noundef nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %28) #6
  br label %506

282:                                              ; preds = %277
  %283 = load i16, ptr %58, align 8, !tbaa !15
  %284 = icmp sgt i16 %283, 0
  br i1 %284, label %285, label %287

285:                                              ; preds = %282
  %286 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29)
  br label %287

287:                                              ; preds = %285, %282
  %288 = tail call i32 @primordial_inflation_solve_inflation(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %0)
  %289 = icmp eq i32 %288, 1
  br i1 %289, label %290, label %.loopexit

290:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %29) #6
  %291 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %29, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.30, ptr noundef nonnull %291) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %291, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 368, ptr noundef nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %29) #6
  %292 = call i32 @primordial_free(ptr noundef nonnull %2)
  br label %506

293:                                              ; preds = %100
  %294 = getelementptr inbounds i8, ptr %1, i64 4
  %295 = load i16, ptr %294, align 4, !tbaa !38
  %296 = icmp eq i16 %295, 0
  br i1 %296, label %297, label %299

297:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %30) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %30, ptr noundef nonnull @.str.31) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %31) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %31, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.32, ptr noundef nonnull %30) #6
  %298 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %298, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 378, ptr noundef nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %30) #6
  br label %506

299:                                              ; preds = %293
  %300 = getelementptr inbounds i8, ptr %1, i64 6
  %301 = load i16, ptr %300, align 2, !tbaa !39
  %302 = icmp eq i16 %301, 1
  br i1 %302, label %303, label %305

303:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %32) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %32, ptr noundef nonnull @.str.33) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %33) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %33, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.34, ptr noundef nonnull %32) #6
  %304 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %304, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 382, ptr noundef nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %32) #6
  br label %506

305:                                              ; preds = %299
  %306 = getelementptr inbounds i8, ptr %1, i64 12
  %307 = load i16, ptr %306, align 4, !tbaa !40
  %308 = icmp eq i16 %307, 1
  br i1 %308, label %321, label %309

309:                                              ; preds = %305
  %310 = getelementptr inbounds i8, ptr %1, i64 14
  %311 = load i16, ptr %310, align 2, !tbaa !41
  %312 = icmp eq i16 %311, 1
  br i1 %312, label %321, label %313

313:                                              ; preds = %309
  %314 = getelementptr inbounds i8, ptr %1, i64 16
  %315 = load i16, ptr %314, align 8, !tbaa !42
  %316 = icmp eq i16 %315, 1
  br i1 %316, label %321, label %317

317:                                              ; preds = %313
  %318 = getelementptr inbounds i8, ptr %1, i64 18
  %319 = load i16, ptr %318, align 2, !tbaa !43
  %320 = icmp eq i16 %319, 1
  br i1 %320, label %321, label %323

321:                                              ; preds = %317, %313, %309, %305
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %34) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %34, ptr noundef nonnull @.str.35) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %35) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %35, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.36, ptr noundef nonnull %34) #6
  %322 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %322, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 386, ptr noundef nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %34) #6
  br label %506

323:                                              ; preds = %317
  %324 = load i16, ptr %58, align 8, !tbaa !15
  %325 = icmp sgt i16 %324, 0
  br i1 %325, label %326, label %328

326:                                              ; preds = %323
  %327 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.37)
  br label %328

328:                                              ; preds = %326, %323
  %329 = tail call i32 @primordial_external_spectrum_init(ptr noundef nonnull %1, ptr noundef nonnull %2)
  %330 = icmp eq i32 %329, 1
  br i1 %330, label %331, label %.loopexit

331:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %36) #6
  %332 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %36, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.38, ptr noundef nonnull %332) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %332, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 394, ptr noundef nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %36) #6
  %333 = call i32 @primordial_free(ptr noundef nonnull %2)
  br label %506

334:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %37) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %37, ptr noundef nonnull @.str.39) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %38) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %38, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.40, ptr noundef nonnull %37) #6
  %335 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %335, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 401, ptr noundef nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %37) #6
  br label %506

.loopexit:                                        ; preds = %._crit_edge277, %.preheader272, %287, %328
  %336 = getelementptr inbounds i8, ptr %2, i64 616
  %337 = load i32, ptr %336, align 8, !tbaa !44
  %338 = icmp sgt i32 %337, 0
  br i1 %338, label %.lr.ph282, label %._crit_edge283

.lr.ph282:                                        ; preds = %.loopexit
  %339 = getelementptr inbounds i8, ptr %2, i64 648
  %340 = getelementptr inbounds i8, ptr %2, i64 640
  %341 = getelementptr inbounds i8, ptr %2, i64 656
  %342 = getelementptr inbounds i8, ptr %2, i64 632
  %343 = getelementptr inbounds i8, ptr %2, i64 664
  %344 = getelementptr inbounds i8, ptr %2, i64 794
  br label %349

345:                                              ; preds = %349
  %indvars.iv.next289 = add nuw nsw i64 %indvars.iv288, 1
  %346 = load i32, ptr %336, align 8, !tbaa !44
  %347 = sext i32 %346 to i64
  %348 = icmp slt i64 %indvars.iv.next289, %347
  br i1 %348, label %349, label %._crit_edge283, !llvm.loop !45

349:                                              ; preds = %.lr.ph282, %345
  %indvars.iv288 = phi i64 [ 0, %.lr.ph282 ], [ %indvars.iv.next289, %345 ]
  %350 = load ptr, ptr %339, align 8, !tbaa !22
  %351 = load i32, ptr %340, align 8, !tbaa !13
  %352 = load ptr, ptr %341, align 8, !tbaa !30
  %353 = getelementptr inbounds ptr, ptr %352, i64 %indvars.iv288
  %354 = load ptr, ptr %353, align 8, !tbaa !28
  %355 = load ptr, ptr %342, align 8, !tbaa !31
  %356 = getelementptr inbounds i32, ptr %355, i64 %indvars.iv288
  %357 = load i32, ptr %356, align 4, !tbaa !26
  %358 = load ptr, ptr %343, align 8, !tbaa !46
  %359 = getelementptr inbounds ptr, ptr %358, i64 %indvars.iv288
  %360 = load ptr, ptr %359, align 8, !tbaa !28
  %361 = call i32 @array_spline_table_lines(ptr noundef %350, i32 noundef %351, ptr noundef %354, i32 noundef %357, ptr noundef %360, i16 noundef signext 1, ptr noundef nonnull %344) #6
  %362 = icmp eq i32 %361, 1
  br i1 %362, label %363, label %345

363:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %39) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %39, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.41, ptr noundef nonnull %344) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %344, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 417, ptr noundef nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %39) #6
  br label %506

._crit_edge283:                                   ; preds = %345, %.loopexit
  %364 = load i32, ptr %101, align 8, !tbaa !21
  %.not = icmp eq i32 %364, 0
  br i1 %.not, label %506, label %365

365:                                              ; preds = %._crit_edge283
  %366 = load double, ptr %81, align 8, !tbaa !19
  %367 = fdiv double 0x40026BB1BBB55516, %366
  %368 = getelementptr inbounds i8, ptr %1, i64 4
  %369 = load i16, ptr %368, align 4, !tbaa !38
  %370 = icmp eq i16 %369, 1
  br i1 %370, label %371, label %449

371:                                              ; preds = %365
  %372 = getelementptr inbounds i8, ptr %1, i64 2028
  %373 = load i32, ptr %372, align 4, !tbaa !47
  %374 = load double, ptr %2, align 8, !tbaa !18
  %375 = call double @log(double noundef %374) #6
  %376 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %373, i32 noundef 1, double noundef %375, ptr noundef nonnull %7)
  %377 = icmp eq i32 %376, 1
  br i1 %377, label %378, label %380

378:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %40) #6
  %379 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %40, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.42, ptr noundef nonnull %379) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %379, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 436, ptr noundef nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %40) #6
  br label %506

380:                                              ; preds = %371
  %381 = load i32, ptr %372, align 4, !tbaa !47
  %382 = load double, ptr %2, align 8, !tbaa !18
  %383 = call double @log(double noundef %382) #6
  %384 = fadd double %367, %383
  %385 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %381, i32 noundef 1, double noundef %384, ptr noundef nonnull %9)
  %386 = icmp eq i32 %385, 1
  br i1 %386, label %387, label %389

387:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %41) #6
  %388 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %41, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.43, ptr noundef nonnull %388) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %388, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 445, ptr noundef nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %41) #6
  br label %506

389:                                              ; preds = %380
  %390 = load i32, ptr %372, align 4, !tbaa !47
  %391 = load double, ptr %2, align 8, !tbaa !18
  %392 = call double @log(double noundef %391) #6
  %393 = fsub double %392, %367
  %394 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %390, i32 noundef 1, double noundef %393, ptr noundef nonnull %8)
  %395 = icmp eq i32 %394, 1
  br i1 %395, label %396, label %398

396:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %42) #6
  %397 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %42, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.44, ptr noundef nonnull %397) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %397, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 453, ptr noundef nonnull %42) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %42) #6
  br label %506

398:                                              ; preds = %389
  %399 = load double, ptr %7, align 8, !tbaa !23
  %400 = call double @exp(double noundef %399) #6
  %401 = getelementptr inbounds i8, ptr %2, i64 16
  store double %400, ptr %401, align 8, !tbaa !48
  %402 = load double, ptr %9, align 8, !tbaa !23
  %403 = load double, ptr %8, align 8, !tbaa !23
  %404 = fsub double %402, %403
  %405 = fmul double %367, 2.000000e+00
  %406 = fdiv double %404, %405
  %407 = fadd double %406, 1.000000e+00
  %408 = getelementptr inbounds i8, ptr %2, i64 24
  store double %407, ptr %408, align 8, !tbaa !49
  %409 = load double, ptr %7, align 8, !tbaa !23
  %410 = call double @llvm.fmuladd.f64(double %409, double -2.000000e+00, double %402)
  %411 = fadd double %403, %410
  %square = fmul double %367, %367
  %412 = fdiv double %411, %square
  %413 = getelementptr inbounds i8, ptr %2, i64 32
  store double %412, ptr %413, align 8, !tbaa !50
  %414 = load i32, ptr %372, align 4, !tbaa !47
  %415 = load double, ptr %2, align 8, !tbaa !18
  %416 = call double @log(double noundef %415) #6
  %417 = call double @llvm.fmuladd.f64(double %367, double 2.000000e+00, double %416)
  %418 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %414, i32 noundef 1, double noundef %417, ptr noundef nonnull %11)
  %419 = icmp eq i32 %418, 1
  br i1 %419, label %420, label %422

420:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %43) #6
  %421 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %43, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.45, ptr noundef nonnull %421) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %421, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 476, ptr noundef nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %43) #6
  br label %506

422:                                              ; preds = %398
  %423 = load i32, ptr %372, align 4, !tbaa !47
  %424 = load double, ptr %2, align 8, !tbaa !18
  %425 = call double @log(double noundef %424) #6
  %426 = call double @llvm.fmuladd.f64(double %367, double -2.000000e+00, double %425)
  %427 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %423, i32 noundef 1, double noundef %426, ptr noundef nonnull %10)
  %428 = icmp eq i32 %427, 1
  br i1 %428, label %429, label %431

429:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %44) #6
  %430 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %44, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.46, ptr noundef nonnull %430) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %430, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 484, ptr noundef nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %44) #6
  br label %506

431:                                              ; preds = %422
  %432 = load double, ptr %11, align 8, !tbaa !23
  %433 = load double, ptr %9, align 8, !tbaa !23
  %434 = call double @llvm.fmuladd.f64(double %433, double -2.000000e+00, double %432)
  %435 = load double, ptr %8, align 8, !tbaa !23
  %436 = call double @llvm.fmuladd.f64(double %435, double 2.000000e+00, double %434)
  %437 = load double, ptr %10, align 8, !tbaa !23
  %438 = fsub double %436, %437
  %439 = call double @pow(double noundef %367, double noundef 3.000000e+00) #6
  %440 = fdiv double %438, %439
  %441 = getelementptr inbounds i8, ptr %2, i64 40
  store double %440, ptr %441, align 8, !tbaa !51
  %442 = load i16, ptr %58, align 8, !tbaa !15
  %443 = icmp sgt i16 %442, 0
  br i1 %443, label %444, label %449

444:                                              ; preds = %431
  %445 = load double, ptr %401, align 8, !tbaa !48
  %446 = load double, ptr %408, align 8, !tbaa !49
  %447 = load double, ptr %413, align 8, !tbaa !50
  %448 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47, double noundef %445, double noundef %446, double noundef %447)
  br label %449

449:                                              ; preds = %431, %444, %365
  %450 = getelementptr inbounds i8, ptr %1, i64 8
  %451 = load i16, ptr %450, align 8, !tbaa !52
  %452 = icmp eq i16 %451, 1
  br i1 %452, label %453, label %506

453:                                              ; preds = %449
  %454 = getelementptr inbounds i8, ptr %1, i64 2032
  %455 = load i32, ptr %454, align 8, !tbaa !53
  %456 = load double, ptr %2, align 8, !tbaa !18
  %457 = call double @log(double noundef %456) #6
  %458 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %455, i32 noundef 1, double noundef %457, ptr noundef nonnull %7)
  %459 = icmp eq i32 %458, 1
  br i1 %459, label %460, label %462

460:                                              ; preds = %453
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %45) #6
  %461 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %45, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.48, ptr noundef nonnull %461) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %461, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 509, ptr noundef nonnull %45) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %45) #6
  br label %506

462:                                              ; preds = %453
  %463 = load i32, ptr %454, align 8, !tbaa !53
  %464 = load double, ptr %2, align 8, !tbaa !18
  %465 = call double @log(double noundef %464) #6
  %466 = fadd double %367, %465
  %467 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %463, i32 noundef 1, double noundef %466, ptr noundef nonnull %9)
  %468 = icmp eq i32 %467, 1
  br i1 %468, label %469, label %471

469:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %46) #6
  %470 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %46, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.49, ptr noundef nonnull %470) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %470, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 517, ptr noundef nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %46) #6
  br label %506

471:                                              ; preds = %462
  %472 = load i32, ptr %454, align 8, !tbaa !53
  %473 = load double, ptr %2, align 8, !tbaa !18
  %474 = call double @log(double noundef %473) #6
  %475 = fsub double %474, %367
  %476 = call i32 @primordial_spectrum_at_k(ptr noundef nonnull %2, i32 noundef %472, i32 noundef 1, double noundef %475, ptr noundef nonnull %8)
  %477 = icmp eq i32 %476, 1
  br i1 %477, label %478, label %480

478:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %47) #6
  %479 = getelementptr inbounds i8, ptr %2, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %47, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.50, ptr noundef nonnull %479) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %479, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_init, i32 noundef 525, ptr noundef nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %47) #6
  br label %506

480:                                              ; preds = %471
  %481 = load double, ptr %7, align 8, !tbaa !23
  %482 = call double @exp(double noundef %481) #6
  %483 = getelementptr inbounds i8, ptr %2, i64 16
  %484 = load double, ptr %483, align 8, !tbaa !48
  %485 = getelementptr inbounds i8, ptr %2, i64 48
  %486 = load double, ptr %9, align 8, !tbaa !23
  %487 = load double, ptr %8, align 8, !tbaa !23
  %488 = fsub double %486, %487
  %489 = fmul double %367, 2.000000e+00
  %490 = insertelement <2 x double> poison, double %482, i64 0
  %491 = insertelement <2 x double> %490, double %488, i64 1
  %492 = insertelement <2 x double> poison, double %484, i64 0
  %493 = insertelement <2 x double> %492, double %489, i64 1
  %494 = fdiv <2 x double> %491, %493
  store <2 x double> %494, ptr %485, align 8, !tbaa !23
  %495 = load double, ptr %7, align 8, !tbaa !23
  %496 = call double @llvm.fmuladd.f64(double %495, double -2.000000e+00, double %486)
  %497 = fadd double %487, %496
  %square268 = fmul double %367, %367
  %498 = fdiv double %497, %square268
  %499 = getelementptr inbounds i8, ptr %2, i64 64
  store double %498, ptr %499, align 8, !tbaa !54
  %500 = load i16, ptr %58, align 8, !tbaa !15
  %501 = icmp sgt i16 %500, 0
  br i1 %501, label %502, label %506

502:                                              ; preds = %480
  %503 = extractelement <2 x double> %494, i64 0
  %504 = extractelement <2 x double> %494, i64 1
  %505 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.51, double noundef %503, double noundef %504, double noundef %498)
  br label %506

506:                                              ; preds = %._crit_edge283, %480, %502, %449, %50, %55, %478, %469, %460, %429, %420, %396, %387, %378, %363, %334, %331, %321, %303, %297, %290, %280, %.loopexit314, %.loopexit313, %.loopexit312, %120, %98, %93, %88, %84, %78, %73, %69
  %.0 = phi i32 [ 1, %69 ], [ 1, %73 ], [ 1, %78 ], [ 1, %84 ], [ 1, %88 ], [ 1, %93 ], [ 1, %98 ], [ 1, %120 ], [ 1, %.loopexit312 ], [ 1, %.loopexit313 ], [ 1, %.loopexit314 ], [ 1, %363 ], [ 1, %378 ], [ 1, %387 ], [ 1, %396 ], [ 1, %420 ], [ 1, %429 ], [ 1, %460 ], [ 1, %469 ], [ 1, %478 ], [ 1, %280 ], [ 1, %290 ], [ 1, %297 ], [ 1, %303 ], [ 1, %321 ], [ 1, %331 ], [ 1, %334 ], [ 0, %55 ], [ 0, %50 ], [ 0, %449 ], [ 0, %502 ], [ 0, %480 ], [ 0, %._crit_edge283 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  ret i32 %.0
}

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"perturbs", !7, i64 0, !7, i64 2, !7, i64 4, !7, i64 6, !7, i64 8, !7, i64 10, !7, i64 12, !7, i64 14, !7, i64 16, !7, i64 18, !7, i64 20, !10, i64 24, !7, i64 28, !7, i64 30, !7, i64 32, !7, i64 34, !7, i64 36, !7, i64 38, !7, i64 40, !7, i64 42, !7, i64 44, !7, i64 46, !7, i64 48, !7, i64 50, !7, i64 52, !7, i64 54, !7, i64 56, !7, i64 58, !7, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !11, i64 80, !10, i64 88, !10, i64 92, !8, i64 96, !8, i64 896, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !11, i64 1720, !10, i64 1728, !10, i64 1732, !8, i64 1736, !11, i64 1976, !11, i64 1984, !11, i64 1992, !12, i64 2000, !12, i64 2008, !10, i64 2016, !7, i64 2020, !7, i64 2022, !10, i64 2024, !10, i64 2028, !10, i64 2032, !10, i64 2036, !10, i64 2040, !10, i64 2044, !10, i64 2048, !10, i64 2052, !10, i64 2056, !10, i64 2060, !10, i64 2064, !12, i64 2072, !7, i64 2080, !7, i64 2082, !7, i64 2084, !7, i64 2086, !7, i64 2088, !7, i64 2090, !7, i64 2092, !7, i64 2094, !7, i64 2096, !7, i64 2098, !7, i64 2100, !7, i64 2102, !7, i64 2104, !7, i64 2106, !7, i64 2108, !7, i64 2110, !7, i64 2112, !7, i64 2114, !7, i64 2116, !7, i64 2118, !7, i64 2120, !7, i64 2122, !7, i64 2124, !7, i64 2126, !7, i64 2128, !7, i64 2130, !7, i64 2132, !7, i64 2134, !7, i64 2136, !7, i64 2138, !7, i64 2140, !7, i64 2142, !7, i64 2144, !7, i64 2146, !7, i64 2148, !7, i64 2150, !7, i64 2152, !7, i64 2154, !7, i64 2156, !7, i64 2158, !10, i64 2160, !10, i64 2164, !10, i64 2168, !10, i64 2172, !10, i64 2176, !10, i64 2180, !10, i64 2184, !10, i64 2188, !10, i64 2192, !10, i64 2196, !10, i64 2200, !10, i64 2204, !10, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !10, i64 2284, !10, i64 2288, !10, i64 2292, !10, i64 2296, !10, i64 2300, !10, i64 2304, !10, i64 2308, !10, i64 2312, !10, i64 2316, !10, i64 2320, !10, i64 2324, !10, i64 2328, !10, i64 2332, !12, i64 2336, !12, i64 2344, !12, i64 2352, !12, i64 2360, !12, i64 2368, !11, i64 2376, !11, i64 2384, !12, i64 2392, !10, i64 2400, !11, i64 2408, !11, i64 2416, !11, i64 2424, !12, i64 2432, !12, i64 2440, !12, i64 2448, !12, i64 2456, !12, i64 2464, !12, i64 2472, !10, i64 2480, !12, i64 2488, !12, i64 2496, !12, i64 2504, !8, i64 2512, !8, i64 10512, !8, i64 18512, !10, i64 26512, !10, i64 26516, !10, i64 26520, !8, i64 26528, !8, i64 26768, !8, i64 27008, !8, i64 27248, !8, i64 27368, !8, i64 27488, !7, i64 27608, !8, i64 27610}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !10, i64 640}
!14 = !{!"primordial", !11, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !10, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !10, i64 504, !11, i64 512, !10, i64 520, !12, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !10, i64 616, !12, i64 624, !12, i64 632, !10, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !12, i64 672, !12, i64 680, !12, i64 688, !12, i64 696, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !10, i64 724, !10, i64 728, !10, i64 732, !10, i64 736, !10, i64 740, !10, i64 744, !10, i64 748, !10, i64 752, !11, i64 760, !11, i64 768, !11, i64 776, !11, i64 784, !7, i64 792, !8, i64 794}
!15 = !{!14, !7, i64 792}
!16 = !{!6, !11, i64 2376}
!17 = !{!6, !11, i64 2384}
!18 = !{!14, !11, i64 0}
!19 = !{!20, !11, i64 1744}
!20 = !{!"precision", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !8, i64 104, !11, i64 360, !10, i64 368, !11, i64 376, !10, i64 384, !10, i64 388, !11, i64 392, !10, i64 400, !11, i64 408, !10, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !10, i64 624, !8, i64 628, !8, i64 884, !8, i64 1140, !11, i64 1400, !11, i64 1408, !11, i64 1416, !11, i64 1424, !11, i64 1432, !11, i64 1440, !11, i64 1448, !11, i64 1456, !11, i64 1464, !11, i64 1472, !11, i64 1480, !11, i64 1488, !11, i64 1496, !11, i64 1504, !11, i64 1512, !11, i64 1520, !10, i64 1528, !11, i64 1536, !11, i64 1544, !10, i64 1552, !10, i64 1556, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !11, i64 1584, !11, i64 1592, !11, i64 1600, !11, i64 1608, !11, i64 1616, !11, i64 1624, !11, i64 1632, !11, i64 1640, !10, i64 1648, !11, i64 1656, !11, i64 1664, !10, i64 1672, !11, i64 1680, !11, i64 1688, !10, i64 1696, !11, i64 1704, !10, i64 1712, !11, i64 1720, !11, i64 1728, !10, i64 1736, !11, i64 1744, !11, i64 1752, !11, i64 1760, !10, i64 1768, !11, i64 1776, !11, i64 1784, !11, i64 1792, !11, i64 1800, !11, i64 1808, !10, i64 1816, !11, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !11, i64 1872, !10, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !11, i64 1912, !11, i64 1920, !11, i64 1928, !11, i64 1936, !11, i64 1944, !11, i64 1952, !11, i64 1960, !11, i64 1968, !11, i64 1976, !11, i64 1984, !11, i64 1992, !11, i64 2000, !11, i64 2008, !11, i64 2016, !11, i64 2024, !11, i64 2032, !11, i64 2040, !11, i64 2048, !11, i64 2056, !11, i64 2064, !11, i64 2072, !11, i64 2080, !11, i64 2088, !11, i64 2096, !11, i64 2104, !11, i64 2112, !11, i64 2120, !11, i64 2128, !11, i64 2136, !11, i64 2144, !11, i64 2152, !11, i64 2160, !11, i64 2168, !11, i64 2176, !11, i64 2184, !11, i64 2192, !11, i64 2200, !11, i64 2208, !11, i64 2216, !11, i64 2224, !11, i64 2232, !11, i64 2240, !11, i64 2248, !10, i64 2256, !11, i64 2264, !11, i64 2272, !11, i64 2280, !11, i64 2288, !10, i64 2296, !11, i64 2304, !11, i64 2312, !10, i64 2320, !10, i64 2324, !10, i64 2328, !11, i64 2336, !11, i64 2344, !8, i64 2352}
!21 = !{!14, !10, i64 8}
!22 = !{!14, !12, i64 648}
!23 = !{!11, !11, i64 0}
!24 = !{!6, !10, i64 2040}
!25 = !{!14, !12, i64 624}
!26 = !{!10, !10, i64 0}
!27 = !{!14, !12, i64 672}
!28 = !{!12, !12, i64 0}
!29 = !{!7, !7, i64 0}
!30 = !{!14, !12, i64 656}
!31 = !{!14, !12, i64 632}
!32 = distinct !{!32, !33, !34}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!"llvm.loop.peeled.count", i32 1}
!35 = distinct !{!35, !33}
!36 = distinct !{!36, !33}
!37 = distinct !{!37, !33}
!38 = !{!6, !7, i64 4}
!39 = !{!6, !7, i64 6}
!40 = !{!6, !7, i64 12}
!41 = !{!6, !7, i64 14}
!42 = !{!6, !7, i64 16}
!43 = !{!6, !7, i64 18}
!44 = !{!14, !10, i64 616}
!45 = distinct !{!45, !33}
!46 = !{!14, !12, i64 664}
!47 = !{!6, !10, i64 2028}
!48 = !{!14, !11, i64 16}
!49 = !{!14, !11, i64 24}
!50 = !{!14, !11, i64 32}
!51 = !{!14, !11, i64 40}
!52 = !{!6, !7, i64 8}
!53 = !{!6, !10, i64 2032}
!54 = !{!14, !11, i64 64}


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