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

; 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.b2Vec2 = type { float, float }
%struct.b2Softness = type { float, float, float }
%struct.b2Mat22 = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2JointSim = type { i32, i32, i32, i32, %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, %union.anon }
%union.anon = type { %struct.b2PrismaticJoint }
%struct.b2PrismaticJoint = type { %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, float, float, float, float, float, float, float, i32, i32, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, float, %struct.b2Softness, i8, i8, i8 }
%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.b2AtomicInt = type { i32 }
%struct.b2AtomicU32 = type { i32 }
%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.b2ConstraintGraph = type { [12 x %struct.b2GraphColor] }
%struct.b2GraphColor = type { %struct.b2BitSet, %struct.b2ContactSimArray, %struct.b2JointSimArray, %union.anon.0 }
%struct.b2ContactSimArray = type { ptr, i32, i32 }
%struct.b2JointSimArray = type { ptr, i32, i32 }
%union.anon.0 = type { ptr }
%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.b2BitSet = 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.b2Body = type { [32 x i8], ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, i32, i32, i32, i16, i8, i8, i8, i8 }
%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.b2BodySim = type { %struct.b2Transform, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, float, float, float, float, i32, i8, i8, i8, i8, i8 }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Rot = type { float, float }
%struct.b2MouseJoint = type { %struct.b2Vec2, float, float, float, %struct.b2Vec2, float, %struct.b2Softness, %struct.b2Softness, i32, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Mat22 }

@.str.1 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@b2Vec2_zero = external hidden constant %struct.b2Vec2, align 4

declare i32 @b2InternalAssertFcn(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @b2PrepareMouseJoint(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.b2Vec2, align 4
  %13 = alloca %struct.b2Vec2, align 4
  %14 = alloca %struct.b2Softness, align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca %struct.b2Softness, align 4
  %19 = alloca { <2 x float>, float }, align 8
  %20 = alloca %struct.b2Vec2, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %struct.b2Mat22, align 4
  %24 = alloca %struct.b2Mat22, align 4
  %25 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %2
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.b2JointSim, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 3
  br i1 %30, label %35, label %31

31:                                               ; preds = %26
  %32 = call i32 @b2InternalAssertFcn(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 79)
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %31
  call void @llvm.trap()
  br label %35

35:                                               ; preds = %34, %31, %26
  br label %36

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.b2JointSim, ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !14
  store i32 %39, ptr %5, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.b2StepContext, ptr %40, i32 0, i32 10
  %42 = load ptr, ptr %41, align 8, !tbaa !16
  store ptr %42, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.b2World, ptr %43, i32 0, i32 4
  %45 = load i32, ptr %5, align 4, !tbaa !15
  %46 = call ptr @b2BodyArray_Get(ptr noundef %44, i32 noundef %45)
  store ptr %46, ptr %7, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %36
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.b2Body, ptr %48, i32 0, i32 2
  %50 = load i32, ptr %49, align 8, !tbaa !22
  %51 = icmp eq i32 %50, 2
  br i1 %51, label %56, label %52

52:                                               ; preds = %47
  %53 = call i32 @b2InternalAssertFcn(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 88)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %52
  call void @llvm.trap()
  br label %56

56:                                               ; preds = %55, %52, %47
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.b2World, ptr %59, i32 0, i32 6
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.b2Body, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 8, !tbaa !22
  %64 = call ptr @b2SolverSetArray_Get(ptr noundef %60, i32 noundef %63)
  store ptr %64, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.b2Body, ptr %65, i32 0, i32 3
  %67 = load i32, ptr %66, align 4, !tbaa !25
  store i32 %67, ptr %9, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.b2SolverSet, ptr %68, i32 0, i32 0
  %70 = load i32, ptr %9, align 4, !tbaa !15
  %71 = call ptr @b2BodySimArray_Get(ptr noundef %69, i32 noundef %70)
  store ptr %71, ptr %10, align 8, !tbaa !5
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.b2BodySim, ptr %72, i32 0, i32 7
  %74 = load float, ptr %73, align 4, !tbaa !26
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.b2JointSim, ptr %75, i32 0, i32 7
  store float %74, ptr %76, align 4, !tbaa !30
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.b2BodySim, ptr %77, i32 0, i32 8
  %79 = load float, ptr %78, align 4, !tbaa !31
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.b2JointSim, ptr %80, i32 0, i32 9
  store float %79, ptr %81, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.b2JointSim, ptr %82, i32 0, i32 10
  store ptr %83, ptr %11, align 8, !tbaa !5
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.b2Body, ptr %84, i32 0, i32 2
  %86 = load i32, ptr %85, align 8, !tbaa !22
  %87 = icmp eq i32 %86, 2
  br i1 %87, label %88, label %90

88:                                               ; preds = %58
  %89 = load i32, ptr %9, align 4, !tbaa !15
  br label %91

90:                                               ; preds = %58
  br label %91

91:                                               ; preds = %90, %88
  %92 = phi i32 [ %89, %88 ], [ -1, %90 ]
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.b2MouseJoint, ptr %93, i32 0, i32 8
  store i32 %92, ptr %94, align 4, !tbaa !33
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.b2MouseJoint, ptr %95, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.b2BodySim, ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds %struct.b2Transform, ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.b2JointSim, ptr %100, i32 0, i32 5
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.b2BodySim, ptr %102, i32 0, i32 4
  %104 = load <2 x float>, ptr %101, align 4
  %105 = load <2 x float>, ptr %103, align 4
  %106 = call <2 x float> @b2Sub(<2 x float> %104, <2 x float> %105)
  store <2 x float> %106, ptr %13, align 4
  %107 = load <2 x float>, ptr %99, align 4
  %108 = load <2 x float>, ptr %13, align 4
  %109 = call <2 x float> @b2RotateVector(<2 x float> %107, <2 x float> %108)
  store <2 x float> %109, ptr %12, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %96, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.b2MouseJoint, ptr %110, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #8
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.b2MouseJoint, ptr %112, i32 0, i32 1
  %114 = load float, ptr %113, align 4, !tbaa !38
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.b2MouseJoint, ptr %115, i32 0, i32 2
  %117 = load float, ptr %116, align 4, !tbaa !39
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.b2StepContext, ptr %118, i32 0, i32 2
  %120 = load float, ptr %119, align 8, !tbaa !40
  %121 = call { <2 x float>, float } @b2MakeSoft(float noundef %114, float noundef %117, float noundef %120)
  store { <2 x float>, float } %121, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %111, ptr align 4 %14, i64 12, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store float 5.000000e-01, ptr %16, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store float 0x3FB99999A0000000, ptr %17, align 4, !tbaa !37
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.b2MouseJoint, ptr %122, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #8
  %124 = load float, ptr %16, align 4, !tbaa !37
  %125 = load float, ptr %17, align 4, !tbaa !37
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.b2StepContext, ptr %126, i32 0, i32 2
  %128 = load float, ptr %127, align 8, !tbaa !40
  %129 = call { <2 x float>, float } @b2MakeSoft(float noundef %124, float noundef %125, float noundef %128)
  store { <2 x float>, float } %129, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %19, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %123, ptr align 4 %18, i64 12, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.b2MouseJoint, ptr %130, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %131, i64 8, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.b2BodySim, ptr %132, i32 0, i32 7
  %134 = load float, ptr %133, align 4, !tbaa !26
  store float %134, ptr %21, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.b2BodySim, ptr %135, i32 0, i32 8
  %137 = load float, ptr %136, align 4, !tbaa !31
  store float %137, ptr %22, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %138 = load float, ptr %21, align 4, !tbaa !37
  %139 = load float, ptr %22, align 4, !tbaa !37
  %140 = getelementptr inbounds %struct.b2Vec2, ptr %20, i32 0, i32 1
  %141 = load float, ptr %140, align 4, !tbaa !42
  %142 = fmul float %139, %141
  %143 = getelementptr inbounds %struct.b2Vec2, ptr %20, i32 0, i32 1
  %144 = load float, ptr %143, align 4, !tbaa !42
  %145 = call float @llvm.fmuladd.f32(float %142, float %144, float %138)
  %146 = getelementptr inbounds %struct.b2Mat22, ptr %23, i32 0, i32 0
  %147 = getelementptr inbounds %struct.b2Vec2, ptr %146, i32 0, i32 0
  store float %145, ptr %147, align 4, !tbaa !43
  %148 = load float, ptr %22, align 4, !tbaa !37
  %149 = fneg float %148
  %150 = getelementptr inbounds %struct.b2Vec2, ptr %20, i32 0, i32 0
  %151 = load float, ptr %150, align 4, !tbaa !44
  %152 = fmul float %149, %151
  %153 = getelementptr inbounds %struct.b2Vec2, ptr %20, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !42
  %155 = fmul float %152, %154
  %156 = getelementptr inbounds %struct.b2Mat22, ptr %23, i32 0, i32 0
  %157 = getelementptr inbounds %struct.b2Vec2, ptr %156, i32 0, i32 1
  store float %155, ptr %157, align 4, !tbaa !45
  %158 = getelementptr inbounds %struct.b2Mat22, ptr %23, i32 0, i32 0
  %159 = getelementptr inbounds %struct.b2Vec2, ptr %158, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !45
  %161 = getelementptr inbounds %struct.b2Mat22, ptr %23, i32 0, i32 1
  %162 = getelementptr inbounds %struct.b2Vec2, ptr %161, i32 0, i32 0
  store float %160, ptr %162, align 4, !tbaa !46
  %163 = load float, ptr %21, align 4, !tbaa !37
  %164 = load float, ptr %22, align 4, !tbaa !37
  %165 = getelementptr inbounds %struct.b2Vec2, ptr %20, i32 0, i32 0
  %166 = load float, ptr %165, align 4, !tbaa !44
  %167 = fmul float %164, %166
  %168 = getelementptr inbounds %struct.b2Vec2, ptr %20, i32 0, i32 0
  %169 = load float, ptr %168, align 4, !tbaa !44
  %170 = call float @llvm.fmuladd.f32(float %167, float %169, float %163)
  %171 = getelementptr inbounds %struct.b2Mat22, ptr %23, i32 0, i32 1
  %172 = getelementptr inbounds %struct.b2Vec2, ptr %171, i32 0, i32 1
  store float %170, ptr %172, align 4, !tbaa !47
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.b2MouseJoint, ptr %173, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %175 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %23, i32 0, i32 0
  %176 = load <2 x float>, ptr %175, align 4
  %177 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %23, i32 0, i32 1
  %178 = load <2 x float>, ptr %177, align 4
  %179 = call { <2 x float>, <2 x float> } @b2GetInverse22(<2 x float> %176, <2 x float> %178)
  %180 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %181 = extractvalue { <2 x float>, <2 x float> } %179, 0
  store <2 x float> %181, ptr %180, align 4
  %182 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %183 = extractvalue { <2 x float>, <2 x float> } %179, 1
  store <2 x float> %183, ptr %182, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %174, ptr align 4 %24, i64 16, i1 false), !tbaa.struct !48
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.b2MouseJoint, ptr %184, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %186 = load ptr, ptr %10, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.b2BodySim, ptr %186, i32 0, i32 1
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.b2MouseJoint, ptr %188, i32 0, i32 0
  %190 = load <2 x float>, ptr %187, align 4
  %191 = load <2 x float>, ptr %189, align 4
  %192 = call <2 x float> @b2Sub(<2 x float> %190, <2 x float> %191)
  store <2 x float> %192, ptr %25, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %185, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.b2StepContext, ptr %193, i32 0, i32 25
  %195 = load i8, ptr %194, align 4, !tbaa !49, !range !50, !noundef !51
  %196 = trunc i8 %195 to i1
  %197 = zext i1 %196 to i32
  %198 = icmp eq i32 %197, 0
  br i1 %198, label %199, label %204

199:                                              ; preds = %91
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.b2MouseJoint, ptr %200, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %201, ptr align 4 @b2Vec2_zero, i64 8, i1 false), !tbaa.struct !36
  %202 = load ptr, ptr %11, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.b2MouseJoint, ptr %202, i32 0, i32 5
  store float 0.000000e+00, ptr %203, align 4, !tbaa !52
  br label %204

204:                                              ; preds = %199, %91
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret void
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden { <2 x float>, <2 x float> } @b2GetInverse22(<2 x float>, <2 x float>) #6

attributes #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 #1 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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, !11, i64 12}
!10 = !{!"b2JointSim", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !7, i64 48}
!11 = !{!"int", !7, i64 0}
!12 = !{!"b2Vec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !6, i64 64}
!17 = !{!"b2StepContext", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !11, i64 16, !18, i64 20, !18, i64 32, !18, i64 44, !13, i64 56, !13, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !11, i64 104, !6, i64 112, !19, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !11, i64 152, !11, i64 156, !6, i64 160, !11, i64 168, !20, i64 172, !7, i64 173, !21, i64 240, !7, i64 244}
!18 = !{!"b2Softness", !13, i64 0, !13, i64 4, !13, i64 8}
!19 = !{!"b2AtomicInt", !11, i64 0}
!20 = !{!"_Bool", !7, i64 0}
!21 = !{!"b2AtomicU32", !11, i64 0}
!22 = !{!23, !11, i64 40}
!23 = !{!"b2Body", !7, i64 0, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !24, i64 116, !20, i64 118, !20, i64 119, !20, i64 120, !20, i64 121}
!24 = !{!"short", !7, i64 0}
!25 = !{!23, !11, i64 44}
!26 = !{!27, !13, i64 60}
!27 = !{!"b2BodySim", !28, i64 0, !12, i64 16, !29, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !11, i64 88, !20, i64 92, !20, i64 93, !20, i64 94, !20, i64 95, !20, i64 96}
!28 = !{!"b2Transform", !12, i64 0, !29, i64 8}
!29 = !{!"b2Rot", !13, i64 0, !13, i64 4}
!30 = !{!10, !13, i64 36}
!31 = !{!27, !13, i64 64}
!32 = !{!10, !13, i64 44}
!33 = !{!34, !11, i64 56}
!34 = !{!"b2MouseJoint", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !12, i64 20, !13, i64 28, !18, i64 32, !18, i64 44, !11, i64 56, !12, i64 60, !12, i64 68, !35, i64 76}
!35 = !{!"b2Mat22", !12, i64 0, !12, i64 8}
!36 = !{i64 0, i64 4, !37, i64 4, i64 4, !37}
!37 = !{!13, !13, i64 0}
!38 = !{!34, !13, i64 8}
!39 = !{!34, !13, i64 12}
!40 = !{!17, !13, i64 8}
!41 = !{i64 0, i64 4, !37, i64 4, i64 4, !37, i64 8, i64 4, !37}
!42 = !{!12, !13, i64 4}
!43 = !{!35, !13, i64 0}
!44 = !{!12, !13, i64 0}
!45 = !{!35, !13, i64 4}
!46 = !{!35, !13, i64 8}
!47 = !{!35, !13, i64 12}
!48 = !{i64 0, i64 4, !37, i64 4, i64 4, !37, i64 8, i64 4, !37, i64 12, i64 4, !37}
!49 = !{!17, !20, i64 172}
!50 = !{i8 0, i8 2}
!51 = !{}
!52 = !{!34, !13, i64 28}


; 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.b2Vec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@b2Vec2_zero = external hidden local_unnamed_addr constant %struct.b2Vec2, align 4

declare i32 @b2InternalAssertFcn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #1

; Function Attrs: nounwind uwtable
define dso_local void @b2PrepareMouseJoint(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 12
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = icmp eq i32 %4, 3
  br i1 %5, label %9, label %6

6:                                                ; preds = %2
  %7 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 79) #6
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %9, label %8

8:                                                ; preds = %6
  tail call void @llvm.trap()
  unreachable

9:                                                ; preds = %2, %6
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i32, ptr %10, align 4, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %1, i64 64
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %13, i64 1032
  %15 = tail call ptr @b2BodyArray_Get(ptr noundef nonnull %14, i32 noundef %11)
  %16 = getelementptr inbounds i8, ptr %15, i64 40
  %17 = load i32, ptr %16, align 8, !tbaa !20
  %18 = icmp eq i32 %17, 2
  br i1 %18, label %22, label %19

19:                                               ; preds = %9
  %20 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 88) #6
  %.not67 = icmp eq i32 %20, 0
  br i1 %.not67, label %._crit_edge, label %21

._crit_edge:                                      ; preds = %19
  %.pre = load i32, ptr %16, align 8, !tbaa !20
  br label %22

21:                                               ; preds = %19
  tail call void @llvm.trap()
  unreachable

22:                                               ; preds = %._crit_edge, %9
  %23 = phi i32 [ %.pre, %._crit_edge ], [ 2, %9 ]
  %24 = getelementptr inbounds i8, ptr %13, i64 1072
  %25 = tail call ptr @b2SolverSetArray_Get(ptr noundef nonnull %24, i32 noundef %23)
  %26 = getelementptr inbounds i8, ptr %15, i64 44
  %27 = load i32, ptr %26, align 4, !tbaa !23
  %28 = tail call ptr @b2BodySimArray_Get(ptr noundef %25, i32 noundef %27)
  %29 = getelementptr inbounds i8, ptr %28, i64 60
  %30 = load float, ptr %29, align 4, !tbaa !24
  %31 = getelementptr inbounds i8, ptr %0, i64 36
  store float %30, ptr %31, align 4, !tbaa !28
  %32 = getelementptr inbounds i8, ptr %28, i64 64
  %33 = load float, ptr %32, align 4, !tbaa !29
  %34 = getelementptr inbounds i8, ptr %0, i64 44
  store float %33, ptr %34, align 4, !tbaa !30
  %35 = getelementptr inbounds i8, ptr %0, i64 48
  %36 = load i32, ptr %16, align 8, !tbaa !20
  %37 = icmp eq i32 %36, 2
  %38 = select i1 %37, i32 %27, i32 -1
  %39 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 %38, ptr %39, align 4, !tbaa !31
  %40 = getelementptr inbounds i8, ptr %0, i64 108
  %41 = getelementptr inbounds i8, ptr %28, i64 8
  %42 = getelementptr inbounds i8, ptr %0, i64 24
  %43 = getelementptr inbounds i8, ptr %28, i64 40
  %44 = load <2 x float>, ptr %42, align 4
  %45 = load <2 x float>, ptr %43, align 4
  %46 = tail call <2 x float> @b2Sub(<2 x float> %44, <2 x float> %45)
  %47 = load <2 x float>, ptr %41, align 4
  %48 = tail call <2 x float> @b2RotateVector(<2 x float> %47, <2 x float> %46)
  store <2 x float> %48, ptr %40, align 4
  %49 = getelementptr inbounds i8, ptr %0, i64 80
  %50 = getelementptr inbounds i8, ptr %0, i64 56
  %51 = load float, ptr %50, align 4, !tbaa !34
  %52 = getelementptr inbounds i8, ptr %0, i64 60
  %53 = load float, ptr %52, align 4, !tbaa !35
  %54 = getelementptr inbounds i8, ptr %1, i64 8
  %55 = load float, ptr %54, align 8, !tbaa !36
  %56 = tail call { <2 x float>, float } @b2MakeSoft(float noundef %51, float noundef %53, float noundef %55)
  %.fca.0.extract21 = extractvalue { <2 x float>, float } %56, 0
  %.fca.1.extract22 = extractvalue { <2 x float>, float } %56, 1
  store <2 x float> %.fca.0.extract21, ptr %49, align 4
  %.sroa.426.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 88
  store float %.fca.1.extract22, ptr %.sroa.426.0..sroa_idx, align 4, !tbaa !37
  %57 = getelementptr inbounds i8, ptr %0, i64 92
  %58 = load float, ptr %54, align 8, !tbaa !36
  %59 = tail call { <2 x float>, float } @b2MakeSoft(float noundef 5.000000e-01, float noundef 0x3FB99999A0000000, float noundef %58)
  %.fca.0.extract = extractvalue { <2 x float>, float } %59, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %59, 1
  store <2 x float> %.fca.0.extract, ptr %57, align 4
  %.sroa.418.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 100
  store float %.fca.1.extract, ptr %.sroa.418.0..sroa_idx, align 4, !tbaa !37
  %.sroa.010.0.copyload = load float, ptr %40, align 4, !tbaa !37
  %.sroa.613.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 112
  %.sroa.613.0.copyload = load float, ptr %.sroa.613.0..sroa_idx, align 4, !tbaa !37
  %60 = load float, ptr %29, align 4, !tbaa !24
  %61 = load float, ptr %32, align 4, !tbaa !29
  %62 = fmul float %.sroa.613.0.copyload, %61
  %63 = tail call float @llvm.fmuladd.f32(float %62, float %.sroa.613.0.copyload, float %60)
  %.sroa.02.0.vec.insert = insertelement <2 x float> poison, float %63, i64 0
  %64 = fneg float %61
  %65 = fmul float %.sroa.010.0.copyload, %64
  %66 = fmul float %.sroa.613.0.copyload, %65
  %.sroa.02.4.vec.insert = insertelement <2 x float> %.sroa.02.0.vec.insert, float %66, i64 1
  %.sroa.6.8.vec.insert = insertelement <2 x float> poison, float %66, i64 0
  %67 = fmul float %.sroa.010.0.copyload, %61
  %68 = tail call float @llvm.fmuladd.f32(float %67, float %.sroa.010.0.copyload, float %60)
  %.sroa.6.12.vec.insert = insertelement <2 x float> %.sroa.6.8.vec.insert, float %68, i64 1
  %69 = getelementptr inbounds i8, ptr %0, i64 124
  %70 = tail call { <2 x float>, <2 x float> } @b2GetInverse22(<2 x float> %.sroa.02.4.vec.insert, <2 x float> %.sroa.6.12.vec.insert)
  %71 = extractvalue { <2 x float>, <2 x float> } %70, 0
  %72 = extractvalue { <2 x float>, <2 x float> } %70, 1
  store <2 x float> %71, ptr %69, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 132
  store <2 x float> %72, ptr %.sroa.4.0..sroa_idx, align 4
  %73 = getelementptr inbounds i8, ptr %0, i64 116
  %74 = getelementptr inbounds i8, ptr %28, i64 16
  %75 = load <2 x float>, ptr %74, align 4
  %76 = load <2 x float>, ptr %35, align 4
  %77 = tail call <2 x float> @b2Sub(<2 x float> %75, <2 x float> %76)
  store <2 x float> %77, ptr %73, align 4
  %78 = getelementptr inbounds i8, ptr %1, i64 172
  %79 = load i8, ptr %78, align 4, !tbaa !38, !range !39, !noundef !40
  %80 = icmp eq i8 %79, 0
  br i1 %80, label %81, label %85

81:                                               ; preds = %22
  %82 = getelementptr inbounds i8, ptr %0, i64 68
  %83 = load i64, ptr @b2Vec2_zero, align 4
  store i64 %83, ptr %82, align 4
  %84 = getelementptr inbounds i8, ptr %0, i64 76
  store float 0.000000e+00, ptr %84, align 4, !tbaa !41
  br label %85

85:                                               ; preds = %81, %22
  ret void
}

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden { <2 x float>, float } @b2MakeSoft(float noundef, float noundef, float noundef) local_unnamed_addr #3

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

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

attributes #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 #1 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #2 = { 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 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 12}
!6 = !{!"b2JointSim", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !8, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"b2Vec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!14, !16, i64 64}
!14 = !{!"b2StepContext", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !7, i64 16, !15, i64 20, !15, i64 32, !15, i64 44, !11, i64 56, !11, i64 60, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !7, i64 104, !16, i64 112, !17, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !7, i64 152, !7, i64 156, !16, i64 160, !7, i64 168, !18, i64 172, !8, i64 173, !19, i64 240, !8, i64 244}
!15 = !{!"b2Softness", !11, i64 0, !11, i64 4, !11, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"b2AtomicInt", !7, i64 0}
!18 = !{!"_Bool", !8, i64 0}
!19 = !{!"b2AtomicU32", !7, i64 0}
!20 = !{!21, !7, i64 40}
!21 = !{!"b2Body", !8, i64 0, !16, i64 32, !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, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !22, i64 116, !18, i64 118, !18, i64 119, !18, i64 120, !18, i64 121}
!22 = !{!"short", !8, i64 0}
!23 = !{!21, !7, i64 44}
!24 = !{!25, !11, i64 60}
!25 = !{!"b2BodySim", !26, i64 0, !10, i64 16, !27, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !7, i64 88, !18, i64 92, !18, i64 93, !18, i64 94, !18, i64 95, !18, i64 96}
!26 = !{!"b2Transform", !10, i64 0, !27, i64 8}
!27 = !{!"b2Rot", !11, i64 0, !11, i64 4}
!28 = !{!6, !11, i64 36}
!29 = !{!25, !11, i64 64}
!30 = !{!6, !11, i64 44}
!31 = !{!32, !7, i64 56}
!32 = !{!"b2MouseJoint", !10, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !10, i64 20, !11, i64 28, !15, i64 32, !15, i64 44, !7, i64 56, !10, i64 60, !10, i64 68, !33, i64 76}
!33 = !{!"b2Mat22", !10, i64 0, !10, i64 8}
!34 = !{!32, !11, i64 8}
!35 = !{!32, !11, i64 12}
!36 = !{!14, !11, i64 8}
!37 = !{!11, !11, i64 0}
!38 = !{!14, !18, i64 172}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!32, !11, i64 28}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass