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

; 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.b2BodyId = type { i32, i16, i16 }
%struct.b2Vec2 = type { float, float }
%struct.b2Rot = type { float, float }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%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.b2AtomicInt = type { 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 }
%struct.b2ContactSimArray = type { ptr, i32, i32 }
%struct.b2JointSimArray = type { ptr, i32, i32 }
%union.anon = 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.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.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.b2Shape = type { i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, %struct.b2AABB, %struct.b2AABB, %struct.b2Vec2, i32, %struct.b2Filter, ptr, i32, %union.anon.0, i16, i8, i8, i8, i8, i8 }
%struct.b2Filter = type { i64, i64, i32 }
%union.anon.0 = type { %struct.b2Polygon }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@b2_lengthUnitsPerMeter = external global float, align 4
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetBodyFullId(ptr noundef, i64) #0

declare zeroext i1 @b2Body_IsValid(i64) #1

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetBodySim(ptr noundef, ptr noundef) #0

declare zeroext i1 @b2IsValidVec2(<2 x float>) #1

declare zeroext i1 @b2IsValidRotation(<2 x float>) #1

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

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

declare ptr @b2GetWorld(i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @b2Body_SetTransform(i64 %0, <2 x float> %1, <2 x float> %2) #7 {
  %4 = alloca %struct.b2BodyId, align 4
  %5 = alloca %struct.b2Vec2, align 4
  %6 = alloca %struct.b2Rot, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.b2Vec2, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %struct.b2Transform, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca %struct.b2AABB, align 4
  %18 = alloca %struct.b2AABB, align 4
  store i64 %0, ptr %4, align 4
  store <2 x float> %1, ptr %5, align 4
  store <2 x float> %2, ptr %6, align 4
  br label %19

19:                                               ; preds = %3
  %20 = load <2 x float>, ptr %5, align 4
  %21 = call zeroext i1 @b2IsValidVec2(<2 x float> %20)
  br i1 %21, label %26, label %22

22:                                               ; preds = %19
  %23 = call i32 @b2InternalAssertFcn(ptr noundef @.str.20, ptr noundef @.str.1, i32 noundef 683)
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %22
  call void @llvm.trap()
  br label %26

26:                                               ; preds = %25, %22, %19
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  %29 = load <2 x float>, ptr %6, align 4
  %30 = call zeroext i1 @b2IsValidRotation(<2 x float> %29)
  br i1 %30, label %35, label %31

31:                                               ; preds = %28
  %32 = call i32 @b2InternalAssertFcn(ptr noundef @.str.21, ptr noundef @.str.1, i32 noundef 684)
  %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, %28
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %36
  %38 = load i64, ptr %4, align 4
  %39 = call zeroext i1 @b2Body_IsValid(i64 %38)
  br i1 %39, label %44, label %40

40:                                               ; preds = %37
  %41 = call i32 @b2InternalAssertFcn(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 685)
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  call void @llvm.trap()
  br label %44

44:                                               ; preds = %43, %40, %37
  br label %45

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %46 = getelementptr inbounds %struct.b2BodyId, ptr %4, i32 0, i32 1
  %47 = load i16, ptr %46, align 4, !tbaa !5
  %48 = zext i16 %47 to i32
  %49 = call ptr @b2GetWorld(i32 noundef %48)
  store ptr %49, ptr %7, align 8, !tbaa !11
  br label %50

50:                                               ; preds = %45
  %51 = load ptr, ptr %7, align 8, !tbaa !11
  %52 = getelementptr inbounds %struct.b2World, ptr %51, i32 0, i32 61
  %53 = load i8, ptr %52, align 1, !tbaa !13, !range !28, !noundef !29
  %54 = trunc i8 %53 to i1
  %55 = zext i1 %54 to i32
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %61, label %57

57:                                               ; preds = %50
  %58 = call i32 @b2InternalAssertFcn(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 687)
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %57
  call void @llvm.trap()
  br label %61

61:                                               ; preds = %60, %57, %50
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %64 = load ptr, ptr %7, align 8, !tbaa !11
  %65 = load i64, ptr %4, align 4
  %66 = call ptr @b2GetBodyFullId(ptr noundef %64, i64 %65)
  store ptr %66, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %67 = load ptr, ptr %7, align 8, !tbaa !11
  %68 = load ptr, ptr %8, align 8, !tbaa !11
  %69 = call ptr @b2GetBodySim(ptr noundef %67, ptr noundef %68)
  store ptr %69, ptr %9, align 8, !tbaa !11
  %70 = load ptr, ptr %9, align 8, !tbaa !11
  %71 = getelementptr inbounds %struct.b2BodySim, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.b2Transform, ptr %71, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !30
  %73 = load ptr, ptr %9, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct.b2BodySim, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %struct.b2Transform, ptr %74, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !30
  %76 = load ptr, ptr %9, align 8, !tbaa !11
  %77 = getelementptr inbounds %struct.b2BodySim, ptr %76, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %78 = load ptr, ptr %9, align 8, !tbaa !11
  %79 = getelementptr inbounds %struct.b2BodySim, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %9, align 8, !tbaa !11
  %81 = getelementptr inbounds %struct.b2BodySim, ptr %80, i32 0, i32 4
  %82 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %83 = load <2 x float>, ptr %82, align 4
  %84 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %85 = load <2 x float>, ptr %84, align 4
  %86 = load <2 x float>, ptr %81, align 4
  %87 = call <2 x float> @b2TransformPoint(<2 x float> %83, <2 x float> %85, <2 x float> %86)
  store <2 x float> %87, ptr %10, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %88 = load ptr, ptr %9, align 8, !tbaa !11
  %89 = getelementptr inbounds %struct.b2BodySim, ptr %88, i32 0, i32 2
  %90 = load ptr, ptr %9, align 8, !tbaa !11
  %91 = getelementptr inbounds %struct.b2BodySim, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds %struct.b2Transform, ptr %91, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %92, i64 8, i1 false), !tbaa.struct !30
  %93 = load ptr, ptr %9, align 8, !tbaa !11
  %94 = getelementptr inbounds %struct.b2BodySim, ptr %93, i32 0, i32 3
  %95 = load ptr, ptr %9, align 8, !tbaa !11
  %96 = getelementptr inbounds %struct.b2BodySim, ptr %95, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, ptr align 4 %96, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %97 = load ptr, ptr %7, align 8, !tbaa !11
  %98 = getelementptr inbounds %struct.b2World, ptr %97, i32 0, i32 1
  store ptr %98, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %99 = load ptr, ptr %9, align 8, !tbaa !11
  %100 = getelementptr inbounds %struct.b2BodySim, ptr %99, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %100, i64 16, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %101 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !31
  %102 = fmul float 0x3FA99999A0000000, %101
  store float %102, ptr %13, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %103 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !31
  %104 = fmul float 0x3F747AE140000000, %103
  %105 = fmul float 4.000000e+00, %104
  store float %105, ptr %14, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %106 = load ptr, ptr %8, align 8, !tbaa !11
  %107 = getelementptr inbounds %struct.b2Body, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %107, align 8, !tbaa !33
  store i32 %108, ptr %15, align 4, !tbaa !35
  br label %109

109:                                              ; preds = %207, %63
  %110 = load i32, ptr %15, align 4, !tbaa !35
  %111 = icmp ne i32 %110, -1
  br i1 %111, label %112, label %211

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %113 = load ptr, ptr %7, align 8, !tbaa !11
  %114 = getelementptr inbounds %struct.b2World, ptr %113, i32 0, i32 15
  %115 = load i32, ptr %15, align 4, !tbaa !35
  %116 = call ptr @b2ShapeArray_Get(ptr noundef %114, i32 noundef %115)
  store ptr %116, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %117 = load ptr, ptr %16, align 8, !tbaa !11
  %118 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %119 = load <2 x float>, ptr %118, align 4
  %120 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %121 = load <2 x float>, ptr %120, align 4
  %122 = call { <2 x float>, <2 x float> } @b2ComputeShapeAABB(ptr noundef %117, <2 x float> %119, <2 x float> %121)
  %123 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 0
  %124 = extractvalue { <2 x float>, <2 x float> } %122, 0
  store <2 x float> %124, ptr %123, align 4
  %125 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 1
  %126 = extractvalue { <2 x float>, <2 x float> } %122, 1
  store <2 x float> %126, ptr %125, align 4
  %127 = load float, ptr %14, align 4, !tbaa !31
  %128 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 0
  %129 = getelementptr inbounds %struct.b2Vec2, ptr %128, i32 0, i32 0
  %130 = load float, ptr %129, align 4, !tbaa !36
  %131 = fsub float %130, %127
  store float %131, ptr %129, align 4, !tbaa !36
  %132 = load float, ptr %14, align 4, !tbaa !31
  %133 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 0
  %134 = getelementptr inbounds %struct.b2Vec2, ptr %133, i32 0, i32 1
  %135 = load float, ptr %134, align 4, !tbaa !38
  %136 = fsub float %135, %132
  store float %136, ptr %134, align 4, !tbaa !38
  %137 = load float, ptr %14, align 4, !tbaa !31
  %138 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 1
  %139 = getelementptr inbounds %struct.b2Vec2, ptr %138, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !39
  %141 = fadd float %140, %137
  store float %141, ptr %139, align 4, !tbaa !39
  %142 = load float, ptr %14, align 4, !tbaa !31
  %143 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 1
  %144 = getelementptr inbounds %struct.b2Vec2, ptr %143, i32 0, i32 1
  %145 = load float, ptr %144, align 4, !tbaa !40
  %146 = fadd float %145, %142
  store float %146, ptr %144, align 4, !tbaa !40
  %147 = load ptr, ptr %16, align 8, !tbaa !11
  %148 = getelementptr inbounds %struct.b2Shape, ptr %147, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %148, ptr align 4 %17, i64 16, i1 false), !tbaa.struct !32
  %149 = load ptr, ptr %16, align 8, !tbaa !11
  %150 = getelementptr inbounds %struct.b2Shape, ptr %149, i32 0, i32 13
  %151 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %150, i32 0, i32 0
  %152 = load <2 x float>, ptr %151, align 8
  %153 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %150, i32 0, i32 1
  %154 = load <2 x float>, ptr %153, align 8
  %155 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 0
  %156 = load <2 x float>, ptr %155, align 4
  %157 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 1
  %158 = load <2 x float>, ptr %157, align 4
  %159 = call zeroext i1 @b2AABB_Contains(<2 x float> %152, <2 x float> %154, <2 x float> %156, <2 x float> %158)
  %160 = zext i1 %159 to i32
  %161 = icmp eq i32 %160, 0
  br i1 %161, label %162, label %207

162:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  %163 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 0
  %164 = getelementptr inbounds %struct.b2Vec2, ptr %163, i32 0, i32 0
  %165 = load float, ptr %164, align 4, !tbaa !36
  %166 = load float, ptr %13, align 4, !tbaa !31
  %167 = fsub float %165, %166
  %168 = getelementptr inbounds %struct.b2AABB, ptr %18, i32 0, i32 0
  %169 = getelementptr inbounds %struct.b2Vec2, ptr %168, i32 0, i32 0
  store float %167, ptr %169, align 4, !tbaa !36
  %170 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 0
  %171 = getelementptr inbounds %struct.b2Vec2, ptr %170, i32 0, i32 1
  %172 = load float, ptr %171, align 4, !tbaa !38
  %173 = load float, ptr %13, align 4, !tbaa !31
  %174 = fsub float %172, %173
  %175 = getelementptr inbounds %struct.b2AABB, ptr %18, i32 0, i32 0
  %176 = getelementptr inbounds %struct.b2Vec2, ptr %175, i32 0, i32 1
  store float %174, ptr %176, align 4, !tbaa !38
  %177 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 1
  %178 = getelementptr inbounds %struct.b2Vec2, ptr %177, i32 0, i32 0
  %179 = load float, ptr %178, align 4, !tbaa !39
  %180 = load float, ptr %13, align 4, !tbaa !31
  %181 = fadd float %179, %180
  %182 = getelementptr inbounds %struct.b2AABB, ptr %18, i32 0, i32 1
  %183 = getelementptr inbounds %struct.b2Vec2, ptr %182, i32 0, i32 0
  store float %181, ptr %183, align 4, !tbaa !39
  %184 = getelementptr inbounds %struct.b2AABB, ptr %17, i32 0, i32 1
  %185 = getelementptr inbounds %struct.b2Vec2, ptr %184, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !40
  %187 = load float, ptr %13, align 4, !tbaa !31
  %188 = fadd float %186, %187
  %189 = getelementptr inbounds %struct.b2AABB, ptr %18, i32 0, i32 1
  %190 = getelementptr inbounds %struct.b2Vec2, ptr %189, i32 0, i32 1
  store float %188, ptr %190, align 4, !tbaa !40
  %191 = load ptr, ptr %16, align 8, !tbaa !11
  %192 = getelementptr inbounds %struct.b2Shape, ptr %191, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %192, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !32
  %193 = load ptr, ptr %16, align 8, !tbaa !11
  %194 = getelementptr inbounds %struct.b2Shape, ptr %193, i32 0, i32 15
  %195 = load i32, ptr %194, align 8, !tbaa !41
  %196 = icmp ne i32 %195, -1
  br i1 %196, label %197, label %206

197:                                              ; preds = %162
  %198 = load ptr, ptr %11, align 8, !tbaa !11
  %199 = load ptr, ptr %16, align 8, !tbaa !11
  %200 = getelementptr inbounds %struct.b2Shape, ptr %199, i32 0, i32 15
  %201 = load i32, ptr %200, align 8, !tbaa !41
  %202 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %203 = load <2 x float>, ptr %202, align 4
  %204 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %205 = load <2 x float>, ptr %204, align 4
  call void @b2BroadPhase_MoveProxy(ptr noundef %198, i32 noundef %201, <2 x float> %203, <2 x float> %205)
  br label %206

206:                                              ; preds = %197, %162
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %207

207:                                              ; preds = %206, %112
  %208 = load ptr, ptr %16, align 8, !tbaa !11
  %209 = getelementptr inbounds %struct.b2Shape, ptr %208, i32 0, i32 3
  %210 = load i32, ptr %209, align 4, !tbaa !44
  store i32 %210, ptr %15, align 4, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %109, !llvm.loop !45

211:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

declare { <2 x float>, <2 x float> } @b2ComputeShapeAABB(ptr noundef, <2 x float>, <2 x float>) #1

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

declare void @b2BroadPhase_MoveProxy(ptr noundef, i32 noundef, <2 x float>, <2 x float>) #1

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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, !10, i64 4}
!6 = !{!"b2BodyId", !7, i64 0, !10, i64 4, !10, i64 6}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !27, i64 1799}
!14 = !{!"b2World", !15, i64 0, !17, i64 40, !20, i64 336, !21, i64 1008, !16, i64 1032, !21, i64 1048, !16, i64 1072, !21, i64 1088, !16, i64 1112, !21, i64 1128, !16, i64 1152, !21, i64 1168, !16, i64 1192, !21, i64 1208, !21, i64 1232, !16, i64 1256, !16, i64 1272, !16, i64 1288, !16, i64 1304, !16, i64 1320, !16, i64 1336, !16, i64 1352, !16, i64 1368, !8, i64 1384, !8, i64 1416, !7, i64 1448, !16, i64 1456, !22, i64 1472, !22, i64 1488, !22, i64 1504, !22, i64 1520, !23, i64 1536, !7, i64 1544, !24, i64 1548, !25, i64 1556, !25, i64 1560, !25, i64 1564, !25, i64 1568, !25, i64 1572, !25, i64 1576, !25, i64 1580, !25, i64 1584, !12, i64 1592, !12, i64 1600, !10, i64 1608, !26, i64 1612, !12, i64 1704, !12, i64 1712, !12, i64 1720, !12, i64 1728, !7, i64 1736, !12, i64 1744, !12, i64 1752, !12, i64 1760, !12, i64 1768, !12, i64 1776, !25, i64 1784, !7, i64 1788, !7, i64 1792, !10, i64 1796, !27, i64 1798, !27, i64 1799, !27, i64 1800, !27, i64 1801, !27, i64 1802, !27, i64 1803}
!15 = !{!"b2ArenaAllocator", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !16, i64 24}
!16 = !{!"", !12, i64 0, !7, i64 8, !7, i64 12}
!17 = !{!"b2BroadPhase", !8, i64 0, !7, i64 216, !18, i64 224, !16, i64 240, !12, i64 256, !12, i64 264, !7, i64 272, !19, i64 276, !18, i64 280}
!18 = !{!"b2HashSet", !12, i64 0, !7, i64 8, !7, i64 12}
!19 = !{!"b2AtomicInt", !7, i64 0}
!20 = !{!"b2ConstraintGraph", !8, i64 0}
!21 = !{!"b2IdPool", !16, i64 0, !7, i64 16}
!22 = !{!"b2BitSet", !12, i64 0, !7, i64 8, !7, i64 12}
!23 = !{!"long", !8, i64 0}
!24 = !{!"b2Vec2", !25, i64 0, !25, i64 4}
!25 = !{!"float", !8, i64 0}
!26 = !{!"b2Profile", !25, i64 0, !25, i64 4, !25, i64 8, !25, i64 12, !25, i64 16, !25, i64 20, !25, i64 24, !25, i64 28, !25, i64 32, !25, i64 36, !25, i64 40, !25, i64 44, !25, i64 48, !25, i64 52, !25, i64 56, !25, i64 60, !25, i64 64, !25, i64 68, !25, i64 72, !25, i64 76, !25, i64 80, !25, i64 84}
!27 = !{!"_Bool", !8, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{i64 0, i64 4, !31, i64 4, i64 4, !31}
!31 = !{!25, !25, i64 0}
!32 = !{i64 0, i64 4, !31, i64 4, i64 4, !31, i64 8, i64 4, !31, i64 12, i64 4, !31}
!33 = !{!34, !7, i64 56}
!34 = !{!"b2Body", !8, i64 0, !12, 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, !25, i64 88, !25, i64 92, !25, i64 96, !25, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !10, i64 116, !27, i64 118, !27, i64 119, !27, i64 120, !27, i64 121}
!35 = !{!7, !7, i64 0}
!36 = !{!37, !25, i64 0}
!37 = !{!"b2AABB", !24, i64 0, !24, i64 8}
!38 = !{!37, !25, i64 4}
!39 = !{!37, !25, i64 8}
!40 = !{!37, !25, i64 12}
!41 = !{!42, !7, i64 88}
!42 = !{!"b2Shape", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !25, i64 24, !25, i64 28, !25, i64 32, !25, i64 36, !25, i64 40, !7, i64 44, !37, i64 48, !37, i64 64, !24, i64 80, !7, i64 88, !43, i64 96, !12, i64 120, !7, i64 128, !8, i64 132, !10, i64 276, !27, i64 278, !27, i64 279, !27, i64 280, !27, i64 281, !27, i64 282}
!43 = !{!"b2Filter", !23, i64 0, !23, i64 8, !7, i64 16}
!44 = !{!42, !7, i64 12}
!45 = distinct !{!45, !46}
!46 = !{!"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"

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@b2_lengthUnitsPerMeter = external local_unnamed_addr global float, align 4
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetBodyFullId(ptr noundef, i64) local_unnamed_addr #0

declare zeroext i1 @b2Body_IsValid(i64) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetBodySim(ptr noundef, ptr noundef) local_unnamed_addr #0

declare zeroext i1 @b2IsValidVec2(<2 x float>) local_unnamed_addr #1

declare zeroext i1 @b2IsValidRotation(<2 x float>) local_unnamed_addr #1

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

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

declare ptr @b2GetWorld(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @b2Body_SetTransform(i64 %0, <2 x float> %1, <2 x float> %2) local_unnamed_addr #5 {
  %.sroa.3.0.extract.shift = lshr i64 %0, 32
  %.sroa.3.0.extract.trunc = trunc nuw i64 %.sroa.3.0.extract.shift to i32
  %4 = tail call zeroext i1 @b2IsValidVec2(<2 x float> %1) #6
  br i1 %4, label %8, label %5

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

7:                                                ; preds = %5
  tail call void @llvm.trap()
  unreachable

8:                                                ; preds = %5, %3
  %9 = tail call zeroext i1 @b2IsValidRotation(<2 x float> %2) #6
  br i1 %9, label %13, label %10

10:                                               ; preds = %8
  %11 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.1, i32 noundef 684) #6
  %.not72 = icmp eq i32 %11, 0
  br i1 %.not72, label %13, label %12

12:                                               ; preds = %10
  tail call void @llvm.trap()
  unreachable

13:                                               ; preds = %10, %8
  %14 = tail call zeroext i1 @b2Body_IsValid(i64 %0) #6
  br i1 %14, label %18, label %15

15:                                               ; preds = %13
  %16 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 685) #6
  %.not73 = icmp eq i32 %16, 0
  br i1 %.not73, label %18, label %17

17:                                               ; preds = %15
  tail call void @llvm.trap()
  unreachable

18:                                               ; preds = %13, %15
  %19 = and i32 %.sroa.3.0.extract.trunc, 65535
  %20 = tail call ptr @b2GetWorld(i32 noundef %19) #6
  %21 = getelementptr inbounds i8, ptr %20, i64 1799
  %22 = load i8, ptr %21, align 1, !tbaa !5, !range !25, !noundef !26
  %23 = icmp eq i8 %22, 0
  br i1 %23, label %27, label %24

24:                                               ; preds = %18
  %25 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 687) #6
  %.not74 = icmp eq i32 %25, 0
  br i1 %.not74, label %27, label %26

26:                                               ; preds = %24
  tail call void @llvm.trap()
  unreachable

27:                                               ; preds = %24, %18
  %28 = tail call ptr @b2GetBodyFullId(ptr noundef nonnull %20, i64 %0)
  %29 = tail call ptr @b2GetBodySim(ptr noundef nonnull %20, ptr noundef %28)
  store <2 x float> %1, ptr %29, align 4
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  store <2 x float> %2, ptr %30, align 4
  %31 = getelementptr inbounds i8, ptr %29, i64 16
  %32 = getelementptr inbounds i8, ptr %29, i64 40
  %33 = load <2 x float>, ptr %32, align 4
  %34 = tail call <2 x float> @b2TransformPoint(<2 x float> %1, <2 x float> %2, <2 x float> %33)
  store <2 x float> %34, ptr %31, align 4
  %35 = getelementptr inbounds i8, ptr %29, i64 24
  %36 = load i64, ptr %30, align 4
  store i64 %36, ptr %35, align 4
  %37 = getelementptr inbounds i8, ptr %29, i64 32
  store <2 x float> %34, ptr %37, align 4
  %38 = getelementptr inbounds i8, ptr %20, i64 40
  %.sroa.033.0.copyload = load <2 x float>, ptr %29, align 4
  %.sroa.4.0.copyload.cast = bitcast i64 %36 to <2 x float>
  %39 = getelementptr inbounds i8, ptr %28, i64 56
  %.077 = load i32, ptr %39, align 4, !tbaa !27
  %.not7578 = icmp eq i32 %.077, -1
  br i1 %.not7578, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %27
  %40 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !28
  %41 = fmul float %40, 0x3F747AE140000000
  %42 = fmul float %41, 4.000000e+00
  %43 = fmul float %40, 0x3FA99999A0000000
  %44 = getelementptr inbounds i8, ptr %20, i64 1256
  %45 = insertelement <2 x float> poison, float %43, i64 0
  %46 = shufflevector <2 x float> %45, <2 x float> poison, <2 x i32> zeroinitializer
  %47 = insertelement <2 x float> poison, float %42, i64 0
  %48 = shufflevector <2 x float> %47, <2 x float> poison, <2 x i32> zeroinitializer
  br label %49

49:                                               ; preds = %.lr.ph, %68
  %.079 = phi i32 [ %.077, %.lr.ph ], [ %.0, %68 ]
  %50 = tail call ptr @b2ShapeArray_Get(ptr noundef nonnull %44, i32 noundef %.079)
  %51 = tail call { <2 x float>, <2 x float> } @b2ComputeShapeAABB(ptr noundef %50, <2 x float> %.sroa.033.0.copyload, <2 x float> %.sroa.4.0.copyload.cast) #6
  %52 = extractvalue { <2 x float>, <2 x float> } %51, 0
  %53 = extractvalue { <2 x float>, <2 x float> } %51, 1
  %54 = fsub <2 x float> %52, %48
  %55 = fadd <2 x float> %48, %53
  %56 = getelementptr inbounds i8, ptr %50, i64 48
  store <2 x float> %54, ptr %56, align 8
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %50, i64 56
  store <2 x float> %55, ptr %.sroa.11.0..sroa_idx, align 8
  %57 = getelementptr inbounds i8, ptr %50, i64 64
  %58 = load <2 x float>, ptr %57, align 8
  %59 = getelementptr inbounds i8, ptr %50, i64 72
  %60 = load <2 x float>, ptr %59, align 8
  %61 = tail call zeroext i1 @b2AABB_Contains(<2 x float> %58, <2 x float> %60, <2 x float> %54, <2 x float> %55)
  br i1 %61, label %68, label %62

62:                                               ; preds = %49
  %63 = fsub <2 x float> %54, %46
  %64 = fadd <2 x float> %46, %55
  store <2 x float> %63, ptr %57, align 8
  store <2 x float> %64, ptr %59, align 8
  %65 = getelementptr inbounds i8, ptr %50, i64 88
  %66 = load i32, ptr %65, align 8, !tbaa !29
  %.not76 = icmp eq i32 %66, -1
  br i1 %.not76, label %68, label %67

67:                                               ; preds = %62
  tail call void @b2BroadPhase_MoveProxy(ptr noundef nonnull %38, i32 noundef %66, <2 x float> %63, <2 x float> %64) #6
  br label %68

68:                                               ; preds = %62, %67, %49
  %69 = getelementptr inbounds i8, ptr %50, i64 12
  %.0 = load i32, ptr %69, align 4, !tbaa !27
  %.not75 = icmp eq i32 %.0, -1
  br i1 %.not75, label %._crit_edge, label %49, !llvm.loop !33

._crit_edge:                                      ; preds = %68, %27
  ret void
}

declare { <2 x float>, <2 x float> } @b2ComputeShapeAABB(ptr noundef, <2 x float>, <2 x float>) local_unnamed_addr #1

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

declare void @b2BroadPhase_MoveProxy(ptr noundef, i32 noundef, <2 x float>, <2 x float>) local_unnamed_addr #1

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { cold noreturn nounwind memory(inaccessiblemem: write) }
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 = { 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 #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, !24, i64 1799}
!6 = !{!"b2World", !7, i64 0, !13, i64 40, !16, i64 336, !17, i64 1008, !12, i64 1032, !17, i64 1048, !12, i64 1072, !17, i64 1088, !12, i64 1112, !17, i64 1128, !12, i64 1152, !17, i64 1168, !12, i64 1192, !17, i64 1208, !17, i64 1232, !12, i64 1256, !12, i64 1272, !12, i64 1288, !12, i64 1304, !12, i64 1320, !12, i64 1336, !12, i64 1352, !12, i64 1368, !9, i64 1384, !9, i64 1416, !11, i64 1448, !12, i64 1456, !18, i64 1472, !18, i64 1488, !18, i64 1504, !18, i64 1520, !19, i64 1536, !11, i64 1544, !20, i64 1548, !21, i64 1556, !21, i64 1560, !21, i64 1564, !21, i64 1568, !21, i64 1572, !21, i64 1576, !21, i64 1580, !21, i64 1584, !8, i64 1592, !8, i64 1600, !22, i64 1608, !23, i64 1612, !8, i64 1704, !8, i64 1712, !8, i64 1720, !8, i64 1728, !11, i64 1736, !8, i64 1744, !8, i64 1752, !8, i64 1760, !8, i64 1768, !8, i64 1776, !21, i64 1784, !11, i64 1788, !11, i64 1792, !22, i64 1796, !24, i64 1798, !24, i64 1799, !24, i64 1800, !24, i64 1801, !24, i64 1802, !24, i64 1803}
!7 = !{!"b2ArenaAllocator", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"", !8, i64 0, !11, i64 8, !11, i64 12}
!13 = !{!"b2BroadPhase", !9, i64 0, !11, i64 216, !14, i64 224, !12, i64 240, !8, i64 256, !8, i64 264, !11, i64 272, !15, i64 276, !14, i64 280}
!14 = !{!"b2HashSet", !8, i64 0, !11, i64 8, !11, i64 12}
!15 = !{!"b2AtomicInt", !11, i64 0}
!16 = !{!"b2ConstraintGraph", !9, i64 0}
!17 = !{!"b2IdPool", !12, i64 0, !11, i64 16}
!18 = !{!"b2BitSet", !8, i64 0, !11, i64 8, !11, i64 12}
!19 = !{!"long", !9, i64 0}
!20 = !{!"b2Vec2", !21, i64 0, !21, i64 4}
!21 = !{!"float", !9, i64 0}
!22 = !{!"short", !9, i64 0}
!23 = !{!"b2Profile", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !21, i64 40, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !21, i64 60, !21, i64 64, !21, i64 68, !21, i64 72, !21, i64 76, !21, i64 80, !21, i64 84}
!24 = !{!"_Bool", !9, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!11, !11, i64 0}
!28 = !{!21, !21, i64 0}
!29 = !{!30, !11, i64 88}
!30 = !{!"b2Shape", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !21, i64 40, !11, i64 44, !31, i64 48, !31, i64 64, !20, i64 80, !11, i64 88, !32, i64 96, !8, i64 120, !11, i64 128, !9, i64 132, !22, i64 276, !24, i64 278, !24, i64 279, !24, i64 280, !24, i64 281, !24, i64 282}
!31 = !{!"b2AABB", !20, i64 0, !20, i64 8}
!32 = !{!"b2Filter", !19, i64 0, !19, i64 8, !11, i64 16}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass