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

; 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.transfers = type { double, double, double, [100 x double], [100 x double], i16, i16, [256 x i8], i32, ptr, ptr, ptr, i16, i16, [256 x i8], i32, ptr, ptr, ptr, ptr, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, ptr, double, i64, ptr, ptr, i32, ptr, i16, i16, [2048 x i8] }
%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] }

@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [7 x i8], align 1
@__func__.transfer_get_k_list = external hidden unnamed_addr constant [20 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [65 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 @transfer_get_k_list(ptr noundef %0, ptr noundef %1, double noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca [2048 x i8], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [2048 x i8], align 16
  %16 = alloca [2048 x i8], align 16
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store double 0.000000e+00, ptr %10, align 8, !tbaa !9
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.transfers, ptr %20, i32 0, i32 21
  %22 = load i32, ptr %21, align 4, !tbaa !11
  %23 = sext i32 %22 to i64
  %24 = mul i64 %23, 8
  %25 = call noalias ptr @malloc(i64 noundef %24) #7
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.transfers, ptr %26, i32 0, i32 47
  store ptr %25, ptr %27, align 8, !tbaa !16
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.transfers, ptr %28, i32 0, i32 47
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %45

32:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.transfers, ptr %33, i32 0, i32 21
  %35 = load i32, ptr %34, align 4, !tbaa !11
  %36 = sext i32 %35 to i64
  %37 = mul i64 %36, 8
  %38 = trunc i64 %37 to i32
  store i32 %38, ptr %11, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2048, ptr %12) #6
  %39 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
  %40 = load i32, ptr %11, align 4, !tbaa !17
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %39, ptr noundef @.str.6, ptr noundef @.str.49, i32 noundef %40)
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.transfers, ptr %41, i32 0, i32 52
  %43 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  %44 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %43, ptr noundef @.str.2, ptr noundef @__func__.transfer_get_k_list, i32 noundef 1257, ptr noundef %44)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %12) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %320

45:                                               ; preds = %3
  store i32 0, ptr %8, align 4, !tbaa !17
  br label %46

46:                                               ; preds = %316, %45
  %47 = load i32, ptr %8, align 4, !tbaa !17
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.transfers, ptr %48, i32 0, i32 21
  %50 = load i32, ptr %49, align 4, !tbaa !11
  %51 = icmp slt i32 %47, %50
  br i1 %51, label %52, label %319

52:                                               ; preds = %46
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.transfers, ptr %53, i32 0, i32 45
  %55 = load i64, ptr %54, align 8, !tbaa !18
  %56 = mul i64 %55, 8
  %57 = call noalias ptr @malloc(i64 noundef %56) #7
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.transfers, ptr %58, i32 0, i32 47
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = load i32, ptr %8, align 4, !tbaa !17
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds ptr, ptr %60, i64 %62
  store ptr %57, ptr %63, align 8, !tbaa !5
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.transfers, ptr %64, i32 0, i32 47
  %66 = load ptr, ptr %65, align 8, !tbaa !16
  %67 = load i32, ptr %8, align 4, !tbaa !17
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds ptr, ptr %66, i64 %68
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  %71 = icmp eq ptr %70, null
  br i1 %71, label %72, label %84

72:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.transfers, ptr %73, i32 0, i32 45
  %75 = load i64, ptr %74, align 8, !tbaa !18
  %76 = mul i64 %75, 8
  %77 = trunc i64 %76 to i32
  store i32 %77, ptr %14, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2048, ptr %15) #6
  %78 = getelementptr inbounds [2048 x i8], ptr %15, i64 0, i64 0
  %79 = load i32, ptr %14, align 4, !tbaa !17
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %78, ptr noundef @.str.6, ptr noundef @.str.50, i32 noundef %79)
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.transfers, ptr %80, i32 0, i32 52
  %82 = getelementptr inbounds [2048 x i8], ptr %81, i64 0, i64 0
  %83 = getelementptr inbounds [2048 x i8], ptr %15, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %82, ptr noundef @.str.2, ptr noundef @__func__.transfer_get_k_list, i32 noundef 1261, ptr noundef %83)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %15) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %320

84:                                               ; preds = %52
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.perturbs, ptr %85, i32 0, i32 2
  %87 = load i16, ptr %86, align 4, !tbaa !19
  %88 = sext i16 %87 to i32
  %89 = icmp eq i32 %88, 1
  br i1 %89, label %90, label %97

90:                                               ; preds = %84
  %91 = load i32, ptr %8, align 4, !tbaa !17
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.perturbs, ptr %92, i32 0, i32 56
  %94 = load i32, ptr %93, align 4, !tbaa !21
  %95 = icmp eq i32 %91, %94
  br i1 %95, label %96, label %97

96:                                               ; preds = %90
  store double 0.000000e+00, ptr %10, align 8, !tbaa !9
  br label %97

97:                                               ; preds = %96, %90, %84
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.perturbs, ptr %98, i32 0, i32 3
  %100 = load i16, ptr %99, align 2, !tbaa !22
  %101 = sext i16 %100 to i32
  %102 = icmp eq i32 %101, 1
  br i1 %102, label %103, label %110

103:                                              ; preds = %97
  %104 = load i32, ptr %8, align 4, !tbaa !17
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.perturbs, ptr %105, i32 0, i32 58
  %107 = load i32, ptr %106, align 4, !tbaa !23
  %108 = icmp eq i32 %104, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %103
  store double 1.000000e+00, ptr %10, align 8, !tbaa !9
  br label %110

110:                                              ; preds = %109, %103, %97
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.perturbs, ptr %111, i32 0, i32 4
  %113 = load i16, ptr %112, align 8, !tbaa !24
  %114 = sext i16 %113 to i32
  %115 = icmp eq i32 %114, 1
  br i1 %115, label %116, label %123

116:                                              ; preds = %110
  %117 = load i32, ptr %8, align 4, !tbaa !17
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.perturbs, ptr %118, i32 0, i32 57
  %120 = load i32, ptr %119, align 8, !tbaa !25
  %121 = icmp eq i32 %117, %120
  br i1 %121, label %122, label %123

122:                                              ; preds = %116
  store double 2.000000e+00, ptr %10, align 8, !tbaa !9
  br label %123

123:                                              ; preds = %122, %116, %110
  store i32 0, ptr %9, align 4, !tbaa !17
  br label %124

124:                                              ; preds = %163, %123
  %125 = load i32, ptr %9, align 4, !tbaa !17
  %126 = sext i32 %125 to i64
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.transfers, ptr %127, i32 0, i32 45
  %129 = load i64, ptr %128, align 8, !tbaa !18
  %130 = icmp ult i64 %126, %129
  br i1 %130, label %131, label %166

131:                                              ; preds = %124
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.transfers, ptr %132, i32 0, i32 46
  %134 = load ptr, ptr %133, align 8, !tbaa !26
  %135 = load i32, ptr %9, align 4, !tbaa !17
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds double, ptr %134, i64 %136
  %138 = load double, ptr %137, align 8, !tbaa !9
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.transfers, ptr %139, i32 0, i32 46
  %141 = load ptr, ptr %140, align 8, !tbaa !26
  %142 = load i32, ptr %9, align 4, !tbaa !17
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds double, ptr %141, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !9
  %146 = load double, ptr %7, align 8, !tbaa !9
  %147 = load double, ptr %10, align 8, !tbaa !9
  %148 = fadd double %147, 1.000000e+00
  %149 = fmul double %146, %148
  %150 = fneg double %149
  %151 = call double @llvm.fmuladd.f64(double %138, double %145, double %150)
  %152 = call double @sqrt(double noundef %151) #6
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.transfers, ptr %153, i32 0, i32 47
  %155 = load ptr, ptr %154, align 8, !tbaa !16
  %156 = load i32, ptr %8, align 4, !tbaa !17
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds ptr, ptr %155, i64 %157
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = load i32, ptr %9, align 4, !tbaa !17
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  store double %152, ptr %162, align 8, !tbaa !9
  br label %163

163:                                              ; preds = %131
  %164 = load i32, ptr %9, align 4, !tbaa !17
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %9, align 4, !tbaa !17
  br label %124, !llvm.loop !27

166:                                              ; preds = %124
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.transfers, ptr %167, i32 0, i32 47
  %169 = load ptr, ptr %168, align 8, !tbaa !16
  %170 = load i32, ptr %8, align 4, !tbaa !17
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds ptr, ptr %169, i64 %171
  %173 = load ptr, ptr %172, align 8, !tbaa !5
  %174 = getelementptr inbounds double, ptr %173, i64 0
  %175 = load double, ptr %174, align 8, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.perturbs, ptr %176, i32 0, i32 155
  %178 = load ptr, ptr %177, align 8, !tbaa !29
  %179 = load i32, ptr %8, align 4, !tbaa !17
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds ptr, ptr %178, i64 %180
  %182 = load ptr, ptr %181, align 8, !tbaa !5
  %183 = getelementptr inbounds double, ptr %182, i64 0
  %184 = load double, ptr %183, align 8, !tbaa !9
  %185 = fcmp olt double %175, %184
  br i1 %185, label %186, label %251

186:                                              ; preds = %166
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.perturbs, ptr %187, i32 0, i32 155
  %189 = load ptr, ptr %188, align 8, !tbaa !29
  %190 = load i32, ptr %8, align 4, !tbaa !17
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds ptr, ptr %189, i64 %191
  %193 = load ptr, ptr %192, align 8, !tbaa !5
  %194 = getelementptr inbounds double, ptr %193, i64 0
  %195 = load double, ptr %194, align 8, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.transfers, ptr %196, i32 0, i32 47
  %198 = load ptr, ptr %197, align 8, !tbaa !16
  %199 = load i32, ptr %8, align 4, !tbaa !17
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds ptr, ptr %198, i64 %200
  %202 = load ptr, ptr %201, align 8, !tbaa !5
  %203 = getelementptr inbounds double, ptr %202, i64 0
  %204 = load double, ptr %203, align 8, !tbaa !9
  %205 = fsub double %195, %204
  %206 = fcmp olt double %205, 0x3CE4000000000000
  br i1 %206, label %207, label %225

207:                                              ; preds = %186
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.perturbs, ptr %208, i32 0, i32 155
  %210 = load ptr, ptr %209, align 8, !tbaa !29
  %211 = load i32, ptr %8, align 4, !tbaa !17
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds ptr, ptr %210, i64 %212
  %214 = load ptr, ptr %213, align 8, !tbaa !5
  %215 = getelementptr inbounds double, ptr %214, i64 0
  %216 = load double, ptr %215, align 8, !tbaa !9
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.transfers, ptr %217, i32 0, i32 47
  %219 = load ptr, ptr %218, align 8, !tbaa !16
  %220 = load i32, ptr %8, align 4, !tbaa !17
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds ptr, ptr %219, i64 %221
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  %224 = getelementptr inbounds double, ptr %223, i64 0
  store double %216, ptr %224, align 8, !tbaa !9
  br label %250

225:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 2048, ptr %16) #6
  %226 = getelementptr inbounds [2048 x i8], ptr %16, i64 0, i64 0
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.perturbs, ptr %227, i32 0, i32 155
  %229 = load ptr, ptr %228, align 8, !tbaa !29
  %230 = getelementptr inbounds ptr, ptr %229, i64 0
  %231 = load ptr, ptr %230, align 8, !tbaa !5
  %232 = getelementptr inbounds double, ptr %231, i64 0
  %233 = load double, ptr %232, align 8, !tbaa !9
  %234 = load i32, ptr %8, align 4, !tbaa !17
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.transfers, ptr %235, i32 0, i32 47
  %237 = load ptr, ptr %236, align 8, !tbaa !16
  %238 = load i32, ptr %8, align 4, !tbaa !17
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds ptr, ptr %237, i64 %239
  %241 = load ptr, ptr %240, align 8, !tbaa !5
  %242 = getelementptr inbounds double, ptr %241, i64 0
  %243 = load double, ptr %242, align 8, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %226, ptr noundef @.str.51, double noundef %233, i32 noundef %234, double noundef %243)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %17) #6
  %244 = getelementptr inbounds [2048 x i8], ptr %17, i64 0, i64 0
  %245 = getelementptr inbounds [2048 x i8], ptr %16, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %244, ptr noundef @.str.52, ptr noundef %245)
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.transfers, ptr %246, i32 0, i32 52
  %248 = getelementptr inbounds [2048 x i8], ptr %247, i64 0, i64 0
  %249 = getelementptr inbounds [2048 x i8], ptr %17, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %248, ptr noundef @.str.2, ptr noundef @__func__.transfer_get_k_list, i32 noundef 1288, ptr noundef %249)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %17) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %16) #6
  br label %320

250:                                              ; preds = %207
  br label %251

251:                                              ; preds = %250, %166
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.transfers, ptr %252, i32 0, i32 47
  %254 = load ptr, ptr %253, align 8, !tbaa !16
  %255 = load i32, ptr %8, align 4, !tbaa !17
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds ptr, ptr %254, i64 %256
  %258 = load ptr, ptr %257, align 8, !tbaa !5
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.transfers, ptr %259, i32 0, i32 45
  %261 = load i64, ptr %260, align 8, !tbaa !18
  %262 = sub i64 %261, 1
  %263 = getelementptr inbounds double, ptr %258, i64 %262
  %264 = load double, ptr %263, align 8, !tbaa !9
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.perturbs, ptr %265, i32 0, i32 155
  %267 = load ptr, ptr %266, align 8, !tbaa !29
  %268 = getelementptr inbounds ptr, ptr %267, i64 0
  %269 = load ptr, ptr %268, align 8, !tbaa !5
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.perturbs, ptr %270, i32 0, i32 153
  %272 = load ptr, ptr %271, align 8, !tbaa !30
  %273 = getelementptr inbounds i32, ptr %272, i64 0
  %274 = load i32, ptr %273, align 4, !tbaa !17
  %275 = sub nsw i32 %274, 1
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds double, ptr %269, i64 %276
  %278 = load double, ptr %277, align 8, !tbaa !9
  %279 = fcmp ogt double %264, %278
  br i1 %279, label %280, label %315

280:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 2048, ptr %18) #6
  %281 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.perturbs, ptr %282, i32 0, i32 155
  %284 = load ptr, ptr %283, align 8, !tbaa !29
  %285 = getelementptr inbounds ptr, ptr %284, i64 0
  %286 = load ptr, ptr %285, align 8, !tbaa !5
  %287 = load ptr, ptr %5, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.perturbs, ptr %287, i32 0, i32 153
  %289 = load ptr, ptr %288, align 8, !tbaa !30
  %290 = getelementptr inbounds i32, ptr %289, i64 0
  %291 = load i32, ptr %290, align 4, !tbaa !17
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds double, ptr %286, i64 %292
  %294 = load double, ptr %293, align 8, !tbaa !9
  %295 = load i32, ptr %8, align 4, !tbaa !17
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.transfers, ptr %296, i32 0, i32 47
  %298 = load ptr, ptr %297, align 8, !tbaa !16
  %299 = load i32, ptr %8, align 4, !tbaa !17
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds ptr, ptr %298, i64 %300
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.transfers, ptr %303, i32 0, i32 45
  %305 = load i64, ptr %304, align 8, !tbaa !18
  %306 = sub i64 %305, 1
  %307 = getelementptr inbounds double, ptr %302, i64 %306
  %308 = load double, ptr %307, align 8, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %281, ptr noundef @.str.53, double noundef %294, i32 noundef %295, double noundef %308)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %19) #6
  %309 = getelementptr inbounds [2048 x i8], ptr %19, i64 0, i64 0
  %310 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %309, ptr noundef @.str.42, ptr noundef @.str.54, ptr noundef %310)
  %311 = load ptr, ptr %6, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.transfers, ptr %311, i32 0, i32 52
  %313 = getelementptr inbounds [2048 x i8], ptr %312, i64 0, i64 0
  %314 = getelementptr inbounds [2048 x i8], ptr %19, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %313, ptr noundef @.str.2, ptr noundef @__func__.transfer_get_k_list, i32 noundef 1305, ptr noundef %314)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %18) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %320

315:                                              ; preds = %251
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %8, align 4, !tbaa !17
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %8, align 4, !tbaa !17
  br label %46, !llvm.loop !31

319:                                              ; preds = %46
  store i32 0, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %320

320:                                              ; preds = %319, %280, %225, %72, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %321 = load i32, ptr %4, align 4
  ret i32 %321
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !14, i64 2212}
!12 = !{!"transfers", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 824, !13, i64 1624, !13, i64 1626, !7, i64 1628, !14, i64 1884, !6, i64 1888, !6, i64 1896, !6, i64 1904, !13, i64 1912, !13, i64 1914, !7, i64 1916, !14, i64 2172, !6, i64 2176, !6, i64 2184, !6, i64 2192, !6, i64 2200, !13, i64 2208, !14, i64 2212, !14, i64 2216, !14, i64 2220, !14, i64 2224, !14, i64 2228, !14, i64 2232, !14, i64 2236, !14, i64 2240, !14, i64 2244, !14, i64 2248, !14, i64 2252, !14, i64 2256, !14, i64 2260, !14, i64 2264, !14, i64 2268, !14, i64 2272, !14, i64 2276, !14, i64 2280, !6, i64 2288, !6, i64 2296, !6, i64 2304, !14, i64 2312, !6, i64 2320, !10, i64 2328, !15, i64 2336, !6, i64 2344, !6, i64 2352, !14, i64 2360, !6, i64 2368, !13, i64 2376, !13, i64 2378, !7, i64 2380}
!13 = !{!"short", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!12, !6, i64 2352}
!17 = !{!14, !14, i64 0}
!18 = !{!12, !15, i64 2336}
!19 = !{!20, !13, i64 4}
!20 = !{!"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, !14, 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, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !10, i64 80, !14, i64 88, !14, i64 92, !7, i64 96, !7, i64 896, !14, i64 1696, !14, i64 1700, !14, i64 1704, !14, i64 1708, !14, i64 1712, !10, i64 1720, !14, i64 1728, !14, i64 1732, !7, i64 1736, !10, i64 1976, !10, i64 1984, !10, i64 1992, !6, i64 2000, !6, i64 2008, !14, i64 2016, !13, i64 2020, !13, i64 2022, !14, i64 2024, !14, i64 2028, !14, i64 2032, !14, i64 2036, !14, i64 2040, !14, i64 2044, !14, i64 2048, !14, i64 2052, !14, i64 2056, !14, i64 2060, !14, 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, !14, i64 2160, !14, i64 2164, !14, i64 2168, !14, i64 2172, !14, i64 2176, !14, i64 2180, !14, i64 2184, !14, i64 2188, !14, i64 2192, !14, i64 2196, !14, i64 2200, !14, i64 2204, !14, i64 2208, !14, i64 2212, !14, i64 2216, !14, i64 2220, !14, i64 2224, !14, i64 2228, !14, i64 2232, !14, i64 2236, !14, i64 2240, !14, i64 2244, !14, i64 2248, !14, i64 2252, !14, i64 2256, !14, i64 2260, !14, i64 2264, !14, i64 2268, !14, i64 2272, !14, i64 2276, !14, i64 2280, !14, i64 2284, !14, i64 2288, !14, i64 2292, !14, i64 2296, !14, i64 2300, !14, i64 2304, !14, i64 2308, !14, i64 2312, !14, i64 2316, !14, i64 2320, !14, i64 2324, !14, i64 2328, !14, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !10, i64 2376, !10, i64 2384, !6, i64 2392, !14, i64 2400, !10, i64 2408, !10, i64 2416, !10, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !14, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !14, i64 26512, !14, i64 26516, !14, 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}
!21 = !{!20, !14, i64 2028}
!22 = !{!20, !13, i64 6}
!23 = !{!20, !14, i64 2036}
!24 = !{!20, !13, i64 8}
!25 = !{!20, !14, i64 2032}
!26 = !{!12, !6, i64 2344}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!20, !6, i64 2368}
!30 = !{!20, !6, i64 2352}
!31 = distinct !{!31, !28}


; 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.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [7 x i8], align 1
@__func__.transfer_get_k_list = external hidden unnamed_addr constant [20 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [65 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 @transfer_get_k_list(ptr nocapture noundef readonly %0, ptr noundef %1, double noundef %2) local_unnamed_addr #3 {
  %4 = alloca [2048 x i8], align 16
  %5 = alloca [2048 x i8], align 16
  %6 = alloca [2048 x i8], align 16
  %7 = alloca [2048 x i8], align 16
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  %10 = getelementptr inbounds i8, ptr %1, i64 2212
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = shl nsw i64 %12, 3
  %14 = tail call noalias ptr @malloc(i64 noundef %13) #6
  %15 = getelementptr inbounds i8, ptr %1, i64 2352
  store ptr %14, ptr %15, align 8, !tbaa !14
  %16 = icmp eq ptr %14, null
  br i1 %16, label %28, label %.preheader

.preheader:                                       ; preds = %3
  %17 = icmp sgt i32 %11, 0
  br i1 %17, label %.lr.ph92, label %.loopexit

.lr.ph92:                                         ; preds = %.preheader
  %18 = getelementptr inbounds i8, ptr %1, i64 2336
  %19 = getelementptr inbounds i8, ptr %0, i64 4
  %20 = getelementptr inbounds i8, ptr %0, i64 2028
  %21 = getelementptr inbounds i8, ptr %0, i64 6
  %22 = getelementptr inbounds i8, ptr %0, i64 2036
  %23 = getelementptr inbounds i8, ptr %0, i64 8
  %24 = getelementptr inbounds i8, ptr %0, i64 2032
  %25 = getelementptr inbounds i8, ptr %1, i64 2344
  %26 = getelementptr inbounds i8, ptr %0, i64 2368
  %27 = getelementptr inbounds i8, ptr %0, i64 2352
  %.pre = load i64, ptr %18, align 8, !tbaa !15
  br label %31

28:                                               ; preds = %3
  %29 = shl i32 %11, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %4) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.49, i32 noundef %29) #7
  %30 = getelementptr inbounds i8, ptr %1, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %30, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_get_k_list, i32 noundef 1257, ptr noundef nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %4) #7
  br label %.loopexit

31:                                               ; preds = %.lr.ph92, %118
  %32 = phi i64 [ %.pre, %.lr.ph92 ], [ %86, %118 ]
  %33 = phi ptr [ %14, %.lr.ph92 ], [ %85, %118 ]
  %indvars.iv116 = phi i64 [ 0, %.lr.ph92 ], [ %indvars.iv.next117, %118 ]
  %.06890 = phi double [ 0.000000e+00, %.lr.ph92 ], [ %.3, %118 ]
  %34 = shl i64 %32, 3
  %35 = tail call noalias ptr @malloc(i64 noundef %34) #6
  %36 = getelementptr inbounds ptr, ptr %33, i64 %indvars.iv116
  store ptr %35, ptr %36, align 8, !tbaa !16
  %37 = load ptr, ptr %15, align 8, !tbaa !14
  %38 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv116
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %44

41:                                               ; preds = %31
  %.tr = trunc i64 %32 to i32
  %42 = shl i32 %.tr, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %5) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.50, i32 noundef %42) #7
  %43 = getelementptr inbounds i8, ptr %1, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %43, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_get_k_list, i32 noundef 1261, ptr noundef nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %5) #7
  br label %.loopexit

44:                                               ; preds = %31
  %45 = load i16, ptr %19, align 4, !tbaa !17
  %46 = icmp eq i16 %45, 1
  br i1 %46, label %47, label %52

47:                                               ; preds = %44
  %48 = load i32, ptr %20, align 4, !tbaa !19
  %49 = zext i32 %48 to i64
  %50 = icmp eq i64 %indvars.iv116, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %47
  br label %52

52:                                               ; preds = %51, %47, %44
  %.1 = phi double [ 0.000000e+00, %51 ], [ %.06890, %47 ], [ %.06890, %44 ]
  %53 = load i16, ptr %21, align 2, !tbaa !20
  %54 = icmp eq i16 %53, 1
  br i1 %54, label %55, label %60

55:                                               ; preds = %52
  %56 = load i32, ptr %22, align 4, !tbaa !21
  %57 = zext i32 %56 to i64
  %58 = icmp eq i64 %indvars.iv116, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %55
  br label %60

60:                                               ; preds = %59, %55, %52
  %.2 = phi double [ 1.000000e+00, %59 ], [ %.1, %55 ], [ %.1, %52 ]
  %61 = load i16, ptr %23, align 8, !tbaa !22
  %62 = icmp eq i16 %61, 1
  br i1 %62, label %63, label %68

63:                                               ; preds = %60
  %64 = load i32, ptr %24, align 8, !tbaa !23
  %65 = zext i32 %64 to i64
  %66 = icmp eq i64 %indvars.iv116, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %63
  br label %68

68:                                               ; preds = %67, %63, %60
  %.3 = phi double [ 2.000000e+00, %67 ], [ %.2, %63 ], [ %.2, %60 ]
  %.not = icmp eq i64 %32, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %68
  %69 = fadd double %.3, 1.000000e+00
  %70 = fneg double %69
  %71 = fmul double %70, %2
  br label %72

72:                                               ; preds = %.lr.ph, %72
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %72 ]
  %73 = load ptr, ptr %25, align 8, !tbaa !24
  %74 = getelementptr inbounds double, ptr %73, i64 %indvars.iv
  %75 = load double, ptr %74, align 8, !tbaa !25
  %76 = tail call double @llvm.fmuladd.f64(double %75, double %75, double %71)
  %77 = tail call double @sqrt(double noundef %76) #7
  %78 = load ptr, ptr %15, align 8, !tbaa !14
  %79 = getelementptr inbounds ptr, ptr %78, i64 %indvars.iv116
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  %81 = getelementptr inbounds double, ptr %80, i64 %indvars.iv
  store double %77, ptr %81, align 8, !tbaa !25
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %82 = load i64, ptr %18, align 8, !tbaa !15
  %83 = icmp ugt i64 %82, %indvars.iv.next
  br i1 %83, label %72, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %72, %68
  %84 = phi ptr [ %39, %68 ], [ %80, %72 ]
  %85 = phi ptr [ %37, %68 ], [ %78, %72 ]
  %86 = phi i64 [ 0, %68 ], [ %82, %72 ]
  %87 = load double, ptr %84, align 8, !tbaa !25
  %88 = load ptr, ptr %26, align 8, !tbaa !28
  %89 = getelementptr inbounds ptr, ptr %88, i64 %indvars.iv116
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = load double, ptr %90, align 8, !tbaa !25
  %92 = fcmp olt double %87, %91
  br i1 %92, label %93, label %102

93:                                               ; preds = %._crit_edge
  %94 = fsub double %91, %87
  %95 = fcmp olt double %94, 0x3CE4000000000000
  br i1 %95, label %96, label %97

96:                                               ; preds = %93
  store double %91, ptr %84, align 8, !tbaa !25
  br label %102

97:                                               ; preds = %93
  %98 = trunc nuw nsw i64 %indvars.iv116 to i32
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #7
  %99 = load ptr, ptr %88, align 8, !tbaa !16
  %100 = load double, ptr %99, align 8, !tbaa !25
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.51, double noundef %100, i32 noundef %98, double noundef %87) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %7) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.52, ptr noundef nonnull %6) #7
  %101 = getelementptr inbounds i8, ptr %1, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %101, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_get_k_list, i32 noundef 1288, ptr noundef nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #7
  br label %.loopexit

102:                                              ; preds = %96, %._crit_edge
  %103 = getelementptr double, ptr %84, i64 %86
  %104 = getelementptr i8, ptr %103, i64 -8
  %105 = load double, ptr %104, align 8, !tbaa !25
  %106 = load ptr, ptr %88, align 8, !tbaa !16
  %107 = load ptr, ptr %27, align 8, !tbaa !29
  %108 = load i32, ptr %107, align 4, !tbaa !30
  %109 = sext i32 %108 to i64
  %110 = getelementptr double, ptr %106, i64 %109
  %111 = getelementptr i8, ptr %110, i64 -8
  %112 = load double, ptr %111, align 8, !tbaa !25
  %113 = fcmp ogt double %105, %112
  br i1 %113, label %114, label %118

114:                                              ; preds = %102
  %115 = trunc nuw nsw i64 %indvars.iv116 to i32
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #7
  %116 = load double, ptr %110, align 8, !tbaa !25
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.53, double noundef %116, i32 noundef %115, double noundef %105) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.54, ptr noundef nonnull %8) #7
  %117 = getelementptr inbounds i8, ptr %1, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %117, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_get_k_list, i32 noundef 1305, ptr noundef nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #7
  br label %.loopexit

118:                                              ; preds = %102
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %119 = load i32, ptr %10, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = icmp slt i64 %indvars.iv.next117, %120
  br i1 %121, label %31, label %.loopexit, !llvm.loop !31

.loopexit:                                        ; preds = %118, %.preheader, %114, %97, %41, %28
  %.0 = phi i32 [ 1, %28 ], [ 1, %41 ], [ 1, %114 ], [ 1, %97 ], [ 0, %.preheader ], [ 0, %118 ]
  ret i32 %.0
}

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

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

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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { 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, !11, i64 2212}
!6 = !{!"transfers", !7, i64 0, !7, i64 8, !7, i64 16, !8, i64 24, !8, i64 824, !10, i64 1624, !10, i64 1626, !8, i64 1628, !11, i64 1884, !12, i64 1888, !12, i64 1896, !12, i64 1904, !10, i64 1912, !10, i64 1914, !8, i64 1916, !11, i64 2172, !12, i64 2176, !12, i64 2184, !12, i64 2192, !12, i64 2200, !10, i64 2208, !11, i64 2212, !11, i64 2216, !11, i64 2220, !11, i64 2224, !11, i64 2228, !11, i64 2232, !11, i64 2236, !11, i64 2240, !11, i64 2244, !11, i64 2248, !11, i64 2252, !11, i64 2256, !11, i64 2260, !11, i64 2264, !11, i64 2268, !11, i64 2272, !11, i64 2276, !11, i64 2280, !12, i64 2288, !12, i64 2296, !12, i64 2304, !11, i64 2312, !12, i64 2320, !7, i64 2328, !13, i64 2336, !12, i64 2344, !12, i64 2352, !11, i64 2360, !12, i64 2368, !10, i64 2376, !10, i64 2378, !8, i64 2380}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !12, i64 2352}
!15 = !{!6, !13, i64 2336}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !10, i64 4}
!18 = !{!"perturbs", !10, i64 0, !10, i64 2, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 10, !10, i64 12, !10, i64 14, !10, i64 16, !10, i64 18, !10, i64 20, !11, i64 24, !10, i64 28, !10, i64 30, !10, i64 32, !10, i64 34, !10, i64 36, !10, i64 38, !10, i64 40, !10, i64 42, !10, i64 44, !10, i64 46, !10, i64 48, !10, i64 50, !10, i64 52, !10, i64 54, !10, i64 56, !10, i64 58, !10, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !7, i64 80, !11, i64 88, !11, i64 92, !8, i64 96, !8, i64 896, !11, i64 1696, !11, i64 1700, !11, i64 1704, !11, i64 1708, !11, i64 1712, !7, i64 1720, !11, i64 1728, !11, i64 1732, !8, i64 1736, !7, i64 1976, !7, i64 1984, !7, i64 1992, !12, i64 2000, !12, i64 2008, !11, i64 2016, !10, i64 2020, !10, i64 2022, !11, i64 2024, !11, i64 2028, !11, i64 2032, !11, i64 2036, !11, i64 2040, !11, i64 2044, !11, i64 2048, !11, i64 2052, !11, i64 2056, !11, i64 2060, !11, i64 2064, !12, i64 2072, !10, i64 2080, !10, i64 2082, !10, i64 2084, !10, i64 2086, !10, i64 2088, !10, i64 2090, !10, i64 2092, !10, i64 2094, !10, i64 2096, !10, i64 2098, !10, i64 2100, !10, i64 2102, !10, i64 2104, !10, i64 2106, !10, i64 2108, !10, i64 2110, !10, i64 2112, !10, i64 2114, !10, i64 2116, !10, i64 2118, !10, i64 2120, !10, i64 2122, !10, i64 2124, !10, i64 2126, !10, i64 2128, !10, i64 2130, !10, i64 2132, !10, i64 2134, !10, i64 2136, !10, i64 2138, !10, i64 2140, !10, i64 2142, !10, i64 2144, !10, i64 2146, !10, i64 2148, !10, i64 2150, !10, i64 2152, !10, i64 2154, !10, i64 2156, !10, i64 2158, !11, i64 2160, !11, i64 2164, !11, i64 2168, !11, i64 2172, !11, i64 2176, !11, i64 2180, !11, i64 2184, !11, i64 2188, !11, i64 2192, !11, i64 2196, !11, i64 2200, !11, i64 2204, !11, i64 2208, !11, i64 2212, !11, i64 2216, !11, i64 2220, !11, i64 2224, !11, i64 2228, !11, i64 2232, !11, i64 2236, !11, i64 2240, !11, i64 2244, !11, i64 2248, !11, i64 2252, !11, i64 2256, !11, i64 2260, !11, i64 2264, !11, i64 2268, !11, i64 2272, !11, i64 2276, !11, i64 2280, !11, i64 2284, !11, i64 2288, !11, i64 2292, !11, i64 2296, !11, i64 2300, !11, i64 2304, !11, i64 2308, !11, i64 2312, !11, i64 2316, !11, i64 2320, !11, i64 2324, !11, i64 2328, !11, i64 2332, !12, i64 2336, !12, i64 2344, !12, i64 2352, !12, i64 2360, !12, i64 2368, !7, i64 2376, !7, i64 2384, !12, i64 2392, !11, i64 2400, !7, i64 2408, !7, i64 2416, !7, i64 2424, !12, i64 2432, !12, i64 2440, !12, i64 2448, !12, i64 2456, !12, i64 2464, !12, i64 2472, !11, i64 2480, !12, i64 2488, !12, i64 2496, !12, i64 2504, !8, i64 2512, !8, i64 10512, !8, i64 18512, !11, i64 26512, !11, i64 26516, !11, i64 26520, !8, i64 26528, !8, i64 26768, !8, i64 27008, !8, i64 27248, !8, i64 27368, !8, i64 27488, !10, i64 27608, !8, i64 27610}
!19 = !{!18, !11, i64 2028}
!20 = !{!18, !10, i64 6}
!21 = !{!18, !11, i64 2036}
!22 = !{!18, !10, i64 8}
!23 = !{!18, !11, i64 2032}
!24 = !{!6, !12, i64 2344}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!18, !12, i64 2368}
!29 = !{!18, !12, i64 2352}
!30 = !{!11, !11, i64 0}
!31 = distinct !{!31, !27}


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