; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (arrays)

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

@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [32 x i8], align 1
@__func__.array_smooth_trg = external hidden unnamed_addr constant [17 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

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

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

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

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

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

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

34:                                               ; preds = %7
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  %36 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str.47, ptr noundef @__func__.array_smooth_trg, i32 noundef 2936) #7
  store i32 1, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %283

37:                                               ; preds = %7
  %38 = load i32, ptr %14, align 4, !tbaa !9
  %39 = mul nsw i32 2, %38
  %40 = add nsw i32 %39, 1
  %41 = sext i32 %40 to i64
  %42 = call noalias ptr @calloc(i64 noundef %41, i64 noundef 8) #9
  store ptr %42, ptr %22, align 8, !tbaa !5
  %43 = load ptr, ptr %22, align 8, !tbaa !5
  %44 = icmp eq ptr %43, null
  br i1 %44, label %45, label %50

45:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 8, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2048, ptr %25) #7
  %46 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  %47 = load i32, ptr %24, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %46, ptr noundef @.str.48, ptr noundef @.str.49, i32 noundef %47)
  %48 = load ptr, ptr %15, align 8, !tbaa !5
  %49 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %48, ptr noundef @.str.3, ptr noundef @__func__.array_smooth_trg, i32 noundef 2940, ptr noundef %49)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %25) #7
  store i32 1, ptr %8, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %283

50:                                               ; preds = %37
  %51 = load i32, ptr %14, align 4, !tbaa !9
  switch i32 %51, label %167 [
    i32 3, label %52
    i32 4, label %67
    i32 5, label %86
    i32 6, label %109
    i32 7, label %136
  ]

52:                                               ; preds = %50
  store double 2.100000e+01, ptr %21, align 8, !tbaa !11
  %53 = load ptr, ptr %22, align 8, !tbaa !5
  %54 = getelementptr inbounds double, ptr %53, i64 0
  store double -2.000000e+00, ptr %54, align 8, !tbaa !11
  %55 = load ptr, ptr %22, align 8, !tbaa !5
  %56 = getelementptr inbounds double, ptr %55, i64 1
  store double 3.000000e+00, ptr %56, align 8, !tbaa !11
  %57 = load ptr, ptr %22, align 8, !tbaa !5
  %58 = getelementptr inbounds double, ptr %57, i64 2
  store double 6.000000e+00, ptr %58, align 8, !tbaa !11
  %59 = load ptr, ptr %22, align 8, !tbaa !5
  %60 = getelementptr inbounds double, ptr %59, i64 3
  store double 7.000000e+00, ptr %60, align 8, !tbaa !11
  %61 = load ptr, ptr %22, align 8, !tbaa !5
  %62 = getelementptr inbounds double, ptr %61, i64 4
  store double 6.000000e+00, ptr %62, align 8, !tbaa !11
  %63 = load ptr, ptr %22, align 8, !tbaa !5
  %64 = getelementptr inbounds double, ptr %63, i64 5
  store double 3.000000e+00, ptr %64, align 8, !tbaa !11
  %65 = load ptr, ptr %22, align 8, !tbaa !5
  %66 = getelementptr inbounds double, ptr %65, i64 6
  store double -2.000000e+00, ptr %66, align 8, !tbaa !11
  br label %174

67:                                               ; preds = %50
  store double 2.310000e+02, ptr %21, align 8, !tbaa !11
  %68 = load ptr, ptr %22, align 8, !tbaa !5
  %69 = getelementptr inbounds double, ptr %68, i64 0
  store double -2.100000e+01, ptr %69, align 8, !tbaa !11
  %70 = load ptr, ptr %22, align 8, !tbaa !5
  %71 = getelementptr inbounds double, ptr %70, i64 1
  store double 1.400000e+01, ptr %71, align 8, !tbaa !11
  %72 = load ptr, ptr %22, align 8, !tbaa !5
  %73 = getelementptr inbounds double, ptr %72, i64 2
  store double 3.900000e+01, ptr %73, align 8, !tbaa !11
  %74 = load ptr, ptr %22, align 8, !tbaa !5
  %75 = getelementptr inbounds double, ptr %74, i64 3
  store double 5.400000e+01, ptr %75, align 8, !tbaa !11
  %76 = load ptr, ptr %22, align 8, !tbaa !5
  %77 = getelementptr inbounds double, ptr %76, i64 4
  store double 5.900000e+01, ptr %77, align 8, !tbaa !11
  %78 = load ptr, ptr %22, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i64 5
  store double 5.400000e+01, ptr %79, align 8, !tbaa !11
  %80 = load ptr, ptr %22, align 8, !tbaa !5
  %81 = getelementptr inbounds double, ptr %80, i64 6
  store double 3.900000e+01, ptr %81, align 8, !tbaa !11
  %82 = load ptr, ptr %22, align 8, !tbaa !5
  %83 = getelementptr inbounds double, ptr %82, i64 7
  store double 1.400000e+01, ptr %83, align 8, !tbaa !11
  %84 = load ptr, ptr %22, align 8, !tbaa !5
  %85 = getelementptr inbounds double, ptr %84, i64 8
  store double -2.100000e+01, ptr %85, align 8, !tbaa !11
  br label %174

86:                                               ; preds = %50
  store double 4.290000e+02, ptr %21, align 8, !tbaa !11
  %87 = load ptr, ptr %22, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i64 0
  store double -3.600000e+01, ptr %88, align 8, !tbaa !11
  %89 = load ptr, ptr %22, align 8, !tbaa !5
  %90 = getelementptr inbounds double, ptr %89, i64 1
  store double 9.000000e+00, ptr %90, align 8, !tbaa !11
  %91 = load ptr, ptr %22, align 8, !tbaa !5
  %92 = getelementptr inbounds double, ptr %91, i64 2
  store double 4.400000e+01, ptr %92, align 8, !tbaa !11
  %93 = load ptr, ptr %22, align 8, !tbaa !5
  %94 = getelementptr inbounds double, ptr %93, i64 3
  store double 6.900000e+01, ptr %94, align 8, !tbaa !11
  %95 = load ptr, ptr %22, align 8, !tbaa !5
  %96 = getelementptr inbounds double, ptr %95, i64 4
  store double 8.400000e+01, ptr %96, align 8, !tbaa !11
  %97 = load ptr, ptr %22, align 8, !tbaa !5
  %98 = getelementptr inbounds double, ptr %97, i64 5
  store double 8.900000e+01, ptr %98, align 8, !tbaa !11
  %99 = load ptr, ptr %22, align 8, !tbaa !5
  %100 = getelementptr inbounds double, ptr %99, i64 6
  store double 8.400000e+01, ptr %100, align 8, !tbaa !11
  %101 = load ptr, ptr %22, align 8, !tbaa !5
  %102 = getelementptr inbounds double, ptr %101, i64 7
  store double 6.900000e+01, ptr %102, align 8, !tbaa !11
  %103 = load ptr, ptr %22, align 8, !tbaa !5
  %104 = getelementptr inbounds double, ptr %103, i64 8
  store double 4.400000e+01, ptr %104, align 8, !tbaa !11
  %105 = load ptr, ptr %22, align 8, !tbaa !5
  %106 = getelementptr inbounds double, ptr %105, i64 9
  store double 9.000000e+00, ptr %106, align 8, !tbaa !11
  %107 = load ptr, ptr %22, align 8, !tbaa !5
  %108 = getelementptr inbounds double, ptr %107, i64 10
  store double -3.600000e+01, ptr %108, align 8, !tbaa !11
  br label %174

109:                                              ; preds = %50
  store double 1.430000e+02, ptr %21, align 8, !tbaa !11
  %110 = load ptr, ptr %22, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %110, i64 0
  store double -1.100000e+01, ptr %111, align 8, !tbaa !11
  %112 = load ptr, ptr %22, align 8, !tbaa !5
  %113 = getelementptr inbounds double, ptr %112, i64 1
  store double 0.000000e+00, ptr %113, align 8, !tbaa !11
  %114 = load ptr, ptr %22, align 8, !tbaa !5
  %115 = getelementptr inbounds double, ptr %114, i64 2
  store double 9.000000e+00, ptr %115, align 8, !tbaa !11
  %116 = load ptr, ptr %22, align 8, !tbaa !5
  %117 = getelementptr inbounds double, ptr %116, i64 3
  store double 1.600000e+01, ptr %117, align 8, !tbaa !11
  %118 = load ptr, ptr %22, align 8, !tbaa !5
  %119 = getelementptr inbounds double, ptr %118, i64 4
  store double 2.100000e+01, ptr %119, align 8, !tbaa !11
  %120 = load ptr, ptr %22, align 8, !tbaa !5
  %121 = getelementptr inbounds double, ptr %120, i64 5
  store double 2.400000e+01, ptr %121, align 8, !tbaa !11
  %122 = load ptr, ptr %22, align 8, !tbaa !5
  %123 = getelementptr inbounds double, ptr %122, i64 6
  store double 2.500000e+01, ptr %123, align 8, !tbaa !11
  %124 = load ptr, ptr %22, align 8, !tbaa !5
  %125 = getelementptr inbounds double, ptr %124, i64 7
  store double 2.400000e+01, ptr %125, align 8, !tbaa !11
  %126 = load ptr, ptr %22, align 8, !tbaa !5
  %127 = getelementptr inbounds double, ptr %126, i64 8
  store double 2.100000e+01, ptr %127, align 8, !tbaa !11
  %128 = load ptr, ptr %22, align 8, !tbaa !5
  %129 = getelementptr inbounds double, ptr %128, i64 9
  store double 1.600000e+01, ptr %129, align 8, !tbaa !11
  %130 = load ptr, ptr %22, align 8, !tbaa !5
  %131 = getelementptr inbounds double, ptr %130, i64 10
  store double 9.000000e+00, ptr %131, align 8, !tbaa !11
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = getelementptr inbounds double, ptr %132, i64 11
  store double 0.000000e+00, ptr %133, align 8, !tbaa !11
  %134 = load ptr, ptr %22, align 8, !tbaa !5
  %135 = getelementptr inbounds double, ptr %134, i64 12
  store double -1.100000e+01, ptr %135, align 8, !tbaa !11
  br label %174

136:                                              ; preds = %50
  store double 1.105000e+03, ptr %21, align 8, !tbaa !11
  %137 = load ptr, ptr %22, align 8, !tbaa !5
  %138 = getelementptr inbounds double, ptr %137, i64 0
  store double -7.800000e+01, ptr %138, align 8, !tbaa !11
  %139 = load ptr, ptr %22, align 8, !tbaa !5
  %140 = getelementptr inbounds double, ptr %139, i64 1
  store double -1.300000e+01, ptr %140, align 8, !tbaa !11
  %141 = load ptr, ptr %22, align 8, !tbaa !5
  %142 = getelementptr inbounds double, ptr %141, i64 2
  store double 4.200000e+01, ptr %142, align 8, !tbaa !11
  %143 = load ptr, ptr %22, align 8, !tbaa !5
  %144 = getelementptr inbounds double, ptr %143, i64 3
  store double 8.700000e+01, ptr %144, align 8, !tbaa !11
  %145 = load ptr, ptr %22, align 8, !tbaa !5
  %146 = getelementptr inbounds double, ptr %145, i64 4
  store double 1.220000e+02, ptr %146, align 8, !tbaa !11
  %147 = load ptr, ptr %22, align 8, !tbaa !5
  %148 = getelementptr inbounds double, ptr %147, i64 5
  store double 1.470000e+02, ptr %148, align 8, !tbaa !11
  %149 = load ptr, ptr %22, align 8, !tbaa !5
  %150 = getelementptr inbounds double, ptr %149, i64 6
  store double 1.620000e+02, ptr %150, align 8, !tbaa !11
  %151 = load ptr, ptr %22, align 8, !tbaa !5
  %152 = getelementptr inbounds double, ptr %151, i64 7
  store double 1.670000e+02, ptr %152, align 8, !tbaa !11
  %153 = load ptr, ptr %22, align 8, !tbaa !5
  %154 = getelementptr inbounds double, ptr %153, i64 8
  store double 1.620000e+02, ptr %154, align 8, !tbaa !11
  %155 = load ptr, ptr %22, align 8, !tbaa !5
  %156 = getelementptr inbounds double, ptr %155, i64 9
  store double 1.470000e+02, ptr %156, align 8, !tbaa !11
  %157 = load ptr, ptr %22, align 8, !tbaa !5
  %158 = getelementptr inbounds double, ptr %157, i64 10
  store double 1.220000e+02, ptr %158, align 8, !tbaa !11
  %159 = load ptr, ptr %22, align 8, !tbaa !5
  %160 = getelementptr inbounds double, ptr %159, i64 11
  store double 8.700000e+01, ptr %160, align 8, !tbaa !11
  %161 = load ptr, ptr %22, align 8, !tbaa !5
  %162 = getelementptr inbounds double, ptr %161, i64 12
  store double 4.200000e+01, ptr %162, align 8, !tbaa !11
  %163 = load ptr, ptr %22, align 8, !tbaa !5
  %164 = getelementptr inbounds double, ptr %163, i64 13
  store double -1.300000e+01, ptr %164, align 8, !tbaa !11
  %165 = load ptr, ptr %22, align 8, !tbaa !5
  %166 = getelementptr inbounds double, ptr %165, i64 14
  store double -7.800000e+01, ptr %166, align 8, !tbaa !11
  br label %174

167:                                              ; preds = %50
  call void @llvm.lifetime.start.p0(i64 2048, ptr %26) #7
  %168 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  %169 = load i32, ptr %14, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %168, ptr noundef @.str.50, i32 noundef %169)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #7
  %170 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  %171 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %170, ptr noundef @.str.51, ptr noundef %171)
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %172, ptr noundef @.str.3, ptr noundef @__func__.array_smooth_trg, i32 noundef 3028, ptr noundef %173)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #7
  store i32 1, ptr %8, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %26) #7
  br label %283

174:                                              ; preds = %136, %109, %86, %67, %52
  %175 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %175, ptr %17, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %252, %174
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %10, align 4, !tbaa !9
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = sub nsw i32 %178, %179
  %181 = icmp slt i32 %177, %180
  br i1 %181, label %182, label %255

182:                                              ; preds = %176
  %183 = load ptr, ptr %16, align 8, !tbaa !5
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds double, ptr %183, i64 %185
  store double 0.000000e+00, ptr %186, align 8, !tbaa !11
  %187 = load i32, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %14, align 4, !tbaa !9
  %189 = sub nsw i32 %187, %188
  %190 = icmp slt i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %182
  br label %196

192:                                              ; preds = %182
  %193 = load i32, ptr %17, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = sub nsw i32 %193, %194
  br label %196

196:                                              ; preds = %192, %191
  %197 = phi i32 [ 0, %191 ], [ %195, %192 ]
  store i32 %197, ptr %19, align 4, !tbaa !9
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = add nsw i32 %198, %199
  %201 = load i32, ptr %10, align 4, !tbaa !9
  %202 = sub nsw i32 %201, 1
  %203 = icmp slt i32 %200, %202
  br i1 %203, label %204, label %208

204:                                              ; preds = %196
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = add nsw i32 %205, %206
  br label %211

208:                                              ; preds = %196
  %209 = load i32, ptr %10, align 4, !tbaa !9
  %210 = sub nsw i32 %209, 1
  br label %211

211:                                              ; preds = %208, %204
  %212 = phi i32 [ %207, %204 ], [ %210, %208 ]
  store i32 %212, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %213, ptr %18, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %241, %211
  %215 = load i32, ptr %18, align 4, !tbaa !9
  %216 = load i32, ptr %20, align 4, !tbaa !9
  %217 = icmp sle i32 %215, %216
  br i1 %217, label %218, label %244

218:                                              ; preds = %214
  %219 = load ptr, ptr %22, align 8, !tbaa !5
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %19, align 4, !tbaa !9
  %222 = sub nsw i32 %220, %221
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds double, ptr %219, i64 %223
  %225 = load double, ptr %224, align 8, !tbaa !11
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = load i32, ptr %18, align 4, !tbaa !9
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = load i32, ptr %13, align 4, !tbaa !9
  %230 = mul nsw i32 %228, %229
  %231 = add nsw i32 %227, %230
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds double, ptr %226, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !11
  %235 = load ptr, ptr %16, align 8, !tbaa !5
  %236 = load i32, ptr %17, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds double, ptr %235, i64 %237
  %239 = load double, ptr %238, align 8, !tbaa !11
  %240 = call double @llvm.fmuladd.f64(double %225, double %234, double %239)
  store double %240, ptr %238, align 8, !tbaa !11
  br label %241

241:                                              ; preds = %218
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %18, align 4, !tbaa !9
  br label %214, !llvm.loop !13

244:                                              ; preds = %214
  %245 = load double, ptr %21, align 8, !tbaa !11
  %246 = load ptr, ptr %16, align 8, !tbaa !5
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds double, ptr %246, i64 %248
  %250 = load double, ptr %249, align 8, !tbaa !11
  %251 = fdiv double %250, %245
  store double %251, ptr %249, align 8, !tbaa !11
  br label %252

252:                                              ; preds = %244
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %17, align 4, !tbaa !9
  br label %176, !llvm.loop !15

255:                                              ; preds = %176
  %256 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %256, ptr %17, align 4, !tbaa !9
  br label %257

257:                                              ; preds = %277, %255
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %10, align 4, !tbaa !9
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = sub nsw i32 %259, %260
  %262 = icmp slt i32 %258, %261
  br i1 %262, label %263, label %280

263:                                              ; preds = %257
  %264 = load ptr, ptr %16, align 8, !tbaa !5
  %265 = load i32, ptr %17, align 4, !tbaa !9
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds double, ptr %264, i64 %266
  %268 = load double, ptr %267, align 8, !tbaa !11
  %269 = load ptr, ptr %9, align 8, !tbaa !5
  %270 = load i32, ptr %17, align 4, !tbaa !9
  %271 = load i32, ptr %10, align 4, !tbaa !9
  %272 = load i32, ptr %13, align 4, !tbaa !9
  %273 = mul nsw i32 %271, %272
  %274 = add nsw i32 %270, %273
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds double, ptr %269, i64 %275
  store double %268, ptr %276, align 8, !tbaa !11
  br label %277

277:                                              ; preds = %263
  %278 = load i32, ptr %17, align 4, !tbaa !9
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %17, align 4, !tbaa !9
  br label %257, !llvm.loop !16

280:                                              ; preds = %257
  %281 = load ptr, ptr %16, align 8, !tbaa !5
  call void @free(ptr noundef %281) #7
  %282 = load ptr, ptr %22, align 8, !tbaa !5
  call void @free(ptr noundef %282) #7
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %283

283:                                              ; preds = %280, %167, %45, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %284 = load i32, ptr %8, align 4
  ret i32 %284
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; 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.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [32 x i8], align 1
@__func__.array_smooth_trg = external hidden unnamed_addr constant [17 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @array_smooth_trg(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #6 {
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  %10 = alloca [2048 x i8], align 16
  %11 = sext i32 %1 to i64
  %12 = shl nsw i64 %11, 3
  %13 = tail call noalias ptr @malloc(i64 noundef %12) #10
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %17

15:                                               ; preds = %7
  %16 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.47, ptr noundef nonnull @__func__.array_smooth_trg, i32 noundef 2936) #11
  br label %87

17:                                               ; preds = %7
  %18 = shl nsw i32 %5, 1
  %19 = or disjoint i32 %18, 1
  %20 = sext i32 %19 to i64
  %21 = tail call noalias ptr @calloc(i64 noundef %20, i64 noundef 8) #12
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.49, i32 noundef 8) #11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %6, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.array_smooth_trg, i32 noundef 2940, ptr noundef nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #11
  br label %87

24:                                               ; preds = %17
  switch i32 %5, label %39 [
    i32 3, label %25
    i32 4, label %26
    i32 5, label %28
    i32 6, label %31
    i32 7, label %34
  ]

25:                                               ; preds = %24
  store double -2.000000e+00, ptr %21, align 8, !tbaa !5
  br label %40

26:                                               ; preds = %24
  store <2 x double> <double -2.100000e+01, double 1.400000e+01>, ptr %21, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %21, i64 16
  store double 3.900000e+01, ptr %27, align 8, !tbaa !5
  br label %40

28:                                               ; preds = %24
  store <2 x double> <double -3.600000e+01, double 9.000000e+00>, ptr %21, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %21, i64 16
  store <2 x double> <double 4.400000e+01, double 6.900000e+01>, ptr %29, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %21, i64 32
  store double 8.400000e+01, ptr %30, align 8, !tbaa !5
  br label %40

31:                                               ; preds = %24
  store double -1.100000e+01, ptr %21, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %21, i64 16
  store <2 x double> <double 9.000000e+00, double 1.600000e+01>, ptr %32, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %21, i64 32
  store <2 x double> <double 2.100000e+01, double 2.400000e+01>, ptr %33, align 8, !tbaa !5
  br label %40

34:                                               ; preds = %24
  store <2 x double> <double -7.800000e+01, double -1.300000e+01>, ptr %21, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %21, i64 16
  store <2 x double> <double 4.200000e+01, double 8.700000e+01>, ptr %35, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %21, i64 32
  store <2 x double> <double 1.220000e+02, double 1.470000e+02>, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %21, i64 48
  store <2 x double> <double 1.620000e+02, double 1.670000e+02>, ptr %37, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %21, i64 64
  store double 1.620000e+02, ptr %38, align 8, !tbaa !5
  br label %40

39:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.50, i32 noundef %5) #11
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.51, ptr noundef nonnull %9) #11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %6, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.array_smooth_trg, i32 noundef 3028, ptr noundef nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #11
  br label %87

40:                                               ; preds = %34, %31, %28, %26, %25
  %.sink154 = phi i64 [ 72, %34 ], [ 48, %31 ], [ 40, %28 ], [ 24, %26 ], [ 8, %25 ]
  %.sink152 = phi double [ 1.470000e+02, %34 ], [ 2.500000e+01, %31 ], [ 8.900000e+01, %28 ], [ 5.400000e+01, %26 ], [ 3.000000e+00, %25 ]
  %.sink151 = phi i64 [ 80, %34 ], [ 56, %31 ], [ 48, %28 ], [ 32, %26 ], [ 16, %25 ]
  %.sink149 = phi double [ 1.220000e+02, %34 ], [ 2.400000e+01, %31 ], [ 8.400000e+01, %28 ], [ 5.900000e+01, %26 ], [ 6.000000e+00, %25 ]
  %.sink148 = phi i64 [ 88, %34 ], [ 64, %31 ], [ 56, %28 ], [ 40, %26 ], [ 24, %25 ]
  %.sink146 = phi double [ 8.700000e+01, %34 ], [ 2.100000e+01, %31 ], [ 6.900000e+01, %28 ], [ 5.400000e+01, %26 ], [ 7.000000e+00, %25 ]
  %.sink145 = phi i64 [ 96, %34 ], [ 72, %31 ], [ 64, %28 ], [ 48, %26 ], [ 32, %25 ]
  %.sink143 = phi double [ 4.200000e+01, %34 ], [ 1.600000e+01, %31 ], [ 4.400000e+01, %28 ], [ 3.900000e+01, %26 ], [ 6.000000e+00, %25 ]
  %.sink142 = phi i64 [ 104, %34 ], [ 80, %31 ], [ 72, %28 ], [ 56, %26 ], [ 40, %25 ]
  %.sink140 = phi double [ -1.300000e+01, %34 ], [ 9.000000e+00, %31 ], [ 9.000000e+00, %28 ], [ 1.400000e+01, %26 ], [ 3.000000e+00, %25 ]
  %.sink139 = phi i64 [ 112, %34 ], [ 96, %31 ], [ 80, %28 ], [ 64, %26 ], [ 48, %25 ]
  %.sink = phi double [ -7.800000e+01, %34 ], [ -1.100000e+01, %31 ], [ -3.600000e+01, %28 ], [ -2.100000e+01, %26 ], [ -2.000000e+00, %25 ]
  %.0112 = phi double [ 1.105000e+03, %34 ], [ 1.430000e+02, %31 ], [ 4.290000e+02, %28 ], [ 2.310000e+02, %26 ], [ 2.100000e+01, %25 ]
  %41 = getelementptr inbounds i8, ptr %21, i64 %.sink154
  store double %.sink152, ptr %41, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %21, i64 %.sink151
  store double %.sink149, ptr %42, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %21, i64 %.sink148
  store double %.sink146, ptr %43, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %21, i64 %.sink145
  store double %.sink143, ptr %44, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %21, i64 %.sink142
  store double %.sink140, ptr %45, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %21, i64 %.sink139
  store double %.sink, ptr %46, align 8, !tbaa !5
  %47 = sub nsw i32 %1, %5
  %48 = icmp sgt i32 %47, %2
  br i1 %48, label %.lr.ph124, label %._crit_edge127

.lr.ph124:                                        ; preds = %40
  %49 = add nsw i32 %1, -1
  %50 = mul nsw i32 %4, %1
  %51 = sub i32 %2, %5
  %52 = sext i32 %50 to i64
  %53 = sext i32 %2 to i64
  %54 = sext i32 %47 to i64
  %invariant.gep = getelementptr double, ptr %0, i64 %52
  br label %67

.preheader:                                       ; preds = %._crit_edge
  br i1 %48, label %.lr.ph126, label %._crit_edge127

.lr.ph126:                                        ; preds = %.preheader
  %55 = mul nsw i32 %4, %1
  %56 = add i32 %55, %2
  %57 = sext i32 %56 to i64
  %58 = shl nsw i64 %57, 3
  %scevgep = getelementptr i8, ptr %0, i64 %58
  %59 = sext i32 %2 to i64
  %60 = shl nsw i64 %59, 3
  %scevgep134 = getelementptr i8, ptr %13, i64 %60
  %61 = xor i32 %5, -1
  %62 = add i32 %61, %1
  %63 = sub i32 %62, %2
  %64 = zext i32 %63 to i64
  %65 = shl nuw nsw i64 %64, 3
  %66 = add nuw nsw i64 %65, 8
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep, ptr noundef nonnull align 8 dereferenceable(1) %scevgep134, i64 %66, i1 false), !tbaa !5
  br label %._crit_edge127

67:                                               ; preds = %.lr.ph124, %._crit_edge
  %indvars.iv131 = phi i64 [ %53, %.lr.ph124 ], [ %indvars.iv.next132, %._crit_edge ]
  %indvars.iv = phi i32 [ %51, %.lr.ph124 ], [ %indvars.iv.next, %._crit_edge ]
  %68 = getelementptr inbounds double, ptr %13, i64 %indvars.iv131
  %69 = trunc i64 %indvars.iv131 to i32
  %70 = sub i32 %69, %5
  %71 = tail call i32 @llvm.smax.i32(i32 %70, i32 0)
  %72 = trunc i64 %indvars.iv131 to i32
  %73 = add i32 %72, %5
  %. = tail call i32 @llvm.smin.i32(i32 %73, i32 %49)
  %.not119 = icmp sgt i32 %71, %.
  br i1 %.not119, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %67
  %smax = tail call i32 @llvm.smax.i32(i32 %indvars.iv, i32 0)
  %74 = zext nneg i32 %smax to i64
  %75 = zext nneg i32 %71 to i64
  %76 = zext nneg i32 %. to i64
  br label %77

77:                                               ; preds = %.lr.ph, %77
  %indvars.iv128 = phi i64 [ %74, %.lr.ph ], [ %indvars.iv.next129, %77 ]
  %78 = phi double [ 0.000000e+00, %.lr.ph ], [ %83, %77 ]
  %79 = sub nuw nsw i64 %indvars.iv128, %75
  %80 = getelementptr inbounds double, ptr %21, i64 %79
  %81 = load double, ptr %80, align 8, !tbaa !5
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv128
  %82 = load double, ptr %gep, align 8, !tbaa !5
  %83 = tail call double @llvm.fmuladd.f64(double %81, double %82, double %78)
  %indvars.iv.next129 = add nuw nsw i64 %indvars.iv128, 1
  %.not.not = icmp ult i64 %indvars.iv128, %76
  br i1 %.not.not, label %77, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %77, %67
  %84 = phi double [ 0.000000e+00, %67 ], [ %83, %77 ]
  %85 = fdiv double %84, %.0112
  store double %85, ptr %68, align 8, !tbaa !5
  %indvars.iv.next132 = add nsw i64 %indvars.iv131, 1
  %86 = icmp slt i64 %indvars.iv.next132, %54
  %indvars.iv.next = add i32 %indvars.iv, 1
  br i1 %86, label %67, label %.preheader, !llvm.loop !11

._crit_edge127:                                   ; preds = %40, %.lr.ph126, %.preheader
  tail call void @free(ptr noundef nonnull %13) #11
  tail call void @free(ptr noundef %21) #11
  br label %87

87:                                               ; preds = %._crit_edge127, %39, %23, %15
  %.0 = phi i32 [ 1, %15 ], [ 1, %23 ], [ 1, %39 ], [ 0, %._crit_edge127 ]
  ret i32 %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #7

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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