; 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.b2World = type { %struct.b2ArenaAllocator, %struct.b2BroadPhase, %struct.b2ConstraintGraph, %struct.b2IdPool, %struct.b2BodyArray, %struct.b2IdPool, %struct.b2SolverSetArray, %struct.b2IdPool, %struct.b2JointArray, %struct.b2IdPool, %struct.b2ContactArray, %struct.b2IdPool, %struct.b2IslandArray, %struct.b2IdPool, %struct.b2IdPool, %struct.b2ShapeArray, %struct.b2ChainShapeArray, %struct.b2SensorArray, %struct.b2TaskContextArray, %struct.b2SensorTaskContextArray, %struct.b2BodyMoveEventArray, %struct.b2SensorBeginTouchEventArray, %struct.b2ContactBeginTouchEventArray, [2 x %struct.b2SensorEndTouchEventArray], [2 x %struct.b2ContactEndTouchEventArray], i32, %struct.b2ContactHitEventArray, %struct.b2BitSet, %struct.b2BitSet, %struct.b2BitSet, %struct.b2BitSet, i64, i32, %struct.b2Vec2, float, float, float, float, float, float, float, float, ptr, ptr, i16, %struct.b2Profile, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, float, i32, i32, i16, i8, i8, i8, i8, i8, i8 }
%struct.b2ArenaAllocator = type { ptr, i32, i32, i32, i32, %struct.b2ArenaEntryArray }
%struct.b2ArenaEntryArray = type { ptr, i32, i32 }
%struct.b2BroadPhase = type { [3 x %struct.b2DynamicTree], i32, %struct.b2HashSet, %struct.b2IntArray, ptr, ptr, i32, %struct.b2AtomicInt, %struct.b2HashSet }
%struct.b2DynamicTree = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32 }
%struct.b2IntArray = type { ptr, i32, i32 }
%struct.b2HashSet = type { ptr, i32, i32 }
%struct.b2BodyArray = type { ptr, i32, i32 }
%struct.b2SolverSetArray = type { ptr, i32, i32 }
%struct.b2JointArray = type { ptr, i32, i32 }
%struct.b2ContactArray = type { ptr, i32, i32 }
%struct.b2IslandArray = type { ptr, i32, i32 }
%struct.b2IdPool = type { %struct.b2IntArray, i32 }
%struct.b2ShapeArray = type { ptr, i32, i32 }
%struct.b2ChainShapeArray = type { ptr, i32, i32 }
%struct.b2SensorArray = type { ptr, i32, i32 }
%struct.b2TaskContextArray = type { ptr, i32, i32 }
%struct.b2SensorTaskContextArray = type { ptr, i32, i32 }
%struct.b2BodyMoveEventArray = type { ptr, i32, i32 }
%struct.b2SensorBeginTouchEventArray = type { ptr, i32, i32 }
%struct.b2ContactBeginTouchEventArray = type { ptr, i32, i32 }
%struct.b2SensorEndTouchEventArray = type { ptr, i32, i32 }
%struct.b2ContactEndTouchEventArray = type { ptr, i32, i32 }
%struct.b2ContactHitEventArray = type { ptr, i32, i32 }
%struct.b2Vec2 = type { float, float }
%struct.b2Profile = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%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
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> @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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @b2ApplyRestitutionTask(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 <4 x float>, align 16
  %12 = alloca <4 x float>, align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca <4 x float>, align 16
  %17 = alloca %struct.b2BodyStateW, align 16
  %18 = alloca %struct.b2BodyStateW, align 16
  %19 = alloca <4 x float>, align 16
  %20 = alloca <4 x float>, align 16
  %21 = alloca <4 x float>, align 16
  %22 = alloca <4 x float>, align 16
  %23 = alloca %struct.b2Vec2W, align 16
  %24 = alloca %struct.b2Vec2W, align 16
  %25 = alloca <4 x float>, align 16
  %26 = alloca <4 x float>, align 16
  %27 = alloca <4 x float>, align 16
  %28 = alloca <4 x float>, align 16
  %29 = alloca <4 x float>, align 16
  %30 = alloca <4 x float>, align 16
  %31 = alloca <4 x float>, align 16
  %32 = alloca <4 x float>, align 16
  %33 = alloca <4 x float>, align 16
  %34 = alloca <4 x float>, align 16
  %35 = alloca <4 x float>, align 16
  %36 = alloca <4 x float>, align 16
  %37 = alloca %struct.b2Vec2W, align 16
  %38 = alloca %struct.b2Vec2W, align 16
  %39 = alloca <4 x float>, align 16
  %40 = alloca <4 x float>, align 16
  %41 = alloca <4 x float>, align 16
  %42 = alloca <4 x float>, align 16
  %43 = alloca <4 x float>, align 16
  %44 = alloca <4 x float>, align 16
  %45 = alloca <4 x float>, align 16
  %46 = alloca <4 x float>, 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
  %47 = load ptr, ptr %7, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.b2StepContext, ptr %47, i32 0, i32 12
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  store ptr %49, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %50 = load ptr, ptr %7, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.b2StepContext, ptr %50, i32 0, i32 11
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = getelementptr inbounds %struct.b2ConstraintGraph, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [12 x %struct.b2GraphColor], ptr %53, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.b2GraphColor, ptr %56, i32 0, i32 3
  %58 = load ptr, ptr %57, align 8, !tbaa !19
  store ptr %58, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %59 = load ptr, ptr %7, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.b2StepContext, ptr %59, i32 0, i32 10
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds %struct.b2World, ptr %61, i32 0, i32 35
  %63 = load float, ptr %62, align 8, !tbaa !21
  %64 = call <4 x float> @b2SplatW(float noundef %63)
  store <4 x float> %64, ptr %11, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %65 = call <4 x float> @b2ZeroW()
  store <4 x float> %65, ptr %12, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %66 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %66, ptr %13, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %483, %4
  %68 = load i32, ptr %13, align 4, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = icmp slt i32 %68, %69
  br i1 %70, label %72, label %71

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

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %73 = load ptr, ptr %10, align 8, !tbaa !9
  %74 = load i32, ptr %13, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %73, i64 %75
  store ptr %76, ptr %15, align 8, !tbaa !9
  %77 = load ptr, ptr %15, align 8, !tbaa !9
  %78 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %77, i32 0, i32 31
  %79 = load <4 x float>, ptr %78, align 16, !tbaa !19
  %80 = call zeroext i1 @b2AllZeroW(<4 x float> noundef %79)
  br i1 %80, label %81, label %82

81:                                               ; preds = %72
  store i32 4, ptr %14, align 4
  br label %480

82:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  %83 = load ptr, ptr %15, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %83, i32 0, i32 31
  %85 = load <4 x float>, ptr %84, align 16, !tbaa !19
  %86 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %87 = call <4 x float> @b2EqualsW(<4 x float> noundef %85, <4 x float> noundef %86)
  store <4 x float> %87, ptr %16, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 128, ptr %17) #4
  %88 = load ptr, ptr %9, align 8, !tbaa !9
  %89 = load ptr, ptr %15, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds [4 x i32], ptr %90, i64 0, i64 0
  call void @b2GatherBodies(ptr dead_on_unwind writable sret(%struct.b2BodyStateW) align 16 %17, ptr noundef %88, ptr noundef %91)
  call void @llvm.lifetime.start.p0(i64 128, ptr %18) #4
  %92 = load ptr, ptr %9, align 8, !tbaa !9
  %93 = load ptr, ptr %15, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %93, i32 0, i32 1
  %95 = getelementptr inbounds [4 x i32], ptr %94, i64 0, i64 0
  call void @b2GatherBodies(ptr dead_on_unwind writable sret(%struct.b2BodyStateW) align 16 %18, ptr noundef %92, ptr noundef %95)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  %96 = load ptr, ptr %15, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %96, i32 0, i32 32
  %98 = load <4 x float>, ptr %97, align 16, !tbaa !19
  %99 = load <4 x float>, ptr %11, align 16, !tbaa !19
  %100 = call <4 x float> @b2AddW(<4 x float> noundef %98, <4 x float> noundef %99)
  %101 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %102 = call <4 x float> @b2GreaterThanW(<4 x float> noundef %100, <4 x float> noundef %101)
  store <4 x float> %102, ptr %19, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  %103 = load ptr, ptr %15, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %103, i32 0, i32 21
  %105 = load <4 x float>, ptr %104, align 16, !tbaa !19
  %106 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %107 = call <4 x float> @b2EqualsW(<4 x float> noundef %105, <4 x float> noundef %106)
  store <4 x float> %107, ptr %20, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  %108 = load <4 x float>, ptr %19, align 16, !tbaa !19
  %109 = load <4 x float>, ptr %20, align 16, !tbaa !19
  %110 = call <4 x float> @b2OrW(<4 x float> noundef %108, <4 x float> noundef %109)
  %111 = load <4 x float>, ptr %16, align 16, !tbaa !19
  %112 = call <4 x float> @b2OrW(<4 x float> noundef %110, <4 x float> noundef %111)
  store <4 x float> %112, ptr %21, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  %113 = load ptr, ptr %15, align 8, !tbaa !9
  %114 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %113, i32 0, i32 17
  %115 = load <4 x float>, ptr %114, align 16, !tbaa !19
  %116 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %117 = load <4 x float>, ptr %21, align 16, !tbaa !19
  %118 = call <4 x float> @b2BlendW(<4 x float> noundef %115, <4 x float> noundef %116, <4 x float> noundef %117)
  store <4 x float> %118, ptr %22, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #4
  %119 = load ptr, ptr %15, align 8, !tbaa !9
  %120 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %119, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %120, i64 32, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #4
  %121 = load ptr, ptr %15, align 8, !tbaa !9
  %122 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %121, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %122, i64 32, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  %123 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %124 = getelementptr inbounds %struct.b2Vec2W, ptr %123, i32 0, i32 0
  %125 = load <4 x float>, ptr %124, align 16, !tbaa !19
  %126 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  %127 = load <4 x float>, ptr %126, align 16, !tbaa !19
  %128 = getelementptr inbounds %struct.b2Vec2W, ptr %24, i32 0, i32 1
  %129 = load <4 x float>, ptr %128, align 16, !tbaa !19
  %130 = call <4 x float> @b2MulW(<4 x float> noundef %127, <4 x float> noundef %129)
  %131 = call <4 x float> @b2SubW(<4 x float> noundef %125, <4 x float> noundef %130)
  %132 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %133 = getelementptr inbounds %struct.b2Vec2W, ptr %132, i32 0, i32 0
  %134 = load <4 x float>, ptr %133, align 16, !tbaa !19
  %135 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  %136 = load <4 x float>, ptr %135, align 16, !tbaa !19
  %137 = getelementptr inbounds %struct.b2Vec2W, ptr %23, i32 0, i32 1
  %138 = load <4 x float>, ptr %137, align 16, !tbaa !19
  %139 = call <4 x float> @b2MulW(<4 x float> noundef %136, <4 x float> noundef %138)
  %140 = call <4 x float> @b2SubW(<4 x float> noundef %134, <4 x float> noundef %139)
  %141 = call <4 x float> @b2SubW(<4 x float> noundef %131, <4 x float> noundef %140)
  store <4 x float> %141, ptr %25, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #4
  %142 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %143 = getelementptr inbounds %struct.b2Vec2W, ptr %142, i32 0, i32 1
  %144 = load <4 x float>, ptr %143, align 16, !tbaa !19
  %145 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  %146 = load <4 x float>, ptr %145, align 16, !tbaa !19
  %147 = getelementptr inbounds %struct.b2Vec2W, ptr %24, i32 0, i32 0
  %148 = load <4 x float>, ptr %147, align 16, !tbaa !19
  %149 = call <4 x float> @b2MulW(<4 x float> noundef %146, <4 x float> noundef %148)
  %150 = call <4 x float> @b2AddW(<4 x float> noundef %144, <4 x float> noundef %149)
  %151 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %152 = getelementptr inbounds %struct.b2Vec2W, ptr %151, i32 0, i32 1
  %153 = load <4 x float>, ptr %152, align 16, !tbaa !19
  %154 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  %155 = load <4 x float>, ptr %154, align 16, !tbaa !19
  %156 = getelementptr inbounds %struct.b2Vec2W, ptr %23, i32 0, i32 0
  %157 = load <4 x float>, ptr %156, align 16, !tbaa !19
  %158 = call <4 x float> @b2MulW(<4 x float> noundef %155, <4 x float> noundef %157)
  %159 = call <4 x float> @b2AddW(<4 x float> noundef %153, <4 x float> noundef %158)
  %160 = call <4 x float> @b2SubW(<4 x float> noundef %150, <4 x float> noundef %159)
  store <4 x float> %160, ptr %26, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #4
  %161 = load <4 x float>, ptr %25, align 16, !tbaa !19
  %162 = load ptr, ptr %15, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %162, i32 0, i32 6
  %164 = getelementptr inbounds %struct.b2Vec2W, ptr %163, i32 0, i32 0
  %165 = load <4 x float>, ptr %164, align 16, !tbaa !19
  %166 = call <4 x float> @b2MulW(<4 x float> noundef %161, <4 x float> noundef %165)
  %167 = load <4 x float>, ptr %26, align 16, !tbaa !19
  %168 = load ptr, ptr %15, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %168, i32 0, i32 6
  %170 = getelementptr inbounds %struct.b2Vec2W, ptr %169, i32 0, i32 1
  %171 = load <4 x float>, ptr %170, align 16, !tbaa !19
  %172 = call <4 x float> @b2MulW(<4 x float> noundef %167, <4 x float> noundef %171)
  %173 = call <4 x float> @b2AddW(<4 x float> noundef %166, <4 x float> noundef %172)
  store <4 x float> %173, ptr %27, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #4
  %174 = load <4 x float>, ptr %22, align 16, !tbaa !19
  %175 = load <4 x float>, ptr %27, align 16, !tbaa !19
  %176 = load ptr, ptr %15, align 8, !tbaa !9
  %177 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %176, i32 0, i32 31
  %178 = load <4 x float>, ptr %177, align 16, !tbaa !19
  %179 = load ptr, ptr %15, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %179, i32 0, i32 32
  %181 = load <4 x float>, ptr %180, align 16, !tbaa !19
  %182 = call <4 x float> @b2MulW(<4 x float> noundef %178, <4 x float> noundef %181)
  %183 = call <4 x float> @b2AddW(<4 x float> noundef %175, <4 x float> noundef %182)
  %184 = call <4 x float> @b2MulW(<4 x float> noundef %174, <4 x float> noundef %183)
  store <4 x float> %184, ptr %28, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #4
  %185 = load ptr, ptr %15, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %185, i32 0, i32 20
  %187 = load <4 x float>, ptr %186, align 16, !tbaa !19
  %188 = load <4 x float>, ptr %28, align 16, !tbaa !19
  %189 = call <4 x float> @b2SubW(<4 x float> noundef %187, <4 x float> noundef %188)
  %190 = call <4 x float> @b2ZeroW()
  %191 = call <4 x float> @b2MaxW(<4 x float> noundef %189, <4 x float> noundef %190)
  store <4 x float> %191, ptr %29, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #4
  %192 = load <4 x float>, ptr %29, align 16, !tbaa !19
  %193 = load ptr, ptr %15, align 8, !tbaa !9
  %194 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %193, i32 0, i32 20
  %195 = load <4 x float>, ptr %194, align 16, !tbaa !19
  %196 = call <4 x float> @b2SubW(<4 x float> noundef %192, <4 x float> noundef %195)
  store <4 x float> %196, ptr %30, align 16, !tbaa !19
  %197 = load <4 x float>, ptr %29, align 16, !tbaa !19
  %198 = load ptr, ptr %15, align 8, !tbaa !9
  %199 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %198, i32 0, i32 20
  store <4 x float> %197, ptr %199, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #4
  %200 = load <4 x float>, ptr %30, align 16, !tbaa !19
  %201 = load ptr, ptr %15, align 8, !tbaa !9
  %202 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %201, i32 0, i32 6
  %203 = getelementptr inbounds %struct.b2Vec2W, ptr %202, i32 0, i32 0
  %204 = load <4 x float>, ptr %203, align 16, !tbaa !19
  %205 = call <4 x float> @b2MulW(<4 x float> noundef %200, <4 x float> noundef %204)
  store <4 x float> %205, ptr %31, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #4
  %206 = load <4 x float>, ptr %30, align 16, !tbaa !19
  %207 = load ptr, ptr %15, align 8, !tbaa !9
  %208 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %207, i32 0, i32 6
  %209 = getelementptr inbounds %struct.b2Vec2W, ptr %208, i32 0, i32 1
  %210 = load <4 x float>, ptr %209, align 16, !tbaa !19
  %211 = call <4 x float> @b2MulW(<4 x float> noundef %206, <4 x float> noundef %210)
  store <4 x float> %211, ptr %32, align 16, !tbaa !19
  %212 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %213 = getelementptr inbounds %struct.b2Vec2W, ptr %212, i32 0, i32 0
  %214 = load <4 x float>, ptr %213, align 16, !tbaa !19
  %215 = load ptr, ptr %15, align 8, !tbaa !9
  %216 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %215, i32 0, i32 2
  %217 = load <4 x float>, ptr %216, align 16, !tbaa !19
  %218 = load <4 x float>, ptr %31, align 16, !tbaa !19
  %219 = call <4 x float> @b2MulSubW(<4 x float> noundef %214, <4 x float> noundef %217, <4 x float> noundef %218)
  %220 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %221 = getelementptr inbounds %struct.b2Vec2W, ptr %220, i32 0, i32 0
  store <4 x float> %219, ptr %221, align 16, !tbaa !19
  %222 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %223 = getelementptr inbounds %struct.b2Vec2W, ptr %222, i32 0, i32 1
  %224 = load <4 x float>, ptr %223, align 16, !tbaa !19
  %225 = load ptr, ptr %15, align 8, !tbaa !9
  %226 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %225, i32 0, i32 2
  %227 = load <4 x float>, ptr %226, align 16, !tbaa !19
  %228 = load <4 x float>, ptr %32, align 16, !tbaa !19
  %229 = call <4 x float> @b2MulSubW(<4 x float> noundef %224, <4 x float> noundef %227, <4 x float> noundef %228)
  %230 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %231 = getelementptr inbounds %struct.b2Vec2W, ptr %230, i32 0, i32 1
  store <4 x float> %229, ptr %231, align 16, !tbaa !19
  %232 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  %233 = load <4 x float>, ptr %232, align 16, !tbaa !19
  %234 = load ptr, ptr %15, align 8, !tbaa !9
  %235 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %234, i32 0, i32 4
  %236 = load <4 x float>, ptr %235, align 16, !tbaa !19
  %237 = getelementptr inbounds %struct.b2Vec2W, ptr %23, i32 0, i32 0
  %238 = load <4 x float>, ptr %237, align 16, !tbaa !19
  %239 = load <4 x float>, ptr %32, align 16, !tbaa !19
  %240 = call <4 x float> @b2MulW(<4 x float> noundef %238, <4 x float> noundef %239)
  %241 = getelementptr inbounds %struct.b2Vec2W, ptr %23, i32 0, i32 1
  %242 = load <4 x float>, ptr %241, align 16, !tbaa !19
  %243 = load <4 x float>, ptr %31, align 16, !tbaa !19
  %244 = call <4 x float> @b2MulW(<4 x float> noundef %242, <4 x float> noundef %243)
  %245 = call <4 x float> @b2SubW(<4 x float> noundef %240, <4 x float> noundef %244)
  %246 = call <4 x float> @b2MulSubW(<4 x float> noundef %233, <4 x float> noundef %236, <4 x float> noundef %245)
  %247 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  store <4 x float> %246, ptr %247, align 16, !tbaa !19
  %248 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %249 = getelementptr inbounds %struct.b2Vec2W, ptr %248, i32 0, i32 0
  %250 = load <4 x float>, ptr %249, align 16, !tbaa !19
  %251 = load ptr, ptr %15, align 8, !tbaa !9
  %252 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %251, i32 0, i32 3
  %253 = load <4 x float>, ptr %252, align 16, !tbaa !19
  %254 = load <4 x float>, ptr %31, align 16, !tbaa !19
  %255 = call <4 x float> @b2MulAddW(<4 x float> noundef %250, <4 x float> noundef %253, <4 x float> noundef %254)
  %256 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %257 = getelementptr inbounds %struct.b2Vec2W, ptr %256, i32 0, i32 0
  store <4 x float> %255, ptr %257, align 16, !tbaa !19
  %258 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %259 = getelementptr inbounds %struct.b2Vec2W, ptr %258, i32 0, i32 1
  %260 = load <4 x float>, ptr %259, align 16, !tbaa !19
  %261 = load ptr, ptr %15, align 8, !tbaa !9
  %262 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %261, i32 0, i32 3
  %263 = load <4 x float>, ptr %262, align 16, !tbaa !19
  %264 = load <4 x float>, ptr %32, align 16, !tbaa !19
  %265 = call <4 x float> @b2MulAddW(<4 x float> noundef %260, <4 x float> noundef %263, <4 x float> noundef %264)
  %266 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %267 = getelementptr inbounds %struct.b2Vec2W, ptr %266, i32 0, i32 1
  store <4 x float> %265, ptr %267, align 16, !tbaa !19
  %268 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  %269 = load <4 x float>, ptr %268, align 16, !tbaa !19
  %270 = load ptr, ptr %15, align 8, !tbaa !9
  %271 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %270, i32 0, i32 5
  %272 = load <4 x float>, ptr %271, align 16, !tbaa !19
  %273 = getelementptr inbounds %struct.b2Vec2W, ptr %24, i32 0, i32 0
  %274 = load <4 x float>, ptr %273, align 16, !tbaa !19
  %275 = load <4 x float>, ptr %32, align 16, !tbaa !19
  %276 = call <4 x float> @b2MulW(<4 x float> noundef %274, <4 x float> noundef %275)
  %277 = getelementptr inbounds %struct.b2Vec2W, ptr %24, i32 0, i32 1
  %278 = load <4 x float>, ptr %277, align 16, !tbaa !19
  %279 = load <4 x float>, ptr %31, align 16, !tbaa !19
  %280 = call <4 x float> @b2MulW(<4 x float> noundef %278, <4 x float> noundef %279)
  %281 = call <4 x float> @b2SubW(<4 x float> noundef %276, <4 x float> noundef %280)
  %282 = call <4 x float> @b2MulAddW(<4 x float> noundef %269, <4 x float> noundef %272, <4 x float> noundef %281)
  %283 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  store <4 x float> %282, ptr %283, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #4
  %284 = load ptr, ptr %15, align 8, !tbaa !9
  %285 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %284, i32 0, i32 33
  %286 = load <4 x float>, ptr %285, align 16, !tbaa !19
  %287 = load <4 x float>, ptr %11, align 16, !tbaa !19
  %288 = call <4 x float> @b2AddW(<4 x float> noundef %286, <4 x float> noundef %287)
  %289 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %290 = call <4 x float> @b2GreaterThanW(<4 x float> noundef %288, <4 x float> noundef %289)
  store <4 x float> %290, ptr %33, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #4
  %291 = load ptr, ptr %15, align 8, !tbaa !9
  %292 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %291, i32 0, i32 27
  %293 = load <4 x float>, ptr %292, align 16, !tbaa !19
  %294 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %295 = call <4 x float> @b2EqualsW(<4 x float> noundef %293, <4 x float> noundef %294)
  store <4 x float> %295, ptr %34, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #4
  %296 = load <4 x float>, ptr %33, align 16, !tbaa !19
  %297 = load <4 x float>, ptr %34, align 16, !tbaa !19
  %298 = call <4 x float> @b2OrW(<4 x float> noundef %296, <4 x float> noundef %297)
  %299 = load <4 x float>, ptr %16, align 16, !tbaa !19
  %300 = call <4 x float> @b2OrW(<4 x float> noundef %298, <4 x float> noundef %299)
  store <4 x float> %300, ptr %35, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #4
  %301 = load ptr, ptr %15, align 8, !tbaa !9
  %302 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %301, i32 0, i32 29
  %303 = load <4 x float>, ptr %302, align 16, !tbaa !19
  %304 = load <4 x float>, ptr %12, align 16, !tbaa !19
  %305 = load <4 x float>, ptr %35, align 16, !tbaa !19
  %306 = call <4 x float> @b2BlendW(<4 x float> noundef %303, <4 x float> noundef %304, <4 x float> noundef %305)
  store <4 x float> %306, ptr %36, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #4
  %307 = load ptr, ptr %15, align 8, !tbaa !9
  %308 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %307, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %308, i64 32, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #4
  %309 = load ptr, ptr %15, align 8, !tbaa !9
  %310 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %309, i32 0, i32 24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %310, i64 32, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #4
  %311 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %312 = getelementptr inbounds %struct.b2Vec2W, ptr %311, i32 0, i32 0
  %313 = load <4 x float>, ptr %312, align 16, !tbaa !19
  %314 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  %315 = load <4 x float>, ptr %314, align 16, !tbaa !19
  %316 = getelementptr inbounds %struct.b2Vec2W, ptr %38, i32 0, i32 1
  %317 = load <4 x float>, ptr %316, align 16, !tbaa !19
  %318 = call <4 x float> @b2MulW(<4 x float> noundef %315, <4 x float> noundef %317)
  %319 = call <4 x float> @b2SubW(<4 x float> noundef %313, <4 x float> noundef %318)
  %320 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %321 = getelementptr inbounds %struct.b2Vec2W, ptr %320, i32 0, i32 0
  %322 = load <4 x float>, ptr %321, align 16, !tbaa !19
  %323 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  %324 = load <4 x float>, ptr %323, align 16, !tbaa !19
  %325 = getelementptr inbounds %struct.b2Vec2W, ptr %37, i32 0, i32 1
  %326 = load <4 x float>, ptr %325, align 16, !tbaa !19
  %327 = call <4 x float> @b2MulW(<4 x float> noundef %324, <4 x float> noundef %326)
  %328 = call <4 x float> @b2SubW(<4 x float> noundef %322, <4 x float> noundef %327)
  %329 = call <4 x float> @b2SubW(<4 x float> noundef %319, <4 x float> noundef %328)
  store <4 x float> %329, ptr %39, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #4
  %330 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %331 = getelementptr inbounds %struct.b2Vec2W, ptr %330, i32 0, i32 1
  %332 = load <4 x float>, ptr %331, align 16, !tbaa !19
  %333 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  %334 = load <4 x float>, ptr %333, align 16, !tbaa !19
  %335 = getelementptr inbounds %struct.b2Vec2W, ptr %38, i32 0, i32 0
  %336 = load <4 x float>, ptr %335, align 16, !tbaa !19
  %337 = call <4 x float> @b2MulW(<4 x float> noundef %334, <4 x float> noundef %336)
  %338 = call <4 x float> @b2AddW(<4 x float> noundef %332, <4 x float> noundef %337)
  %339 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %340 = getelementptr inbounds %struct.b2Vec2W, ptr %339, i32 0, i32 1
  %341 = load <4 x float>, ptr %340, align 16, !tbaa !19
  %342 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  %343 = load <4 x float>, ptr %342, align 16, !tbaa !19
  %344 = getelementptr inbounds %struct.b2Vec2W, ptr %37, i32 0, i32 0
  %345 = load <4 x float>, ptr %344, align 16, !tbaa !19
  %346 = call <4 x float> @b2MulW(<4 x float> noundef %343, <4 x float> noundef %345)
  %347 = call <4 x float> @b2AddW(<4 x float> noundef %341, <4 x float> noundef %346)
  %348 = call <4 x float> @b2SubW(<4 x float> noundef %338, <4 x float> noundef %347)
  store <4 x float> %348, ptr %40, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #4
  %349 = load <4 x float>, ptr %39, align 16, !tbaa !19
  %350 = load ptr, ptr %15, align 8, !tbaa !9
  %351 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %350, i32 0, i32 6
  %352 = getelementptr inbounds %struct.b2Vec2W, ptr %351, i32 0, i32 0
  %353 = load <4 x float>, ptr %352, align 16, !tbaa !19
  %354 = call <4 x float> @b2MulW(<4 x float> noundef %349, <4 x float> noundef %353)
  %355 = load <4 x float>, ptr %40, align 16, !tbaa !19
  %356 = load ptr, ptr %15, align 8, !tbaa !9
  %357 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %356, i32 0, i32 6
  %358 = getelementptr inbounds %struct.b2Vec2W, ptr %357, i32 0, i32 1
  %359 = load <4 x float>, ptr %358, align 16, !tbaa !19
  %360 = call <4 x float> @b2MulW(<4 x float> noundef %355, <4 x float> noundef %359)
  %361 = call <4 x float> @b2AddW(<4 x float> noundef %354, <4 x float> noundef %360)
  store <4 x float> %361, ptr %41, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #4
  %362 = load <4 x float>, ptr %36, align 16, !tbaa !19
  %363 = load <4 x float>, ptr %41, align 16, !tbaa !19
  %364 = load ptr, ptr %15, align 8, !tbaa !9
  %365 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %364, i32 0, i32 31
  %366 = load <4 x float>, ptr %365, align 16, !tbaa !19
  %367 = load ptr, ptr %15, align 8, !tbaa !9
  %368 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %367, i32 0, i32 33
  %369 = load <4 x float>, ptr %368, align 16, !tbaa !19
  %370 = call <4 x float> @b2MulW(<4 x float> noundef %366, <4 x float> noundef %369)
  %371 = call <4 x float> @b2AddW(<4 x float> noundef %363, <4 x float> noundef %370)
  %372 = call <4 x float> @b2MulW(<4 x float> noundef %362, <4 x float> noundef %371)
  store <4 x float> %372, ptr %42, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #4
  %373 = load ptr, ptr %15, align 8, !tbaa !9
  %374 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %373, i32 0, i32 26
  %375 = load <4 x float>, ptr %374, align 16, !tbaa !19
  %376 = load <4 x float>, ptr %42, align 16, !tbaa !19
  %377 = call <4 x float> @b2SubW(<4 x float> noundef %375, <4 x float> noundef %376)
  %378 = call <4 x float> @b2ZeroW()
  %379 = call <4 x float> @b2MaxW(<4 x float> noundef %377, <4 x float> noundef %378)
  store <4 x float> %379, ptr %43, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #4
  %380 = load <4 x float>, ptr %43, align 16, !tbaa !19
  %381 = load ptr, ptr %15, align 8, !tbaa !9
  %382 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %381, i32 0, i32 26
  %383 = load <4 x float>, ptr %382, align 16, !tbaa !19
  %384 = call <4 x float> @b2SubW(<4 x float> noundef %380, <4 x float> noundef %383)
  store <4 x float> %384, ptr %44, align 16, !tbaa !19
  %385 = load <4 x float>, ptr %43, align 16, !tbaa !19
  %386 = load ptr, ptr %15, align 8, !tbaa !9
  %387 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %386, i32 0, i32 26
  store <4 x float> %385, ptr %387, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #4
  %388 = load <4 x float>, ptr %44, align 16, !tbaa !19
  %389 = load ptr, ptr %15, align 8, !tbaa !9
  %390 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %389, i32 0, i32 6
  %391 = getelementptr inbounds %struct.b2Vec2W, ptr %390, i32 0, i32 0
  %392 = load <4 x float>, ptr %391, align 16, !tbaa !19
  %393 = call <4 x float> @b2MulW(<4 x float> noundef %388, <4 x float> noundef %392)
  store <4 x float> %393, ptr %45, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #4
  %394 = load <4 x float>, ptr %44, align 16, !tbaa !19
  %395 = load ptr, ptr %15, align 8, !tbaa !9
  %396 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %395, i32 0, i32 6
  %397 = getelementptr inbounds %struct.b2Vec2W, ptr %396, i32 0, i32 1
  %398 = load <4 x float>, ptr %397, align 16, !tbaa !19
  %399 = call <4 x float> @b2MulW(<4 x float> noundef %394, <4 x float> noundef %398)
  store <4 x float> %399, ptr %46, align 16, !tbaa !19
  %400 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %401 = getelementptr inbounds %struct.b2Vec2W, ptr %400, i32 0, i32 0
  %402 = load <4 x float>, ptr %401, align 16, !tbaa !19
  %403 = load ptr, ptr %15, align 8, !tbaa !9
  %404 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %403, i32 0, i32 2
  %405 = load <4 x float>, ptr %404, align 16, !tbaa !19
  %406 = load <4 x float>, ptr %45, align 16, !tbaa !19
  %407 = call <4 x float> @b2MulSubW(<4 x float> noundef %402, <4 x float> noundef %405, <4 x float> noundef %406)
  %408 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %409 = getelementptr inbounds %struct.b2Vec2W, ptr %408, i32 0, i32 0
  store <4 x float> %407, ptr %409, align 16, !tbaa !19
  %410 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %411 = getelementptr inbounds %struct.b2Vec2W, ptr %410, i32 0, i32 1
  %412 = load <4 x float>, ptr %411, align 16, !tbaa !19
  %413 = load ptr, ptr %15, align 8, !tbaa !9
  %414 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %413, i32 0, i32 2
  %415 = load <4 x float>, ptr %414, align 16, !tbaa !19
  %416 = load <4 x float>, ptr %46, align 16, !tbaa !19
  %417 = call <4 x float> @b2MulSubW(<4 x float> noundef %412, <4 x float> noundef %415, <4 x float> noundef %416)
  %418 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 0
  %419 = getelementptr inbounds %struct.b2Vec2W, ptr %418, i32 0, i32 1
  store <4 x float> %417, ptr %419, align 16, !tbaa !19
  %420 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  %421 = load <4 x float>, ptr %420, align 16, !tbaa !19
  %422 = load ptr, ptr %15, align 8, !tbaa !9
  %423 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %422, i32 0, i32 4
  %424 = load <4 x float>, ptr %423, align 16, !tbaa !19
  %425 = getelementptr inbounds %struct.b2Vec2W, ptr %37, i32 0, i32 0
  %426 = load <4 x float>, ptr %425, align 16, !tbaa !19
  %427 = load <4 x float>, ptr %46, align 16, !tbaa !19
  %428 = call <4 x float> @b2MulW(<4 x float> noundef %426, <4 x float> noundef %427)
  %429 = getelementptr inbounds %struct.b2Vec2W, ptr %37, i32 0, i32 1
  %430 = load <4 x float>, ptr %429, align 16, !tbaa !19
  %431 = load <4 x float>, ptr %45, align 16, !tbaa !19
  %432 = call <4 x float> @b2MulW(<4 x float> noundef %430, <4 x float> noundef %431)
  %433 = call <4 x float> @b2SubW(<4 x float> noundef %428, <4 x float> noundef %432)
  %434 = call <4 x float> @b2MulSubW(<4 x float> noundef %421, <4 x float> noundef %424, <4 x float> noundef %433)
  %435 = getelementptr inbounds %struct.b2BodyStateW, ptr %17, i32 0, i32 1
  store <4 x float> %434, ptr %435, align 16, !tbaa !19
  %436 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %437 = getelementptr inbounds %struct.b2Vec2W, ptr %436, i32 0, i32 0
  %438 = load <4 x float>, ptr %437, align 16, !tbaa !19
  %439 = load ptr, ptr %15, align 8, !tbaa !9
  %440 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %439, i32 0, i32 3
  %441 = load <4 x float>, ptr %440, align 16, !tbaa !19
  %442 = load <4 x float>, ptr %45, align 16, !tbaa !19
  %443 = call <4 x float> @b2MulAddW(<4 x float> noundef %438, <4 x float> noundef %441, <4 x float> noundef %442)
  %444 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %445 = getelementptr inbounds %struct.b2Vec2W, ptr %444, i32 0, i32 0
  store <4 x float> %443, ptr %445, align 16, !tbaa !19
  %446 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %447 = getelementptr inbounds %struct.b2Vec2W, ptr %446, i32 0, i32 1
  %448 = load <4 x float>, ptr %447, align 16, !tbaa !19
  %449 = load ptr, ptr %15, align 8, !tbaa !9
  %450 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %449, i32 0, i32 3
  %451 = load <4 x float>, ptr %450, align 16, !tbaa !19
  %452 = load <4 x float>, ptr %46, align 16, !tbaa !19
  %453 = call <4 x float> @b2MulAddW(<4 x float> noundef %448, <4 x float> noundef %451, <4 x float> noundef %452)
  %454 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 0
  %455 = getelementptr inbounds %struct.b2Vec2W, ptr %454, i32 0, i32 1
  store <4 x float> %453, ptr %455, align 16, !tbaa !19
  %456 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  %457 = load <4 x float>, ptr %456, align 16, !tbaa !19
  %458 = load ptr, ptr %15, align 8, !tbaa !9
  %459 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %458, i32 0, i32 5
  %460 = load <4 x float>, ptr %459, align 16, !tbaa !19
  %461 = getelementptr inbounds %struct.b2Vec2W, ptr %38, i32 0, i32 0
  %462 = load <4 x float>, ptr %461, align 16, !tbaa !19
  %463 = load <4 x float>, ptr %46, align 16, !tbaa !19
  %464 = call <4 x float> @b2MulW(<4 x float> noundef %462, <4 x float> noundef %463)
  %465 = getelementptr inbounds %struct.b2Vec2W, ptr %38, i32 0, i32 1
  %466 = load <4 x float>, ptr %465, align 16, !tbaa !19
  %467 = load <4 x float>, ptr %45, align 16, !tbaa !19
  %468 = call <4 x float> @b2MulW(<4 x float> noundef %466, <4 x float> noundef %467)
  %469 = call <4 x float> @b2SubW(<4 x float> noundef %464, <4 x float> noundef %468)
  %470 = call <4 x float> @b2MulAddW(<4 x float> noundef %457, <4 x float> noundef %460, <4 x float> noundef %469)
  %471 = getelementptr inbounds %struct.b2BodyStateW, ptr %18, i32 0, i32 1
  store <4 x float> %470, ptr %471, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #4
  %472 = load ptr, ptr %9, align 8, !tbaa !9
  %473 = load ptr, ptr %15, align 8, !tbaa !9
  %474 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %473, i32 0, i32 0
  %475 = getelementptr inbounds [4 x i32], ptr %474, i64 0, i64 0
  call void @b2ScatterBodies(ptr noundef %472, ptr noundef %475, ptr noundef %17)
  %476 = load ptr, ptr %9, align 8, !tbaa !9
  %477 = load ptr, ptr %15, align 8, !tbaa !9
  %478 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %477, i32 0, i32 1
  %479 = getelementptr inbounds [4 x i32], ptr %478, i64 0, i64 0
  call void @b2ScatterBodies(ptr noundef %476, ptr noundef %479, ptr noundef %18)
  call void @llvm.lifetime.end.p0(i64 128, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  store i32 0, ptr %14, align 4
  br label %480

480:                                              ; preds = %82, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  %481 = load i32, ptr %14, align 4
  switch i32 %481, label %487 [
    i32 0, label %482
    i32 4, label %483
  ]

482:                                              ; preds = %480
  br label %483

483:                                              ; preds = %482, %480
  %484 = load i32, ptr %13, align 4, !tbaa !5
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr %13, align 4, !tbaa !5
  br label %67, !llvm.loop !35

486:                                              ; preds = %71
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void

487:                                              ; preds = %480
  unreachable
}

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

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

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

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 = !{!12, !10, i64 64}
!21 = !{!22, !13, i64 1560}
!22 = !{!"b2World", !23, i64 0, !25, i64 40, !27, i64 336, !28, i64 1008, !24, i64 1032, !28, i64 1048, !24, i64 1072, !28, i64 1088, !24, i64 1112, !28, i64 1128, !24, i64 1152, !28, i64 1168, !24, i64 1192, !28, i64 1208, !28, i64 1232, !24, i64 1256, !24, i64 1272, !24, i64 1288, !24, i64 1304, !24, i64 1320, !24, i64 1336, !24, i64 1352, !24, i64 1368, !7, i64 1384, !7, i64 1416, !6, i64 1448, !24, i64 1456, !29, i64 1472, !29, i64 1488, !29, i64 1504, !29, i64 1520, !30, i64 1536, !6, i64 1544, !31, i64 1548, !13, i64 1556, !13, i64 1560, !13, i64 1564, !13, i64 1568, !13, i64 1572, !13, i64 1576, !13, i64 1580, !13, i64 1584, !10, i64 1592, !10, i64 1600, !32, i64 1608, !33, i64 1612, !10, i64 1704, !10, i64 1712, !10, i64 1720, !10, i64 1728, !6, i64 1736, !10, i64 1744, !10, i64 1752, !10, i64 1760, !10, i64 1768, !10, i64 1776, !13, i64 1784, !6, i64 1788, !6, i64 1792, !32, i64 1796, !16, i64 1798, !16, i64 1799, !16, i64 1800, !16, i64 1801, !16, i64 1802, !16, i64 1803}
!23 = !{!"b2ArenaAllocator", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !24, i64 24}
!24 = !{!"", !10, i64 0, !6, i64 8, !6, i64 12}
!25 = !{!"b2BroadPhase", !7, i64 0, !6, i64 216, !26, i64 224, !24, i64 240, !10, i64 256, !10, i64 264, !6, i64 272, !15, i64 276, !26, i64 280}
!26 = !{!"b2HashSet", !10, i64 0, !6, i64 8, !6, i64 12}
!27 = !{!"b2ConstraintGraph", !7, i64 0}
!28 = !{!"b2IdPool", !24, i64 0, !6, i64 16}
!29 = !{!"b2BitSet", !10, i64 0, !6, i64 8, !6, i64 12}
!30 = !{!"long", !7, i64 0}
!31 = !{!"b2Vec2", !13, i64 0, !13, i64 4}
!32 = !{!"short", !7, i64 0}
!33 = !{!"b2Profile", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84}
!34 = !{i64 0, i64 16, !19, i64 16, i64 16, !19}
!35 = distinct !{!35, !36}
!36 = !{!"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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @b2ApplyRestitutionTask(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = alloca %struct.b2BodyStateW, align 16
  %6 = alloca %struct.b2BodyStateW, align 16
  %7 = getelementptr inbounds i8, ptr %2, i64 80
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 72
  %10 = load ptr, ptr %9, align 8, !tbaa !16
  %11 = sext i32 %3 to i64
  %12 = getelementptr inbounds [12 x %struct.b2GraphColor], ptr %10, i64 0, i64 %11, i32 3
  %13 = load ptr, ptr %12, align 8, !tbaa !17
  %14 = getelementptr inbounds i8, ptr %2, i64 64
  %15 = load ptr, ptr %14, align 8, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %15, i64 1560
  %17 = load float, ptr %16, align 8, !tbaa !19
  %18 = tail call <4 x float> @b2SplatW(float noundef %17)
  %19 = tail call <4 x float> @b2ZeroW()
  %20 = icmp slt i32 %0, %1
  br i1 %20, label %.lr.ph, label %._crit_edge

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

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

26:                                               ; preds = %.lr.ph, %195
  %indvars.iv = phi i64 [ %25, %.lr.ph ], [ %indvars.iv.next, %195 ]
  %27 = getelementptr inbounds %struct.b2ContactConstraintSIMD, ptr %13, i64 %indvars.iv
  %28 = getelementptr inbounds i8, ptr %27, i64 576
  %29 = load <4 x float>, ptr %28, align 16, !tbaa !17
  %30 = call zeroext i1 @b2AllZeroW(<4 x float> noundef %29)
  br i1 %30, label %195, label %31

31:                                               ; preds = %26
  %32 = load <4 x float>, ptr %28, align 16, !tbaa !17
  %33 = call <4 x float> @b2EqualsW(<4 x float> noundef %32, <4 x float> noundef %19)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %5) #3
  call void @b2GatherBodies(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyStateW) align 16 %5, ptr noundef %8, ptr noundef nonnull %27)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #3
  %34 = getelementptr inbounds i8, ptr %27, i64 16
  call void @b2GatherBodies(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyStateW) align 16 %6, ptr noundef %8, ptr noundef nonnull %34)
  %35 = getelementptr inbounds i8, ptr %27, i64 592
  %36 = load <4 x float>, ptr %35, align 16, !tbaa !17
  %37 = call <4 x float> @b2AddW(<4 x float> noundef %36, <4 x float> noundef %18)
  %38 = call <4 x float> @b2GreaterThanW(<4 x float> noundef %37, <4 x float> noundef %19)
  %39 = getelementptr inbounds i8, ptr %27, i64 384
  %40 = load <4 x float>, ptr %39, align 16, !tbaa !17
  %41 = call <4 x float> @b2EqualsW(<4 x float> noundef %40, <4 x float> noundef %19)
  %42 = call <4 x float> @b2OrW(<4 x float> noundef %38, <4 x float> noundef %41)
  %43 = call <4 x float> @b2OrW(<4 x float> noundef %42, <4 x float> noundef %33)
  %44 = getelementptr inbounds i8, ptr %27, i64 320
  %45 = load <4 x float>, ptr %44, align 16, !tbaa !17
  %46 = call <4 x float> @b2BlendW(<4 x float> noundef %45, <4 x float> noundef %19, <4 x float> noundef %43)
  %47 = getelementptr inbounds i8, ptr %27, i64 256
  %.sroa.046.0.copyload = load <4 x float>, ptr %47, align 16, !tbaa !17
  %.sroa.548.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 272
  %.sroa.548.0.copyload = load <4 x float>, ptr %.sroa.548.0..sroa_idx, align 16, !tbaa !17
  %48 = getelementptr inbounds i8, ptr %27, i64 288
  %.sroa.042.0.copyload = load <4 x float>, ptr %48, align 16, !tbaa !17
  %.sroa.544.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 304
  %.sroa.544.0.copyload = load <4 x float>, ptr %.sroa.544.0..sroa_idx, align 16, !tbaa !17
  %49 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %50 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %51 = call <4 x float> @b2MulW(<4 x float> noundef %50, <4 x float> noundef %.sroa.544.0.copyload)
  %52 = call <4 x float> @b2SubW(<4 x float> noundef %49, <4 x float> noundef %51)
  %53 = load <4 x float>, ptr %5, align 16, !tbaa !17
  %54 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %55 = call <4 x float> @b2MulW(<4 x float> noundef %54, <4 x float> noundef %.sroa.548.0.copyload)
  %56 = call <4 x float> @b2SubW(<4 x float> noundef %53, <4 x float> noundef %55)
  %57 = call <4 x float> @b2SubW(<4 x float> noundef %52, <4 x float> noundef %56)
  %58 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %59 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %60 = call <4 x float> @b2MulW(<4 x float> noundef %59, <4 x float> noundef %.sroa.042.0.copyload)
  %61 = call <4 x float> @b2AddW(<4 x float> noundef %58, <4 x float> noundef %60)
  %62 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %63 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %64 = call <4 x float> @b2MulW(<4 x float> noundef %63, <4 x float> noundef %.sroa.046.0.copyload)
  %65 = call <4 x float> @b2AddW(<4 x float> noundef %62, <4 x float> noundef %64)
  %66 = call <4 x float> @b2SubW(<4 x float> noundef %61, <4 x float> noundef %65)
  %67 = getelementptr inbounds i8, ptr %27, i64 96
  %68 = load <4 x float>, ptr %67, align 16, !tbaa !17
  %69 = call <4 x float> @b2MulW(<4 x float> noundef %57, <4 x float> noundef %68)
  %70 = getelementptr inbounds i8, ptr %27, i64 112
  %71 = load <4 x float>, ptr %70, align 16, !tbaa !17
  %72 = call <4 x float> @b2MulW(<4 x float> noundef %66, <4 x float> noundef %71)
  %73 = call <4 x float> @b2AddW(<4 x float> noundef %69, <4 x float> noundef %72)
  %74 = load <4 x float>, ptr %28, align 16, !tbaa !17
  %75 = load <4 x float>, ptr %35, align 16, !tbaa !17
  %76 = call <4 x float> @b2MulW(<4 x float> noundef %74, <4 x float> noundef %75)
  %77 = call <4 x float> @b2AddW(<4 x float> noundef %73, <4 x float> noundef %76)
  %78 = call <4 x float> @b2MulW(<4 x float> noundef %46, <4 x float> noundef %77)
  %79 = getelementptr inbounds i8, ptr %27, i64 368
  %80 = load <4 x float>, ptr %79, align 16, !tbaa !17
  %81 = call <4 x float> @b2SubW(<4 x float> noundef %80, <4 x float> noundef %78)
  %82 = call <4 x float> @b2ZeroW()
  %83 = call <4 x float> @b2MaxW(<4 x float> noundef %81, <4 x float> noundef %82)
  %84 = load <4 x float>, ptr %79, align 16, !tbaa !17
  %85 = call <4 x float> @b2SubW(<4 x float> noundef %83, <4 x float> noundef %84)
  store <4 x float> %83, ptr %79, align 16, !tbaa !17
  %86 = load <4 x float>, ptr %67, align 16, !tbaa !17
  %87 = call <4 x float> @b2MulW(<4 x float> noundef %85, <4 x float> noundef %86)
  %88 = load <4 x float>, ptr %70, align 16, !tbaa !17
  %89 = call <4 x float> @b2MulW(<4 x float> noundef %85, <4 x float> noundef %88)
  %90 = load <4 x float>, ptr %5, align 16, !tbaa !17
  %91 = getelementptr inbounds i8, ptr %27, i64 32
  %92 = load <4 x float>, ptr %91, align 16, !tbaa !17
  %93 = call <4 x float> @b2MulSubW(<4 x float> noundef %90, <4 x float> noundef %92, <4 x float> noundef %87)
  store <4 x float> %93, ptr %5, align 16, !tbaa !17
  %94 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %95 = load <4 x float>, ptr %91, align 16, !tbaa !17
  %96 = call <4 x float> @b2MulSubW(<4 x float> noundef %94, <4 x float> noundef %95, <4 x float> noundef %89)
  store <4 x float> %96, ptr %24, align 16, !tbaa !17
  %97 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %98 = getelementptr inbounds i8, ptr %27, i64 64
  %99 = load <4 x float>, ptr %98, align 16, !tbaa !17
  %100 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.046.0.copyload, <4 x float> noundef %89)
  %101 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.548.0.copyload, <4 x float> noundef %87)
  %102 = call <4 x float> @b2SubW(<4 x float> noundef %100, <4 x float> noundef %101)
  %103 = call <4 x float> @b2MulSubW(<4 x float> noundef %97, <4 x float> noundef %99, <4 x float> noundef %102)
  store <4 x float> %103, ptr %22, align 16, !tbaa !17
  %104 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %105 = getelementptr inbounds i8, ptr %27, i64 48
  %106 = load <4 x float>, ptr %105, align 16, !tbaa !17
  %107 = call <4 x float> @b2MulAddW(<4 x float> noundef %104, <4 x float> noundef %106, <4 x float> noundef %87)
  store <4 x float> %107, ptr %6, align 16, !tbaa !17
  %108 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %109 = load <4 x float>, ptr %105, align 16, !tbaa !17
  %110 = call <4 x float> @b2MulAddW(<4 x float> noundef %108, <4 x float> noundef %109, <4 x float> noundef %89)
  store <4 x float> %110, ptr %23, align 16, !tbaa !17
  %111 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %112 = getelementptr inbounds i8, ptr %27, i64 80
  %113 = load <4 x float>, ptr %112, align 16, !tbaa !17
  %114 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.042.0.copyload, <4 x float> noundef %89)
  %115 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.544.0.copyload, <4 x float> noundef %87)
  %116 = call <4 x float> @b2SubW(<4 x float> noundef %114, <4 x float> noundef %115)
  %117 = call <4 x float> @b2MulAddW(<4 x float> noundef %111, <4 x float> noundef %113, <4 x float> noundef %116)
  store <4 x float> %117, ptr %21, align 16, !tbaa !17
  %118 = getelementptr inbounds i8, ptr %27, i64 608
  %119 = load <4 x float>, ptr %118, align 16, !tbaa !17
  %120 = call <4 x float> @b2AddW(<4 x float> noundef %119, <4 x float> noundef %18)
  %121 = call <4 x float> @b2GreaterThanW(<4 x float> noundef %120, <4 x float> noundef %19)
  %122 = getelementptr inbounds i8, ptr %27, i64 512
  %123 = load <4 x float>, ptr %122, align 16, !tbaa !17
  %124 = call <4 x float> @b2EqualsW(<4 x float> noundef %123, <4 x float> noundef %19)
  %125 = call <4 x float> @b2OrW(<4 x float> noundef %121, <4 x float> noundef %124)
  %126 = call <4 x float> @b2OrW(<4 x float> noundef %125, <4 x float> noundef %33)
  %127 = getelementptr inbounds i8, ptr %27, i64 544
  %128 = load <4 x float>, ptr %127, align 16, !tbaa !17
  %129 = call <4 x float> @b2BlendW(<4 x float> noundef %128, <4 x float> noundef %19, <4 x float> noundef %126)
  %130 = getelementptr inbounds i8, ptr %27, i64 416
  %.sroa.018.0.copyload = load <4 x float>, ptr %130, align 16, !tbaa !17
  %.sroa.520.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 432
  %.sroa.520.0.copyload = load <4 x float>, ptr %.sroa.520.0..sroa_idx, align 16, !tbaa !17
  %131 = getelementptr inbounds i8, ptr %27, i64 448
  %.sroa.0.0.copyload = load <4 x float>, ptr %131, align 16, !tbaa !17
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 464
  %.sroa.5.0.copyload = load <4 x float>, ptr %.sroa.5.0..sroa_idx, align 16, !tbaa !17
  %132 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %133 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %134 = call <4 x float> @b2MulW(<4 x float> noundef %133, <4 x float> noundef %.sroa.5.0.copyload)
  %135 = call <4 x float> @b2SubW(<4 x float> noundef %132, <4 x float> noundef %134)
  %136 = load <4 x float>, ptr %5, align 16, !tbaa !17
  %137 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %138 = call <4 x float> @b2MulW(<4 x float> noundef %137, <4 x float> noundef %.sroa.520.0.copyload)
  %139 = call <4 x float> @b2SubW(<4 x float> noundef %136, <4 x float> noundef %138)
  %140 = call <4 x float> @b2SubW(<4 x float> noundef %135, <4 x float> noundef %139)
  %141 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %142 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %143 = call <4 x float> @b2MulW(<4 x float> noundef %142, <4 x float> noundef %.sroa.0.0.copyload)
  %144 = call <4 x float> @b2AddW(<4 x float> noundef %141, <4 x float> noundef %143)
  %145 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %146 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %147 = call <4 x float> @b2MulW(<4 x float> noundef %146, <4 x float> noundef %.sroa.018.0.copyload)
  %148 = call <4 x float> @b2AddW(<4 x float> noundef %145, <4 x float> noundef %147)
  %149 = call <4 x float> @b2SubW(<4 x float> noundef %144, <4 x float> noundef %148)
  %150 = load <4 x float>, ptr %67, align 16, !tbaa !17
  %151 = call <4 x float> @b2MulW(<4 x float> noundef %140, <4 x float> noundef %150)
  %152 = load <4 x float>, ptr %70, align 16, !tbaa !17
  %153 = call <4 x float> @b2MulW(<4 x float> noundef %149, <4 x float> noundef %152)
  %154 = call <4 x float> @b2AddW(<4 x float> noundef %151, <4 x float> noundef %153)
  %155 = load <4 x float>, ptr %28, align 16, !tbaa !17
  %156 = load <4 x float>, ptr %118, align 16, !tbaa !17
  %157 = call <4 x float> @b2MulW(<4 x float> noundef %155, <4 x float> noundef %156)
  %158 = call <4 x float> @b2AddW(<4 x float> noundef %154, <4 x float> noundef %157)
  %159 = call <4 x float> @b2MulW(<4 x float> noundef %129, <4 x float> noundef %158)
  %160 = getelementptr inbounds i8, ptr %27, i64 496
  %161 = load <4 x float>, ptr %160, align 16, !tbaa !17
  %162 = call <4 x float> @b2SubW(<4 x float> noundef %161, <4 x float> noundef %159)
  %163 = call <4 x float> @b2ZeroW()
  %164 = call <4 x float> @b2MaxW(<4 x float> noundef %162, <4 x float> noundef %163)
  %165 = load <4 x float>, ptr %160, align 16, !tbaa !17
  %166 = call <4 x float> @b2SubW(<4 x float> noundef %164, <4 x float> noundef %165)
  store <4 x float> %164, ptr %160, align 16, !tbaa !17
  %167 = load <4 x float>, ptr %67, align 16, !tbaa !17
  %168 = call <4 x float> @b2MulW(<4 x float> noundef %166, <4 x float> noundef %167)
  %169 = load <4 x float>, ptr %70, align 16, !tbaa !17
  %170 = call <4 x float> @b2MulW(<4 x float> noundef %166, <4 x float> noundef %169)
  %171 = load <4 x float>, ptr %5, align 16, !tbaa !17
  %172 = load <4 x float>, ptr %91, align 16, !tbaa !17
  %173 = call <4 x float> @b2MulSubW(<4 x float> noundef %171, <4 x float> noundef %172, <4 x float> noundef %168)
  store <4 x float> %173, ptr %5, align 16, !tbaa !17
  %174 = load <4 x float>, ptr %24, align 16, !tbaa !17
  %175 = load <4 x float>, ptr %91, align 16, !tbaa !17
  %176 = call <4 x float> @b2MulSubW(<4 x float> noundef %174, <4 x float> noundef %175, <4 x float> noundef %170)
  store <4 x float> %176, ptr %24, align 16, !tbaa !17
  %177 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %178 = load <4 x float>, ptr %98, align 16, !tbaa !17
  %179 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.018.0.copyload, <4 x float> noundef %170)
  %180 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.520.0.copyload, <4 x float> noundef %168)
  %181 = call <4 x float> @b2SubW(<4 x float> noundef %179, <4 x float> noundef %180)
  %182 = call <4 x float> @b2MulSubW(<4 x float> noundef %177, <4 x float> noundef %178, <4 x float> noundef %181)
  store <4 x float> %182, ptr %22, align 16, !tbaa !17
  %183 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %184 = load <4 x float>, ptr %105, align 16, !tbaa !17
  %185 = call <4 x float> @b2MulAddW(<4 x float> noundef %183, <4 x float> noundef %184, <4 x float> noundef %168)
  store <4 x float> %185, ptr %6, align 16, !tbaa !17
  %186 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %187 = load <4 x float>, ptr %105, align 16, !tbaa !17
  %188 = call <4 x float> @b2MulAddW(<4 x float> noundef %186, <4 x float> noundef %187, <4 x float> noundef %170)
  store <4 x float> %188, ptr %23, align 16, !tbaa !17
  %189 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %190 = load <4 x float>, ptr %112, align 16, !tbaa !17
  %191 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.0.0.copyload, <4 x float> noundef %170)
  %192 = call <4 x float> @b2MulW(<4 x float> noundef %.sroa.5.0.copyload, <4 x float> noundef %168)
  %193 = call <4 x float> @b2SubW(<4 x float> noundef %191, <4 x float> noundef %192)
  %194 = call <4 x float> @b2MulAddW(<4 x float> noundef %189, <4 x float> noundef %190, <4 x float> noundef %193)
  store <4 x float> %194, ptr %21, align 16, !tbaa !17
  call void @b2ScatterBodies(ptr noundef %8, ptr noundef nonnull %27, ptr noundef nonnull %5)
  call void @b2ScatterBodies(ptr noundef %8, ptr noundef nonnull %34, ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #3
  br label %195

195:                                              ; preds = %26, %31
  %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 %26, !llvm.loop !32
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @b2AllZeroW(<4 x float> noundef) local_unnamed_addr #2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = !{!6, !12, i64 64}
!19 = !{!20, !7, i64 1560}
!20 = !{!"b2World", !21, i64 0, !23, i64 40, !25, i64 336, !26, i64 1008, !22, i64 1032, !26, i64 1048, !22, i64 1072, !26, i64 1088, !22, i64 1112, !26, i64 1128, !22, i64 1152, !26, i64 1168, !22, i64 1192, !26, i64 1208, !26, i64 1232, !22, i64 1256, !22, i64 1272, !22, i64 1288, !22, i64 1304, !22, i64 1320, !22, i64 1336, !22, i64 1352, !22, i64 1368, !8, i64 1384, !8, i64 1416, !10, i64 1448, !22, i64 1456, !27, i64 1472, !27, i64 1488, !27, i64 1504, !27, i64 1520, !28, i64 1536, !10, i64 1544, !29, i64 1548, !7, i64 1556, !7, i64 1560, !7, i64 1564, !7, i64 1568, !7, i64 1572, !7, i64 1576, !7, i64 1580, !7, i64 1584, !12, i64 1592, !12, i64 1600, !30, i64 1608, !31, i64 1612, !12, i64 1704, !12, i64 1712, !12, i64 1720, !12, i64 1728, !10, i64 1736, !12, i64 1744, !12, i64 1752, !12, i64 1760, !12, i64 1768, !12, i64 1776, !7, i64 1784, !10, i64 1788, !10, i64 1792, !30, i64 1796, !14, i64 1798, !14, i64 1799, !14, i64 1800, !14, i64 1801, !14, i64 1802, !14, i64 1803}
!21 = !{!"b2ArenaAllocator", !12, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !22, i64 24}
!22 = !{!"", !12, i64 0, !10, i64 8, !10, i64 12}
!23 = !{!"b2BroadPhase", !8, i64 0, !10, i64 216, !24, i64 224, !22, i64 240, !12, i64 256, !12, i64 264, !10, i64 272, !13, i64 276, !24, i64 280}
!24 = !{!"b2HashSet", !12, i64 0, !10, i64 8, !10, i64 12}
!25 = !{!"b2ConstraintGraph", !8, i64 0}
!26 = !{!"b2IdPool", !22, i64 0, !10, i64 16}
!27 = !{!"b2BitSet", !12, i64 0, !10, i64 8, !10, i64 12}
!28 = !{!"long", !8, i64 0}
!29 = !{!"b2Vec2", !7, i64 0, !7, i64 4}
!30 = !{!"short", !8, i64 0}
!31 = !{!"b2Profile", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


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