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

; 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.b2ContactEvents = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.b2WorldId = type { 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 }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetWorldFromId(i32) #1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @b2World_GetContactEvents(ptr dead_on_unwind noalias writable sret(%struct.b2ContactEvents) align 8 %0, i32 %1) #1 {
  %3 = alloca %struct.b2WorldId, align 2
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 %1, ptr %3, align 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %10 = load i32, ptr %3, align 2
  %11 = call ptr @b2GetWorldFromId(i32 %10)
  store ptr %11, ptr %4, align 8, !tbaa !5
  br label %12

12:                                               ; preds = %2
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.b2World, ptr %13, i32 0, i32 61
  %15 = load i8, ptr %14, align 1, !tbaa !9, !range !26, !noundef !27
  %16 = trunc i8 %15 to i1
  %17 = zext i1 %16 to i32
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %23, label %19

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

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

23:                                               ; preds = %22, %19, %12
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.b2World, ptr %26, i32 0, i32 61
  %28 = load i8, ptr %27, align 1, !tbaa !9, !range !26, !noundef !27
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %37

30:                                               ; preds = %25
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 40, i1 false)
  %31 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 0
  %32 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 1
  %33 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 2
  %34 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 3
  %35 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 4
  %36 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 5
  store i32 1, ptr %5, align 4
  br label %81

37:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.b2World, ptr %38, i32 0, i32 25
  %40 = load i32, ptr %39, align 8, !tbaa !28
  %41 = sub nsw i32 1, %40
  store i32 %41, ptr %6, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.b2World, ptr %42, i32 0, i32 22
  %44 = getelementptr inbounds %struct.b2ContactBeginTouchEventArray, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 8, !tbaa !30
  store i32 %45, ptr %7, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.b2World, ptr %46, i32 0, i32 24
  %48 = load i32, ptr %6, align 4, !tbaa !29
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [2 x %struct.b2ContactEndTouchEventArray], ptr %47, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.b2ContactEndTouchEventArray, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 8, !tbaa !31
  store i32 %52, ptr %8, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.b2World, ptr %53, i32 0, i32 26
  %55 = getelementptr inbounds %struct.b2ContactHitEventArray, ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !32
  store i32 %56, ptr %9, align 4, !tbaa !29
  %57 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 0
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.b2World, ptr %58, i32 0, i32 22
  %60 = getelementptr inbounds %struct.b2ContactBeginTouchEventArray, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !33
  store ptr %61, ptr %57, align 8, !tbaa !34
  %62 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 1
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.b2World, ptr %63, i32 0, i32 24
  %65 = load i32, ptr %6, align 4, !tbaa !29
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [2 x %struct.b2ContactEndTouchEventArray], ptr %64, i64 0, i64 %66
  %68 = getelementptr inbounds %struct.b2ContactEndTouchEventArray, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !36
  store ptr %69, ptr %62, align 8, !tbaa !37
  %70 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 2
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.b2World, ptr %71, i32 0, i32 26
  %73 = getelementptr inbounds %struct.b2ContactHitEventArray, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !38
  store ptr %74, ptr %70, align 8, !tbaa !39
  %75 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 3
  %76 = load i32, ptr %7, align 4, !tbaa !29
  store i32 %76, ptr %75, align 8, !tbaa !40
  %77 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 4
  %78 = load i32, ptr %8, align 4, !tbaa !29
  store i32 %78, ptr %77, align 4, !tbaa !41
  %79 = getelementptr inbounds %struct.b2ContactEvents, ptr %0, i32 0, i32 5
  %80 = load i32, ptr %9, align 4, !tbaa !29
  store i32 %80, ptr %79, align 8, !tbaa !42
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %81

81:                                               ; preds = %37, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  ret void
}

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { 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 #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 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !25, i64 1799}
!10 = !{!"b2World", !11, i64 0, !14, i64 40, !17, i64 336, !18, i64 1008, !13, i64 1032, !18, i64 1048, !13, i64 1072, !18, i64 1088, !13, i64 1112, !18, i64 1128, !13, i64 1152, !18, i64 1168, !13, i64 1192, !18, i64 1208, !18, i64 1232, !13, i64 1256, !13, i64 1272, !13, i64 1288, !13, i64 1304, !13, i64 1320, !13, i64 1336, !13, i64 1352, !13, i64 1368, !7, i64 1384, !7, i64 1416, !12, i64 1448, !13, i64 1456, !19, i64 1472, !19, i64 1488, !19, i64 1504, !19, i64 1520, !20, i64 1536, !12, i64 1544, !21, i64 1548, !22, i64 1556, !22, i64 1560, !22, i64 1564, !22, i64 1568, !22, i64 1572, !22, i64 1576, !22, i64 1580, !22, i64 1584, !6, i64 1592, !6, i64 1600, !23, i64 1608, !24, i64 1612, !6, i64 1704, !6, i64 1712, !6, i64 1720, !6, i64 1728, !12, i64 1736, !6, i64 1744, !6, i64 1752, !6, i64 1760, !6, i64 1768, !6, i64 1776, !22, i64 1784, !12, i64 1788, !12, i64 1792, !23, i64 1796, !25, i64 1798, !25, i64 1799, !25, i64 1800, !25, i64 1801, !25, i64 1802, !25, i64 1803}
!11 = !{!"b2ArenaAllocator", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !13, i64 24}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !6, i64 0, !12, i64 8, !12, i64 12}
!14 = !{!"b2BroadPhase", !7, i64 0, !12, i64 216, !15, i64 224, !13, i64 240, !6, i64 256, !6, i64 264, !12, i64 272, !16, i64 276, !15, i64 280}
!15 = !{!"b2HashSet", !6, i64 0, !12, i64 8, !12, i64 12}
!16 = !{!"b2AtomicInt", !12, i64 0}
!17 = !{!"b2ConstraintGraph", !7, i64 0}
!18 = !{!"b2IdPool", !13, i64 0, !12, i64 16}
!19 = !{!"b2BitSet", !6, i64 0, !12, i64 8, !12, i64 12}
!20 = !{!"long", !7, i64 0}
!21 = !{!"b2Vec2", !22, i64 0, !22, i64 4}
!22 = !{!"float", !7, i64 0}
!23 = !{!"short", !7, i64 0}
!24 = !{!"b2Profile", !22, i64 0, !22, i64 4, !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20, !22, i64 24, !22, i64 28, !22, i64 32, !22, i64 36, !22, i64 40, !22, i64 44, !22, i64 48, !22, i64 52, !22, i64 56, !22, i64 60, !22, i64 64, !22, i64 68, !22, i64 72, !22, i64 76, !22, i64 80, !22, i64 84}
!25 = !{!"_Bool", !7, i64 0}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!10, !12, i64 1448}
!29 = !{!12, !12, i64 0}
!30 = !{!10, !12, i64 1376}
!31 = !{!13, !12, i64 8}
!32 = !{!10, !12, i64 1464}
!33 = !{!10, !6, i64 1368}
!34 = !{!35, !6, i64 0}
!35 = !{!"b2ContactEvents", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32}
!36 = !{!13, !6, i64 0}
!37 = !{!35, !6, i64 8}
!38 = !{!10, !6, i64 1456}
!39 = !{!35, !6, i64 16}
!40 = !{!35, !12, i64 24}
!41 = !{!35, !12, i64 28}
!42 = !{!35, !12, i64 32}


; 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.b2ContactEvents = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.b2ContactEndTouchEventArray = type { ptr, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetWorldFromId(i32) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @b2World_GetContactEvents(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.b2ContactEvents) align 8 %0, i32 %1) local_unnamed_addr #1 {
  %3 = tail call ptr @b2GetWorldFromId(i32 %1)
  %4 = getelementptr inbounds i8, ptr %3, i64 1799
  %5 = load i8, ptr %4, align 1, !tbaa !5, !range !25, !noundef !26
  %6 = icmp eq i8 %5, 0
  br i1 %6, label %.thread, label %7

7:                                                ; preds = %2
  %8 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.1, i32 noundef 1538) #4
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %10, label %9

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

10:                                               ; preds = %7
  %.pre = load i8, ptr %4, align 1, !tbaa !5, !range !25
  %11 = trunc nuw i8 %.pre to i1
  br i1 %11, label %12, label %.thread

12:                                               ; preds = %10
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %0, i8 0, i64 40, i1 false)
  br label %35

.thread:                                          ; preds = %2, %10
  %13 = getelementptr inbounds i8, ptr %3, i64 1448
  %14 = load i32, ptr %13, align 8, !tbaa !27
  %15 = sub nsw i32 1, %14
  %16 = getelementptr inbounds i8, ptr %3, i64 1368
  %17 = getelementptr inbounds i8, ptr %3, i64 1376
  %18 = load i32, ptr %17, align 8, !tbaa !28
  %19 = getelementptr inbounds i8, ptr %3, i64 1416
  %20 = sext i32 %15 to i64
  %21 = getelementptr inbounds [2 x %struct.b2ContactEndTouchEventArray], ptr %19, i64 0, i64 %20
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = load i32, ptr %22, align 8, !tbaa !29
  %24 = getelementptr inbounds i8, ptr %3, i64 1456
  %25 = getelementptr inbounds i8, ptr %3, i64 1464
  %26 = load i32, ptr %25, align 8, !tbaa !30
  %27 = load ptr, ptr %16, align 8, !tbaa !31
  store ptr %27, ptr %0, align 8, !tbaa !32
  %28 = getelementptr inbounds i8, ptr %0, i64 8
  %29 = load ptr, ptr %21, align 8, !tbaa !34
  store ptr %29, ptr %28, align 8, !tbaa !35
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load ptr, ptr %24, align 8, !tbaa !36
  store ptr %31, ptr %30, align 8, !tbaa !37
  %32 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %18, ptr %32, align 8, !tbaa !38
  %33 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %23, ptr %33, align 4, !tbaa !39
  %34 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %26, ptr %34, align 8, !tbaa !40
  br label %35

35:                                               ; preds = %.thread, %12
  ret void
}

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { 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 #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 = { cold noreturn nounwind memory(inaccessiblemem: write) }
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, !24, i64 1799}
!6 = !{!"b2World", !7, i64 0, !13, i64 40, !16, i64 336, !17, i64 1008, !12, i64 1032, !17, i64 1048, !12, i64 1072, !17, i64 1088, !12, i64 1112, !17, i64 1128, !12, i64 1152, !17, i64 1168, !12, i64 1192, !17, i64 1208, !17, i64 1232, !12, i64 1256, !12, i64 1272, !12, i64 1288, !12, i64 1304, !12, i64 1320, !12, i64 1336, !12, i64 1352, !12, i64 1368, !9, i64 1384, !9, i64 1416, !11, i64 1448, !12, i64 1456, !18, i64 1472, !18, i64 1488, !18, i64 1504, !18, i64 1520, !19, i64 1536, !11, i64 1544, !20, i64 1548, !21, i64 1556, !21, i64 1560, !21, i64 1564, !21, i64 1568, !21, i64 1572, !21, i64 1576, !21, i64 1580, !21, i64 1584, !8, i64 1592, !8, i64 1600, !22, i64 1608, !23, i64 1612, !8, i64 1704, !8, i64 1712, !8, i64 1720, !8, i64 1728, !11, i64 1736, !8, i64 1744, !8, i64 1752, !8, i64 1760, !8, i64 1768, !8, i64 1776, !21, i64 1784, !11, i64 1788, !11, i64 1792, !22, i64 1796, !24, i64 1798, !24, i64 1799, !24, i64 1800, !24, i64 1801, !24, i64 1802, !24, i64 1803}
!7 = !{!"b2ArenaAllocator", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"", !8, i64 0, !11, i64 8, !11, i64 12}
!13 = !{!"b2BroadPhase", !9, i64 0, !11, i64 216, !14, i64 224, !12, i64 240, !8, i64 256, !8, i64 264, !11, i64 272, !15, i64 276, !14, i64 280}
!14 = !{!"b2HashSet", !8, i64 0, !11, i64 8, !11, i64 12}
!15 = !{!"b2AtomicInt", !11, i64 0}
!16 = !{!"b2ConstraintGraph", !9, i64 0}
!17 = !{!"b2IdPool", !12, i64 0, !11, i64 16}
!18 = !{!"b2BitSet", !8, i64 0, !11, i64 8, !11, i64 12}
!19 = !{!"long", !9, i64 0}
!20 = !{!"b2Vec2", !21, i64 0, !21, i64 4}
!21 = !{!"float", !9, i64 0}
!22 = !{!"short", !9, i64 0}
!23 = !{!"b2Profile", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !21, i64 40, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !21, i64 60, !21, i64 64, !21, i64 68, !21, i64 72, !21, i64 76, !21, i64 80, !21, i64 84}
!24 = !{!"_Bool", !9, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!6, !11, i64 1448}
!28 = !{!6, !11, i64 1376}
!29 = !{!12, !11, i64 8}
!30 = !{!6, !11, i64 1464}
!31 = !{!6, !8, i64 1368}
!32 = !{!33, !8, i64 0}
!33 = !{!"b2ContactEvents", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32}
!34 = !{!12, !8, i64 0}
!35 = !{!33, !8, i64 8}
!36 = !{!6, !8, i64 1456}
!37 = !{!33, !8, i64 16}
!38 = !{!33, !11, i64 24}
!39 = !{!33, !11, i64 28}
!40 = !{!33, !11, i64 32}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass