; LLVM IR from erincatto/box2d :: shared (benchmarks)

; 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.SpinnerData = type { %struct.b2JointId }
%struct.b2JointId = type { i32, i16, i16 }
%struct.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2Circle = type { %struct.b2Vec2, float }
%struct.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2RevoluteJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float, i8, float, float, float, i8, ptr, i32 }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2Rot = type { float, float }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2WorldId = type { i16, i16 }
%struct.b2ChainDef = type { ptr, ptr, i32, ptr, i32, %struct.b2Filter, i8, i8, i32 }
%struct.b2ChainId = type { i32, i16, i16 }
%struct.b2ShapeId = type { i32, i16, i16 }

@__const.CreateSpinner.p = external hidden unnamed_addr constant %struct.b2Vec2, align 4
@g_spinnerData = external dso_local global %struct.SpinnerData, align 4
@__const.CreateSpinner.capsule = external hidden unnamed_addr constant %struct.b2Capsule, align 4
@__const.CreateSpinner.circle = external hidden unnamed_addr constant %struct.b2Circle, align 4

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

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) #1

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

declare void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8) #1

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) #1

declare i64 @b2CreateBody(i32, ptr noundef) #1

declare i64 @b2CreateCircleShape(i64, ptr noundef, ptr noundef) #1

declare i64 @b2CreateRevoluteJoint(i32, ptr noundef) #1

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

declare i64 @b2CreatePolygonShape(i64, ptr noundef, ptr noundef) #1

declare void @b2MakeSquare(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
define dso_local void @CreateSpinner(i32 %0) #4 {
  %2 = alloca %struct.b2WorldId, align 2
  %3 = alloca %struct.b2BodyId, align 4
  %4 = alloca %struct.b2BodyDef, align 8
  %5 = alloca %struct.b2BodyId, align 4
  %6 = alloca [360 x %struct.b2Vec2], align 16
  %7 = alloca %struct.b2Rot, align 4
  %8 = alloca %struct.b2Vec2, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.b2Vec2, align 4
  %11 = alloca %struct.b2Vec2, align 4
  %12 = alloca %struct.b2SurfaceMaterial, align 4
  %13 = alloca %struct.b2ChainDef, align 8
  %14 = alloca %struct.b2ChainId, align 4
  %15 = alloca %struct.b2BodyDef, align 8
  %16 = alloca %struct.b2Vec2, align 4
  %17 = alloca %struct.b2BodyId, align 4
  %18 = alloca %struct.b2Polygon, align 4
  %19 = alloca %struct.b2ShapeDef, align 8
  %20 = alloca %struct.b2ShapeId, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %struct.b2RevoluteJointDef, align 8
  %24 = alloca %struct.b2JointId, align 4
  %25 = alloca %struct.b2Capsule, align 4
  %26 = alloca %struct.b2Circle, align 4
  %27 = alloca %struct.b2Polygon, align 4
  %28 = alloca %struct.b2BodyDef, align 8
  %29 = alloca %struct.b2ShapeDef, align 8
  %30 = alloca i32, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca i32, align 4
  %34 = alloca %struct.b2Vec2, align 4
  %35 = alloca %struct.b2BodyId, align 4
  %36 = alloca i32, align 4
  %37 = alloca %struct.b2ShapeId, align 4
  %38 = alloca %struct.b2ShapeId, align 4
  %39 = alloca %struct.b2ShapeId, align 4
  store i32 %0, ptr %2, align 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %4) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %40 = load i32, ptr %2, align 2
  %41 = call i64 @b2CreateBody(i32 %40, ptr noundef %4)
  store i64 %41, ptr %5, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 2880, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %42 = call <2 x float> @b2MakeRot(float noundef 0xBF91DF46A0000000)
  store <2 x float> %42, ptr %7, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.CreateSpinner.p, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !6
  br label %43

43:                                               ; preds = %61, %1
  %44 = load i32, ptr %9, align 4, !tbaa !6
  %45 = icmp slt i32 %44, 360
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %64

47:                                               ; preds = %43
  %48 = load i32, ptr %9, align 4, !tbaa !6
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [360 x %struct.b2Vec2], ptr %6, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.b2Vec2, ptr %10, i32 0, i32 0
  %52 = getelementptr inbounds %struct.b2Vec2, ptr %8, i32 0, i32 0
  %53 = load float, ptr %52, align 4, !tbaa !12
  store float %53, ptr %51, align 4, !tbaa !12
  %54 = getelementptr inbounds %struct.b2Vec2, ptr %10, i32 0, i32 1
  %55 = getelementptr inbounds %struct.b2Vec2, ptr %8, i32 0, i32 1
  %56 = load float, ptr %55, align 4, !tbaa !15
  %57 = fadd float %56, 3.200000e+01
  store float %57, ptr %54, align 4, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %58 = load <2 x float>, ptr %7, align 4
  %59 = load <2 x float>, ptr %8, align 4
  %60 = call <2 x float> @b2RotateVector(<2 x float> %58, <2 x float> %59)
  store <2 x float> %60, ptr %11, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %61

61:                                               ; preds = %47
  %62 = load i32, ptr %9, align 4, !tbaa !6
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %9, align 4, !tbaa !6
  br label %43, !llvm.loop !18

64:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 24, i1 false)
  %65 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %12, i32 0, i32 0
  store float 0x3FB99999A0000000, ptr %65, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 72, ptr %13) #6
  call void @b2DefaultChainDef(ptr dead_on_unwind writable sret(%struct.b2ChainDef) align 8 %13)
  %66 = getelementptr inbounds [360 x %struct.b2Vec2], ptr %6, i64 0, i64 0
  %67 = getelementptr inbounds %struct.b2ChainDef, ptr %13, i32 0, i32 1
  store ptr %66, ptr %67, align 8, !tbaa !22
  %68 = getelementptr inbounds %struct.b2ChainDef, ptr %13, i32 0, i32 2
  store i32 360, ptr %68, align 8, !tbaa !28
  %69 = getelementptr inbounds %struct.b2ChainDef, ptr %13, i32 0, i32 6
  store i8 1, ptr %69, align 8, !tbaa !29
  %70 = getelementptr inbounds %struct.b2ChainDef, ptr %13, i32 0, i32 3
  store ptr %12, ptr %70, align 8, !tbaa !30
  %71 = getelementptr inbounds %struct.b2ChainDef, ptr %13, i32 0, i32 4
  store i32 1, ptr %71, align 8, !tbaa !31
  %72 = load i64, ptr %3, align 4
  %73 = call i64 @b2CreateChain(i64 %72, ptr noundef %13)
  store i64 %73, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #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 2880, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %15) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %15)
  %74 = getelementptr inbounds %struct.b2BodyDef, ptr %15, i32 0, i32 0
  store i32 2, ptr %74, align 8, !tbaa !32
  %75 = getelementptr inbounds %struct.b2BodyDef, ptr %15, i32 0, i32 1
  %76 = getelementptr inbounds %struct.b2Vec2, ptr %16, i32 0, i32 0
  store float 0.000000e+00, ptr %76, align 4, !tbaa !12
  %77 = getelementptr inbounds %struct.b2Vec2, ptr %16, i32 0, i32 1
  store float 1.200000e+01, ptr %77, align 4, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !16
  %78 = getelementptr inbounds %struct.b2BodyDef, ptr %15, i32 0, i32 11
  store i8 0, ptr %78, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %79 = load i32, ptr %2, align 2
  %80 = call i64 @b2CreateBody(i32 %79, ptr noundef %15)
  store i64 %80, ptr %17, align 4
  call void @llvm.lifetime.start.p0(i64 144, ptr %18) #6
  call void @b2MakeRoundedBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %18, float noundef 0x3FD99999A0000000, float noundef 2.000000e+01, float noundef 0x3FC99999A0000000)
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #6
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %19)
  %81 = getelementptr inbounds %struct.b2ShapeDef, ptr %19, i32 0, i32 1
  %82 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %81, i32 0, i32 0
  store float 0.000000e+00, ptr %82, align 8, !tbaa !36
  %83 = load i64, ptr %17, align 4
  %84 = call i64 @b2CreatePolygonShape(i64 %83, ptr noundef %19, ptr noundef %18)
  store i64 %84, ptr %20, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store float 5.000000e+00, ptr %21, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store float 4.000000e+04, ptr %22, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #6
  call void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8 %23)
  %85 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %23, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !5
  %86 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %23, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %86, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !5
  %87 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %23, i32 0, i32 2
  %88 = getelementptr inbounds %struct.b2BodyDef, ptr %15, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %87, ptr align 4 %88, i64 8, i1 false), !tbaa.struct !16
  %89 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %23, i32 0, i32 11
  store i8 1, ptr %89, align 4, !tbaa !38
  %90 = load float, ptr %21, align 4, !tbaa !17
  %91 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %23, i32 0, i32 13
  store float %90, ptr %91, align 4, !tbaa !41
  %92 = load float, ptr %22, align 4, !tbaa !17
  %93 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %23, i32 0, i32 12
  store float %92, ptr %93, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %94 = load i32, ptr %2, align 2
  %95 = call i64 @b2CreateRevoluteJoint(i32 %94, ptr noundef %23)
  store i64 %95, ptr %24, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @g_spinnerData, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 96, 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 80, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 20, ptr %25) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 @__const.CreateSpinner.capsule, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 @__const.CreateSpinner.circle, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 144, ptr %27) #6
  call void @b2MakeSquare(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %27, float noundef 0x3FD6666660000000)
  call void @llvm.lifetime.start.p0(i64 80, ptr %28) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %28)
  %96 = getelementptr inbounds %struct.b2BodyDef, ptr %28, i32 0, i32 0
  store i32 2, ptr %96, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 80, ptr %29) #6
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %29)
  %97 = getelementptr inbounds %struct.b2ShapeDef, ptr %29, i32 0, i32 1
  %98 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %97, i32 0, i32 0
  store float 0x3FB99999A0000000, ptr %98, align 8, !tbaa !36
  %99 = getelementptr inbounds %struct.b2ShapeDef, ptr %29, i32 0, i32 1
  %100 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %99, i32 0, i32 1
  store float 0x3FB99999A0000000, ptr %100, align 4, !tbaa !43
  %101 = getelementptr inbounds %struct.b2ShapeDef, ptr %29, i32 0, i32 2
  store float 2.500000e-01, ptr %101, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store i32 499, ptr %30, align 4, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store float -2.400000e+01, ptr %31, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store float 2.000000e+00, ptr %32, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store i32 0, ptr %33, align 4, !tbaa !6
  br label %102

102:                                              ; preds = %145, %64
  %103 = load i32, ptr %33, align 4, !tbaa !6
  %104 = load i32, ptr %30, align 4, !tbaa !6
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %148

107:                                              ; preds = %102
  %108 = getelementptr inbounds %struct.b2BodyDef, ptr %28, i32 0, i32 1
  %109 = getelementptr inbounds %struct.b2Vec2, ptr %34, i32 0, i32 0
  %110 = load float, ptr %31, align 4, !tbaa !17
  store float %110, ptr %109, align 4, !tbaa !12
  %111 = getelementptr inbounds %struct.b2Vec2, ptr %34, i32 0, i32 1
  %112 = load float, ptr %32, align 4, !tbaa !17
  store float %112, ptr %111, align 4, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %113 = load i32, ptr %2, align 2
  %114 = call i64 @b2CreateBody(i32 %113, ptr noundef %28)
  store i64 %114, ptr %35, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %115 = load i32, ptr %33, align 4, !tbaa !6
  %116 = srem i32 %115, 3
  store i32 %116, ptr %36, align 4, !tbaa !6
  %117 = load i32, ptr %36, align 4, !tbaa !6
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %122

119:                                              ; preds = %107
  %120 = load i64, ptr %35, align 4
  %121 = call i64 @b2CreateCapsuleShape(i64 %120, ptr noundef %29, ptr noundef %25)
  store i64 %121, ptr %37, align 4
  br label %136

122:                                              ; preds = %107
  %123 = load i32, ptr %36, align 4, !tbaa !6
  %124 = icmp eq i32 %123, 1
  br i1 %124, label %125, label %128

125:                                              ; preds = %122
  %126 = load i64, ptr %35, align 4
  %127 = call i64 @b2CreateCircleShape(i64 %126, ptr noundef %29, ptr noundef %26)
  store i64 %127, ptr %38, align 4
  br label %135

128:                                              ; preds = %122
  %129 = load i32, ptr %36, align 4, !tbaa !6
  %130 = icmp eq i32 %129, 2
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = load i64, ptr %35, align 4
  %133 = call i64 @b2CreatePolygonShape(i64 %132, ptr noundef %29, ptr noundef %27)
  store i64 %133, ptr %39, align 4
  br label %134

134:                                              ; preds = %131, %128
  br label %135

135:                                              ; preds = %134, %125
  br label %136

136:                                              ; preds = %135, %119
  %137 = load float, ptr %31, align 4, !tbaa !17
  %138 = fadd float %137, 1.000000e+00
  store float %138, ptr %31, align 4, !tbaa !17
  %139 = load float, ptr %31, align 4, !tbaa !17
  %140 = fcmp ogt float %139, 2.400000e+01
  br i1 %140, label %141, label %144

141:                                              ; preds = %136
  store float -2.400000e+01, ptr %31, align 4, !tbaa !17
  %142 = load float, ptr %32, align 4, !tbaa !17
  %143 = fadd float %142, 1.000000e+00
  store float %143, ptr %32, align 4, !tbaa !17
  br label %144

144:                                              ; preds = %141, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %33, align 4, !tbaa !6
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %33, align 4, !tbaa !6
  br label %102, !llvm.loop !45

148:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void
}

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

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

declare void @b2DefaultChainDef(ptr dead_on_unwind writable sret(%struct.b2ChainDef) align 8) #1

declare i64 @b2CreateChain(i64, ptr noundef) #1

declare void @b2MakeRoundedBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef, float noundef) #1

declare i64 @b2CreateCapsuleShape(i64, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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"="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 = !{i64 0, i64 4, !6, i64 4, i64 2, !10, i64 6, i64 2, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"b2Vec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !8, i64 0}
!15 = !{!13, !14, i64 4}
!16 = !{i64 0, i64 4, !17, i64 4, i64 4, !17}
!17 = !{!14, !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !14, i64 0}
!21 = !{!"b2SurfaceMaterial", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !7, i64 16, !7, i64 20}
!22 = !{!23, !24, i64 8}
!23 = !{!"b2ChainDef", !24, i64 0, !24, i64 8, !7, i64 16, !24, i64 24, !7, i64 32, !25, i64 40, !27, i64 64, !27, i64 65, !7, i64 68}
!24 = !{!"any pointer", !8, i64 0}
!25 = !{!"b2Filter", !26, i64 0, !26, i64 8, !7, i64 16}
!26 = !{!"long", !8, i64 0}
!27 = !{!"_Bool", !8, i64 0}
!28 = !{!23, !7, i64 16}
!29 = !{!23, !27, i64 64}
!30 = !{!23, !24, i64 24}
!31 = !{!23, !7, i64 32}
!32 = !{!33, !7, i64 0}
!33 = !{!"b2BodyDef", !7, i64 0, !13, i64 4, !34, i64 12, !13, i64 20, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !24, i64 48, !24, i64 56, !27, i64 64, !27, i64 65, !27, i64 66, !27, i64 67, !27, i64 68, !27, i64 69, !7, i64 72}
!34 = !{!"b2Rot", !14, i64 0, !14, i64 4}
!35 = !{!33, !27, i64 64}
!36 = !{!37, !14, i64 8}
!37 = !{!"b2ShapeDef", !24, i64 0, !21, i64 8, !14, i64 32, !25, i64 40, !27, i64 64, !27, i64 65, !27, i64 66, !27, i64 67, !27, i64 68, !27, i64 69, !27, i64 70, !7, i64 72}
!38 = !{!39, !27, i64 60}
!39 = !{!"b2RevoluteJointDef", !40, i64 0, !40, i64 8, !13, i64 16, !13, i64 24, !14, i64 32, !27, i64 36, !14, i64 40, !14, i64 44, !27, i64 48, !14, i64 52, !14, i64 56, !27, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !27, i64 76, !24, i64 80, !7, i64 88}
!40 = !{!"b2BodyId", !7, i64 0, !11, i64 4, !11, i64 6}
!41 = !{!39, !14, i64 68}
!42 = !{!39, !14, i64 64}
!43 = !{!37, !14, i64 12}
!44 = !{!37, !14, i64 32}
!45 = distinct !{!45, !19}


; 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 }
%struct.SpinnerData = type { %struct.b2JointId }
%struct.b2JointId = type { i32, i16, i16 }
%struct.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2Circle = type { %struct.b2Vec2, float }
%struct.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2RevoluteJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float, i8, float, float, float, i8, ptr, i32 }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2Rot = type { float, float }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2ChainDef = type { ptr, ptr, i32, ptr, i32, %struct.b2Filter, i8, i8, i32 }

@__const.CreateSpinner.p = external hidden unnamed_addr constant %struct.b2Vec2, align 4
@g_spinnerData = external dso_local local_unnamed_addr global %struct.SpinnerData, align 4
@__const.CreateSpinner.capsule = external hidden unnamed_addr constant %struct.b2Capsule, align 4
@__const.CreateSpinner.circle = external hidden unnamed_addr constant %struct.b2Circle, align 4

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

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8) local_unnamed_addr #1

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) local_unnamed_addr #1

declare i64 @b2CreateBody(i32, ptr noundef) local_unnamed_addr #1

declare i64 @b2CreateCircleShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @b2CreateRevoluteJoint(i32, ptr noundef) local_unnamed_addr #1

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

declare i64 @b2CreatePolygonShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @b2MakeSquare(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
define dso_local void @CreateSpinner(i32 %0) local_unnamed_addr #4 {
  %2 = alloca %struct.b2BodyDef, align 8
  %3 = alloca [360 x %struct.b2Vec2], align 16
  %4 = alloca %struct.b2SurfaceMaterial, align 4
  %5 = alloca %struct.b2ChainDef, align 8
  %6 = alloca %struct.b2BodyDef, align 8
  %7 = alloca %struct.b2Polygon, align 4
  %8 = alloca %struct.b2ShapeDef, align 8
  %9 = alloca %struct.b2RevoluteJointDef, align 8
  %10 = alloca %struct.b2Capsule, align 4
  %11 = alloca %struct.b2Circle, align 4
  %12 = alloca %struct.b2Polygon, align 4
  %13 = alloca %struct.b2BodyDef, align 8
  %14 = alloca %struct.b2ShapeDef, align 8
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %2) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %2) #6
  %15 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 2880, ptr nonnull %3) #6
  %16 = call <2 x float> @b2MakeRot(float noundef 0xBF91DF46A0000000)
  %.sroa.031.0.copyload = load <2 x float>, ptr @__const.CreateSpinner.p, align 4
  br label %39

17:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  %18 = getelementptr inbounds i8, ptr %4, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %18, i8 0, i64 20, i1 false)
  store float 0x3FB99999A0000000, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #6
  call void @b2DefaultChainDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ChainDef) align 8 %5) #6
  %19 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %3, ptr %19, align 8, !tbaa !11
  %20 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 360, ptr %20, align 8, !tbaa !17
  %21 = getelementptr inbounds i8, ptr %5, i64 64
  store i8 1, ptr %21, align 8, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr %4, ptr %22, align 8, !tbaa !19
  %23 = getelementptr inbounds i8, ptr %5, i64 32
  store i32 1, ptr %23, align 8, !tbaa !20
  %24 = call i64 @b2CreateChain(i64 %15, ptr noundef nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 2880, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %6) #6
  store i32 2, ptr %6, align 8, !tbaa !21
  %25 = getelementptr inbounds i8, ptr %6, i64 4
  store <2 x float> <float 0.000000e+00, float 1.200000e+01>, ptr %25, align 4, !tbaa !25
  %26 = getelementptr inbounds i8, ptr %6, i64 64
  store i8 0, ptr %26, align 8, !tbaa !26
  %27 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %7) #6
  call void @b2MakeRoundedBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %7, float noundef 0x3FD99999A0000000, float noundef 2.000000e+01, float noundef 0x3FC99999A0000000) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %8) #6
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %8) #6
  %28 = getelementptr inbounds i8, ptr %8, i64 8
  store float 0.000000e+00, ptr %28, align 8, !tbaa !27
  %29 = call i64 @b2CreatePolygonShape(i64 %27, ptr noundef nonnull %8, ptr noundef nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #6
  call void @b2DefaultRevoluteJointDef(ptr dead_on_unwind nonnull writable sret(%struct.b2RevoluteJointDef) align 8 %9) #6
  store i64 %15, ptr %9, align 8
  %30 = getelementptr inbounds i8, ptr %9, i64 8
  store i64 %27, ptr %30, align 8
  %31 = getelementptr inbounds i8, ptr %9, i64 16
  %32 = load i64, ptr %25, align 4
  store i64 %32, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %9, i64 60
  store i8 1, ptr %33, align 4, !tbaa !29
  %34 = getelementptr inbounds i8, ptr %9, i64 64
  store <2 x float> <float 4.000000e+04, float 5.000000e+00>, ptr %34, align 8, !tbaa !25
  %35 = call i64 @b2CreateRevoluteJoint(i32 %0, ptr noundef nonnull %9) #6
  store i64 %35, ptr @g_spinnerData, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %10, ptr noundef nonnull align 4 dereferenceable(20) @__const.CreateSpinner.capsule, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) @__const.CreateSpinner.circle, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %12) #6
  call void @b2MakeSquare(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %12, float noundef 0x3FD6666660000000) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %13) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %13) #6
  store i32 2, ptr %13, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #6
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %14) #6
  %36 = getelementptr inbounds i8, ptr %14, i64 8
  store <2 x float> <float 0x3FB99999A0000000, float 0x3FB99999A0000000>, ptr %36, align 8, !tbaa !25
  %37 = getelementptr inbounds i8, ptr %14, i64 32
  store float 2.500000e-01, ptr %37, align 8, !tbaa !33
  %38 = getelementptr inbounds i8, ptr %13, i64 4
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  br label %44

39:                                               ; preds = %1, %39
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %39 ]
  %.sroa.031.047 = phi <2 x float> [ %.sroa.031.0.copyload, %1 ], [ %42, %39 ]
  %40 = getelementptr inbounds [360 x %struct.b2Vec2], ptr %3, i64 0, i64 %indvars.iv
  %.sroa.031.0.vec.extract = extractelement <2 x float> %.sroa.031.047, i64 0
  %.sroa.031.4.vec.extract = extractelement <2 x float> %.sroa.031.047, i64 1
  %41 = fadd float %.sroa.031.4.vec.extract, 3.200000e+01
  store float %.sroa.031.0.vec.extract, ptr %40, align 8, !tbaa !25
  %.sroa.227.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 4
  store float %41, ptr %.sroa.227.0..sroa_idx, align 4, !tbaa !25
  %42 = call <2 x float> @b2RotateVector(<2 x float> %16, <2 x float> %.sroa.031.047)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 360
  br i1 %exitcond.not, label %17, label %39, !llvm.loop !34

43:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %10) #6
  ret void

44:                                               ; preds = %17, %53
  %.04050 = phi float [ -2.400000e+01, %17 ], [ %.1, %53 ]
  %.04149 = phi float [ 2.000000e+00, %17 ], [ %.142, %53 ]
  %.04348 = phi i32 [ 0, %17 ], [ %57, %53 ]
  store float %.04050, ptr %38, align 4, !tbaa !25
  store float %.04149, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !25
  %45 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %13) #6
  %.lhs.trunc = trunc nuw i32 %.04348 to i16
  %46 = urem i16 %.lhs.trunc, 3
  switch i16 %46, label %default.unreachable [
    i16 0, label %47
    i16 1, label %49
    i16 2, label %51
  ]

47:                                               ; preds = %44
  %48 = call i64 @b2CreateCapsuleShape(i64 %45, ptr noundef nonnull %14, ptr noundef nonnull %10) #6
  br label %53

49:                                               ; preds = %44
  %50 = call i64 @b2CreateCircleShape(i64 %45, ptr noundef nonnull %14, ptr noundef nonnull %11) #6
  br label %53

51:                                               ; preds = %44
  %52 = call i64 @b2CreatePolygonShape(i64 %45, ptr noundef nonnull %14, ptr noundef nonnull %12) #6
  br label %53

default.unreachable:                              ; preds = %44
  unreachable

53:                                               ; preds = %49, %51, %47
  %54 = fadd float %.04050, 1.000000e+00
  %55 = fcmp ogt float %54, 2.400000e+01
  %56 = fadd float %.04149, 1.000000e+00
  %.142 = select i1 %55, float %56, float %.04149
  %.1 = select i1 %55, float -2.400000e+01, float %54
  %57 = add nuw nsw i32 %.04348, 1
  %exitcond52.not = icmp eq i32 %57, 499
  br i1 %exitcond52.not, label %43, label %44, !llvm.loop !36
}

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

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

declare void @b2DefaultChainDef(ptr dead_on_unwind writable sret(%struct.b2ChainDef) align 8) local_unnamed_addr #1

declare i64 @b2CreateChain(i64, ptr noundef) local_unnamed_addr #1

declare void @b2MakeRoundedBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef, float noundef) local_unnamed_addr #1

declare i64 @b2CreateCapsuleShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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"="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, !7, i64 0}
!6 = !{!"b2SurfaceMaterial", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"b2ChainDef", !13, i64 0, !13, i64 8, !10, i64 16, !13, i64 24, !10, i64 32, !14, i64 40, !16, i64 64, !16, i64 65, !10, i64 68}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"b2Filter", !15, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!"_Bool", !8, i64 0}
!17 = !{!12, !10, i64 16}
!18 = !{!12, !16, i64 64}
!19 = !{!12, !13, i64 24}
!20 = !{!12, !10, i64 32}
!21 = !{!22, !10, i64 0}
!22 = !{!"b2BodyDef", !10, i64 0, !23, i64 4, !24, i64 12, !23, i64 20, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !13, i64 48, !13, i64 56, !16, i64 64, !16, i64 65, !16, i64 66, !16, i64 67, !16, i64 68, !16, i64 69, !10, i64 72}
!23 = !{!"b2Vec2", !7, i64 0, !7, i64 4}
!24 = !{!"b2Rot", !7, i64 0, !7, i64 4}
!25 = !{!7, !7, i64 0}
!26 = !{!22, !16, i64 64}
!27 = !{!28, !7, i64 8}
!28 = !{!"b2ShapeDef", !13, i64 0, !6, i64 8, !7, i64 32, !14, i64 40, !16, i64 64, !16, i64 65, !16, i64 66, !16, i64 67, !16, i64 68, !16, i64 69, !16, i64 70, !10, i64 72}
!29 = !{!30, !16, i64 60}
!30 = !{!"b2RevoluteJointDef", !31, i64 0, !31, i64 8, !23, i64 16, !23, i64 24, !7, i64 32, !16, i64 36, !7, i64 40, !7, i64 44, !16, i64 48, !7, i64 52, !7, i64 56, !16, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !16, i64 76, !13, i64 80, !10, i64 88}
!31 = !{!"b2BodyId", !10, i64 0, !32, i64 4, !32, i64 6}
!32 = !{!"short", !8, i64 0}
!33 = !{!28, !7, i64 32}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass