; 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.b2BodyState = type { %struct.b2Vec2, float, i32, %struct.b2Vec2, %struct.b2Rot }
%struct.b2Vec2 = type { float, float }
%struct.b2Rot = type { float, 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.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.b2SolverSet = type { %struct.b2BodySimArray, %struct.b2BodyStateArray, %struct.b2JointSimArray, %struct.b2ContactSimArray, %struct.b2IslandSimArray, i32 }
%struct.b2BodySimArray = type { ptr, i32, i32 }
%struct.b2BodyStateArray = type { ptr, i32, i32 }
%struct.b2IslandSimArray = type { ptr, i32, i32 }
%struct.b2ContactConstraint = type { i32, i32, [2 x %struct.b2ContactConstraintPoint], %struct.b2Vec2, float, float, float, float, float, float, float, float, float, float, %struct.b2Softness, i32 }
%struct.b2ContactConstraintPoint = type { %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, float, float, float }

@__const.b2WarmStartOverflowContacts.dummyState = external hidden unnamed_addr constant %struct.b2BodyState, align 4

; 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: inlinehint nounwind uwtable
declare hidden <2 x float> @b2RightPerp(<2 x float>) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @b2Cross(<2 x float>, <2 x float>) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2Add(<2 x float>, <2 x float>) #2

; Function Attrs: nounwind uwtable
define dso_local void @b2WarmStartOverflowContacts(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.b2BodyState, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %struct.b2Vec2, align 4
  %19 = alloca float, align 4
  %20 = alloca %struct.b2Vec2, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca %struct.b2Vec2, align 4
  %27 = alloca %struct.b2Vec2, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca %struct.b2Vec2, align 4
  %32 = alloca %struct.b2Vec2, align 4
  %33 = alloca %struct.b2Vec2, align 4
  %34 = alloca %struct.b2Vec2, align 4
  %35 = alloca %struct.b2Vec2, align 4
  %36 = alloca %struct.b2Vec2, align 4
  %37 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.b2StepContext, ptr %38, i32 0, i32 11
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  store ptr %40, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.b2ConstraintGraph, ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds [12 x %struct.b2GraphColor], ptr %42, i64 0, i64 0
  %44 = getelementptr inbounds %struct.b2GraphColor, ptr %43, i64 11
  store ptr %44, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.b2GraphColor, ptr %45, i32 0, i32 3
  %47 = load ptr, ptr %46, align 8, !tbaa !17
  store ptr %47, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.b2GraphColor, ptr %48, i32 0, i32 1
  %50 = getelementptr inbounds %struct.b2ContactSimArray, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 8, !tbaa !18
  store i32 %51, ptr %6, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.b2StepContext, ptr %52, i32 0, i32 10
  %54 = load ptr, ptr %53, align 8, !tbaa !23
  store ptr %54, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.b2World, ptr %55, i32 0, i32 6
  %57 = call ptr @b2SolverSetArray_Get(ptr noundef %56, i32 noundef 2)
  store ptr %57, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.b2SolverSet, ptr %58, i32 0, i32 1
  %60 = getelementptr inbounds %struct.b2BodyStateArray, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !24
  store ptr %61, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 @__const.b2WarmStartOverflowContacts.dummyState, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !22
  br label %62

62:                                               ; preds = %207, %1
  %63 = load i32, ptr %11, align 4, !tbaa !22
  %64 = load i32, ptr %6, align 4, !tbaa !22
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %210

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load i32, ptr %11, align 4, !tbaa !22
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %struct.b2ContactConstraint, ptr %68, i64 %70
  store ptr %71, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.b2ContactConstraint, ptr %72, i32 0, i32 0
  %74 = load i32, ptr %73, align 4, !tbaa !26
  store i32 %74, ptr %14, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.b2ContactConstraint, ptr %75, i32 0, i32 1
  %77 = load i32, ptr %76, align 4, !tbaa !29
  store i32 %77, ptr %15, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %78 = load i32, ptr %14, align 4, !tbaa !22
  %79 = icmp eq i32 %78, -1
  br i1 %79, label %80, label %81

80:                                               ; preds = %67
  br label %86

81:                                               ; preds = %67
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i32, ptr %14, align 4, !tbaa !22
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds %struct.b2BodyState, ptr %82, i64 %84
  br label %86

86:                                               ; preds = %81, %80
  %87 = phi ptr [ %10, %80 ], [ %85, %81 ]
  store ptr %87, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %88 = load i32, ptr %15, align 4, !tbaa !22
  %89 = icmp eq i32 %88, -1
  br i1 %89, label %90, label %91

90:                                               ; preds = %86
  br label %96

91:                                               ; preds = %86
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = load i32, ptr %15, align 4, !tbaa !22
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds %struct.b2BodyState, ptr %92, i64 %94
  br label %96

96:                                               ; preds = %91, %90
  %97 = phi ptr [ %10, %90 ], [ %95, %91 ]
  store ptr %97, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.b2BodyState, ptr %98, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %99, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.b2BodyState, ptr %100, i32 0, i32 1
  %102 = load float, ptr %101, align 4, !tbaa !32
  store float %102, ptr %19, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.b2BodyState, ptr %103, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %104, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.b2BodyState, ptr %105, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !32
  store float %107, ptr %21, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.b2ContactConstraint, ptr %108, i32 0, i32 4
  %110 = load float, ptr %109, align 4, !tbaa !35
  store float %110, ptr %22, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.b2ContactConstraint, ptr %111, i32 0, i32 6
  %113 = load float, ptr %112, align 4, !tbaa !36
  store float %113, ptr %23, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.b2ContactConstraint, ptr %114, i32 0, i32 5
  %116 = load float, ptr %115, align 4, !tbaa !37
  store float %116, ptr %24, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %117 = load ptr, ptr %13, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.b2ContactConstraint, ptr %117, i32 0, i32 7
  %119 = load float, ptr %118, align 4, !tbaa !38
  store float %119, ptr %25, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.b2ContactConstraint, ptr %120, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %121, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.b2ContactConstraint, ptr %122, i32 0, i32 3
  %124 = load <2 x float>, ptr %123, align 4
  %125 = call <2 x float> @b2RightPerp(<2 x float> %124)
  store <2 x float> %125, ptr %27, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.b2ContactConstraint, ptr %126, i32 0, i32 15
  %128 = load i32, ptr %127, align 4, !tbaa !39
  store i32 %128, ptr %28, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !22
  br label %129

129:                                              ; preds = %180, %96
  %130 = load i32, ptr %29, align 4, !tbaa !22
  %131 = load i32, ptr %28, align 4, !tbaa !22
  %132 = icmp slt i32 %130, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %129
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %183

134:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.b2ContactConstraint, ptr %135, i32 0, i32 2
  %137 = getelementptr inbounds [2 x %struct.b2ContactConstraintPoint], ptr %136, i64 0, i64 0
  %138 = load i32, ptr %29, align 4, !tbaa !22
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds %struct.b2ContactConstraintPoint, ptr %137, i64 %139
  store ptr %140, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %141 = load ptr, ptr %30, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.b2ContactConstraintPoint, ptr %141, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %142, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %143 = load ptr, ptr %30, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.b2ContactConstraintPoint, ptr %143, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %144, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %145 = load ptr, ptr %30, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.b2ContactConstraintPoint, ptr %145, i32 0, i32 4
  %147 = load float, ptr %146, align 4, !tbaa !40
  %148 = load <2 x float>, ptr %26, align 4
  %149 = call <2 x float> @b2MulSV(float noundef %147, <2 x float> %148)
  store <2 x float> %149, ptr %34, align 4
  %150 = load ptr, ptr %30, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.b2ContactConstraintPoint, ptr %150, i32 0, i32 5
  %152 = load float, ptr %151, align 4, !tbaa !42
  %153 = load <2 x float>, ptr %27, align 4
  %154 = call <2 x float> @b2MulSV(float noundef %152, <2 x float> %153)
  store <2 x float> %154, ptr %35, align 4
  %155 = load <2 x float>, ptr %34, align 4
  %156 = load <2 x float>, ptr %35, align 4
  %157 = call <2 x float> @b2Add(<2 x float> %155, <2 x float> %156)
  store <2 x float> %157, ptr %33, align 4
  %158 = load float, ptr %23, align 4, !tbaa !31
  %159 = load <2 x float>, ptr %31, align 4
  %160 = load <2 x float>, ptr %33, align 4
  %161 = call float @b2Cross(<2 x float> %159, <2 x float> %160)
  %162 = load float, ptr %19, align 4, !tbaa !31
  %163 = fneg float %158
  %164 = call float @llvm.fmuladd.f32(float %163, float %161, float %162)
  store float %164, ptr %19, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %165 = load float, ptr %22, align 4, !tbaa !31
  %166 = fneg float %165
  %167 = load <2 x float>, ptr %18, align 4
  %168 = load <2 x float>, ptr %33, align 4
  %169 = call <2 x float> @b2MulAdd(<2 x float> %167, float noundef %166, <2 x float> %168)
  store <2 x float> %169, ptr %36, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  %170 = load float, ptr %25, align 4, !tbaa !31
  %171 = load <2 x float>, ptr %32, align 4
  %172 = load <2 x float>, ptr %33, align 4
  %173 = call float @b2Cross(<2 x float> %171, <2 x float> %172)
  %174 = load float, ptr %21, align 4, !tbaa !31
  %175 = call float @llvm.fmuladd.f32(float %170, float %173, float %174)
  store float %175, ptr %21, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %176 = load float, ptr %24, align 4, !tbaa !31
  %177 = load <2 x float>, ptr %20, align 4
  %178 = load <2 x float>, ptr %33, align 4
  %179 = call <2 x float> @b2MulAdd(<2 x float> %177, float noundef %176, <2 x float> %178)
  store <2 x float> %179, ptr %37, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %180

180:                                              ; preds = %134
  %181 = load i32, ptr %29, align 4, !tbaa !22
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %29, align 4, !tbaa !22
  br label %129, !llvm.loop !43

183:                                              ; preds = %133
  %184 = load float, ptr %23, align 4, !tbaa !31
  %185 = load ptr, ptr %13, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.b2ContactConstraint, ptr %185, i32 0, i32 13
  %187 = load float, ptr %186, align 4, !tbaa !45
  %188 = load float, ptr %19, align 4, !tbaa !31
  %189 = fneg float %184
  %190 = call float @llvm.fmuladd.f32(float %189, float %187, float %188)
  store float %190, ptr %19, align 4, !tbaa !31
  %191 = load float, ptr %25, align 4, !tbaa !31
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.b2ContactConstraint, ptr %192, i32 0, i32 13
  %194 = load float, ptr %193, align 4, !tbaa !45
  %195 = load float, ptr %21, align 4, !tbaa !31
  %196 = call float @llvm.fmuladd.f32(float %191, float %194, float %195)
  store float %196, ptr %21, align 4, !tbaa !31
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.b2BodyState, ptr %197, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %198, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !30
  %199 = load float, ptr %19, align 4, !tbaa !31
  %200 = load ptr, ptr %16, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.b2BodyState, ptr %200, i32 0, i32 1
  store float %199, ptr %201, align 4, !tbaa !32
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.b2BodyState, ptr %202, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %203, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !30
  %204 = load float, ptr %21, align 4, !tbaa !31
  %205 = load ptr, ptr %17, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.b2BodyState, ptr %205, i32 0, i32 1
  store float %204, ptr %206, align 4, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %207

207:                                              ; preds = %183
  %208 = load i32, ptr %11, align 4, !tbaa !22
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %11, align 4, !tbaa !22
  br label %62, !llvm.loop !46

210:                                              ; preds = %66
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @b2SolverSetArray_Get(ptr noundef, i32 noundef) #5

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 72}
!10 = !{!"b2StepContext", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !13, i64 20, !13, i64 32, !13, i64 44, !11, i64 56, !11, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !12, i64 104, !6, i64 112, !14, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !12, i64 152, !12, i64 156, !6, i64 160, !12, i64 168, !15, i64 172, !7, i64 173, !16, i64 240, !7, i64 244}
!11 = !{!"float", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"b2Softness", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!"b2AtomicInt", !12, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"b2AtomicU32", !12, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !12, i64 24}
!19 = !{!"b2GraphColor", !20, i64 0, !21, i64 16, !21, i64 32, !7, i64 48}
!20 = !{!"b2BitSet", !6, i64 0, !12, i64 8, !12, i64 12}
!21 = !{!"", !6, i64 0, !12, i64 8, !12, i64 12}
!22 = !{!12, !12, i64 0}
!23 = !{!10, !6, i64 64}
!24 = !{!25, !6, i64 16}
!25 = !{!"b2SolverSet", !21, i64 0, !21, i64 16, !21, i64 32, !21, i64 48, !21, i64 64, !12, i64 80}
!26 = !{!27, !12, i64 0}
!27 = !{!"b2ContactConstraint", !12, i64 0, !12, i64 4, !7, i64 8, !28, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !13, i64 144, !12, i64 156}
!28 = !{!"b2Vec2", !11, i64 0, !11, i64 4}
!29 = !{!27, !12, i64 4}
!30 = !{i64 0, i64 4, !31, i64 4, i64 4, !31}
!31 = !{!11, !11, i64 0}
!32 = !{!33, !11, i64 8}
!33 = !{!"b2BodyState", !28, i64 0, !11, i64 8, !12, i64 12, !28, i64 16, !34, i64 24}
!34 = !{!"b2Rot", !11, i64 0, !11, i64 4}
!35 = !{!27, !11, i64 104}
!36 = !{!27, !11, i64 112}
!37 = !{!27, !11, i64 108}
!38 = !{!27, !11, i64 116}
!39 = !{!27, !12, i64 156}
!40 = !{!41, !11, i64 24}
!41 = !{!"b2ContactConstraintPoint", !28, i64 0, !28, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40}
!42 = !{!41, !11, i64 28}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!27, !11, i64 140}
!46 = distinct !{!46, !44}


; 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.b2BodyState = type { %struct.b2Vec2, float, i32, %struct.b2Vec2, %struct.b2Rot }
%struct.b2Vec2 = type { float, float }
%struct.b2Rot = type { float, float }
%struct.b2ContactConstraint = type { i32, i32, [2 x %struct.b2ContactConstraintPoint], %struct.b2Vec2, float, float, float, float, float, float, float, float, float, float, %struct.b2Softness, i32 }
%struct.b2ContactConstraintPoint = type { %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, float, float, float }
%struct.b2Softness = type { float, float, float }

@__const.b2WarmStartOverflowContacts.dummyState = external hidden unnamed_addr constant %struct.b2BodyState, align 4

; 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: inlinehint nounwind uwtable
declare hidden <2 x float> @b2RightPerp(<2 x float>) local_unnamed_addr #1

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @b2WarmStartOverflowContacts(ptr nocapture noundef readonly %0) local_unnamed_addr #3 {
  %.sroa.0 = alloca %struct.b2Vec2, align 8
  %2 = getelementptr inbounds i8, ptr %0, i64 72
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 664
  %5 = load ptr, ptr %4, align 8, !tbaa !16
  %6 = getelementptr inbounds i8, ptr %3, i64 640
  %7 = load i32, ptr %6, align 8, !tbaa !17
  %8 = getelementptr inbounds i8, ptr %0, i64 64
  %9 = load ptr, ptr %8, align 8, !tbaa !21
  %10 = getelementptr inbounds i8, ptr %9, i64 1072
  %11 = tail call ptr @b2SolverSetArray_Get(ptr noundef nonnull %10, i32 noundef 2)
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  %13 = load ptr, ptr %12, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %.sroa.0)
  %14 = load i64, ptr @__const.b2WarmStartOverflowContacts.dummyState, align 4
  store i64 %14, ptr %.sroa.0, align 8
  %15 = icmp sgt i32 %7, 0
  br i1 %15, label %.lr.ph99.preheader, label %._crit_edge100

.lr.ph99.preheader:                               ; preds = %1
  %.sroa.5.0.copyload = load float, ptr getelementptr inbounds (i8, ptr @__const.b2WarmStartOverflowContacts.dummyState, i64 8), align 4
  %wide.trip.count108 = zext nneg i32 %7 to i64
  br label %.lr.ph99

._crit_edge100:                                   ; preds = %.cont, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %.sroa.0)
  ret void

.lr.ph99:                                         ; preds = %.lr.ph99.preheader, %.cont
  %indvars.iv105 = phi i64 [ 0, %.lr.ph99.preheader ], [ %indvars.iv.next106, %.cont ]
  %.sroa.5.096 = phi float [ %.sroa.5.0.copyload, %.lr.ph99.preheader ], [ %.sroa.5.2, %.cont ]
  %16 = getelementptr inbounds %struct.b2ContactConstraint, ptr %5, i64 %indvars.iv105
  %17 = load i32, ptr %16, align 4, !tbaa !24
  %18 = getelementptr inbounds i8, ptr %16, i64 4
  %19 = load i32, ptr %18, align 4, !tbaa !27
  %20 = icmp eq i32 %17, -1
  %21 = sext i32 %17 to i64
  %22 = getelementptr inbounds %struct.b2BodyState, ptr %13, i64 %21
  %23 = select i1 %20, ptr %.sroa.0, ptr %22
  %24 = icmp eq i32 %19, -1
  %25 = sext i32 %19 to i64
  %26 = getelementptr inbounds %struct.b2BodyState, ptr %13, i64 %25
  %27 = select i1 %24, ptr %.sroa.0, ptr %26
  %.sroa.032.0.copyload = load <2 x float>, ptr %23, align 4
  %.sroa.gep75 = getelementptr inbounds i8, ptr %22, i64 8
  br i1 %20, label %.cont84, label %.else86

.else86:                                          ; preds = %.lr.ph99
  %.else.val87 = load float, ptr %.sroa.gep75, align 4, !tbaa !28
  br label %.cont84

.cont84:                                          ; preds = %.lr.ph99, %.else86
  %28 = phi float [ %.sroa.5.096, %.lr.ph99 ], [ %.else.val87, %.else86 ]
  %.sroa.027.0.copyload = load <2 x float>, ptr %27, align 4
  %.sroa.gep77 = getelementptr inbounds i8, ptr %26, i64 8
  br i1 %24, label %.cont79, label %.else80

.else80:                                          ; preds = %.cont84
  %.else.val = load float, ptr %.sroa.gep77, align 4, !tbaa !28
  br label %.cont79

.cont79:                                          ; preds = %.cont84, %.else80
  %29 = phi float [ %.sroa.5.096, %.cont84 ], [ %.else.val, %.else80 ]
  %30 = getelementptr inbounds i8, ptr %16, i64 104
  %31 = load float, ptr %30, align 4, !tbaa !31
  %32 = getelementptr inbounds i8, ptr %16, i64 112
  %33 = load float, ptr %32, align 4, !tbaa !32
  %34 = getelementptr inbounds i8, ptr %16, i64 108
  %35 = load float, ptr %34, align 4, !tbaa !33
  %36 = getelementptr inbounds i8, ptr %16, i64 116
  %37 = load float, ptr %36, align 4, !tbaa !34
  %38 = getelementptr inbounds i8, ptr %16, i64 96
  %.sroa.017.0.copyload = load <2 x float>, ptr %38, align 4
  %39 = tail call <2 x float> @b2RightPerp(<2 x float> %.sroa.017.0.copyload)
  %40 = getelementptr inbounds i8, ptr %16, i64 156
  %41 = load i32, ptr %40, align 4, !tbaa !35
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph, label %.cont79.._crit_edge_crit_edge

.cont79.._crit_edge_crit_edge:                    ; preds = %.cont79
  %.pre = fneg float %33
  br label %._crit_edge

.lr.ph:                                           ; preds = %.cont79
  %43 = getelementptr inbounds i8, ptr %16, i64 8
  %44 = fneg float %33
  %45 = fneg float %31
  %wide.trip.count = zext nneg i32 %41 to i64
  br label %50

._crit_edge:                                      ; preds = %50, %.cont79.._crit_edge_crit_edge
  %.pre-phi = phi float [ %.pre, %.cont79.._crit_edge_crit_edge ], [ %44, %50 ]
  %.073.lcssa = phi float [ %29, %.cont79.._crit_edge_crit_edge ], [ %64, %50 ]
  %.sroa.027.0.lcssa = phi <2 x float> [ %.sroa.027.0.copyload, %.cont79.._crit_edge_crit_edge ], [ %65, %50 ]
  %.072.lcssa = phi float [ %28, %.cont79.._crit_edge_crit_edge ], [ %61, %50 ]
  %.sroa.032.0.lcssa = phi <2 x float> [ %.sroa.032.0.copyload, %.cont79.._crit_edge_crit_edge ], [ %62, %50 ]
  %46 = getelementptr inbounds i8, ptr %16, i64 140
  %47 = load float, ptr %46, align 4, !tbaa !36
  %48 = tail call float @llvm.fmuladd.f32(float %.pre-phi, float %47, float %.072.lcssa)
  %49 = tail call float @llvm.fmuladd.f32(float %37, float %47, float %.073.lcssa)
  store <2 x float> %.sroa.032.0.lcssa, ptr %23, align 4
  br i1 %20, label %.cont81, label %.else83

.else83:                                          ; preds = %._crit_edge
  store float %48, ptr %.sroa.gep75, align 4, !tbaa !28
  br label %.cont81

.cont81:                                          ; preds = %._crit_edge, %.else83
  %.sroa.5.1 = phi float [ %.sroa.5.096, %.else83 ], [ %48, %._crit_edge ]
  store <2 x float> %.sroa.027.0.lcssa, ptr %27, align 4
  br i1 %24, label %.cont, label %.else

.else:                                            ; preds = %.cont81
  store float %49, ptr %.sroa.gep77, align 4, !tbaa !28
  br label %.cont

.cont:                                            ; preds = %.cont81, %.else
  %.sroa.5.2 = phi float [ %.sroa.5.1, %.else ], [ %49, %.cont81 ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %exitcond109.not = icmp eq i64 %indvars.iv.next106, %wide.trip.count108
  br i1 %exitcond109.not, label %._crit_edge100, label %.lr.ph99, !llvm.loop !37

50:                                               ; preds = %.lr.ph, %50
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %50 ]
  %.sroa.032.092 = phi <2 x float> [ %.sroa.032.0.copyload, %.lr.ph ], [ %62, %50 ]
  %.07291 = phi float [ %28, %.lr.ph ], [ %61, %50 ]
  %.sroa.027.090 = phi <2 x float> [ %.sroa.027.0.copyload, %.lr.ph ], [ %65, %50 ]
  %.07389 = phi float [ %29, %.lr.ph ], [ %64, %50 ]
  %51 = getelementptr inbounds %struct.b2ContactConstraintPoint, ptr %43, i64 %indvars.iv
  %.sroa.09.0.copyload = load <2 x float>, ptr %51, align 4
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  %.sroa.08.0.copyload = load <2 x float>, ptr %52, align 4
  %53 = getelementptr inbounds i8, ptr %51, i64 24
  %54 = load float, ptr %53, align 4, !tbaa !39
  %55 = tail call <2 x float> @b2MulSV(float noundef %54, <2 x float> %.sroa.017.0.copyload)
  %56 = getelementptr inbounds i8, ptr %51, i64 28
  %57 = load float, ptr %56, align 4, !tbaa !41
  %58 = tail call <2 x float> @b2MulSV(float noundef %57, <2 x float> %39)
  %59 = tail call <2 x float> @b2Add(<2 x float> %55, <2 x float> %58)
  %60 = tail call float @b2Cross(<2 x float> %.sroa.09.0.copyload, <2 x float> %59)
  %61 = tail call float @llvm.fmuladd.f32(float %44, float %60, float %.07291)
  %62 = tail call <2 x float> @b2MulAdd(<2 x float> %.sroa.032.092, float noundef %45, <2 x float> %59)
  %63 = tail call float @b2Cross(<2 x float> %.sroa.08.0.copyload, <2 x float> %59)
  %64 = tail call float @llvm.fmuladd.f32(float %37, float %63, float %.07389)
  %65 = tail call <2 x float> @b2MulAdd(<2 x float> %.sroa.027.090, float noundef %35, <2 x float> %59)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %50, !llvm.loop !42
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @b2SolverSetArray_Get(ptr noundef, i32 noundef) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="64" "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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 72}
!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 = !{!8, !8, i64 0}
!17 = !{!18, !10, i64 24}
!18 = !{!"b2GraphColor", !19, i64 0, !20, i64 16, !20, i64 32, !8, i64 48}
!19 = !{!"b2BitSet", !12, i64 0, !10, i64 8, !10, i64 12}
!20 = !{!"", !12, i64 0, !10, i64 8, !10, i64 12}
!21 = !{!6, !12, i64 64}
!22 = !{!23, !12, i64 16}
!23 = !{!"b2SolverSet", !20, i64 0, !20, i64 16, !20, i64 32, !20, i64 48, !20, i64 64, !10, i64 80}
!24 = !{!25, !10, i64 0}
!25 = !{!"b2ContactConstraint", !10, i64 0, !10, i64 4, !8, i64 8, !26, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !11, i64 144, !10, i64 156}
!26 = !{!"b2Vec2", !7, i64 0, !7, i64 4}
!27 = !{!25, !10, i64 4}
!28 = !{!29, !7, i64 8}
!29 = !{!"b2BodyState", !26, i64 0, !7, i64 8, !10, i64 12, !26, i64 16, !30, i64 24}
!30 = !{!"b2Rot", !7, i64 0, !7, i64 4}
!31 = !{!25, !7, i64 104}
!32 = !{!25, !7, i64 112}
!33 = !{!25, !7, i64 108}
!34 = !{!25, !7, i64 116}
!35 = !{!25, !10, i64 156}
!36 = !{!25, !7, i64 140}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !7, i64 24}
!40 = !{!"b2ContactConstraintPoint", !26, i64 0, !26, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40}
!41 = !{!40, !7, i64 28}
!42 = distinct !{!42, !38}


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