; 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.SphObstStr = type { i32, i32, ptr, ptr }
%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 }

@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1
@SphObstObj = external global %struct.SphObstStr, align 8
@.str.29 = external hidden unnamed_addr constant [71 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

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

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

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

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

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

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

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

13:                                               ; preds = %306, %1
  %14 = load i32, ptr %7, align 4, !tbaa !16
  %15 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !18
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %309

18:                                               ; preds = %13
  call void @InitializeEvent(ptr noundef %6)
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.AtomStr, ptr %19, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !20
  %22 = getelementptr inbounds %struct.DynamicStr, ptr %21, i32 0, i32 1
  %23 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0
  %24 = load double, ptr %23, align 8, !tbaa !17
  %25 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %26 = getelementptr inbounds [4 x double], ptr %25, i64 0, i64 0
  store double %24, ptr %26, align 8, !tbaa !17
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.AtomStr, ptr %27, i32 0, i32 1
  %29 = load ptr, ptr %28, align 8, !tbaa !20
  %30 = getelementptr inbounds %struct.DynamicStr, ptr %29, i32 0, i32 1
  %31 = getelementptr inbounds [4 x double], ptr %30, i64 0, i64 1
  %32 = load double, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %34 = getelementptr inbounds [4 x double], ptr %33, i64 0, i64 1
  store double %32, ptr %34, align 8, !tbaa !17
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.AtomStr, ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = getelementptr inbounds %struct.DynamicStr, ptr %37, i32 0, i32 1
  %39 = getelementptr inbounds [4 x double], ptr %38, i64 0, i64 2
  %40 = load double, ptr %39, align 8, !tbaa !17
  %41 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %42 = getelementptr inbounds [4 x double], ptr %41, i64 0, i64 2
  store double %40, ptr %42, align 8, !tbaa !17
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.AtomStr, ptr %43, i32 0, i32 1
  %45 = load ptr, ptr %44, align 8, !tbaa !20
  %46 = getelementptr inbounds %struct.DynamicStr, ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 3
  %48 = load double, ptr %47, align 8, !tbaa !17
  %49 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %50 = getelementptr inbounds [4 x double], ptr %49, i64 0, i64 3
  store double %48, ptr %50, align 8, !tbaa !17
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.AtomStr, ptr %51, i32 0, i32 1
  %53 = load ptr, ptr %52, align 8, !tbaa !20
  %54 = getelementptr inbounds %struct.DynamicStr, ptr %53, i32 0, i32 2
  %55 = getelementptr inbounds [4 x double], ptr %54, i64 0, i64 0
  %56 = load double, ptr %55, align 8, !tbaa !17
  %57 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %58 = getelementptr inbounds [4 x double], ptr %57, i64 0, i64 0
  store double %56, ptr %58, align 8, !tbaa !17
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.AtomStr, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds %struct.DynamicStr, ptr %61, i32 0, i32 2
  %63 = getelementptr inbounds [4 x double], ptr %62, i64 0, i64 1
  %64 = load double, ptr %63, align 8, !tbaa !17
  %65 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %66 = getelementptr inbounds [4 x double], ptr %65, i64 0, i64 1
  store double %64, ptr %66, align 8, !tbaa !17
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.AtomStr, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !20
  %70 = getelementptr inbounds %struct.DynamicStr, ptr %69, i32 0, i32 2
  %71 = getelementptr inbounds [4 x double], ptr %70, i64 0, i64 2
  %72 = load double, ptr %71, align 8, !tbaa !17
  %73 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %74 = getelementptr inbounds [4 x double], ptr %73, i64 0, i64 2
  store double %72, ptr %74, align 8, !tbaa !17
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.AtomStr, ptr %75, i32 0, i32 1
  %77 = load ptr, ptr %76, align 8, !tbaa !20
  %78 = getelementptr inbounds %struct.DynamicStr, ptr %77, i32 0, i32 2
  %79 = getelementptr inbounds [4 x double], ptr %78, i64 0, i64 3
  %80 = load double, ptr %79, align 8, !tbaa !17
  %81 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %82 = getelementptr inbounds [4 x double], ptr %81, i64 0, i64 3
  store double %80, ptr %82, align 8, !tbaa !17
  %83 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !21
  %84 = load i32, ptr %7, align 4, !tbaa !16
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds ptr, ptr %83, i64 %85
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i64 0
  %89 = load double, ptr %88, align 8, !tbaa !17
  %90 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %91 = getelementptr inbounds [4 x double], ptr %90, i64 0, i64 0
  store double %89, ptr %91, align 8, !tbaa !17
  %92 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !21
  %93 = load i32, ptr %7, align 4, !tbaa !16
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds ptr, ptr %92, i64 %94
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = getelementptr inbounds double, ptr %96, i64 1
  %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 1
  store double %98, ptr %100, align 8, !tbaa !17
  %101 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !21
  %102 = load i32, ptr %7, align 4, !tbaa !16
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds ptr, ptr %101, i64 %103
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  %106 = getelementptr inbounds double, ptr %105, i64 2
  %107 = load double, ptr %106, align 8, !tbaa !17
  %108 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %109 = getelementptr inbounds [4 x double], ptr %108, i64 0, i64 2
  store double %107, ptr %109, align 8, !tbaa !17
  %110 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !21
  %111 = load i32, ptr %7, align 4, !tbaa !16
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds ptr, ptr %110, i64 %112
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  %115 = getelementptr inbounds double, ptr %114, i64 3
  %116 = load double, ptr %115, align 8, !tbaa !17
  %117 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %118 = getelementptr inbounds [4 x double], ptr %117, i64 0, i64 3
  store double %116, ptr %118, align 8, !tbaa !17
  %119 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %120 = getelementptr inbounds [4 x double], ptr %119, i64 0, i64 1
  store double 0.000000e+00, ptr %120, align 8, !tbaa !17
  %121 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %122 = getelementptr inbounds [4 x double], ptr %121, i64 0, i64 2
  store double 0.000000e+00, ptr %122, align 8, !tbaa !17
  %123 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %124 = getelementptr inbounds [4 x double], ptr %123, i64 0, i64 3
  store double 0.000000e+00, ptr %124, align 8, !tbaa !17
  %125 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %126 = getelementptr inbounds [4 x double], ptr %125, i64 0, i64 1
  %127 = load double, ptr %126, align 8, !tbaa !17
  %128 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %129 = getelementptr inbounds [4 x double], ptr %128, i64 0, i64 1
  %130 = load double, ptr %129, align 8, !tbaa !17
  %131 = fsub double %127, %130
  %132 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %133 = getelementptr inbounds [4 x double], ptr %132, i64 0, i64 1
  store double %131, ptr %133, align 8, !tbaa !17
  %134 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %135 = getelementptr inbounds [4 x double], ptr %134, i64 0, i64 2
  %136 = load double, ptr %135, align 8, !tbaa !17
  %137 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %138 = getelementptr inbounds [4 x double], ptr %137, i64 0, i64 2
  %139 = load double, ptr %138, align 8, !tbaa !17
  %140 = fsub double %136, %139
  %141 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %142 = getelementptr inbounds [4 x double], ptr %141, i64 0, i64 2
  store double %140, ptr %142, align 8, !tbaa !17
  %143 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 15
  %144 = getelementptr inbounds [4 x double], ptr %143, i64 0, i64 3
  %145 = load double, ptr %144, align 8, !tbaa !17
  %146 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 17
  %147 = getelementptr inbounds [4 x double], ptr %146, i64 0, i64 3
  %148 = load double, ptr %147, align 8, !tbaa !17
  %149 = fsub double %145, %148
  %150 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %151 = getelementptr inbounds [4 x double], ptr %150, i64 0, i64 3
  store double %149, ptr %151, align 8, !tbaa !17
  %152 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %153 = getelementptr inbounds [4 x double], ptr %152, i64 0, i64 1
  %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 1
  %157 = load double, ptr %156, align 8, !tbaa !17
  %158 = fsub double %154, %157
  %159 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %160 = getelementptr inbounds [4 x double], ptr %159, i64 0, i64 1
  store double %158, ptr %160, align 8, !tbaa !17
  %161 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %162 = getelementptr inbounds [4 x double], ptr %161, i64 0, i64 2
  %163 = load double, ptr %162, align 8, !tbaa !17
  %164 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %165 = getelementptr inbounds [4 x double], ptr %164, i64 0, i64 2
  %166 = load double, ptr %165, align 8, !tbaa !17
  %167 = fsub double %163, %166
  %168 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %169 = getelementptr inbounds [4 x double], ptr %168, i64 0, i64 2
  store double %167, ptr %169, align 8, !tbaa !17
  %170 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 16
  %171 = getelementptr inbounds [4 x double], ptr %170, i64 0, i64 3
  %172 = load double, ptr %171, align 8, !tbaa !17
  %173 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 18
  %174 = getelementptr inbounds [4 x double], ptr %173, i64 0, i64 3
  %175 = load double, ptr %174, align 8, !tbaa !17
  %176 = fsub double %172, %175
  %177 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %178 = getelementptr inbounds [4 x double], ptr %177, i64 0, i64 3
  store double %176, ptr %178, align 8, !tbaa !17
  %179 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %180 = getelementptr inbounds [4 x double], ptr %179, i64 0, i64 1
  %181 = load double, ptr %180, align 8, !tbaa !17
  %182 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %183 = getelementptr inbounds [4 x double], ptr %182, i64 0, i64 1
  %184 = load double, ptr %183, align 8, !tbaa !17
  %185 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %186 = getelementptr inbounds [4 x double], ptr %185, i64 0, i64 2
  %187 = load double, ptr %186, align 8, !tbaa !17
  %188 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %189 = getelementptr inbounds [4 x double], ptr %188, i64 0, i64 2
  %190 = load double, ptr %189, align 8, !tbaa !17
  %191 = fmul double %187, %190
  %192 = call double @llvm.fmuladd.f64(double %181, double %184, double %191)
  %193 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %194 = getelementptr inbounds [4 x double], ptr %193, i64 0, i64 3
  %195 = load double, ptr %194, align 8, !tbaa !17
  %196 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %197 = getelementptr inbounds [4 x double], ptr %196, i64 0, i64 3
  %198 = load double, ptr %197, align 8, !tbaa !17
  %199 = call double @llvm.fmuladd.f64(double %195, double %198, double %192)
  %200 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 7
  store double %199, ptr %200, align 8, !tbaa !22
  %201 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %202 = getelementptr inbounds [4 x double], ptr %201, i64 0, i64 1
  %203 = load double, ptr %202, align 8, !tbaa !17
  %204 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %205 = getelementptr inbounds [4 x double], ptr %204, i64 0, i64 1
  %206 = load double, ptr %205, align 8, !tbaa !17
  %207 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %208 = getelementptr inbounds [4 x double], ptr %207, i64 0, i64 2
  %209 = load double, ptr %208, align 8, !tbaa !17
  %210 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %211 = getelementptr inbounds [4 x double], ptr %210, i64 0, i64 2
  %212 = load double, ptr %211, align 8, !tbaa !17
  %213 = fmul double %209, %212
  %214 = call double @llvm.fmuladd.f64(double %203, double %206, double %213)
  %215 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 4
  %216 = getelementptr inbounds [4 x double], ptr %215, i64 0, i64 3
  %217 = load double, ptr %216, align 8, !tbaa !17
  %218 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %219 = getelementptr inbounds [4 x double], ptr %218, i64 0, i64 3
  %220 = load double, ptr %219, align 8, !tbaa !17
  %221 = call double @llvm.fmuladd.f64(double %217, double %220, double %214)
  %222 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 5
  store double %221, ptr %222, align 8, !tbaa !24
  %223 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %224 = getelementptr inbounds [4 x double], ptr %223, i64 0, i64 1
  %225 = load double, ptr %224, align 8, !tbaa !17
  %226 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %227 = getelementptr inbounds [4 x double], ptr %226, i64 0, i64 1
  %228 = load double, ptr %227, align 8, !tbaa !17
  %229 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %230 = getelementptr inbounds [4 x double], ptr %229, i64 0, i64 2
  %231 = load double, ptr %230, align 8, !tbaa !17
  %232 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %233 = getelementptr inbounds [4 x double], ptr %232, i64 0, i64 2
  %234 = load double, ptr %233, align 8, !tbaa !17
  %235 = fmul double %231, %234
  %236 = call double @llvm.fmuladd.f64(double %225, double %228, double %235)
  %237 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %238 = getelementptr inbounds [4 x double], ptr %237, i64 0, i64 3
  %239 = load double, ptr %238, align 8, !tbaa !17
  %240 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 3
  %241 = getelementptr inbounds [4 x double], ptr %240, i64 0, i64 3
  %242 = load double, ptr %241, align 8, !tbaa !17
  %243 = call double @llvm.fmuladd.f64(double %239, double %242, double %236)
  %244 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 6
  store double %243, ptr %244, align 8, !tbaa !25
  %245 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 7
  %246 = load double, ptr %245, align 8, !tbaa !22
  store double %246, ptr %4, align 8, !tbaa !17
  %247 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 2), align 8, !tbaa !26
  %248 = load i32, ptr %7, align 4, !tbaa !16
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds double, ptr %247, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !17
  %252 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 2), align 8, !tbaa !26
  %253 = load i32, ptr %7, align 4, !tbaa !16
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds double, ptr %252, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !17
  %257 = fmul double %251, %256
  %258 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 12
  store double %257, ptr %258, align 8, !tbaa !27
  %259 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 10
  store double 0.000000e+00, ptr %259, align 8, !tbaa !28
  %260 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 13
  store double 1.000000e+08, ptr %260, align 8, !tbaa !29
  %261 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 11
  store double 1.000000e+08, ptr %261, align 8, !tbaa !30
  %262 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 5
  %263 = load double, ptr %262, align 8, !tbaa !24
  %264 = fcmp olt double %263, 0.000000e+00
  br i1 %264, label %265, label %277

265:                                              ; preds = %18
  %266 = call double @CalculateDisc(ptr noundef %5)
  %267 = fcmp ogt double %266, 0.000000e+00
  br i1 %267, label %268, label %277

268:                                              ; preds = %265
  %269 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 6
  store i32 0, ptr %269, align 4, !tbaa !31
  %270 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 1
  store i32 -1, ptr %270, align 4, !tbaa !34
  %271 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 12
  %272 = load double, ptr %271, align 8, !tbaa !27
  %273 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 8
  store double %272, ptr %273, align 8, !tbaa !35
  %274 = getelementptr inbounds %struct.ParameterStr, ptr %5, i32 0, i32 10
  %275 = load double, ptr %274, align 8, !tbaa !28
  %276 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 4
  store double %275, ptr %276, align 8, !tbaa !36
  br label %278

277:                                              ; preds = %265, %18
  br label %306

278:                                              ; preds = %268
  %279 = call double @CalculateTime(ptr noundef %5)
  %280 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 3
  store double %279, ptr %280, align 8, !tbaa !37
  %281 = getelementptr inbounds %struct.InteractionEventStr, ptr %6, i32 0, i32 3
  %282 = load double, ptr %281, align 8, !tbaa !37
  %283 = fcmp olt double %282, 0.000000e+00
  %284 = xor i1 %283, true
  %285 = xor i1 %284, true
  %286 = zext i1 %285 to i32
  %287 = sext i32 %286 to i64
  %288 = call i64 @llvm.expect.i64(i64 %287, i64 0)
  %289 = icmp ne i64 %288, 0
  br i1 %289, label %290, label %293

290:                                              ; preds = %278
  %291 = load i32, ptr %3, align 4, !tbaa !16
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %291, ptr noundef @.str.7, i32 noundef 1061)
  call void @exit(i32 noundef 1) #7
  unreachable

293:                                              ; preds = %278
  %294 = load ptr, ptr %2, align 8, !tbaa !5
  %295 = call i32 @JobAssign(ptr noundef %294, ptr noundef null, ptr noundef %6, i32 noundef 9)
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %305

297:                                              ; preds = %293
  %298 = load i32, ptr %7, align 4, !tbaa !16
  %299 = mul nsw i32 -1000, %298
  %300 = load ptr, ptr %2, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.AtomStr, ptr %300, i32 0, i32 1
  %302 = load ptr, ptr %301, align 8, !tbaa !20
  %303 = getelementptr inbounds %struct.DynamicStr, ptr %302, i32 0, i32 5
  %304 = getelementptr inbounds %struct.InteractionEventStr, ptr %303, i32 0, i32 0
  store i32 %299, ptr %304, align 8, !tbaa !38
  br label %305

305:                                              ; preds = %297, %293
  br label %306

306:                                              ; preds = %305, %277
  %307 = load i32, ptr %7, align 4, !tbaa !16
  %308 = add nsw i32 %307, 1
  store i32 %308, ptr %7, align 4, !tbaa !16
  br label %13, !llvm.loop !42

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{!19, !13, i64 4}
!19 = !{!"SphObstStr", !13, i64 0, !13, i64 4, !6, i64 8, !6, i64 16}
!20 = !{!10, !6, i64 8}
!21 = !{!19, !6, i64 16}
!22 = !{!23, !14, i64 120}
!23 = !{!"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}
!24 = !{!23, !14, i64 104}
!25 = !{!23, !14, i64 112}
!26 = !{!19, !6, i64 8}
!27 = !{!23, !14, i64 184}
!28 = !{!23, !14, i64 168}
!29 = !{!23, !14, i64 192}
!30 = !{!23, !14, i64 176}
!31 = !{!32, !13, i64 44}
!32 = !{!"InteractionEventStr", !13, i64 0, !33, i64 8, !33, i64 16, !14, i64 24, !14, i64 32, !13, i64 40, !13, i64 44}
!33 = !{!"long", !7, i64 0}
!34 = !{!23, !13, i64 4}
!35 = !{!23, !14, i64 128}
!36 = !{!32, !14, i64 32}
!37 = !{!32, !14, i64 24}
!38 = !{!39, !13, i64 128}
!39 = !{!"DynamicStr", !7, i64 0, !7, i64 16, !7, i64 48, !40, i64 80, !41, i64 96, !32, i64 128}
!40 = !{!"HBStr", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 12}
!41 = !{!"HBNeighborStr", !7, i64 0, !13, i64 20, !13, i64 24}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}


; 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.SphObstStr = type { i32, i32, ptr, ptr }
%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 }

@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1
@SphObstObj = external local_unnamed_addr global %struct.SphObstStr, align 8
@.str.29 = external hidden unnamed_addr constant [71 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

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

; 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 #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @SphObstTime(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) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  %7 = load i32, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 4), align 4, !tbaa !15
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = getelementptr inbounds i8, ptr %2, i64 208
  %11 = getelementptr inbounds i8, ptr %2, i64 216
  %12 = getelementptr inbounds i8, ptr %2, i64 224
  %13 = getelementptr inbounds i8, ptr %2, i64 232
  %14 = getelementptr inbounds i8, ptr %2, i64 240
  %15 = getelementptr inbounds i8, ptr %2, i64 248
  %16 = getelementptr inbounds i8, ptr %2, i64 256
  %17 = getelementptr inbounds i8, ptr %2, i64 264
  %18 = getelementptr inbounds i8, ptr %2, i64 272
  %19 = getelementptr inbounds i8, ptr %2, i64 280
  %20 = getelementptr inbounds i8, ptr %2, i64 288
  %21 = getelementptr inbounds i8, ptr %2, i64 296
  %22 = getelementptr inbounds i8, ptr %2, i64 312
  %23 = getelementptr inbounds i8, ptr %2, i64 80
  %24 = getelementptr inbounds i8, ptr %2, i64 88
  %25 = getelementptr inbounds i8, ptr %2, i64 96
  %26 = getelementptr inbounds i8, ptr %2, i64 48
  %27 = getelementptr inbounds i8, ptr %2, i64 56
  %28 = getelementptr inbounds i8, ptr %2, i64 64
  %29 = getelementptr inbounds i8, ptr %2, i64 120
  %30 = getelementptr inbounds i8, ptr %2, i64 104
  %31 = getelementptr inbounds i8, ptr %2, i64 184
  %32 = getelementptr inbounds i8, ptr %2, i64 168
  %33 = getelementptr inbounds i8, ptr %2, i64 192
  %34 = getelementptr inbounds i8, ptr %3, i64 44
  %35 = getelementptr inbounds i8, ptr %2, i64 4
  %36 = getelementptr inbounds i8, ptr %2, i64 128
  %37 = getelementptr inbounds i8, ptr %3, i64 32
  %38 = getelementptr inbounds i8, ptr %3, i64 24
  br label %39

._crit_edge:                                      ; preds = %108, %1
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %2) #7
  ret void

39:                                               ; preds = %.lr.ph, %108
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %108 ]
  call void @InitializeEvent(ptr noundef nonnull %3)
  %40 = load ptr, ptr %9, align 8, !tbaa !17
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  %42 = load double, ptr %41, align 8, !tbaa !18
  store double %42, ptr %10, align 8, !tbaa !18
  %43 = getelementptr inbounds i8, ptr %40, i64 24
  %44 = load double, ptr %43, align 8, !tbaa !18
  store double %44, ptr %11, align 8, !tbaa !18
  %45 = getelementptr inbounds i8, ptr %40, i64 32
  %46 = load double, ptr %45, align 8, !tbaa !18
  store double %46, ptr %12, align 8, !tbaa !18
  %47 = getelementptr inbounds i8, ptr %40, i64 40
  %48 = load double, ptr %47, align 8, !tbaa !18
  store double %48, ptr %13, align 8, !tbaa !18
  %49 = getelementptr inbounds i8, ptr %40, i64 48
  %50 = load double, ptr %49, align 8, !tbaa !18
  store double %50, ptr %14, align 8, !tbaa !18
  %51 = getelementptr inbounds i8, ptr %40, i64 56
  %52 = load double, ptr %51, align 8, !tbaa !18
  store double %52, ptr %15, align 8, !tbaa !18
  %53 = getelementptr inbounds i8, ptr %40, i64 64
  %54 = load double, ptr %53, align 8, !tbaa !18
  store double %54, ptr %16, align 8, !tbaa !18
  %55 = getelementptr inbounds i8, ptr %40, i64 72
  %56 = load double, ptr %55, align 8, !tbaa !18
  store double %56, ptr %17, align 8, !tbaa !18
  %57 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !19
  %58 = getelementptr inbounds ptr, ptr %57, i64 %indvars.iv
  %59 = load ptr, ptr %58, align 8, !tbaa !20
  %60 = load double, ptr %59, align 8, !tbaa !18
  store double %60, ptr %18, align 8, !tbaa !18
  %61 = getelementptr inbounds i8, ptr %59, i64 8
  %62 = load double, ptr %61, align 8, !tbaa !18
  store double %62, ptr %19, align 8, !tbaa !18
  %63 = getelementptr inbounds i8, ptr %59, i64 16
  %64 = load double, ptr %63, align 8, !tbaa !18
  store double %64, ptr %20, align 8, !tbaa !18
  %65 = getelementptr inbounds i8, ptr %59, i64 24
  %66 = load double, ptr %65, align 8, !tbaa !18
  store double %66, ptr %21, align 8, !tbaa !18
  %67 = fsub double %44, %62
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %22, i8 0, i64 24, i1 false)
  store double %67, ptr %23, align 8, !tbaa !18
  %68 = fsub double %46, %64
  store double %68, ptr %24, align 8, !tbaa !18
  %69 = fsub double %48, %66
  store double %69, ptr %25, align 8, !tbaa !18
  store double %52, ptr %26, align 8, !tbaa !18
  store double %54, ptr %27, align 8, !tbaa !18
  store double %56, ptr %28, align 8, !tbaa !18
  %70 = fmul double %68, %68
  %71 = call double @llvm.fmuladd.f64(double %67, double %67, double %70)
  %72 = call double @llvm.fmuladd.f64(double %69, double %69, double %71)
  store double %72, ptr %29, align 8, !tbaa !21
  %73 = insertelement <2 x double> poison, double %54, i64 0
  %74 = shufflevector <2 x double> %73, <2 x double> poison, <2 x i32> zeroinitializer
  %75 = insertelement <2 x double> %74, double %68, i64 0
  %76 = fmul <2 x double> %74, %75
  %77 = insertelement <2 x double> poison, double %67, i64 0
  %78 = insertelement <2 x double> %77, double %52, i64 1
  %79 = shufflevector <2 x double> %78, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %80 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %78, <2 x double> %79, <2 x double> %76)
  %81 = insertelement <2 x double> poison, double %69, i64 0
  %82 = insertelement <2 x double> %81, double %56, i64 1
  %83 = shufflevector <2 x double> %82, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %84 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %82, <2 x double> %83, <2 x double> %80)
  store <2 x double> %84, ptr %30, align 8, !tbaa !18
  %85 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 8), align 8, !tbaa !23
  %86 = getelementptr inbounds double, ptr %85, i64 %indvars.iv
  %87 = load double, ptr %86, align 8, !tbaa !18
  %88 = fmul double %87, %87
  store double %88, ptr %31, align 8, !tbaa !24
  store double 1.000000e+08, ptr %33, align 8, !tbaa !25
  store <2 x double> <double 0.000000e+00, double 1.000000e+08>, ptr %32, align 8, !tbaa !18
  %89 = extractelement <2 x double> %84, i64 0
  %90 = fcmp olt double %89, 0.000000e+00
  br i1 %90, label %91, label %108

91:                                               ; preds = %39
  %92 = call double @CalculateDisc(ptr noundef nonnull %2)
  %93 = fcmp ogt double %92, 0.000000e+00
  br i1 %93, label %94, label %108

94:                                               ; preds = %91
  store i32 0, ptr %34, align 4, !tbaa !26
  store i32 -1, ptr %35, align 4, !tbaa !29
  %95 = load double, ptr %31, align 8, !tbaa !24
  store double %95, ptr %36, align 8, !tbaa !30
  %96 = load double, ptr %32, align 8, !tbaa !31
  store double %96, ptr %37, align 8, !tbaa !32
  %97 = call double @CalculateTime(ptr noundef nonnull %2)
  store double %97, ptr %38, align 8, !tbaa !33
  %98 = fcmp olt double %97, 0.000000e+00
  br i1 %98, label %99, label %101, !prof !34

99:                                               ; preds = %94
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29, i32 noundef %6, ptr noundef nonnull @.str.7, i32 noundef 1061)
  call void @exit(i32 noundef 1) #8
  unreachable

101:                                              ; preds = %94
  %102 = call i32 @JobAssign(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %3, i32 noundef 9)
  %.not = icmp eq i32 %102, 0
  br i1 %.not, label %108, label %103

103:                                              ; preds = %101
  %104 = load ptr, ptr %9, align 8, !tbaa !17
  %105 = getelementptr inbounds i8, ptr %104, i64 128
  %106 = trunc i64 %indvars.iv to i32
  %107 = mul i32 %106, -1000
  store i32 %107, ptr %105, align 8, !tbaa !35
  br label %108

108:                                              ; preds = %101, %103, %39, %91
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %109 = load i32, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 4), align 4, !tbaa !15
  %110 = sext i32 %109 to i64
  %111 = icmp slt i64 %indvars.iv.next, %110
  br i1 %111, label %39, label %._crit_edge, !llvm.loop !39
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { 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 = !{!16, !12, i64 4}
!16 = !{!"SphObstStr", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 16}
!17 = !{!6, !7, i64 8}
!18 = !{!13, !13, i64 0}
!19 = !{!16, !7, i64 16}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !13, i64 120}
!22 = !{!"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}
!23 = !{!16, !7, i64 8}
!24 = !{!22, !13, i64 184}
!25 = !{!22, !13, i64 192}
!26 = !{!27, !12, i64 44}
!27 = !{!"InteractionEventStr", !12, i64 0, !28, i64 8, !28, i64 16, !13, i64 24, !13, i64 32, !12, i64 40, !12, i64 44}
!28 = !{!"long", !8, i64 0}
!29 = !{!22, !12, i64 4}
!30 = !{!22, !13, i64 128}
!31 = !{!22, !13, i64 168}
!32 = !{!27, !13, i64 32}
!33 = !{!27, !13, i64 24}
!34 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!35 = !{!36, !12, i64 128}
!36 = !{!"DynamicStr", !8, i64 0, !8, i64 16, !8, i64 48, !37, i64 80, !38, i64 96, !27, i64 128}
!37 = !{!"HBStr", !12, i64 0, !12, i64 4, !8, i64 8, !12, i64 12}
!38 = !{!"HBNeighborStr", !8, i64 0, !12, i64 20, !12, i64 24}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,MemCpyOptPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass