; 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.b2World = type { %struct.b2ArenaAllocator, %struct.b2BroadPhase, %struct.b2ConstraintGraph, %struct.b2IdPool, %struct.b2BodyArray, %struct.b2IdPool, %struct.b2SolverSetArray, %struct.b2IdPool, %struct.b2JointArray, %struct.b2IdPool, %struct.b2ContactArray, %struct.b2IdPool, %struct.b2IslandArray, %struct.b2IdPool, %struct.b2IdPool, %struct.b2ShapeArray, %struct.b2ChainShapeArray, %struct.b2SensorArray, %struct.b2TaskContextArray, %struct.b2SensorTaskContextArray, %struct.b2BodyMoveEventArray, %struct.b2SensorBeginTouchEventArray, %struct.b2ContactBeginTouchEventArray, [2 x %struct.b2SensorEndTouchEventArray], [2 x %struct.b2ContactEndTouchEventArray], i32, %struct.b2ContactHitEventArray, %struct.b2BitSet, %struct.b2BitSet, %struct.b2BitSet, %struct.b2BitSet, i64, i32, %struct.b2Vec2, float, float, float, float, float, float, float, float, ptr, ptr, i16, %struct.b2Profile, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, float, i32, i32, i16, i8, i8, i8, i8, i8, i8 }
%struct.b2ArenaAllocator = type { ptr, i32, i32, i32, i32, %struct.b2ArenaEntryArray }
%struct.b2ArenaEntryArray = type { ptr, i32, i32 }
%struct.b2BroadPhase = type { [3 x %struct.b2DynamicTree], i32, %struct.b2HashSet, %struct.b2IntArray, ptr, ptr, i32, %struct.b2AtomicInt, %struct.b2HashSet }
%struct.b2DynamicTree = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32 }
%struct.b2IntArray = type { ptr, i32, i32 }
%struct.b2AtomicInt = type { i32 }
%struct.b2HashSet = type { ptr, i32, i32 }
%struct.b2ConstraintGraph = type { [12 x %struct.b2GraphColor] }
%struct.b2GraphColor = type { %struct.b2BitSet, %struct.b2ContactSimArray, %struct.b2JointSimArray, %union.anon }
%struct.b2ContactSimArray = type { ptr, i32, i32 }
%struct.b2JointSimArray = type { ptr, i32, i32 }
%union.anon = type { ptr }
%struct.b2BodyArray = type { ptr, i32, i32 }
%struct.b2SolverSetArray = type { ptr, i32, i32 }
%struct.b2JointArray = type { ptr, i32, i32 }
%struct.b2ContactArray = type { ptr, i32, i32 }
%struct.b2IslandArray = type { ptr, i32, i32 }
%struct.b2IdPool = type { %struct.b2IntArray, i32 }
%struct.b2ShapeArray = type { ptr, i32, i32 }
%struct.b2ChainShapeArray = type { ptr, i32, i32 }
%struct.b2SensorArray = type { ptr, i32, i32 }
%struct.b2TaskContextArray = type { ptr, i32, i32 }
%struct.b2SensorTaskContextArray = type { ptr, i32, i32 }
%struct.b2BodyMoveEventArray = type { ptr, i32, i32 }
%struct.b2SensorBeginTouchEventArray = type { ptr, i32, i32 }
%struct.b2ContactBeginTouchEventArray = type { ptr, i32, i32 }
%struct.b2SensorEndTouchEventArray = type { ptr, i32, i32 }
%struct.b2ContactEndTouchEventArray = type { ptr, i32, i32 }
%struct.b2ContactHitEventArray = type { ptr, i32, i32 }
%struct.b2BitSet = type { ptr, i32, i32 }
%struct.b2Vec2 = type { float, float }
%struct.b2Profile = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%struct.b2Body = type { [32 x i8], ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, i32, i32, i32, i16, i8, i8, i8, i8 }
%struct.b2SolverSet = type { %struct.b2BodySimArray, %struct.b2BodyStateArray, %struct.b2JointSimArray, %struct.b2ContactSimArray, %struct.b2IslandSimArray, i32 }
%struct.b2BodySimArray = type { ptr, i32, i32 }
%struct.b2BodyStateArray = type { ptr, i32, i32 }
%struct.b2IslandSimArray = type { ptr, i32, i32 }
%struct.b2BodySim = type { %struct.b2Transform, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, float, float, float, float, i32, i8, i8, i8, i8, i8 }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Rot = type { float, float }
%struct.b2BodyState = type { %struct.b2Vec2, float, i32, %struct.b2Vec2, %struct.b2Rot }

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [38 x i8], align 1

declare zeroext i1 @b2Body_IsValid(i64) #0

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

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

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

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

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

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

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

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

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

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

declare ptr @b2GetWorld(i32 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @b2Body_ApplyAngularImpulse(i64 %0, float noundef %1, i1 noundef zeroext %2) #4 {
  %4 = alloca %struct.b2BodyId, align 4
  %5 = alloca float, align 4
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store i64 %0, ptr %4, align 4
  store float %1, ptr %5, align 4, !tbaa !5
  %14 = zext i1 %2 to i8
  store i8 %14, ptr %6, align 1, !tbaa !9
  br label %15

15:                                               ; preds = %3
  %16 = load i64, ptr %4, align 4
  %17 = call zeroext i1 @b2Body_IsValid(i64 %16)
  br i1 %17, label %22, label %18

18:                                               ; preds = %15
  %19 = call i32 @b2InternalAssertFcn(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 986)
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %22

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

22:                                               ; preds = %21, %18, %15
  br label %23

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %24 = getelementptr inbounds %struct.b2BodyId, ptr %4, i32 0, i32 1
  %25 = load i16, ptr %24, align 4, !tbaa !11
  %26 = zext i16 %25 to i32
  %27 = call ptr @b2GetWorld(i32 noundef %26)
  store ptr %27, ptr %7, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %28 = getelementptr inbounds %struct.b2BodyId, ptr %4, i32 0, i32 0
  %29 = load i32, ptr %28, align 4, !tbaa !17
  %30 = sub nsw i32 %29, 1
  store i32 %30, ptr %8, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %31 = load ptr, ptr %7, align 8, !tbaa !15
  %32 = getelementptr inbounds %struct.b2World, ptr %31, i32 0, i32 4
  %33 = load i32, ptr %8, align 4, !tbaa !18
  %34 = call ptr @b2BodyArray_Get(ptr noundef %32, i32 noundef %33)
  store ptr %34, ptr %9, align 8, !tbaa !15
  br label %35

35:                                               ; preds = %23
  %36 = load ptr, ptr %9, align 8, !tbaa !15
  %37 = getelementptr inbounds %struct.b2Body, ptr %36, i32 0, i32 21
  %38 = load i16, ptr %37, align 4, !tbaa !19
  %39 = zext i16 %38 to i32
  %40 = getelementptr inbounds %struct.b2BodyId, ptr %4, i32 0, i32 2
  %41 = load i16, ptr %40, align 2, !tbaa !21
  %42 = zext i16 %41 to i32
  %43 = icmp eq i32 %39, %42
  br i1 %43, label %48, label %44

44:                                               ; preds = %35
  %45 = call i32 @b2InternalAssertFcn(ptr noundef @.str.22, ptr noundef @.str.1, i32 noundef 991)
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %48

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

48:                                               ; preds = %47, %44, %35
  br label %49

49:                                               ; preds = %48
  br label %50

50:                                               ; preds = %49
  %51 = load i8, ptr %6, align 1, !tbaa !9, !range !22, !noundef !23
  %52 = trunc i8 %51 to i1
  br i1 %52, label %53, label %62

53:                                               ; preds = %50
  %54 = load ptr, ptr %9, align 8, !tbaa !15
  %55 = getelementptr inbounds %struct.b2Body, ptr %54, i32 0, i32 2
  %56 = load i32, ptr %55, align 8, !tbaa !24
  %57 = icmp sge i32 %56, 3
  br i1 %57, label %58, label %62

58:                                               ; preds = %53
  %59 = load ptr, ptr %7, align 8, !tbaa !15
  %60 = load ptr, ptr %9, align 8, !tbaa !15
  %61 = call zeroext i1 @b2WakeBody(ptr noundef %59, ptr noundef %60)
  br label %62

62:                                               ; preds = %58, %53, %50
  %63 = load ptr, ptr %9, align 8, !tbaa !15
  %64 = getelementptr inbounds %struct.b2Body, ptr %63, i32 0, i32 2
  %65 = load i32, ptr %64, align 8, !tbaa !24
  %66 = icmp eq i32 %65, 2
  br i1 %66, label %67, label %90

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %68 = load ptr, ptr %9, align 8, !tbaa !15
  %69 = getelementptr inbounds %struct.b2Body, ptr %68, i32 0, i32 3
  %70 = load i32, ptr %69, align 4, !tbaa !25
  store i32 %70, ptr %10, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %71 = load ptr, ptr %7, align 8, !tbaa !15
  %72 = getelementptr inbounds %struct.b2World, ptr %71, i32 0, i32 6
  %73 = call ptr @b2SolverSetArray_Get(ptr noundef %72, i32 noundef 2)
  store ptr %73, ptr %11, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %74 = load ptr, ptr %11, align 8, !tbaa !15
  %75 = getelementptr inbounds %struct.b2SolverSet, ptr %74, i32 0, i32 1
  %76 = load i32, ptr %10, align 4, !tbaa !18
  %77 = call ptr @b2BodyStateArray_Get(ptr noundef %75, i32 noundef %76)
  store ptr %77, ptr %12, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %78 = load ptr, ptr %11, align 8, !tbaa !15
  %79 = getelementptr inbounds %struct.b2SolverSet, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %10, align 4, !tbaa !18
  %81 = call ptr @b2BodySimArray_Get(ptr noundef %79, i32 noundef %80)
  store ptr %81, ptr %13, align 8, !tbaa !15
  %82 = load ptr, ptr %13, align 8, !tbaa !15
  %83 = getelementptr inbounds %struct.b2BodySim, ptr %82, i32 0, i32 8
  %84 = load float, ptr %83, align 4, !tbaa !26
  %85 = load float, ptr %5, align 4, !tbaa !5
  %86 = load ptr, ptr %12, align 8, !tbaa !15
  %87 = getelementptr inbounds %struct.b2BodyState, ptr %86, i32 0, i32 1
  %88 = load float, ptr %87, align 4, !tbaa !31
  %89 = call float @llvm.fmuladd.f32(float %84, float %85, float %88)
  store float %89, ptr %87, align 4, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %90

90:                                               ; preds = %67, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void
}

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [38 x i8], align 1

declare zeroext i1 @b2Body_IsValid(i64) local_unnamed_addr #0

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

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

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

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

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

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

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

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

declare ptr @b2GetWorld(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @b2Body_ApplyAngularImpulse(i64 %0, float noundef %1, i1 noundef zeroext %2) local_unnamed_addr #3 {
  %.sroa.0.0.extract.trunc = trunc i64 %0 to i32
  %.sroa.3.0.extract.shift = lshr i64 %0, 32
  %.sroa.3.0.extract.trunc = trunc nuw i64 %.sroa.3.0.extract.shift to i32
  %.sroa.4.0.extract.shift = lshr i64 %0, 48
  %4 = tail call zeroext i1 @b2Body_IsValid(i64 %0) #5
  br i1 %4, label %8, label %5

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

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

8:                                                ; preds = %3, %5
  %9 = and i32 %.sroa.3.0.extract.trunc, 65535
  %10 = tail call ptr @b2GetWorld(i32 noundef %9) #5
  %11 = add nsw i32 %.sroa.0.0.extract.trunc, -1
  %12 = getelementptr inbounds i8, ptr %10, i64 1032
  %13 = tail call ptr @b2BodyArray_Get(ptr noundef nonnull %12, i32 noundef %11)
  %14 = getelementptr inbounds i8, ptr %13, i64 116
  %15 = load i16, ptr %14, align 4, !tbaa !5
  %16 = zext i16 %15 to i64
  %17 = icmp eq i64 %.sroa.4.0.extract.shift, %16
  br i1 %17, label %21, label %18

18:                                               ; preds = %8
  %19 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.1, i32 noundef 991) #5
  %.not17 = icmp eq i32 %19, 0
  br i1 %.not17, label %21, label %20

20:                                               ; preds = %18
  tail call void @llvm.trap()
  unreachable

21:                                               ; preds = %18, %8
  br i1 %2, label %22, label %28

22:                                               ; preds = %21
  %23 = getelementptr inbounds i8, ptr %13, i64 40
  %24 = load i32, ptr %23, align 8, !tbaa !14
  %25 = icmp sgt i32 %24, 2
  br i1 %25, label %26, label %28

26:                                               ; preds = %22
  %27 = tail call zeroext i1 @b2WakeBody(ptr noundef %10, ptr noundef nonnull %13)
  br label %28

28:                                               ; preds = %26, %22, %21
  %29 = getelementptr inbounds i8, ptr %13, i64 40
  %30 = load i32, ptr %29, align 8, !tbaa !14
  %31 = icmp eq i32 %30, 2
  br i1 %31, label %32, label %45

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %13, i64 44
  %34 = load i32, ptr %33, align 4, !tbaa !15
  %35 = getelementptr inbounds i8, ptr %10, i64 1072
  %36 = tail call ptr @b2SolverSetArray_Get(ptr noundef nonnull %35, i32 noundef 2)
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %38 = tail call ptr @b2BodyStateArray_Get(ptr noundef nonnull %37, i32 noundef %34)
  %39 = tail call ptr @b2BodySimArray_Get(ptr noundef %36, i32 noundef %34)
  %40 = getelementptr inbounds i8, ptr %39, i64 64
  %41 = load float, ptr %40, align 4, !tbaa !16
  %42 = getelementptr inbounds i8, ptr %38, i64 8
  %43 = load float, ptr %42, align 4, !tbaa !21
  %44 = tail call float @llvm.fmuladd.f32(float %41, float %1, float %43)
  store float %44, ptr %42, align 4, !tbaa !21
  br label %45

45:                                               ; preds = %32, %28
  ret void
}

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #2 = { 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 #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !12, i64 116}
!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, !10, i64 40}
!15 = !{!6, !10, i64 44}
!16 = !{!17, !11, i64 64}
!17 = !{!"b2BodySim", !18, i64 0, !19, i64 16, !20, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !10, i64 88, !13, i64 92, !13, i64 93, !13, i64 94, !13, i64 95, !13, i64 96}
!18 = !{!"b2Transform", !19, i64 0, !20, i64 8}
!19 = !{!"b2Vec2", !11, i64 0, !11, i64 4}
!20 = !{!"b2Rot", !11, i64 0, !11, i64 4}
!21 = !{!22, !11, i64 8}
!22 = !{!"b2BodyState", !19, i64 0, !11, i64 8, !10, i64 12, !19, i64 16, !20, i64 24}


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