; 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.b2Rot = type { float, 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.b2Vec2 = type { float, float }
%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.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2WorldId = type { i16, i16 }
%struct.b2ShapeId = type { i32, i16, i16 }
%struct.b2JointId = type { i32, i16, i16 }

@b2Rot_identity = external hidden constant %struct.b2Rot, 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 @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 void @b2MakeBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef) #1

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

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

declare void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef, <2 x float>, <2 x float>) #1

; Function Attrs: nounwind uwtable
define dso_local void @CreateTumbler(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 %struct.b2BodyDef, align 8
  %7 = alloca %struct.b2Vec2, align 4
  %8 = alloca %struct.b2BodyId, align 4
  %9 = alloca %struct.b2ShapeDef, align 8
  %10 = alloca %struct.b2Polygon, align 4
  %11 = alloca %struct.b2Polygon, align 4
  %12 = alloca %struct.b2Vec2, align 4
  %13 = alloca %struct.b2ShapeId, align 4
  %14 = alloca %struct.b2Polygon, align 4
  %15 = alloca %struct.b2Vec2, align 4
  %16 = alloca %struct.b2ShapeId, align 4
  %17 = alloca %struct.b2Polygon, align 4
  %18 = alloca %struct.b2Vec2, align 4
  %19 = alloca %struct.b2ShapeId, align 4
  %20 = alloca %struct.b2Polygon, align 4
  %21 = alloca %struct.b2Vec2, align 4
  %22 = alloca %struct.b2ShapeId, align 4
  %23 = alloca float, align 4
  %24 = alloca %struct.b2RevoluteJointDef, align 8
  %25 = alloca %struct.b2Vec2, align 4
  %26 = alloca %struct.b2Vec2, align 4
  %27 = alloca %struct.b2JointId, align 4
  %28 = alloca i32, align 4
  %29 = alloca %struct.b2Polygon, align 4
  %30 = alloca %struct.b2BodyDef, align 8
  %31 = alloca %struct.b2ShapeDef, align 8
  %32 = alloca float, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca float, align 4
  %36 = alloca i32, align 4
  %37 = alloca %struct.b2Vec2, align 4
  %38 = alloca %struct.b2BodyId, 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) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %4) #5
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %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) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %6) #5
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %6)
  %42 = getelementptr inbounds %struct.b2BodyDef, ptr %6, i32 0, i32 0
  store i32 2, ptr %42, align 8, !tbaa !12
  %43 = getelementptr inbounds %struct.b2BodyDef, ptr %6, i32 0, i32 1
  %44 = getelementptr inbounds %struct.b2Vec2, ptr %7, i32 0, i32 0
  store float 0.000000e+00, ptr %44, align 4, !tbaa !19
  %45 = getelementptr inbounds %struct.b2Vec2, ptr %7, i32 0, i32 1
  store float 1.000000e+01, ptr %45, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %46 = load i32, ptr %2, align 2
  %47 = call i64 @b2CreateBody(i32 %46, ptr noundef %6)
  store i64 %47, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 80, ptr %9) #5
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %9)
  %48 = getelementptr inbounds %struct.b2ShapeDef, ptr %9, i32 0, i32 2
  store float 5.000000e+01, ptr %48, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 144, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 144, ptr %11) #5
  %49 = getelementptr inbounds %struct.b2Vec2, ptr %12, i32 0, i32 0
  store float 1.000000e+01, ptr %49, align 4, !tbaa !19
  %50 = getelementptr inbounds %struct.b2Vec2, ptr %12, i32 0, i32 1
  store float 0.000000e+00, ptr %50, align 4, !tbaa !20
  %51 = load <2 x float>, ptr %12, align 4
  %52 = load <2 x float>, ptr @b2Rot_identity, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %11, float noundef 5.000000e-01, float noundef 1.000000e+01, <2 x float> %51, <2 x float> %52)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %11, i64 144, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 144, ptr %11) #5
  %53 = load i64, ptr %8, align 4
  %54 = call i64 @b2CreatePolygonShape(i64 %53, ptr noundef %9, ptr noundef %10)
  store i64 %54, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #5
  %55 = getelementptr inbounds %struct.b2Vec2, ptr %15, i32 0, i32 0
  store float -1.000000e+01, ptr %55, align 4, !tbaa !19
  %56 = getelementptr inbounds %struct.b2Vec2, ptr %15, i32 0, i32 1
  store float 0.000000e+00, ptr %56, align 4, !tbaa !20
  %57 = load <2 x float>, ptr %15, align 4
  %58 = load <2 x float>, ptr @b2Rot_identity, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %14, float noundef 5.000000e-01, float noundef 1.000000e+01, <2 x float> %57, <2 x float> %58)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %14, i64 144, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #5
  %59 = load i64, ptr %8, align 4
  %60 = call i64 @b2CreatePolygonShape(i64 %59, ptr noundef %9, ptr noundef %10)
  store i64 %60, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 144, ptr %17) #5
  %61 = getelementptr inbounds %struct.b2Vec2, ptr %18, i32 0, i32 0
  store float 0.000000e+00, ptr %61, align 4, !tbaa !19
  %62 = getelementptr inbounds %struct.b2Vec2, ptr %18, i32 0, i32 1
  store float 1.000000e+01, ptr %62, align 4, !tbaa !20
  %63 = load <2 x float>, ptr %18, align 4
  %64 = load <2 x float>, ptr @b2Rot_identity, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %17, float noundef 1.000000e+01, float noundef 5.000000e-01, <2 x float> %63, <2 x float> %64)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %17, i64 144, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 144, ptr %17) #5
  %65 = load i64, ptr %8, align 4
  %66 = call i64 @b2CreatePolygonShape(i64 %65, ptr noundef %9, ptr noundef %10)
  store i64 %66, ptr %19, align 4
  call void @llvm.lifetime.start.p0(i64 144, ptr %20) #5
  %67 = getelementptr inbounds %struct.b2Vec2, ptr %21, i32 0, i32 0
  store float 0.000000e+00, ptr %67, align 4, !tbaa !19
  %68 = getelementptr inbounds %struct.b2Vec2, ptr %21, i32 0, i32 1
  store float -1.000000e+01, ptr %68, align 4, !tbaa !20
  %69 = load <2 x float>, ptr %21, align 4
  %70 = load <2 x float>, ptr @b2Rot_identity, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %20, float noundef 1.000000e+01, float noundef 5.000000e-01, <2 x float> %69, <2 x float> %70)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %20, i64 144, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #5
  %71 = load i64, ptr %8, align 4
  %72 = call i64 @b2CreatePolygonShape(i64 %71, ptr noundef %9, ptr noundef %10)
  store i64 %72, ptr %22, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store float 2.500000e+01, ptr %23, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 96, ptr %24) #5
  call void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8 %24)
  %73 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %73, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !5
  %74 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %74, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !5
  %75 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 2
  %76 = getelementptr inbounds %struct.b2Vec2, ptr %25, i32 0, i32 0
  store float 0.000000e+00, ptr %76, align 4, !tbaa !19
  %77 = getelementptr inbounds %struct.b2Vec2, ptr %25, i32 0, i32 1
  store float 1.000000e+01, ptr %77, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %75, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !21
  %78 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 3
  %79 = getelementptr inbounds %struct.b2Vec2, ptr %26, i32 0, i32 0
  store float 0.000000e+00, ptr %79, align 4, !tbaa !19
  %80 = getelementptr inbounds %struct.b2Vec2, ptr %26, i32 0, i32 1
  store float 0.000000e+00, ptr %80, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %78, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !21
  %81 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 4
  store float 0.000000e+00, ptr %81, align 8, !tbaa !30
  %82 = load float, ptr %23, align 4, !tbaa !22
  %83 = fmul float 0x3F91DF46A0000000, %82
  %84 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 13
  store float %83, ptr %84, align 4, !tbaa !33
  %85 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 12
  store float 1.000000e+08, ptr %85, align 8, !tbaa !34
  %86 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %24, i32 0, i32 11
  store i8 1, ptr %86, align 4, !tbaa !35
  %87 = load i32, ptr %2, align 2
  %88 = call i64 @b2CreateRevoluteJoint(i32 %87, ptr noundef %24)
  store i64 %88, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 20, ptr %28, align 4, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 144, ptr %29) #5
  call void @b2MakeBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %29, float noundef 1.250000e-01, float noundef 1.250000e-01)
  call void @llvm.lifetime.start.p0(i64 80, ptr %30) #5
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %30)
  %89 = getelementptr inbounds %struct.b2BodyDef, ptr %30, i32 0, i32 0
  store i32 2, ptr %89, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 80, ptr %31) #5
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %31)
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %90 = load i32, ptr %28, align 4, !tbaa !6
  %91 = sitofp i32 %90 to float
  %92 = call float @llvm.fmuladd.f32(float 0xBFC99999A0000000, float %91, float 1.000000e+01)
  store float %92, ptr %32, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !6
  br label %93

93:                                               ; preds = %125, %1
  %94 = load i32, ptr %33, align 4, !tbaa !6
  %95 = load i32, ptr %28, align 4, !tbaa !6
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  store i32 2, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %128

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %99 = load i32, ptr %28, align 4, !tbaa !6
  %100 = sitofp i32 %99 to float
  %101 = fmul float 0xBFC99999A0000000, %100
  store float %101, ptr %35, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 0, ptr %36, align 4, !tbaa !6
  br label %102

102:                                              ; preds = %119, %98
  %103 = load i32, ptr %36, align 4, !tbaa !6
  %104 = load i32, ptr %28, align 4, !tbaa !6
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  store i32 5, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %122

107:                                              ; preds = %102
  %108 = getelementptr inbounds %struct.b2BodyDef, ptr %30, i32 0, i32 1
  %109 = getelementptr inbounds %struct.b2Vec2, ptr %37, i32 0, i32 0
  %110 = load float, ptr %35, align 4, !tbaa !22
  store float %110, ptr %109, align 4, !tbaa !19
  %111 = getelementptr inbounds %struct.b2Vec2, ptr %37, i32 0, i32 1
  %112 = load float, ptr %32, align 4, !tbaa !22
  store float %112, ptr %111, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %113 = load i32, ptr %2, align 2
  %114 = call i64 @b2CreateBody(i32 %113, ptr noundef %30)
  store i64 %114, ptr %38, align 4
  %115 = load i64, ptr %38, align 4
  %116 = call i64 @b2CreatePolygonShape(i64 %115, ptr noundef %31, ptr noundef %29)
  store i64 %116, ptr %39, align 4
  %117 = load float, ptr %35, align 4, !tbaa !22
  %118 = fadd float %117, 0x3FD99999A0000000
  store float %118, ptr %35, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %119

119:                                              ; preds = %107
  %120 = load i32, ptr %36, align 4, !tbaa !6
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %36, align 4, !tbaa !6
  br label %102, !llvm.loop !36

122:                                              ; preds = %106
  %123 = load float, ptr %32, align 4, !tbaa !22
  %124 = fadd float %123, 0x3FD99999A0000000
  store float %124, ptr %32, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %125

125:                                              ; preds = %122
  %126 = load i32, ptr %33, align 4, !tbaa !6
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %33, align 4, !tbaa !6
  br label %93, !llvm.loop !38

128:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

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 nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !7, i64 0}
!13 = !{!"b2BodyDef", !7, i64 0, !14, i64 4, !16, i64 12, !14, i64 20, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !17, i64 48, !17, i64 56, !18, i64 64, !18, i64 65, !18, i64 66, !18, i64 67, !18, i64 68, !18, i64 69, !7, i64 72}
!14 = !{!"b2Vec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !8, i64 0}
!16 = !{!"b2Rot", !15, i64 0, !15, i64 4}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!"_Bool", !8, i64 0}
!19 = !{!14, !15, i64 0}
!20 = !{!14, !15, i64 4}
!21 = !{i64 0, i64 4, !22, i64 4, i64 4, !22}
!22 = !{!15, !15, i64 0}
!23 = !{!24, !15, i64 32}
!24 = !{!"b2ShapeDef", !17, i64 0, !25, i64 8, !15, i64 32, !26, i64 40, !18, i64 64, !18, i64 65, !18, i64 66, !18, i64 67, !18, i64 68, !18, i64 69, !18, i64 70, !7, i64 72}
!25 = !{!"b2SurfaceMaterial", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 20}
!26 = !{!"b2Filter", !27, i64 0, !27, i64 8, !7, i64 16}
!27 = !{!"long", !8, i64 0}
!28 = !{i64 0, i64 64, !29, i64 64, i64 64, !29, i64 128, i64 4, !22, i64 132, i64 4, !22, i64 136, i64 4, !22, i64 140, i64 4, !6}
!29 = !{!8, !8, i64 0}
!30 = !{!31, !15, i64 32}
!31 = !{!"b2RevoluteJointDef", !32, i64 0, !32, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !18, i64 36, !15, i64 40, !15, i64 44, !18, i64 48, !15, i64 52, !15, i64 56, !18, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !18, i64 76, !17, i64 80, !7, i64 88}
!32 = !{!"b2BodyId", !7, i64 0, !11, i64 4, !11, i64 6}
!33 = !{!31, !15, i64 68}
!34 = !{!31, !15, i64 64}
!35 = !{!31, !18, i64 60}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}


; 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.b2Rot = type { float, 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.b2Vec2 = type { float, float }
%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.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }

@b2Rot_identity = external hidden local_unnamed_addr constant %struct.b2Rot, 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 @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 void @b2MakeBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef) local_unnamed_addr #1

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

declare void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef, <2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @CreateTumbler(i32 %0) local_unnamed_addr #3 {
  %2 = alloca %struct.b2BodyDef, align 8
  %3 = alloca %struct.b2BodyDef, align 8
  %4 = alloca %struct.b2ShapeDef, align 8
  %5 = alloca %struct.b2Polygon, align 4
  %6 = alloca %struct.b2Polygon, align 4
  %7 = alloca %struct.b2Polygon, align 4
  %8 = alloca %struct.b2Polygon, align 4
  %9 = alloca %struct.b2RevoluteJointDef, align 8
  %10 = alloca %struct.b2Polygon, align 4
  %11 = alloca %struct.b2BodyDef, align 8
  %12 = alloca %struct.b2ShapeDef, align 8
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %2) #4
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %2) #4
  %13 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #4
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %3) #4
  store i32 2, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %3, i64 4
  store <2 x float> <float 0.000000e+00, float 1.000000e+01>, ptr %14, align 4, !tbaa !15
  %15 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #4
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %4) #4
  %16 = getelementptr inbounds i8, ptr %4, i64 32
  store float 5.000000e+01, ptr %16, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #4
  %17 = load <2 x float>, ptr @b2Rot_identity, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %5, float noundef 5.000000e-01, float noundef 1.000000e+01, <2 x float> <float 1.000000e+01, float 0.000000e+00>, <2 x float> %17) #4
  %18 = call i64 @b2CreatePolygonShape(i64 %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %6) #4
  call void @b2MakeOffsetBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %6, float noundef 5.000000e-01, float noundef 1.000000e+01, <2 x float> <float -1.000000e+01, float 0.000000e+00>, <2 x float> %17) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(144) %5, ptr noundef nonnull align 4 dereferenceable(144) %6, i64 144, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #4
  %19 = call i64 @b2CreatePolygonShape(i64 %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %7) #4
  call void @b2MakeOffsetBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %7, float noundef 1.000000e+01, float noundef 5.000000e-01, <2 x float> <float 0.000000e+00, float 1.000000e+01>, <2 x float> %17) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(144) %5, ptr noundef nonnull align 4 dereferenceable(144) %7, i64 144, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #4
  %20 = call i64 @b2CreatePolygonShape(i64 %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %8) #4
  call void @b2MakeOffsetBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %8, float noundef 1.000000e+01, float noundef 5.000000e-01, <2 x float> <float 0.000000e+00, float -1.000000e+01>, <2 x float> %17) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(144) %5, ptr noundef nonnull align 4 dereferenceable(144) %8, i64 144, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #4
  %21 = call i64 @b2CreatePolygonShape(i64 %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #4
  call void @b2DefaultRevoluteJointDef(ptr dead_on_unwind nonnull writable sret(%struct.b2RevoluteJointDef) align 8 %9) #4
  store i64 %13, ptr %9, align 8
  %22 = getelementptr inbounds i8, ptr %9, i64 8
  store i64 %15, ptr %22, align 8
  %23 = getelementptr inbounds i8, ptr %9, i64 16
  store <4 x float> <float 0.000000e+00, float 1.000000e+01, float 0.000000e+00, float 0.000000e+00>, ptr %23, align 8, !tbaa !15
  %24 = getelementptr inbounds i8, ptr %9, i64 32
  store float 0.000000e+00, ptr %24, align 8, !tbaa !24
  %25 = getelementptr inbounds i8, ptr %9, i64 64
  store <2 x float> <float 1.000000e+08, float 0x3FDBECDE60000000>, ptr %25, align 8, !tbaa !15
  %26 = getelementptr inbounds i8, ptr %9, i64 60
  store i8 1, ptr %26, align 4, !tbaa !28
  %27 = call i64 @b2CreateRevoluteJoint(i32 %0, ptr noundef nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %10) #4
  call void @b2MakeBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %10, float noundef 1.250000e-01, float noundef 1.250000e-01) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %11) #4
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %11) #4
  store i32 2, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #4
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %12) #4
  %28 = getelementptr inbounds i8, ptr %11, i64 4
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  br label %.preheader

.preheader:                                       ; preds = %1, %.preheader
  %.04449 = phi i32 [ 0, %1 ], [ %70, %.preheader ]
  %.04548 = phi float [ 6.000000e+00, %1 ], [ %69, %.preheader ]
  store float -4.000000e+00, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %29 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %30 = call i64 @b2CreatePolygonShape(i64 %29, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xC00CCCCCC0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %31 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %32 = call i64 @b2CreatePolygonShape(i64 %31, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xC009999980000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %33 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %34 = call i64 @b2CreatePolygonShape(i64 %33, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xC006666640000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %35 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %36 = call i64 @b2CreatePolygonShape(i64 %35, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xC003333300000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %37 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %38 = call i64 @b2CreatePolygonShape(i64 %37, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xBFFFFFFFA0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %39 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %40 = call i64 @b2CreatePolygonShape(i64 %39, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xBFF9999940000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %41 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %42 = call i64 @b2CreatePolygonShape(i64 %41, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xBFF33332E0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %43 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %44 = call i64 @b2CreatePolygonShape(i64 %43, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xBFE9999900000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %45 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %46 = call i64 @b2CreatePolygonShape(i64 %45, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0xBFD9999860000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %47 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %48 = call i64 @b2CreatePolygonShape(i64 %47, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x3E94000000000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %49 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %50 = call i64 @b2CreatePolygonShape(i64 %49, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x3FD9999AE0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %51 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %52 = call i64 @b2CreatePolygonShape(i64 %51, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x3FE9999A40000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %53 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %54 = call i64 @b2CreatePolygonShape(i64 %53, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x3FF3333380000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %55 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %56 = call i64 @b2CreatePolygonShape(i64 %55, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x3FF99999E0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %57 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %58 = call i64 @b2CreatePolygonShape(i64 %57, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x4000000020000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %59 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %60 = call i64 @b2CreatePolygonShape(i64 %59, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x4003333360000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %61 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %62 = call i64 @b2CreatePolygonShape(i64 %61, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x40066666A0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %63 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %64 = call i64 @b2CreatePolygonShape(i64 %63, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x40099999E0000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %65 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %66 = call i64 @b2CreatePolygonShape(i64 %65, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  store float 0x400CCCCD20000000, ptr %28, align 4, !tbaa !15
  store float %.04548, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %67 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %11) #4
  %68 = call i64 @b2CreatePolygonShape(i64 %67, ptr noundef nonnull %12, ptr noundef nonnull %10) #4
  %69 = fadd float %.04548, 0x3FD99999A0000000
  %70 = add nuw nsw i32 %.04449, 1
  %exitcond.not = icmp eq i32 %70, 20
  br i1 %exitcond.not, label %71, label %.preheader, !llvm.loop !29

71:                                               ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %10) #4
  ret void
}

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 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"b2BodyDef", !7, i64 0, !10, i64 4, !12, i64 12, !10, i64 20, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !13, i64 48, !13, i64 56, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !14, i64 69, !7, i64 72}
!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 = !{!"b2Rot", !11, i64 0, !11, i64 4}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_Bool", !8, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 32}
!17 = !{!"b2ShapeDef", !13, i64 0, !18, i64 8, !11, i64 32, !19, i64 40, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !14, i64 69, !14, i64 70, !7, i64 72}
!18 = !{!"b2SurfaceMaterial", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !7, i64 16, !7, i64 20}
!19 = !{!"b2Filter", !20, i64 0, !20, i64 8, !7, i64 16}
!20 = !{!"long", !8, i64 0}
!21 = !{i64 0, i64 64, !22, i64 64, i64 64, !22, i64 128, i64 4, !15, i64 132, i64 4, !15, i64 136, i64 4, !15, i64 140, i64 4, !23}
!22 = !{!8, !8, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !11, i64 32}
!25 = !{!"b2RevoluteJointDef", !26, i64 0, !26, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !14, i64 36, !11, i64 40, !11, i64 44, !14, i64 48, !11, i64 52, !11, i64 56, !14, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !14, i64 76, !13, i64 80, !7, i64 88}
!26 = !{!"b2BodyId", !7, i64 0, !27, i64 4, !27, i64 6}
!27 = !{!"short", !8, i64 0}
!28 = !{!25, !14, i64 60}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass