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

@.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.52 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [16 x i8], align 1
@__func__.primordial_external_spectrum_init = external hidden unnamed_addr constant [34 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [152 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [151 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @primordial_external_spectrum_init(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca [1024 x i8], align 16
  %7 = alloca [8192 x i8], align 16
  %8 = alloca [2048 x i8], align 16
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca [2048 x i8], align 16
  %22 = alloca [2048 x i8], align 16
  %23 = alloca i32, align 4
  %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 i32, align 4
  %39 = alloca [2048 x i8], align 16
  %40 = alloca i32, align 4
  %41 = alloca [2048 x i8], align 16
  %42 = alloca i32, align 4
  %43 = alloca [2048 x i8], align 16
  %44 = alloca i32, align 4
  %45 = alloca [2048 x i8], align 16
  %46 = alloca i32, align 4
  %47 = alloca [2048 x i8], align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8192, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 100, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = mul i64 %49, 8
  %51 = call noalias ptr @malloc(i64 noundef %50) #8
  store ptr %51, ptr %12, align 8, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = mul i64 %53, 8
  %55 = call noalias ptr @malloc(i64 noundef %54) #8
  store ptr %55, ptr %13, align 8, !tbaa !5
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.perturbs, ptr %56, i32 0, i32 4
  %58 = load i16, ptr %57, align 8, !tbaa !11
  %59 = sext i16 %58 to i32
  %60 = icmp eq i32 %59, 1
  br i1 %60, label %61, label %66

61:                                               ; preds = %2
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = mul i64 %63, 8
  %65 = call noalias ptr @malloc(i64 noundef %64) #8
  store ptr %65, ptr %14, align 8, !tbaa !5
  br label %66

66:                                               ; preds = %61, %2
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.primordial, ptr %67, i32 0, i32 66
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = call i32 @strncmp(ptr noundef @.str.163, ptr noundef %69, i64 noundef 4) #9
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %75

72:                                               ; preds = %66
  %73 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %74 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.164) #7
  br label %108

75:                                               ; preds = %66
  %76 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.primordial, ptr %77, i32 0, i32 67
  %79 = load double, ptr %78, align 8, !tbaa !17
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.primordial, ptr %80, i32 0, i32 68
  %82 = load double, ptr %81, align 8, !tbaa !18
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.primordial, ptr %83, i32 0, i32 69
  %85 = load double, ptr %84, align 8, !tbaa !19
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.primordial, ptr %86, i32 0, i32 70
  %88 = load double, ptr %87, align 8, !tbaa !20
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.primordial, ptr %89, i32 0, i32 71
  %91 = load double, ptr %90, align 8, !tbaa !21
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.primordial, ptr %92, i32 0, i32 72
  %94 = load double, ptr %93, align 8, !tbaa !22
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.primordial, ptr %95, i32 0, i32 73
  %97 = load double, ptr %96, align 8, !tbaa !23
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.primordial, ptr %98, i32 0, i32 74
  %100 = load double, ptr %99, align 8, !tbaa !24
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.primordial, ptr %101, i32 0, i32 75
  %103 = load double, ptr %102, align 8, !tbaa !25
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.primordial, ptr %104, i32 0, i32 76
  %106 = load double, ptr %105, align 8, !tbaa !26
  %107 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %76, ptr noundef @.str.165, double noundef %79, double noundef %82, double noundef %85, double noundef %88, double noundef %91, double noundef %94, double noundef %97, double noundef %100, double noundef %103, double noundef %106) #7
  br label %108

108:                                              ; preds = %75, %72
  %109 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.primordial, ptr %110, i32 0, i32 66
  %112 = load ptr, ptr %111, align 8, !tbaa !15
  %113 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %114 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %109, ptr noundef @.str.166, ptr noundef %112, ptr noundef %113) #7
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.primordial, ptr %115, i32 0, i32 105
  %117 = load i16, ptr %116, align 8, !tbaa !27
  %118 = sext i16 %117 to i32
  %119 = icmp sgt i32 %118, 0
  br i1 %119, label %120, label %123

120:                                              ; preds = %108
  %121 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.167, ptr noundef %121)
  br label %123

123:                                              ; preds = %120, %108
  %124 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %125 = call noalias ptr @popen(ptr noundef %124, ptr noundef @.str.168)
  store ptr %125, ptr %9, align 8, !tbaa !5
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = icmp eq ptr %126, null
  br i1 %127, label %128, label %136

128:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 2048, ptr %21) #7
  %129 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %129, ptr noundef @.str.169)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %22) #7
  %130 = getelementptr inbounds [2048 x i8], ptr %22, i64 0, i64 0
  %131 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %130, ptr noundef @.str.1, ptr noundef @.str.170, ptr noundef %131)
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.primordial, ptr %132, i32 0, i32 106
  %134 = getelementptr inbounds [2048 x i8], ptr %133, i64 0, i64 0
  %135 = getelementptr inbounds [2048 x i8], ptr %22, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %134, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3310, ptr noundef %135)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %21) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

136:                                              ; preds = %123
  br label %137

137:                                              ; preds = %270, %136
  %138 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = call ptr @fgets(ptr noundef %138, i32 noundef 8191, ptr noundef %139)
  %141 = icmp ne ptr %140, null
  br i1 %141, label %142, label %271

142:                                              ; preds = %137
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.perturbs, ptr %143, i32 0, i32 4
  %145 = load i16, ptr %144, align 8, !tbaa !11
  %146 = sext i16 %145 to i32
  %147 = icmp eq i32 %146, 1
  br i1 %147, label %148, label %151

148:                                              ; preds = %142
  %149 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
  %150 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %149, ptr noundef @.str.171, ptr noundef %16, ptr noundef %17, ptr noundef %18) #7
  br label %154

151:                                              ; preds = %142
  %152 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
  %153 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %152, ptr noundef @.str.172, ptr noundef %16, ptr noundef %17) #7
  br label %154

154:                                              ; preds = %151, %148
  %155 = load i32, ptr %11, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  %157 = load i32, ptr %10, align 4, !tbaa !9
  %158 = icmp sgt i32 %156, %157
  br i1 %158, label %159, label %220

159:                                              ; preds = %154
  %160 = load i32, ptr %10, align 4, !tbaa !9
  %161 = mul nsw i32 %160, 2
  store i32 %161, ptr %10, align 4, !tbaa !9
  %162 = load ptr, ptr %12, align 8, !tbaa !5
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = mul i64 %164, 8
  %166 = call ptr @realloc(ptr noundef %162, i64 noundef %165) #10
  store ptr %166, ptr %15, align 8, !tbaa !5
  %167 = load ptr, ptr %15, align 8, !tbaa !5
  %168 = icmp eq ptr %167, null
  br i1 %168, label %169, label %177

169:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 2048, ptr %24) #7
  %170 = getelementptr inbounds [2048 x i8], ptr %24, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %170, ptr noundef @.str.173)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %25) #7
  %171 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  %172 = getelementptr inbounds [2048 x i8], ptr %24, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %171, ptr noundef @.str.1, ptr noundef @.str.174, ptr noundef %172)
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.primordial, ptr %173, i32 0, i32 106
  %175 = getelementptr inbounds [2048 x i8], ptr %174, i64 0, i64 0
  %176 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %175, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3326, ptr noundef %176)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %24) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

177:                                              ; preds = %159
  %178 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %178, ptr %12, align 8, !tbaa !5
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  %180 = load i32, ptr %10, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = mul i64 %181, 8
  %183 = call ptr @realloc(ptr noundef %179, i64 noundef %182) #10
  store ptr %183, ptr %15, align 8, !tbaa !5
  %184 = load ptr, ptr %15, align 8, !tbaa !5
  %185 = icmp eq ptr %184, null
  br i1 %185, label %186, label %194

186:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 2048, ptr %26) #7
  %187 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %187, ptr noundef @.str.173)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #7
  %188 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  %189 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %188, ptr noundef @.str.1, ptr noundef @.str.174, ptr noundef %189)
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.primordial, ptr %190, i32 0, i32 106
  %192 = getelementptr inbounds [2048 x i8], ptr %191, i64 0, i64 0
  %193 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %192, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3331, ptr noundef %193)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %26) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

194:                                              ; preds = %177
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %195, ptr %13, align 8, !tbaa !5
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.perturbs, ptr %196, i32 0, i32 4
  %198 = load i16, ptr %197, align 8, !tbaa !11
  %199 = sext i16 %198 to i32
  %200 = icmp eq i32 %199, 1
  br i1 %200, label %201, label %219

201:                                              ; preds = %194
  %202 = load ptr, ptr %14, align 8, !tbaa !5
  %203 = load i32, ptr %10, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = mul i64 %204, 8
  %206 = call ptr @realloc(ptr noundef %202, i64 noundef %205) #10
  store ptr %206, ptr %15, align 8, !tbaa !5
  %207 = load ptr, ptr %15, align 8, !tbaa !5
  %208 = icmp eq ptr %207, null
  br i1 %208, label %209, label %217

209:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 2048, ptr %28) #7
  %210 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %210, ptr noundef @.str.173)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #7
  %211 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %212 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %211, ptr noundef @.str.1, ptr noundef @.str.174, ptr noundef %212)
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.primordial, ptr %213, i32 0, i32 106
  %215 = getelementptr inbounds [2048 x i8], ptr %214, i64 0, i64 0
  %216 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %215, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3337, ptr noundef %216)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %28) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

217:                                              ; preds = %201
  %218 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %218, ptr %14, align 8, !tbaa !5
  br label %219

219:                                              ; preds = %217, %194
  br label %220

220:                                              ; preds = %219, %154
  %221 = load double, ptr %16, align 8, !tbaa !28
  %222 = load ptr, ptr %12, align 8, !tbaa !5
  %223 = load i32, ptr %11, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds double, ptr %222, i64 %224
  store double %221, ptr %225, align 8, !tbaa !28
  %226 = load double, ptr %17, align 8, !tbaa !28
  %227 = load ptr, ptr %13, align 8, !tbaa !5
  %228 = load i32, ptr %11, align 4, !tbaa !9
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds double, ptr %227, i64 %229
  store double %226, ptr %230, align 8, !tbaa !28
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.perturbs, ptr %231, i32 0, i32 4
  %233 = load i16, ptr %232, align 8, !tbaa !11
  %234 = sext i16 %233 to i32
  %235 = icmp eq i32 %234, 1
  br i1 %235, label %236, label %242

236:                                              ; preds = %220
  %237 = load double, ptr %18, align 8, !tbaa !28
  %238 = load ptr, ptr %14, align 8, !tbaa !5
  %239 = load i32, ptr %11, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds double, ptr %238, i64 %240
  store double %237, ptr %241, align 8, !tbaa !28
  br label %242

242:                                              ; preds = %236, %220
  %243 = load i32, ptr %11, align 4, !tbaa !9
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %11, align 4, !tbaa !9
  %245 = load i32, ptr %11, align 4, !tbaa !9
  %246 = icmp sgt i32 %245, 1
  br i1 %246, label %247, label %270

247:                                              ; preds = %242
  %248 = load ptr, ptr %12, align 8, !tbaa !5
  %249 = load i32, ptr %11, align 4, !tbaa !9
  %250 = sub nsw i32 %249, 1
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds double, ptr %248, i64 %251
  %253 = load double, ptr %252, align 8, !tbaa !28
  %254 = load ptr, ptr %12, align 8, !tbaa !5
  %255 = load i32, ptr %11, align 4, !tbaa !9
  %256 = sub nsw i32 %255, 2
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds double, ptr %254, i64 %257
  %259 = load double, ptr %258, align 8, !tbaa !28
  %260 = fcmp ole double %253, %259
  br i1 %260, label %261, label %269

261:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 2048, ptr %30) #7
  %262 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %262, ptr noundef @.str.175)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #7
  %263 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %264 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %263, ptr noundef @.str.1, ptr noundef @.str.176, ptr noundef %264)
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.primordial, ptr %265, i32 0, i32 106
  %267 = getelementptr inbounds [2048 x i8], ptr %266, i64 0, i64 0
  %268 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %267, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3353, ptr noundef %268)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %30) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

269:                                              ; preds = %247
  br label %270

270:                                              ; preds = %269, %242
  br label %137, !llvm.loop !29

271:                                              ; preds = %137
  %272 = load ptr, ptr %9, align 8, !tbaa !5
  %273 = call i32 @pclose(ptr noundef %272)
  store i32 %273, ptr %19, align 4, !tbaa !9
  %274 = load i32, ptr %19, align 4, !tbaa !9
  %275 = sitofp i32 %274 to double
  %276 = fcmp une double %275, 0.000000e+00
  br i1 %276, label %277, label %285

277:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #7
  %278 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %278, ptr noundef @.str.177)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #7
  %279 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %280 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %279, ptr noundef @.str.1, ptr noundef @.str.178, ptr noundef %280)
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.primordial, ptr %281, i32 0, i32 106
  %283 = getelementptr inbounds [2048 x i8], ptr %282, i64 0, i64 0
  %284 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %283, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3361, ptr noundef %284)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

285:                                              ; preds = %271
  %286 = load ptr, ptr %12, align 8, !tbaa !5
  %287 = getelementptr inbounds double, ptr %286, i64 1
  %288 = load double, ptr %287, align 8, !tbaa !28
  %289 = load ptr, ptr %4, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.perturbs, ptr %289, i32 0, i32 156
  %291 = load double, ptr %290, align 8, !tbaa !31
  %292 = fcmp ogt double %288, %291
  br i1 %292, label %293, label %304

293:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 2048, ptr %34) #7
  %294 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.perturbs, ptr %295, i32 0, i32 156
  %297 = load double, ptr %296, align 8, !tbaa !31
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %294, ptr noundef @.str.179, double noundef %297)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %35) #7
  %298 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  %299 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %298, ptr noundef @.str.1, ptr noundef @.str.180, ptr noundef %299)
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.primordial, ptr %300, i32 0, i32 106
  %302 = getelementptr inbounds [2048 x i8], ptr %301, i64 0, i64 0
  %303 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %302, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3367, ptr noundef %303)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %34) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

304:                                              ; preds = %285
  %305 = load ptr, ptr %12, align 8, !tbaa !5
  %306 = load i32, ptr %11, align 4, !tbaa !9
  %307 = sub nsw i32 %306, 2
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds double, ptr %305, i64 %308
  %310 = load double, ptr %309, align 8, !tbaa !28
  %311 = load ptr, ptr %4, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.perturbs, ptr %311, i32 0, i32 157
  %313 = load double, ptr %312, align 8, !tbaa !32
  %314 = fcmp olt double %310, %313
  br i1 %314, label %315, label %326

315:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 2048, ptr %36) #7
  %316 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.perturbs, ptr %317, i32 0, i32 157
  %319 = load double, ptr %318, align 8, !tbaa !32
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %316, ptr noundef @.str.181, double noundef %319)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %37) #7
  %320 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  %321 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %320, ptr noundef @.str.1, ptr noundef @.str.182, ptr noundef %321)
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.primordial, ptr %322, i32 0, i32 106
  %324 = getelementptr inbounds [2048 x i8], ptr %323, i64 0, i64 0
  %325 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %324, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3372, ptr noundef %325)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %36) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

326:                                              ; preds = %304
  %327 = load i32, ptr %11, align 4, !tbaa !9
  %328 = load ptr, ptr %5, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.primordial, ptr %328, i32 0, i32 80
  store i32 %327, ptr %329, align 8, !tbaa !33
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.primordial, ptr %330, i32 0, i32 81
  %332 = load ptr, ptr %331, align 8, !tbaa !34
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.primordial, ptr %333, i32 0, i32 80
  %335 = load i32, ptr %334, align 8, !tbaa !33
  %336 = sext i32 %335 to i64
  %337 = mul i64 %336, 8
  %338 = call ptr @realloc(ptr noundef %332, i64 noundef %337) #10
  %339 = load ptr, ptr %5, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.primordial, ptr %339, i32 0, i32 81
  store ptr %338, ptr %340, align 8, !tbaa !34
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.primordial, ptr %341, i32 0, i32 81
  %343 = load ptr, ptr %342, align 8, !tbaa !34
  %344 = icmp eq ptr %343, null
  br i1 %344, label %345, label %358

345:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.primordial, ptr %346, i32 0, i32 80
  %348 = load i32, ptr %347, align 8, !tbaa !33
  %349 = sext i32 %348 to i64
  %350 = mul i64 %349, 8
  %351 = trunc i64 %350 to i32
  store i32 %351, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %39) #7
  %352 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  %353 = load i32, ptr %38, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %352, ptr noundef @.str.52, ptr noundef @.str.63, i32 noundef %353)
  %354 = load ptr, ptr %5, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.primordial, ptr %354, i32 0, i32 106
  %356 = getelementptr inbounds [2048 x i8], ptr %355, i64 0, i64 0
  %357 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %356, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3380, ptr noundef %357)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %39) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %665

358:                                              ; preds = %326
  %359 = load ptr, ptr %5, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.primordial, ptr %359, i32 0, i32 82
  %361 = load ptr, ptr %360, align 8, !tbaa !35
  %362 = load ptr, ptr %4, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.perturbs, ptr %362, i32 0, i32 56
  %364 = load i32, ptr %363, align 4, !tbaa !36
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds ptr, ptr %361, i64 %365
  %367 = load ptr, ptr %366, align 8, !tbaa !5
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.primordial, ptr %368, i32 0, i32 80
  %370 = load i32, ptr %369, align 8, !tbaa !33
  %371 = sext i32 %370 to i64
  %372 = mul i64 %371, 8
  %373 = call ptr @realloc(ptr noundef %367, i64 noundef %372) #10
  %374 = load ptr, ptr %5, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.primordial, ptr %374, i32 0, i32 82
  %376 = load ptr, ptr %375, align 8, !tbaa !35
  %377 = load ptr, ptr %4, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.perturbs, ptr %377, i32 0, i32 56
  %379 = load i32, ptr %378, align 4, !tbaa !36
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds ptr, ptr %376, i64 %380
  store ptr %373, ptr %381, align 8, !tbaa !5
  %382 = load ptr, ptr %5, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.primordial, ptr %382, i32 0, i32 82
  %384 = load ptr, ptr %383, align 8, !tbaa !35
  %385 = load ptr, ptr %4, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.perturbs, ptr %385, i32 0, i32 56
  %387 = load i32, ptr %386, align 4, !tbaa !36
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds ptr, ptr %384, i64 %388
  %390 = load ptr, ptr %389, align 8, !tbaa !5
  %391 = icmp eq ptr %390, null
  br i1 %391, label %392, label %405

392:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %393 = load ptr, ptr %5, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.primordial, ptr %393, i32 0, i32 80
  %395 = load i32, ptr %394, align 8, !tbaa !33
  %396 = sext i32 %395 to i64
  %397 = mul i64 %396, 8
  %398 = trunc i64 %397 to i32
  store i32 %398, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %41) #7
  %399 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  %400 = load i32, ptr %40, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %399, ptr noundef @.str.52, ptr noundef @.str.183, i32 noundef %400)
  %401 = load ptr, ptr %5, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.primordial, ptr %401, i32 0, i32 106
  %403 = getelementptr inbounds [2048 x i8], ptr %402, i64 0, i64 0
  %404 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %403, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3384, ptr noundef %404)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %41) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %665

405:                                              ; preds = %358
  %406 = load ptr, ptr %5, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.primordial, ptr %406, i32 0, i32 83
  %408 = load ptr, ptr %407, align 8, !tbaa !37
  %409 = load ptr, ptr %4, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.perturbs, ptr %409, i32 0, i32 56
  %411 = load i32, ptr %410, align 4, !tbaa !36
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds ptr, ptr %408, i64 %412
  %414 = load ptr, ptr %413, align 8, !tbaa !5
  %415 = load ptr, ptr %5, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.primordial, ptr %415, i32 0, i32 80
  %417 = load i32, ptr %416, align 8, !tbaa !33
  %418 = sext i32 %417 to i64
  %419 = mul i64 %418, 8
  %420 = call ptr @realloc(ptr noundef %414, i64 noundef %419) #10
  %421 = load ptr, ptr %5, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.primordial, ptr %421, i32 0, i32 83
  %423 = load ptr, ptr %422, align 8, !tbaa !37
  %424 = load ptr, ptr %4, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.perturbs, ptr %424, i32 0, i32 56
  %426 = load i32, ptr %425, align 4, !tbaa !36
  %427 = sext i32 %426 to i64
  %428 = getelementptr inbounds ptr, ptr %423, i64 %427
  store ptr %420, ptr %428, align 8, !tbaa !5
  %429 = load ptr, ptr %5, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.primordial, ptr %429, i32 0, i32 83
  %431 = load ptr, ptr %430, align 8, !tbaa !37
  %432 = load ptr, ptr %4, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.perturbs, ptr %432, i32 0, i32 56
  %434 = load i32, ptr %433, align 4, !tbaa !36
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds ptr, ptr %431, i64 %435
  %437 = load ptr, ptr %436, align 8, !tbaa !5
  %438 = icmp eq ptr %437, null
  br i1 %438, label %439, label %452

439:                                              ; preds = %405
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %440 = load ptr, ptr %5, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.primordial, ptr %440, i32 0, i32 80
  %442 = load i32, ptr %441, align 8, !tbaa !33
  %443 = sext i32 %442 to i64
  %444 = mul i64 %443, 8
  %445 = trunc i64 %444 to i32
  store i32 %445, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %43) #7
  %446 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  %447 = load i32, ptr %42, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %446, ptr noundef @.str.52, ptr noundef @.str.184, i32 noundef %447)
  %448 = load ptr, ptr %5, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.primordial, ptr %448, i32 0, i32 106
  %450 = getelementptr inbounds [2048 x i8], ptr %449, i64 0, i64 0
  %451 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %450, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3388, ptr noundef %451)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %43) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %665

452:                                              ; preds = %405
  %453 = load ptr, ptr %4, align 8, !tbaa !5
  %454 = getelementptr inbounds %struct.perturbs, ptr %453, i32 0, i32 4
  %455 = load i16, ptr %454, align 8, !tbaa !11
  %456 = sext i16 %455 to i32
  %457 = icmp eq i32 %456, 1
  br i1 %457, label %458, label %553

458:                                              ; preds = %452
  %459 = load ptr, ptr %5, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.primordial, ptr %459, i32 0, i32 82
  %461 = load ptr, ptr %460, align 8, !tbaa !35
  %462 = load ptr, ptr %4, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.perturbs, ptr %462, i32 0, i32 57
  %464 = load i32, ptr %463, align 8, !tbaa !38
  %465 = sext i32 %464 to i64
  %466 = getelementptr inbounds ptr, ptr %461, i64 %465
  %467 = load ptr, ptr %466, align 8, !tbaa !5
  %468 = load ptr, ptr %5, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.primordial, ptr %468, i32 0, i32 80
  %470 = load i32, ptr %469, align 8, !tbaa !33
  %471 = sext i32 %470 to i64
  %472 = mul i64 %471, 8
  %473 = call ptr @realloc(ptr noundef %467, i64 noundef %472) #10
  %474 = load ptr, ptr %5, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.primordial, ptr %474, i32 0, i32 82
  %476 = load ptr, ptr %475, align 8, !tbaa !35
  %477 = load ptr, ptr %4, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.perturbs, ptr %477, i32 0, i32 57
  %479 = load i32, ptr %478, align 8, !tbaa !38
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds ptr, ptr %476, i64 %480
  store ptr %473, ptr %481, align 8, !tbaa !5
  %482 = load ptr, ptr %5, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.primordial, ptr %482, i32 0, i32 82
  %484 = load ptr, ptr %483, align 8, !tbaa !35
  %485 = load ptr, ptr %4, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.perturbs, ptr %485, i32 0, i32 57
  %487 = load i32, ptr %486, align 8, !tbaa !38
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds ptr, ptr %484, i64 %488
  %490 = load ptr, ptr %489, align 8, !tbaa !5
  %491 = icmp eq ptr %490, null
  br i1 %491, label %492, label %505

492:                                              ; preds = %458
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  %493 = load ptr, ptr %5, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.primordial, ptr %493, i32 0, i32 80
  %495 = load i32, ptr %494, align 8, !tbaa !33
  %496 = sext i32 %495 to i64
  %497 = mul i64 %496, 8
  %498 = trunc i64 %497 to i32
  store i32 %498, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %45) #7
  %499 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  %500 = load i32, ptr %44, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %499, ptr noundef @.str.52, ptr noundef @.str.185, i32 noundef %500)
  %501 = load ptr, ptr %5, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.primordial, ptr %501, i32 0, i32 106
  %503 = getelementptr inbounds [2048 x i8], ptr %502, i64 0, i64 0
  %504 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %503, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3393, ptr noundef %504)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %45) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %665

505:                                              ; preds = %458
  %506 = load ptr, ptr %5, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.primordial, ptr %506, i32 0, i32 83
  %508 = load ptr, ptr %507, align 8, !tbaa !37
  %509 = load ptr, ptr %4, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.perturbs, ptr %509, i32 0, i32 57
  %511 = load i32, ptr %510, align 8, !tbaa !38
  %512 = sext i32 %511 to i64
  %513 = getelementptr inbounds ptr, ptr %508, i64 %512
  %514 = load ptr, ptr %513, align 8, !tbaa !5
  %515 = load ptr, ptr %5, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.primordial, ptr %515, i32 0, i32 80
  %517 = load i32, ptr %516, align 8, !tbaa !33
  %518 = sext i32 %517 to i64
  %519 = mul i64 %518, 8
  %520 = call ptr @realloc(ptr noundef %514, i64 noundef %519) #10
  %521 = load ptr, ptr %5, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.primordial, ptr %521, i32 0, i32 83
  %523 = load ptr, ptr %522, align 8, !tbaa !37
  %524 = load ptr, ptr %4, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.perturbs, ptr %524, i32 0, i32 57
  %526 = load i32, ptr %525, align 8, !tbaa !38
  %527 = sext i32 %526 to i64
  %528 = getelementptr inbounds ptr, ptr %523, i64 %527
  store ptr %520, ptr %528, align 8, !tbaa !5
  %529 = load ptr, ptr %5, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.primordial, ptr %529, i32 0, i32 83
  %531 = load ptr, ptr %530, align 8, !tbaa !37
  %532 = load ptr, ptr %4, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.perturbs, ptr %532, i32 0, i32 57
  %534 = load i32, ptr %533, align 8, !tbaa !38
  %535 = sext i32 %534 to i64
  %536 = getelementptr inbounds ptr, ptr %531, i64 %535
  %537 = load ptr, ptr %536, align 8, !tbaa !5
  %538 = icmp eq ptr %537, null
  br i1 %538, label %539, label %552

539:                                              ; preds = %505
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %540 = load ptr, ptr %5, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.primordial, ptr %540, i32 0, i32 80
  %542 = load i32, ptr %541, align 8, !tbaa !33
  %543 = sext i32 %542 to i64
  %544 = mul i64 %543, 8
  %545 = trunc i64 %544 to i32
  store i32 %545, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %47) #7
  %546 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  %547 = load i32, ptr %46, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %546, ptr noundef @.str.52, ptr noundef @.str.186, i32 noundef %547)
  %548 = load ptr, ptr %5, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.primordial, ptr %548, i32 0, i32 106
  %550 = getelementptr inbounds [2048 x i8], ptr %549, i64 0, i64 0
  %551 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %550, ptr noundef @.str.3, ptr noundef @__func__.primordial_external_spectrum_init, i32 noundef 3397, ptr noundef %551)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %47) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %665

552:                                              ; preds = %505
  br label %553

553:                                              ; preds = %552, %452
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %554

554:                                              ; preds = %616, %553
  %555 = load i32, ptr %20, align 4, !tbaa !9
  %556 = load ptr, ptr %5, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.primordial, ptr %556, i32 0, i32 80
  %558 = load i32, ptr %557, align 8, !tbaa !33
  %559 = icmp slt i32 %555, %558
  br i1 %559, label %560, label %619

560:                                              ; preds = %554
  %561 = load ptr, ptr %12, align 8, !tbaa !5
  %562 = load i32, ptr %20, align 4, !tbaa !9
  %563 = sext i32 %562 to i64
  %564 = getelementptr inbounds double, ptr %561, i64 %563
  %565 = load double, ptr %564, align 8, !tbaa !28
  %566 = call double @log(double noundef %565) #7
  %567 = load ptr, ptr %5, align 8, !tbaa !5
  %568 = getelementptr inbounds %struct.primordial, ptr %567, i32 0, i32 81
  %569 = load ptr, ptr %568, align 8, !tbaa !34
  %570 = load i32, ptr %20, align 4, !tbaa !9
  %571 = sext i32 %570 to i64
  %572 = getelementptr inbounds double, ptr %569, i64 %571
  store double %566, ptr %572, align 8, !tbaa !28
  %573 = load ptr, ptr %13, align 8, !tbaa !5
  %574 = load i32, ptr %20, align 4, !tbaa !9
  %575 = sext i32 %574 to i64
  %576 = getelementptr inbounds double, ptr %573, i64 %575
  %577 = load double, ptr %576, align 8, !tbaa !28
  %578 = call double @log(double noundef %577) #7
  %579 = load ptr, ptr %5, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.primordial, ptr %579, i32 0, i32 82
  %581 = load ptr, ptr %580, align 8, !tbaa !35
  %582 = load ptr, ptr %4, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.perturbs, ptr %582, i32 0, i32 56
  %584 = load i32, ptr %583, align 4, !tbaa !36
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds ptr, ptr %581, i64 %585
  %587 = load ptr, ptr %586, align 8, !tbaa !5
  %588 = load i32, ptr %20, align 4, !tbaa !9
  %589 = sext i32 %588 to i64
  %590 = getelementptr inbounds double, ptr %587, i64 %589
  store double %578, ptr %590, align 8, !tbaa !28
  %591 = load ptr, ptr %4, align 8, !tbaa !5
  %592 = getelementptr inbounds %struct.perturbs, ptr %591, i32 0, i32 4
  %593 = load i16, ptr %592, align 8, !tbaa !11
  %594 = sext i16 %593 to i32
  %595 = icmp eq i32 %594, 1
  br i1 %595, label %596, label %615

596:                                              ; preds = %560
  %597 = load ptr, ptr %14, align 8, !tbaa !5
  %598 = load i32, ptr %20, align 4, !tbaa !9
  %599 = sext i32 %598 to i64
  %600 = getelementptr inbounds double, ptr %597, i64 %599
  %601 = load double, ptr %600, align 8, !tbaa !28
  %602 = call double @log(double noundef %601) #7
  %603 = load ptr, ptr %5, align 8, !tbaa !5
  %604 = getelementptr inbounds %struct.primordial, ptr %603, i32 0, i32 82
  %605 = load ptr, ptr %604, align 8, !tbaa !35
  %606 = load ptr, ptr %4, align 8, !tbaa !5
  %607 = getelementptr inbounds %struct.perturbs, ptr %606, i32 0, i32 57
  %608 = load i32, ptr %607, align 8, !tbaa !38
  %609 = sext i32 %608 to i64
  %610 = getelementptr inbounds ptr, ptr %605, i64 %609
  %611 = load ptr, ptr %610, align 8, !tbaa !5
  %612 = load i32, ptr %20, align 4, !tbaa !9
  %613 = sext i32 %612 to i64
  %614 = getelementptr inbounds double, ptr %611, i64 %613
  store double %602, ptr %614, align 8, !tbaa !28
  br label %615

615:                                              ; preds = %596, %560
  br label %616

616:                                              ; preds = %615
  %617 = load i32, ptr %20, align 4, !tbaa !9
  %618 = add nsw i32 %617, 1
  store i32 %618, ptr %20, align 4, !tbaa !9
  br label %554, !llvm.loop !39

619:                                              ; preds = %554
  %620 = load ptr, ptr %12, align 8, !tbaa !5
  call void @free(ptr noundef %620) #7
  %621 = load ptr, ptr %13, align 8, !tbaa !5
  call void @free(ptr noundef %621) #7
  %622 = load ptr, ptr %4, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.perturbs, ptr %622, i32 0, i32 4
  %624 = load i16, ptr %623, align 8, !tbaa !11
  %625 = sext i16 %624 to i32
  %626 = icmp eq i32 %625, 1
  br i1 %626, label %627, label %629

627:                                              ; preds = %619
  %628 = load ptr, ptr %14, align 8, !tbaa !5
  call void @free(ptr noundef %628) #7
  br label %629

629:                                              ; preds = %627, %619
  %630 = load ptr, ptr %5, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.primordial, ptr %630, i32 0, i32 84
  %632 = load ptr, ptr %631, align 8, !tbaa !40
  %633 = load ptr, ptr %4, align 8, !tbaa !5
  %634 = getelementptr inbounds %struct.perturbs, ptr %633, i32 0, i32 56
  %635 = load i32, ptr %634, align 4, !tbaa !36
  %636 = sext i32 %635 to i64
  %637 = getelementptr inbounds ptr, ptr %632, i64 %636
  %638 = load ptr, ptr %637, align 8, !tbaa !5
  %639 = load ptr, ptr %4, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.perturbs, ptr %639, i32 0, i32 60
  %641 = load i32, ptr %640, align 4, !tbaa !41
  %642 = sext i32 %641 to i64
  %643 = getelementptr inbounds i16, ptr %638, i64 %642
  store i16 1, ptr %643, align 2, !tbaa !42
  %644 = load ptr, ptr %4, align 8, !tbaa !5
  %645 = getelementptr inbounds %struct.perturbs, ptr %644, i32 0, i32 4
  %646 = load i16, ptr %645, align 8, !tbaa !11
  %647 = sext i16 %646 to i32
  %648 = icmp eq i32 %647, 1
  br i1 %648, label %649, label %664

649:                                              ; preds = %629
  %650 = load ptr, ptr %5, align 8, !tbaa !5
  %651 = getelementptr inbounds %struct.primordial, ptr %650, i32 0, i32 84
  %652 = load ptr, ptr %651, align 8, !tbaa !40
  %653 = load ptr, ptr %4, align 8, !tbaa !5
  %654 = getelementptr inbounds %struct.perturbs, ptr %653, i32 0, i32 57
  %655 = load i32, ptr %654, align 8, !tbaa !38
  %656 = sext i32 %655 to i64
  %657 = getelementptr inbounds ptr, ptr %652, i64 %656
  %658 = load ptr, ptr %657, align 8, !tbaa !5
  %659 = load ptr, ptr %4, align 8, !tbaa !5
  %660 = getelementptr inbounds %struct.perturbs, ptr %659, i32 0, i32 65
  %661 = load i32, ptr %660, align 8, !tbaa !43
  %662 = sext i32 %661 to i64
  %663 = getelementptr inbounds i16, ptr %658, i64 %662
  store i16 1, ptr %663, align 2, !tbaa !42
  br label %664

664:                                              ; preds = %649, %629
  store i32 0, ptr %3, align 4
  store i32 1, ptr %23, align 4
  br label %665

665:                                              ; preds = %664, %539, %492, %439, %392, %345, %315, %293, %277, %261, %209, %186, %169, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8192, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr %6) #7
  %666 = load i32, ptr %3, align 4
  ret i32 %666
}

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #5

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

declare noalias ptr @popen(ptr noundef, ptr noundef) #1

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

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

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #6

declare i32 @pclose(ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"perturbs", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !13, i64 12, !13, i64 14, !13, i64 16, !13, i64 18, !13, i64 20, !10, i64 24, !13, i64 28, !13, i64 30, !13, i64 32, !13, i64 34, !13, i64 36, !13, i64 38, !13, i64 40, !13, i64 42, !13, i64 44, !13, i64 46, !13, i64 48, !13, i64 50, !13, i64 52, !13, i64 54, !13, i64 56, !13, i64 58, !13, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !14, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 896, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !14, i64 1720, !10, i64 1728, !10, i64 1732, !7, i64 1736, !14, i64 1976, !14, i64 1984, !14, i64 1992, !6, i64 2000, !6, i64 2008, !10, i64 2016, !13, i64 2020, !13, i64 2022, !10, i64 2024, !10, i64 2028, !10, i64 2032, !10, i64 2036, !10, i64 2040, !10, i64 2044, !10, i64 2048, !10, i64 2052, !10, i64 2056, !10, i64 2060, !10, i64 2064, !6, i64 2072, !13, i64 2080, !13, i64 2082, !13, i64 2084, !13, i64 2086, !13, i64 2088, !13, i64 2090, !13, i64 2092, !13, i64 2094, !13, i64 2096, !13, i64 2098, !13, i64 2100, !13, i64 2102, !13, i64 2104, !13, i64 2106, !13, i64 2108, !13, i64 2110, !13, i64 2112, !13, i64 2114, !13, i64 2116, !13, i64 2118, !13, i64 2120, !13, i64 2122, !13, i64 2124, !13, i64 2126, !13, i64 2128, !13, i64 2130, !13, i64 2132, !13, i64 2134, !13, i64 2136, !13, i64 2138, !13, i64 2140, !13, i64 2142, !13, i64 2144, !13, i64 2146, !13, i64 2148, !13, i64 2150, !13, i64 2152, !13, i64 2154, !13, i64 2156, !13, i64 2158, !10, i64 2160, !10, i64 2164, !10, i64 2168, !10, i64 2172, !10, i64 2176, !10, i64 2180, !10, i64 2184, !10, i64 2188, !10, i64 2192, !10, i64 2196, !10, i64 2200, !10, i64 2204, !10, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !10, i64 2284, !10, i64 2288, !10, i64 2292, !10, i64 2296, !10, i64 2300, !10, i64 2304, !10, i64 2308, !10, i64 2312, !10, i64 2316, !10, i64 2320, !10, i64 2324, !10, i64 2328, !10, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !14, i64 2376, !14, i64 2384, !6, i64 2392, !10, i64 2400, !14, i64 2408, !14, i64 2416, !14, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !10, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !10, i64 26512, !10, i64 26516, !10, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !13, i64 27608, !7, i64 27610}
!13 = !{!"short", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !6, i64 528}
!16 = !{!"primordial", !14, i64 0, !10, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !14, i64 336, !14, i64 344, !14, i64 352, !14, i64 360, !14, i64 368, !14, i64 376, !14, i64 384, !14, i64 392, !14, i64 400, !10, i64 408, !14, i64 416, !14, i64 424, !14, i64 432, !14, i64 440, !14, i64 448, !14, i64 456, !14, i64 464, !14, i64 472, !14, i64 480, !14, i64 488, !14, i64 496, !10, i64 504, !14, i64 512, !10, i64 520, !6, i64 528, !14, i64 536, !14, i64 544, !14, i64 552, !14, i64 560, !14, i64 568, !14, i64 576, !14, i64 584, !14, i64 592, !14, i64 600, !14, i64 608, !10, i64 616, !6, i64 624, !6, i64 632, !10, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, 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, !14, i64 760, !14, i64 768, !14, i64 776, !14, i64 784, !13, i64 792, !7, i64 794}
!17 = !{!16, !14, i64 536}
!18 = !{!16, !14, i64 544}
!19 = !{!16, !14, i64 552}
!20 = !{!16, !14, i64 560}
!21 = !{!16, !14, i64 568}
!22 = !{!16, !14, i64 576}
!23 = !{!16, !14, i64 584}
!24 = !{!16, !14, i64 592}
!25 = !{!16, !14, i64 600}
!26 = !{!16, !14, i64 608}
!27 = !{!16, !13, i64 792}
!28 = !{!14, !14, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!12, !14, i64 2376}
!32 = !{!12, !14, i64 2384}
!33 = !{!16, !10, i64 640}
!34 = !{!16, !6, i64 648}
!35 = !{!16, !6, i64 656}
!36 = !{!12, !10, i64 2028}
!37 = !{!16, !6, i64 664}
!38 = !{!12, !10, i64 2032}
!39 = distinct !{!39, !30}
!40 = !{!16, !6, i64 672}
!41 = !{!12, !10, i64 2044}
!42 = !{!13, !13, i64 0}
!43 = !{!12, !10, i64 2064}


; 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.52 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [16 x i8], align 1
@__func__.primordial_external_spectrum_init = external hidden unnamed_addr constant [34 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [152 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [151 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

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

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

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

35:                                               ; preds = %2
  %36 = tail call noalias dereferenceable_or_null(800) ptr @malloc(i64 noundef 800) #10
  br label %37

37:                                               ; preds = %35, %2
  %.0152 = phi ptr [ %36, %35 ], [ null, %2 ]
  %38 = getelementptr inbounds i8, ptr %1, i64 528
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str.163, ptr noundef nonnull dereferenceable(1) %39, i64 noundef 4) #11
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %44

42:                                               ; preds = %37
  %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.164) #9
  br label %66

44:                                               ; preds = %37
  %45 = getelementptr inbounds i8, ptr %1, i64 536
  %46 = load double, ptr %45, align 8, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %1, i64 544
  %48 = load double, ptr %47, align 8, !tbaa !16
  %49 = getelementptr inbounds i8, ptr %1, i64 552
  %50 = load double, ptr %49, align 8, !tbaa !17
  %51 = getelementptr inbounds i8, ptr %1, i64 560
  %52 = load double, ptr %51, align 8, !tbaa !18
  %53 = getelementptr inbounds i8, ptr %1, i64 568
  %54 = load double, ptr %53, align 8, !tbaa !19
  %55 = getelementptr inbounds i8, ptr %1, i64 576
  %56 = load double, ptr %55, align 8, !tbaa !20
  %57 = getelementptr inbounds i8, ptr %1, i64 584
  %58 = load double, ptr %57, align 8, !tbaa !21
  %59 = getelementptr inbounds i8, ptr %1, i64 592
  %60 = load double, ptr %59, align 8, !tbaa !22
  %61 = getelementptr inbounds i8, ptr %1, i64 600
  %62 = load double, ptr %61, align 8, !tbaa !23
  %63 = getelementptr inbounds i8, ptr %1, i64 608
  %64 = load double, ptr %63, align 8, !tbaa !24
  %65 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.165, double noundef %46, double noundef %48, double noundef %50, double noundef %52, double noundef %54, double noundef %56, double noundef %58, double noundef %60, double noundef %62, double noundef %64) #9
  br label %66

66:                                               ; preds = %44, %42
  %67 = load ptr, ptr %38, align 8, !tbaa !13
  %68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.166, ptr noundef %67, ptr noundef nonnull %3) #9
  %69 = getelementptr inbounds i8, ptr %1, i64 792
  %70 = load i16, ptr %69, align 8, !tbaa !25
  %71 = icmp sgt i16 %70, 0
  br i1 %71, label %72, label %74

72:                                               ; preds = %66
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.167, ptr noundef nonnull %5)
  br label %74

74:                                               ; preds = %72, %66
  %75 = call noalias ptr @popen(ptr noundef nonnull %5, ptr noundef nonnull @.str.168)
  %76 = icmp eq ptr %75, null
  br i1 %76, label %91, label %.preheader

.preheader:                                       ; preds = %74
  %77 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef 8191, ptr noundef nonnull %75)
  %.not177 = icmp eq ptr %77, null
  br i1 %.not177, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %78 = load i16, ptr %32, align 8, !tbaa !5
  %79 = icmp eq i16 %78, 1
  br i1 %79, label %82, label %80

80:                                               ; preds = %.lr.ph.preheader
  %81 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %4, ptr noundef nonnull @.str.172, ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  br label %._crit_edge210

82:                                               ; preds = %.lr.ph.preheader
  %83 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %4, ptr noundef nonnull @.str.171, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #9
  br label %._crit_edge210

._crit_edge210:                                   ; preds = %82, %80
  %.pre = load i16, ptr %32, align 8, !tbaa !5
  %84 = load double, ptr %6, align 8, !tbaa !26
  store double %84, ptr %30, align 8, !tbaa !26
  %85 = load double, ptr %7, align 8, !tbaa !26
  store double %85, ptr %31, align 8, !tbaa !26
  %86 = icmp eq i16 %.pre, 1
  br i1 %86, label %87, label %89

87:                                               ; preds = %._crit_edge210
  %88 = load double, ptr %8, align 8, !tbaa !26
  store double %88, ptr %.0152, align 8, !tbaa !26
  br label %89

89:                                               ; preds = %._crit_edge210, %87
  %90 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef 8191, ptr noundef nonnull %75)
  %.not.peel = icmp eq ptr %90, null
  br i1 %.not.peel, label %._crit_edge, label %.lr.ph

91:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.169) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.170, ptr noundef nonnull %9) #9
  %92 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %92, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3310, ptr noundef nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #9
  br label %324

.lr.ph:                                           ; preds = %89, %136
  %indvars.iv = phi i64 [ %indvars.iv.next, %136 ], [ 1, %89 ]
  %.0145182 = phi i32 [ %.1, %136 ], [ 100, %89 ]
  %.0147180 = phi ptr [ %.1148, %136 ], [ %30, %89 ]
  %.0149179 = phi ptr [ %.1150, %136 ], [ %31, %89 ]
  %.1153178 = phi ptr [ %.2, %136 ], [ %.0152, %89 ]
  %93 = load i16, ptr %32, align 8, !tbaa !5
  %94 = icmp eq i16 %93, 1
  br i1 %94, label %95, label %97

95:                                               ; preds = %.lr.ph
  %96 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %4, ptr noundef nonnull @.str.171, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #9
  br label %99

97:                                               ; preds = %.lr.ph
  %98 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %4, ptr noundef nonnull @.str.172, ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  br label %99

99:                                               ; preds = %97, %95
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %100 = sext i32 %.0145182 to i64
  %.not159 = icmp slt i64 %indvars.iv, %100
  br i1 %.not159, label %119, label %101

101:                                              ; preds = %99
  %102 = shl nsw i32 %.0145182, 1
  %103 = sext i32 %102 to i64
  %104 = shl nsw i64 %103, 3
  %105 = call ptr @realloc(ptr noundef %.0147180, i64 noundef %104) #12
  %106 = icmp eq ptr %105, null
  br i1 %106, label %.loopexit, label %108

.loopexit:                                        ; preds = %101
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.173) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.174, ptr noundef nonnull %11) #9
  %107 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %107, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3326, ptr noundef nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #9
  br label %324

108:                                              ; preds = %101
  %109 = call ptr @realloc(ptr noundef %.0149179, i64 noundef %104) #12
  %110 = icmp eq ptr %109, null
  br i1 %110, label %.loopexit199, label %112

.loopexit199:                                     ; preds = %108
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.173) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.174, ptr noundef nonnull %13) #9
  %111 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %111, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3331, ptr noundef nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #9
  br label %324

112:                                              ; preds = %108
  %113 = load i16, ptr %32, align 8, !tbaa !5
  %114 = icmp eq i16 %113, 1
  br i1 %114, label %115, label %119

115:                                              ; preds = %112
  %116 = call ptr @realloc(ptr noundef %.1153178, i64 noundef %104) #12
  %117 = icmp eq ptr %116, null
  br i1 %117, label %.loopexit200, label %119

.loopexit200:                                     ; preds = %115
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.173) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.174, ptr noundef nonnull %15) #9
  %118 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %118, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3337, ptr noundef nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #9
  br label %324

119:                                              ; preds = %115, %112, %99
  %.2 = phi ptr [ %.1153178, %112 ], [ %.1153178, %99 ], [ %116, %115 ]
  %.1150 = phi ptr [ %109, %112 ], [ %.0149179, %99 ], [ %109, %115 ]
  %.1148 = phi ptr [ %105, %112 ], [ %.0147180, %99 ], [ %105, %115 ]
  %.1 = phi i32 [ %102, %112 ], [ %.0145182, %99 ], [ %102, %115 ]
  %120 = load double, ptr %6, align 8, !tbaa !26
  %121 = getelementptr inbounds double, ptr %.1148, i64 %indvars.iv
  store double %120, ptr %121, align 8, !tbaa !26
  %122 = load double, ptr %7, align 8, !tbaa !26
  %123 = getelementptr inbounds double, ptr %.1150, i64 %indvars.iv
  store double %122, ptr %123, align 8, !tbaa !26
  %124 = load i16, ptr %32, align 8, !tbaa !5
  %125 = icmp eq i16 %124, 1
  br i1 %125, label %126, label %129

126:                                              ; preds = %119
  %127 = load double, ptr %8, align 8, !tbaa !26
  %128 = getelementptr inbounds double, ptr %.2, i64 %indvars.iv
  store double %127, ptr %128, align 8, !tbaa !26
  br label %129

129:                                              ; preds = %119, %126
  %130 = load double, ptr %121, align 8, !tbaa !26
  %131 = add nsw i64 %indvars.iv, -1
  %132 = getelementptr inbounds double, ptr %.1148, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !26
  %134 = fcmp ugt double %130, %133
  br i1 %134, label %136, label %.loopexit201

.loopexit201:                                     ; preds = %129
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str.175) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.176, ptr noundef nonnull %17) #9
  %135 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %135, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3353, ptr noundef nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #9
  br label %324

136:                                              ; preds = %129
  %137 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef 8191, ptr noundef nonnull %75)
  %.not = icmp eq ptr %137, null
  br i1 %.not, label %._crit_edge.loopexit.loopexit, label %.lr.ph, !llvm.loop !27

._crit_edge.loopexit.loopexit:                    ; preds = %136
  %138 = trunc nuw i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %89, %._crit_edge.loopexit.loopexit, %.preheader
  %.1153.lcssa = phi ptr [ %.0152, %.preheader ], [ %.0152, %89 ], [ %.2, %._crit_edge.loopexit.loopexit ]
  %.0149.lcssa = phi ptr [ %31, %.preheader ], [ %31, %89 ], [ %.1150, %._crit_edge.loopexit.loopexit ]
  %.0147.lcssa = phi ptr [ %30, %.preheader ], [ %30, %89 ], [ %.1148, %._crit_edge.loopexit.loopexit ]
  %.0146.lcssa = phi i32 [ 0, %.preheader ], [ 1, %89 ], [ %138, %._crit_edge.loopexit.loopexit ]
  %139 = call i32 @pclose(ptr noundef nonnull %75)
  %.not158 = icmp eq i32 %139, 0
  br i1 %.not158, label %142, label %140

140:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.177) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %20) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %20, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.178, ptr noundef nonnull %19) #9
  %141 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %141, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3361, ptr noundef nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #9
  br label %324

142:                                              ; preds = %._crit_edge
  %143 = getelementptr inbounds i8, ptr %.0147.lcssa, i64 8
  %144 = load double, ptr %143, align 8, !tbaa !26
  %145 = getelementptr inbounds i8, ptr %0, i64 2376
  %146 = load double, ptr %145, align 8, !tbaa !30
  %147 = fcmp ogt double %144, %146
  br i1 %147, label %148, label %150

148:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %21) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.179, double noundef %146) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %22) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %22, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.180, ptr noundef nonnull %21) #9
  %149 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %149, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3367, ptr noundef nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %21) #9
  br label %324

150:                                              ; preds = %142
  %151 = add nsw i32 %.0146.lcssa, -2
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds double, ptr %.0147.lcssa, i64 %152
  %154 = load double, ptr %153, align 8, !tbaa !26
  %155 = getelementptr inbounds i8, ptr %0, i64 2384
  %156 = load double, ptr %155, align 8, !tbaa !31
  %157 = fcmp olt double %154, %156
  br i1 %157, label %158, label %160

158:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %23) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %23, ptr noundef nonnull @.str.181, double noundef %156) #9
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %24) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.182, ptr noundef nonnull %23) #9
  %159 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3372, ptr noundef nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %23) #9
  br label %324

160:                                              ; preds = %150
  %161 = getelementptr inbounds i8, ptr %1, i64 640
  store i32 %.0146.lcssa, ptr %161, align 8, !tbaa !32
  %162 = getelementptr inbounds i8, ptr %1, i64 648
  %163 = load ptr, ptr %162, align 8, !tbaa !33
  %164 = zext nneg i32 %.0146.lcssa to i64
  %165 = shl nuw nsw i64 %164, 3
  %166 = call ptr @realloc(ptr noundef %163, i64 noundef %165) #12
  store ptr %166, ptr %162, align 8, !tbaa !33
  %167 = icmp eq ptr %166, null
  br i1 %167, label %168, label %172

168:                                              ; preds = %160
  %169 = load i32, ptr %161, align 8, !tbaa !32
  %170 = shl i32 %169, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %25) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %25, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.63, i32 noundef %170) #9
  %171 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %171, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3380, ptr noundef nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %25) #9
  br label %324

172:                                              ; preds = %160
  %173 = getelementptr inbounds i8, ptr %1, i64 656
  %174 = load ptr, ptr %173, align 8, !tbaa !34
  %175 = getelementptr inbounds i8, ptr %0, i64 2028
  %176 = load i32, ptr %175, align 4, !tbaa !35
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds ptr, ptr %174, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !36
  %180 = load i32, ptr %161, align 8, !tbaa !32
  %181 = sext i32 %180 to i64
  %182 = shl nsw i64 %181, 3
  %183 = call ptr @realloc(ptr noundef %179, i64 noundef %182) #12
  %184 = load ptr, ptr %173, align 8, !tbaa !34
  %185 = load i32, ptr %175, align 4, !tbaa !35
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds ptr, ptr %184, i64 %186
  store ptr %183, ptr %187, align 8, !tbaa !36
  %188 = load ptr, ptr %173, align 8, !tbaa !34
  %189 = getelementptr inbounds ptr, ptr %188, i64 %186
  %190 = load ptr, ptr %189, align 8, !tbaa !36
  %191 = icmp eq ptr %190, null
  br i1 %191, label %192, label %196

192:                                              ; preds = %172
  %193 = load i32, ptr %161, align 8, !tbaa !32
  %194 = shl i32 %193, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %26) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %26, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.183, i32 noundef %194) #9
  %195 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %195, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3384, ptr noundef nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %26) #9
  br label %324

196:                                              ; preds = %172
  %197 = getelementptr inbounds i8, ptr %1, i64 664
  %198 = load ptr, ptr %197, align 8, !tbaa !37
  %199 = getelementptr inbounds ptr, ptr %198, i64 %186
  %200 = load ptr, ptr %199, align 8, !tbaa !36
  %201 = load i32, ptr %161, align 8, !tbaa !32
  %202 = sext i32 %201 to i64
  %203 = shl nsw i64 %202, 3
  %204 = call ptr @realloc(ptr noundef %200, i64 noundef %203) #12
  %205 = load ptr, ptr %197, align 8, !tbaa !37
  %206 = load i32, ptr %175, align 4, !tbaa !35
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds ptr, ptr %205, i64 %207
  store ptr %204, ptr %208, align 8, !tbaa !36
  %209 = load ptr, ptr %197, align 8, !tbaa !37
  %210 = getelementptr inbounds ptr, ptr %209, i64 %207
  %211 = load ptr, ptr %210, align 8, !tbaa !36
  %212 = icmp eq ptr %211, null
  br i1 %212, label %213, label %217

213:                                              ; preds = %196
  %214 = load i32, ptr %161, align 8, !tbaa !32
  %215 = shl i32 %214, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %27) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.184, i32 noundef %215) #9
  %216 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %216, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3388, ptr noundef nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %27) #9
  br label %324

217:                                              ; preds = %196
  %218 = load i16, ptr %32, align 8, !tbaa !5
  %219 = icmp eq i16 %218, 1
  br i1 %219, label %220, label %263

220:                                              ; preds = %217
  %221 = load ptr, ptr %173, align 8, !tbaa !34
  %222 = getelementptr inbounds i8, ptr %0, i64 2032
  %223 = load i32, ptr %222, align 8, !tbaa !38
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds ptr, ptr %221, i64 %224
  %226 = load ptr, ptr %225, align 8, !tbaa !36
  %227 = load i32, ptr %161, align 8, !tbaa !32
  %228 = sext i32 %227 to i64
  %229 = shl nsw i64 %228, 3
  %230 = call ptr @realloc(ptr noundef %226, i64 noundef %229) #12
  %231 = load ptr, ptr %173, align 8, !tbaa !34
  %232 = load i32, ptr %222, align 8, !tbaa !38
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds ptr, ptr %231, i64 %233
  store ptr %230, ptr %234, align 8, !tbaa !36
  %235 = load ptr, ptr %173, align 8, !tbaa !34
  %236 = getelementptr inbounds ptr, ptr %235, i64 %233
  %237 = load ptr, ptr %236, align 8, !tbaa !36
  %238 = icmp eq ptr %237, null
  br i1 %238, label %239, label %243

239:                                              ; preds = %220
  %240 = load i32, ptr %161, align 8, !tbaa !32
  %241 = shl i32 %240, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %28) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.185, i32 noundef %241) #9
  %242 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %242, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3393, ptr noundef nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %28) #9
  br label %324

243:                                              ; preds = %220
  %244 = load ptr, ptr %197, align 8, !tbaa !37
  %245 = getelementptr inbounds ptr, ptr %244, i64 %233
  %246 = load ptr, ptr %245, align 8, !tbaa !36
  %247 = load i32, ptr %161, align 8, !tbaa !32
  %248 = sext i32 %247 to i64
  %249 = shl nsw i64 %248, 3
  %250 = call ptr @realloc(ptr noundef %246, i64 noundef %249) #12
  %251 = load ptr, ptr %197, align 8, !tbaa !37
  %252 = load i32, ptr %222, align 8, !tbaa !38
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds ptr, ptr %251, i64 %253
  store ptr %250, ptr %254, align 8, !tbaa !36
  %255 = load ptr, ptr %197, align 8, !tbaa !37
  %256 = getelementptr inbounds ptr, ptr %255, i64 %253
  %257 = load ptr, ptr %256, align 8, !tbaa !36
  %258 = icmp eq ptr %257, null
  br i1 %258, label %259, label %263

259:                                              ; preds = %243
  %260 = load i32, ptr %161, align 8, !tbaa !32
  %261 = shl i32 %260, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %29) #9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %29, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.186, i32 noundef %261) #9
  %262 = getelementptr inbounds i8, ptr %1, i64 794
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %262, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.primordial_external_spectrum_init, i32 noundef 3397, ptr noundef nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %29) #9
  br label %324

263:                                              ; preds = %243, %217
  %264 = load i32, ptr %161, align 8, !tbaa !32
  %265 = icmp sgt i32 %264, 0
  br i1 %265, label %.lr.ph188, label %._crit_edge189

.lr.ph188:                                        ; preds = %263
  %266 = getelementptr inbounds i8, ptr %0, i64 2032
  br label %267

267:                                              ; preds = %.lr.ph188, %294
  %indvars.iv202 = phi i64 [ 0, %.lr.ph188 ], [ %indvars.iv.next203, %294 ]
  %268 = getelementptr inbounds double, ptr %.0147.lcssa, i64 %indvars.iv202
  %269 = load double, ptr %268, align 8, !tbaa !26
  %270 = call double @log(double noundef %269) #9
  %271 = load ptr, ptr %162, align 8, !tbaa !33
  %272 = getelementptr inbounds double, ptr %271, i64 %indvars.iv202
  store double %270, ptr %272, align 8, !tbaa !26
  %273 = getelementptr inbounds double, ptr %.0149.lcssa, i64 %indvars.iv202
  %274 = load double, ptr %273, align 8, !tbaa !26
  %275 = call double @log(double noundef %274) #9
  %276 = load ptr, ptr %173, align 8, !tbaa !34
  %277 = load i32, ptr %175, align 4, !tbaa !35
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds ptr, ptr %276, i64 %278
  %280 = load ptr, ptr %279, align 8, !tbaa !36
  %281 = getelementptr inbounds double, ptr %280, i64 %indvars.iv202
  store double %275, ptr %281, align 8, !tbaa !26
  %282 = load i16, ptr %32, align 8, !tbaa !5
  %283 = icmp eq i16 %282, 1
  br i1 %283, label %284, label %294

284:                                              ; preds = %267
  %285 = getelementptr inbounds double, ptr %.1153.lcssa, i64 %indvars.iv202
  %286 = load double, ptr %285, align 8, !tbaa !26
  %287 = call double @log(double noundef %286) #9
  %288 = load ptr, ptr %173, align 8, !tbaa !34
  %289 = load i32, ptr %266, align 8, !tbaa !38
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds ptr, ptr %288, i64 %290
  %292 = load ptr, ptr %291, align 8, !tbaa !36
  %293 = getelementptr inbounds double, ptr %292, i64 %indvars.iv202
  store double %287, ptr %293, align 8, !tbaa !26
  br label %294

294:                                              ; preds = %267, %284
  %indvars.iv.next203 = add nuw nsw i64 %indvars.iv202, 1
  %295 = load i32, ptr %161, align 8, !tbaa !32
  %296 = sext i32 %295 to i64
  %297 = icmp slt i64 %indvars.iv.next203, %296
  br i1 %297, label %267, label %._crit_edge189, !llvm.loop !39

._crit_edge189:                                   ; preds = %294, %263
  call void @free(ptr noundef nonnull %.0147.lcssa) #9
  call void @free(ptr noundef %.0149.lcssa) #9
  %298 = load i16, ptr %32, align 8, !tbaa !5
  %299 = icmp eq i16 %298, 1
  br i1 %299, label %300, label %301

300:                                              ; preds = %._crit_edge189
  call void @free(ptr noundef %.1153.lcssa) #9
  br label %301

301:                                              ; preds = %300, %._crit_edge189
  %302 = getelementptr inbounds i8, ptr %1, i64 672
  %303 = load ptr, ptr %302, align 8, !tbaa !40
  %304 = load i32, ptr %175, align 4, !tbaa !35
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds ptr, ptr %303, i64 %305
  %307 = load ptr, ptr %306, align 8, !tbaa !36
  %308 = getelementptr inbounds i8, ptr %0, i64 2044
  %309 = load i32, ptr %308, align 4, !tbaa !41
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds i16, ptr %307, i64 %310
  store i16 1, ptr %311, align 2, !tbaa !42
  %312 = load i16, ptr %32, align 8, !tbaa !5
  %313 = icmp eq i16 %312, 1
  br i1 %313, label %314, label %324

314:                                              ; preds = %301
  %315 = getelementptr inbounds i8, ptr %0, i64 2032
  %316 = load i32, ptr %315, align 8, !tbaa !38
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds ptr, ptr %303, i64 %317
  %319 = load ptr, ptr %318, align 8, !tbaa !36
  %320 = getelementptr inbounds i8, ptr %0, i64 2064
  %321 = load i32, ptr %320, align 8, !tbaa !43
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds i16, ptr %319, i64 %322
  store i16 1, ptr %323, align 2, !tbaa !42
  br label %324

324:                                              ; preds = %301, %314, %259, %239, %213, %192, %168, %158, %148, %140, %.loopexit201, %.loopexit200, %.loopexit199, %.loopexit, %91
  %.0 = phi i32 [ 1, %91 ], [ 1, %.loopexit ], [ 1, %.loopexit199 ], [ 1, %.loopexit200 ], [ 1, %.loopexit201 ], [ 1, %140 ], [ 1, %148 ], [ 1, %158 ], [ 1, %168 ], [ 1, %192 ], [ 1, %213 ], [ 1, %239 ], [ 1, %259 ], [ 0, %314 ], [ 0, %301 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #9
  ret i32 %.0
}

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noalias noundef ptr @popen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: nofree nounwind
declare noundef i32 @pclose(ptr nocapture noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"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, !12, i64 528}
!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, !11, i64 536}
!16 = !{!14, !11, i64 544}
!17 = !{!14, !11, i64 552}
!18 = !{!14, !11, i64 560}
!19 = !{!14, !11, i64 568}
!20 = !{!14, !11, i64 576}
!21 = !{!14, !11, i64 584}
!22 = !{!14, !11, i64 592}
!23 = !{!14, !11, i64 600}
!24 = !{!14, !11, i64 608}
!25 = !{!14, !7, i64 792}
!26 = !{!11, !11, i64 0}
!27 = distinct !{!27, !28, !29}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!"llvm.loop.peeled.count", i32 1}
!30 = !{!6, !11, i64 2376}
!31 = !{!6, !11, i64 2384}
!32 = !{!14, !10, i64 640}
!33 = !{!14, !12, i64 648}
!34 = !{!14, !12, i64 656}
!35 = !{!6, !10, i64 2028}
!36 = !{!12, !12, i64 0}
!37 = !{!14, !12, i64 664}
!38 = !{!6, !10, i64 2032}
!39 = distinct !{!39, !28}
!40 = !{!14, !12, i64 672}
!41 = !{!6, !10, i64 2044}
!42 = !{!7, !7, i64 0}
!43 = !{!6, !10, i64 2064}


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