; 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.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 }
%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 }

@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @b2GetWorldFromId(i32) #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind uwtable
define dso_local void @b2World_DumpMemoryStats(i32 %0) #0 {
  %2 = alloca %struct.b2WorldId, align 2
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  store i32 %0, ptr %2, align 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %19 = call noalias ptr @fopen(ptr noundef @.str.28, ptr noundef @.str.29)
  store ptr %19, ptr %3, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %1
  store i32 1, ptr %4, align 4
  br label %304

23:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %24 = load i32, ptr %2, align 2
  %25 = call ptr @b2GetWorldFromId(i32 %24)
  store ptr %25, ptr %5, align 8, !tbaa !5
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.30) #5
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.b2World, ptr %29, i32 0, i32 3
  %31 = call i32 @b2GetIdBytes(ptr noundef %30)
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.31, i32 noundef %31) #5
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.b2World, ptr %34, i32 0, i32 5
  %36 = call i32 @b2GetIdBytes(ptr noundef %35)
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.32, i32 noundef %36) #5
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.b2World, ptr %39, i32 0, i32 7
  %41 = call i32 @b2GetIdBytes(ptr noundef %40)
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.33, i32 noundef %41) #5
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.b2World, ptr %44, i32 0, i32 9
  %46 = call i32 @b2GetIdBytes(ptr noundef %45)
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.34, i32 noundef %46) #5
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.b2World, ptr %49, i32 0, i32 11
  %51 = call i32 @b2GetIdBytes(ptr noundef %50)
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.35, i32 noundef %51) #5
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.b2World, ptr %54, i32 0, i32 13
  %56 = call i32 @b2GetIdBytes(ptr noundef %55)
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.36, i32 noundef %56) #5
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.b2World, ptr %59, i32 0, i32 14
  %61 = call i32 @b2GetIdBytes(ptr noundef %60)
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.37, i32 noundef %61) #5
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.38) #5
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.39) #5
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.b2World, ptr %68, i32 0, i32 4
  %70 = call i32 @b2BodyArray_ByteCount(ptr noundef %69)
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.40, i32 noundef %70) #5
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.b2World, ptr %73, i32 0, i32 6
  %75 = call i32 @b2SolverSetArray_ByteCount(ptr noundef %74)
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.41, i32 noundef %75) #5
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.b2World, ptr %78, i32 0, i32 8
  %80 = call i32 @b2JointArray_ByteCount(ptr noundef %79)
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.42, i32 noundef %80) #5
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.b2World, ptr %83, i32 0, i32 10
  %85 = call i32 @b2ContactArray_ByteCount(ptr noundef %84)
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.43, i32 noundef %85) #5
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.b2World, ptr %88, i32 0, i32 12
  %90 = call i32 @b2IslandArray_ByteCount(ptr noundef %89)
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.44, i32 noundef %90) #5
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.b2World, ptr %93, i32 0, i32 15
  %95 = call i32 @b2ShapeArray_ByteCount(ptr noundef %94)
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.45, i32 noundef %95) #5
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.b2World, ptr %98, i32 0, i32 16
  %100 = call i32 @b2ChainShapeArray_ByteCount(ptr noundef %99)
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.46, i32 noundef %100) #5
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.38) #5
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.47) #5
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.b2World, ptr %107, i32 0, i32 1
  %109 = getelementptr inbounds %struct.b2BroadPhase, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds [3 x %struct.b2DynamicTree], ptr %109, i64 0, i64 0
  %111 = getelementptr inbounds %struct.b2DynamicTree, ptr %110, i64 0
  %112 = call i32 @b2DynamicTree_GetByteCount(ptr noundef %111)
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.48, i32 noundef %112) #5
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.b2World, ptr %115, i32 0, i32 1
  %117 = getelementptr inbounds %struct.b2BroadPhase, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds [3 x %struct.b2DynamicTree], ptr %117, i64 0, i64 0
  %119 = getelementptr inbounds %struct.b2DynamicTree, ptr %118, i64 1
  %120 = call i32 @b2DynamicTree_GetByteCount(ptr noundef %119)
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.49, i32 noundef %120) #5
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.b2World, ptr %123, i32 0, i32 1
  %125 = getelementptr inbounds %struct.b2BroadPhase, ptr %124, i32 0, i32 0
  %126 = getelementptr inbounds [3 x %struct.b2DynamicTree], ptr %125, i64 0, i64 0
  %127 = getelementptr inbounds %struct.b2DynamicTree, ptr %126, i64 2
  %128 = call i32 @b2DynamicTree_GetByteCount(ptr noundef %127)
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.50, i32 noundef %128) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.b2World, ptr %130, i32 0, i32 1
  %132 = getelementptr inbounds %struct.b2BroadPhase, ptr %131, i32 0, i32 2
  store ptr %132, ptr %6, align 8, !tbaa !5
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = call i32 @b2GetHashSetBytes(ptr noundef %134)
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.b2HashSet, ptr %136, i32 0, i32 2
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.b2HashSet, ptr %139, i32 0, i32 1
  %141 = load i32, ptr %140, align 8, !tbaa !12
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.51, i32 noundef %135, i32 noundef %138, i32 noundef %141) #5
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.b2World, ptr %144, i32 0, i32 1
  %146 = getelementptr inbounds %struct.b2BroadPhase, ptr %145, i32 0, i32 3
  %147 = call i32 @b2IntArray_ByteCount(ptr noundef %146)
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef @.str.52, i32 noundef %147) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.b2World, ptr %149, i32 0, i32 1
  %151 = getelementptr inbounds %struct.b2BroadPhase, ptr %150, i32 0, i32 8
  store ptr %151, ptr %7, align 8, !tbaa !5
  %152 = load ptr, ptr %3, align 8, !tbaa !5
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = call i32 @b2GetHashSetBytes(ptr noundef %153)
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.b2HashSet, ptr %155, i32 0, i32 2
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.b2HashSet, ptr %158, i32 0, i32 1
  %160 = load i32, ptr %159, align 8, !tbaa !12
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %152, ptr noundef @.str.53, i32 noundef %154, i32 noundef %157, i32 noundef %160) #5
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.38) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.b2World, ptr %164, i32 0, i32 6
  %166 = getelementptr inbounds %struct.b2SolverSetArray, ptr %165, i32 0, i32 1
  %167 = load i32, ptr %166, align 8, !tbaa !14
  store i32 %167, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !13
  br label %168

168:                                              ; preds = %220, %23
  %169 = load i32, ptr %14, align 4, !tbaa !13
  %170 = load i32, ptr %13, align 4, !tbaa !13
  %171 = icmp slt i32 %169, %170
  br i1 %171, label %173, label %172

172:                                              ; preds = %168
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %223

173:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.b2World, ptr %174, i32 0, i32 6
  %176 = getelementptr inbounds %struct.b2SolverSetArray, ptr %175, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8, !tbaa !29
  %178 = load i32, ptr %14, align 4, !tbaa !13
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds %struct.b2SolverSet, ptr %177, i64 %179
  store ptr %180, ptr %15, align 8, !tbaa !5
  %181 = load ptr, ptr %15, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.b2SolverSet, ptr %181, i32 0, i32 5
  %183 = load i32, ptr %182, align 8, !tbaa !30
  %184 = icmp eq i32 %183, -1
  br i1 %184, label %185, label %186

185:                                              ; preds = %173
  store i32 4, ptr %4, align 4
  br label %217

186:                                              ; preds = %173
  %187 = load ptr, ptr %15, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.b2SolverSet, ptr %187, i32 0, i32 0
  %189 = getelementptr inbounds %struct.b2BodySimArray, ptr %188, i32 0, i32 2
  %190 = load i32, ptr %189, align 4, !tbaa !32
  %191 = load i32, ptr %8, align 4, !tbaa !13
  %192 = add nsw i32 %191, %190
  store i32 %192, ptr %8, align 4, !tbaa !13
  %193 = load ptr, ptr %15, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.b2SolverSet, ptr %193, i32 0, i32 1
  %195 = getelementptr inbounds %struct.b2BodyStateArray, ptr %194, i32 0, i32 2
  %196 = load i32, ptr %195, align 4, !tbaa !33
  %197 = load i32, ptr %9, align 4, !tbaa !13
  %198 = add nsw i32 %197, %196
  store i32 %198, ptr %9, align 4, !tbaa !13
  %199 = load ptr, ptr %15, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.b2SolverSet, ptr %199, i32 0, i32 2
  %201 = getelementptr inbounds %struct.b2JointSimArray, ptr %200, i32 0, i32 2
  %202 = load i32, ptr %201, align 4, !tbaa !34
  %203 = load i32, ptr %10, align 4, !tbaa !13
  %204 = add nsw i32 %203, %202
  store i32 %204, ptr %10, align 4, !tbaa !13
  %205 = load ptr, ptr %15, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.b2SolverSet, ptr %205, i32 0, i32 3
  %207 = getelementptr inbounds %struct.b2ContactSimArray, ptr %206, i32 0, i32 2
  %208 = load i32, ptr %207, align 4, !tbaa !35
  %209 = load i32, ptr %11, align 4, !tbaa !13
  %210 = add nsw i32 %209, %208
  store i32 %210, ptr %11, align 4, !tbaa !13
  %211 = load ptr, ptr %15, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.b2SolverSet, ptr %211, i32 0, i32 4
  %213 = getelementptr inbounds %struct.b2IslandSimArray, ptr %212, i32 0, i32 2
  %214 = load i32, ptr %213, align 4, !tbaa !36
  %215 = load i32, ptr %12, align 4, !tbaa !13
  %216 = add nsw i32 %215, %214
  store i32 %216, ptr %12, align 4, !tbaa !13
  store i32 0, ptr %4, align 4
  br label %217

217:                                              ; preds = %186, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %218 = load i32, ptr %4, align 4
  switch i32 %218, label %307 [
    i32 0, label %219
    i32 4, label %220
  ]

219:                                              ; preds = %217
  br label %220

220:                                              ; preds = %219, %217
  %221 = load i32, ptr %14, align 4, !tbaa !13
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %14, align 4, !tbaa !13
  br label %168, !llvm.loop !37

223:                                              ; preds = %172
  %224 = load ptr, ptr %3, align 8, !tbaa !5
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef @.str.54) #5
  %226 = load ptr, ptr %3, align 8, !tbaa !5
  %227 = load i32, ptr %8, align 4, !tbaa !13
  %228 = mul nsw i32 %227, 100
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef @.str.55, i32 noundef %228) #5
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = load i32, ptr %9, align 4, !tbaa !13
  %232 = mul nsw i32 %231, 32
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef @.str.56, i32 noundef %232) #5
  %234 = load ptr, ptr %3, align 8, !tbaa !5
  %235 = load i32, ptr %10, align 4, !tbaa !13
  %236 = mul nsw i32 %235, 172
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef @.str.57, i32 noundef %236) #5
  %238 = load ptr, ptr %3, align 8, !tbaa !5
  %239 = load i32, ptr %11, align 4, !tbaa !13
  %240 = mul nsw i32 %239, 176
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.58, i32 noundef %240) #5
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = load i32, ptr %12, align 4, !tbaa !13
  %244 = mul nsw i32 %243, 4
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.59, i32 noundef %244) #5
  %246 = load ptr, ptr %3, align 8, !tbaa !5
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.38) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !13
  store i32 0, ptr %11, align 4, !tbaa !13
  store i32 0, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !13
  br label %248

248:                                              ; preds = %277, %223
  %249 = load i32, ptr %17, align 4, !tbaa !13
  %250 = icmp slt i32 %249, 12
  br i1 %250, label %252, label %251

251:                                              ; preds = %248
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %280

252:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.b2World, ptr %253, i32 0, i32 2
  %255 = getelementptr inbounds %struct.b2ConstraintGraph, ptr %254, i32 0, i32 0
  %256 = getelementptr inbounds [12 x %struct.b2GraphColor], ptr %255, i64 0, i64 0
  %257 = load i32, ptr %17, align 4, !tbaa !13
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds %struct.b2GraphColor, ptr %256, i64 %258
  store ptr %259, ptr %18, align 8, !tbaa !5
  %260 = load ptr, ptr %18, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.b2GraphColor, ptr %260, i32 0, i32 0
  %262 = call i32 @b2GetBitSetBytes(ptr noundef %261)
  %263 = load i32, ptr %16, align 4, !tbaa !13
  %264 = add nsw i32 %263, %262
  store i32 %264, ptr %16, align 4, !tbaa !13
  %265 = load ptr, ptr %18, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.b2GraphColor, ptr %265, i32 0, i32 1
  %267 = getelementptr inbounds %struct.b2ContactSimArray, ptr %266, i32 0, i32 2
  %268 = load i32, ptr %267, align 4, !tbaa !39
  %269 = load i32, ptr %11, align 4, !tbaa !13
  %270 = add nsw i32 %269, %268
  store i32 %270, ptr %11, align 4, !tbaa !13
  %271 = load ptr, ptr %18, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.b2GraphColor, ptr %271, i32 0, i32 2
  %273 = getelementptr inbounds %struct.b2JointSimArray, ptr %272, i32 0, i32 2
  %274 = load i32, ptr %273, align 4, !tbaa !41
  %275 = load i32, ptr %10, align 4, !tbaa !13
  %276 = add nsw i32 %275, %274
  store i32 %276, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %277

277:                                              ; preds = %252
  %278 = load i32, ptr %17, align 4, !tbaa !13
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %17, align 4, !tbaa !13
  br label %248, !llvm.loop !42

280:                                              ; preds = %251
  %281 = load ptr, ptr %3, align 8, !tbaa !5
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.60) #5
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = load i32, ptr %16, align 4, !tbaa !13
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.61, i32 noundef %284) #5
  %286 = load ptr, ptr %3, align 8, !tbaa !5
  %287 = load i32, ptr %10, align 4, !tbaa !13
  %288 = mul nsw i32 %287, 172
  %289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str.57, i32 noundef %288) #5
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  %291 = load i32, ptr %11, align 4, !tbaa !13
  %292 = mul nsw i32 %291, 176
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef @.str.58, i32 noundef %292) #5
  %294 = load ptr, ptr %3, align 8, !tbaa !5
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %294, ptr noundef @.str.38) #5
  %296 = load ptr, ptr %3, align 8, !tbaa !5
  %297 = load ptr, ptr %5, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.b2World, ptr %297, i32 0, i32 0
  %299 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %298, i32 0, i32 1
  %300 = load i32, ptr %299, align 8, !tbaa !43
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %296, ptr noundef @.str.62, i32 noundef %300) #5
  %302 = load ptr, ptr %3, align 8, !tbaa !5
  %303 = call i32 @fclose(ptr noundef %302)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  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 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  store i32 0, ptr %4, align 4
  br label %304

304:                                              ; preds = %280, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %305 = load i32, ptr %4, align 4
  switch i32 %305, label %307 [
    i32 0, label %306
    i32 1, label %306
  ]

306:                                              ; preds = %304, %304
  ret void

307:                                              ; preds = %304, %217
  unreachable
}

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2GetIdBytes(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2BodyArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2SolverSetArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2JointArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2ContactArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2IslandArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2ShapeArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2ChainShapeArray_ByteCount(ptr noundef) #4

declare i32 @b2DynamicTree_GetByteCount(ptr noundef) #2

declare i32 @b2GetHashSetBytes(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2IntArray_ByteCount(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2GetBitSetBytes(ptr noundef) #4

declare i32 @fclose(ptr noundef) #2

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


; 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.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.b2JointSimArray = type { ptr, i32, i32 }
%struct.b2ContactSimArray = type { ptr, i32, i32 }
%struct.b2IslandSimArray = type { ptr, i32, i32 }

@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [22 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local void @b2World_DumpMemoryStats(i32 %0) local_unnamed_addr #0 {
  %2 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.29)
  %3 = icmp eq ptr %2, null
  br i1 %3, label %234, label %4

4:                                                ; preds = %1
  %5 = tail call ptr @b2GetWorldFromId(i32 %0)
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.30) #4
  %7 = getelementptr inbounds i8, ptr %5, i64 1008
  %8 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %7)
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.31, i32 noundef %8) #4
  %10 = getelementptr inbounds i8, ptr %5, i64 1048
  %11 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %10)
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.32, i32 noundef %11) #4
  %13 = getelementptr inbounds i8, ptr %5, i64 1088
  %14 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %13)
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.33, i32 noundef %14) #4
  %16 = getelementptr inbounds i8, ptr %5, i64 1128
  %17 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %16)
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.34, i32 noundef %17) #4
  %19 = getelementptr inbounds i8, ptr %5, i64 1168
  %20 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %19)
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.35, i32 noundef %20) #4
  %22 = getelementptr inbounds i8, ptr %5, i64 1208
  %23 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %22)
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.36, i32 noundef %23) #4
  %25 = getelementptr inbounds i8, ptr %5, i64 1232
  %26 = tail call i32 @b2GetIdBytes(ptr noundef nonnull %25)
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.37, i32 noundef %26) #4
  %28 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.38) #4
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.39) #4
  %30 = getelementptr inbounds i8, ptr %5, i64 1032
  %31 = tail call i32 @b2BodyArray_ByteCount(ptr noundef nonnull %30)
  %32 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.40, i32 noundef %31) #4
  %33 = getelementptr inbounds i8, ptr %5, i64 1072
  %34 = tail call i32 @b2SolverSetArray_ByteCount(ptr noundef nonnull %33)
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.41, i32 noundef %34) #4
  %36 = getelementptr inbounds i8, ptr %5, i64 1112
  %37 = tail call i32 @b2JointArray_ByteCount(ptr noundef nonnull %36)
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.42, i32 noundef %37) #4
  %39 = getelementptr inbounds i8, ptr %5, i64 1152
  %40 = tail call i32 @b2ContactArray_ByteCount(ptr noundef nonnull %39)
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.43, i32 noundef %40) #4
  %42 = getelementptr inbounds i8, ptr %5, i64 1192
  %43 = tail call i32 @b2IslandArray_ByteCount(ptr noundef nonnull %42)
  %44 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.44, i32 noundef %43) #4
  %45 = getelementptr inbounds i8, ptr %5, i64 1256
  %46 = tail call i32 @b2ShapeArray_ByteCount(ptr noundef nonnull %45)
  %47 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.45, i32 noundef %46) #4
  %48 = getelementptr inbounds i8, ptr %5, i64 1272
  %49 = tail call i32 @b2ChainShapeArray_ByteCount(ptr noundef nonnull %48)
  %50 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.46, i32 noundef %49) #4
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.38) #4
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.47) #4
  %53 = getelementptr inbounds i8, ptr %5, i64 40
  %54 = tail call i32 @b2DynamicTree_GetByteCount(ptr noundef nonnull %53) #4
  %55 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.48, i32 noundef %54) #4
  %56 = getelementptr inbounds i8, ptr %5, i64 112
  %57 = tail call i32 @b2DynamicTree_GetByteCount(ptr noundef nonnull %56) #4
  %58 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.49, i32 noundef %57) #4
  %59 = getelementptr inbounds i8, ptr %5, i64 184
  %60 = tail call i32 @b2DynamicTree_GetByteCount(ptr noundef nonnull %59) #4
  %61 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.50, i32 noundef %60) #4
  %62 = getelementptr inbounds i8, ptr %5, i64 264
  %63 = tail call i32 @b2GetHashSetBytes(ptr noundef nonnull %62) #4
  %64 = getelementptr inbounds i8, ptr %5, i64 276
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %5, i64 272
  %67 = load i32, ptr %66, align 8, !tbaa !11
  %68 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.51, i32 noundef %63, i32 noundef %65, i32 noundef %67) #4
  %69 = getelementptr inbounds i8, ptr %5, i64 280
  %70 = tail call i32 @b2IntArray_ByteCount(ptr noundef nonnull %69)
  %71 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.52, i32 noundef %70) #4
  %72 = getelementptr inbounds i8, ptr %5, i64 320
  %73 = tail call i32 @b2GetHashSetBytes(ptr noundef nonnull %72) #4
  %74 = getelementptr inbounds i8, ptr %5, i64 332
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %5, i64 328
  %77 = load i32, ptr %76, align 8, !tbaa !11
  %78 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.53, i32 noundef %73, i32 noundef %75, i32 noundef %77) #4
  %79 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.38) #4
  %80 = getelementptr inbounds i8, ptr %5, i64 1080
  %81 = load i32, ptr %80, align 8, !tbaa !12
  %82 = icmp sgt i32 %81, 0
  br i1 %82, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %83 = load ptr, ptr %33, align 8, !tbaa !27
  %wide.trip.count = zext nneg i32 %81 to i64
  br label %212

._crit_edge.loopexit:                             ; preds = %233
  %84 = mul nsw i32 %.1, 100
  %85 = shl nsw i32 %.1106, 5
  %86 = mul nsw i32 %.1112, 172
  %87 = mul nsw i32 %.1110, 176
  %88 = shl nsw i32 %.1108, 2
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %4
  %.0111.lcssa = phi i32 [ 0, %4 ], [ %86, %._crit_edge.loopexit ]
  %.0109.lcssa = phi i32 [ 0, %4 ], [ %87, %._crit_edge.loopexit ]
  %.0107.lcssa = phi i32 [ 0, %4 ], [ %88, %._crit_edge.loopexit ]
  %.0105.lcssa = phi i32 [ 0, %4 ], [ %85, %._crit_edge.loopexit ]
  %.0103.lcssa = phi i32 [ 0, %4 ], [ %84, %._crit_edge.loopexit ]
  %89 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.54) #4
  %90 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.55, i32 noundef %.0103.lcssa) #4
  %91 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.56, i32 noundef %.0105.lcssa) #4
  %92 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.57, i32 noundef %.0111.lcssa) #4
  %93 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.58, i32 noundef %.0109.lcssa) #4
  %94 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.59, i32 noundef %.0107.lcssa) #4
  %95 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.38) #4
  %96 = getelementptr inbounds i8, ptr %5, i64 336
  %97 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %96)
  %98 = getelementptr inbounds i8, ptr %5, i64 364
  %99 = load i32, ptr %98, align 4, !tbaa !28
  %100 = getelementptr inbounds i8, ptr %5, i64 380
  %101 = load i32, ptr %100, align 4, !tbaa !30
  %102 = getelementptr inbounds i8, ptr %5, i64 392
  %103 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %102)
  %104 = add nsw i32 %103, %97
  %105 = getelementptr inbounds i8, ptr %5, i64 420
  %106 = load i32, ptr %105, align 4, !tbaa !28
  %107 = add nsw i32 %106, %99
  %108 = getelementptr inbounds i8, ptr %5, i64 436
  %109 = load i32, ptr %108, align 4, !tbaa !30
  %110 = add nsw i32 %109, %101
  %111 = getelementptr inbounds i8, ptr %5, i64 448
  %112 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %111)
  %113 = add nsw i32 %112, %104
  %114 = getelementptr inbounds i8, ptr %5, i64 476
  %115 = load i32, ptr %114, align 4, !tbaa !28
  %116 = add nsw i32 %115, %107
  %117 = getelementptr inbounds i8, ptr %5, i64 492
  %118 = load i32, ptr %117, align 4, !tbaa !30
  %119 = add nsw i32 %118, %110
  %120 = getelementptr inbounds i8, ptr %5, i64 504
  %121 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %120)
  %122 = add nsw i32 %121, %113
  %123 = getelementptr inbounds i8, ptr %5, i64 532
  %124 = load i32, ptr %123, align 4, !tbaa !28
  %125 = add nsw i32 %124, %116
  %126 = getelementptr inbounds i8, ptr %5, i64 548
  %127 = load i32, ptr %126, align 4, !tbaa !30
  %128 = add nsw i32 %127, %119
  %129 = getelementptr inbounds i8, ptr %5, i64 560
  %130 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %129)
  %131 = add nsw i32 %130, %122
  %132 = getelementptr inbounds i8, ptr %5, i64 588
  %133 = load i32, ptr %132, align 4, !tbaa !28
  %134 = add nsw i32 %133, %125
  %135 = getelementptr inbounds i8, ptr %5, i64 604
  %136 = load i32, ptr %135, align 4, !tbaa !30
  %137 = add nsw i32 %136, %128
  %138 = getelementptr inbounds i8, ptr %5, i64 616
  %139 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %138)
  %140 = add nsw i32 %139, %131
  %141 = getelementptr inbounds i8, ptr %5, i64 644
  %142 = load i32, ptr %141, align 4, !tbaa !28
  %143 = add nsw i32 %142, %134
  %144 = getelementptr inbounds i8, ptr %5, i64 660
  %145 = load i32, ptr %144, align 4, !tbaa !30
  %146 = add nsw i32 %145, %137
  %147 = getelementptr inbounds i8, ptr %5, i64 672
  %148 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %147)
  %149 = add nsw i32 %148, %140
  %150 = getelementptr inbounds i8, ptr %5, i64 700
  %151 = load i32, ptr %150, align 4, !tbaa !28
  %152 = add nsw i32 %151, %143
  %153 = getelementptr inbounds i8, ptr %5, i64 716
  %154 = load i32, ptr %153, align 4, !tbaa !30
  %155 = add nsw i32 %154, %146
  %156 = getelementptr inbounds i8, ptr %5, i64 728
  %157 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %156)
  %158 = add nsw i32 %157, %149
  %159 = getelementptr inbounds i8, ptr %5, i64 756
  %160 = load i32, ptr %159, align 4, !tbaa !28
  %161 = add nsw i32 %160, %152
  %162 = getelementptr inbounds i8, ptr %5, i64 772
  %163 = load i32, ptr %162, align 4, !tbaa !30
  %164 = add nsw i32 %163, %155
  %165 = getelementptr inbounds i8, ptr %5, i64 784
  %166 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %165)
  %167 = add nsw i32 %166, %158
  %168 = getelementptr inbounds i8, ptr %5, i64 812
  %169 = load i32, ptr %168, align 4, !tbaa !28
  %170 = add nsw i32 %169, %161
  %171 = getelementptr inbounds i8, ptr %5, i64 828
  %172 = load i32, ptr %171, align 4, !tbaa !30
  %173 = add nsw i32 %172, %164
  %174 = getelementptr inbounds i8, ptr %5, i64 840
  %175 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %174)
  %176 = add nsw i32 %175, %167
  %177 = getelementptr inbounds i8, ptr %5, i64 868
  %178 = load i32, ptr %177, align 4, !tbaa !28
  %179 = add nsw i32 %178, %170
  %180 = getelementptr inbounds i8, ptr %5, i64 884
  %181 = load i32, ptr %180, align 4, !tbaa !30
  %182 = add nsw i32 %181, %173
  %183 = getelementptr inbounds i8, ptr %5, i64 896
  %184 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %183)
  %185 = add nsw i32 %184, %176
  %186 = getelementptr inbounds i8, ptr %5, i64 924
  %187 = load i32, ptr %186, align 4, !tbaa !28
  %188 = add nsw i32 %187, %179
  %189 = getelementptr inbounds i8, ptr %5, i64 940
  %190 = load i32, ptr %189, align 4, !tbaa !30
  %191 = add nsw i32 %190, %182
  %192 = getelementptr inbounds i8, ptr %5, i64 952
  %193 = tail call i32 @b2GetBitSetBytes(ptr noundef nonnull %192)
  %194 = add nsw i32 %193, %185
  %195 = getelementptr inbounds i8, ptr %5, i64 980
  %196 = load i32, ptr %195, align 4, !tbaa !28
  %197 = add nsw i32 %196, %188
  %198 = getelementptr inbounds i8, ptr %5, i64 996
  %199 = load i32, ptr %198, align 4, !tbaa !30
  %200 = add nsw i32 %199, %191
  %201 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.60) #4
  %202 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.61, i32 noundef %194) #4
  %203 = mul nsw i32 %200, 172
  %204 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.57, i32 noundef %203) #4
  %205 = mul nsw i32 %197, 176
  %206 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.58, i32 noundef %205) #4
  %207 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.38) #4
  %208 = getelementptr inbounds i8, ptr %5, i64 8
  %209 = load i32, ptr %208, align 8, !tbaa !31
  %210 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str.62, i32 noundef %209) #4
  %211 = tail call i32 @fclose(ptr noundef %2)
  br label %234

212:                                              ; preds = %.lr.ph, %233
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %233 ]
  %.0103120 = phi i32 [ 0, %.lr.ph ], [ %.1, %233 ]
  %.0105118 = phi i32 [ 0, %.lr.ph ], [ %.1106, %233 ]
  %.0107117 = phi i32 [ 0, %.lr.ph ], [ %.1108, %233 ]
  %.0109116 = phi i32 [ 0, %.lr.ph ], [ %.1110, %233 ]
  %.0111115 = phi i32 [ 0, %.lr.ph ], [ %.1112, %233 ]
  %213 = getelementptr inbounds %struct.b2SolverSet, ptr %83, i64 %indvars.iv
  %214 = getelementptr inbounds i8, ptr %213, i64 80
  %215 = load i32, ptr %214, align 8, !tbaa !32
  %216 = icmp eq i32 %215, -1
  br i1 %216, label %233, label %217

217:                                              ; preds = %212
  %218 = getelementptr inbounds i8, ptr %213, i64 12
  %219 = load i32, ptr %218, align 4, !tbaa !34
  %220 = add nsw i32 %219, %.0103120
  %221 = getelementptr inbounds i8, ptr %213, i64 28
  %222 = load i32, ptr %221, align 4, !tbaa !35
  %223 = add nsw i32 %222, %.0105118
  %224 = getelementptr inbounds i8, ptr %213, i64 44
  %225 = load i32, ptr %224, align 4, !tbaa !36
  %226 = add nsw i32 %225, %.0111115
  %227 = getelementptr inbounds i8, ptr %213, i64 60
  %228 = load i32, ptr %227, align 4, !tbaa !37
  %229 = add nsw i32 %228, %.0109116
  %230 = getelementptr inbounds i8, ptr %213, i64 76
  %231 = load i32, ptr %230, align 4, !tbaa !38
  %232 = add nsw i32 %231, %.0107117
  br label %233

233:                                              ; preds = %212, %217
  %.1112 = phi i32 [ %226, %217 ], [ %.0111115, %212 ]
  %.1110 = phi i32 [ %229, %217 ], [ %.0109116, %212 ]
  %.1108 = phi i32 [ %232, %217 ], [ %.0107117, %212 ]
  %.1106 = phi i32 [ %223, %217 ], [ %.0105118, %212 ]
  %.1 = phi i32 [ %220, %217 ], [ %.0103120, %212 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %212, !llvm.loop !39

234:                                              ; preds = %1, %._crit_edge
  ret void
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

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

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

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

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

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

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

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

declare i32 @b2DynamicTree_GetByteCount(ptr noundef) local_unnamed_addr #3

declare i32 @b2GetHashSetBytes(ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #1

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass