; 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.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Vec2 = type { float, float }
%struct.b2Rot = type { float, float }
%struct.b2Body = type { [32 x i8], ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, i32, i32, i32, i16, i8, i8, i8, i8 }
%struct.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.b2BodyState = type { %struct.b2Vec2, float, i32, %struct.b2Vec2, %struct.b2Rot }

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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

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

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

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

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

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

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

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

declare ptr @b2GetWorld(i32 noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local void @b2Body_SetTargetTransform(i64 %0, <2 x float> %1, <2 x float> %2, float noundef %3) #5 {
  %5 = alloca %struct.b2BodyId, align 4
  %6 = alloca %struct.b2Transform, align 4
  %7 = alloca float, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %struct.b2Vec2, align 4
  %13 = alloca %struct.b2Vec2, align 4
  %14 = alloca float, align 4
  %15 = alloca %struct.b2Vec2, align 4
  %16 = alloca %struct.b2Vec2, align 4
  %17 = alloca float, align 4
  %18 = alloca %struct.b2Rot, align 4
  %19 = alloca %struct.b2Rot, align 4
  %20 = alloca float, align 4
  %21 = alloca ptr, align 8
  store i64 %0, ptr %5, align 4
  %22 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  store <2 x float> %1, ptr %22, align 4
  %23 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  store <2 x float> %2, ptr %23, align 4
  store float %3, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %24 = getelementptr inbounds %struct.b2BodyId, ptr %5, i32 0, i32 1
  %25 = load i16, ptr %24, align 4, !tbaa !9
  %26 = zext i16 %25 to i32
  %27 = call ptr @b2GetWorld(i32 noundef %26)
  store ptr %27, ptr %8, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %28 = load ptr, ptr %8, align 8, !tbaa !13
  %29 = load i64, ptr %5, align 4
  %30 = call ptr @b2GetBodyFullId(ptr noundef %28, i64 %29)
  store ptr %30, ptr %9, align 8, !tbaa !13
  %31 = load ptr, ptr %9, align 8, !tbaa !13
  %32 = getelementptr inbounds %struct.b2Body, ptr %31, i32 0, i32 20
  %33 = load i32, ptr %32, align 8, !tbaa !15
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %38, label %35

35:                                               ; preds = %4
  %36 = load float, ptr %7, align 4, !tbaa !5
  %37 = fcmp ole float %36, 0.000000e+00
  br i1 %37, label %38, label %39

38:                                               ; preds = %35, %4
  store i32 1, ptr %10, align 4
  br label %105

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %40 = load ptr, ptr %8, align 8, !tbaa !13
  %41 = load ptr, ptr %9, align 8, !tbaa !13
  %42 = call ptr @b2GetBodySim(ptr noundef %40, ptr noundef %41)
  store ptr %42, ptr %11, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %43 = load ptr, ptr %11, align 8, !tbaa !13
  %44 = getelementptr inbounds %struct.b2BodySim, ptr %43, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %44, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %45 = load ptr, ptr %11, align 8, !tbaa !13
  %46 = getelementptr inbounds %struct.b2BodySim, ptr %45, i32 0, i32 4
  %47 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  %48 = load <2 x float>, ptr %47, align 4
  %49 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  %50 = load <2 x float>, ptr %49, align 4
  %51 = load <2 x float>, ptr %46, align 4
  %52 = call <2 x float> @b2TransformPoint(<2 x float> %48, <2 x float> %50, <2 x float> %51)
  store <2 x float> %52, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %53 = load float, ptr %7, align 4, !tbaa !5
  %54 = fdiv float 1.000000e+00, %53
  store float %54, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %55 = load float, ptr %14, align 4, !tbaa !5
  %56 = load <2 x float>, ptr %13, align 4
  %57 = load <2 x float>, ptr %12, align 4
  %58 = call <2 x float> @b2Sub(<2 x float> %56, <2 x float> %57)
  store <2 x float> %58, ptr %16, align 4
  %59 = load <2 x float>, ptr %16, align 4
  %60 = call <2 x float> @b2MulSV(float noundef %55, <2 x float> %59)
  store <2 x float> %60, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store float 0.000000e+00, ptr %17, align 4, !tbaa !5
  %61 = load ptr, ptr %9, align 8, !tbaa !13
  %62 = getelementptr inbounds %struct.b2Body, ptr %61, i32 0, i32 23
  %63 = load i8, ptr %62, align 1, !tbaa !19, !range !20, !noundef !21
  %64 = trunc i8 %63 to i1
  %65 = zext i1 %64 to i32
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %78

67:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %68 = load ptr, ptr %11, align 8, !tbaa !13
  %69 = getelementptr inbounds %struct.b2BodySim, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %struct.b2Transform, ptr %69, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %70, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %71 = getelementptr inbounds %struct.b2Transform, ptr %6, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %71, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %72 = load <2 x float>, ptr %19, align 4
  %73 = load <2 x float>, ptr %18, align 4
  %74 = call float @b2RelativeAngle(<2 x float> %72, <2 x float> %73)
  store float %74, ptr %20, align 4, !tbaa !5
  %75 = load float, ptr %14, align 4, !tbaa !5
  %76 = load float, ptr %20, align 4, !tbaa !5
  %77 = fmul float %75, %76
  store float %77, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %78

78:                                               ; preds = %67, %39
  %79 = load <2 x float>, ptr %15, align 4
  %80 = call float @b2LengthSquared(<2 x float> %79)
  %81 = fcmp oeq float %80, 0.000000e+00
  br i1 %81, label %82, label %87

82:                                               ; preds = %78
  %83 = load float, ptr %17, align 4, !tbaa !5
  %84 = call float @b2AbsFloat(float noundef %83)
  %85 = fcmp oeq float %84, 0.000000e+00
  br i1 %85, label %86, label %87

86:                                               ; preds = %82
  store i32 1, ptr %10, align 4
  br label %104

87:                                               ; preds = %82, %78
  %88 = load ptr, ptr %8, align 8, !tbaa !13
  %89 = load ptr, ptr %9, align 8, !tbaa !13
  %90 = call zeroext i1 @b2WakeBody(ptr noundef %88, ptr noundef %89)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %91 = load ptr, ptr %8, align 8, !tbaa !13
  %92 = load ptr, ptr %9, align 8, !tbaa !13
  %93 = call ptr @b2GetBodyState(ptr noundef %91, ptr noundef %92)
  store ptr %93, ptr %21, align 8, !tbaa !13
  %94 = load ptr, ptr %21, align 8, !tbaa !13
  %95 = icmp eq ptr %94, null
  br i1 %95, label %96, label %97

96:                                               ; preds = %87
  store i32 1, ptr %10, align 4
  br label %103

97:                                               ; preds = %87
  %98 = load ptr, ptr %21, align 8, !tbaa !13
  %99 = getelementptr inbounds %struct.b2BodyState, ptr %98, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %99, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !18
  %100 = load float, ptr %17, align 4, !tbaa !5
  %101 = load ptr, ptr %21, align 8, !tbaa !13
  %102 = getelementptr inbounds %struct.b2BodyState, ptr %101, i32 0, i32 1
  store float %100, ptr %102, align 4, !tbaa !22
  store i32 0, ptr %10, align 4
  br label %103

103:                                              ; preds = %97, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %104

104:                                              ; preds = %103, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %105

105:                                              ; preds = %104, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %106 = load i32, ptr %10, align 4
  switch i32 %106, label %108 [
    i32 0, label %107
    i32 1, label %107
  ]

107:                                              ; preds = %105, %105
  ret void

108:                                              ; preds = %105
  unreachable
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @b2AbsFloat(float noundef) #6

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { "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 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 4}
!10 = !{!"b2BodyId", !11, i64 0, !12, i64 4, !12, i64 6}
!11 = !{!"int", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !11, i64 112}
!16 = !{!"b2Body", !7, i64 0, !14, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !12, i64 116, !17, i64 118, !17, i64 119, !17, i64 120, !17, i64 121}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{i64 0, i64 4, !5, i64 4, i64 4, !5}
!19 = !{!16, !17, i64 119}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!23, !6, i64 8}
!23 = !{!"b2BodyState", !24, i64 0, !6, i64 8, !11, i64 12, !24, i64 16, !25, i64 24}
!24 = !{!"b2Vec2", !6, i64 0, !6, i64 4}
!25 = !{!"b2Rot", !6, i64 0, !6, i64 4}


; 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"

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

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

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

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

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

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

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

declare ptr @b2GetWorld(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @b2Body_SetTargetTransform(i64 %0, <2 x float> %1, <2 x float> %2, float noundef %3) local_unnamed_addr #3 {
  %.sroa.231.0.extract.shift = lshr i64 %0, 32
  %5 = trunc nuw i64 %.sroa.231.0.extract.shift to i32
  %6 = and i32 %5, 65535
  %7 = tail call ptr @b2GetWorld(i32 noundef %6) #5
  %8 = tail call ptr @b2GetBodyFullId(ptr noundef %7, i64 %0)
  %9 = getelementptr inbounds i8, ptr %8, i64 112
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = icmp eq i32 %10, 0
  %12 = fcmp ole float %3, 0.000000e+00
  %or.cond = or i1 %12, %11
  br i1 %or.cond, label %41, label %13

13:                                               ; preds = %4
  %14 = tail call ptr @b2GetBodySim(ptr noundef %7, ptr noundef nonnull %8)
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %.sroa.013.0.copyload = load <2 x float>, ptr %15, align 4
  %16 = getelementptr inbounds i8, ptr %14, i64 40
  %17 = load <2 x float>, ptr %16, align 4
  %18 = tail call <2 x float> @b2TransformPoint(<2 x float> %1, <2 x float> %2, <2 x float> %17)
  %19 = fdiv float 1.000000e+00, %3
  %20 = tail call <2 x float> @b2Sub(<2 x float> %18, <2 x float> %.sroa.013.0.copyload)
  %21 = tail call <2 x float> @b2MulSV(float noundef %19, <2 x float> %20)
  %22 = getelementptr inbounds i8, ptr %8, i64 119
  %23 = load i8, ptr %22, align 1, !tbaa !14, !range !15, !noundef !16
  %24 = icmp eq i8 %23, 0
  br i1 %24, label %25, label %29

25:                                               ; preds = %13
  %26 = getelementptr inbounds i8, ptr %14, i64 8
  %.sroa.05.0.copyload = load <2 x float>, ptr %26, align 4
  %27 = tail call float @b2RelativeAngle(<2 x float> %2, <2 x float> %.sroa.05.0.copyload)
  %28 = fmul float %19, %27
  br label %29

29:                                               ; preds = %25, %13
  %.0 = phi float [ %28, %25 ], [ 0.000000e+00, %13 ]
  %30 = tail call float @b2LengthSquared(<2 x float> %21)
  %31 = fcmp oeq float %30, 0.000000e+00
  br i1 %31, label %32, label %35

32:                                               ; preds = %29
  %33 = tail call float @b2AbsFloat(float noundef %.0)
  %34 = fcmp oeq float %33, 0.000000e+00
  br i1 %34, label %41, label %35

35:                                               ; preds = %32, %29
  %36 = tail call zeroext i1 @b2WakeBody(ptr noundef %7, ptr noundef nonnull %8)
  %37 = tail call ptr @b2GetBodyState(ptr noundef %7, ptr noundef nonnull %8)
  %38 = icmp eq ptr %37, null
  br i1 %38, label %41, label %39

39:                                               ; preds = %35
  store <2 x float> %21, ptr %37, align 4
  %40 = getelementptr inbounds i8, ptr %37, i64 8
  store float %.0, ptr %40, align 4, !tbaa !17
  br label %41

41:                                               ; preds = %32, %35, %39, %4
  ret void
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @b2AbsFloat(float noundef) local_unnamed_addr #4

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 = { inlinehint nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = !{!6, !10, i64 112}
!6 = !{!"b2Body", !7, i64 0, !9, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !12, i64 116, !13, i64 118, !13, i64 119, !13, i64 120, !13, i64 121}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!6, !13, i64 119}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !11, i64 8}
!18 = !{!"b2BodyState", !19, i64 0, !11, i64 8, !10, i64 12, !19, i64 16, !20, i64 24}
!19 = !{!"b2Vec2", !11, i64 0, !11, i64 4}
!20 = !{!"b2Rot", !11, i64 0, !11, i64 4}


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