; 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.DynamicWallStr = type { [16 x i8], i32, i32, double, double, double, double, [4 x double] }
%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.InteractionEventStr = type { i32, i64, i64, double, double, i32, i32 }
%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 }

@tmpDouble = external global double, align 8
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@boxDimension = external global [4 x double], align 16
@wallExist = external global [20 x i8], align 16
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@wall = external global ptr, align 8
@wallType = external global [20 x i8], align 16
@.str.21 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@wallDyn = external global %struct.DynamicWallStr, align 8
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [57 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

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

; 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) #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) #1

; 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) #1

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) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @WallTime(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca [4 x double], align 16
  %5 = alloca %struct.ParameterStr, align 8
  %6 = alloca %struct.InteractionEventStr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.AtomStr, ptr %10, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %struct.PropertyStr, ptr %12, i32 0, i32 3
  %14 = load i32, ptr %13, align 8, !tbaa !11
  store i32 %14, ptr %3, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 336, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #8
  br label %15

15:                                               ; preds = %462, %1
  call void @InitializeEvent(ptr noundef %6)
  %16 = load double, ptr @boxDimension, align 16, !tbaa !17
  %17 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
  store double %16, ptr %17, align 16, !tbaa !17
  %18 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 1), align 8, !tbaa !17
  %19 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 1
  store double %18, ptr %19, align 8, !tbaa !17
  %20 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %21 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  store double %20, ptr %21, align 16, !tbaa !17
  %22 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 3), align 8, !tbaa !17
  %23 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 3
  store double %22, ptr %23, align 8, !tbaa !17
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.AtomStr, ptr %24, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds %struct.DynamicStr, ptr %26, i32 0, i32 1
  %28 = getelementptr inbounds [4 x double], ptr %27, i64 0, i64 0
  %29 = load double, ptr %28, align 8, !tbaa !17
  %30 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %31 = getelementptr inbounds [4 x double], ptr %30, i64 0, i64 0
  store double %29, ptr %31, align 8, !tbaa !17
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.AtomStr, ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !18
  %35 = getelementptr inbounds %struct.DynamicStr, ptr %34, i32 0, i32 1
  %36 = getelementptr inbounds [4 x double], ptr %35, i64 0, i64 1
  %37 = load double, ptr %36, align 8, !tbaa !17
  %38 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %39 = getelementptr inbounds [4 x double], ptr %38, i64 0, i64 1
  store double %37, ptr %39, align 8, !tbaa !17
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.AtomStr, ptr %40, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !18
  %43 = getelementptr inbounds %struct.DynamicStr, ptr %42, i32 0, i32 1
  %44 = getelementptr inbounds [4 x double], ptr %43, i64 0, i64 2
  %45 = load double, ptr %44, align 8, !tbaa !17
  %46 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %47 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 2
  store double %45, ptr %47, align 8, !tbaa !17
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.AtomStr, ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = getelementptr inbounds %struct.DynamicStr, ptr %50, i32 0, i32 1
  %52 = getelementptr inbounds [4 x double], ptr %51, i64 0, i64 3
  %53 = load double, ptr %52, align 8, !tbaa !17
  %54 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %55 = getelementptr inbounds [4 x double], ptr %54, i64 0, i64 3
  store double %53, ptr %55, align 8, !tbaa !17
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.AtomStr, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !18
  %59 = getelementptr inbounds %struct.DynamicStr, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds [4 x double], ptr %59, i64 0, i64 0
  %61 = load double, ptr %60, align 8, !tbaa !17
  %62 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %63 = getelementptr inbounds [4 x double], ptr %62, i64 0, i64 0
  store double %61, ptr %63, align 8, !tbaa !17
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.AtomStr, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !18
  %67 = getelementptr inbounds %struct.DynamicStr, ptr %66, i32 0, i32 2
  %68 = getelementptr inbounds [4 x double], ptr %67, i64 0, i64 1
  %69 = load double, ptr %68, align 8, !tbaa !17
  %70 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %71 = getelementptr inbounds [4 x double], ptr %70, i64 0, i64 1
  store double %69, ptr %71, align 8, !tbaa !17
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.AtomStr, ptr %72, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !18
  %75 = getelementptr inbounds %struct.DynamicStr, ptr %74, i32 0, i32 2
  %76 = getelementptr inbounds [4 x double], ptr %75, i64 0, i64 2
  %77 = load double, ptr %76, align 8, !tbaa !17
  %78 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %79 = getelementptr inbounds [4 x double], ptr %78, i64 0, i64 2
  store double %77, ptr %79, align 8, !tbaa !17
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.AtomStr, ptr %80, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !18
  %83 = getelementptr inbounds %struct.DynamicStr, ptr %82, i32 0, i32 2
  %84 = getelementptr inbounds [4 x double], ptr %83, i64 0, i64 3
  %85 = load double, ptr %84, align 8, !tbaa !17
  %86 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %87 = getelementptr inbounds [4 x double], ptr %86, i64 0, i64 3
  store double %85, ptr %87, align 8, !tbaa !17
  %88 = call i32 @strncmp(ptr noundef @wallExist, ptr noundef @.str.20, i64 noundef 2) #9
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %465

90:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store double 0.000000e+00, ptr %7, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %91 = load ptr, ptr @wall, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.AtomStr, ptr %91, i64 0
  store ptr %92, ptr %8, align 8, !tbaa !5
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.AtomStr, ptr %93, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !18
  %96 = getelementptr inbounds %struct.DynamicStr, ptr %95, i32 0, i32 1
  %97 = getelementptr inbounds [4 x double], ptr %96, i64 0, i64 0
  %98 = load double, ptr %97, align 8, !tbaa !17
  %99 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %100 = getelementptr inbounds [4 x double], ptr %99, i64 0, i64 0
  store double %98, ptr %100, align 8, !tbaa !17
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.AtomStr, ptr %101, i32 0, i32 1
  %103 = load ptr, ptr %102, align 8, !tbaa !18
  %104 = getelementptr inbounds %struct.DynamicStr, ptr %103, i32 0, i32 1
  %105 = getelementptr inbounds [4 x double], ptr %104, i64 0, i64 1
  %106 = load double, ptr %105, align 8, !tbaa !17
  %107 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %108 = getelementptr inbounds [4 x double], ptr %107, i64 0, i64 1
  store double %106, ptr %108, align 8, !tbaa !17
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.AtomStr, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !18
  %112 = getelementptr inbounds %struct.DynamicStr, ptr %111, i32 0, i32 1
  %113 = getelementptr inbounds [4 x double], ptr %112, i64 0, i64 2
  %114 = load double, ptr %113, align 8, !tbaa !17
  %115 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %116 = getelementptr inbounds [4 x double], ptr %115, i64 0, i64 2
  store double %114, ptr %116, align 8, !tbaa !17
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.AtomStr, ptr %117, i32 0, i32 1
  %119 = load ptr, ptr %118, align 8, !tbaa !18
  %120 = getelementptr inbounds %struct.DynamicStr, ptr %119, i32 0, i32 1
  %121 = getelementptr inbounds [4 x double], ptr %120, i64 0, i64 3
  %122 = load double, ptr %121, align 8, !tbaa !17
  %123 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %124 = getelementptr inbounds [4 x double], ptr %123, i64 0, i64 3
  store double %122, ptr %124, align 8, !tbaa !17
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.AtomStr, ptr %125, i32 0, i32 1
  %127 = load ptr, ptr %126, align 8, !tbaa !18
  %128 = getelementptr inbounds %struct.DynamicStr, ptr %127, i32 0, i32 2
  %129 = getelementptr inbounds [4 x double], ptr %128, i64 0, i64 0
  %130 = load double, ptr %129, align 8, !tbaa !17
  %131 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %132 = getelementptr inbounds [4 x double], ptr %131, i64 0, i64 0
  store double %130, ptr %132, align 8, !tbaa !17
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.AtomStr, ptr %133, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !18
  %136 = getelementptr inbounds %struct.DynamicStr, ptr %135, i32 0, i32 2
  %137 = getelementptr inbounds [4 x double], ptr %136, i64 0, i64 1
  %138 = load double, ptr %137, align 8, !tbaa !17
  %139 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %140 = getelementptr inbounds [4 x double], ptr %139, i64 0, i64 1
  store double %138, ptr %140, align 8, !tbaa !17
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.AtomStr, ptr %141, i32 0, i32 1
  %143 = load ptr, ptr %142, align 8, !tbaa !18
  %144 = getelementptr inbounds %struct.DynamicStr, ptr %143, i32 0, i32 2
  %145 = getelementptr inbounds [4 x double], ptr %144, i64 0, i64 2
  %146 = load double, ptr %145, align 8, !tbaa !17
  %147 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %148 = getelementptr inbounds [4 x double], ptr %147, i64 0, i64 2
  store double %146, ptr %148, align 8, !tbaa !17
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.AtomStr, ptr %149, i32 0, i32 1
  %151 = load ptr, ptr %150, align 8, !tbaa !18
  %152 = getelementptr inbounds %struct.DynamicStr, ptr %151, i32 0, i32 2
  %153 = getelementptr inbounds [4 x double], ptr %152, i64 0, i64 3
  %154 = load double, ptr %153, align 8, !tbaa !17
  %155 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %156 = getelementptr inbounds [4 x double], ptr %155, i64 0, i64 3
  store double %154, ptr %156, align 8, !tbaa !17
  %157 = call i32 @strncmp(ptr noundef @wallType, ptr noundef @.str.21, i64 noundef 1) #9
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %159, label %168

159:                                              ; preds = %90
  %160 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %161 = getelementptr inbounds [4 x double], ptr %160, i64 0, i64 3
  store double 0.000000e+00, ptr %161, align 8, !tbaa !17
  %162 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %163 = getelementptr inbounds [4 x double], ptr %162, i64 0, i64 1
  store double 0.000000e+00, ptr %163, align 8, !tbaa !17
  %164 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %165 = getelementptr inbounds [4 x double], ptr %164, i64 0, i64 3
  store double 0.000000e+00, ptr %165, align 8, !tbaa !17
  %166 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %167 = getelementptr inbounds [4 x double], ptr %166, i64 0, i64 1
  store double 0.000000e+00, ptr %167, align 8, !tbaa !17
  br label %177

168:                                              ; preds = %90
  %169 = call i32 @strncmp(ptr noundef @wallType, ptr noundef @.str.22, i64 noundef 1) #9
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %176

171:                                              ; preds = %168
  %172 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %173 = getelementptr inbounds [4 x double], ptr %172, i64 0, i64 1
  store double 0.000000e+00, ptr %173, align 8, !tbaa !17
  %174 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %175 = getelementptr inbounds [4 x double], ptr %174, i64 0, i64 1
  store double 0.000000e+00, ptr %175, align 8, !tbaa !17
  br label %176

176:                                              ; preds = %171, %168
  br label %177

177:                                              ; preds = %176, %159
  %178 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %179 = getelementptr inbounds [4 x double], ptr %178, i64 0, i64 1
  %180 = load double, ptr %179, align 8, !tbaa !17
  %181 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %182 = getelementptr inbounds [4 x double], ptr %181, i64 0, i64 1
  %183 = load double, ptr %182, align 8, !tbaa !17
  %184 = fsub double %180, %183
  %185 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %186 = getelementptr inbounds [4 x double], ptr %185, i64 0, i64 1
  store double %184, ptr %186, align 8, !tbaa !17
  %187 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %188 = getelementptr inbounds [4 x double], ptr %187, i64 0, i64 2
  %189 = load double, ptr %188, align 8, !tbaa !17
  %190 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %191 = getelementptr inbounds [4 x double], ptr %190, i64 0, i64 2
  %192 = load double, ptr %191, align 8, !tbaa !17
  %193 = fsub double %189, %192
  %194 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %195 = getelementptr inbounds [4 x double], ptr %194, i64 0, i64 2
  store double %193, ptr %195, align 8, !tbaa !17
  %196 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %197 = getelementptr inbounds [4 x double], ptr %196, i64 0, i64 3
  %198 = load double, ptr %197, align 8, !tbaa !17
  %199 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %200 = getelementptr inbounds [4 x double], ptr %199, i64 0, i64 3
  %201 = load double, ptr %200, align 8, !tbaa !17
  %202 = fsub double %198, %201
  %203 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %204 = getelementptr inbounds [4 x double], ptr %203, i64 0, i64 3
  store double %202, ptr %204, align 8, !tbaa !17
  %205 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %206 = getelementptr inbounds [4 x double], ptr %205, i64 0, i64 1
  %207 = load double, ptr %206, align 8, !tbaa !17
  %208 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %209 = getelementptr inbounds [4 x double], ptr %208, i64 0, i64 1
  %210 = load double, ptr %209, align 8, !tbaa !17
  %211 = fsub double %207, %210
  %212 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %213 = getelementptr inbounds [4 x double], ptr %212, i64 0, i64 1
  store double %211, ptr %213, align 8, !tbaa !17
  %214 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %215 = getelementptr inbounds [4 x double], ptr %214, i64 0, i64 2
  %216 = load double, ptr %215, align 8, !tbaa !17
  %217 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %218 = getelementptr inbounds [4 x double], ptr %217, i64 0, i64 2
  %219 = load double, ptr %218, align 8, !tbaa !17
  %220 = fsub double %216, %219
  %221 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %222 = getelementptr inbounds [4 x double], ptr %221, i64 0, i64 2
  store double %220, ptr %222, align 8, !tbaa !17
  %223 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %224 = getelementptr inbounds [4 x double], ptr %223, i64 0, i64 3
  %225 = load double, ptr %224, align 8, !tbaa !17
  %226 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %227 = getelementptr inbounds [4 x double], ptr %226, i64 0, i64 3
  %228 = load double, ptr %227, align 8, !tbaa !17
  %229 = fsub double %225, %228
  %230 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %231 = getelementptr inbounds [4 x double], ptr %230, i64 0, i64 3
  store double %229, ptr %231, align 8, !tbaa !17
  %232 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %233 = getelementptr inbounds [4 x double], ptr %232, i64 0, i64 1
  %234 = load double, ptr %233, align 8, !tbaa !17
  %235 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %236 = getelementptr inbounds [4 x double], ptr %235, i64 0, i64 1
  %237 = load double, ptr %236, align 8, !tbaa !17
  %238 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %239 = getelementptr inbounds [4 x double], ptr %238, i64 0, i64 2
  %240 = load double, ptr %239, align 8, !tbaa !17
  %241 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %242 = getelementptr inbounds [4 x double], ptr %241, i64 0, i64 2
  %243 = load double, ptr %242, align 8, !tbaa !17
  %244 = fmul double %240, %243
  %245 = call double @llvm.fmuladd.f64(double %234, double %237, double %244)
  %246 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %247 = getelementptr inbounds [4 x double], ptr %246, i64 0, i64 3
  %248 = load double, ptr %247, align 8, !tbaa !17
  %249 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %250 = getelementptr inbounds [4 x double], ptr %249, i64 0, i64 3
  %251 = load double, ptr %250, align 8, !tbaa !17
  %252 = call double @llvm.fmuladd.f64(double %248, double %251, double %245)
  %253 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 7
  store double %252, ptr %253, align 8, !tbaa !19
  %254 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %255 = getelementptr inbounds [4 x double], ptr %254, i64 0, i64 1
  %256 = load double, ptr %255, align 8, !tbaa !17
  %257 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %258 = getelementptr inbounds [4 x double], ptr %257, i64 0, i64 1
  %259 = load double, ptr %258, align 8, !tbaa !17
  %260 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %261 = getelementptr inbounds [4 x double], ptr %260, i64 0, i64 2
  %262 = load double, ptr %261, align 8, !tbaa !17
  %263 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %264 = getelementptr inbounds [4 x double], ptr %263, i64 0, i64 2
  %265 = load double, ptr %264, align 8, !tbaa !17
  %266 = fmul double %262, %265
  %267 = call double @llvm.fmuladd.f64(double %256, double %259, double %266)
  %268 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %269 = getelementptr inbounds [4 x double], ptr %268, i64 0, i64 3
  %270 = load double, ptr %269, align 8, !tbaa !17
  %271 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %272 = getelementptr inbounds [4 x double], ptr %271, i64 0, i64 3
  %273 = load double, ptr %272, align 8, !tbaa !17
  %274 = call double @llvm.fmuladd.f64(double %270, double %273, double %267)
  %275 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 5
  store double %274, ptr %275, align 8, !tbaa !21
  %276 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %277 = getelementptr inbounds [4 x double], ptr %276, i64 0, i64 1
  %278 = load double, ptr %277, align 8, !tbaa !17
  %279 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %280 = getelementptr inbounds [4 x double], ptr %279, i64 0, i64 1
  %281 = load double, ptr %280, align 8, !tbaa !17
  %282 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %283 = getelementptr inbounds [4 x double], ptr %282, i64 0, i64 2
  %284 = load double, ptr %283, align 8, !tbaa !17
  %285 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %286 = getelementptr inbounds [4 x double], ptr %285, i64 0, i64 2
  %287 = load double, ptr %286, align 8, !tbaa !17
  %288 = fmul double %284, %287
  %289 = call double @llvm.fmuladd.f64(double %278, double %281, double %288)
  %290 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %291 = getelementptr inbounds [4 x double], ptr %290, i64 0, i64 3
  %292 = load double, ptr %291, align 8, !tbaa !17
  %293 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %294 = getelementptr inbounds [4 x double], ptr %293, i64 0, i64 3
  %295 = load double, ptr %294, align 8, !tbaa !17
  %296 = call double @llvm.fmuladd.f64(double %292, double %295, double %289)
  %297 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 6
  store double %296, ptr %297, align 8, !tbaa !22
  %298 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %299 = load double, ptr %298, align 16, !tbaa !17
  %300 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %301 = load double, ptr %300, align 16, !tbaa !17
  %302 = fmul double %299, %301
  %303 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 7
  %304 = load double, ptr %303, align 8, !tbaa !19
  %305 = call double @llvm.fmuladd.f64(double %302, double 2.500000e-01, double %304)
  %306 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %307 = load double, ptr %306, align 16, !tbaa !17
  %308 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 7
  %309 = load double, ptr %308, align 8, !tbaa !19
  %310 = call double @sqrt(double noundef %309) #8
  %311 = fneg double %307
  %312 = call double @llvm.fmuladd.f64(double %311, double %310, double %305)
  store double %312, ptr %7, align 8, !tbaa !17
  %313 = load ptr, ptr %2, align 8, !tbaa !5
  %314 = load ptr, ptr %8, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 5
  %316 = load double, ptr %315, align 8, !tbaa !21
  %317 = fmul double -1.000000e+00, %316
  %318 = load double, ptr %7, align 8, !tbaa !17
  %319 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 12
  %320 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 13
  %321 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 10
  %322 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 11
  %323 = call i32 @FindPair(ptr noundef %313, ptr noundef %314, ptr noundef @.str.1, double noundef %317, double noundef %318, ptr noundef %319, ptr noundef %320, ptr noundef %321, ptr noundef %322, ptr noundef @tmpDouble, ptr noundef null, i32 noundef 0)
  %324 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 0
  store i32 %323, ptr %324, align 8, !tbaa !23
  %325 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 10
  %326 = load double, ptr %325, align 8, !tbaa !24
  %327 = fcmp oeq double %326, 0.000000e+00
  br i1 %327, label %328, label %379

328:                                              ; preds = %177
  %329 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 11
  %330 = load double, ptr %329, align 8, !tbaa !25
  %331 = fcmp oeq double %330, 0.000000e+00
  br i1 %331, label %332, label %379

332:                                              ; preds = %328
  %333 = call i32 @strcmp(ptr noundef @wallDyn, ptr noundef @.str.18) #9
  %334 = icmp ne i32 %333, 0
  br i1 %334, label %335, label %376

335:                                              ; preds = %332
  %336 = load i32, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 2), align 4, !tbaa !26
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 2), align 4, !tbaa !26
  %338 = call i32 @strncmp(ptr noundef @wallType, ptr noundef @.str.21, i64 noundef 1) #9
  %339 = icmp eq i32 %338, 0
  br i1 %339, label %340, label %344

340:                                              ; preds = %335
  %341 = load double, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 5), align 8, !tbaa !28
  %342 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %343 = fadd double %342, %341
  store double %343, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  br label %369

344:                                              ; preds = %335
  %345 = call i32 @strncmp(ptr noundef @wallType, ptr noundef @.str.22, i64 noundef 1) #9
  %346 = icmp eq i32 %345, 0
  br i1 %346, label %347, label %354

347:                                              ; preds = %344
  %348 = load double, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 5), align 8, !tbaa !28
  %349 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %350 = fadd double %349, %348
  store double %350, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %351 = load double, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 5), align 8, !tbaa !28
  %352 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 3), align 8, !tbaa !17
  %353 = fadd double %352, %351
  store double %353, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 3), align 8, !tbaa !17
  br label %368

354:                                              ; preds = %344
  %355 = call i32 @strncmp(ptr noundef @wallType, ptr noundef @.str.23, i64 noundef 1) #9
  %356 = icmp eq i32 %355, 0
  br i1 %356, label %357, label %367

357:                                              ; preds = %354
  %358 = load double, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 5), align 8, !tbaa !28
  %359 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 1), align 8, !tbaa !17
  %360 = fadd double %359, %358
  store double %360, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 1), align 8, !tbaa !17
  %361 = load double, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 5), align 8, !tbaa !28
  %362 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %363 = fadd double %362, %361
  store double %363, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %364 = load double, ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 5), align 8, !tbaa !28
  %365 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 3), align 8, !tbaa !17
  %366 = fadd double %365, %364
  store double %366, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 3), align 8, !tbaa !17
  br label %367

367:                                              ; preds = %357, %354
  br label %368

368:                                              ; preds = %367, %347
  br label %369

369:                                              ; preds = %368, %340
  %370 = load double, ptr getelementptr inbounds ([4 x double], ptr @boxDimension, i64 0, i64 2), align 16, !tbaa !17
  %371 = load double, ptr getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.DynamicWallStr, ptr @wallDyn, i32 0, i32 7), i64 0, i64 2), align 8, !tbaa !17
  %372 = fcmp ogt double %370, %371
  br i1 %372, label %373, label %375

373:                                              ; preds = %369
  %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef @.str.7, i32 noundef 693)
  call void @exit(i32 noundef 1) #10
  unreachable

375:                                              ; preds = %369
  store i32 2, ptr %9, align 4
  br label %462

376:                                              ; preds = %332
  %377 = load i32, ptr %3, align 4, !tbaa !16
  %378 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %377, ptr noundef @.str.7, i32 noundef 700)
  call void @exit(i32 noundef 1) #10
  unreachable

379:                                              ; preds = %328, %177
  %380 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 5
  %381 = load double, ptr %380, align 8, !tbaa !21
  %382 = fcmp olt double %381, 0.000000e+00
  br i1 %382, label %383, label %414

383:                                              ; preds = %379
  %384 = call double @CalculateDisc(ptr noundef %5)
  %385 = fcmp ogt double %384, 0.000000e+00
  br i1 %385, label %386, label %414

386:                                              ; preds = %383
  %387 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 0
  %388 = load i32, ptr %387, align 8, !tbaa !23
  %389 = icmp eq i32 %388, 1
  br i1 %389, label %390, label %391

390:                                              ; preds = %386
  store i32 1, ptr %9, align 4
  br label %462

391:                                              ; preds = %386
  %392 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 6
  store i32 4, ptr %392, align 4, !tbaa !29
  br label %393

393:                                              ; preds = %391
  %394 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 1
  store i32 -1, ptr %394, align 4, !tbaa !32
  %395 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %396 = load double, ptr %395, align 16, !tbaa !17
  %397 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %398 = load double, ptr %397, align 16, !tbaa !17
  %399 = fmul double %396, %398
  %400 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 13
  %401 = load double, ptr %400, align 8, !tbaa !33
  %402 = call double @llvm.fmuladd.f64(double %399, double 2.500000e-01, double %401)
  %403 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %404 = load double, ptr %403, align 16, !tbaa !17
  %405 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 13
  %406 = load double, ptr %405, align 8, !tbaa !33
  %407 = call double @sqrt(double noundef %406) #8
  %408 = fneg double %404
  %409 = call double @llvm.fmuladd.f64(double %408, double %407, double %402)
  %410 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 8
  store double %409, ptr %410, align 8, !tbaa !34
  %411 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 11
  %412 = load double, ptr %411, align 8, !tbaa !25
  %413 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 4
  store double %412, ptr %413, align 8, !tbaa !35
  br label %443

414:                                              ; preds = %383, %379
  %415 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 0
  %416 = load i32, ptr %415, align 8, !tbaa !23
  %417 = icmp eq i32 %416, 0
  br i1 %417, label %418, label %420

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

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

422:                                              ; preds = %420, %418
  %423 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 1
  store i32 1, ptr %423, align 4, !tbaa !32
  %424 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %425 = load double, ptr %424, align 16, !tbaa !17
  %426 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %427 = load double, ptr %426, align 16, !tbaa !17
  %428 = fmul double %425, %427
  %429 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 12
  %430 = load double, ptr %429, align 8, !tbaa !36
  %431 = call double @llvm.fmuladd.f64(double %428, double 2.500000e-01, double %430)
  %432 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 2
  %433 = load double, ptr %432, align 16, !tbaa !17
  %434 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 12
  %435 = load double, ptr %434, align 8, !tbaa !36
  %436 = call double @sqrt(double noundef %435) #8
  %437 = fneg double %433
  %438 = call double @llvm.fmuladd.f64(double %437, double %436, double %431)
  %439 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 8
  store double %438, ptr %439, align 8, !tbaa !34
  %440 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 10
  %441 = load double, ptr %440, align 8, !tbaa !24
  %442 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 4
  store double %441, ptr %442, align 8, !tbaa !35
  br label %443

443:                                              ; preds = %422, %393
  %444 = call double @CalculateTime(ptr noundef %5)
  %445 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 3
  store double %444, ptr %445, align 8, !tbaa !37
  %446 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 3
  %447 = load double, ptr %446, align 8, !tbaa !37
  %448 = fcmp olt double %447, 0.000000e+00
  %449 = xor i1 %448, true
  %450 = xor i1 %449, true
  %451 = zext i1 %450 to i32
  %452 = sext i32 %451 to i64
  %453 = call i64 @llvm.expect.i64(i64 %452, i64 0)
  %454 = icmp ne i64 %453, 0
  br i1 %454, label %455, label %459

455:                                              ; preds = %443
  %456 = load i32, ptr %3, align 4, !tbaa !16
  %457 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %456, ptr noundef @.str.7, i32 noundef 729)
  %458 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 3
  store double 1.000000e+08, ptr %458, align 8, !tbaa !37
  br label %459

459:                                              ; preds = %455, %443
  %460 = load ptr, ptr %2, align 8, !tbaa !5
  %461 = call i32 @JobAssign(ptr noundef %460, ptr noundef null, ptr noundef %6, i32 noundef 5)
  store i32 0, ptr %9, align 4
  br label %462

462:                                              ; preds = %459, %390, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %463 = load i32, ptr %9, align 4
  switch i32 %463, label %466 [
    i32 0, label %464
    i32 2, label %15
  ]

464:                                              ; preds = %462
  br label %465

465:                                              ; preds = %464, %15
  store i32 1, ptr %9, align 4
  br label %466

466:                                              ; preds = %465, %462
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 336, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  ret void
}

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { noreturn 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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { noreturn 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, !6, i64 0}
!10 = !{!"AtomStr", !6, i64 0, !6, i64 8}
!11 = !{!12, !13, i64 48}
!12 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !14, i64 64, !14, i64 72, !7, i64 80, !15, i64 104, !6, i64 120, !6, i64 128}
!13 = !{!"int", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"AtomSeqStr", !13, i64 0, !13, i64 4, !13, i64 8}
!16 = !{!13, !13, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!10, !6, i64 8}
!19 = !{!20, !14, i64 120}
!20 = !{!"ParameterStr", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 40, !7, i64 72, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !7, i64 136, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !7, i64 208, !7, i64 240, !7, i64 272, !7, i64 304}
!21 = !{!20, !14, i64 104}
!22 = !{!20, !14, i64 112}
!23 = !{!20, !13, i64 0}
!24 = !{!20, !14, i64 168}
!25 = !{!20, !14, i64 176}
!26 = !{!27, !13, i64 20}
!27 = !{!"DynamicWallStr", !7, i64 0, !13, i64 16, !13, i64 20, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !7, i64 56}
!28 = !{!27, !14, i64 40}
!29 = !{!30, !13, i64 44}
!30 = !{!"InteractionEventStr", !13, i64 0, !31, i64 8, !31, i64 16, !14, i64 24, !14, i64 32, !13, i64 40, !13, i64 44}
!31 = !{!"long", !7, i64 0}
!32 = !{!20, !13, i64 4}
!33 = !{!20, !14, i64 192}
!34 = !{!20, !14, i64 128}
!35 = !{!30, !14, i64 32}
!36 = !{!20, !14, i64 184}
!37 = !{!30, !14, i64 24}


; 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.DynamicWallStr = type { [16 x i8], i32, i32, double, double, double, double, [4 x double] }
%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.InteractionEventStr = type { i32, i64, i64, double, double, i32, i32 }

@tmpDouble = external global double, align 8
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@boxDimension = external local_unnamed_addr global [4 x double], align 16
@wallExist = external global [20 x i8], align 16
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@wall = external local_unnamed_addr global ptr, align 8
@wallType = external local_unnamed_addr global [20 x i8], align 16
@.str.21 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@wallDyn = external global %struct.DynamicWallStr, align 8
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [57 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

; Function Attrs: nounwind uwtable
declare dso_local void @InitializeEvent(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

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 #1

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @WallTime(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca %struct.ParameterStr, align 8
  %3 = alloca %struct.InteractionEventStr, align 8
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 48
  %6 = load i32, ptr %5, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %2) #9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #9
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = getelementptr inbounds i8, ptr %2, i64 208
  %9 = getelementptr inbounds i8, ptr %2, i64 216
  %10 = getelementptr inbounds i8, ptr %2, i64 224
  %11 = getelementptr inbounds i8, ptr %2, i64 232
  %12 = getelementptr inbounds i8, ptr %2, i64 240
  %13 = getelementptr inbounds i8, ptr %2, i64 248
  %14 = getelementptr inbounds i8, ptr %2, i64 256
  %15 = getelementptr inbounds i8, ptr %2, i64 264
  %16 = getelementptr inbounds i8, ptr %2, i64 272
  %17 = getelementptr inbounds i8, ptr %2, i64 280
  %18 = getelementptr inbounds i8, ptr %2, i64 288
  %19 = getelementptr inbounds i8, ptr %2, i64 296
  %20 = getelementptr inbounds i8, ptr %2, i64 304
  %21 = getelementptr inbounds i8, ptr %2, i64 312
  %22 = getelementptr inbounds i8, ptr %2, i64 320
  %23 = getelementptr inbounds i8, ptr %2, i64 328
  %rhsc = load i8, ptr @.str.21, align 1
  %rhsc34 = load i8, ptr @.str.22, align 1
  %24 = getelementptr inbounds i8, ptr %2, i64 80
  %25 = getelementptr inbounds i8, ptr %2, i64 88
  %26 = getelementptr inbounds i8, ptr %2, i64 96
  %27 = getelementptr inbounds i8, ptr %2, i64 48
  %28 = getelementptr inbounds i8, ptr %2, i64 56
  %29 = getelementptr inbounds i8, ptr %2, i64 64
  %30 = getelementptr inbounds i8, ptr %2, i64 120
  %31 = getelementptr inbounds i8, ptr %2, i64 104
  %32 = getelementptr inbounds i8, ptr %2, i64 184
  %33 = getelementptr inbounds i8, ptr %2, i64 192
  %34 = getelementptr inbounds i8, ptr %2, i64 168
  %35 = getelementptr inbounds i8, ptr %2, i64 176
  %rhsc40 = load i8, ptr @.str.23, align 1
  br label %36

36:                                               ; preds = %160, %1
  call void @InitializeEvent(ptr noundef nonnull %3)
  %37 = load double, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 16), align 16, !tbaa !15
  %38 = load ptr, ptr %7, align 8, !tbaa !16
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  %40 = load double, ptr %39, align 8, !tbaa !15
  store double %40, ptr %8, align 8, !tbaa !15
  %41 = getelementptr inbounds i8, ptr %38, i64 24
  %42 = load double, ptr %41, align 8, !tbaa !15
  store double %42, ptr %9, align 8, !tbaa !15
  %43 = getelementptr inbounds i8, ptr %38, i64 32
  %44 = load double, ptr %43, align 8, !tbaa !15
  store double %44, ptr %10, align 8, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %38, i64 40
  %46 = load double, ptr %45, align 8, !tbaa !15
  store double %46, ptr %11, align 8, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %38, i64 48
  %48 = load double, ptr %47, align 8, !tbaa !15
  store double %48, ptr %12, align 8, !tbaa !15
  %49 = getelementptr inbounds i8, ptr %38, i64 56
  %50 = load double, ptr %49, align 8, !tbaa !15
  store double %50, ptr %13, align 8, !tbaa !15
  %51 = getelementptr inbounds i8, ptr %38, i64 64
  %52 = load double, ptr %51, align 8, !tbaa !15
  store double %52, ptr %14, align 8, !tbaa !15
  %53 = getelementptr inbounds i8, ptr %38, i64 72
  %54 = load double, ptr %53, align 8, !tbaa !15
  store double %54, ptr %15, align 8, !tbaa !15
  %55 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @wallExist, ptr noundef nonnull dereferenceable(1) @.str.20, i64 noundef 2) #10
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %.thread

57:                                               ; preds = %36
  %58 = load ptr, ptr @wall, align 8, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = getelementptr inbounds i8, ptr %60, i64 16
  %62 = load double, ptr %61, align 8, !tbaa !15
  store double %62, ptr %16, align 8, !tbaa !15
  %63 = getelementptr inbounds i8, ptr %60, i64 24
  %64 = load double, ptr %63, align 8, !tbaa !15
  store double %64, ptr %17, align 8, !tbaa !15
  %65 = getelementptr inbounds i8, ptr %60, i64 32
  %66 = load double, ptr %65, align 8, !tbaa !15
  store double %66, ptr %18, align 8, !tbaa !15
  %67 = getelementptr inbounds i8, ptr %60, i64 40
  %68 = load double, ptr %67, align 8, !tbaa !15
  store double %68, ptr %19, align 8, !tbaa !15
  %69 = getelementptr inbounds i8, ptr %60, i64 48
  %70 = load double, ptr %69, align 8, !tbaa !15
  store double %70, ptr %20, align 8, !tbaa !15
  %71 = getelementptr inbounds i8, ptr %60, i64 56
  %72 = load double, ptr %71, align 8, !tbaa !15
  store double %72, ptr %21, align 8, !tbaa !15
  %73 = getelementptr inbounds i8, ptr %60, i64 64
  %74 = load double, ptr %73, align 8, !tbaa !15
  store double %74, ptr %22, align 8, !tbaa !15
  %75 = getelementptr inbounds i8, ptr %60, i64 72
  %76 = load double, ptr %75, align 8, !tbaa !15
  store double %76, ptr %23, align 8, !tbaa !15
  %lhsc = load i8, ptr @wallType, align 16
  %77 = icmp eq i8 %lhsc, %rhsc
  br i1 %77, label %78, label %79

78:                                               ; preds = %57
  store double 0.000000e+00, ptr %11, align 8, !tbaa !15
  store double 0.000000e+00, ptr %9, align 8, !tbaa !15
  br label %.sink.split

79:                                               ; preds = %57
  %80 = icmp eq i8 %lhsc, %rhsc34
  %81 = insertelement <2 x double> poison, double %46, i64 0
  %82 = insertelement <2 x double> %81, double %54, i64 1
  %83 = insertelement <2 x double> poison, double %42, i64 0
  %84 = insertelement <2 x double> %83, double %50, i64 1
  br i1 %80, label %.sink.split, label %86

.sink.split:                                      ; preds = %79, %78
  %.sink78 = phi ptr [ %15, %78 ], [ %9, %79 ]
  %85 = phi <2 x double> [ zeroinitializer, %78 ], [ %82, %79 ]
  store double 0.000000e+00, ptr %.sink78, align 8, !tbaa !15
  store double 0.000000e+00, ptr %13, align 8, !tbaa !15
  br label %86

86:                                               ; preds = %.sink.split, %79
  %87 = phi <2 x double> [ %82, %79 ], [ %85, %.sink.split ]
  %88 = phi <2 x double> [ %84, %79 ], [ zeroinitializer, %.sink.split ]
  %89 = insertelement <2 x double> poison, double %64, i64 0
  %90 = insertelement <2 x double> %89, double %72, i64 1
  %91 = fsub <2 x double> %88, %90
  %92 = extractelement <2 x double> %91, i64 0
  store double %92, ptr %24, align 8, !tbaa !15
  %93 = insertelement <2 x double> poison, double %44, i64 0
  %94 = insertelement <2 x double> %93, double %52, i64 1
  %95 = insertelement <2 x double> poison, double %66, i64 0
  %96 = insertelement <2 x double> %95, double %74, i64 1
  %97 = fsub <2 x double> %94, %96
  %98 = extractelement <2 x double> %97, i64 0
  store double %98, ptr %25, align 8, !tbaa !15
  %99 = insertelement <2 x double> poison, double %68, i64 0
  %100 = insertelement <2 x double> %99, double %76, i64 1
  %101 = fsub <2 x double> %87, %100
  %102 = extractelement <2 x double> %101, i64 0
  store double %102, ptr %26, align 8, !tbaa !15
  %103 = extractelement <2 x double> %91, i64 1
  store double %103, ptr %27, align 8, !tbaa !15
  %104 = extractelement <2 x double> %97, i64 1
  store double %104, ptr %28, align 8, !tbaa !15
  %105 = extractelement <2 x double> %101, i64 1
  store double %105, ptr %29, align 8, !tbaa !15
  %106 = fmul <2 x double> %97, %97
  %107 = extractelement <2 x double> %106, i64 0
  %108 = call double @llvm.fmuladd.f64(double %92, double %92, double %107)
  %109 = call double @llvm.fmuladd.f64(double %102, double %102, double %108)
  store double %109, ptr %30, align 8, !tbaa !18
  %110 = shufflevector <2 x double> %97, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %111 = fmul <2 x double> %110, %97
  %112 = shufflevector <2 x double> %91, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %113 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %91, <2 x double> %111)
  %114 = shufflevector <2 x double> %101, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %115 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %101, <2 x double> %113)
  store <2 x double> %115, ptr %31, align 8, !tbaa !15
  %116 = fmul double %37, %37
  %117 = call double @llvm.fmuladd.f64(double %116, double 2.500000e-01, double %109)
  %sqrt = call double @llvm.sqrt.f64(double %109)
  %118 = fneg double %37
  %119 = call double @llvm.fmuladd.f64(double %118, double %sqrt, double %117)
  %120 = extractelement <2 x double> %115, i64 0
  %121 = fneg double %120
  %122 = call i32 @FindPair(ptr noundef nonnull %0, ptr noundef nonnull %58, ptr noundef nonnull @.str.1, double noundef %121, double noundef %119, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @tmpDouble, ptr noundef null, i32 noundef 0) #9
  store i32 %122, ptr %2, align 8, !tbaa !20
  %123 = load double, ptr %34, align 8, !tbaa !21
  %124 = fcmp oeq double %123, 0.000000e+00
  %125 = load double, ptr %35, align 8
  %126 = fcmp oeq double %125, 0.000000e+00
  %or.cond = select i1 %124, i1 %126, i1 false
  br i1 %or.cond, label %127, label %168

127:                                              ; preds = %86
  %128 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @wallDyn, ptr noundef nonnull dereferenceable(1) @.str.18) #10
  %.not = icmp eq i32 %128, 0
  br i1 %.not, label %166, label %129

129:                                              ; preds = %127
  %130 = load i32, ptr getelementptr inbounds (i8, ptr @wallDyn, i64 20), align 4, !tbaa !22
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr getelementptr inbounds (i8, ptr @wallDyn, i64 20), align 4, !tbaa !22
  %lhsc35 = load i8, ptr @wallType, align 16
  %132 = icmp eq i8 %lhsc35, %rhsc
  %133 = load double, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 16), align 16, !tbaa !15
  br i1 %132, label %134, label %137

134:                                              ; preds = %129
  %135 = load double, ptr getelementptr inbounds (i8, ptr @wallDyn, i64 40), align 8, !tbaa !24
  %136 = fadd double %135, %133
  store double %136, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 16), align 16, !tbaa !15
  br label %160

137:                                              ; preds = %129
  %138 = icmp eq i8 %lhsc35, %rhsc34
  br i1 %138, label %139, label %147

139:                                              ; preds = %137
  %140 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @wallDyn, i64 40), align 8
  %141 = load double, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 24), align 8, !tbaa !15
  %142 = shufflevector <2 x double> %140, <2 x double> poison, <2 x i32> zeroinitializer
  %143 = insertelement <2 x double> poison, double %133, i64 0
  %144 = insertelement <2 x double> %143, double %141, i64 1
  %145 = fadd <2 x double> %142, %144
  store <2 x double> %145, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 16), align 16, !tbaa !15
  %146 = extractelement <2 x double> %145, i64 0
  br label %160

147:                                              ; preds = %137
  %148 = icmp eq i8 %lhsc35, %rhsc40
  br i1 %148, label %149, label %160

149:                                              ; preds = %147
  %150 = load double, ptr getelementptr inbounds (i8, ptr @wallDyn, i64 40), align 8, !tbaa !24
  %151 = load double, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 8), align 8, !tbaa !15
  %152 = fadd double %150, %151
  store double %152, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 8), align 8, !tbaa !15
  %153 = load double, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 24), align 8, !tbaa !15
  %154 = insertelement <2 x double> poison, double %150, i64 0
  %155 = shufflevector <2 x double> %154, <2 x double> poison, <2 x i32> zeroinitializer
  %156 = insertelement <2 x double> poison, double %133, i64 0
  %157 = insertelement <2 x double> %156, double %153, i64 1
  %158 = fadd <2 x double> %155, %157
  store <2 x double> %158, ptr getelementptr inbounds (i8, ptr @boxDimension, i64 16), align 16, !tbaa !15
  %159 = extractelement <2 x double> %158, i64 0
  br label %160

160:                                              ; preds = %139, %149, %147, %134
  %161 = phi double [ %146, %139 ], [ %159, %149 ], [ %133, %147 ], [ %136, %134 ]
  %162 = load double, ptr getelementptr inbounds (i8, ptr @wallDyn, i64 72), align 8, !tbaa !15
  %163 = fcmp ogt double %161, %162
  br i1 %163, label %164, label %36

164:                                              ; preds = %160
  %165 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24, ptr noundef nonnull @.str.7, i32 noundef 693)
  call void @exit(i32 noundef 1) #11
  unreachable

166:                                              ; preds = %127
  %167 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25, i32 noundef %6, ptr noundef nonnull @.str.7, i32 noundef 700)
  call void @exit(i32 noundef 1) #11
  unreachable

168:                                              ; preds = %86
  %169 = load double, ptr %31, align 8, !tbaa !25
  %170 = fcmp olt double %169, 0.000000e+00
  br i1 %170, label %171, label %176

171:                                              ; preds = %168
  %172 = call double @CalculateDisc(ptr noundef nonnull %2)
  %173 = fcmp ogt double %172, 0.000000e+00
  %.pre = load i32, ptr %2, align 8, !tbaa !20
  br i1 %173, label %174, label %176

174:                                              ; preds = %171
  %175 = icmp eq i32 %.pre, 1
  br i1 %175, label %.thread, label %179

176:                                              ; preds = %171, %168
  %177 = phi i32 [ %.pre, %171 ], [ %122, %168 ]
  %178 = icmp eq i32 %177, 0
  %spec.select = select i1 %178, i32 1, i32 5
  br label %179

179:                                              ; preds = %174, %176
  %spec.select.sink = phi i32 [ %spec.select, %176 ], [ 4, %174 ]
  %.sink = phi i32 [ 1, %176 ], [ -1, %174 ]
  %.sink85 = phi ptr [ %32, %176 ], [ %33, %174 ]
  %.sink80 = phi ptr [ %34, %176 ], [ %35, %174 ]
  %180 = getelementptr inbounds i8, ptr %3, i64 44
  store i32 %spec.select.sink, ptr %180, align 4
  %181 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %.sink, ptr %181, align 4, !tbaa !26
  %182 = load double, ptr %.sink85, align 8, !tbaa !15
  %183 = call double @llvm.fmuladd.f64(double %116, double 2.500000e-01, double %182)
  %184 = call double @sqrt(double noundef %182) #9
  %185 = call double @llvm.fmuladd.f64(double %118, double %184, double %183)
  %186 = getelementptr inbounds i8, ptr %2, i64 128
  store double %185, ptr %186, align 8, !tbaa !27
  %187 = load double, ptr %.sink80, align 8, !tbaa !15
  %188 = getelementptr inbounds i8, ptr %3, i64 32
  store double %187, ptr %188, align 8, !tbaa !28
  %189 = call double @CalculateTime(ptr noundef nonnull %2)
  %190 = getelementptr inbounds i8, ptr %3, i64 24
  store double %189, ptr %190, align 8, !tbaa !31
  %191 = fcmp olt double %189, 0.000000e+00
  br i1 %191, label %192, label %194, !prof !32

192:                                              ; preds = %179
  %193 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef %6, ptr noundef nonnull @.str.7, i32 noundef 729)
  store double 1.000000e+08, ptr %190, align 8, !tbaa !31
  br label %194

194:                                              ; preds = %192, %179
  %195 = call i32 @JobAssign(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %3, i32 noundef 5)
  br label %.thread

.thread:                                          ; preds = %36, %174, %194
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %2) #9
  ret void
}

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #7

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #8

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

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

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


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,MergedLoadStoreMotionPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass