; LLVM IR from alexzheng42/sDMD :: src (TimePrediction)

; 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.InteractionEventStr = type { i32, i64, i64, double, double, i32, i32 }
%struct.ParameterStr = type { i32, i32, [4 x double], [4 x double], [4 x double], double, double, double, double, [4 x double], double, double, double, double, double, [4 x double], [4 x double], [4 x double], [4 x double] }
%struct.AtomStr = type { ptr, ptr }
%struct.PropertyStr = type { [8 x i8], [2 x [16 x i8]], [8 x i8], i32, i32, i32, double, double, [3 x double], %struct.AtomSeqStr, ptr, ptr }
%struct.AtomSeqStr = type { i32, i32, i32 }
%struct.DynamicStr = type { [4 x i32], [4 x double], [4 x double], %struct.HBStr, %struct.HBNeighborStr, %struct.InteractionEventStr }
%struct.HBStr = type { i32, i32, i8, i32 }
%struct.HBNeighborStr = type { [5 x i32], i32, i32 }
%struct.AtomListStr = type { i32, [27 x i32], [27 x i32], [27 x i32], double, ptr, ptr, ptr }

@celllist = external global ptr, align 8
@cutoffr = external global double, align 8
@cellnum = external global [4 x i32], align 16
@atomnum = external global i32, align 4
@connectionMap = external global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@tmpDouble = external global double, align 8
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@Methodtype = external global [20 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @CollisionTime(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca [4 x i32], align 16
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.InteractionEventStr, align 8
  %12 = alloca %struct.ParameterStr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %16 = load ptr, ptr @celllist, align 8, !tbaa !5
  store ptr %16, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 336, ptr %12) #6
  call void @InitializeEvent(ptr noundef %11)
  %17 = load double, ptr @cutoffr, align 8, !tbaa !9
  %18 = fmul double %17, 9.000000e-01
  %19 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 14
  store double %18, ptr %19, align 8, !tbaa !11
  %20 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 14
  %21 = load double, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 14
  %23 = load double, ptr %22, align 8, !tbaa !11
  %24 = fmul double %23, %21
  store double %24, ptr %22, align 8, !tbaa !11
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.AtomStr, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !14
  %28 = getelementptr inbounds %struct.PropertyStr, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !16
  store i32 %29, ptr %5, align 4, !tbaa !19
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.AtomStr, ptr %30, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !20
  %33 = getelementptr inbounds %struct.DynamicStr, ptr %32, i32 0, i32 1
  %34 = getelementptr inbounds [4 x double], ptr %33, i64 0, i64 0
  %35 = load double, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 15
  %37 = getelementptr inbounds [4 x double], ptr %36, i64 0, i64 0
  store double %35, ptr %37, align 8, !tbaa !9
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.AtomStr, ptr %38, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = getelementptr inbounds %struct.DynamicStr, ptr %40, i32 0, i32 1
  %42 = getelementptr inbounds [4 x double], ptr %41, i64 0, i64 1
  %43 = load double, ptr %42, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 15
  %45 = getelementptr inbounds [4 x double], ptr %44, i64 0, i64 1
  store double %43, ptr %45, align 8, !tbaa !9
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.AtomStr, ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !20
  %49 = getelementptr inbounds %struct.DynamicStr, ptr %48, i32 0, i32 1
  %50 = getelementptr inbounds [4 x double], ptr %49, i64 0, i64 2
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 15
  %53 = getelementptr inbounds [4 x double], ptr %52, i64 0, i64 2
  store double %51, ptr %53, align 8, !tbaa !9
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.AtomStr, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  %57 = getelementptr inbounds %struct.DynamicStr, ptr %56, i32 0, i32 1
  %58 = getelementptr inbounds [4 x double], ptr %57, i64 0, i64 3
  %59 = load double, ptr %58, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 15
  %61 = getelementptr inbounds [4 x double], ptr %60, i64 0, i64 3
  store double %59, ptr %61, align 8, !tbaa !9
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.AtomStr, ptr %62, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !20
  %65 = getelementptr inbounds %struct.DynamicStr, ptr %64, i32 0, i32 2
  %66 = getelementptr inbounds [4 x double], ptr %65, i64 0, i64 0
  %67 = load double, ptr %66, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 16
  %69 = getelementptr inbounds [4 x double], ptr %68, i64 0, i64 0
  store double %67, ptr %69, align 8, !tbaa !9
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.AtomStr, ptr %70, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !20
  %73 = getelementptr inbounds %struct.DynamicStr, ptr %72, i32 0, i32 2
  %74 = getelementptr inbounds [4 x double], ptr %73, i64 0, i64 1
  %75 = load double, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 16
  %77 = getelementptr inbounds [4 x double], ptr %76, i64 0, i64 1
  store double %75, ptr %77, align 8, !tbaa !9
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.AtomStr, ptr %78, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !20
  %81 = getelementptr inbounds %struct.DynamicStr, ptr %80, i32 0, i32 2
  %82 = getelementptr inbounds [4 x double], ptr %81, i64 0, i64 2
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 16
  %85 = getelementptr inbounds [4 x double], ptr %84, i64 0, i64 2
  store double %83, ptr %85, align 8, !tbaa !9
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.AtomStr, ptr %86, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !20
  %89 = getelementptr inbounds %struct.DynamicStr, ptr %88, i32 0, i32 2
  %90 = getelementptr inbounds [4 x double], ptr %89, i64 0, i64 3
  %91 = load double, ptr %90, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 16
  %93 = getelementptr inbounds [4 x double], ptr %92, i64 0, i64 3
  store double %91, ptr %93, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !19
  br label %94

94:                                               ; preds = %509, %2
  %95 = load i32, ptr %13, align 4, !tbaa !19
  %96 = icmp slt i32 %95, 27
  br i1 %96, label %98, label %97

97:                                               ; preds = %94
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %512

98:                                               ; preds = %94
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.AtomStr, ptr %99, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %102 = getelementptr inbounds %struct.DynamicStr, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds [4 x i32], ptr %102, i64 0, i64 3
  %104 = load i32, ptr %103, align 4, !tbaa !19
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.AtomListStr, ptr %105, i32 0, i32 3
  %107 = load i32, ptr %13, align 4, !tbaa !19
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [27 x i32], ptr %106, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !19
  %111 = add nsw i32 %104, %110
  %112 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 3
  store i32 %111, ptr %112, align 4, !tbaa !19
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.AtomStr, ptr %113, i32 0, i32 1
  %115 = load ptr, ptr %114, align 8, !tbaa !20
  %116 = getelementptr inbounds %struct.DynamicStr, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds [4 x i32], ptr %116, i64 0, i64 2
  %118 = load i32, ptr %117, align 8, !tbaa !19
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.AtomListStr, ptr %119, i32 0, i32 2
  %121 = load i32, ptr %13, align 4, !tbaa !19
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [27 x i32], ptr %120, i64 0, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !19
  %125 = add nsw i32 %118, %124
  %126 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 2
  store i32 %125, ptr %126, align 8, !tbaa !19
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.AtomStr, ptr %127, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !20
  %130 = getelementptr inbounds %struct.DynamicStr, ptr %129, i32 0, i32 0
  %131 = getelementptr inbounds [4 x i32], ptr %130, i64 0, i64 1
  %132 = load i32, ptr %131, align 4, !tbaa !19
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.AtomListStr, ptr %133, i32 0, i32 1
  %135 = load i32, ptr %13, align 4, !tbaa !19
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [27 x i32], ptr %134, i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !19
  %139 = add nsw i32 %132, %138
  %140 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
  store i32 %139, ptr %140, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 1, ptr %15, align 4, !tbaa !19
  br label %141

141:                                              ; preds = %188, %98
  %142 = load i32, ptr %15, align 4, !tbaa !19
  %143 = icmp sle i32 %142, 3
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %191

145:                                              ; preds = %141
  %146 = load i32, ptr %15, align 4, !tbaa !19
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !19
  %150 = icmp slt i32 %149, 0
  %151 = xor i1 %150, true
  %152 = xor i1 %151, true
  %153 = zext i1 %152 to i32
  %154 = sext i32 %153 to i64
  %155 = call i64 @llvm.expect.i64(i64 %154, i64 0)
  %156 = icmp ne i64 %155, 0
  br i1 %156, label %157, label %166

157:                                              ; preds = %145
  %158 = load i32, ptr %15, align 4, !tbaa !19
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [4 x i32], ptr @cellnum, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !19
  %162 = sub nsw i32 %161, 1
  %163 = load i32, ptr %15, align 4, !tbaa !19
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %164
  store i32 %162, ptr %165, align 4, !tbaa !19
  br label %187

166:                                              ; preds = %145
  %167 = load i32, ptr %15, align 4, !tbaa !19
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %168
  %170 = load i32, ptr %169, align 4, !tbaa !19
  %171 = load i32, ptr %15, align 4, !tbaa !19
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [4 x i32], ptr @cellnum, i64 0, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !19
  %175 = icmp sge i32 %170, %174
  %176 = xor i1 %175, true
  %177 = xor i1 %176, true
  %178 = zext i1 %177 to i32
  %179 = sext i32 %178 to i64
  %180 = call i64 @llvm.expect.i64(i64 %179, i64 0)
  %181 = icmp ne i64 %180, 0
  br i1 %181, label %182, label %186

182:                                              ; preds = %166
  %183 = load i32, ptr %15, align 4, !tbaa !19
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %184
  store i32 0, ptr %185, align 4, !tbaa !19
  br label %186

186:                                              ; preds = %182, %166
  br label %187

187:                                              ; preds = %186, %157
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %15, align 4, !tbaa !19
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %15, align 4, !tbaa !19
  br label %141, !llvm.loop !21

191:                                              ; preds = %144
  %192 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 3
  %193 = load i32, ptr %192, align 4, !tbaa !19
  %194 = load i32, ptr getelementptr inbounds ([4 x i32], ptr @cellnum, i64 0, i64 1), align 4, !tbaa !19
  %195 = mul nsw i32 %193, %194
  %196 = load i32, ptr getelementptr inbounds ([4 x i32], ptr @cellnum, i64 0, i64 2), align 8, !tbaa !19
  %197 = mul nsw i32 %195, %196
  %198 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 2
  %199 = load i32, ptr %198, align 8, !tbaa !19
  %200 = load i32, ptr getelementptr inbounds ([4 x i32], ptr @cellnum, i64 0, i64 1), align 4, !tbaa !19
  %201 = mul nsw i32 %199, %200
  %202 = add nsw i32 %197, %201
  %203 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
  %204 = load i32, ptr %203, align 4, !tbaa !19
  %205 = add nsw i32 %202, %204
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %8, align 4, !tbaa !19
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = load i32, ptr @atomnum, align 4, !tbaa !19
  %209 = load i32, ptr %8, align 4, !tbaa !19
  %210 = add nsw i32 %208, %209
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds i32, ptr %207, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !19
  store i32 %213, ptr %6, align 4, !tbaa !19
  br label %214

214:                                              ; preds = %502, %458, %393, %270, %233, %191
  %215 = load i32, ptr %6, align 4, !tbaa !19
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %508

217:                                              ; preds = %214
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.AtomListStr, ptr %218, i32 0, i32 7
  %220 = load ptr, ptr %219, align 8, !tbaa !23
  %221 = load i32, ptr %6, align 4, !tbaa !19
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds ptr, ptr %220, i64 %222
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  store ptr %224, ptr %10, align 8, !tbaa !5
  %225 = load i32, ptr %5, align 4, !tbaa !19
  %226 = load i32, ptr %6, align 4, !tbaa !19
  %227 = icmp ne i32 %225, %226
  br i1 %227, label %228, label %502

228:                                              ; preds = %217
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = load ptr, ptr %10, align 8, !tbaa !5
  %231 = call i32 @CheckDuplication(ptr noundef %229, ptr noundef %230, i32 noundef 0)
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %239

233:                                              ; preds = %228
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = load i32, ptr %6, align 4, !tbaa !19
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds i32, ptr %234, i64 %236
  %238 = load i32, ptr %237, align 4, !tbaa !19
  store i32 %238, ptr %6, align 4, !tbaa !19
  br label %214, !llvm.loop !25

239:                                              ; preds = %228
  %240 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %241 = load i32, ptr %5, align 4, !tbaa !19
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds ptr, ptr %240, i64 %242
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  %245 = load i32, ptr %6, align 4, !tbaa !19
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds i32, ptr %244, i64 %246
  %248 = load i32, ptr %247, align 4, !tbaa !19
  %249 = and i32 %248, 1
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %270, label %251

251:                                              ; preds = %239
  %252 = load ptr, ptr %3, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.AtomStr, ptr %252, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !20
  %255 = getelementptr inbounds %struct.DynamicStr, ptr %254, i32 0, i32 3
  %256 = getelementptr inbounds %struct.HBStr, ptr %255, i32 0, i32 0
  %257 = load i32, ptr %256, align 8, !tbaa !26
  %258 = load i32, ptr %6, align 4, !tbaa !19
  %259 = icmp eq i32 %257, %258
  br i1 %259, label %270, label %260

260:                                              ; preds = %251
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.AtomStr, ptr %261, i32 0, i32 1
  %263 = load ptr, ptr %262, align 8, !tbaa !20
  %264 = getelementptr inbounds %struct.DynamicStr, ptr %263, i32 0, i32 4
  %265 = getelementptr inbounds %struct.HBNeighborStr, ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds [5 x i32], ptr %265, i64 0, i64 0
  %267 = load i32, ptr %6, align 4, !tbaa !19
  %268 = call i32 @FindElemInList(ptr noundef %266, i32 noundef %267, i32 noundef -1, i32 noundef -1, i32 noundef 0)
  %269 = icmp ne i32 %268, 0
  br i1 %269, label %270, label %276

270:                                              ; preds = %260, %251, %239
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = load i32, ptr %6, align 4, !tbaa !19
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds i32, ptr %271, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !19
  store i32 %275, ptr %6, align 4, !tbaa !19
  br label %214, !llvm.loop !25

276:                                              ; preds = %260
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.AtomStr, ptr %277, i32 0, i32 1
  %279 = load ptr, ptr %278, align 8, !tbaa !20
  %280 = getelementptr inbounds %struct.DynamicStr, ptr %279, i32 0, i32 1
  %281 = getelementptr inbounds [4 x double], ptr %280, i64 0, i64 0
  %282 = load double, ptr %281, align 8, !tbaa !9
  %283 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 17
  %284 = getelementptr inbounds [4 x double], ptr %283, i64 0, i64 0
  store double %282, ptr %284, align 8, !tbaa !9
  %285 = load ptr, ptr %10, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.AtomStr, ptr %285, i32 0, i32 1
  %287 = load ptr, ptr %286, align 8, !tbaa !20
  %288 = getelementptr inbounds %struct.DynamicStr, ptr %287, i32 0, i32 1
  %289 = getelementptr inbounds [4 x double], ptr %288, i64 0, i64 1
  %290 = load double, ptr %289, align 8, !tbaa !9
  %291 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 17
  %292 = getelementptr inbounds [4 x double], ptr %291, i64 0, i64 1
  store double %290, ptr %292, align 8, !tbaa !9
  %293 = load ptr, ptr %10, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.AtomStr, ptr %293, i32 0, i32 1
  %295 = load ptr, ptr %294, align 8, !tbaa !20
  %296 = getelementptr inbounds %struct.DynamicStr, ptr %295, i32 0, i32 1
  %297 = getelementptr inbounds [4 x double], ptr %296, i64 0, i64 2
  %298 = load double, ptr %297, align 8, !tbaa !9
  %299 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 17
  %300 = getelementptr inbounds [4 x double], ptr %299, i64 0, i64 2
  store double %298, ptr %300, align 8, !tbaa !9
  %301 = load ptr, ptr %10, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.AtomStr, ptr %301, i32 0, i32 1
  %303 = load ptr, ptr %302, align 8, !tbaa !20
  %304 = getelementptr inbounds %struct.DynamicStr, ptr %303, i32 0, i32 1
  %305 = getelementptr inbounds [4 x double], ptr %304, i64 0, i64 3
  %306 = load double, ptr %305, align 8, !tbaa !9
  %307 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 17
  %308 = getelementptr inbounds [4 x double], ptr %307, i64 0, i64 3
  store double %306, ptr %308, align 8, !tbaa !9
  %309 = load ptr, ptr %10, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.AtomStr, ptr %309, i32 0, i32 1
  %311 = load ptr, ptr %310, align 8, !tbaa !20
  %312 = getelementptr inbounds %struct.DynamicStr, ptr %311, i32 0, i32 2
  %313 = getelementptr inbounds [4 x double], ptr %312, i64 0, i64 0
  %314 = load double, ptr %313, align 8, !tbaa !9
  %315 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 18
  %316 = getelementptr inbounds [4 x double], ptr %315, i64 0, i64 0
  store double %314, ptr %316, align 8, !tbaa !9
  %317 = load ptr, ptr %10, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.AtomStr, ptr %317, i32 0, i32 1
  %319 = load ptr, ptr %318, align 8, !tbaa !20
  %320 = getelementptr inbounds %struct.DynamicStr, ptr %319, i32 0, i32 2
  %321 = getelementptr inbounds [4 x double], ptr %320, i64 0, i64 1
  %322 = load double, ptr %321, align 8, !tbaa !9
  %323 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 18
  %324 = getelementptr inbounds [4 x double], ptr %323, i64 0, i64 1
  store double %322, ptr %324, align 8, !tbaa !9
  %325 = load ptr, ptr %10, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.AtomStr, ptr %325, i32 0, i32 1
  %327 = load ptr, ptr %326, align 8, !tbaa !20
  %328 = getelementptr inbounds %struct.DynamicStr, ptr %327, i32 0, i32 2
  %329 = getelementptr inbounds [4 x double], ptr %328, i64 0, i64 2
  %330 = load double, ptr %329, align 8, !tbaa !9
  %331 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 18
  %332 = getelementptr inbounds [4 x double], ptr %331, i64 0, i64 2
  store double %330, ptr %332, align 8, !tbaa !9
  %333 = load ptr, ptr %10, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.AtomStr, ptr %333, i32 0, i32 1
  %335 = load ptr, ptr %334, align 8, !tbaa !20
  %336 = getelementptr inbounds %struct.DynamicStr, ptr %335, i32 0, i32 2
  %337 = getelementptr inbounds [4 x double], ptr %336, i64 0, i64 3
  %338 = load double, ptr %337, align 8, !tbaa !9
  %339 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 18
  %340 = getelementptr inbounds [4 x double], ptr %339, i64 0, i64 3
  store double %338, ptr %340, align 8, !tbaa !9
  %341 = load ptr, ptr %3, align 8, !tbaa !5
  %342 = load ptr, ptr %10, align 8, !tbaa !5
  call void @CalculateParameters(ptr noundef %341, ptr noundef %342, ptr noundef %12)
  %343 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 7
  %344 = load double, ptr %343, align 8, !tbaa !32
  %345 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 14
  %346 = load double, ptr %345, align 8, !tbaa !11
  %347 = fcmp ole double %344, %346
  br i1 %347, label %348, label %501

348:                                              ; preds = %276
  %349 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %350 = load i32, ptr %5, align 4, !tbaa !19
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds ptr, ptr %349, i64 %351
  %353 = load ptr, ptr %352, align 8, !tbaa !5
  %354 = load i32, ptr %6, align 4, !tbaa !19
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds i32, ptr %353, i64 %355
  %357 = load i32, ptr %356, align 4, !tbaa !19
  %358 = and i32 %357, 2
  %359 = icmp ne i32 %358, 0
  br i1 %359, label %360, label %373

360:                                              ; preds = %348
  %361 = load ptr, ptr %3, align 8, !tbaa !5
  %362 = load ptr, ptr %10, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 5
  %364 = load double, ptr %363, align 8, !tbaa !33
  %365 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 7
  %366 = load double, ptr %365, align 8, !tbaa !32
  %367 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 12
  %368 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 13
  %369 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 10
  %370 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 11
  %371 = call i32 @FindPair(ptr noundef %361, ptr noundef %362, ptr noundef @.str, double noundef %364, double noundef %366, ptr noundef %367, ptr noundef %368, ptr noundef %369, ptr noundef %370, ptr noundef @tmpDouble, ptr noundef null, i32 noundef 0)
  %372 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 0
  store i32 %371, ptr %372, align 8, !tbaa !34
  br label %400

373:                                              ; preds = %348
  %374 = load ptr, ptr %3, align 8, !tbaa !5
  %375 = load ptr, ptr %10, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 5
  %377 = load double, ptr %376, align 8, !tbaa !33
  %378 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 7
  %379 = load double, ptr %378, align 8, !tbaa !32
  %380 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 12
  %381 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 13
  %382 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 10
  %383 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 11
  %384 = call i32 @FindPair(ptr noundef %374, ptr noundef %375, ptr noundef @.str.1, double noundef %377, double noundef %379, ptr noundef %380, ptr noundef %381, ptr noundef %382, ptr noundef %383, ptr noundef @tmpDouble, ptr noundef null, i32 noundef 0)
  %385 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 0
  store i32 %384, ptr %385, align 8, !tbaa !34
  %386 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 10
  %387 = load double, ptr %386, align 8, !tbaa !35
  %388 = fcmp oeq double %387, 0.000000e+00
  br i1 %388, label %389, label %399

389:                                              ; preds = %373
  %390 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 11
  %391 = load double, ptr %390, align 8, !tbaa !36
  %392 = fcmp oeq double %391, 0.000000e+00
  br i1 %392, label %393, label %399

393:                                              ; preds = %389
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = load i32, ptr %6, align 4, !tbaa !19
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds i32, ptr %394, i64 %396
  %398 = load i32, ptr %397, align 4, !tbaa !19
  store i32 %398, ptr %6, align 4, !tbaa !19
  br label %214, !llvm.loop !25

399:                                              ; preds = %389, %373
  br label %400

400:                                              ; preds = %399, %360
  %401 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 5
  %402 = load double, ptr %401, align 8, !tbaa !33
  %403 = fcmp olt double %402, 0.000000e+00
  br i1 %403, label %404, label %423

404:                                              ; preds = %400
  %405 = call double @CalculateDisc(ptr noundef %12)
  %406 = fcmp ogt double %405, 0.000000e+00
  br i1 %406, label %407, label %423

407:                                              ; preds = %404
  %408 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 1
  store i32 -1, ptr %408, align 4, !tbaa !37
  %409 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 12
  %410 = load double, ptr %409, align 8, !tbaa !38
  %411 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 8
  store double %410, ptr %411, align 8, !tbaa !39
  %412 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 10
  %413 = load double, ptr %412, align 8, !tbaa !35
  %414 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 4
  store double %413, ptr %414, align 8, !tbaa !40
  %415 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 0
  %416 = load i32, ptr %415, align 8, !tbaa !34
  %417 = icmp eq i32 %416, 0
  br i1 %417, label %418, label %420

418:                                              ; preds = %407
  %419 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 6
  store i32 0, ptr %419, align 4, !tbaa !41
  br label %422

420:                                              ; preds = %407
  %421 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 6
  store i32 4, ptr %421, align 4, !tbaa !41
  br label %422

422:                                              ; preds = %420, %418
  br label %469

423:                                              ; preds = %404, %400
  %424 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 1
  store i32 1, ptr %424, align 4, !tbaa !37
  %425 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 13
  %426 = load double, ptr %425, align 8, !tbaa !42
  %427 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 8
  store double %426, ptr %427, align 8, !tbaa !39
  %428 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 11
  %429 = load double, ptr %428, align 8, !tbaa !36
  %430 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 4
  store double %429, ptr %430, align 8, !tbaa !40
  %431 = call i32 @strncmp(ptr noundef @Methodtype, ptr noundef @.str.2, i64 noundef 1) #7
  %432 = icmp eq i32 %431, 0
  br i1 %432, label %433, label %468

433:                                              ; preds = %423
  %434 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %435 = load i32, ptr %5, align 4, !tbaa !19
  %436 = sext i32 %435 to i64
  %437 = getelementptr inbounds ptr, ptr %434, i64 %436
  %438 = load ptr, ptr %437, align 8, !tbaa !5
  %439 = load i32, ptr %6, align 4, !tbaa !19
  %440 = sext i32 %439 to i64
  %441 = getelementptr inbounds i32, ptr %438, i64 %440
  %442 = load i32, ptr %441, align 4, !tbaa !19
  %443 = and i32 %442, 2
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %445, label %454

445:                                              ; preds = %433
  %446 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 0
  %447 = load i32, ptr %446, align 8, !tbaa !34
  %448 = icmp eq i32 %447, 1
  br i1 %448, label %449, label %451

449:                                              ; preds = %445
  %450 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 6
  store i32 1, ptr %450, align 4, !tbaa !41
  br label %453

451:                                              ; preds = %445
  %452 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 6
  store i32 5, ptr %452, align 4, !tbaa !41
  br label %453

453:                                              ; preds = %451, %449
  br label %467

454:                                              ; preds = %433
  %455 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 0
  %456 = load i32, ptr %455, align 8, !tbaa !34
  %457 = icmp eq i32 %456, 1
  br i1 %457, label %458, label %464

458:                                              ; preds = %454
  %459 = load ptr, ptr %9, align 8, !tbaa !5
  %460 = load i32, ptr %6, align 4, !tbaa !19
  %461 = sext i32 %460 to i64
  %462 = getelementptr inbounds i32, ptr %459, i64 %461
  %463 = load i32, ptr %462, align 4, !tbaa !19
  store i32 %463, ptr %6, align 4, !tbaa !19
  br label %214, !llvm.loop !25

464:                                              ; preds = %454
  %465 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 6
  store i32 5, ptr %465, align 4, !tbaa !41
  br label %466

466:                                              ; preds = %464
  br label %467

467:                                              ; preds = %466, %453
  br label %468

468:                                              ; preds = %467, %423
  br label %469

469:                                              ; preds = %468, %422
  %470 = call double @CalculateTime(ptr noundef %12)
  %471 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 3
  store double %470, ptr %471, align 8, !tbaa !43
  %472 = getelementptr inbounds %struct.InteractionEventStr, ptr %11, i32 0, i32 3
  %473 = load double, ptr %472, align 8, !tbaa !43
  %474 = fcmp olt double %473, 0.000000e+00
  %475 = xor i1 %474, true
  %476 = xor i1 %475, true
  %477 = zext i1 %476 to i32
  %478 = sext i32 %477 to i64
  %479 = call i64 @llvm.expect.i64(i64 %478, i64 0)
  %480 = icmp ne i64 %479, 0
  br i1 %480, label %481, label %497

481:                                              ; preds = %469
  %482 = load i32, ptr %5, align 4, !tbaa !19
  %483 = load i32, ptr %6, align 4, !tbaa !19
  %484 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %482, i32 noundef %483)
  %485 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 7
  %486 = load double, ptr %485, align 8, !tbaa !32
  %487 = call double @sqrt(double noundef %486) #6
  %488 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %487)
  %489 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 12
  %490 = load double, ptr %489, align 8, !tbaa !38
  %491 = call double @sqrt(double noundef %490) #6
  %492 = getelementptr inbounds %struct.ParameterStr, ptr %12, i32 0, i32 13
  %493 = load double, ptr %492, align 8, !tbaa !42
  %494 = call double @sqrt(double noundef %493) #6
  %495 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %491, double noundef %494)
  %496 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 172)
  br label %497

497:                                              ; preds = %481, %469
  %498 = load ptr, ptr %3, align 8, !tbaa !5
  %499 = load ptr, ptr %10, align 8, !tbaa !5
  %500 = call i32 @JobAssign(ptr noundef %498, ptr noundef %499, ptr noundef %11, i32 noundef 0)
  br label %501

501:                                              ; preds = %497, %276
  br label %502

502:                                              ; preds = %501, %217
  %503 = load ptr, ptr %9, align 8, !tbaa !5
  %504 = load i32, ptr %6, align 4, !tbaa !19
  %505 = sext i32 %504 to i64
  %506 = getelementptr inbounds i32, ptr %503, i64 %505
  %507 = load i32, ptr %506, align 4, !tbaa !19
  store i32 %507, ptr %6, align 4, !tbaa !19
  br label %214, !llvm.loop !25

508:                                              ; preds = %214
  br label %509

509:                                              ; preds = %508
  %510 = load i32, ptr %13, align 4, !tbaa !19
  %511 = add nsw i32 %510, 1
  store i32 %511, ptr %13, align 4, !tbaa !19
  br label %94, !llvm.loop !44

512:                                              ; preds = %97
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 336, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @InitializeEvent(ptr noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #2

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

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

declare i32 @FindElemInList(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

declare i32 @FindPair(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

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

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

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

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

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

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

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

!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, !10, i64 200}
!12 = !{!"ParameterStr", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 40, !7, i64 72, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !7, i64 136, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !7, i64 208, !7, i64 240, !7, i64 272, !7, i64 304}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"AtomStr", !6, i64 0, !6, i64 8}
!16 = !{!17, !13, i64 48}
!17 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !10, i64 64, !10, i64 72, !7, i64 80, !18, i64 104, !6, i64 120, !6, i64 128}
!18 = !{!"AtomSeqStr", !13, i64 0, !13, i64 4, !13, i64 8}
!19 = !{!13, !13, i64 0}
!20 = !{!15, !6, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !6, i64 352}
!24 = !{!"AtomListStr", !13, i64 0, !7, i64 4, !7, i64 112, !7, i64 220, !10, i64 328, !6, i64 336, !6, i64 344, !6, i64 352}
!25 = distinct !{!25, !22}
!26 = !{!27, !13, i64 80}
!27 = !{!"DynamicStr", !7, i64 0, !7, i64 16, !7, i64 48, !28, i64 80, !29, i64 96, !30, i64 128}
!28 = !{!"HBStr", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 12}
!29 = !{!"HBNeighborStr", !7, i64 0, !13, i64 20, !13, i64 24}
!30 = !{!"InteractionEventStr", !13, i64 0, !31, i64 8, !31, i64 16, !10, i64 24, !10, i64 32, !13, i64 40, !13, i64 44}
!31 = !{!"long", !7, i64 0}
!32 = !{!12, !10, i64 120}
!33 = !{!12, !10, i64 104}
!34 = !{!12, !13, i64 0}
!35 = !{!12, !10, i64 168}
!36 = !{!12, !10, i64 176}
!37 = !{!12, !13, i64 4}
!38 = !{!12, !10, i64 184}
!39 = !{!12, !10, i64 128}
!40 = !{!30, !10, i64 32}
!41 = !{!30, !13, i64 44}
!42 = !{!12, !10, i64 192}
!43 = !{!30, !10, i64 24}
!44 = distinct !{!44, !22}


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

%struct.InteractionEventStr = type { i32, i64, i64, double, double, i32, i32 }
%struct.ParameterStr = type { i32, i32, [4 x double], [4 x double], [4 x double], double, double, double, double, [4 x double], double, double, double, double, double, [4 x double], [4 x double], [4 x double], [4 x double] }

@celllist = external local_unnamed_addr global ptr, align 8
@cutoffr = external local_unnamed_addr global double, align 8
@cellnum = external local_unnamed_addr global [4 x i32], align 16
@atomnum = external local_unnamed_addr global i32, align 4
@connectionMap = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@tmpDouble = external global double, align 8
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@Methodtype = external local_unnamed_addr global [20 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @CollisionTime(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.InteractionEventStr, align 8
  %4 = alloca %struct.ParameterStr, align 8
  %5 = load ptr, ptr @celllist, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %4) #5
  call void @InitializeEvent(ptr noundef nonnull %3)
  %6 = load double, ptr @cutoffr, align 8, !tbaa !9
  %7 = fmul double %6, 9.000000e-01
  %8 = getelementptr inbounds i8, ptr %4, i64 200
  %9 = fmul double %7, %7
  store double %9, ptr %8, align 8, !tbaa !11
  %10 = load ptr, ptr %0, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %10, i64 48
  %12 = load i32, ptr %11, align 8, !tbaa !16
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %16 = load double, ptr %15, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %4, i64 208
  store double %16, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %14, i64 24
  %19 = load double, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %4, i64 216
  store double %19, ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %14, i64 32
  %22 = load double, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %4, i64 224
  store double %22, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %14, i64 40
  %25 = load double, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %4, i64 232
  store double %25, ptr %26, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %14, i64 48
  %28 = load double, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %4, i64 240
  store double %28, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %14, i64 56
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %4, i64 248
  store double %31, ptr %32, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %14, i64 64
  %34 = load double, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %4, i64 256
  store double %34, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %14, i64 72
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %4, i64 264
  store double %37, ptr %38, align 8, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %1, i64 220
  %40 = getelementptr inbounds i8, ptr %1, i64 112
  %41 = getelementptr inbounds i8, ptr %1, i64 4
  %42 = getelementptr inbounds i8, ptr %1, i64 352
  %43 = sext i32 %12 to i64
  %44 = getelementptr inbounds i8, ptr %4, i64 272
  %45 = getelementptr inbounds i8, ptr %4, i64 280
  %46 = getelementptr inbounds i8, ptr %4, i64 288
  %47 = getelementptr inbounds i8, ptr %4, i64 296
  %48 = getelementptr inbounds i8, ptr %4, i64 304
  %49 = getelementptr inbounds i8, ptr %4, i64 312
  %50 = getelementptr inbounds i8, ptr %4, i64 320
  %51 = getelementptr inbounds i8, ptr %4, i64 328
  %52 = getelementptr inbounds i8, ptr %4, i64 120
  %53 = getelementptr inbounds i8, ptr %4, i64 104
  %54 = getelementptr inbounds i8, ptr %4, i64 184
  %55 = getelementptr inbounds i8, ptr %4, i64 192
  %56 = getelementptr inbounds i8, ptr %4, i64 168
  %57 = getelementptr inbounds i8, ptr %4, i64 176
  %58 = getelementptr inbounds i8, ptr %4, i64 4
  %59 = getelementptr inbounds i8, ptr %4, i64 128
  %60 = getelementptr inbounds i8, ptr %3, i64 32
  %rhsc = load i8, ptr @.str.2, align 1
  %61 = getelementptr inbounds i8, ptr %3, i64 44
  %62 = getelementptr inbounds i8, ptr %3, i64 24
  br label %64

63:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  ret void

64:                                               ; preds = %2, %._crit_edge
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %._crit_edge ]
  %65 = load ptr, ptr %13, align 8, !tbaa !19
  %66 = getelementptr inbounds i8, ptr %65, i64 12
  %67 = load i32, ptr %66, align 4, !tbaa !20
  %68 = getelementptr inbounds [27 x i32], ptr %39, i64 0, i64 %indvars.iv
  %69 = load i32, ptr %68, align 4, !tbaa !20
  %70 = add nsw i32 %69, %67
  %71 = getelementptr inbounds i8, ptr %65, i64 8
  %72 = load i32, ptr %71, align 8, !tbaa !20
  %73 = getelementptr inbounds [27 x i32], ptr %40, i64 0, i64 %indvars.iv
  %74 = load i32, ptr %73, align 4, !tbaa !20
  %75 = add nsw i32 %74, %72
  %76 = getelementptr inbounds i8, ptr %65, i64 4
  %77 = load i32, ptr %76, align 4, !tbaa !20
  %78 = getelementptr inbounds [27 x i32], ptr %41, i64 0, i64 %indvars.iv
  %79 = load i32, ptr %78, align 4, !tbaa !20
  %80 = add nsw i32 %79, %77
  %81 = icmp slt i32 %80, 0
  %82 = load i32, ptr getelementptr inbounds (i8, ptr @cellnum, i64 4), align 4, !tbaa !20
  br i1 %81, label %83, label %85, !prof !21

83:                                               ; preds = %64
  %84 = add nsw i32 %82, -1
  br label %87

85:                                               ; preds = %64
  %.not87 = icmp slt i32 %80, %82
  br i1 %.not87, label %87, label %86, !prof !22

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %83, %86, %85
  %.sroa.2.0 = phi i32 [ %84, %83 ], [ %80, %85 ], [ 0, %86 ]
  %88 = icmp slt i32 %75, 0
  %89 = load i32, ptr getelementptr inbounds (i8, ptr @cellnum, i64 8), align 8, !tbaa !20
  br i1 %88, label %92, label %90, !prof !21

90:                                               ; preds = %87
  %.not87.1 = icmp slt i32 %75, %89
  br i1 %.not87.1, label %94, label %91, !prof !22

91:                                               ; preds = %90
  br label %94

92:                                               ; preds = %87
  %93 = add nsw i32 %89, -1
  br label %94

94:                                               ; preds = %92, %91, %90
  %.sroa.7.0 = phi i32 [ %93, %92 ], [ %75, %90 ], [ 0, %91 ]
  %95 = icmp slt i32 %70, 0
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @cellnum, i64 12), align 4, !tbaa !20
  br i1 %95, label %99, label %97, !prof !21

97:                                               ; preds = %94
  %.not87.2 = icmp slt i32 %70, %96
  br i1 %.not87.2, label %101, label %98, !prof !22

98:                                               ; preds = %97
  br label %101

99:                                               ; preds = %94
  %100 = add nsw i32 %96, -1
  br label %101

101:                                              ; preds = %99, %98, %97
  %.sroa.12.0 = phi i32 [ %100, %99 ], [ %70, %97 ], [ 0, %98 ]
  %102 = mul i32 %89, %.sroa.12.0
  %103 = load i32, ptr @atomnum, align 4, !tbaa !20
  %reass.add = add i32 %.sroa.7.0, %102
  %reass.mul = mul i32 %reass.add, %82
  %104 = add nsw i32 %.sroa.2.0, 1
  %105 = add i32 %104, %103
  %106 = add i32 %105, %reass.mul
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %5, i64 %107
  %.07789 = load i32, ptr %108, align 4, !tbaa !20
  %.not90 = icmp eq i32 %.07789, 0
  br i1 %.not90, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %101, %.backedge
  %.07791 = phi i32 [ %.077, %.backedge ], [ %.07789, %101 ]
  %109 = load ptr, ptr %42, align 8, !tbaa !23
  %110 = sext i32 %.07791 to i64
  %111 = getelementptr inbounds ptr, ptr %109, i64 %110
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %.not81 = icmp eq i32 %12, %.07791
  br i1 %.not81, label %.backedge, label %113

113:                                              ; preds = %.lr.ph
  %114 = call i32 @CheckDuplication(ptr noundef nonnull %0, ptr noundef %112, i32 noundef 0)
  %.not82 = icmp eq i32 %114, 0
  br i1 %.not82, label %115, label %.backedge

.backedge:                                        ; preds = %.lr.ph, %208, %130, %193, %162, %115, %122, %127, %113
  %.077.in.be = getelementptr inbounds i32, ptr %5, i64 %110
  %.077 = load i32, ptr %.077.in.be, align 4, !tbaa !20
  %.not = icmp eq i32 %.077, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !25

115:                                              ; preds = %113
  %116 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %117 = getelementptr inbounds ptr, ptr %116, i64 %43
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = getelementptr inbounds i32, ptr %118, i64 %110
  %120 = load i32, ptr %119, align 4, !tbaa !20
  %121 = and i32 %120, 1
  %.not83 = icmp eq i32 %121, 0
  br i1 %.not83, label %122, label %.backedge

122:                                              ; preds = %115
  %123 = load ptr, ptr %13, align 8, !tbaa !19
  %124 = getelementptr inbounds i8, ptr %123, i64 80
  %125 = load i32, ptr %124, align 8, !tbaa !27
  %126 = icmp eq i32 %125, %.07791
  br i1 %126, label %.backedge, label %127

127:                                              ; preds = %122
  %128 = getelementptr inbounds i8, ptr %123, i64 96
  %129 = call i32 @FindElemInList(ptr noundef nonnull %128, i32 noundef %.07791, i32 noundef -1, i32 noundef -1, i32 noundef 0) #5
  %.not84 = icmp eq i32 %129, 0
  br i1 %.not84, label %130, label %.backedge

130:                                              ; preds = %127
  %131 = getelementptr inbounds i8, ptr %112, i64 8
  %132 = load ptr, ptr %131, align 8, !tbaa !19
  %133 = getelementptr inbounds i8, ptr %132, i64 16
  %134 = load double, ptr %133, align 8, !tbaa !9
  store double %134, ptr %44, align 8, !tbaa !9
  %135 = getelementptr inbounds i8, ptr %132, i64 24
  %136 = load double, ptr %135, align 8, !tbaa !9
  store double %136, ptr %45, align 8, !tbaa !9
  %137 = getelementptr inbounds i8, ptr %132, i64 32
  %138 = load double, ptr %137, align 8, !tbaa !9
  store double %138, ptr %46, align 8, !tbaa !9
  %139 = getelementptr inbounds i8, ptr %132, i64 40
  %140 = load double, ptr %139, align 8, !tbaa !9
  store double %140, ptr %47, align 8, !tbaa !9
  %141 = getelementptr inbounds i8, ptr %132, i64 48
  %142 = load double, ptr %141, align 8, !tbaa !9
  store double %142, ptr %48, align 8, !tbaa !9
  %143 = getelementptr inbounds i8, ptr %132, i64 56
  %144 = load double, ptr %143, align 8, !tbaa !9
  store double %144, ptr %49, align 8, !tbaa !9
  %145 = getelementptr inbounds i8, ptr %132, i64 64
  %146 = load double, ptr %145, align 8, !tbaa !9
  store double %146, ptr %50, align 8, !tbaa !9
  %147 = getelementptr inbounds i8, ptr %132, i64 72
  %148 = load double, ptr %147, align 8, !tbaa !9
  store double %148, ptr %51, align 8, !tbaa !9
  call void @CalculateParameters(ptr noundef nonnull %0, ptr noundef %112, ptr noundef nonnull %4)
  %149 = load double, ptr %52, align 8, !tbaa !33
  %150 = load double, ptr %8, align 8, !tbaa !11
  %151 = fcmp ugt double %149, %150
  br i1 %151, label %.backedge, label %152

152:                                              ; preds = %130
  %153 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %154 = getelementptr inbounds ptr, ptr %153, i64 %43
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  %156 = getelementptr inbounds i32, ptr %155, i64 %110
  %157 = load i32, ptr %156, align 4, !tbaa !20
  %158 = and i32 %157, 2
  %.not85 = icmp eq i32 %158, 0
  %159 = load double, ptr %53, align 8, !tbaa !34
  br i1 %.not85, label %162, label %160

160:                                              ; preds = %152
  %161 = call i32 @FindPair(ptr noundef nonnull %0, ptr noundef nonnull %112, ptr noundef nonnull @.str, double noundef %159, double noundef %149, ptr noundef nonnull %54, ptr noundef nonnull %55, ptr noundef nonnull %56, ptr noundef nonnull %57, ptr noundef nonnull @tmpDouble, ptr noundef null, i32 noundef 0) #5
  store i32 %161, ptr %4, align 8, !tbaa !35
  br label %168

162:                                              ; preds = %152
  %163 = call i32 @FindPair(ptr noundef nonnull %0, ptr noundef nonnull %112, ptr noundef nonnull @.str.1, double noundef %159, double noundef %149, ptr noundef nonnull %54, ptr noundef nonnull %55, ptr noundef nonnull %56, ptr noundef nonnull %57, ptr noundef nonnull @tmpDouble, ptr noundef null, i32 noundef 0) #5
  store i32 %163, ptr %4, align 8, !tbaa !35
  %164 = load double, ptr %56, align 8, !tbaa !36
  %165 = fcmp oeq double %164, 0.000000e+00
  %166 = load double, ptr %57, align 8
  %167 = fcmp oeq double %166, 0.000000e+00
  %or.cond = select i1 %165, i1 %167, i1 false
  br i1 %or.cond, label %.backedge, label %168

168:                                              ; preds = %162, %160
  %169 = load double, ptr %53, align 8, !tbaa !34
  %170 = fcmp olt double %169, 0.000000e+00
  br i1 %170, label %171, label %179

171:                                              ; preds = %168
  %172 = call double @CalculateDisc(ptr noundef nonnull %4)
  %173 = fcmp ogt double %172, 0.000000e+00
  br i1 %173, label %174, label %179

174:                                              ; preds = %171
  store i32 -1, ptr %58, align 4, !tbaa !37
  %175 = load double, ptr %54, align 8, !tbaa !38
  store double %175, ptr %59, align 8, !tbaa !39
  %176 = load double, ptr %56, align 8, !tbaa !36
  store double %176, ptr %60, align 8, !tbaa !40
  %177 = load i32, ptr %4, align 8, !tbaa !35
  %178 = icmp eq i32 %177, 0
  %. = select i1 %178, i32 0, i32 4
  br label %.sink.split

179:                                              ; preds = %171, %168
  store i32 1, ptr %58, align 4, !tbaa !37
  %180 = load double, ptr %55, align 8, !tbaa !41
  store double %180, ptr %59, align 8, !tbaa !39
  %181 = load double, ptr %57, align 8, !tbaa !42
  store double %181, ptr %60, align 8, !tbaa !40
  %lhsc = load i8, ptr @Methodtype, align 16
  %182 = icmp eq i8 %lhsc, %rhsc
  br i1 %182, label %183, label %194

183:                                              ; preds = %179
  %184 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %185 = getelementptr inbounds ptr, ptr %184, i64 %43
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds i32, ptr %186, i64 %110
  %188 = load i32, ptr %187, align 4, !tbaa !20
  %189 = and i32 %188, 2
  %.not86 = icmp eq i32 %189, 0
  %190 = load i32, ptr %4, align 8, !tbaa !35
  %191 = icmp eq i32 %190, 1
  br i1 %.not86, label %193, label %192

192:                                              ; preds = %183
  %.98 = select i1 %191, i32 1, i32 5
  br label %.sink.split

193:                                              ; preds = %183
  br i1 %191, label %.backedge, label %.sink.split

.sink.split:                                      ; preds = %193, %192, %174
  %.sink = phi i32 [ %., %174 ], [ %.98, %192 ], [ 5, %193 ]
  store i32 %.sink, ptr %61, align 4, !tbaa !43
  br label %194

194:                                              ; preds = %.sink.split, %179
  %195 = call double @CalculateTime(ptr noundef nonnull %4)
  store double %195, ptr %62, align 8, !tbaa !44
  %196 = fcmp olt double %195, 0.000000e+00
  br i1 %196, label %197, label %208, !prof !21

197:                                              ; preds = %194
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %12, i32 noundef %.07791)
  %199 = load double, ptr %52, align 8, !tbaa !33
  %200 = call double @sqrt(double noundef %199) #5
  %201 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %200)
  %202 = load double, ptr %54, align 8, !tbaa !38
  %203 = call double @sqrt(double noundef %202) #5
  %204 = load double, ptr %55, align 8, !tbaa !41
  %205 = call double @sqrt(double noundef %204) #5
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %203, double noundef %205)
  %207 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef nonnull @.str.7, i32 noundef 172)
  br label %208

208:                                              ; preds = %197, %194
  %209 = call i32 @JobAssign(ptr noundef nonnull %0, ptr noundef nonnull %112, ptr noundef nonnull %3, i32 noundef 0)
  br label %.backedge

._crit_edge:                                      ; preds = %.backedge, %101
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 27
  br i1 %exitcond.not, label %63, label %64, !llvm.loop !45
}

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

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

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

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

declare i32 @FindElemInList(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @FindPair(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 200}
!12 = !{!"ParameterStr", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 40, !7, i64 72, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !7, i64 136, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !7, i64 208, !7, i64 240, !7, i64 272, !7, i64 304}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"AtomStr", !6, i64 0, !6, i64 8}
!16 = !{!17, !13, i64 48}
!17 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !10, i64 64, !10, i64 72, !7, i64 80, !18, i64 104, !6, i64 120, !6, i64 128}
!18 = !{!"AtomSeqStr", !13, i64 0, !13, i64 4, !13, i64 8}
!19 = !{!15, !6, i64 8}
!20 = !{!13, !13, i64 0}
!21 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!22 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!23 = !{!24, !6, i64 352}
!24 = !{!"AtomListStr", !13, i64 0, !7, i64 4, !7, i64 112, !7, i64 220, !10, i64 328, !6, i64 336, !6, i64 344, !6, i64 352}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!28, !13, i64 80}
!28 = !{!"DynamicStr", !7, i64 0, !7, i64 16, !7, i64 48, !29, i64 80, !30, i64 96, !31, i64 128}
!29 = !{!"HBStr", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 12}
!30 = !{!"HBNeighborStr", !7, i64 0, !13, i64 20, !13, i64 24}
!31 = !{!"InteractionEventStr", !13, i64 0, !32, i64 8, !32, i64 16, !10, i64 24, !10, i64 32, !13, i64 40, !13, i64 44}
!32 = !{!"long", !7, i64 0}
!33 = !{!12, !10, i64 120}
!34 = !{!12, !10, i64 104}
!35 = !{!12, !13, i64 0}
!36 = !{!12, !10, i64 168}
!37 = !{!12, !13, i64 4}
!38 = !{!12, !10, i64 184}
!39 = !{!12, !10, i64 128}
!40 = !{!31, !10, i64 32}
!41 = !{!12, !10, i64 192}
!42 = !{!12, !10, i64 176}
!43 = !{!31, !13, i64 44}
!44 = !{!31, !10, i64 24}
!45 = distinct !{!45, !26}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass