; LLVM IR from erincatto/box2d :: src (contact_solver)

; 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.b2BodyStateW = type { %struct.b2Vec2W, <4 x float>, <4 x float>, %struct.b2Vec2W, %struct.b2RotW }
%struct.b2Vec2W = type { <4 x float>, <4 x float> }
%struct.b2RotW = type { <4 x float>, <4 x float> }
%struct.b2StepContext = type { float, float, float, float, i32, %struct.b2Softness, %struct.b2Softness, %struct.b2Softness, float, float, ptr, ptr, ptr, ptr, ptr, i32, ptr, %struct.b2AtomicInt, ptr, ptr, ptr, i32, i32, ptr, i32, i8, [64 x i8], %struct.b2AtomicU32, [64 x i8] }
%struct.b2Softness = type { float, float, float }
%struct.b2AtomicInt = type { i32 }
%struct.b2AtomicU32 = type { i32 }
%struct.b2ConstraintGraph = type { [12 x %struct.b2GraphColor] }
%struct.b2GraphColor = type { %struct.b2BitSet, %struct.b2ContactSimArray, %struct.b2JointSimArray, %union.anon }
%struct.b2BitSet = type { ptr, i32, i32 }
%struct.b2ContactSimArray = type { ptr, i32, i32 }
%struct.b2JointSimArray = type { ptr, i32, i32 }
%union.anon = type { ptr }
%struct.b2ContactConstraintSIMD = type { [4 x i32], [4 x i32], <4 x float>, <4 x float>, <4 x float>, <4 x float>, %struct.b2Vec2W, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, %struct.b2Vec2W, %struct.b2Vec2W, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, %struct.b2Vec2W, %struct.b2Vec2W, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float> }

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 @b2WarmStartContactsTask(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %struct.b2BodyStateW, align 16
  %14 = alloca %struct.b2BodyStateW, align 16
  %15 = alloca <4 x float>, align 16
  %16 = alloca <4 x float>, align 16
  %17 = alloca %struct.b2Vec2W, align 16
  %18 = alloca %struct.b2Vec2W, align 16
  %19 = alloca %struct.b2Vec2W, align 16
  %20 = alloca %struct.b2Vec2W, align 16
  %21 = alloca %struct.b2Vec2W, align 16
  %22 = alloca %struct.b2Vec2W, align 16
  store i32 %0, ptr %5, align 4, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %23 = load ptr, ptr %7, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.b2StepContext, ptr %23, i32 0, i32 12
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  store ptr %25, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %26 = load ptr, ptr %7, align 8, !tbaa !9
  %27 = getelementptr inbounds %struct.b2StepContext, ptr %26, i32 0, i32 11
  %28 = load ptr, ptr %27, align 8, !tbaa !18
  %29 = getelementptr inbounds %struct.b2ConstraintGraph, ptr %28, i32 0, i32 0
  %30 = load i32, ptr %8, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [12 x %struct.b2GraphColor], ptr %29, i64 0, i64 %31
  %33 = getelementptr inbounds %struct.b2GraphColor, ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %33, align 8, !tbaa !19
  store ptr %34, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %35 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %35, ptr %11, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %280, %4
  %37 = load i32, ptr %11, align 4, !tbaa !5
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %283

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %42 = load ptr, ptr %10, align 8, !tbaa !9
  %43 = load i32, ptr %11, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %42, i64 %44
  store ptr %45, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 128, ptr %13) #4
  %46 = load ptr, ptr %9, align 8, !tbaa !9
  %47 = load ptr, ptr %12, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %47, i32 0, i32 0
  %49 = getelementptr inbounds [4 x i32], ptr %48, i64 0, i64 0
  call void @b2GatherBodies(ptr dead_on_unwind writable sret(%struct.b2BodyStateW) align 16 %13, ptr noundef %46, ptr noundef %49)
  call void @llvm.lifetime.start.p0(i64 128, ptr %14) #4
  %50 = load ptr, ptr %9, align 8, !tbaa !9
  %51 = load ptr, ptr %12, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %51, i32 0, i32 1
  %53 = getelementptr inbounds [4 x i32], ptr %52, i64 0, i64 0
  call void @b2GatherBodies(ptr dead_on_unwind writable sret(%struct.b2BodyStateW) align 16 %14, ptr noundef %50, ptr noundef %53)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  %54 = load ptr, ptr %12, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %54, i32 0, i32 6
  %56 = getelementptr inbounds %struct.b2Vec2W, ptr %55, i32 0, i32 1
  %57 = load <4 x float>, ptr %56, align 16, !tbaa !19
  store <4 x float> %57, ptr %15, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  %58 = call <4 x float> @b2ZeroW()
  %59 = load ptr, ptr %12, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %59, i32 0, i32 6
  %61 = getelementptr inbounds %struct.b2Vec2W, ptr %60, i32 0, i32 0
  %62 = load <4 x float>, ptr %61, align 16, !tbaa !19
  %63 = call <4 x float> @b2SubW(<4 x float> noundef %58, <4 x float> noundef %62)
  store <4 x float> %63, ptr %16, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #4
  %64 = load ptr, ptr %12, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %64, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %65, i64 32, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #4
  %66 = load ptr, ptr %12, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %66, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %67, i64 32, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #4
  %68 = load ptr, ptr %12, align 8, !tbaa !9
  %69 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %68, i32 0, i32 20
  %70 = load <4 x float>, ptr %69, align 16, !tbaa !19
  %71 = load ptr, ptr %12, align 8, !tbaa !9
  %72 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %71, i32 0, i32 6
  %73 = getelementptr inbounds %struct.b2Vec2W, ptr %72, i32 0, i32 0
  %74 = load <4 x float>, ptr %73, align 16, !tbaa !19
  %75 = call <4 x float> @b2MulW(<4 x float> noundef %70, <4 x float> noundef %74)
  %76 = load ptr, ptr %12, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %76, i32 0, i32 22
  %78 = load <4 x float>, ptr %77, align 16, !tbaa !19
  %79 = load <4 x float>, ptr %15, align 16, !tbaa !19
  %80 = call <4 x float> @b2MulW(<4 x float> noundef %78, <4 x float> noundef %79)
  %81 = call <4 x float> @b2AddW(<4 x float> noundef %75, <4 x float> noundef %80)
  %82 = getelementptr inbounds %struct.b2Vec2W, ptr %19, i32 0, i32 0
  store <4 x float> %81, ptr %82, align 16, !tbaa !19
  %83 = load ptr, ptr %12, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %83, i32 0, i32 20
  %85 = load <4 x float>, ptr %84, align 16, !tbaa !19
  %86 = load ptr, ptr %12, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %86, i32 0, i32 6
  %88 = getelementptr inbounds %struct.b2Vec2W, ptr %87, i32 0, i32 1
  %89 = load <4 x float>, ptr %88, align 16, !tbaa !19
  %90 = call <4 x float> @b2MulW(<4 x float> noundef %85, <4 x float> noundef %89)
  %91 = load ptr, ptr %12, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %91, i32 0, i32 22
  %93 = load <4 x float>, ptr %92, align 16, !tbaa !19
  %94 = load <4 x float>, ptr %16, align 16, !tbaa !19
  %95 = call <4 x float> @b2MulW(<4 x float> noundef %93, <4 x float> noundef %94)
  %96 = call <4 x float> @b2AddW(<4 x float> noundef %90, <4 x float> noundef %95)
  %97 = getelementptr inbounds %struct.b2Vec2W, ptr %19, i32 0, i32 1
  store <4 x float> %96, ptr %97, align 16, !tbaa !19
  %98 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 1
  %99 = load <4 x float>, ptr %98, align 16, !tbaa !19
  %100 = load ptr, ptr %12, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %100, i32 0, i32 4
  %102 = load <4 x float>, ptr %101, align 16, !tbaa !19
  %103 = call <4 x float> @b2CrossW(ptr noundef byval(%struct.b2Vec2W) align 16 %17, ptr noundef byval(%struct.b2Vec2W) align 16 %19)
  %104 = call <4 x float> @b2MulSubW(<4 x float> noundef %99, <4 x float> noundef %102, <4 x float> noundef %103)
  %105 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 1
  store <4 x float> %104, ptr %105, align 16, !tbaa !19
  %106 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %107 = getelementptr inbounds %struct.b2Vec2W, ptr %106, i32 0, i32 0
  %108 = load <4 x float>, ptr %107, align 16, !tbaa !19
  %109 = load ptr, ptr %12, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %109, i32 0, i32 2
  %111 = load <4 x float>, ptr %110, align 16, !tbaa !19
  %112 = getelementptr inbounds %struct.b2Vec2W, ptr %19, i32 0, i32 0
  %113 = load <4 x float>, ptr %112, align 16, !tbaa !19
  %114 = call <4 x float> @b2MulSubW(<4 x float> noundef %108, <4 x float> noundef %111, <4 x float> noundef %113)
  %115 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %116 = getelementptr inbounds %struct.b2Vec2W, ptr %115, i32 0, i32 0
  store <4 x float> %114, ptr %116, align 16, !tbaa !19
  %117 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %118 = getelementptr inbounds %struct.b2Vec2W, ptr %117, i32 0, i32 1
  %119 = load <4 x float>, ptr %118, align 16, !tbaa !19
  %120 = load ptr, ptr %12, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %120, i32 0, i32 2
  %122 = load <4 x float>, ptr %121, align 16, !tbaa !19
  %123 = getelementptr inbounds %struct.b2Vec2W, ptr %19, i32 0, i32 1
  %124 = load <4 x float>, ptr %123, align 16, !tbaa !19
  %125 = call <4 x float> @b2MulSubW(<4 x float> noundef %119, <4 x float> noundef %122, <4 x float> noundef %124)
  %126 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %127 = getelementptr inbounds %struct.b2Vec2W, ptr %126, i32 0, i32 1
  store <4 x float> %125, ptr %127, align 16, !tbaa !19
  %128 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 1
  %129 = load <4 x float>, ptr %128, align 16, !tbaa !19
  %130 = load ptr, ptr %12, align 8, !tbaa !9
  %131 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %130, i32 0, i32 5
  %132 = load <4 x float>, ptr %131, align 16, !tbaa !19
  %133 = call <4 x float> @b2CrossW(ptr noundef byval(%struct.b2Vec2W) align 16 %18, ptr noundef byval(%struct.b2Vec2W) align 16 %19)
  %134 = call <4 x float> @b2MulAddW(<4 x float> noundef %129, <4 x float> noundef %132, <4 x float> noundef %133)
  %135 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 1
  store <4 x float> %134, ptr %135, align 16, !tbaa !19
  %136 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %137 = getelementptr inbounds %struct.b2Vec2W, ptr %136, i32 0, i32 0
  %138 = load <4 x float>, ptr %137, align 16, !tbaa !19
  %139 = load ptr, ptr %12, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %139, i32 0, i32 3
  %141 = load <4 x float>, ptr %140, align 16, !tbaa !19
  %142 = getelementptr inbounds %struct.b2Vec2W, ptr %19, i32 0, i32 0
  %143 = load <4 x float>, ptr %142, align 16, !tbaa !19
  %144 = call <4 x float> @b2MulAddW(<4 x float> noundef %138, <4 x float> noundef %141, <4 x float> noundef %143)
  %145 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %146 = getelementptr inbounds %struct.b2Vec2W, ptr %145, i32 0, i32 0
  store <4 x float> %144, ptr %146, align 16, !tbaa !19
  %147 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %148 = getelementptr inbounds %struct.b2Vec2W, ptr %147, i32 0, i32 1
  %149 = load <4 x float>, ptr %148, align 16, !tbaa !19
  %150 = load ptr, ptr %12, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %150, i32 0, i32 3
  %152 = load <4 x float>, ptr %151, align 16, !tbaa !19
  %153 = getelementptr inbounds %struct.b2Vec2W, ptr %19, i32 0, i32 1
  %154 = load <4 x float>, ptr %153, align 16, !tbaa !19
  %155 = call <4 x float> @b2MulAddW(<4 x float> noundef %149, <4 x float> noundef %152, <4 x float> noundef %154)
  %156 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %157 = getelementptr inbounds %struct.b2Vec2W, ptr %156, i32 0, i32 1
  store <4 x float> %155, ptr %157, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #4
  %158 = load ptr, ptr %12, align 8, !tbaa !9
  %159 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %158, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %159, i64 32, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #4
  %160 = load ptr, ptr %12, align 8, !tbaa !9
  %161 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %160, i32 0, i32 24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %161, i64 32, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #4
  %162 = load ptr, ptr %12, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %162, i32 0, i32 26
  %164 = load <4 x float>, ptr %163, align 16, !tbaa !19
  %165 = load ptr, ptr %12, align 8, !tbaa !9
  %166 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %165, i32 0, i32 6
  %167 = getelementptr inbounds %struct.b2Vec2W, ptr %166, i32 0, i32 0
  %168 = load <4 x float>, ptr %167, align 16, !tbaa !19
  %169 = call <4 x float> @b2MulW(<4 x float> noundef %164, <4 x float> noundef %168)
  %170 = load ptr, ptr %12, align 8, !tbaa !9
  %171 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %170, i32 0, i32 28
  %172 = load <4 x float>, ptr %171, align 16, !tbaa !19
  %173 = load <4 x float>, ptr %15, align 16, !tbaa !19
  %174 = call <4 x float> @b2MulW(<4 x float> noundef %172, <4 x float> noundef %173)
  %175 = call <4 x float> @b2AddW(<4 x float> noundef %169, <4 x float> noundef %174)
  %176 = getelementptr inbounds %struct.b2Vec2W, ptr %22, i32 0, i32 0
  store <4 x float> %175, ptr %176, align 16, !tbaa !19
  %177 = load ptr, ptr %12, align 8, !tbaa !9
  %178 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %177, i32 0, i32 26
  %179 = load <4 x float>, ptr %178, align 16, !tbaa !19
  %180 = load ptr, ptr %12, align 8, !tbaa !9
  %181 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %180, i32 0, i32 6
  %182 = getelementptr inbounds %struct.b2Vec2W, ptr %181, i32 0, i32 1
  %183 = load <4 x float>, ptr %182, align 16, !tbaa !19
  %184 = call <4 x float> @b2MulW(<4 x float> noundef %179, <4 x float> noundef %183)
  %185 = load ptr, ptr %12, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %185, i32 0, i32 28
  %187 = load <4 x float>, ptr %186, align 16, !tbaa !19
  %188 = load <4 x float>, ptr %16, align 16, !tbaa !19
  %189 = call <4 x float> @b2MulW(<4 x float> noundef %187, <4 x float> noundef %188)
  %190 = call <4 x float> @b2AddW(<4 x float> noundef %184, <4 x float> noundef %189)
  %191 = getelementptr inbounds %struct.b2Vec2W, ptr %22, i32 0, i32 1
  store <4 x float> %190, ptr %191, align 16, !tbaa !19
  %192 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 1
  %193 = load <4 x float>, ptr %192, align 16, !tbaa !19
  %194 = load ptr, ptr %12, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %194, i32 0, i32 4
  %196 = load <4 x float>, ptr %195, align 16, !tbaa !19
  %197 = call <4 x float> @b2CrossW(ptr noundef byval(%struct.b2Vec2W) align 16 %20, ptr noundef byval(%struct.b2Vec2W) align 16 %22)
  %198 = call <4 x float> @b2MulSubW(<4 x float> noundef %193, <4 x float> noundef %196, <4 x float> noundef %197)
  %199 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 1
  store <4 x float> %198, ptr %199, align 16, !tbaa !19
  %200 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %201 = getelementptr inbounds %struct.b2Vec2W, ptr %200, i32 0, i32 0
  %202 = load <4 x float>, ptr %201, align 16, !tbaa !19
  %203 = load ptr, ptr %12, align 8, !tbaa !9
  %204 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %203, i32 0, i32 2
  %205 = load <4 x float>, ptr %204, align 16, !tbaa !19
  %206 = getelementptr inbounds %struct.b2Vec2W, ptr %22, i32 0, i32 0
  %207 = load <4 x float>, ptr %206, align 16, !tbaa !19
  %208 = call <4 x float> @b2MulSubW(<4 x float> noundef %202, <4 x float> noundef %205, <4 x float> noundef %207)
  %209 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %210 = getelementptr inbounds %struct.b2Vec2W, ptr %209, i32 0, i32 0
  store <4 x float> %208, ptr %210, align 16, !tbaa !19
  %211 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %212 = getelementptr inbounds %struct.b2Vec2W, ptr %211, i32 0, i32 1
  %213 = load <4 x float>, ptr %212, align 16, !tbaa !19
  %214 = load ptr, ptr %12, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %214, i32 0, i32 2
  %216 = load <4 x float>, ptr %215, align 16, !tbaa !19
  %217 = getelementptr inbounds %struct.b2Vec2W, ptr %22, i32 0, i32 1
  %218 = load <4 x float>, ptr %217, align 16, !tbaa !19
  %219 = call <4 x float> @b2MulSubW(<4 x float> noundef %213, <4 x float> noundef %216, <4 x float> noundef %218)
  %220 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 0
  %221 = getelementptr inbounds %struct.b2Vec2W, ptr %220, i32 0, i32 1
  store <4 x float> %219, ptr %221, align 16, !tbaa !19
  %222 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 1
  %223 = load <4 x float>, ptr %222, align 16, !tbaa !19
  %224 = load ptr, ptr %12, align 8, !tbaa !9
  %225 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %224, i32 0, i32 5
  %226 = load <4 x float>, ptr %225, align 16, !tbaa !19
  %227 = call <4 x float> @b2CrossW(ptr noundef byval(%struct.b2Vec2W) align 16 %21, ptr noundef byval(%struct.b2Vec2W) align 16 %22)
  %228 = call <4 x float> @b2MulAddW(<4 x float> noundef %223, <4 x float> noundef %226, <4 x float> noundef %227)
  %229 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 1
  store <4 x float> %228, ptr %229, align 16, !tbaa !19
  %230 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %231 = getelementptr inbounds %struct.b2Vec2W, ptr %230, i32 0, i32 0
  %232 = load <4 x float>, ptr %231, align 16, !tbaa !19
  %233 = load ptr, ptr %12, align 8, !tbaa !9
  %234 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %233, i32 0, i32 3
  %235 = load <4 x float>, ptr %234, align 16, !tbaa !19
  %236 = getelementptr inbounds %struct.b2Vec2W, ptr %22, i32 0, i32 0
  %237 = load <4 x float>, ptr %236, align 16, !tbaa !19
  %238 = call <4 x float> @b2MulAddW(<4 x float> noundef %232, <4 x float> noundef %235, <4 x float> noundef %237)
  %239 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %240 = getelementptr inbounds %struct.b2Vec2W, ptr %239, i32 0, i32 0
  store <4 x float> %238, ptr %240, align 16, !tbaa !19
  %241 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %242 = getelementptr inbounds %struct.b2Vec2W, ptr %241, i32 0, i32 1
  %243 = load <4 x float>, ptr %242, align 16, !tbaa !19
  %244 = load ptr, ptr %12, align 8, !tbaa !9
  %245 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %244, i32 0, i32 3
  %246 = load <4 x float>, ptr %245, align 16, !tbaa !19
  %247 = getelementptr inbounds %struct.b2Vec2W, ptr %22, i32 0, i32 1
  %248 = load <4 x float>, ptr %247, align 16, !tbaa !19
  %249 = call <4 x float> @b2MulAddW(<4 x float> noundef %243, <4 x float> noundef %246, <4 x float> noundef %248)
  %250 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 0
  %251 = getelementptr inbounds %struct.b2Vec2W, ptr %250, i32 0, i32 1
  store <4 x float> %249, ptr %251, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #4
  %252 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 1
  %253 = load <4 x float>, ptr %252, align 16, !tbaa !19
  %254 = load ptr, ptr %12, align 8, !tbaa !9
  %255 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %254, i32 0, i32 4
  %256 = load <4 x float>, ptr %255, align 16, !tbaa !19
  %257 = load ptr, ptr %12, align 8, !tbaa !9
  %258 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %257, i32 0, i32 11
  %259 = load <4 x float>, ptr %258, align 16, !tbaa !19
  %260 = call <4 x float> @b2MulSubW(<4 x float> noundef %253, <4 x float> noundef %256, <4 x float> noundef %259)
  %261 = getelementptr inbounds %struct.b2BodyStateW, ptr %13, i32 0, i32 1
  store <4 x float> %260, ptr %261, align 16, !tbaa !19
  %262 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 1
  %263 = load <4 x float>, ptr %262, align 16, !tbaa !19
  %264 = load ptr, ptr %12, align 8, !tbaa !9
  %265 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %264, i32 0, i32 5
  %266 = load <4 x float>, ptr %265, align 16, !tbaa !19
  %267 = load ptr, ptr %12, align 8, !tbaa !9
  %268 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %267, i32 0, i32 11
  %269 = load <4 x float>, ptr %268, align 16, !tbaa !19
  %270 = call <4 x float> @b2MulAddW(<4 x float> noundef %263, <4 x float> noundef %266, <4 x float> noundef %269)
  %271 = getelementptr inbounds %struct.b2BodyStateW, ptr %14, i32 0, i32 1
  store <4 x float> %270, ptr %271, align 16, !tbaa !19
  %272 = load ptr, ptr %9, align 8, !tbaa !9
  %273 = load ptr, ptr %12, align 8, !tbaa !9
  %274 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %273, i32 0, i32 0
  %275 = getelementptr inbounds [4 x i32], ptr %274, i64 0, i64 0
  call void @b2ScatterBodies(ptr noundef %272, ptr noundef %275, ptr noundef %13)
  %276 = load ptr, ptr %9, align 8, !tbaa !9
  %277 = load ptr, ptr %12, align 8, !tbaa !9
  %278 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %277, i32 0, i32 1
  %279 = getelementptr inbounds [4 x i32], ptr %278, i64 0, i64 0
  call void @b2ScatterBodies(ptr noundef %276, ptr noundef %279, ptr noundef %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %280

280:                                              ; preds = %41
  %281 = load i32, ptr %11, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %11, align 4, !tbaa !5
  br label %36, !llvm.loop !21

283:                                              ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @b2GatherBodies(ptr dead_on_unwind noalias writable sret(%struct.b2BodyStateW) align 16, ptr noalias noundef, ptr noalias noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2SubW(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2ZeroW() #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2AddW(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2MulW(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2MulSubW(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2CrossW(ptr noundef byval(%struct.b2Vec2W) align 16, ptr noundef byval(%struct.b2Vec2W) align 16) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2MulAddW(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @b2ScatterBodies(ptr noalias noundef, ptr noalias noundef, ptr noalias noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="128" "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 80}
!12 = !{!"b2StepContext", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !6, i64 16, !14, i64 20, !14, i64 32, !14, i64 44, !13, i64 56, !13, i64 60, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !6, i64 104, !10, i64 112, !15, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !6, i64 152, !6, i64 156, !10, i64 160, !6, i64 168, !16, i64 172, !7, i64 173, !17, i64 240, !7, i64 244}
!13 = !{!"float", !7, i64 0}
!14 = !{!"b2Softness", !13, i64 0, !13, i64 4, !13, i64 8}
!15 = !{!"b2AtomicInt", !6, i64 0}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"b2AtomicU32", !6, i64 0}
!18 = !{!12, !10, i64 72}
!19 = !{!7, !7, i64 0}
!20 = !{i64 0, i64 16, !19, i64 16, i64 16, !19}
!21 = distinct !{!21, !22}
!22 = !{!"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.b2BodyStateW = type { %struct.b2Vec2W, <4 x float>, <4 x float>, %struct.b2Vec2W, %struct.b2RotW }
%struct.b2Vec2W = type { <4 x float>, <4 x float> }
%struct.b2RotW = type { <4 x float>, <4 x float> }
%struct.b2GraphColor = type { %struct.b2BitSet, %struct.b2ContactSimArray, %struct.b2JointSimArray, %union.anon }
%struct.b2BitSet = type { ptr, i32, i32 }
%struct.b2ContactSimArray = type { ptr, i32, i32 }
%struct.b2JointSimArray = type { ptr, i32, i32 }
%union.anon = type { ptr }
%struct.b2ContactConstraintSIMD = type { [4 x i32], [4 x i32], <4 x float>, <4 x float>, <4 x float>, <4 x float>, %struct.b2Vec2W, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, %struct.b2Vec2W, %struct.b2Vec2W, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, %struct.b2Vec2W, %struct.b2Vec2W, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float> }

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 @b2WarmStartContactsTask(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca %struct.b2BodyStateW, align 16
  %6 = alloca %struct.b2BodyStateW, align 16
  %7 = alloca %struct.b2Vec2W, align 16
  %8 = alloca %struct.b2Vec2W, align 16
  %9 = alloca %struct.b2Vec2W, align 16
  %10 = alloca %struct.b2Vec2W, align 16
  %11 = alloca %struct.b2Vec2W, align 16
  %12 = alloca %struct.b2Vec2W, align 16
  %13 = getelementptr inbounds i8, ptr %2, i64 80
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %2, i64 72
  %16 = load ptr, ptr %15, align 8, !tbaa !16
  %17 = sext i32 %3 to i64
  %18 = getelementptr inbounds [12 x %struct.b2GraphColor], ptr %16, i64 0, i64 %17, i32 3
  %19 = load ptr, ptr %18, align 8, !tbaa !17
  %20 = icmp slt i32 %0, %1
  br i1 %20, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %21 = getelementptr inbounds i8, ptr %9, i64 16
  %22 = getelementptr inbounds i8, ptr %5, i64 32
  %23 = getelementptr inbounds i8, ptr %5, i64 16
  %24 = getelementptr inbounds i8, ptr %6, i64 32
  %25 = getelementptr inbounds i8, ptr %6, i64 16
  %26 = getelementptr inbounds i8, ptr %12, i64 16
  %27 = sext i32 %0 to i64
  br label %28

._crit_edge:                                      ; preds = %28, %4
  ret void

28:                                               ; preds = %.lr.ph, %28
  %indvars.iv = phi i64 [ %27, %.lr.ph ], [ %indvars.iv.next, %28 ]
  %29 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %19, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %5) #4
  call void @b2GatherBodies(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyStateW) align 16 %5, ptr noundef %14, ptr noundef %29)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #4
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  call void @b2GatherBodies(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyStateW) align 16 %6, ptr noundef %14, ptr noundef nonnull %30)
  %31 = getelementptr inbounds i8, ptr %29, i64 96
  %32 = getelementptr inbounds i8, ptr %29, i64 112
  %33 = load <4 x float>, ptr %32, align 16, !tbaa !17
  %34 = call <4 x float> @b2ZeroW()
  %35 = load <4 x float>, ptr %31, align 16, !tbaa !17
  %36 = call <4 x float> @b2SubW(<4 x float> noundef %34, <4 x float> noundef %35)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  %37 = getelementptr inbounds i8, ptr %29, i64 256
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %7, ptr noundef nonnull align 16 dereferenceable(32) %37, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  %38 = getelementptr inbounds i8, ptr %29, i64 288
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %8, ptr noundef nonnull align 16 dereferenceable(32) %38, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  %39 = getelementptr inbounds i8, ptr %29, i64 368
  %40 = load <4 x float>, ptr %39, align 16, !tbaa !17
  %41 = load <4 x float>, ptr %31, align 16, !tbaa !17
  %42 = call <4 x float> @b2MulW(<4 x float> noundef %40, <4 x float> noundef %41)
  %43 = getelementptr inbounds i8, ptr %29, i64 400
  %44 = load <4 x float>, ptr %43, align 16, !tbaa !17
  %45 = call <4 x float> @b2MulW(<4 x float> noundef %44, <4 x float> noundef %33)
  %46 = call <4 x float> @b2AddW(<4 x float> noundef %42, <4 x float> noundef %45)
  store <4 x float> %46, ptr %9, align 16, !tbaa !17
  %47 = load <4 x float>, ptr %39, align 16, !tbaa !17
  %48 = load <4 x float>, ptr %32, align 16, !tbaa !17
  %49 = call <4 x float> @b2MulW(<4 x float> noundef %47, <4 x float> noundef %48)
  %50 = load <4 x float>, ptr %43, align 16, !tbaa !17
  %51 = call <4 x float> @b2MulW(<4 x float> noundef %50, <4 x float> noundef %36)
  %52 = call <4 x float> @b2AddW(<4 x float> noundef %49, <4 x float> noundef %51)
  store <4 x float> %52, ptr %21, align 16, !tbaa !17
  %53 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %54 = getelementptr inbounds i8, ptr %29, i64 64
  %55 = load <4 x float>, ptr %54, align 16, !tbaa !17
  %56 = call <4 x float> @b2CrossW(ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %7, ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %9)
  %57 = call <4 x float> @b2MulSubW(<4 x float> noundef %53, <4 x float> noundef %55, <4 x float> noundef %56)
  store <4 x float> %57, ptr %22, align 16, !tbaa !17
  %58 = load <4 x float>, ptr %5, align 16, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %29, i64 32
  %60 = load <4 x float>, ptr %59, align 16, !tbaa !17
  %61 = load <4 x float>, ptr %9, align 16, !tbaa !17
  %62 = call <4 x float> @b2MulSubW(<4 x float> noundef %58, <4 x float> noundef %60, <4 x float> noundef %61)
  store <4 x float> %62, ptr %5, align 16, !tbaa !17
  %63 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %64 = load <4 x float>, ptr %59, align 16, !tbaa !17
  %65 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %66 = call <4 x float> @b2MulSubW(<4 x float> noundef %63, <4 x float> noundef %64, <4 x float> noundef %65)
  store <4 x float> %66, ptr %23, align 16, !tbaa !17
  %67 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %68 = getelementptr inbounds i8, ptr %29, i64 80
  %69 = load <4 x float>, ptr %68, align 16, !tbaa !17
  %70 = call <4 x float> @b2CrossW(ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %8, ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %9)
  %71 = call <4 x float> @b2MulAddW(<4 x float> noundef %67, <4 x float> noundef %69, <4 x float> noundef %70)
  store <4 x float> %71, ptr %24, align 16, !tbaa !17
  %72 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %73 = getelementptr inbounds i8, ptr %29, i64 48
  %74 = load <4 x float>, ptr %73, align 16, !tbaa !17
  %75 = load <4 x float>, ptr %9, align 16, !tbaa !17
  %76 = call <4 x float> @b2MulAddW(<4 x float> noundef %72, <4 x float> noundef %74, <4 x float> noundef %75)
  store <4 x float> %76, ptr %6, align 16, !tbaa !17
  %77 = load <4 x float>, ptr %25, align 16, !tbaa !17
  %78 = load <4 x float>, ptr %73, align 16, !tbaa !17
  %79 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %80 = call <4 x float> @b2MulAddW(<4 x float> noundef %77, <4 x float> noundef %78, <4 x float> noundef %79)
  store <4 x float> %80, ptr %25, align 16, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #4
  %81 = getelementptr inbounds i8, ptr %29, i64 416
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull align 16 dereferenceable(32) %81, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #4
  %82 = getelementptr inbounds i8, ptr %29, i64 448
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %11, ptr noundef nonnull align 16 dereferenceable(32) %82, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #4
  %83 = getelementptr inbounds i8, ptr %29, i64 496
  %84 = load <4 x float>, ptr %83, align 16, !tbaa !17
  %85 = load <4 x float>, ptr %31, align 16, !tbaa !17
  %86 = call <4 x float> @b2MulW(<4 x float> noundef %84, <4 x float> noundef %85)
  %87 = getelementptr inbounds i8, ptr %29, i64 528
  %88 = load <4 x float>, ptr %87, align 16, !tbaa !17
  %89 = call <4 x float> @b2MulW(<4 x float> noundef %88, <4 x float> noundef %33)
  %90 = call <4 x float> @b2AddW(<4 x float> noundef %86, <4 x float> noundef %89)
  store <4 x float> %90, ptr %12, align 16, !tbaa !17
  %91 = load <4 x float>, ptr %83, align 16, !tbaa !17
  %92 = load <4 x float>, ptr %32, align 16, !tbaa !17
  %93 = call <4 x float> @b2MulW(<4 x float> noundef %91, <4 x float> noundef %92)
  %94 = load <4 x float>, ptr %87, align 16, !tbaa !17
  %95 = call <4 x float> @b2MulW(<4 x float> noundef %94, <4 x float> noundef %36)
  %96 = call <4 x float> @b2AddW(<4 x float> noundef %93, <4 x float> noundef %95)
  store <4 x float> %96, ptr %26, align 16, !tbaa !17
  %97 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %98 = load <4 x float>, ptr %54, align 16, !tbaa !17
  %99 = call <4 x float> @b2CrossW(ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %10, ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %12)
  %100 = call <4 x float> @b2MulSubW(<4 x float> noundef %97, <4 x float> noundef %98, <4 x float> noundef %99)
  store <4 x float> %100, ptr %22, align 16, !tbaa !17
  %101 = load <4 x float>, ptr %5, align 16, !tbaa !17
  %102 = load <4 x float>, ptr %59, align 16, !tbaa !17
  %103 = load <4 x float>, ptr %12, align 16, !tbaa !17
  %104 = call <4 x float> @b2MulSubW(<4 x float> noundef %101, <4 x float> noundef %102, <4 x float> noundef %103)
  store <4 x float> %104, ptr %5, align 16, !tbaa !17
  %105 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %106 = load <4 x float>, ptr %59, align 16, !tbaa !17
  %107 = load <4 x float>, ptr %26, align 16, !tbaa !17
  %108 = call <4 x float> @b2MulSubW(<4 x float> noundef %105, <4 x float> noundef %106, <4 x float> noundef %107)
  store <4 x float> %108, ptr %23, align 16, !tbaa !17
  %109 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %110 = load <4 x float>, ptr %68, align 16, !tbaa !17
  %111 = call <4 x float> @b2CrossW(ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %11, ptr noundef nonnull byval(%struct.b2Vec2W) align 16 %12)
  %112 = call <4 x float> @b2MulAddW(<4 x float> noundef %109, <4 x float> noundef %110, <4 x float> noundef %111)
  store <4 x float> %112, ptr %24, align 16, !tbaa !17
  %113 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %114 = load <4 x float>, ptr %73, align 16, !tbaa !17
  %115 = load <4 x float>, ptr %12, align 16, !tbaa !17
  %116 = call <4 x float> @b2MulAddW(<4 x float> noundef %113, <4 x float> noundef %114, <4 x float> noundef %115)
  store <4 x float> %116, ptr %6, align 16, !tbaa !17
  %117 = load <4 x float>, ptr %25, align 16, !tbaa !17
  %118 = load <4 x float>, ptr %73, align 16, !tbaa !17
  %119 = load <4 x float>, ptr %26, align 16, !tbaa !17
  %120 = call <4 x float> @b2MulAddW(<4 x float> noundef %117, <4 x float> noundef %118, <4 x float> noundef %119)
  store <4 x float> %120, ptr %25, align 16, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #4
  %121 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %122 = load <4 x float>, ptr %54, align 16, !tbaa !17
  %123 = getelementptr inbounds i8, ptr %29, i64 192
  %124 = load <4 x float>, ptr %123, align 16, !tbaa !17
  %125 = call <4 x float> @b2MulSubW(<4 x float> noundef %121, <4 x float> noundef %122, <4 x float> noundef %124)
  store <4 x float> %125, ptr %22, align 16, !tbaa !17
  %126 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %127 = load <4 x float>, ptr %68, align 16, !tbaa !17
  %128 = load <4 x float>, ptr %123, align 16, !tbaa !17
  %129 = call <4 x float> @b2MulAddW(<4 x float> noundef %126, <4 x float> noundef %127, <4 x float> noundef %128)
  store <4 x float> %129, ptr %24, align 16, !tbaa !17
  call void @b2ScatterBodies(ptr noundef %14, ptr noundef %29, ptr noundef nonnull %5)
  call void @b2ScatterBodies(ptr noundef %14, ptr noundef nonnull %30, ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #4
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %lftr.wideiv, %1
  br i1 %exitcond.not, label %._crit_edge, label %28, !llvm.loop !19
}

; Function Attrs: nounwind uwtable
declare hidden void @b2GatherBodies(ptr dead_on_unwind noalias writable sret(%struct.b2BodyStateW) align 16, ptr noalias noundef, ptr noalias noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2SubW(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2ZeroW() local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2AddW(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2MulW(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2MulSubW(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2CrossW(ptr noundef byval(%struct.b2Vec2W) align 16, ptr noundef byval(%struct.b2Vec2W) align 16) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <4 x float> @b2MulAddW(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @b2ScatterBodies(ptr noalias noundef, ptr noalias noundef, ptr noalias noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="128" "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 }

!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, !12, i64 80}
!6 = !{!"b2StepContext", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !11, i64 20, !11, i64 32, !11, i64 44, !7, i64 56, !7, i64 60, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !10, i64 104, !12, i64 112, !13, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !10, i64 152, !10, i64 156, !12, i64 160, !10, i64 168, !14, i64 172, !8, i64 173, !15, i64 240, !8, i64 244}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"b2Softness", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"b2AtomicInt", !10, i64 0}
!14 = !{!"_Bool", !8, i64 0}
!15 = !{!"b2AtomicU32", !10, i64 0}
!16 = !{!6, !12, i64 72}
!17 = !{!8, !8, i64 0}
!18 = !{i64 0, i64 16, !17, i64 16, i64 16, !17}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass