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

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

@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [9 x i8], align 1
@__func__.perturb_workspace_init = external hidden unnamed_addr constant [23 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [16 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 allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

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

39:                                               ; preds = %6
  %40 = load i32, ptr %12, align 4, !tbaa !9
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.perturbs, ptr %41, i32 0, i32 56
  %43 = load i32, ptr %42, align 4, !tbaa !15
  %44 = icmp eq i32 %40, %43
  br i1 %44, label %45, label %174

45:                                               ; preds = %39
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.precision, ptr %46, i32 0, i32 71
  %48 = load i32, ptr %47, align 8, !tbaa !16
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.precision, ptr %49, i32 0, i32 72
  %51 = load i32, ptr %50, align 4, !tbaa !18
  %52 = icmp slt i32 %48, %51
  br i1 %52, label %53, label %57

53:                                               ; preds = %45
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.precision, ptr %54, i32 0, i32 72
  %56 = load i32, ptr %55, align 4, !tbaa !18
  br label %61

57:                                               ; preds = %45
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.precision, ptr %58, i32 0, i32 71
  %60 = load i32, ptr %59, align 8, !tbaa !16
  br label %61

61:                                               ; preds = %57, %53
  %62 = phi i32 [ %56, %53 ], [ %60, %57 ]
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.perturb_workspace, ptr %63, i32 0, i32 57
  store i32 %62, ptr %64, align 8, !tbaa !19
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.background, ptr %65, i32 0, i32 126
  %67 = load i16, ptr %66, align 2, !tbaa !21
  %68 = sext i16 %67 to i32
  %69 = icmp eq i32 %68, 1
  br i1 %69, label %70, label %90

70:                                               ; preds = %61
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.perturb_workspace, ptr %71, i32 0, i32 57
  %73 = load i32, ptr %72, align 8, !tbaa !19
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.precision, ptr %74, i32 0, i32 74
  %76 = load i32, ptr %75, align 4, !tbaa !23
  %77 = icmp slt i32 %73, %76
  br i1 %77, label %78, label %82

78:                                               ; preds = %70
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.precision, ptr %79, i32 0, i32 74
  %81 = load i32, ptr %80, align 4, !tbaa !23
  br label %86

82:                                               ; preds = %70
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.perturb_workspace, ptr %83, i32 0, i32 57
  %85 = load i32, ptr %84, align 8, !tbaa !19
  br label %86

86:                                               ; preds = %82, %78
  %87 = phi i32 [ %81, %78 ], [ %85, %82 ]
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.perturb_workspace, ptr %88, i32 0, i32 57
  store i32 %87, ptr %89, align 8, !tbaa !19
  br label %90

90:                                               ; preds = %86, %61
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.background, ptr %91, i32 0, i32 127
  %93 = load i16, ptr %92, align 4, !tbaa !24
  %94 = sext i16 %93 to i32
  %95 = icmp eq i32 %94, 1
  br i1 %95, label %96, label %121

96:                                               ; preds = %90
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.perturbs, ptr %97, i32 0, i32 52
  %99 = load i32, ptr %98, align 8, !tbaa !25
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %101, label %121

101:                                              ; preds = %96
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.perturb_workspace, ptr %102, i32 0, i32 57
  %104 = load i32, ptr %103, align 8, !tbaa !19
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.precision, ptr %105, i32 0, i32 75
  %107 = load i32, ptr %106, align 8, !tbaa !26
  %108 = icmp slt i32 %104, %107
  br i1 %108, label %109, label %113

109:                                              ; preds = %101
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.precision, ptr %110, i32 0, i32 75
  %112 = load i32, ptr %111, align 8, !tbaa !26
  br label %117

113:                                              ; preds = %101
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.perturb_workspace, ptr %114, i32 0, i32 57
  %116 = load i32, ptr %115, align 8, !tbaa !19
  br label %117

117:                                              ; preds = %113, %109
  %118 = phi i32 [ %112, %109 ], [ %116, %113 ]
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.perturb_workspace, ptr %119, i32 0, i32 57
  store i32 %118, ptr %120, align 8, !tbaa !19
  br label %121

121:                                              ; preds = %117, %96, %90
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.background, ptr %122, i32 0, i32 123
  %124 = load i16, ptr %123, align 4, !tbaa !27
  %125 = sext i16 %124 to i32
  %126 = icmp eq i32 %125, 1
  br i1 %126, label %127, label %147

127:                                              ; preds = %121
  %128 = load ptr, ptr %13, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.perturb_workspace, ptr %128, i32 0, i32 57
  %130 = load i32, ptr %129, align 8, !tbaa !19
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.precision, ptr %131, i32 0, i32 76
  %133 = load i32, ptr %132, align 4, !tbaa !28
  %134 = icmp slt i32 %130, %133
  br i1 %134, label %135, label %139

135:                                              ; preds = %127
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.precision, ptr %136, i32 0, i32 76
  %138 = load i32, ptr %137, align 4, !tbaa !28
  br label %143

139:                                              ; preds = %127
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.perturb_workspace, ptr %140, i32 0, i32 57
  %142 = load i32, ptr %141, align 8, !tbaa !19
  br label %143

143:                                              ; preds = %139, %135
  %144 = phi i32 [ %138, %135 ], [ %142, %139 ]
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.perturb_workspace, ptr %145, i32 0, i32 57
  store i32 %144, ptr %146, align 8, !tbaa !19
  br label %147

147:                                              ; preds = %143, %121
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.background, ptr %148, i32 0, i32 121
  %150 = load i16, ptr %149, align 8, !tbaa !29
  %151 = sext i16 %150 to i32
  %152 = icmp eq i32 %151, 1
  br i1 %152, label %153, label %173

153:                                              ; preds = %147
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.perturb_workspace, ptr %154, i32 0, i32 57
  %156 = load i32, ptr %155, align 8, !tbaa !19
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.precision, ptr %157, i32 0, i32 73
  %159 = load i32, ptr %158, align 8, !tbaa !30
  %160 = icmp slt i32 %156, %159
  br i1 %160, label %161, label %165

161:                                              ; preds = %153
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.precision, ptr %162, i32 0, i32 73
  %164 = load i32, ptr %163, align 8, !tbaa !30
  br label %169

165:                                              ; preds = %153
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.perturb_workspace, ptr %166, i32 0, i32 57
  %168 = load i32, ptr %167, align 8, !tbaa !19
  br label %169

169:                                              ; preds = %165, %161
  %170 = phi i32 [ %164, %161 ], [ %168, %165 ]
  %171 = load ptr, ptr %13, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.perturb_workspace, ptr %171, i32 0, i32 57
  store i32 %170, ptr %172, align 8, !tbaa !19
  br label %173

173:                                              ; preds = %169, %147
  br label %174

174:                                              ; preds = %173, %39, %6
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.perturbs, ptr %175, i32 0, i32 4
  %177 = load i16, ptr %176, align 8, !tbaa !31
  %178 = sext i16 %177 to i32
  %179 = icmp eq i32 %178, 1
  br i1 %179, label %180, label %258

180:                                              ; preds = %174
  %181 = load i32, ptr %12, align 4, !tbaa !9
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.perturbs, ptr %182, i32 0, i32 57
  %184 = load i32, ptr %183, align 8, !tbaa !32
  %185 = icmp eq i32 %181, %184
  br i1 %185, label %186, label %258

186:                                              ; preds = %180
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.precision, ptr %187, i32 0, i32 77
  %189 = load i32, ptr %188, align 8, !tbaa !33
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.precision, ptr %190, i32 0, i32 78
  %192 = load i32, ptr %191, align 4, !tbaa !34
  %193 = icmp slt i32 %189, %192
  br i1 %193, label %194, label %198

194:                                              ; preds = %186
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.precision, ptr %195, i32 0, i32 78
  %197 = load i32, ptr %196, align 4, !tbaa !34
  br label %202

198:                                              ; preds = %186
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.precision, ptr %199, i32 0, i32 77
  %201 = load i32, ptr %200, align 8, !tbaa !33
  br label %202

202:                                              ; preds = %198, %194
  %203 = phi i32 [ %197, %194 ], [ %201, %198 ]
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.perturb_workspace, ptr %204, i32 0, i32 57
  store i32 %203, ptr %205, align 8, !tbaa !19
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.background, ptr %206, i32 0, i32 126
  %208 = load i16, ptr %207, align 2, !tbaa !21
  %209 = sext i16 %208 to i32
  %210 = icmp eq i32 %209, 1
  br i1 %210, label %211, label %231

211:                                              ; preds = %202
  %212 = load ptr, ptr %13, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.perturb_workspace, ptr %212, i32 0, i32 57
  %214 = load i32, ptr %213, align 8, !tbaa !19
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.precision, ptr %215, i32 0, i32 74
  %217 = load i32, ptr %216, align 4, !tbaa !23
  %218 = icmp slt i32 %214, %217
  br i1 %218, label %219, label %223

219:                                              ; preds = %211
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.precision, ptr %220, i32 0, i32 74
  %222 = load i32, ptr %221, align 4, !tbaa !23
  br label %227

223:                                              ; preds = %211
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.perturb_workspace, ptr %224, i32 0, i32 57
  %226 = load i32, ptr %225, align 8, !tbaa !19
  br label %227

227:                                              ; preds = %223, %219
  %228 = phi i32 [ %222, %219 ], [ %226, %223 ]
  %229 = load ptr, ptr %13, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.perturb_workspace, ptr %229, i32 0, i32 57
  store i32 %228, ptr %230, align 8, !tbaa !19
  br label %231

231:                                              ; preds = %227, %202
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.background, ptr %232, i32 0, i32 123
  %234 = load i16, ptr %233, align 4, !tbaa !27
  %235 = sext i16 %234 to i32
  %236 = icmp eq i32 %235, 1
  br i1 %236, label %237, label %257

237:                                              ; preds = %231
  %238 = load ptr, ptr %13, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.perturb_workspace, ptr %238, i32 0, i32 57
  %240 = load i32, ptr %239, align 8, !tbaa !19
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.precision, ptr %241, i32 0, i32 76
  %243 = load i32, ptr %242, align 4, !tbaa !28
  %244 = icmp slt i32 %240, %243
  br i1 %244, label %245, label %249

245:                                              ; preds = %237
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.precision, ptr %246, i32 0, i32 76
  %248 = load i32, ptr %247, align 4, !tbaa !28
  br label %253

249:                                              ; preds = %237
  %250 = load ptr, ptr %13, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.perturb_workspace, ptr %250, i32 0, i32 57
  %252 = load i32, ptr %251, align 8, !tbaa !19
  br label %253

253:                                              ; preds = %249, %245
  %254 = phi i32 [ %248, %245 ], [ %252, %249 ]
  %255 = load ptr, ptr %13, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.perturb_workspace, ptr %255, i32 0, i32 57
  store i32 %254, ptr %256, align 8, !tbaa !19
  br label %257

257:                                              ; preds = %253, %231
  br label %258

258:                                              ; preds = %257, %180, %174
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.perturb_workspace, ptr %259, i32 0, i32 57
  %261 = load i32, ptr %260, align 8, !tbaa !19
  %262 = add nsw i32 %261, 1
  %263 = sext i32 %262 to i64
  %264 = mul i64 8, %263
  %265 = call noalias ptr @malloc(i64 noundef %264) #5
  %266 = load ptr, ptr %13, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.perturb_workspace, ptr %266, i32 0, i32 58
  store ptr %265, ptr %267, align 8, !tbaa !35
  %268 = load ptr, ptr %13, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.perturb_workspace, ptr %268, i32 0, i32 58
  %270 = load ptr, ptr %269, align 8, !tbaa !35
  %271 = icmp eq ptr %270, null
  br i1 %271, label %272, label %286

272:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %273 = load ptr, ptr %13, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.perturb_workspace, ptr %273, i32 0, i32 57
  %275 = load i32, ptr %274, align 8, !tbaa !19
  %276 = add nsw i32 %275, 1
  %277 = sext i32 %276 to i64
  %278 = mul i64 8, %277
  %279 = trunc i64 %278 to i32
  store i32 %279, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %18) #4
  %280 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  %281 = load i32, ptr %17, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %280, ptr noundef @.str.4, ptr noundef @.str.183, i32 noundef %281)
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.perturbs, ptr %282, i32 0, i32 186
  %284 = getelementptr inbounds [2048 x i8], ptr %283, i64 0, i64 0
  %285 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %284, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2504, ptr noundef %285)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %18) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %828

286:                                              ; preds = %258
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %287

287:                                              ; preds = %300, %286
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = load ptr, ptr %13, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.perturb_workspace, ptr %289, i32 0, i32 57
  %291 = load i32, ptr %290, align 8, !tbaa !19
  %292 = icmp sle i32 %288, %291
  br i1 %292, label %293, label %303

293:                                              ; preds = %287
  %294 = load ptr, ptr %13, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.perturb_workspace, ptr %294, i32 0, i32 58
  %296 = load ptr, ptr %295, align 8, !tbaa !35
  %297 = load i32, ptr %16, align 4, !tbaa !9
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds double, ptr %296, i64 %298
  store double 1.000000e+00, ptr %299, align 8, !tbaa !36
  br label %300

300:                                              ; preds = %293
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = add nsw i32 %301, 1
  store i32 %302, ptr %16, align 4, !tbaa !9
  br label %287, !llvm.loop !37

303:                                              ; preds = %287
  %304 = load ptr, ptr %11, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.perturbs, ptr %304, i32 0, i32 2
  %306 = load i16, ptr %305, align 4, !tbaa !11
  %307 = sext i16 %306 to i32
  %308 = icmp eq i32 %307, 1
  br i1 %308, label %309, label %363

309:                                              ; preds = %303
  %310 = load i32, ptr %12, align 4, !tbaa !9
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.perturbs, ptr %311, i32 0, i32 56
  %313 = load i32, ptr %312, align 4, !tbaa !15
  %314 = icmp eq i32 %310, %313
  br i1 %314, label %315, label %363

315:                                              ; preds = %309
  %316 = load ptr, ptr %11, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.perturbs, ptr %316, i32 0, i32 55
  %318 = load i32, ptr %317, align 8, !tbaa !39
  %319 = icmp eq i32 %318, 0
  br i1 %319, label %320, label %331

320:                                              ; preds = %315
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = load ptr, ptr %13, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.perturb_workspace, ptr %322, i32 0, i32 0
  store i32 %321, ptr %323, align 8, !tbaa !40
  %324 = load i32, ptr %14, align 4, !tbaa !9
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %14, align 4, !tbaa !9
  %327 = load ptr, ptr %13, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.perturb_workspace, ptr %327, i32 0, i32 1
  store i32 %326, ptr %328, align 4, !tbaa !41
  %329 = load i32, ptr %14, align 4, !tbaa !9
  %330 = add nsw i32 %329, 1
  store i32 %330, ptr %14, align 4, !tbaa !9
  br label %331

331:                                              ; preds = %320, %315
  %332 = load ptr, ptr %11, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.perturbs, ptr %332, i32 0, i32 55
  %334 = load i32, ptr %333, align 8, !tbaa !39
  %335 = icmp eq i32 %334, 1
  br i1 %335, label %336, label %362

336:                                              ; preds = %331
  %337 = load i32, ptr %14, align 4, !tbaa !9
  %338 = load ptr, ptr %13, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.perturb_workspace, ptr %338, i32 0, i32 2
  store i32 %337, ptr %339, align 8, !tbaa !42
  %340 = load i32, ptr %14, align 4, !tbaa !9
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %14, align 4, !tbaa !9
  %342 = load i32, ptr %14, align 4, !tbaa !9
  %343 = load ptr, ptr %13, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.perturb_workspace, ptr %343, i32 0, i32 3
  store i32 %342, ptr %344, align 4, !tbaa !43
  %345 = load i32, ptr %14, align 4, !tbaa !9
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %14, align 4, !tbaa !9
  %347 = load i32, ptr %14, align 4, !tbaa !9
  %348 = load ptr, ptr %13, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.perturb_workspace, ptr %348, i32 0, i32 4
  store i32 %347, ptr %349, align 8, !tbaa !44
  %350 = load i32, ptr %14, align 4, !tbaa !9
  %351 = add nsw i32 %350, 1
  store i32 %351, ptr %14, align 4, !tbaa !9
  %352 = load i32, ptr %14, align 4, !tbaa !9
  %353 = load ptr, ptr %13, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.perturb_workspace, ptr %353, i32 0, i32 5
  store i32 %352, ptr %354, align 4, !tbaa !45
  %355 = load i32, ptr %14, align 4, !tbaa !9
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %14, align 4, !tbaa !9
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = load ptr, ptr %13, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.perturb_workspace, ptr %358, i32 0, i32 6
  store i32 %357, ptr %359, align 8, !tbaa !46
  %360 = load i32, ptr %14, align 4, !tbaa !9
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %14, align 4, !tbaa !9
  br label %362

362:                                              ; preds = %336, %331
  br label %363

363:                                              ; preds = %362, %309, %303
  %364 = load ptr, ptr %11, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.perturbs, ptr %364, i32 0, i32 3
  %366 = load i16, ptr %365, align 2, !tbaa !47
  %367 = sext i16 %366 to i32
  %368 = icmp eq i32 %367, 1
  br i1 %368, label %369, label %398

369:                                              ; preds = %363
  %370 = load i32, ptr %12, align 4, !tbaa !9
  %371 = load ptr, ptr %11, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.perturbs, ptr %371, i32 0, i32 58
  %373 = load i32, ptr %372, align 4, !tbaa !48
  %374 = icmp eq i32 %370, %373
  br i1 %374, label %375, label %398

375:                                              ; preds = %369
  %376 = load ptr, ptr %11, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.perturbs, ptr %376, i32 0, i32 55
  %378 = load i32, ptr %377, align 8, !tbaa !39
  %379 = icmp eq i32 %378, 0
  br i1 %379, label %380, label %386

380:                                              ; preds = %375
  %381 = load i32, ptr %14, align 4, !tbaa !9
  %382 = load ptr, ptr %13, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.perturb_workspace, ptr %382, i32 0, i32 8
  store i32 %381, ptr %383, align 8, !tbaa !49
  %384 = load i32, ptr %14, align 4, !tbaa !9
  %385 = add nsw i32 %384, 1
  store i32 %385, ptr %14, align 4, !tbaa !9
  br label %386

386:                                              ; preds = %380, %375
  %387 = load ptr, ptr %11, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.perturbs, ptr %387, i32 0, i32 55
  %389 = load i32, ptr %388, align 8, !tbaa !39
  %390 = icmp eq i32 %389, 1
  br i1 %390, label %391, label %397

391:                                              ; preds = %386
  %392 = load i32, ptr %14, align 4, !tbaa !9
  %393 = load ptr, ptr %13, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.perturb_workspace, ptr %393, i32 0, i32 9
  store i32 %392, ptr %394, align 4, !tbaa !50
  %395 = load i32, ptr %14, align 4, !tbaa !9
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr %14, align 4, !tbaa !9
  br label %397

397:                                              ; preds = %391, %386
  br label %398

398:                                              ; preds = %397, %369, %363
  %399 = load ptr, ptr %11, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.perturbs, ptr %399, i32 0, i32 4
  %401 = load i16, ptr %400, align 8, !tbaa !31
  %402 = sext i16 %401 to i32
  %403 = icmp eq i32 %402, 1
  br i1 %403, label %404, label %416

404:                                              ; preds = %398
  %405 = load i32, ptr %12, align 4, !tbaa !9
  %406 = load ptr, ptr %11, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.perturbs, ptr %406, i32 0, i32 57
  %408 = load i32, ptr %407, align 8, !tbaa !32
  %409 = icmp eq i32 %405, %408
  br i1 %409, label %410, label %416

410:                                              ; preds = %404
  %411 = load i32, ptr %14, align 4, !tbaa !9
  %412 = load ptr, ptr %13, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.perturb_workspace, ptr %412, i32 0, i32 7
  store i32 %411, ptr %413, align 4, !tbaa !51
  %414 = load i32, ptr %14, align 4, !tbaa !9
  %415 = add nsw i32 %414, 1
  store i32 %415, ptr %14, align 4, !tbaa !9
  br label %416

416:                                              ; preds = %410, %404, %398
  %417 = load i32, ptr %14, align 4, !tbaa !9
  %418 = load ptr, ptr %13, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.perturb_workspace, ptr %418, i32 0, i32 10
  store i32 %417, ptr %419, align 8, !tbaa !52
  %420 = load ptr, ptr %9, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.background, ptr %420, i32 0, i32 98
  %422 = load i32, ptr %421, align 4, !tbaa !53
  %423 = sext i32 %422 to i64
  %424 = mul i64 %423, 8
  %425 = call noalias ptr @malloc(i64 noundef %424) #5
  %426 = load ptr, ptr %13, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.perturb_workspace, ptr %426, i32 0, i32 11
  store ptr %425, ptr %427, align 8, !tbaa !54
  %428 = load ptr, ptr %13, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.perturb_workspace, ptr %428, i32 0, i32 11
  %430 = load ptr, ptr %429, align 8, !tbaa !54
  %431 = icmp eq ptr %430, null
  br i1 %431, label %432, label %445

432:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %433 = load ptr, ptr %9, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.background, ptr %433, i32 0, i32 98
  %435 = load i32, ptr %434, align 4, !tbaa !53
  %436 = sext i32 %435 to i64
  %437 = mul i64 %436, 8
  %438 = trunc i64 %437 to i32
  store i32 %438, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %21) #4
  %439 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  %440 = load i32, ptr %20, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %439, ptr noundef @.str.4, ptr noundef @.str.184, i32 noundef %440)
  %441 = load ptr, ptr %11, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.perturbs, ptr %441, i32 0, i32 186
  %443 = getelementptr inbounds [2048 x i8], ptr %442, i64 0, i64 0
  %444 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %443, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2568, ptr noundef %444)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %21) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %828

445:                                              ; preds = %416
  %446 = load ptr, ptr %10, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.thermo, ptr %446, i32 0, i32 61
  %448 = load i32, ptr %447, align 4, !tbaa !55
  %449 = sext i32 %448 to i64
  %450 = mul i64 %449, 8
  %451 = call noalias ptr @malloc(i64 noundef %450) #5
  %452 = load ptr, ptr %13, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.perturb_workspace, ptr %452, i32 0, i32 12
  store ptr %451, ptr %453, align 8, !tbaa !57
  %454 = load ptr, ptr %13, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.perturb_workspace, ptr %454, i32 0, i32 12
  %456 = load ptr, ptr %455, align 8, !tbaa !57
  %457 = icmp eq ptr %456, null
  br i1 %457, label %458, label %471

458:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %459 = load ptr, ptr %10, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.thermo, ptr %459, i32 0, i32 61
  %461 = load i32, ptr %460, align 4, !tbaa !55
  %462 = sext i32 %461 to i64
  %463 = mul i64 %462, 8
  %464 = trunc i64 %463 to i32
  store i32 %464, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %23) #4
  %465 = getelementptr inbounds [2048 x i8], ptr %23, i64 0, i64 0
  %466 = load i32, ptr %22, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %465, ptr noundef @.str.4, ptr noundef @.str.185, i32 noundef %466)
  %467 = load ptr, ptr %11, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.perturbs, ptr %467, i32 0, i32 186
  %469 = getelementptr inbounds [2048 x i8], ptr %468, i64 0, i64 0
  %470 = getelementptr inbounds [2048 x i8], ptr %23, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %469, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2569, ptr noundef %470)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %23) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %828

471:                                              ; preds = %445
  %472 = load ptr, ptr %13, align 8, !tbaa !5
  %473 = getelementptr inbounds %struct.perturb_workspace, ptr %472, i32 0, i32 10
  %474 = load i32, ptr %473, align 8, !tbaa !52
  %475 = sext i32 %474 to i64
  %476 = mul i64 %475, 8
  %477 = call noalias ptr @malloc(i64 noundef %476) #5
  %478 = load ptr, ptr %13, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.perturb_workspace, ptr %478, i32 0, i32 13
  store ptr %477, ptr %479, align 8, !tbaa !58
  %480 = load ptr, ptr %13, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.perturb_workspace, ptr %480, i32 0, i32 13
  %482 = load ptr, ptr %481, align 8, !tbaa !58
  %483 = icmp eq ptr %482, null
  br i1 %483, label %484, label %497

484:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %485 = load ptr, ptr %13, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.perturb_workspace, ptr %485, i32 0, i32 10
  %487 = load i32, ptr %486, align 8, !tbaa !52
  %488 = sext i32 %487 to i64
  %489 = mul i64 %488, 8
  %490 = trunc i64 %489 to i32
  store i32 %490, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %25) #4
  %491 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  %492 = load i32, ptr %24, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %491, ptr noundef @.str.4, ptr noundef @.str.186, i32 noundef %492)
  %493 = load ptr, ptr %11, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.perturbs, ptr %493, i32 0, i32 186
  %495 = getelementptr inbounds [2048 x i8], ptr %494, i64 0, i64 0
  %496 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %495, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2570, ptr noundef %496)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %25) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %828

497:                                              ; preds = %471
  store i32 0, ptr %15, align 4, !tbaa !9
  %498 = load i32, ptr %15, align 4, !tbaa !9
  %499 = load ptr, ptr %13, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.perturb_workspace, ptr %499, i32 0, i32 49
  store i32 %498, ptr %500, align 8, !tbaa !59
  %501 = load i32, ptr %15, align 4, !tbaa !9
  %502 = add nsw i32 %501, 1
  store i32 %502, ptr %15, align 4, !tbaa !9
  %503 = load i32, ptr %15, align 4, !tbaa !9
  %504 = load ptr, ptr %13, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.perturb_workspace, ptr %504, i32 0, i32 50
  store i32 %503, ptr %505, align 4, !tbaa !60
  %506 = load i32, ptr %15, align 4, !tbaa !9
  %507 = add nsw i32 %506, 1
  store i32 %507, ptr %15, align 4, !tbaa !9
  %508 = load ptr, ptr %11, align 8, !tbaa !5
  %509 = getelementptr inbounds %struct.perturbs, ptr %508, i32 0, i32 2
  %510 = load i16, ptr %509, align 4, !tbaa !11
  %511 = sext i16 %510 to i32
  %512 = icmp eq i32 %511, 1
  br i1 %512, label %513, label %564

513:                                              ; preds = %497
  %514 = load i32, ptr %12, align 4, !tbaa !9
  %515 = load ptr, ptr %11, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.perturbs, ptr %515, i32 0, i32 56
  %517 = load i32, ptr %516, align 4, !tbaa !15
  %518 = icmp eq i32 %514, %517
  br i1 %518, label %519, label %564

519:                                              ; preds = %513
  %520 = load ptr, ptr %9, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.background, ptr %520, i32 0, i32 126
  %522 = load i16, ptr %521, align 2, !tbaa !21
  %523 = icmp ne i16 %522, 0
  br i1 %523, label %524, label %530

524:                                              ; preds = %519
  %525 = load i32, ptr %15, align 4, !tbaa !9
  %526 = load ptr, ptr %13, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.perturb_workspace, ptr %526, i32 0, i32 53
  store i32 %525, ptr %527, align 8, !tbaa !61
  %528 = load i32, ptr %15, align 4, !tbaa !9
  %529 = add nsw i32 %528, 1
  store i32 %529, ptr %15, align 4, !tbaa !9
  br label %530

530:                                              ; preds = %524, %519
  %531 = load ptr, ptr %9, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.background, ptr %531, i32 0, i32 123
  %533 = load i16, ptr %532, align 4, !tbaa !27
  %534 = icmp ne i16 %533, 0
  br i1 %534, label %535, label %541

535:                                              ; preds = %530
  %536 = load i32, ptr %15, align 4, !tbaa !9
  %537 = load ptr, ptr %13, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.perturb_workspace, ptr %537, i32 0, i32 54
  store i32 %536, ptr %538, align 4, !tbaa !62
  %539 = load i32, ptr %15, align 4, !tbaa !9
  %540 = add nsw i32 %539, 1
  store i32 %540, ptr %15, align 4, !tbaa !9
  br label %541

541:                                              ; preds = %535, %530
  %542 = load ptr, ptr %9, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.background, ptr %542, i32 0, i32 128
  %544 = load i16, ptr %543, align 2, !tbaa !63
  %545 = icmp ne i16 %544, 0
  br i1 %545, label %546, label %552

546:                                              ; preds = %541
  %547 = load i32, ptr %15, align 4, !tbaa !9
  %548 = load ptr, ptr %13, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.perturb_workspace, ptr %548, i32 0, i32 51
  store i32 %547, ptr %549, align 8, !tbaa !64
  %550 = load i32, ptr %15, align 4, !tbaa !9
  %551 = add nsw i32 %550, 1
  store i32 %551, ptr %15, align 4, !tbaa !9
  br label %552

552:                                              ; preds = %546, %541
  %553 = load ptr, ptr %9, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.background, ptr %553, i32 0, i32 127
  %555 = load i16, ptr %554, align 4, !tbaa !24
  %556 = icmp ne i16 %555, 0
  br i1 %556, label %557, label %563

557:                                              ; preds = %552
  %558 = load i32, ptr %15, align 4, !tbaa !9
  %559 = load ptr, ptr %13, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.perturb_workspace, ptr %559, i32 0, i32 52
  store i32 %558, ptr %560, align 4, !tbaa !65
  %561 = load i32, ptr %15, align 4, !tbaa !9
  %562 = add nsw i32 %561, 1
  store i32 %562, ptr %15, align 4, !tbaa !9
  br label %563

563:                                              ; preds = %557, %552
  br label %564

564:                                              ; preds = %563, %513, %497
  %565 = load i32, ptr %15, align 4, !tbaa !9
  %566 = load ptr, ptr %13, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.perturb_workspace, ptr %566, i32 0, i32 55
  store i32 %565, ptr %567, align 8, !tbaa !66
  %568 = load ptr, ptr %13, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.perturb_workspace, ptr %568, i32 0, i32 55
  %570 = load i32, ptr %569, align 8, !tbaa !66
  %571 = icmp sgt i32 %570, 0
  br i1 %571, label %572, label %599

572:                                              ; preds = %564
  %573 = load ptr, ptr %13, align 8, !tbaa !5
  %574 = getelementptr inbounds %struct.perturb_workspace, ptr %573, i32 0, i32 55
  %575 = load i32, ptr %574, align 8, !tbaa !66
  %576 = sext i32 %575 to i64
  %577 = mul i64 %576, 4
  %578 = call noalias ptr @malloc(i64 noundef %577) #5
  %579 = load ptr, ptr %13, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.perturb_workspace, ptr %579, i32 0, i32 56
  store ptr %578, ptr %580, align 8, !tbaa !67
  %581 = load ptr, ptr %13, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.perturb_workspace, ptr %581, i32 0, i32 56
  %583 = load ptr, ptr %582, align 8, !tbaa !67
  %584 = icmp eq ptr %583, null
  br i1 %584, label %585, label %598

585:                                              ; preds = %572
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %586 = load ptr, ptr %13, align 8, !tbaa !5
  %587 = getelementptr inbounds %struct.perturb_workspace, ptr %586, i32 0, i32 55
  %588 = load i32, ptr %587, align 8, !tbaa !66
  %589 = sext i32 %588 to i64
  %590 = mul i64 %589, 4
  %591 = trunc i64 %590 to i32
  store i32 %591, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #4
  %592 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  %593 = load i32, ptr %26, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %592, ptr noundef @.str.4, ptr noundef @.str.187, i32 noundef %593)
  %594 = load ptr, ptr %11, align 8, !tbaa !5
  %595 = getelementptr inbounds %struct.perturbs, ptr %594, i32 0, i32 186
  %596 = getelementptr inbounds [2048 x i8], ptr %595, i64 0, i64 0
  %597 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %596, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2590, ptr noundef %597)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %828

598:                                              ; preds = %572
  br label %599

599:                                              ; preds = %598, %564
  %600 = load ptr, ptr %11, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.perturbs, ptr %600, i32 0, i32 2
  %602 = load i16, ptr %601, align 4, !tbaa !11
  %603 = sext i16 %602 to i32
  %604 = icmp eq i32 %603, 1
  br i1 %604, label %605, label %688

605:                                              ; preds = %599
  %606 = load i32, ptr %12, align 4, !tbaa !9
  %607 = load ptr, ptr %11, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.perturbs, ptr %607, i32 0, i32 56
  %609 = load i32, ptr %608, align 4, !tbaa !15
  %610 = icmp eq i32 %606, %609
  br i1 %610, label %611, label %688

611:                                              ; preds = %605
  %612 = load ptr, ptr %13, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.perturb_workspace, ptr %612, i32 0, i32 56
  %614 = load ptr, ptr %613, align 8, !tbaa !67
  %615 = load ptr, ptr %13, align 8, !tbaa !5
  %616 = getelementptr inbounds %struct.perturb_workspace, ptr %615, i32 0, i32 49
  %617 = load i32, ptr %616, align 8, !tbaa !59
  %618 = sext i32 %617 to i64
  %619 = getelementptr inbounds i32, ptr %614, i64 %618
  store i32 0, ptr %619, align 4, !tbaa !9
  %620 = load ptr, ptr %13, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.perturb_workspace, ptr %620, i32 0, i32 56
  %622 = load ptr, ptr %621, align 8, !tbaa !67
  %623 = load ptr, ptr %13, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.perturb_workspace, ptr %623, i32 0, i32 50
  %625 = load i32, ptr %624, align 4, !tbaa !60
  %626 = sext i32 %625 to i64
  %627 = getelementptr inbounds i32, ptr %622, i64 %626
  store i32 0, ptr %627, align 4, !tbaa !9
  %628 = load ptr, ptr %9, align 8, !tbaa !5
  %629 = getelementptr inbounds %struct.background, ptr %628, i32 0, i32 127
  %630 = load i16, ptr %629, align 4, !tbaa !24
  %631 = sext i16 %630 to i32
  %632 = icmp eq i32 %631, 1
  br i1 %632, label %633, label %642

633:                                              ; preds = %611
  %634 = load ptr, ptr %13, align 8, !tbaa !5
  %635 = getelementptr inbounds %struct.perturb_workspace, ptr %634, i32 0, i32 56
  %636 = load ptr, ptr %635, align 8, !tbaa !67
  %637 = load ptr, ptr %13, align 8, !tbaa !5
  %638 = getelementptr inbounds %struct.perturb_workspace, ptr %637, i32 0, i32 52
  %639 = load i32, ptr %638, align 4, !tbaa !65
  %640 = sext i32 %639 to i64
  %641 = getelementptr inbounds i32, ptr %636, i64 %640
  store i32 0, ptr %641, align 4, !tbaa !9
  br label %642

642:                                              ; preds = %633, %611
  %643 = load ptr, ptr %9, align 8, !tbaa !5
  %644 = getelementptr inbounds %struct.background, ptr %643, i32 0, i32 128
  %645 = load i16, ptr %644, align 2, !tbaa !63
  %646 = sext i16 %645 to i32
  %647 = icmp eq i32 %646, 1
  br i1 %647, label %648, label %657

648:                                              ; preds = %642
  %649 = load ptr, ptr %13, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.perturb_workspace, ptr %649, i32 0, i32 56
  %651 = load ptr, ptr %650, align 8, !tbaa !67
  %652 = load ptr, ptr %13, align 8, !tbaa !5
  %653 = getelementptr inbounds %struct.perturb_workspace, ptr %652, i32 0, i32 51
  %654 = load i32, ptr %653, align 8, !tbaa !64
  %655 = sext i32 %654 to i64
  %656 = getelementptr inbounds i32, ptr %651, i64 %655
  store i32 0, ptr %656, align 4, !tbaa !9
  br label %657

657:                                              ; preds = %648, %642
  %658 = load ptr, ptr %9, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.background, ptr %658, i32 0, i32 126
  %660 = load i16, ptr %659, align 2, !tbaa !21
  %661 = sext i16 %660 to i32
  %662 = icmp eq i32 %661, 1
  br i1 %662, label %663, label %672

663:                                              ; preds = %657
  %664 = load ptr, ptr %13, align 8, !tbaa !5
  %665 = getelementptr inbounds %struct.perturb_workspace, ptr %664, i32 0, i32 56
  %666 = load ptr, ptr %665, align 8, !tbaa !67
  %667 = load ptr, ptr %13, align 8, !tbaa !5
  %668 = getelementptr inbounds %struct.perturb_workspace, ptr %667, i32 0, i32 53
  %669 = load i32, ptr %668, align 8, !tbaa !61
  %670 = sext i32 %669 to i64
  %671 = getelementptr inbounds i32, ptr %666, i64 %670
  store i32 0, ptr %671, align 4, !tbaa !9
  br label %672

672:                                              ; preds = %663, %657
  %673 = load ptr, ptr %9, align 8, !tbaa !5
  %674 = getelementptr inbounds %struct.background, ptr %673, i32 0, i32 123
  %675 = load i16, ptr %674, align 4, !tbaa !27
  %676 = sext i16 %675 to i32
  %677 = icmp eq i32 %676, 1
  br i1 %677, label %678, label %687

678:                                              ; preds = %672
  %679 = load ptr, ptr %13, align 8, !tbaa !5
  %680 = getelementptr inbounds %struct.perturb_workspace, ptr %679, i32 0, i32 56
  %681 = load ptr, ptr %680, align 8, !tbaa !67
  %682 = load ptr, ptr %13, align 8, !tbaa !5
  %683 = getelementptr inbounds %struct.perturb_workspace, ptr %682, i32 0, i32 54
  %684 = load i32, ptr %683, align 4, !tbaa !62
  %685 = sext i32 %684 to i64
  %686 = getelementptr inbounds i32, ptr %681, i64 %685
  store i32 0, ptr %686, align 4, !tbaa !9
  br label %687

687:                                              ; preds = %678, %672
  br label %688

688:                                              ; preds = %687, %605, %599
  %689 = load ptr, ptr %11, align 8, !tbaa !5
  %690 = getelementptr inbounds %struct.perturbs, ptr %689, i32 0, i32 4
  %691 = load i16, ptr %690, align 8, !tbaa !31
  %692 = sext i16 %691 to i32
  %693 = icmp eq i32 %692, 1
  br i1 %693, label %694, label %717

694:                                              ; preds = %688
  %695 = load i32, ptr %12, align 4, !tbaa !9
  %696 = load ptr, ptr %11, align 8, !tbaa !5
  %697 = getelementptr inbounds %struct.perturbs, ptr %696, i32 0, i32 57
  %698 = load i32, ptr %697, align 8, !tbaa !32
  %699 = icmp eq i32 %695, %698
  br i1 %699, label %700, label %717

700:                                              ; preds = %694
  %701 = load ptr, ptr %13, align 8, !tbaa !5
  %702 = getelementptr inbounds %struct.perturb_workspace, ptr %701, i32 0, i32 56
  %703 = load ptr, ptr %702, align 8, !tbaa !67
  %704 = load ptr, ptr %13, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct.perturb_workspace, ptr %704, i32 0, i32 49
  %706 = load i32, ptr %705, align 8, !tbaa !59
  %707 = sext i32 %706 to i64
  %708 = getelementptr inbounds i32, ptr %703, i64 %707
  store i32 0, ptr %708, align 4, !tbaa !9
  %709 = load ptr, ptr %13, align 8, !tbaa !5
  %710 = getelementptr inbounds %struct.perturb_workspace, ptr %709, i32 0, i32 56
  %711 = load ptr, ptr %710, align 8, !tbaa !67
  %712 = load ptr, ptr %13, align 8, !tbaa !5
  %713 = getelementptr inbounds %struct.perturb_workspace, ptr %712, i32 0, i32 50
  %714 = load i32, ptr %713, align 4, !tbaa !60
  %715 = sext i32 %714 to i64
  %716 = getelementptr inbounds i32, ptr %711, i64 %715
  store i32 0, ptr %716, align 4, !tbaa !9
  br label %717

717:                                              ; preds = %700, %694, %688
  %718 = load ptr, ptr %11, align 8, !tbaa !5
  %719 = getelementptr inbounds %struct.perturbs, ptr %718, i32 0, i32 2
  %720 = load i16, ptr %719, align 4, !tbaa !11
  %721 = sext i16 %720 to i32
  %722 = icmp eq i32 %721, 1
  br i1 %722, label %723, label %827

723:                                              ; preds = %717
  %724 = load i32, ptr %12, align 4, !tbaa !9
  %725 = load ptr, ptr %11, align 8, !tbaa !5
  %726 = getelementptr inbounds %struct.perturbs, ptr %725, i32 0, i32 56
  %727 = load i32, ptr %726, align 4, !tbaa !15
  %728 = icmp eq i32 %724, %727
  br i1 %728, label %729, label %827

729:                                              ; preds = %723
  %730 = load ptr, ptr %11, align 8, !tbaa !5
  %731 = getelementptr inbounds %struct.perturbs, ptr %730, i32 0, i32 20
  %732 = load i16, ptr %731, align 4, !tbaa !68
  %733 = sext i16 %732 to i32
  %734 = icmp eq i32 %733, 1
  br i1 %734, label %747, label %735

735:                                              ; preds = %729
  %736 = load ptr, ptr %11, align 8, !tbaa !5
  %737 = getelementptr inbounds %struct.perturbs, ptr %736, i32 0, i32 21
  %738 = load i16, ptr %737, align 2, !tbaa !69
  %739 = sext i16 %738 to i32
  %740 = icmp eq i32 %739, 1
  br i1 %740, label %747, label %741

741:                                              ; preds = %735
  %742 = load ptr, ptr %11, align 8, !tbaa !5
  %743 = getelementptr inbounds %struct.perturbs, ptr %742, i32 0, i32 69
  %744 = load i16, ptr %743, align 4, !tbaa !70
  %745 = sext i16 %744 to i32
  %746 = icmp eq i32 %745, 1
  br i1 %746, label %747, label %826

747:                                              ; preds = %741, %735, %729
  %748 = load ptr, ptr %9, align 8, !tbaa !5
  %749 = getelementptr inbounds %struct.background, ptr %748, i32 0, i32 29
  %750 = load i32, ptr %749, align 8, !tbaa !71
  %751 = sext i32 %750 to i64
  %752 = mul i64 %751, 8
  %753 = call noalias ptr @malloc(i64 noundef %752) #5
  %754 = load ptr, ptr %13, align 8, !tbaa !5
  %755 = getelementptr inbounds %struct.perturb_workspace, ptr %754, i32 0, i32 32
  store ptr %753, ptr %755, align 8, !tbaa !72
  %756 = load ptr, ptr %13, align 8, !tbaa !5
  %757 = getelementptr inbounds %struct.perturb_workspace, ptr %756, i32 0, i32 32
  %758 = load ptr, ptr %757, align 8, !tbaa !72
  %759 = icmp eq ptr %758, null
  br i1 %759, label %760, label %773

760:                                              ; preds = %747
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %761 = load ptr, ptr %9, align 8, !tbaa !5
  %762 = getelementptr inbounds %struct.background, ptr %761, i32 0, i32 29
  %763 = load i32, ptr %762, align 8, !tbaa !71
  %764 = sext i32 %763 to i64
  %765 = mul i64 %764, 8
  %766 = trunc i64 %765 to i32
  store i32 %766, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #4
  %767 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %768 = load i32, ptr %28, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %767, ptr noundef @.str.4, ptr noundef @.str.188, i32 noundef %768)
  %769 = load ptr, ptr %11, align 8, !tbaa !5
  %770 = getelementptr inbounds %struct.perturbs, ptr %769, i32 0, i32 186
  %771 = getelementptr inbounds [2048 x i8], ptr %770, i64 0, i64 0
  %772 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %771, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2626, ptr noundef %772)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %29) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %828

773:                                              ; preds = %747
  %774 = load ptr, ptr %9, align 8, !tbaa !5
  %775 = getelementptr inbounds %struct.background, ptr %774, i32 0, i32 29
  %776 = load i32, ptr %775, align 8, !tbaa !71
  %777 = sext i32 %776 to i64
  %778 = mul i64 %777, 8
  %779 = call noalias ptr @malloc(i64 noundef %778) #5
  %780 = load ptr, ptr %13, align 8, !tbaa !5
  %781 = getelementptr inbounds %struct.perturb_workspace, ptr %780, i32 0, i32 33
  store ptr %779, ptr %781, align 8, !tbaa !73
  %782 = load ptr, ptr %13, align 8, !tbaa !5
  %783 = getelementptr inbounds %struct.perturb_workspace, ptr %782, i32 0, i32 33
  %784 = load ptr, ptr %783, align 8, !tbaa !73
  %785 = icmp eq ptr %784, null
  br i1 %785, label %786, label %799

786:                                              ; preds = %773
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %787 = load ptr, ptr %9, align 8, !tbaa !5
  %788 = getelementptr inbounds %struct.background, ptr %787, i32 0, i32 29
  %789 = load i32, ptr %788, align 8, !tbaa !71
  %790 = sext i32 %789 to i64
  %791 = mul i64 %790, 8
  %792 = trunc i64 %791 to i32
  store i32 %792, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #4
  %793 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %794 = load i32, ptr %30, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %793, ptr noundef @.str.4, ptr noundef @.str.189, i32 noundef %794)
  %795 = load ptr, ptr %11, align 8, !tbaa !5
  %796 = getelementptr inbounds %struct.perturbs, ptr %795, i32 0, i32 186
  %797 = getelementptr inbounds [2048 x i8], ptr %796, i64 0, i64 0
  %798 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %797, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2627, ptr noundef %798)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %828

799:                                              ; preds = %773
  %800 = load ptr, ptr %9, align 8, !tbaa !5
  %801 = getelementptr inbounds %struct.background, ptr %800, i32 0, i32 29
  %802 = load i32, ptr %801, align 8, !tbaa !71
  %803 = sext i32 %802 to i64
  %804 = mul i64 %803, 8
  %805 = call noalias ptr @malloc(i64 noundef %804) #5
  %806 = load ptr, ptr %13, align 8, !tbaa !5
  %807 = getelementptr inbounds %struct.perturb_workspace, ptr %806, i32 0, i32 34
  store ptr %805, ptr %807, align 8, !tbaa !74
  %808 = load ptr, ptr %13, align 8, !tbaa !5
  %809 = getelementptr inbounds %struct.perturb_workspace, ptr %808, i32 0, i32 34
  %810 = load ptr, ptr %809, align 8, !tbaa !74
  %811 = icmp eq ptr %810, null
  br i1 %811, label %812, label %825

812:                                              ; preds = %799
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %813 = load ptr, ptr %9, align 8, !tbaa !5
  %814 = getelementptr inbounds %struct.background, ptr %813, i32 0, i32 29
  %815 = load i32, ptr %814, align 8, !tbaa !71
  %816 = sext i32 %815 to i64
  %817 = mul i64 %816, 8
  %818 = trunc i64 %817 to i32
  store i32 %818, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #4
  %819 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %820 = load i32, ptr %32, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %819, ptr noundef @.str.4, ptr noundef @.str.190, i32 noundef %820)
  %821 = load ptr, ptr %11, align 8, !tbaa !5
  %822 = getelementptr inbounds %struct.perturbs, ptr %821, i32 0, i32 186
  %823 = getelementptr inbounds [2048 x i8], ptr %822, i64 0, i64 0
  %824 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %823, ptr noundef @.str.2, ptr noundef @__func__.perturb_workspace_init, i32 noundef 2628, ptr noundef %824)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  br label %828

825:                                              ; preds = %799
  br label %826

826:                                              ; preds = %825, %741
  br label %827

827:                                              ; preds = %826, %723, %717
  store i32 0, ptr %7, align 4
  store i32 1, ptr %19, align 4
  br label %828

828:                                              ; preds = %827, %812, %786, %760, %585, %484, %458, %432, %272
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %829 = load i32, ptr %7, align 4
  ret i32 %829
}

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 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 #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 }
attributes #5 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 4}
!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 = !{!12, !10, i64 2028}
!16 = !{!17, !10, i64 1552}
!17 = !{!"precision", !14, i64 0, !14, 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, !7, i64 104, !14, i64 360, !10, i64 368, !14, i64 376, !10, i64 384, !10, i64 388, !14, i64 392, !10, i64 400, !14, i64 408, !10, 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, !14, i64 504, !14, i64 512, !14, i64 520, !14, 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, !14, i64 616, !10, i64 624, !7, i64 628, !7, i64 884, !7, i64 1140, !14, i64 1400, !14, i64 1408, !14, i64 1416, !14, i64 1424, !14, i64 1432, !14, i64 1440, !14, i64 1448, !14, i64 1456, !14, i64 1464, !14, i64 1472, !14, i64 1480, !14, i64 1488, !14, i64 1496, !14, i64 1504, !14, i64 1512, !14, i64 1520, !10, i64 1528, !14, i64 1536, !14, i64 1544, !10, i64 1552, !10, i64 1556, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !14, i64 1584, !14, i64 1592, !14, i64 1600, !14, i64 1608, !14, i64 1616, !14, i64 1624, !14, i64 1632, !14, i64 1640, !10, i64 1648, !14, i64 1656, !14, i64 1664, !10, i64 1672, !14, i64 1680, !14, i64 1688, !10, i64 1696, !14, i64 1704, !10, i64 1712, !14, i64 1720, !14, i64 1728, !10, i64 1736, !14, i64 1744, !14, i64 1752, !14, i64 1760, !10, i64 1768, !14, i64 1776, !14, i64 1784, !14, i64 1792, !14, i64 1800, !14, i64 1808, !10, i64 1816, !14, i64 1824, !14, i64 1832, !14, i64 1840, !14, i64 1848, !14, i64 1856, !14, i64 1864, !14, i64 1872, !10, i64 1880, !14, i64 1888, !14, i64 1896, !14, i64 1904, !14, i64 1912, !14, i64 1920, !14, i64 1928, !14, i64 1936, !14, i64 1944, !14, i64 1952, !14, i64 1960, !14, i64 1968, !14, i64 1976, !14, i64 1984, !14, i64 1992, !14, i64 2000, !14, i64 2008, !14, i64 2016, !14, i64 2024, !14, i64 2032, !14, i64 2040, !14, i64 2048, !14, i64 2056, !14, i64 2064, !14, i64 2072, !14, i64 2080, !14, i64 2088, !14, i64 2096, !14, i64 2104, !14, i64 2112, !14, i64 2120, !14, i64 2128, !14, i64 2136, !14, i64 2144, !14, i64 2152, !14, i64 2160, !14, i64 2168, !14, i64 2176, !14, i64 2184, !14, i64 2192, !14, i64 2200, !14, i64 2208, !14, i64 2216, !14, i64 2224, !14, i64 2232, !14, i64 2240, !14, i64 2248, !10, i64 2256, !14, i64 2264, !14, i64 2272, !14, i64 2280, !14, i64 2288, !10, i64 2296, !14, i64 2304, !14, i64 2312, !10, i64 2320, !10, i64 2324, !10, i64 2328, !14, i64 2336, !14, i64 2344, !7, i64 2352}
!18 = !{!17, !10, i64 1556}
!19 = !{!20, !10, i64 376}
!20 = !{!"perturb_workspace", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, 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, !6, i64 216, !6, i64 224, !6, 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, !6, i64 312, !10, i64 320, !13, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !6, i64 368, !10, i64 376, !6, i64 384}
!21 = !{!22, !13, i64 738}
!22 = !{!"background", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !10, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !13, 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, !13, i64 176, !14, i64 184, !14, i64 192, !6, i64 200, !10, i64 208, !10, i64 212, !14, i64 216, !10, i64 224, !6, i64 232, !6, i64 240, !14, i64 248, !6, i64 256, !14, i64 264, !6, i64 272, !14, i64 280, !6, i64 288, !14, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !14, i64 328, !14, i64 336, !14, i64 344, !14, i64 352, !10, i64 360, !6, i64 368, !14, i64 376, !14, i64 384, !14, i64 392, !14, i64 400, !14, i64 408, !14, i64 416, !14, i64 424, !14, i64 432, !14, i64 440, !14, i64 448, !14, i64 456, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !13, i64 724, !13, i64 726, !13, i64 728, !13, i64 730, !13, i64 732, !13, i64 734, !13, i64 736, !13, i64 738, !13, i64 740, !13, i64 742, !13, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !13, i64 840, !13, i64 842, !13, i64 844, !13, i64 846, !13, i64 848, !13, i64 850, !7, i64 852, !13, i64 2900, !7, i64 2902}
!23 = !{!17, !10, i64 1564}
!24 = !{!22, !13, i64 740}
!25 = !{!12, !10, i64 2016}
!26 = !{!17, !10, i64 1568}
!27 = !{!22, !13, i64 732}
!28 = !{!17, !10, i64 1572}
!29 = !{!22, !13, i64 728}
!30 = !{!17, !10, i64 1560}
!31 = !{!12, !13, i64 8}
!32 = !{!12, !10, i64 2032}
!33 = !{!17, !10, i64 1576}
!34 = !{!17, !10, i64 1580}
!35 = !{!20, !6, i64 384}
!36 = !{!14, !14, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!12, !10, i64 2024}
!40 = !{!20, !10, i64 0}
!41 = !{!20, !10, i64 4}
!42 = !{!20, !10, i64 8}
!43 = !{!20, !10, i64 12}
!44 = !{!20, !10, i64 16}
!45 = !{!20, !10, i64 20}
!46 = !{!20, !10, i64 24}
!47 = !{!12, !13, i64 6}
!48 = !{!12, !10, i64 2036}
!49 = !{!20, !10, i64 32}
!50 = !{!20, !10, i64 36}
!51 = !{!20, !10, i64 28}
!52 = !{!20, !10, i64 40}
!53 = !{!22, !10, i64 620}
!54 = !{!20, !6, i64 48}
!55 = !{!56, !10, i64 372}
!56 = !{!"thermo", !14, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !14, i64 24, !14, i64 32, !13, i64 40, !13, i64 42, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !10, i64 80, !6, i64 88, !6, i64 96, !14, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !14, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !14, i64 168, !13, 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, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !14, 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, !14, i64 504, !14, i64 512, !14, i64 520, !14, 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, !13, i64 600, !13, i64 602, !13, i64 604, !7, i64 606}
!57 = !{!20, !6, i64 56}
!58 = !{!20, !6, i64 64}
!59 = !{!20, !10, i64 336}
!60 = !{!20, !10, i64 340}
!61 = !{!20, !10, i64 352}
!62 = !{!20, !10, i64 356}
!63 = !{!22, !13, i64 742}
!64 = !{!20, !10, i64 344}
!65 = !{!20, !10, i64 348}
!66 = !{!20, !10, i64 360}
!67 = !{!20, !6, i64 368}
!68 = !{!12, !13, i64 44}
!69 = !{!12, !13, i64 46}
!70 = !{!12, !13, i64 2084}
!71 = !{!22, !10, i64 224}
!72 = !{!20, !6, i64 216}
!73 = !{!20, !6, i64 224}
!74 = !{!20, !6, i64 232}


; 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.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [9 x i8], align 1
@__func__.perturb_workspace_init = external hidden unnamed_addr constant [23 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [16 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 allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @perturb_workspace_init(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4, ptr nocapture noundef %5) local_unnamed_addr #3 {
  %7 = alloca [2048 x i8], align 16
  %8 = alloca [2048 x i8], align 16
  %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 = getelementptr inbounds i8, ptr %3, i64 4
  %16 = load i16, ptr %15, align 4, !tbaa !5
  %17 = icmp eq i16 %16, 1
  br i1 %17, label %18, label %62

18:                                               ; preds = %6
  %19 = getelementptr inbounds i8, ptr %3, i64 2028
  %20 = load i32, ptr %19, align 4, !tbaa !13
  %21 = icmp eq i32 %20, %4
  br i1 %21, label %22, label %62

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %0, i64 1552
  %24 = load i32, ptr %23, align 8, !tbaa !14
  %25 = getelementptr inbounds i8, ptr %0, i64 1556
  %26 = load i32, ptr %25, align 4, !tbaa !16
  %. = tail call i32 @llvm.smax.i32(i32 %24, i32 %26)
  %27 = getelementptr inbounds i8, ptr %5, i64 376
  store i32 %., ptr %27, align 8, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %1, i64 738
  %29 = load i16, ptr %28, align 2, !tbaa !19
  %30 = icmp eq i16 %29, 1
  br i1 %30, label %31, label %34

31:                                               ; preds = %22
  %32 = getelementptr inbounds i8, ptr %0, i64 1564
  %33 = load i32, ptr %32, align 4, !tbaa !21
  %.. = tail call i32 @llvm.smax.i32(i32 %., i32 %33)
  store i32 %.., ptr %27, align 8, !tbaa !17
  br label %34

34:                                               ; preds = %31, %22
  %35 = phi i32 [ %.., %31 ], [ %., %22 ]
  %36 = getelementptr inbounds i8, ptr %1, i64 740
  %37 = load i16, ptr %36, align 4, !tbaa !22
  %38 = icmp eq i16 %37, 1
  br i1 %38, label %39, label %46

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %3, i64 2016
  %41 = load i32, ptr %40, align 8, !tbaa !23
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %46

43:                                               ; preds = %39
  %44 = getelementptr inbounds i8, ptr %0, i64 1568
  %45 = load i32, ptr %44, align 8, !tbaa !24
  %.237 = tail call i32 @llvm.smax.i32(i32 %35, i32 %45)
  store i32 %.237, ptr %27, align 8, !tbaa !17
  br label %46

46:                                               ; preds = %43, %39, %34
  %47 = phi i32 [ %.237, %43 ], [ %35, %39 ], [ %35, %34 ]
  %48 = getelementptr inbounds i8, ptr %1, i64 732
  %49 = load i16, ptr %48, align 4, !tbaa !25
  %50 = icmp eq i16 %49, 1
  br i1 %50, label %51, label %54

51:                                               ; preds = %46
  %52 = getelementptr inbounds i8, ptr %0, i64 1572
  %53 = load i32, ptr %52, align 4, !tbaa !26
  %.238 = tail call i32 @llvm.smax.i32(i32 %47, i32 %53)
  store i32 %.238, ptr %27, align 8, !tbaa !17
  br label %54

54:                                               ; preds = %51, %46
  %55 = phi i32 [ %.238, %51 ], [ %47, %46 ]
  %56 = getelementptr inbounds i8, ptr %1, i64 728
  %57 = load i16, ptr %56, align 8, !tbaa !27
  %58 = icmp eq i16 %57, 1
  br i1 %58, label %59, label %62

59:                                               ; preds = %54
  %60 = getelementptr inbounds i8, ptr %0, i64 1560
  %61 = load i32, ptr %60, align 8, !tbaa !28
  %.239 = tail call i32 @llvm.smax.i32(i32 %55, i32 %61)
  store i32 %.239, ptr %27, align 8, !tbaa !17
  br label %62

62:                                               ; preds = %54, %59, %18, %6
  %63 = getelementptr inbounds i8, ptr %3, i64 8
  %64 = load i16, ptr %63, align 8, !tbaa !29
  %65 = icmp eq i16 %64, 1
  br i1 %65, label %66, label %90

66:                                               ; preds = %62
  %67 = getelementptr inbounds i8, ptr %3, i64 2032
  %68 = load i32, ptr %67, align 8, !tbaa !30
  %69 = icmp eq i32 %68, %4
  br i1 %69, label %70, label %90

70:                                               ; preds = %66
  %71 = getelementptr inbounds i8, ptr %0, i64 1576
  %72 = load i32, ptr %71, align 8, !tbaa !31
  %73 = getelementptr inbounds i8, ptr %0, i64 1580
  %74 = load i32, ptr %73, align 4, !tbaa !32
  %.240 = tail call i32 @llvm.smax.i32(i32 %72, i32 %74)
  %75 = getelementptr inbounds i8, ptr %5, i64 376
  store i32 %.240, ptr %75, align 8, !tbaa !17
  %76 = getelementptr inbounds i8, ptr %1, i64 738
  %77 = load i16, ptr %76, align 2, !tbaa !19
  %78 = icmp eq i16 %77, 1
  br i1 %78, label %79, label %82

79:                                               ; preds = %70
  %80 = getelementptr inbounds i8, ptr %0, i64 1564
  %81 = load i32, ptr %80, align 4, !tbaa !21
  %..240 = tail call i32 @llvm.smax.i32(i32 %.240, i32 %81)
  store i32 %..240, ptr %75, align 8, !tbaa !17
  br label %82

82:                                               ; preds = %79, %70
  %83 = phi i32 [ %..240, %79 ], [ %.240, %70 ]
  %84 = getelementptr inbounds i8, ptr %1, i64 732
  %85 = load i16, ptr %84, align 4, !tbaa !25
  %86 = icmp eq i16 %85, 1
  br i1 %86, label %87, label %90

87:                                               ; preds = %82
  %88 = getelementptr inbounds i8, ptr %0, i64 1572
  %89 = load i32, ptr %88, align 4, !tbaa !26
  %.241 = tail call i32 @llvm.smax.i32(i32 %83, i32 %89)
  store i32 %.241, ptr %75, align 8, !tbaa !17
  br label %90

90:                                               ; preds = %82, %87, %66, %62
  %91 = getelementptr inbounds i8, ptr %5, i64 376
  %92 = load i32, ptr %91, align 8, !tbaa !17
  %93 = add i32 %92, 1
  %94 = sext i32 %93 to i64
  %95 = shl nsw i64 %94, 3
  %96 = tail call noalias ptr @malloc(i64 noundef %95) #5
  %97 = getelementptr inbounds i8, ptr %5, i64 384
  store ptr %96, ptr %97, align 8, !tbaa !33
  %98 = icmp eq ptr %96, null
  br i1 %98, label %102, label %.preheader

.preheader:                                       ; preds = %90
  %.not245 = icmp slt i32 %92, 0
  br i1 %.not245, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %wide.trip.count = zext i32 %93 to i64
  %min.iters.check = icmp ult i32 %93, 4
  br i1 %min.iters.check, label %.lr.ph.preheader248, label %vector.ph

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

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %99 = getelementptr inbounds double, ptr %96, i64 %index
  %100 = getelementptr inbounds i8, ptr %99, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %99, align 8, !tbaa !34
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %100, align 8, !tbaa !34
  %index.next = add nuw i64 %index, 4
  %101 = icmp eq i64 %index.next, %n.vec
  br i1 %101, label %middle.block, label %vector.body, !llvm.loop !35

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader248

102:                                              ; preds = %90
  %103 = shl i32 %92, 3
  %104 = add i32 %103, 8
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %7) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.183, i32 noundef %104) #6
  %105 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %105, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2504, ptr noundef nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %7) #6
  br label %305

.lr.ph:                                           ; preds = %.lr.ph.preheader248, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader248 ]
  %106 = getelementptr inbounds double, ptr %96, i64 %indvars.iv
  store double 1.000000e+00, ptr %106, align 8, !tbaa !34
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !39

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.preheader
  br i1 %17, label %107, label %118

107:                                              ; preds = %._crit_edge
  %108 = getelementptr inbounds i8, ptr %3, i64 2028
  %109 = load i32, ptr %108, align 4, !tbaa !13
  %110 = icmp eq i32 %109, %4
  br i1 %110, label %111, label %118

111:                                              ; preds = %107
  %112 = getelementptr inbounds i8, ptr %3, i64 2024
  %113 = load i32, ptr %112, align 8, !tbaa !40
  switch i32 %113, label %118 [
    i32 0, label %.thread
    i32 1, label %115
  ]

.thread:                                          ; preds = %111
  store i32 0, ptr %5, align 8, !tbaa !41
  %114 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 1, ptr %114, align 4, !tbaa !42
  br label %118

115:                                              ; preds = %111
  %116 = getelementptr inbounds i8, ptr %5, i64 8
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %116, align 8, !tbaa !43
  %117 = getelementptr inbounds i8, ptr %5, i64 24
  store i32 4, ptr %117, align 8, !tbaa !44
  br label %118

118:                                              ; preds = %111, %.thread, %115, %107, %._crit_edge
  %.1 = phi i32 [ 5, %115 ], [ 0, %107 ], [ 0, %._crit_edge ], [ 2, %.thread ], [ 0, %111 ]
  %119 = getelementptr inbounds i8, ptr %3, i64 6
  %120 = load i16, ptr %119, align 2, !tbaa !45
  %121 = icmp eq i16 %120, 1
  br i1 %121, label %122, label %134

122:                                              ; preds = %118
  %123 = getelementptr inbounds i8, ptr %3, i64 2036
  %124 = load i32, ptr %123, align 4, !tbaa !46
  %125 = icmp eq i32 %124, %4
  br i1 %125, label %126, label %134

126:                                              ; preds = %122
  %127 = getelementptr inbounds i8, ptr %3, i64 2024
  %128 = load i32, ptr %127, align 8, !tbaa !40
  switch i32 %128, label %134 [
    i32 0, label %.thread243
    i32 1, label %131
  ]

.thread243:                                       ; preds = %126
  %129 = getelementptr inbounds i8, ptr %5, i64 32
  store i32 %.1, ptr %129, align 8, !tbaa !47
  %130 = add nuw nsw i32 %.1, 1
  br label %134

131:                                              ; preds = %126
  %132 = getelementptr inbounds i8, ptr %5, i64 36
  store i32 %.1, ptr %132, align 4, !tbaa !48
  %133 = add nuw nsw i32 %.1, 1
  br label %134

134:                                              ; preds = %126, %.thread243, %131, %122, %118
  %.3 = phi i32 [ %133, %131 ], [ %.1, %122 ], [ %.1, %118 ], [ %130, %.thread243 ], [ %.1, %126 ]
  br i1 %65, label %135, label %142

135:                                              ; preds = %134
  %136 = getelementptr inbounds i8, ptr %3, i64 2032
  %137 = load i32, ptr %136, align 8, !tbaa !30
  %138 = icmp eq i32 %137, %4
  br i1 %138, label %139, label %142

139:                                              ; preds = %135
  %140 = getelementptr inbounds i8, ptr %5, i64 28
  store i32 %.3, ptr %140, align 4, !tbaa !49
  %141 = add nuw nsw i32 %.3, 1
  br label %142

142:                                              ; preds = %139, %135, %134
  %.4 = phi i32 [ %141, %139 ], [ %.3, %135 ], [ %.3, %134 ]
  %143 = getelementptr inbounds i8, ptr %5, i64 40
  store i32 %.4, ptr %143, align 8, !tbaa !50
  %144 = getelementptr inbounds i8, ptr %1, i64 620
  %145 = load i32, ptr %144, align 4, !tbaa !51
  %146 = sext i32 %145 to i64
  %147 = shl nsw i64 %146, 3
  %148 = tail call noalias ptr @malloc(i64 noundef %147) #5
  %149 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr %148, ptr %149, align 8, !tbaa !52
  %150 = icmp eq ptr %148, null
  br i1 %150, label %151, label %154

151:                                              ; preds = %142
  %152 = shl i32 %145, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.184, i32 noundef %152) #6
  %153 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %153, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2568, ptr noundef nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #6
  br label %305

154:                                              ; preds = %142
  %155 = getelementptr inbounds i8, ptr %2, i64 372
  %156 = load i32, ptr %155, align 4, !tbaa !53
  %157 = sext i32 %156 to i64
  %158 = shl nsw i64 %157, 3
  %159 = tail call noalias ptr @malloc(i64 noundef %158) #5
  %160 = getelementptr inbounds i8, ptr %5, i64 56
  store ptr %159, ptr %160, align 8, !tbaa !55
  %161 = icmp eq ptr %159, null
  br i1 %161, label %162, label %165

162:                                              ; preds = %154
  %163 = shl i32 %156, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.185, i32 noundef %163) #6
  %164 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %164, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2569, ptr noundef nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #6
  br label %305

165:                                              ; preds = %154
  %166 = zext nneg i32 %.4 to i64
  %167 = shl nuw nsw i64 %166, 3
  %168 = tail call noalias ptr @malloc(i64 noundef %167) #5
  %169 = getelementptr inbounds i8, ptr %5, i64 64
  store ptr %168, ptr %169, align 8, !tbaa !56
  %170 = icmp eq ptr %168, null
  br i1 %170, label %171, label %174

171:                                              ; preds = %165
  %172 = shl nuw nsw i32 %.4, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.186, i32 noundef %172) #6
  %173 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %173, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2570, ptr noundef nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #6
  br label %305

174:                                              ; preds = %165
  %175 = getelementptr inbounds i8, ptr %5, i64 336
  store i32 0, ptr %175, align 8, !tbaa !57
  %176 = getelementptr inbounds i8, ptr %5, i64 340
  store i32 1, ptr %176, align 4, !tbaa !58
  br i1 %17, label %177, label %204

177:                                              ; preds = %174
  %178 = getelementptr inbounds i8, ptr %3, i64 2028
  %179 = load i32, ptr %178, align 4, !tbaa !13
  %180 = icmp eq i32 %179, %4
  br i1 %180, label %181, label %204

181:                                              ; preds = %177
  %182 = getelementptr inbounds i8, ptr %1, i64 738
  %183 = load i16, ptr %182, align 2, !tbaa !19
  %.not233 = icmp eq i16 %183, 0
  br i1 %.not233, label %186, label %184

184:                                              ; preds = %181
  %185 = getelementptr inbounds i8, ptr %5, i64 352
  store i32 2, ptr %185, align 8, !tbaa !59
  br label %186

186:                                              ; preds = %184, %181
  %.0212 = phi i32 [ 3, %184 ], [ 2, %181 ]
  %187 = getelementptr inbounds i8, ptr %1, i64 732
  %188 = load i16, ptr %187, align 4, !tbaa !25
  %.not234 = icmp eq i16 %188, 0
  br i1 %.not234, label %192, label %189

189:                                              ; preds = %186
  %190 = getelementptr inbounds i8, ptr %5, i64 356
  store i32 %.0212, ptr %190, align 4, !tbaa !60
  %191 = add nuw nsw i32 %.0212, 1
  br label %192

192:                                              ; preds = %189, %186
  %.1213 = phi i32 [ %191, %189 ], [ %.0212, %186 ]
  %193 = getelementptr inbounds i8, ptr %1, i64 742
  %194 = load i16, ptr %193, align 2, !tbaa !61
  %.not235 = icmp eq i16 %194, 0
  br i1 %.not235, label %198, label %195

195:                                              ; preds = %192
  %196 = getelementptr inbounds i8, ptr %5, i64 344
  store i32 %.1213, ptr %196, align 8, !tbaa !62
  %197 = add nuw nsw i32 %.1213, 1
  br label %198

198:                                              ; preds = %195, %192
  %.2214 = phi i32 [ %197, %195 ], [ %.1213, %192 ]
  %199 = getelementptr inbounds i8, ptr %1, i64 740
  %200 = load i16, ptr %199, align 4, !tbaa !22
  %.not236 = icmp eq i16 %200, 0
  br i1 %.not236, label %204, label %201

201:                                              ; preds = %198
  %202 = getelementptr inbounds i8, ptr %5, i64 348
  store i32 %.2214, ptr %202, align 4, !tbaa !63
  %203 = add nuw nsw i32 %.2214, 1
  br label %204

204:                                              ; preds = %174, %177, %201, %198
  %.3215 = phi i32 [ %203, %201 ], [ %.2214, %198 ], [ 2, %177 ], [ 2, %174 ]
  %205 = getelementptr inbounds i8, ptr %5, i64 360
  store i32 %.3215, ptr %205, align 8, !tbaa !64
  %206 = zext nneg i32 %.3215 to i64
  %207 = shl nuw nsw i64 %206, 2
  %208 = tail call noalias ptr @malloc(i64 noundef %207) #5
  %209 = getelementptr inbounds i8, ptr %5, i64 368
  store ptr %208, ptr %209, align 8, !tbaa !65
  %210 = icmp eq ptr %208, null
  br i1 %210, label %211, label %214

211:                                              ; preds = %204
  %212 = shl nuw nsw i32 %.3215, 2
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.187, i32 noundef %212) #6
  %213 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %213, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2590, ptr noundef nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #6
  br label %305

214:                                              ; preds = %204
  br i1 %17, label %215, label %256

215:                                              ; preds = %214
  %216 = getelementptr inbounds i8, ptr %3, i64 2028
  %217 = load i32, ptr %216, align 4, !tbaa !13
  %218 = icmp eq i32 %217, %4
  br i1 %218, label %219, label %256

219:                                              ; preds = %215
  store i32 0, ptr %208, align 4, !tbaa !43
  %220 = getelementptr inbounds i8, ptr %208, i64 4
  store i32 0, ptr %220, align 4, !tbaa !43
  %221 = getelementptr inbounds i8, ptr %1, i64 740
  %222 = load i16, ptr %221, align 4, !tbaa !22
  %223 = icmp eq i16 %222, 1
  br i1 %223, label %224, label %229

224:                                              ; preds = %219
  %225 = getelementptr inbounds i8, ptr %5, i64 348
  %226 = load i32, ptr %225, align 4, !tbaa !63
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds i32, ptr %208, i64 %227
  store i32 0, ptr %228, align 4, !tbaa !43
  br label %229

229:                                              ; preds = %224, %219
  %230 = getelementptr inbounds i8, ptr %1, i64 742
  %231 = load i16, ptr %230, align 2, !tbaa !61
  %232 = icmp eq i16 %231, 1
  br i1 %232, label %233, label %238

233:                                              ; preds = %229
  %234 = getelementptr inbounds i8, ptr %5, i64 344
  %235 = load i32, ptr %234, align 8, !tbaa !62
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds i32, ptr %208, i64 %236
  store i32 0, ptr %237, align 4, !tbaa !43
  br label %238

238:                                              ; preds = %233, %229
  %239 = getelementptr inbounds i8, ptr %1, i64 738
  %240 = load i16, ptr %239, align 2, !tbaa !19
  %241 = icmp eq i16 %240, 1
  br i1 %241, label %242, label %247

242:                                              ; preds = %238
  %243 = getelementptr inbounds i8, ptr %5, i64 352
  %244 = load i32, ptr %243, align 8, !tbaa !59
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds i32, ptr %208, i64 %245
  store i32 0, ptr %246, align 4, !tbaa !43
  br label %247

247:                                              ; preds = %242, %238
  %248 = getelementptr inbounds i8, ptr %1, i64 732
  %249 = load i16, ptr %248, align 4, !tbaa !25
  %250 = icmp eq i16 %249, 1
  br i1 %250, label %251, label %256

251:                                              ; preds = %247
  %252 = getelementptr inbounds i8, ptr %5, i64 356
  %253 = load i32, ptr %252, align 4, !tbaa !60
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds i32, ptr %208, i64 %254
  store i32 0, ptr %255, align 4, !tbaa !43
  br label %256

256:                                              ; preds = %247, %251, %215, %214
  br i1 %65, label %257, label %263

257:                                              ; preds = %256
  %258 = getelementptr inbounds i8, ptr %3, i64 2032
  %259 = load i32, ptr %258, align 8, !tbaa !30
  %260 = icmp eq i32 %259, %4
  br i1 %260, label %261, label %263

261:                                              ; preds = %257
  store i32 0, ptr %208, align 4, !tbaa !43
  %262 = getelementptr inbounds i8, ptr %208, i64 4
  store i32 0, ptr %262, align 4, !tbaa !43
  br label %263

263:                                              ; preds = %261, %257, %256
  br i1 %17, label %264, label %305

264:                                              ; preds = %263
  %265 = getelementptr inbounds i8, ptr %3, i64 2028
  %266 = load i32, ptr %265, align 4, !tbaa !13
  %267 = icmp eq i32 %266, %4
  br i1 %267, label %268, label %305

268:                                              ; preds = %264
  %269 = getelementptr inbounds i8, ptr %3, i64 44
  %270 = load i16, ptr %269, align 4, !tbaa !66
  %271 = icmp eq i16 %270, 1
  br i1 %271, label %280, label %272

272:                                              ; preds = %268
  %273 = getelementptr inbounds i8, ptr %3, i64 46
  %274 = load i16, ptr %273, align 2, !tbaa !67
  %275 = icmp eq i16 %274, 1
  br i1 %275, label %280, label %276

276:                                              ; preds = %272
  %277 = getelementptr inbounds i8, ptr %3, i64 2084
  %278 = load i16, ptr %277, align 4, !tbaa !68
  %279 = icmp eq i16 %278, 1
  br i1 %279, label %280, label %305

280:                                              ; preds = %276, %272, %268
  %281 = getelementptr inbounds i8, ptr %1, i64 224
  %282 = load i32, ptr %281, align 8, !tbaa !69
  %283 = sext i32 %282 to i64
  %284 = shl nsw i64 %283, 3
  %285 = tail call noalias ptr @malloc(i64 noundef %284) #5
  %286 = getelementptr inbounds i8, ptr %5, i64 216
  store ptr %285, ptr %286, align 8, !tbaa !70
  %287 = icmp eq ptr %285, null
  br i1 %287, label %288, label %291

288:                                              ; preds = %280
  %289 = shl i32 %282, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.188, i32 noundef %289) #6
  %290 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %290, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2626, ptr noundef nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #6
  br label %305

291:                                              ; preds = %280
  %292 = tail call noalias ptr @malloc(i64 noundef %284) #5
  %293 = getelementptr inbounds i8, ptr %5, i64 224
  store ptr %292, ptr %293, align 8, !tbaa !71
  %294 = icmp eq ptr %292, null
  br i1 %294, label %295, label %298

295:                                              ; preds = %291
  %296 = shl i32 %282, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.189, i32 noundef %296) #6
  %297 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %297, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2627, ptr noundef nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #6
  br label %305

298:                                              ; preds = %291
  %299 = tail call noalias ptr @malloc(i64 noundef %284) #5
  %300 = getelementptr inbounds i8, ptr %5, i64 232
  store ptr %299, ptr %300, align 8, !tbaa !72
  %301 = icmp eq ptr %299, null
  br i1 %301, label %302, label %305

302:                                              ; preds = %298
  %303 = shl i32 %282, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.190, i32 noundef %303) #6
  %304 = getelementptr inbounds i8, ptr %3, i64 27610
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %304, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.perturb_workspace_init, i32 noundef 2628, ptr noundef nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #6
  br label %305

305:                                              ; preds = %263, %264, %298, %276, %302, %295, %288, %211, %171, %162, %151, %102
  %.0 = phi i32 [ 1, %102 ], [ 1, %151 ], [ 1, %162 ], [ 1, %171 ], [ 1, %211 ], [ 1, %288 ], [ 1, %295 ], [ 1, %302 ], [ 0, %276 ], [ 0, %298 ], [ 0, %264 ], [ 0, %263 ]
  ret i32 %.0
}

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

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 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind allocsize(0) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 4}
!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 = !{!6, !10, i64 2028}
!14 = !{!15, !10, i64 1552}
!15 = !{!"precision", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !8, i64 104, !11, i64 360, !10, i64 368, !11, i64 376, !10, i64 384, !10, i64 388, !11, i64 392, !10, i64 400, !11, i64 408, !10, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !10, i64 624, !8, i64 628, !8, i64 884, !8, i64 1140, !11, i64 1400, !11, i64 1408, !11, i64 1416, !11, i64 1424, !11, i64 1432, !11, i64 1440, !11, i64 1448, !11, i64 1456, !11, i64 1464, !11, i64 1472, !11, i64 1480, !11, i64 1488, !11, i64 1496, !11, i64 1504, !11, i64 1512, !11, i64 1520, !10, i64 1528, !11, i64 1536, !11, i64 1544, !10, i64 1552, !10, i64 1556, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !11, i64 1584, !11, i64 1592, !11, i64 1600, !11, i64 1608, !11, i64 1616, !11, i64 1624, !11, i64 1632, !11, i64 1640, !10, i64 1648, !11, i64 1656, !11, i64 1664, !10, i64 1672, !11, i64 1680, !11, i64 1688, !10, i64 1696, !11, i64 1704, !10, i64 1712, !11, i64 1720, !11, i64 1728, !10, i64 1736, !11, i64 1744, !11, i64 1752, !11, i64 1760, !10, i64 1768, !11, i64 1776, !11, i64 1784, !11, i64 1792, !11, i64 1800, !11, i64 1808, !10, i64 1816, !11, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !11, i64 1872, !10, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !11, i64 1912, !11, i64 1920, !11, i64 1928, !11, i64 1936, !11, i64 1944, !11, i64 1952, !11, i64 1960, !11, i64 1968, !11, i64 1976, !11, i64 1984, !11, i64 1992, !11, i64 2000, !11, i64 2008, !11, i64 2016, !11, i64 2024, !11, i64 2032, !11, i64 2040, !11, i64 2048, !11, i64 2056, !11, i64 2064, !11, i64 2072, !11, i64 2080, !11, i64 2088, !11, i64 2096, !11, i64 2104, !11, i64 2112, !11, i64 2120, !11, i64 2128, !11, i64 2136, !11, i64 2144, !11, i64 2152, !11, i64 2160, !11, i64 2168, !11, i64 2176, !11, i64 2184, !11, i64 2192, !11, i64 2200, !11, i64 2208, !11, i64 2216, !11, i64 2224, !11, i64 2232, !11, i64 2240, !11, i64 2248, !10, i64 2256, !11, i64 2264, !11, i64 2272, !11, i64 2280, !11, i64 2288, !10, i64 2296, !11, i64 2304, !11, i64 2312, !10, i64 2320, !10, i64 2324, !10, i64 2328, !11, i64 2336, !11, i64 2344, !8, i64 2352}
!16 = !{!15, !10, i64 1556}
!17 = !{!18, !10, i64 376}
!18 = !{!"perturb_workspace", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, 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, !12, i64 216, !12, i64 224, !12, 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, !12, i64 312, !10, i64 320, !7, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !12, i64 368, !10, i64 376, !12, i64 384}
!19 = !{!20, !7, i64 738}
!20 = !{!"background", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !10, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !7, 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, !7, i64 176, !11, i64 184, !11, i64 192, !12, i64 200, !10, i64 208, !10, i64 212, !11, i64 216, !10, i64 224, !12, i64 232, !12, i64 240, !11, i64 248, !12, i64 256, !11, i64 264, !12, i64 272, !11, i64 280, !12, i64 288, !11, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !10, i64 360, !12, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !7, i64 724, !7, i64 726, !7, i64 728, !7, i64 730, !7, i64 732, !7, i64 734, !7, i64 736, !7, i64 738, !7, i64 740, !7, i64 742, !7, i64 744, !12, i64 752, !12, i64 760, !12, i64 768, !12, i64 776, !12, i64 784, !12, i64 792, !12, i64 800, !12, i64 808, !12, i64 816, !12, i64 824, !12, i64 832, !7, i64 840, !7, i64 842, !7, i64 844, !7, i64 846, !7, i64 848, !7, i64 850, !8, i64 852, !7, i64 2900, !8, i64 2902}
!21 = !{!15, !10, i64 1564}
!22 = !{!20, !7, i64 740}
!23 = !{!6, !10, i64 2016}
!24 = !{!15, !10, i64 1568}
!25 = !{!20, !7, i64 732}
!26 = !{!15, !10, i64 1572}
!27 = !{!20, !7, i64 728}
!28 = !{!15, !10, i64 1560}
!29 = !{!6, !7, i64 8}
!30 = !{!6, !10, i64 2032}
!31 = !{!15, !10, i64 1576}
!32 = !{!15, !10, i64 1580}
!33 = !{!18, !12, i64 384}
!34 = !{!11, !11, i64 0}
!35 = distinct !{!35, !36, !37, !38}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!"llvm.loop.isvectorized", i32 1}
!38 = !{!"llvm.loop.unroll.runtime.disable"}
!39 = distinct !{!39, !36, !38, !37}
!40 = !{!6, !10, i64 2024}
!41 = !{!18, !10, i64 0}
!42 = !{!18, !10, i64 4}
!43 = !{!10, !10, i64 0}
!44 = !{!18, !10, i64 24}
!45 = !{!6, !7, i64 6}
!46 = !{!6, !10, i64 2036}
!47 = !{!18, !10, i64 32}
!48 = !{!18, !10, i64 36}
!49 = !{!18, !10, i64 28}
!50 = !{!18, !10, i64 40}
!51 = !{!20, !10, i64 620}
!52 = !{!18, !12, i64 48}
!53 = !{!54, !10, i64 372}
!54 = !{!"thermo", !11, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 42, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !10, i64 80, !12, i64 88, !12, i64 96, !11, i64 104, !10, i64 112, !12, i64 120, !12, i64 128, !11, i64 136, !10, i64 144, !12, i64 152, !12, i64 160, !11, i64 168, !7, 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, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !11, 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, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !7, i64 600, !7, i64 602, !7, i64 604, !8, i64 606}
!55 = !{!18, !12, i64 56}
!56 = !{!18, !12, i64 64}
!57 = !{!18, !10, i64 336}
!58 = !{!18, !10, i64 340}
!59 = !{!18, !10, i64 352}
!60 = !{!18, !10, i64 356}
!61 = !{!20, !7, i64 742}
!62 = !{!18, !10, i64 344}
!63 = !{!18, !10, i64 348}
!64 = !{!18, !10, i64 360}
!65 = !{!18, !12, i64 368}
!66 = !{!6, !7, i64 44}
!67 = !{!6, !7, i64 46}
!68 = !{!6, !7, i64 2084}
!69 = !{!20, !10, i64 224}
!70 = !{!18, !12, i64 216}
!71 = !{!18, !12, i64 224}
!72 = !{!18, !12, i64 232}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass