; LLVM IR from OpenDiS/OpenDiS :: core/pydis/c/remesh (Remesh)

; 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._home = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, ptr, ptr, ptr, double, double, double, double, double, double, i32, i32, i32, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i32, i32, ptr, ptr, ptr, i32, i32, i32, [3 x [3 x double]], [3 x [3 x double]], %struct.BurgInfo_t, i32, i32, i32, i32, i32, i32, i32, %struct.timeval }
%struct.BurgInfo_t = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.timeval = type { i64, i64 }
%struct._node = type { i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct._tag, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct._tag = type { i32, i32 }

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

declare i32 @GetArmID(ptr noundef, ptr noundef, ptr noundef) #1

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

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

249:                                              ; preds = %277, %6
  %250 = load i32, ptr %13, align 4, !tbaa !16
  %251 = icmp slt i32 %250, 3
  br i1 %251, label %252, label %280

252:                                              ; preds = %249
  %253 = load i32, ptr %13, align 4, !tbaa !16
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !20
  %257 = load i32, ptr %13, align 4, !tbaa !16
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %258
  %260 = load double, ptr %259, align 8, !tbaa !20
  %261 = fsub double %256, %260
  %262 = load i32, ptr %13, align 4, !tbaa !16
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 %263
  store double %261, ptr %264, align 8, !tbaa !20
  %265 = load i32, ptr %13, align 4, !tbaa !16
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %266
  %268 = load double, ptr %267, align 8, !tbaa !20
  %269 = load i32, ptr %13, align 4, !tbaa !16
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %270
  %272 = load double, ptr %271, align 8, !tbaa !20
  %273 = fsub double %268, %272
  %274 = load i32, ptr %13, align 4, !tbaa !16
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 %275
  store double %273, ptr %276, align 8, !tbaa !20
  br label %277

277:                                              ; preds = %252
  %278 = load i32, ptr %13, align 4, !tbaa !16
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %13, align 4, !tbaa !16
  br label %249, !llvm.loop !29

280:                                              ; preds = %249
  %281 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
  %282 = load double, ptr %281, align 16, !tbaa !20
  %283 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
  %284 = load double, ptr %283, align 16, !tbaa !20
  %285 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 1
  %286 = load double, ptr %285, align 8, !tbaa !20
  %287 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 1
  %288 = load double, ptr %287, align 8, !tbaa !20
  %289 = fmul double %286, %288
  %290 = call double @llvm.fmuladd.f64(double %282, double %284, double %289)
  %291 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 2
  %292 = load double, ptr %291, align 16, !tbaa !20
  %293 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 2
  %294 = load double, ptr %293, align 16, !tbaa !20
  %295 = call double @llvm.fmuladd.f64(double %292, double %294, double %290)
  %296 = fcmp olt double %295, 1.000000e-04
  br i1 %296, label %297, label %352

297:                                              ; preds = %280
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct._node, ptr %298, i32 0, i32 22
  %300 = load ptr, ptr %299, align 8, !tbaa !26
  %301 = load i32, ptr %15, align 4, !tbaa !16
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %300, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !20
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = getelementptr inbounds double, ptr %305, i64 0
  store double %304, ptr %306, align 8, !tbaa !20
  %307 = load ptr, ptr %9, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct._node, ptr %307, i32 0, i32 23
  %309 = load ptr, ptr %308, align 8, !tbaa !27
  %310 = load i32, ptr %15, align 4, !tbaa !16
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds double, ptr %309, i64 %311
  %313 = load double, ptr %312, align 8, !tbaa !20
  %314 = load ptr, ptr %11, align 8, !tbaa !5
  %315 = getelementptr inbounds double, ptr %314, i64 1
  store double %313, ptr %315, align 8, !tbaa !20
  %316 = load ptr, ptr %9, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct._node, ptr %316, i32 0, i32 24
  %318 = load ptr, ptr %317, align 8, !tbaa !28
  %319 = load i32, ptr %15, align 4, !tbaa !16
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds double, ptr %318, i64 %320
  %322 = load double, ptr %321, align 8, !tbaa !20
  %323 = load ptr, ptr %11, align 8, !tbaa !5
  %324 = getelementptr inbounds double, ptr %323, i64 2
  store double %322, ptr %324, align 8, !tbaa !20
  %325 = load ptr, ptr %10, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct._node, ptr %325, i32 0, i32 22
  %327 = load ptr, ptr %326, align 8, !tbaa !26
  %328 = load i32, ptr %17, align 4, !tbaa !16
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds double, ptr %327, i64 %329
  %331 = load double, ptr %330, align 8, !tbaa !20
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = getelementptr inbounds double, ptr %332, i64 0
  store double %331, ptr %333, align 8, !tbaa !20
  %334 = load ptr, ptr %10, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct._node, ptr %334, i32 0, i32 23
  %336 = load ptr, ptr %335, align 8, !tbaa !27
  %337 = load i32, ptr %17, align 4, !tbaa !16
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds double, ptr %336, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !20
  %341 = load ptr, ptr %12, align 8, !tbaa !5
  %342 = getelementptr inbounds double, ptr %341, i64 1
  store double %340, ptr %342, align 8, !tbaa !20
  %343 = load ptr, ptr %10, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct._node, ptr %343, i32 0, i32 24
  %345 = load ptr, ptr %344, align 8, !tbaa !28
  %346 = load i32, ptr %17, align 4, !tbaa !16
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds double, ptr %345, i64 %347
  %349 = load double, ptr %348, align 8, !tbaa !20
  %350 = load ptr, ptr %12, align 8, !tbaa !5
  %351 = getelementptr inbounds double, ptr %350, i64 2
  store double %349, ptr %351, align 8, !tbaa !20
  br label %438

352:                                              ; preds = %280
  %353 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
  %354 = load double, ptr %353, align 16, !tbaa !20
  %355 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
  %356 = load double, ptr %355, align 16, !tbaa !20
  %357 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1
  %358 = load double, ptr %357, align 8, !tbaa !20
  %359 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1
  %360 = load double, ptr %359, align 8, !tbaa !20
  %361 = fmul double %358, %360
  %362 = call double @llvm.fmuladd.f64(double %354, double %356, double %361)
  %363 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2
  %364 = load double, ptr %363, align 16, !tbaa !20
  %365 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2
  %366 = load double, ptr %365, align 16, !tbaa !20
  %367 = call double @llvm.fmuladd.f64(double %364, double %366, double %362)
  %368 = fcmp olt double %367, 1.000000e-04
  br i1 %368, label %369, label %424

369:                                              ; preds = %352
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct._node, ptr %370, i32 0, i32 22
  %372 = load ptr, ptr %371, align 8, !tbaa !26
  %373 = load i32, ptr %16, align 4, !tbaa !16
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds double, ptr %372, i64 %374
  %376 = load double, ptr %375, align 8, !tbaa !20
  %377 = load ptr, ptr %11, align 8, !tbaa !5
  %378 = getelementptr inbounds double, ptr %377, i64 0
  store double %376, ptr %378, align 8, !tbaa !20
  %379 = load ptr, ptr %8, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct._node, ptr %379, i32 0, i32 23
  %381 = load ptr, ptr %380, align 8, !tbaa !27
  %382 = load i32, ptr %16, align 4, !tbaa !16
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds double, ptr %381, i64 %383
  %385 = load double, ptr %384, align 8, !tbaa !20
  %386 = load ptr, ptr %11, align 8, !tbaa !5
  %387 = getelementptr inbounds double, ptr %386, i64 1
  store double %385, ptr %387, align 8, !tbaa !20
  %388 = load ptr, ptr %8, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct._node, ptr %388, i32 0, i32 24
  %390 = load ptr, ptr %389, align 8, !tbaa !28
  %391 = load i32, ptr %16, align 4, !tbaa !16
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds double, ptr %390, i64 %392
  %394 = load double, ptr %393, align 8, !tbaa !20
  %395 = load ptr, ptr %11, align 8, !tbaa !5
  %396 = getelementptr inbounds double, ptr %395, i64 2
  store double %394, ptr %396, align 8, !tbaa !20
  %397 = load ptr, ptr %9, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct._node, ptr %397, i32 0, i32 22
  %399 = load ptr, ptr %398, align 8, !tbaa !26
  %400 = load i32, ptr %14, align 4, !tbaa !16
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds double, ptr %399, i64 %401
  %403 = load double, ptr %402, align 8, !tbaa !20
  %404 = load ptr, ptr %12, align 8, !tbaa !5
  %405 = getelementptr inbounds double, ptr %404, i64 0
  store double %403, ptr %405, align 8, !tbaa !20
  %406 = load ptr, ptr %9, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct._node, ptr %406, i32 0, i32 23
  %408 = load ptr, ptr %407, align 8, !tbaa !27
  %409 = load i32, ptr %14, align 4, !tbaa !16
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds double, ptr %408, i64 %410
  %412 = load double, ptr %411, align 8, !tbaa !20
  %413 = load ptr, ptr %12, align 8, !tbaa !5
  %414 = getelementptr inbounds double, ptr %413, i64 1
  store double %412, ptr %414, align 8, !tbaa !20
  %415 = load ptr, ptr %9, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct._node, ptr %415, i32 0, i32 24
  %417 = load ptr, ptr %416, align 8, !tbaa !28
  %418 = load i32, ptr %14, align 4, !tbaa !16
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds double, ptr %417, i64 %419
  %421 = load double, ptr %420, align 8, !tbaa !20
  %422 = load ptr, ptr %12, align 8, !tbaa !5
  %423 = getelementptr inbounds double, ptr %422, i64 2
  store double %421, ptr %423, align 8, !tbaa !20
  br label %437

424:                                              ; preds = %352
  %425 = load ptr, ptr %7, align 8, !tbaa !5
  %426 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %427 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %428 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %429 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
  %430 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
  %431 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %432 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
  %433 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
  %434 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
  %435 = load ptr, ptr %11, align 8, !tbaa !5
  %436 = load ptr, ptr %12, align 8, !tbaa !5
  call void @FindFSegComb(ptr noundef %425, ptr noundef %426, ptr noundef %427, ptr noundef %428, ptr noundef %429, ptr noundef %430, ptr noundef %431, ptr noundef %432, ptr noundef %433, ptr noundef %434, ptr noundef %435, ptr noundef %436)
  br label %437

437:                                              ; preds = %424, %369
  br label %438

438:                                              ; preds = %437, %297
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void
}

declare void @PBCPOSITION(ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

declare void @FindFSegComb(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 16}
!10 = !{!"_home", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !6, i64 104, !11, i64 112, !11, i64 116, !6, i64 120, !11, i64 128, !11, i64 132, !11, i64 136, !6, i64 144, !11, i64 152, !11, i64 156, !6, i64 160, !6, i64 168, !6, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !11, i64 232, !11, i64 236, !11, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !11, i64 272, !6, i64 280, !11, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !11, i64 320, !11, i64 324, !6, i64 328, !11, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !11, i64 368, !11, i64 372, !11, i64 376, !6, i64 384, !6, i64 392, !11, i64 400, !11, i64 404, !6, i64 408, !6, i64 416, !6, i64 424, !11, i64 432, !11, i64 436, !11, i64 440, !7, i64 448, !7, i64 520, !13, i64 592, !11, i64 632, !11, i64 636, !11, i64 640, !11, i64 644, !11, i64 648, !11, i64 652, !11, i64 656, !14, i64 664}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!14 = !{!"timeval", !15, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !12, i64 8}
!18 = !{!"_node", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !19, i64 152, !11, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !6, i64 296, !6, i64 304, !11, i64 312}
!19 = !{!"_tag", !11, i64 0, !11, i64 4}
!20 = !{!12, !12, i64 0}
!21 = !{!18, !12, i64 16}
!22 = !{!18, !12, i64 24}
!23 = !{!18, !6, i64 200}
!24 = !{!18, !6, i64 208}
!25 = !{!18, !6, i64 216}
!26 = !{!18, !6, i64 176}
!27 = !{!18, !6, i64 184}
!28 = !{!18, !6, i64 192}
!29 = distinct !{!29, !30}
!30 = !{!"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"

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

declare i32 @GetArmID(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @EstCoarsenForces(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #2 {
  %7 = alloca [3 x double], align 16
  %8 = alloca [3 x double], align 16
  %9 = alloca [3 x double], align 16
  %10 = alloca [3 x double], align 16
  %11 = alloca [3 x double], align 16
  %12 = alloca [3 x double], align 16
  %13 = alloca [3 x double], align 16
  %14 = alloca [3 x double], align 16
  %15 = alloca [3 x double], align 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #4
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = tail call i32 @GetArmID(ptr noundef %0, ptr noundef %2, ptr noundef %1) #4
  %19 = tail call i32 @GetArmID(ptr noundef %0, ptr noundef %2, ptr noundef %3) #4
  %20 = tail call i32 @GetArmID(ptr noundef %0, ptr noundef %1, ptr noundef %2) #4
  %21 = tail call i32 @GetArmID(ptr noundef %0, ptr noundef %3, ptr noundef %2) #4
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = getelementptr inbounds i8, ptr %2, i64 8
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = getelementptr inbounds i8, ptr %9, i64 8
  %26 = load <2 x double>, ptr %22, align 8, !tbaa !15
  store <2 x double> %26, ptr %9, align 16, !tbaa !15
  %27 = getelementptr inbounds i8, ptr %10, i64 8
  %28 = load <2 x double>, ptr %23, align 8, !tbaa !15
  store <2 x double> %28, ptr %10, align 16, !tbaa !15
  %29 = getelementptr inbounds i8, ptr %11, i64 8
  %30 = load <2 x double>, ptr %24, align 8, !tbaa !15
  store <2 x double> %30, ptr %11, align 16, !tbaa !15
  %31 = getelementptr inbounds i8, ptr %1, i64 24
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = getelementptr inbounds i8, ptr %9, i64 16
  store double %32, ptr %33, align 16, !tbaa !15
  %34 = getelementptr inbounds i8, ptr %2, i64 24
  %35 = load double, ptr %34, align 8, !tbaa !16
  %36 = getelementptr inbounds i8, ptr %10, i64 16
  store double %35, ptr %36, align 16, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %3, i64 24
  %38 = load double, ptr %37, align 8, !tbaa !16
  %39 = getelementptr inbounds i8, ptr %11, i64 16
  store double %38, ptr %39, align 16, !tbaa !15
  %40 = extractelement <2 x double> %26, i64 0
  %41 = extractelement <2 x double> %26, i64 1
  call void @PBCPOSITION(ptr noundef %17, double noundef %40, double noundef %41, double noundef %32, ptr noundef nonnull %10, ptr noundef nonnull %27, ptr noundef nonnull %36) #4
  call void @PBCPOSITION(ptr noundef %17, double noundef %40, double noundef %41, double noundef %32, ptr noundef nonnull %11, ptr noundef nonnull %29, ptr noundef nonnull %39) #4
  %42 = getelementptr inbounds i8, ptr %1, i64 200
  %43 = load ptr, ptr %42, align 8, !tbaa !19
  %44 = sext i32 %20 to i64
  %45 = getelementptr inbounds double, ptr %43, i64 %44
  %46 = load double, ptr %45, align 8, !tbaa !15
  store double %46, ptr %7, align 16, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %1, i64 208
  %48 = load ptr, ptr %47, align 8, !tbaa !20
  %49 = getelementptr inbounds double, ptr %48, i64 %44
  %50 = load double, ptr %49, align 8, !tbaa !15
  %51 = getelementptr inbounds i8, ptr %7, i64 8
  store double %50, ptr %51, align 8, !tbaa !15
  %52 = getelementptr inbounds i8, ptr %1, i64 216
  %53 = load ptr, ptr %52, align 8, !tbaa !21
  %54 = getelementptr inbounds double, ptr %53, i64 %44
  %55 = load double, ptr %54, align 8, !tbaa !15
  %56 = getelementptr inbounds i8, ptr %7, i64 16
  store double %55, ptr %56, align 16, !tbaa !15
  %57 = getelementptr inbounds i8, ptr %2, i64 200
  %58 = load ptr, ptr %57, align 8, !tbaa !19
  %59 = sext i32 %19 to i64
  %60 = getelementptr inbounds double, ptr %58, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !15
  store double %61, ptr %8, align 16, !tbaa !15
  %62 = getelementptr inbounds i8, ptr %2, i64 208
  %63 = load ptr, ptr %62, align 8, !tbaa !20
  %64 = getelementptr inbounds double, ptr %63, i64 %59
  %65 = load double, ptr %64, align 8, !tbaa !15
  %66 = getelementptr inbounds i8, ptr %8, i64 8
  store double %65, ptr %66, align 8, !tbaa !15
  %67 = getelementptr inbounds i8, ptr %2, i64 216
  %68 = load ptr, ptr %67, align 8, !tbaa !21
  %69 = getelementptr inbounds double, ptr %68, i64 %59
  %70 = load double, ptr %69, align 8, !tbaa !15
  %71 = getelementptr inbounds i8, ptr %8, i64 16
  store double %70, ptr %71, align 16, !tbaa !15
  %72 = getelementptr inbounds i8, ptr %1, i64 176
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = getelementptr inbounds double, ptr %73, i64 %44
  %75 = load double, ptr %74, align 8, !tbaa !15
  store double %75, ptr %12, align 16, !tbaa !15
  %76 = getelementptr inbounds i8, ptr %1, i64 184
  %77 = load ptr, ptr %76, align 8, !tbaa !23
  %78 = getelementptr inbounds double, ptr %77, i64 %44
  %79 = load double, ptr %78, align 8, !tbaa !15
  %80 = getelementptr inbounds i8, ptr %12, i64 8
  store double %79, ptr %80, align 8, !tbaa !15
  %81 = getelementptr inbounds i8, ptr %1, i64 192
  %82 = load ptr, ptr %81, align 8, !tbaa !24
  %83 = getelementptr inbounds double, ptr %82, i64 %44
  %84 = load double, ptr %83, align 8, !tbaa !15
  %85 = getelementptr inbounds i8, ptr %12, i64 16
  store double %84, ptr %85, align 16, !tbaa !15
  %86 = getelementptr inbounds i8, ptr %2, i64 176
  %87 = load ptr, ptr %86, align 8, !tbaa !22
  %88 = sext i32 %18 to i64
  %89 = getelementptr inbounds double, ptr %87, i64 %88
  %90 = load double, ptr %89, align 8, !tbaa !15
  store double %90, ptr %13, align 16, !tbaa !15
  %91 = getelementptr inbounds i8, ptr %2, i64 184
  %92 = load ptr, ptr %91, align 8, !tbaa !23
  %93 = getelementptr inbounds double, ptr %92, i64 %88
  %94 = load double, ptr %93, align 8, !tbaa !15
  %95 = getelementptr inbounds i8, ptr %13, i64 8
  store double %94, ptr %95, align 8, !tbaa !15
  %96 = getelementptr inbounds i8, ptr %2, i64 192
  %97 = load ptr, ptr %96, align 8, !tbaa !24
  %98 = getelementptr inbounds double, ptr %97, i64 %88
  %99 = load double, ptr %98, align 8, !tbaa !15
  %100 = getelementptr inbounds i8, ptr %13, i64 16
  store double %99, ptr %100, align 16, !tbaa !15
  %101 = getelementptr inbounds double, ptr %87, i64 %59
  %102 = load double, ptr %101, align 8, !tbaa !15
  store double %102, ptr %14, align 16, !tbaa !15
  %103 = getelementptr inbounds double, ptr %92, i64 %59
  %104 = load double, ptr %103, align 8, !tbaa !15
  %105 = getelementptr inbounds i8, ptr %14, i64 8
  store double %104, ptr %105, align 8, !tbaa !15
  %106 = getelementptr inbounds double, ptr %97, i64 %59
  %107 = load double, ptr %106, align 8, !tbaa !15
  %108 = getelementptr inbounds i8, ptr %14, i64 16
  store double %107, ptr %108, align 16, !tbaa !15
  %109 = getelementptr inbounds i8, ptr %3, i64 176
  %110 = load ptr, ptr %109, align 8, !tbaa !22
  %111 = sext i32 %21 to i64
  %112 = getelementptr inbounds double, ptr %110, i64 %111
  %113 = load double, ptr %112, align 8, !tbaa !15
  store double %113, ptr %15, align 16, !tbaa !15
  %114 = getelementptr inbounds i8, ptr %3, i64 184
  %115 = load ptr, ptr %114, align 8, !tbaa !23
  %116 = getelementptr inbounds double, ptr %115, i64 %111
  %117 = load double, ptr %116, align 8, !tbaa !15
  %118 = getelementptr inbounds i8, ptr %15, i64 8
  store double %117, ptr %118, align 8, !tbaa !15
  %119 = getelementptr inbounds i8, ptr %3, i64 192
  %120 = load ptr, ptr %119, align 8, !tbaa !24
  %121 = getelementptr inbounds double, ptr %120, i64 %111
  %122 = load double, ptr %121, align 8, !tbaa !15
  %123 = getelementptr inbounds i8, ptr %15, i64 16
  store double %122, ptr %123, align 16, !tbaa !15
  %124 = load double, ptr %9, align 16, !tbaa !15
  %125 = load double, ptr %10, align 16, !tbaa !15
  %126 = fsub double %124, %125
  %127 = load double, ptr %25, align 8, !tbaa !15
  %128 = load double, ptr %27, align 8, !tbaa !15
  %129 = fsub double %127, %128
  %130 = load double, ptr %33, align 16, !tbaa !15
  %131 = load double, ptr %36, align 16, !tbaa !15
  %132 = fsub double %130, %131
  %133 = fmul double %129, %129
  %134 = call double @llvm.fmuladd.f64(double %126, double %126, double %133)
  %135 = call double @llvm.fmuladd.f64(double %132, double %132, double %134)
  %136 = fcmp olt double %135, 1.000000e-04
  br i1 %136, label %137, label %147

137:                                              ; preds = %6
  store double %102, ptr %4, align 8, !tbaa !15
  %138 = load double, ptr %103, align 8, !tbaa !15
  %139 = getelementptr inbounds i8, ptr %4, i64 8
  store double %138, ptr %139, align 8, !tbaa !15
  %140 = load double, ptr %106, align 8, !tbaa !15
  %141 = getelementptr inbounds i8, ptr %4, i64 16
  store double %140, ptr %141, align 8, !tbaa !15
  %142 = load double, ptr %112, align 8, !tbaa !15
  store double %142, ptr %5, align 8, !tbaa !15
  %143 = load double, ptr %116, align 8, !tbaa !15
  %144 = getelementptr inbounds i8, ptr %5, i64 8
  store double %143, ptr %144, align 8, !tbaa !15
  %145 = load double, ptr %121, align 8, !tbaa !15
  %146 = getelementptr inbounds i8, ptr %5, i64 16
  store double %145, ptr %146, align 8, !tbaa !15
  br label %169

147:                                              ; preds = %6
  %148 = load double, ptr %39, align 16, !tbaa !15
  %149 = fsub double %131, %148
  %150 = load double, ptr %29, align 8, !tbaa !15
  %151 = fsub double %128, %150
  %152 = load double, ptr %11, align 16, !tbaa !15
  %153 = fsub double %125, %152
  %154 = fmul double %151, %151
  %155 = call double @llvm.fmuladd.f64(double %153, double %153, double %154)
  %156 = call double @llvm.fmuladd.f64(double %149, double %149, double %155)
  %157 = fcmp olt double %156, 1.000000e-04
  br i1 %157, label %158, label %168

158:                                              ; preds = %147
  store double %75, ptr %4, align 8, !tbaa !15
  %159 = load double, ptr %78, align 8, !tbaa !15
  %160 = getelementptr inbounds i8, ptr %4, i64 8
  store double %159, ptr %160, align 8, !tbaa !15
  %161 = load double, ptr %83, align 8, !tbaa !15
  %162 = getelementptr inbounds i8, ptr %4, i64 16
  store double %161, ptr %162, align 8, !tbaa !15
  %163 = load double, ptr %89, align 8, !tbaa !15
  store double %163, ptr %5, align 8, !tbaa !15
  %164 = load double, ptr %93, align 8, !tbaa !15
  %165 = getelementptr inbounds i8, ptr %5, i64 8
  store double %164, ptr %165, align 8, !tbaa !15
  %166 = load double, ptr %98, align 8, !tbaa !15
  %167 = getelementptr inbounds i8, ptr %5, i64 16
  store double %166, ptr %167, align 8, !tbaa !15
  br label %169

168:                                              ; preds = %147
  call void @FindFSegComb(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %4, ptr noundef %5) #4
  br label %169

169:                                              ; preds = %158, %168, %137
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  ret void
}

declare void @PBCPOSITION(ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr 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

declare void @FindFSegComb(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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, !10, i64 16}
!6 = !{!"_home", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !7, i64 100, !10, i64 104, !7, i64 112, !7, i64 116, !10, i64 120, !7, i64 128, !7, i64 132, !7, i64 136, !10, i64 144, !7, i64 152, !7, i64 156, !10, i64 160, !10, i64 168, !10, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !7, i64 232, !7, i64 236, !7, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !7, i64 272, !10, i64 280, !7, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !7, i64 320, !7, i64 324, !10, i64 328, !7, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !7, i64 368, !7, i64 372, !7, i64 376, !10, i64 384, !10, i64 392, !7, i64 400, !7, i64 404, !10, i64 408, !10, i64 416, !10, i64 424, !7, i64 432, !7, i64 436, !7, i64 440, !8, i64 448, !8, i64 520, !12, i64 592, !7, i64 632, !7, i64 636, !7, i64 640, !7, i64 644, !7, i64 648, !7, i64 652, !7, i64 656, !13, i64 664}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!13 = !{!"timeval", !14, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 24}
!17 = !{!"_node", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !18, i64 152, !7, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !10, i64 296, !10, i64 304, !7, i64 312}
!18 = !{!"_tag", !7, i64 0, !7, i64 4}
!19 = !{!17, !10, i64 200}
!20 = !{!17, !10, i64 208}
!21 = !{!17, !10, i64 216}
!22 = !{!17, !10, i64 176}
!23 = !{!17, !10, i64 184}
!24 = !{!17, !10, i64 192}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass