; 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.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.b2WorldId = type { i16, i16 }
%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.b2WorldDef = type { %struct.b2Vec2, float, float, float, float, float, float, float, float, ptr, ptr, i8, i8, i32, ptr, ptr, ptr, ptr, i32 }
%struct.b2TaskContext = type { %struct.b2BitSet, %struct.b2BitSet, %struct.b2BitSet, float, i32 }
%struct.b2SensorTaskContext = type { %struct.b2BitSet }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@b2_worlds = external dso_local global [128 x %struct.b2World], align 16
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [60 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2BodyMoveEventArray_Create(i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2ContactBeginTouchEventArray_Create(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2ContactEndTouchEventArray_Create(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2ContactHitEventArray_Create(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2SensorBeginTouchEventArray_Create(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2SensorEndTouchEventArray_Create(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2TaskContextArray_Create(i32 noundef) #0

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 i32 @b2CreateWorld(ptr noundef %0) #0 {
  %2 = alloca %struct.b2WorldId, align 2
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i16, align 2
  %9 = alloca %struct.b2World, align 8
  %10 = alloca %struct.b2ArenaAllocator, align 8
  %11 = alloca %struct.b2IdPool, align 8
  %12 = alloca %struct.b2BodyArray, align 8
  %13 = alloca %struct.b2SolverSetArray, align 8
  %14 = alloca %struct.b2IdPool, align 8
  %15 = alloca %struct.b2SolverSet, align 8
  %16 = alloca %struct.b2IdPool, align 8
  %17 = alloca %struct.b2ShapeArray, align 8
  %18 = alloca %struct.b2IdPool, align 8
  %19 = alloca %struct.b2ChainShapeArray, align 8
  %20 = alloca %struct.b2IdPool, align 8
  %21 = alloca %struct.b2ContactArray, align 8
  %22 = alloca %struct.b2IdPool, align 8
  %23 = alloca %struct.b2JointArray, align 8
  %24 = alloca %struct.b2IdPool, align 8
  %25 = alloca %struct.b2IslandArray, align 8
  %26 = alloca %struct.b2SensorArray, align 8
  %27 = alloca %struct.b2BodyMoveEventArray, align 8
  %28 = alloca %struct.b2SensorBeginTouchEventArray, align 8
  %29 = alloca %struct.b2SensorEndTouchEventArray, align 8
  %30 = alloca %struct.b2SensorEndTouchEventArray, align 8
  %31 = alloca %struct.b2ContactBeginTouchEventArray, align 8
  %32 = alloca %struct.b2ContactEndTouchEventArray, align 8
  %33 = alloca %struct.b2ContactEndTouchEventArray, align 8
  %34 = alloca %struct.b2ContactHitEventArray, align 8
  %35 = alloca %struct.b2TaskContextArray, align 8
  %36 = alloca %struct.b2SensorTaskContextArray, align 8
  %37 = alloca i32, align 4
  %38 = alloca %struct.b2BitSet, align 8
  %39 = alloca %struct.b2BitSet, align 8
  %40 = alloca %struct.b2BitSet, align 8
  %41 = alloca %struct.b2BitSet, align 8
  %42 = alloca %struct.b2BitSet, align 8
  %43 = alloca %struct.b2BitSet, align 8
  %44 = alloca %struct.b2BitSet, align 8
  %45 = alloca %struct.b2BitSet, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %1
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.b2WorldDef, ptr %47, i32 0, i32 18
  %49 = load i32, ptr %48, align 8, !tbaa !9
  %50 = icmp eq i32 %49, 1152023
  br i1 %50, label %55, label %51

51:                                               ; preds = %46
  %52 = call i32 @b2InternalAssertFcn(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 104)
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  call void @llvm.trap()
  br label %55

55:                                               ; preds = %54, %51, %46
  br label %56

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 -1, ptr %4, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !15
  br label %57

57:                                               ; preds = %73, %56
  %58 = load i32, ptr %5, align 4, !tbaa !15
  %59 = icmp slt i32 %58, 128
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  store i32 4, ptr %6, align 4
  br label %76

61:                                               ; preds = %57
  %62 = load i32, ptr %5, align 4, !tbaa !15
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [128 x %struct.b2World], ptr @b2_worlds, i64 0, i64 %63
  %65 = getelementptr inbounds %struct.b2World, ptr %64, i32 0, i32 65
  %66 = load i8, ptr %65, align 1, !tbaa !16, !range !29, !noundef !30
  %67 = trunc i8 %66 to i1
  %68 = zext i1 %67 to i32
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %72

70:                                               ; preds = %61
  %71 = load i32, ptr %5, align 4, !tbaa !15
  store i32 %71, ptr %4, align 4, !tbaa !15
  store i32 4, ptr %6, align 4
  br label %76

72:                                               ; preds = %61
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %5, align 4, !tbaa !15
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %5, align 4, !tbaa !15
  br label %57, !llvm.loop !31

76:                                               ; preds = %70, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %4, align 4, !tbaa !15
  %79 = icmp eq i32 %78, -1
  br i1 %79, label %80, label %83

80:                                               ; preds = %77
  %81 = getelementptr inbounds %struct.b2WorldId, ptr %2, i32 0, i32 0
  store i16 0, ptr %81, align 2, !tbaa !33
  %82 = getelementptr inbounds %struct.b2WorldId, ptr %2, i32 0, i32 1
  store i16 0, ptr %82, align 2, !tbaa !35
  store i32 1, ptr %6, align 4
  br label %659

83:                                               ; preds = %77
  call void @b2InitializeContactRegisters()
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %84 = load i32, ptr %4, align 4, !tbaa !15
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds %struct.b2World, ptr @b2_worlds, i64 %85
  store ptr %86, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #7
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.b2World, ptr %87, i32 0, i32 44
  %89 = load i16, ptr %88, align 8, !tbaa !36
  store i16 %89, ptr %8, align 2, !tbaa !37
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 1808, i1 false)
  %91 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 0
  %92 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %91, i32 0, i32 1
  %94 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %91, i32 0, i32 2
  %95 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %91, i32 0, i32 3
  %96 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %91, i32 0, i32 4
  %97 = getelementptr inbounds %struct.b2ArenaAllocator, ptr %91, i32 0, i32 5
  %98 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 1
  %99 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 2
  %100 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 3
  %101 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 4
  %102 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 5
  %103 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 6
  %104 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 7
  %105 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 8
  %106 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 9
  %107 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 10
  %108 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 11
  %109 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 12
  %110 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 13
  %111 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 14
  %112 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 15
  %113 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 16
  %114 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 17
  %115 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 18
  %116 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 19
  %117 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 20
  %118 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 21
  %119 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 22
  %120 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 23
  %121 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 24
  %122 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 25
  %123 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 26
  %124 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 27
  %125 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 28
  %126 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 29
  %127 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 30
  %128 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 31
  %129 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 32
  %130 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 33
  %131 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 34
  %132 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 35
  %133 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 36
  %134 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 37
  %135 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 38
  %136 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 39
  %137 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 40
  %138 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 41
  %139 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 42
  %140 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 43
  %141 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 44
  %142 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 45
  %143 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 46
  %144 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 47
  %145 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 48
  %146 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 49
  %147 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 50
  %148 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 51
  %149 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 52
  %150 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 53
  %151 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 54
  %152 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 55
  %153 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 56
  %154 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 57
  %155 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 58
  %156 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 59
  %157 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 60
  %158 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 61
  %159 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 62
  %160 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 63
  %161 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 64
  %162 = getelementptr inbounds %struct.b2World, ptr %9, i32 0, i32 65
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 %9, i64 1808, i1 false), !tbaa.struct !38
  %163 = load i32, ptr %4, align 4, !tbaa !15
  %164 = trunc i32 %163 to i16
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.b2World, ptr %165, i32 0, i32 59
  store i16 %164, ptr %166, align 4, !tbaa !43
  %167 = load i16, ptr %8, align 2, !tbaa !37
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.b2World, ptr %168, i32 0, i32 44
  store i16 %167, ptr %169, align 8, !tbaa !36
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.b2World, ptr %170, i32 0, i32 65
  store i8 1, ptr %171, align 1, !tbaa !16
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.b2World, ptr %172, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #7
  call void @b2CreateArenaAllocator(ptr dead_on_unwind writable sret(%struct.b2ArenaAllocator) align 8 %10, i32 noundef 2048)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %173, ptr align 8 %10, i64 40, i1 false), !tbaa.struct !44
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #7
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.b2World, ptr %174, i32 0, i32 1
  call void @b2CreateBroadPhase(ptr noundef %175)
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.b2World, ptr %176, i32 0, i32 2
  call void @b2CreateGraph(ptr noundef %177, i32 noundef 16)
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.b2World, ptr %178, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %11)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %179, ptr align 8 %11, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.b2World, ptr %180, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %182 = call { ptr, i64 } @b2BodyArray_Create(i32 noundef 16)
  %183 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %184 = extractvalue { ptr, i64 } %182, 0
  store ptr %184, ptr %183, align 8
  %185 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %186 = extractvalue { ptr, i64 } %182, 1
  store i64 %186, ptr %185, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %181, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.b2World, ptr %187, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %189 = call { ptr, i64 } @b2SolverSetArray_Create(i32 noundef 8)
  %190 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %191 = extractvalue { ptr, i64 } %189, 0
  store ptr %191, ptr %190, align 8
  %192 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %193 = extractvalue { ptr, i64 } %189, 1
  store i64 %193, ptr %192, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %188, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.b2World, ptr %194, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %195, ptr align 8 %14, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr %15) #7
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 88, i1 false)
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.b2World, ptr %196, i32 0, i32 5
  %198 = call i32 @b2AllocId(ptr noundef %197)
  %199 = getelementptr inbounds %struct.b2SolverSet, ptr %15, i32 0, i32 5
  store i32 %198, ptr %199, align 8, !tbaa !47
  %200 = load ptr, ptr %7, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.b2World, ptr %200, i32 0, i32 6
  call void @b2SolverSetArray_Push(ptr noundef %201, ptr noundef byval(%struct.b2SolverSet) align 8 %15)
  br label %202

202:                                              ; preds = %83
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.b2World, ptr %203, i32 0, i32 6
  %205 = getelementptr inbounds %struct.b2SolverSetArray, ptr %204, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8, !tbaa !49
  %207 = getelementptr inbounds %struct.b2SolverSet, ptr %206, i64 0
  %208 = getelementptr inbounds %struct.b2SolverSet, ptr %207, i32 0, i32 5
  %209 = load i32, ptr %208, align 8, !tbaa !47
  %210 = icmp eq i32 %209, 0
  br i1 %210, label %215, label %211

211:                                              ; preds = %202
  %212 = call i32 @b2InternalAssertFcn(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 148)
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %215

214:                                              ; preds = %211
  call void @llvm.trap()
  br label %215

215:                                              ; preds = %214, %211, %202
  br label %216

216:                                              ; preds = %215
  br label %217

217:                                              ; preds = %216
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.b2World, ptr %218, i32 0, i32 5
  %220 = call i32 @b2AllocId(ptr noundef %219)
  %221 = getelementptr inbounds %struct.b2SolverSet, ptr %15, i32 0, i32 5
  store i32 %220, ptr %221, align 8, !tbaa !47
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.b2World, ptr %222, i32 0, i32 6
  call void @b2SolverSetArray_Push(ptr noundef %223, ptr noundef byval(%struct.b2SolverSet) align 8 %15)
  br label %224

224:                                              ; preds = %217
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.b2World, ptr %225, i32 0, i32 6
  %227 = getelementptr inbounds %struct.b2SolverSetArray, ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !49
  %229 = getelementptr inbounds %struct.b2SolverSet, ptr %228, i64 1
  %230 = getelementptr inbounds %struct.b2SolverSet, ptr %229, i32 0, i32 5
  %231 = load i32, ptr %230, align 8, !tbaa !47
  %232 = icmp eq i32 %231, 1
  br i1 %232, label %237, label %233

233:                                              ; preds = %224
  %234 = call i32 @b2InternalAssertFcn(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 153)
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %237

236:                                              ; preds = %233
  call void @llvm.trap()
  br label %237

237:                                              ; preds = %236, %233, %224
  br label %238

238:                                              ; preds = %237
  br label %239

239:                                              ; preds = %238
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.b2World, ptr %240, i32 0, i32 5
  %242 = call i32 @b2AllocId(ptr noundef %241)
  %243 = getelementptr inbounds %struct.b2SolverSet, ptr %15, i32 0, i32 5
  store i32 %242, ptr %243, align 8, !tbaa !47
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.b2World, ptr %244, i32 0, i32 6
  call void @b2SolverSetArray_Push(ptr noundef %245, ptr noundef byval(%struct.b2SolverSet) align 8 %15)
  br label %246

246:                                              ; preds = %239
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.b2World, ptr %247, i32 0, i32 6
  %249 = getelementptr inbounds %struct.b2SolverSetArray, ptr %248, i32 0, i32 0
  %250 = load ptr, ptr %249, align 8, !tbaa !49
  %251 = getelementptr inbounds %struct.b2SolverSet, ptr %250, i64 2
  %252 = getelementptr inbounds %struct.b2SolverSet, ptr %251, i32 0, i32 5
  %253 = load i32, ptr %252, align 8, !tbaa !47
  %254 = icmp eq i32 %253, 2
  br i1 %254, label %259, label %255

255:                                              ; preds = %246
  %256 = call i32 @b2InternalAssertFcn(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 158)
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %259

258:                                              ; preds = %255
  call void @llvm.trap()
  br label %259

259:                                              ; preds = %258, %255, %246
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  %262 = load ptr, ptr %7, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.b2World, ptr %262, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %16)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %263, ptr align 8 %16, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.b2World, ptr %264, i32 0, i32 15
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %266 = call { ptr, i64 } @b2ShapeArray_Create(i32 noundef 16)
  %267 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %268 = extractvalue { ptr, i64 } %266, 0
  store ptr %268, ptr %267, align 8
  %269 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %270 = extractvalue { ptr, i64 } %266, 1
  store i64 %270, ptr %269, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %265, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.b2World, ptr %271, i32 0, i32 14
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %18)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %272, ptr align 8 %18, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.b2World, ptr %273, i32 0, i32 16
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  %275 = call { ptr, i64 } @b2ChainShapeArray_Create(i32 noundef 4)
  %276 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %277 = extractvalue { ptr, i64 } %275, 0
  store ptr %277, ptr %276, align 8
  %278 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %279 = extractvalue { ptr, i64 } %275, 1
  store i64 %279, ptr %278, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %274, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.b2World, ptr %280, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %20)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %281, ptr align 8 %20, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #7
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.b2World, ptr %282, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %284 = call { ptr, i64 } @b2ContactArray_Create(i32 noundef 16)
  %285 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %286 = extractvalue { ptr, i64 } %284, 0
  store ptr %286, ptr %285, align 8
  %287 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %288 = extractvalue { ptr, i64 } %284, 1
  store i64 %288, ptr %287, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %283, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  %289 = load ptr, ptr %7, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.b2World, ptr %289, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %22)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %290, ptr align 8 %22, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.b2World, ptr %291, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  %293 = call { ptr, i64 } @b2JointArray_Create(i32 noundef 16)
  %294 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %295 = extractvalue { ptr, i64 } %293, 0
  store ptr %295, ptr %294, align 8
  %296 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %297 = extractvalue { ptr, i64 } %293, 1
  store i64 %297, ptr %296, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %292, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  %298 = load ptr, ptr %7, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.b2World, ptr %298, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8 %24)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %299, ptr align 8 %24, i64 24, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  %300 = load ptr, ptr %7, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.b2World, ptr %300, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %302 = call { ptr, i64 } @b2IslandArray_Create(i32 noundef 8)
  %303 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %304 = extractvalue { ptr, i64 } %302, 0
  store ptr %304, ptr %303, align 8
  %305 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %306 = extractvalue { ptr, i64 } %302, 1
  store i64 %306, ptr %305, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %301, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.b2World, ptr %307, i32 0, i32 17
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %309 = call { ptr, i64 } @b2SensorArray_Create(i32 noundef 4)
  %310 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %311 = extractvalue { ptr, i64 } %309, 0
  store ptr %311, ptr %310, align 8
  %312 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %313 = extractvalue { ptr, i64 } %309, 1
  store i64 %313, ptr %312, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %308, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  %314 = load ptr, ptr %7, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.b2World, ptr %314, i32 0, i32 20
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  %316 = call { ptr, i64 } @b2BodyMoveEventArray_Create(i32 noundef 4)
  %317 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %318 = extractvalue { ptr, i64 } %316, 0
  store ptr %318, ptr %317, align 8
  %319 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %320 = extractvalue { ptr, i64 } %316, 1
  store i64 %320, ptr %319, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %315, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.b2World, ptr %321, i32 0, i32 21
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  %323 = call { ptr, i64 } @b2SensorBeginTouchEventArray_Create(i32 noundef 4)
  %324 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %325 = extractvalue { ptr, i64 } %323, 0
  store ptr %325, ptr %324, align 8
  %326 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %327 = extractvalue { ptr, i64 } %323, 1
  store i64 %327, ptr %326, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %322, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  %328 = load ptr, ptr %7, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.b2World, ptr %328, i32 0, i32 23
  %330 = getelementptr inbounds [2 x %struct.b2SensorEndTouchEventArray], ptr %329, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %331 = call { ptr, i64 } @b2SensorEndTouchEventArray_Create(i32 noundef 4)
  %332 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %333 = extractvalue { ptr, i64 } %331, 0
  store ptr %333, ptr %332, align 8
  %334 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %335 = extractvalue { ptr, i64 } %331, 1
  store i64 %335, ptr %334, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %330, ptr align 8 %29, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.b2World, ptr %336, i32 0, i32 23
  %338 = getelementptr inbounds [2 x %struct.b2SensorEndTouchEventArray], ptr %337, i64 0, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %339 = call { ptr, i64 } @b2SensorEndTouchEventArray_Create(i32 noundef 4)
  %340 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 0
  %341 = extractvalue { ptr, i64 } %339, 0
  store ptr %341, ptr %340, align 8
  %342 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 1
  %343 = extractvalue { ptr, i64 } %339, 1
  store i64 %343, ptr %342, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %338, ptr align 8 %30, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  %344 = load ptr, ptr %7, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.b2World, ptr %344, i32 0, i32 22
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  %346 = call { ptr, i64 } @b2ContactBeginTouchEventArray_Create(i32 noundef 4)
  %347 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %348 = extractvalue { ptr, i64 } %346, 0
  store ptr %348, ptr %347, align 8
  %349 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %350 = extractvalue { ptr, i64 } %346, 1
  store i64 %350, ptr %349, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %345, ptr align 8 %31, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  %351 = load ptr, ptr %7, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.b2World, ptr %351, i32 0, i32 24
  %353 = getelementptr inbounds [2 x %struct.b2ContactEndTouchEventArray], ptr %352, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  %354 = call { ptr, i64 } @b2ContactEndTouchEventArray_Create(i32 noundef 4)
  %355 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %356 = extractvalue { ptr, i64 } %354, 0
  store ptr %356, ptr %355, align 8
  %357 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %358 = extractvalue { ptr, i64 } %354, 1
  store i64 %358, ptr %357, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %353, ptr align 8 %32, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  %359 = load ptr, ptr %7, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.b2World, ptr %359, i32 0, i32 24
  %361 = getelementptr inbounds [2 x %struct.b2ContactEndTouchEventArray], ptr %360, i64 0, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %362 = call { ptr, i64 } @b2ContactEndTouchEventArray_Create(i32 noundef 4)
  %363 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %364 = extractvalue { ptr, i64 } %362, 0
  store ptr %364, ptr %363, align 8
  %365 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %366 = extractvalue { ptr, i64 } %362, 1
  store i64 %366, ptr %365, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %361, ptr align 8 %33, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.b2World, ptr %367, i32 0, i32 26
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  %369 = call { ptr, i64 } @b2ContactHitEventArray_Create(i32 noundef 4)
  %370 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %371 = extractvalue { ptr, i64 } %369, 0
  store ptr %371, ptr %370, align 8
  %372 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %373 = extractvalue { ptr, i64 } %369, 1
  store i64 %373, ptr %372, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %368, ptr align 8 %34, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  %374 = load ptr, ptr %7, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.b2World, ptr %374, i32 0, i32 25
  store i32 0, ptr %375, align 8, !tbaa !50
  %376 = load ptr, ptr %7, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.b2World, ptr %376, i32 0, i32 31
  store i64 0, ptr %377, align 8, !tbaa !51
  %378 = load ptr, ptr %7, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.b2World, ptr %378, i32 0, i32 32
  store i32 -1, ptr %379, align 8, !tbaa !52
  %380 = load ptr, ptr %7, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.b2World, ptr %380, i32 0, i32 57
  store i32 0, ptr %381, align 4, !tbaa !53
  %382 = load ptr, ptr %7, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.b2World, ptr %382, i32 0, i32 58
  store i32 0, ptr %383, align 8, !tbaa !54
  %384 = load ptr, ptr %7, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.b2World, ptr %384, i32 0, i32 33
  %386 = load ptr, ptr %3, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.b2WorldDef, ptr %386, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %385, ptr align 8 %387, i64 8, i1 false), !tbaa.struct !55
  %388 = load ptr, ptr %3, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.b2WorldDef, ptr %388, i32 0, i32 2
  %390 = load float, ptr %389, align 4, !tbaa !56
  %391 = load ptr, ptr %7, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.b2World, ptr %391, i32 0, i32 34
  store float %390, ptr %392, align 4, !tbaa !57
  %393 = load ptr, ptr %3, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.b2WorldDef, ptr %393, i32 0, i32 1
  %395 = load float, ptr %394, align 8, !tbaa !58
  %396 = load ptr, ptr %7, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.b2World, ptr %396, i32 0, i32 35
  store float %395, ptr %397, align 8, !tbaa !59
  %398 = load ptr, ptr %3, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.b2WorldDef, ptr %398, i32 0, i32 8
  %400 = load float, ptr %399, align 4, !tbaa !60
  %401 = load ptr, ptr %7, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.b2World, ptr %401, i32 0, i32 36
  store float %400, ptr %402, align 4, !tbaa !61
  %403 = load ptr, ptr %3, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.b2WorldDef, ptr %403, i32 0, i32 5
  %405 = load float, ptr %404, align 8, !tbaa !62
  %406 = load ptr, ptr %7, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.b2World, ptr %406, i32 0, i32 37
  store float %405, ptr %407, align 8, !tbaa !63
  %408 = load ptr, ptr %3, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.b2WorldDef, ptr %408, i32 0, i32 3
  %410 = load float, ptr %409, align 8, !tbaa !64
  %411 = load ptr, ptr %7, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.b2World, ptr %411, i32 0, i32 38
  store float %410, ptr %412, align 4, !tbaa !65
  %413 = load ptr, ptr %3, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.b2WorldDef, ptr %413, i32 0, i32 4
  %415 = load float, ptr %414, align 4, !tbaa !66
  %416 = load ptr, ptr %7, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.b2World, ptr %416, i32 0, i32 39
  store float %415, ptr %417, align 8, !tbaa !67
  %418 = load ptr, ptr %3, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.b2WorldDef, ptr %418, i32 0, i32 6
  %420 = load float, ptr %419, align 4, !tbaa !68
  %421 = load ptr, ptr %7, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.b2World, ptr %421, i32 0, i32 40
  store float %420, ptr %422, align 4, !tbaa !69
  %423 = load ptr, ptr %3, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.b2WorldDef, ptr %423, i32 0, i32 7
  %425 = load float, ptr %424, align 8, !tbaa !70
  %426 = load ptr, ptr %7, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.b2World, ptr %426, i32 0, i32 41
  store float %425, ptr %427, align 8, !tbaa !71
  %428 = load ptr, ptr %3, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.b2WorldDef, ptr %428, i32 0, i32 9
  %430 = load ptr, ptr %429, align 8, !tbaa !72
  %431 = icmp eq ptr %430, null
  br i1 %431, label %432, label %435

432:                                              ; preds = %261
  %433 = load ptr, ptr %7, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.b2World, ptr %433, i32 0, i32 42
  store ptr @b2DefaultFrictionCallback, ptr %434, align 8, !tbaa !73
  br label %441

435:                                              ; preds = %261
  %436 = load ptr, ptr %3, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.b2WorldDef, ptr %436, i32 0, i32 9
  %438 = load ptr, ptr %437, align 8, !tbaa !72
  %439 = load ptr, ptr %7, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.b2World, ptr %439, i32 0, i32 42
  store ptr %438, ptr %440, align 8, !tbaa !73
  br label %441

441:                                              ; preds = %435, %432
  %442 = load ptr, ptr %3, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.b2WorldDef, ptr %442, i32 0, i32 10
  %444 = load ptr, ptr %443, align 8, !tbaa !74
  %445 = icmp eq ptr %444, null
  br i1 %445, label %446, label %449

446:                                              ; preds = %441
  %447 = load ptr, ptr %7, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.b2World, ptr %447, i32 0, i32 43
  store ptr @b2DefaultRestitutionCallback, ptr %448, align 8, !tbaa !75
  br label %455

449:                                              ; preds = %441
  %450 = load ptr, ptr %3, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.b2WorldDef, ptr %450, i32 0, i32 10
  %452 = load ptr, ptr %451, align 8, !tbaa !74
  %453 = load ptr, ptr %7, align 8, !tbaa !5
  %454 = getelementptr inbounds %struct.b2World, ptr %453, i32 0, i32 43
  store ptr %452, ptr %454, align 8, !tbaa !75
  br label %455

455:                                              ; preds = %449, %446
  %456 = load ptr, ptr %3, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.b2WorldDef, ptr %456, i32 0, i32 11
  %458 = load i8, ptr %457, align 8, !tbaa !76, !range !29, !noundef !30
  %459 = trunc i8 %458 to i1
  %460 = load ptr, ptr %7, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.b2World, ptr %460, i32 0, i32 60
  %462 = zext i1 %459 to i8
  store i8 %462, ptr %461, align 2, !tbaa !77
  %463 = load ptr, ptr %7, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.b2World, ptr %463, i32 0, i32 61
  store i8 0, ptr %464, align 1, !tbaa !78
  %465 = load ptr, ptr %7, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.b2World, ptr %465, i32 0, i32 62
  store i8 1, ptr %466, align 8, !tbaa !79
  %467 = load ptr, ptr %3, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.b2WorldDef, ptr %467, i32 0, i32 12
  %469 = load i8, ptr %468, align 1, !tbaa !80, !range !29, !noundef !30
  %470 = trunc i8 %469 to i1
  %471 = load ptr, ptr %7, align 8, !tbaa !5
  %472 = getelementptr inbounds %struct.b2World, ptr %471, i32 0, i32 63
  %473 = zext i1 %470 to i8
  store i8 %473, ptr %472, align 1, !tbaa !81
  %474 = load ptr, ptr %7, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.b2World, ptr %474, i32 0, i32 64
  store i8 1, ptr %475, align 2, !tbaa !82
  %476 = load ptr, ptr %7, align 8, !tbaa !5
  %477 = getelementptr inbounds %struct.b2World, ptr %476, i32 0, i32 54
  store ptr null, ptr %477, align 8, !tbaa !83
  %478 = load ptr, ptr %3, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.b2WorldDef, ptr %478, i32 0, i32 17
  %480 = load ptr, ptr %479, align 8, !tbaa !84
  %481 = load ptr, ptr %7, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.b2World, ptr %481, i32 0, i32 55
  store ptr %480, ptr %482, align 8, !tbaa !85
  %483 = load ptr, ptr %3, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.b2WorldDef, ptr %483, i32 0, i32 13
  %485 = load i32, ptr %484, align 4, !tbaa !86
  %486 = icmp sgt i32 %485, 0
  br i1 %486, label %487, label %519

487:                                              ; preds = %455
  %488 = load ptr, ptr %3, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.b2WorldDef, ptr %488, i32 0, i32 14
  %490 = load ptr, ptr %489, align 8, !tbaa !87
  %491 = icmp ne ptr %490, null
  br i1 %491, label %492, label %519

492:                                              ; preds = %487
  %493 = load ptr, ptr %3, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.b2WorldDef, ptr %493, i32 0, i32 15
  %495 = load ptr, ptr %494, align 8, !tbaa !88
  %496 = icmp ne ptr %495, null
  br i1 %496, label %497, label %519

497:                                              ; preds = %492
  %498 = load ptr, ptr %3, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.b2WorldDef, ptr %498, i32 0, i32 13
  %500 = load i32, ptr %499, align 4, !tbaa !86
  %501 = call i32 @b2MinInt(i32 noundef %500, i32 noundef 64)
  %502 = load ptr, ptr %7, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.b2World, ptr %502, i32 0, i32 50
  store i32 %501, ptr %503, align 8, !tbaa !89
  %504 = load ptr, ptr %3, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.b2WorldDef, ptr %504, i32 0, i32 14
  %506 = load ptr, ptr %505, align 8, !tbaa !87
  %507 = load ptr, ptr %7, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.b2World, ptr %507, i32 0, i32 51
  store ptr %506, ptr %508, align 8, !tbaa !90
  %509 = load ptr, ptr %3, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.b2WorldDef, ptr %509, i32 0, i32 15
  %511 = load ptr, ptr %510, align 8, !tbaa !88
  %512 = load ptr, ptr %7, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.b2World, ptr %512, i32 0, i32 52
  store ptr %511, ptr %513, align 8, !tbaa !91
  %514 = load ptr, ptr %3, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.b2WorldDef, ptr %514, i32 0, i32 16
  %516 = load ptr, ptr %515, align 8, !tbaa !92
  %517 = load ptr, ptr %7, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.b2World, ptr %517, i32 0, i32 53
  store ptr %516, ptr %518, align 8, !tbaa !93
  br label %528

519:                                              ; preds = %492, %487, %455
  %520 = load ptr, ptr %7, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.b2World, ptr %520, i32 0, i32 50
  store i32 1, ptr %521, align 8, !tbaa !89
  %522 = load ptr, ptr %7, align 8, !tbaa !5
  %523 = getelementptr inbounds %struct.b2World, ptr %522, i32 0, i32 51
  store ptr @b2DefaultAddTaskFcn, ptr %523, align 8, !tbaa !90
  %524 = load ptr, ptr %7, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.b2World, ptr %524, i32 0, i32 52
  store ptr @b2DefaultFinishTaskFcn, ptr %525, align 8, !tbaa !91
  %526 = load ptr, ptr %7, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.b2World, ptr %526, i32 0, i32 53
  store ptr null, ptr %527, align 8, !tbaa !93
  br label %528

528:                                              ; preds = %519, %497
  %529 = load ptr, ptr %7, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.b2World, ptr %529, i32 0, i32 18
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  %531 = load ptr, ptr %7, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.b2World, ptr %531, i32 0, i32 50
  %533 = load i32, ptr %532, align 8, !tbaa !89
  %534 = call { ptr, i64 } @b2TaskContextArray_Create(i32 noundef %533)
  %535 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %536 = extractvalue { ptr, i64 } %534, 0
  store ptr %536, ptr %535, align 8
  %537 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %538 = extractvalue { ptr, i64 } %534, 1
  store i64 %538, ptr %537, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %530, ptr align 8 %35, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  %539 = load ptr, ptr %7, align 8, !tbaa !5
  %540 = getelementptr inbounds %struct.b2World, ptr %539, i32 0, i32 18
  %541 = load ptr, ptr %7, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.b2World, ptr %541, i32 0, i32 50
  %543 = load i32, ptr %542, align 8, !tbaa !89
  call void @b2TaskContextArray_Resize(ptr noundef %540, i32 noundef %543)
  %544 = load ptr, ptr %7, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.b2World, ptr %544, i32 0, i32 19
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  %546 = load ptr, ptr %7, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.b2World, ptr %546, i32 0, i32 50
  %548 = load i32, ptr %547, align 8, !tbaa !89
  %549 = call { ptr, i64 } @b2SensorTaskContextArray_Create(i32 noundef %548)
  %550 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %551 = extractvalue { ptr, i64 } %549, 0
  store ptr %551, ptr %550, align 8
  %552 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %553 = extractvalue { ptr, i64 } %549, 1
  store i64 %553, ptr %552, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %545, ptr align 8 %36, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  %554 = load ptr, ptr %7, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.b2World, ptr %554, i32 0, i32 19
  %556 = load ptr, ptr %7, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.b2World, ptr %556, i32 0, i32 50
  %558 = load i32, ptr %557, align 8, !tbaa !89
  call void @b2SensorTaskContextArray_Resize(ptr noundef %555, i32 noundef %558)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !15
  br label %559

559:                                              ; preds = %619, %528
  %560 = load i32, ptr %37, align 4, !tbaa !15
  %561 = load ptr, ptr %7, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.b2World, ptr %561, i32 0, i32 50
  %563 = load i32, ptr %562, align 8, !tbaa !89
  %564 = icmp slt i32 %560, %563
  br i1 %564, label %566, label %565

565:                                              ; preds = %559
  store i32 13, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %622

566:                                              ; preds = %559
  %567 = load ptr, ptr %7, align 8, !tbaa !5
  %568 = getelementptr inbounds %struct.b2World, ptr %567, i32 0, i32 18
  %569 = getelementptr inbounds %struct.b2TaskContextArray, ptr %568, i32 0, i32 0
  %570 = load ptr, ptr %569, align 8, !tbaa !94
  %571 = load i32, ptr %37, align 4, !tbaa !15
  %572 = sext i32 %571 to i64
  %573 = getelementptr inbounds %struct.b2TaskContext, ptr %570, i64 %572
  %574 = getelementptr inbounds %struct.b2TaskContext, ptr %573, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  %575 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 1024)
  %576 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 0
  %577 = extractvalue { ptr, i64 } %575, 0
  store ptr %577, ptr %576, align 8
  %578 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 1
  %579 = extractvalue { ptr, i64 } %575, 1
  store i64 %579, ptr %578, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %574, ptr align 8 %38, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  %580 = load ptr, ptr %7, align 8, !tbaa !5
  %581 = getelementptr inbounds %struct.b2World, ptr %580, i32 0, i32 18
  %582 = getelementptr inbounds %struct.b2TaskContextArray, ptr %581, i32 0, i32 0
  %583 = load ptr, ptr %582, align 8, !tbaa !94
  %584 = load i32, ptr %37, align 4, !tbaa !15
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds %struct.b2TaskContext, ptr %583, i64 %585
  %587 = getelementptr inbounds %struct.b2TaskContext, ptr %586, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  %588 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256)
  %589 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %590 = extractvalue { ptr, i64 } %588, 0
  store ptr %590, ptr %589, align 8
  %591 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %592 = extractvalue { ptr, i64 } %588, 1
  store i64 %592, ptr %591, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %587, ptr align 8 %39, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  %593 = load ptr, ptr %7, align 8, !tbaa !5
  %594 = getelementptr inbounds %struct.b2World, ptr %593, i32 0, i32 18
  %595 = getelementptr inbounds %struct.b2TaskContextArray, ptr %594, i32 0, i32 0
  %596 = load ptr, ptr %595, align 8, !tbaa !94
  %597 = load i32, ptr %37, align 4, !tbaa !15
  %598 = sext i32 %597 to i64
  %599 = getelementptr inbounds %struct.b2TaskContext, ptr %596, i64 %598
  %600 = getelementptr inbounds %struct.b2TaskContext, ptr %599, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  %601 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256)
  %602 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %603 = extractvalue { ptr, i64 } %601, 0
  store ptr %603, ptr %602, align 8
  %604 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %605 = extractvalue { ptr, i64 } %601, 1
  store i64 %605, ptr %604, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %600, ptr align 8 %40, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  %606 = load ptr, ptr %7, align 8, !tbaa !5
  %607 = getelementptr inbounds %struct.b2World, ptr %606, i32 0, i32 19
  %608 = getelementptr inbounds %struct.b2SensorTaskContextArray, ptr %607, i32 0, i32 0
  %609 = load ptr, ptr %608, align 8, !tbaa !95
  %610 = load i32, ptr %37, align 4, !tbaa !15
  %611 = sext i32 %610 to i64
  %612 = getelementptr inbounds %struct.b2SensorTaskContext, ptr %609, i64 %611
  %613 = getelementptr inbounds %struct.b2SensorTaskContext, ptr %612, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #7
  %614 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 128)
  %615 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %616 = extractvalue { ptr, i64 } %614, 0
  store ptr %616, ptr %615, align 8
  %617 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %618 = extractvalue { ptr, i64 } %614, 1
  store i64 %618, ptr %617, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %613, ptr align 8 %41, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  br label %619

619:                                              ; preds = %566
  %620 = load i32, ptr %37, align 4, !tbaa !15
  %621 = add nsw i32 %620, 1
  store i32 %621, ptr %37, align 4, !tbaa !15
  br label %559, !llvm.loop !96

622:                                              ; preds = %565
  %623 = load ptr, ptr %7, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.b2World, ptr %623, i32 0, i32 27
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #7
  %625 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256)
  %626 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %627 = extractvalue { ptr, i64 } %625, 0
  store ptr %627, ptr %626, align 8
  %628 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %629 = extractvalue { ptr, i64 } %625, 1
  store i64 %629, ptr %628, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %624, ptr align 8 %42, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #7
  %630 = load ptr, ptr %7, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.b2World, ptr %630, i32 0, i32 28
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #7
  %632 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256)
  %633 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %634 = extractvalue { ptr, i64 } %632, 0
  store ptr %634, ptr %633, align 8
  %635 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %636 = extractvalue { ptr, i64 } %632, 1
  store i64 %636, ptr %635, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %631, ptr align 8 %43, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #7
  %637 = load ptr, ptr %7, align 8, !tbaa !5
  %638 = getelementptr inbounds %struct.b2World, ptr %637, i32 0, i32 29
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #7
  %639 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256)
  %640 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %641 = extractvalue { ptr, i64 } %639, 0
  store ptr %641, ptr %640, align 8
  %642 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %643 = extractvalue { ptr, i64 } %639, 1
  store i64 %643, ptr %642, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %638, ptr align 8 %44, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  %644 = load ptr, ptr %7, align 8, !tbaa !5
  %645 = getelementptr inbounds %struct.b2World, ptr %644, i32 0, i32 30
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  %646 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256)
  %647 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 0
  %648 = extractvalue { ptr, i64 } %646, 0
  store ptr %648, ptr %647, align 8
  %649 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 1
  %650 = extractvalue { ptr, i64 } %646, 1
  store i64 %650, ptr %649, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %645, ptr align 8 %45, i64 16, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  %651 = getelementptr inbounds %struct.b2WorldId, ptr %2, i32 0, i32 0
  %652 = load i32, ptr %4, align 4, !tbaa !15
  %653 = add nsw i32 %652, 1
  %654 = trunc i32 %653 to i16
  store i16 %654, ptr %651, align 2, !tbaa !33
  %655 = getelementptr inbounds %struct.b2WorldId, ptr %2, i32 0, i32 1
  %656 = load ptr, ptr %7, align 8, !tbaa !5
  %657 = getelementptr inbounds %struct.b2World, ptr %656, i32 0, i32 44
  %658 = load i16, ptr %657, align 8, !tbaa !36
  store i16 %658, ptr %655, align 2, !tbaa !35
  store i32 1, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %659

659:                                              ; preds = %622, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  %660 = load i32, ptr %2, align 2
  ret i32 %660
}

declare void @b2InitializeContactRegisters() #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare void @b2CreateArenaAllocator(ptr dead_on_unwind writable sret(%struct.b2ArenaAllocator) align 8, i32 noundef) #2

declare void @b2CreateBroadPhase(ptr noundef) #2

declare void @b2CreateGraph(ptr noundef, i32 noundef) #2

declare void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8) #2

declare { ptr, i64 } @b2BodyArray_Create(i32 noundef) #2

declare { ptr, i64 } @b2SolverSetArray_Create(i32 noundef) #2

declare i32 @b2AllocId(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @b2SolverSetArray_Push(ptr noundef, ptr noundef byval(%struct.b2SolverSet) align 8) #6

declare { ptr, i64 } @b2ShapeArray_Create(i32 noundef) #2

declare { ptr, i64 } @b2ChainShapeArray_Create(i32 noundef) #2

declare { ptr, i64 } @b2ContactArray_Create(i32 noundef) #2

declare { ptr, i64 } @b2JointArray_Create(i32 noundef) #2

declare { ptr, i64 } @b2IslandArray_Create(i32 noundef) #2

declare { ptr, i64 } @b2SensorArray_Create(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden float @b2DefaultFrictionCallback(float noundef, i32 noundef, float noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden float @b2DefaultRestitutionCallback(float noundef, i32 noundef, float noundef, i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2MinInt(i32 noundef, i32 noundef) #6

; Function Attrs: nounwind uwtable
declare hidden ptr @b2DefaultAddTaskFcn(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @b2DefaultFinishTaskFcn(ptr noundef, ptr noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @b2TaskContextArray_Resize(ptr noundef, i32 noundef) #6

declare { ptr, i64 } @b2SensorTaskContextArray_Create(i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @b2SensorTaskContextArray_Resize(ptr noundef, i32 noundef) #6

declare { ptr, i64 } @b2CreateBitSet(i32 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 nounwind willreturn memory(argmem: write) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !14, i64 96}
!10 = !{!"b2WorldDef", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !6, i64 40, !6, i64 48, !13, i64 56, !13, i64 57, !14, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !14, i64 96}
!11 = !{!"b2Vec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !13, i64 1803}
!17 = !{!"b2World", !18, i64 0, !20, i64 40, !23, i64 336, !24, i64 1008, !19, i64 1032, !24, i64 1048, !19, i64 1072, !24, i64 1088, !19, i64 1112, !24, i64 1128, !19, i64 1152, !24, i64 1168, !19, i64 1192, !24, i64 1208, !24, i64 1232, !19, i64 1256, !19, i64 1272, !19, i64 1288, !19, i64 1304, !19, i64 1320, !19, i64 1336, !19, i64 1352, !19, i64 1368, !7, i64 1384, !7, i64 1416, !14, i64 1448, !19, i64 1456, !25, i64 1472, !25, i64 1488, !25, i64 1504, !25, i64 1520, !26, i64 1536, !14, i64 1544, !11, i64 1548, !12, i64 1556, !12, i64 1560, !12, i64 1564, !12, i64 1568, !12, i64 1572, !12, i64 1576, !12, i64 1580, !12, i64 1584, !6, i64 1592, !6, i64 1600, !27, i64 1608, !28, i64 1612, !6, i64 1704, !6, i64 1712, !6, i64 1720, !6, i64 1728, !14, i64 1736, !6, i64 1744, !6, i64 1752, !6, i64 1760, !6, i64 1768, !6, i64 1776, !12, i64 1784, !14, i64 1788, !14, i64 1792, !27, i64 1796, !13, i64 1798, !13, i64 1799, !13, i64 1800, !13, i64 1801, !13, i64 1802, !13, i64 1803}
!18 = !{!"b2ArenaAllocator", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !19, i64 24}
!19 = !{!"", !6, i64 0, !14, i64 8, !14, i64 12}
!20 = !{!"b2BroadPhase", !7, i64 0, !14, i64 216, !21, i64 224, !19, i64 240, !6, i64 256, !6, i64 264, !14, i64 272, !22, i64 276, !21, i64 280}
!21 = !{!"b2HashSet", !6, i64 0, !14, i64 8, !14, i64 12}
!22 = !{!"b2AtomicInt", !14, i64 0}
!23 = !{!"b2ConstraintGraph", !7, i64 0}
!24 = !{!"b2IdPool", !19, i64 0, !14, i64 16}
!25 = !{!"b2BitSet", !6, i64 0, !14, i64 8, !14, i64 12}
!26 = !{!"long", !7, i64 0}
!27 = !{!"short", !7, i64 0}
!28 = !{!"b2Profile", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!34, !27, i64 0}
!34 = !{!"b2WorldId", !27, i64 0, !27, i64 2}
!35 = !{!34, !27, i64 2}
!36 = !{!17, !27, i64 1608}
!37 = !{!27, !27, i64 0}
!38 = !{i64 0, i64 8, !5, i64 8, i64 4, !15, i64 12, i64 4, !15, i64 16, i64 4, !15, i64 20, i64 4, !15, i64 24, i64 8, !5, i64 32, i64 4, !15, i64 36, i64 4, !15, i64 40, i64 216, !39, i64 256, i64 4, !15, i64 264, i64 8, !5, i64 272, i64 4, !15, i64 276, i64 4, !15, i64 280, i64 8, !5, i64 288, i64 4, !15, i64 292, i64 4, !15, i64 296, i64 8, !5, i64 304, i64 8, !5, i64 312, i64 4, !15, i64 316, i64 4, !15, i64 320, i64 8, !5, i64 328, i64 4, !15, i64 332, i64 4, !15, i64 336, i64 672, !39, i64 1008, i64 8, !5, i64 1016, i64 4, !15, i64 1020, i64 4, !15, i64 1024, i64 4, !15, i64 1032, i64 8, !5, i64 1040, i64 4, !15, i64 1044, i64 4, !15, i64 1048, i64 8, !5, i64 1056, i64 4, !15, i64 1060, i64 4, !15, i64 1064, i64 4, !15, i64 1072, i64 8, !5, i64 1080, i64 4, !15, i64 1084, i64 4, !15, i64 1088, i64 8, !5, i64 1096, i64 4, !15, i64 1100, i64 4, !15, i64 1104, i64 4, !15, i64 1112, i64 8, !5, i64 1120, i64 4, !15, i64 1124, i64 4, !15, i64 1128, i64 8, !5, i64 1136, i64 4, !15, i64 1140, i64 4, !15, i64 1144, i64 4, !15, i64 1152, i64 8, !5, i64 1160, i64 4, !15, i64 1164, i64 4, !15, i64 1168, i64 8, !5, i64 1176, i64 4, !15, i64 1180, i64 4, !15, i64 1184, i64 4, !15, i64 1192, i64 8, !5, i64 1200, i64 4, !15, i64 1204, i64 4, !15, i64 1208, i64 8, !5, i64 1216, i64 4, !15, i64 1220, i64 4, !15, i64 1224, i64 4, !15, i64 1232, i64 8, !5, i64 1240, i64 4, !15, i64 1244, i64 4, !15, i64 1248, i64 4, !15, i64 1256, i64 8, !5, i64 1264, i64 4, !15, i64 1268, i64 4, !15, i64 1272, i64 8, !5, i64 1280, i64 4, !15, i64 1284, i64 4, !15, i64 1288, i64 8, !5, i64 1296, i64 4, !15, i64 1300, i64 4, !15, i64 1304, i64 8, !5, i64 1312, i64 4, !15, i64 1316, i64 4, !15, i64 1320, i64 8, !5, i64 1328, i64 4, !15, i64 1332, i64 4, !15, i64 1336, i64 8, !5, i64 1344, i64 4, !15, i64 1348, i64 4, !15, i64 1352, i64 8, !5, i64 1360, i64 4, !15, i64 1364, i64 4, !15, i64 1368, i64 8, !5, i64 1376, i64 4, !15, i64 1380, i64 4, !15, i64 1384, i64 32, !39, i64 1416, i64 32, !39, i64 1448, i64 4, !15, i64 1456, i64 8, !5, i64 1464, i64 4, !15, i64 1468, i64 4, !15, i64 1472, i64 8, !5, i64 1480, i64 4, !15, i64 1484, i64 4, !15, i64 1488, i64 8, !5, i64 1496, i64 4, !15, i64 1500, i64 4, !15, i64 1504, i64 8, !5, i64 1512, i64 4, !15, i64 1516, i64 4, !15, i64 1520, i64 8, !5, i64 1528, i64 4, !15, i64 1532, i64 4, !15, i64 1536, i64 8, !40, i64 1544, i64 4, !15, i64 1548, i64 4, !41, i64 1552, i64 4, !41, i64 1556, i64 4, !41, i64 1560, i64 4, !41, i64 1564, i64 4, !41, i64 1568, i64 4, !41, i64 1572, i64 4, !41, i64 1576, i64 4, !41, i64 1580, i64 4, !41, i64 1584, i64 4, !41, i64 1592, i64 8, !5, i64 1600, i64 8, !5, i64 1608, i64 2, !37, i64 1612, i64 4, !41, i64 1616, i64 4, !41, i64 1620, i64 4, !41, i64 1624, i64 4, !41, i64 1628, i64 4, !41, i64 1632, i64 4, !41, i64 1636, i64 4, !41, i64 1640, i64 4, !41, i64 1644, i64 4, !41, i64 1648, i64 4, !41, i64 1652, i64 4, !41, i64 1656, i64 4, !41, i64 1660, i64 4, !41, i64 1664, i64 4, !41, i64 1668, i64 4, !41, i64 1672, i64 4, !41, i64 1676, i64 4, !41, i64 1680, i64 4, !41, i64 1684, i64 4, !41, i64 1688, i64 4, !41, i64 1692, i64 4, !41, i64 1696, i64 4, !41, i64 1704, i64 8, !5, i64 1712, i64 8, !5, i64 1720, i64 8, !5, i64 1728, i64 8, !5, i64 1736, i64 4, !15, i64 1744, i64 8, !5, i64 1752, i64 8, !5, i64 1760, i64 8, !5, i64 1768, i64 8, !5, i64 1776, i64 8, !5, i64 1784, i64 4, !41, i64 1788, i64 4, !15, i64 1792, i64 4, !15, i64 1796, i64 2, !37, i64 1798, i64 1, !42, i64 1799, i64 1, !42, i64 1800, i64 1, !42, i64 1801, i64 1, !42, i64 1802, i64 1, !42, i64 1803, i64 1, !42}
!39 = !{!7, !7, i64 0}
!40 = !{!26, !26, i64 0}
!41 = !{!12, !12, i64 0}
!42 = !{!13, !13, i64 0}
!43 = !{!17, !27, i64 1796}
!44 = !{i64 0, i64 8, !5, i64 8, i64 4, !15, i64 12, i64 4, !15, i64 16, i64 4, !15, i64 20, i64 4, !15, i64 24, i64 8, !5, i64 32, i64 4, !15, i64 36, i64 4, !15}
!45 = !{i64 0, i64 8, !5, i64 8, i64 4, !15, i64 12, i64 4, !15, i64 16, i64 4, !15}
!46 = !{i64 0, i64 8, !5, i64 8, i64 4, !15, i64 12, i64 4, !15}
!47 = !{!48, !14, i64 80}
!48 = !{!"b2SolverSet", !19, i64 0, !19, i64 16, !19, i64 32, !19, i64 48, !19, i64 64, !14, i64 80}
!49 = !{!17, !6, i64 1072}
!50 = !{!17, !14, i64 1448}
!51 = !{!17, !26, i64 1536}
!52 = !{!17, !14, i64 1544}
!53 = !{!17, !14, i64 1788}
!54 = !{!17, !14, i64 1792}
!55 = !{i64 0, i64 4, !41, i64 4, i64 4, !41}
!56 = !{!10, !12, i64 12}
!57 = !{!17, !12, i64 1556}
!58 = !{!10, !12, i64 8}
!59 = !{!17, !12, i64 1560}
!60 = !{!10, !12, i64 36}
!61 = !{!17, !12, i64 1564}
!62 = !{!10, !12, i64 24}
!63 = !{!17, !12, i64 1568}
!64 = !{!10, !12, i64 16}
!65 = !{!17, !12, i64 1572}
!66 = !{!10, !12, i64 20}
!67 = !{!17, !12, i64 1576}
!68 = !{!10, !12, i64 28}
!69 = !{!17, !12, i64 1580}
!70 = !{!10, !12, i64 32}
!71 = !{!17, !12, i64 1584}
!72 = !{!10, !6, i64 40}
!73 = !{!17, !6, i64 1592}
!74 = !{!10, !6, i64 48}
!75 = !{!17, !6, i64 1600}
!76 = !{!10, !13, i64 56}
!77 = !{!17, !13, i64 1798}
!78 = !{!17, !13, i64 1799}
!79 = !{!17, !13, i64 1800}
!80 = !{!10, !13, i64 57}
!81 = !{!17, !13, i64 1801}
!82 = !{!17, !13, i64 1802}
!83 = !{!17, !6, i64 1768}
!84 = !{!10, !6, i64 88}
!85 = !{!17, !6, i64 1776}
!86 = !{!10, !14, i64 60}
!87 = !{!10, !6, i64 64}
!88 = !{!10, !6, i64 72}
!89 = !{!17, !14, i64 1736}
!90 = !{!17, !6, i64 1744}
!91 = !{!17, !6, i64 1752}
!92 = !{!10, !6, i64 80}
!93 = !{!17, !6, i64 1760}
!94 = !{!17, !6, i64 1304}
!95 = !{!17, !6, i64 1320}
!96 = distinct !{!96, !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.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 }
%struct.b2TaskContext = type { %struct.b2BitSet, %struct.b2BitSet, %struct.b2BitSet, float, i32 }
%struct.b2SensorTaskContext = type { %struct.b2BitSet }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@b2_worlds = external dso_local global [128 x %struct.b2World], align 16
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [60 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2BodyMoveEventArray_Create(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2ContactBeginTouchEventArray_Create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2ContactEndTouchEventArray_Create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2ContactHitEventArray_Create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2SensorBeginTouchEventArray_Create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2SensorEndTouchEventArray_Create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i64 } @b2TaskContextArray_Create(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress 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 i32 @b2CreateWorld(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = alloca %struct.b2ArenaAllocator, align 8
  %3 = alloca %struct.b2IdPool, align 8
  %4 = alloca %struct.b2IdPool, align 8
  %5 = alloca %struct.b2SolverSet, align 8
  %6 = alloca %struct.b2IdPool, align 8
  %7 = alloca %struct.b2IdPool, align 8
  %8 = alloca %struct.b2IdPool, align 8
  %9 = alloca %struct.b2IdPool, align 8
  %10 = alloca %struct.b2IdPool, align 8
  %11 = getelementptr inbounds i8, ptr %0, i64 96
  %12 = load i32, ptr %11, align 8, !tbaa !5
  %13 = icmp eq i32 %12, 1152023
  br i1 %13, label %.preheader, label %14

14:                                               ; preds = %1
  %15 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 104) #7
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %.preheader, label %16

.preheader:                                       ; preds = %1, %14
  br label %17

16:                                               ; preds = %14
  tail call void @llvm.trap()
  unreachable

17:                                               ; preds = %33, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next.3, %33 ]
  %18 = getelementptr inbounds [128 x %struct.b2World], ptr @b2_worlds, i64 0, i64 %indvars.iv, i32 65
  %19 = load i8, ptr %18, align 1, !tbaa !14, !range !27, !noundef !28
  %20 = icmp eq i8 %19, 0
  br i1 %20, label %34, label %21

21:                                               ; preds = %17
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %22 = getelementptr inbounds [128 x %struct.b2World], ptr @b2_worlds, i64 0, i64 %indvars.iv.next, i32 65
  %23 = load i8, ptr %22, align 1, !tbaa !14, !range !27, !noundef !28
  %24 = icmp eq i8 %23, 0
  br i1 %24, label %34, label %25

25:                                               ; preds = %21
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %26 = getelementptr inbounds [128 x %struct.b2World], ptr @b2_worlds, i64 0, i64 %indvars.iv.next.1, i32 65
  %27 = load i8, ptr %26, align 1, !tbaa !14, !range !27, !noundef !28
  %28 = icmp eq i8 %27, 0
  br i1 %28, label %34, label %29

29:                                               ; preds = %25
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %30 = getelementptr inbounds [128 x %struct.b2World], ptr @b2_worlds, i64 0, i64 %indvars.iv.next.2, i32 65
  %31 = load i8, ptr %30, align 1, !tbaa !14, !range !27, !noundef !28
  %32 = icmp eq i8 %31, 0
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, 128
  br i1 %exitcond.not.3, label %.thread, label %17, !llvm.loop !29

34:                                               ; preds = %29, %25, %21, %17
  %indvars.iv.lcssa = phi i64 [ %indvars.iv, %17 ], [ %indvars.iv.next, %21 ], [ %indvars.iv.next.1, %25 ], [ %indvars.iv.next.2, %29 ]
  %35 = trunc nuw nsw i64 %indvars.iv.lcssa to i32
  tail call void @b2InitializeContactRegisters() #7
  %36 = and i64 %indvars.iv.lcssa, 4294967295
  %37 = getelementptr inbounds %struct.b2World, ptr @b2_worlds, i64 %36
  %38 = getelementptr inbounds i8, ptr %37, i64 1608
  %39 = load i16, ptr %38, align 8, !tbaa !31
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1808) %37, i8 0, i64 1808, i1 false)
  %40 = trunc i64 %indvars.iv.lcssa to i16
  %41 = getelementptr inbounds i8, ptr %37, i64 1796
  store i16 %40, ptr %41, align 4, !tbaa !32
  store i16 %39, ptr %38, align 8, !tbaa !31
  %42 = getelementptr inbounds i8, ptr %37, i64 1803
  store i8 1, ptr %42, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #7
  call void @b2CreateArenaAllocator(ptr dead_on_unwind nonnull writable sret(%struct.b2ArenaAllocator) align 8 %2, i32 noundef 2048) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %37, ptr noundef nonnull align 8 dereferenceable(40) %2, i64 40, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #7
  %43 = getelementptr inbounds i8, ptr %37, i64 40
  call void @b2CreateBroadPhase(ptr noundef nonnull %43) #7
  %44 = getelementptr inbounds i8, ptr %37, i64 336
  call void @b2CreateGraph(ptr noundef nonnull %44, i32 noundef 16) #7
  %45 = getelementptr inbounds i8, ptr %37, i64 1008
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  %46 = getelementptr inbounds i8, ptr %37, i64 1032
  %47 = call { ptr, i64 } @b2BodyArray_Create(i32 noundef 16) #7
  %48 = extractvalue { ptr, i64 } %47, 0
  %49 = extractvalue { ptr, i64 } %47, 1
  store ptr %48, ptr %46, align 8, !tbaa !34
  %.sroa.455.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1040
  store i64 %49, ptr %.sroa.455.0..sroa_idx, align 16
  %50 = getelementptr inbounds i8, ptr %37, i64 1072
  %51 = call { ptr, i64 } @b2SolverSetArray_Create(i32 noundef 8) #7
  %52 = extractvalue { ptr, i64 } %51, 0
  %53 = extractvalue { ptr, i64 } %51, 1
  store ptr %52, ptr %50, align 16, !tbaa !34
  %.sroa.453.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1080
  store i64 %53, ptr %.sroa.453.0..sroa_idx, align 8
  %54 = getelementptr inbounds i8, ptr %37, i64 1048
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %5) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %5, i8 0, i64 88, i1 false)
  %55 = call i32 @b2AllocId(ptr noundef nonnull %54) #7
  %56 = getelementptr inbounds i8, ptr %5, i64 80
  store i32 %55, ptr %56, align 8, !tbaa !37
  call void @b2SolverSetArray_Push(ptr noundef nonnull %50, ptr noundef nonnull byval(%struct.b2SolverSet) align 8 %5)
  %57 = load ptr, ptr %50, align 16, !tbaa !39
  %58 = getelementptr inbounds i8, ptr %57, i64 80
  %59 = load i32, ptr %58, align 8, !tbaa !37
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %64, label %61

61:                                               ; preds = %34
  %62 = call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 148) #7
  %.not185 = icmp eq i32 %62, 0
  br i1 %.not185, label %64, label %63

63:                                               ; preds = %61
  call void @llvm.trap()
  unreachable

64:                                               ; preds = %61, %34
  %65 = call i32 @b2AllocId(ptr noundef nonnull %54) #7
  store i32 %65, ptr %56, align 8, !tbaa !37
  call void @b2SolverSetArray_Push(ptr noundef nonnull %50, ptr noundef nonnull byval(%struct.b2SolverSet) align 8 %5)
  %66 = load ptr, ptr %50, align 16, !tbaa !39
  %67 = getelementptr inbounds i8, ptr %66, i64 168
  %68 = load i32, ptr %67, align 8, !tbaa !37
  %69 = icmp eq i32 %68, 1
  br i1 %69, label %73, label %70

70:                                               ; preds = %64
  %71 = call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 153) #7
  %.not186 = icmp eq i32 %71, 0
  br i1 %.not186, label %73, label %72

72:                                               ; preds = %70
  call void @llvm.trap()
  unreachable

73:                                               ; preds = %70, %64
  %74 = call i32 @b2AllocId(ptr noundef nonnull %54) #7
  store i32 %74, ptr %56, align 8, !tbaa !37
  call void @b2SolverSetArray_Push(ptr noundef nonnull %50, ptr noundef nonnull byval(%struct.b2SolverSet) align 8 %5)
  %75 = load ptr, ptr %50, align 16, !tbaa !39
  %76 = getelementptr inbounds i8, ptr %75, i64 256
  %77 = load i32, ptr %76, align 8, !tbaa !37
  %78 = icmp eq i32 %77, 2
  br i1 %78, label %82, label %79

79:                                               ; preds = %73
  %80 = call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 158) #7
  %.not187 = icmp eq i32 %80, 0
  br i1 %.not187, label %82, label %81

81:                                               ; preds = %79
  call void @llvm.trap()
  unreachable

82:                                               ; preds = %79, %73
  %83 = getelementptr inbounds i8, ptr %37, i64 1208
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %83, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  %84 = getelementptr inbounds i8, ptr %37, i64 1256
  %85 = call { ptr, i64 } @b2ShapeArray_Create(i32 noundef 16) #7
  %86 = extractvalue { ptr, i64 } %85, 0
  %87 = extractvalue { ptr, i64 } %85, 1
  store ptr %86, ptr %84, align 8, !tbaa !34
  %.sroa.451.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1264
  store i64 %87, ptr %.sroa.451.0..sroa_idx, align 16
  %88 = getelementptr inbounds i8, ptr %37, i64 1232
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %88, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  %89 = getelementptr inbounds i8, ptr %37, i64 1272
  %90 = call { ptr, i64 } @b2ChainShapeArray_Create(i32 noundef 4) #7
  %91 = extractvalue { ptr, i64 } %90, 0
  %92 = extractvalue { ptr, i64 } %90, 1
  store ptr %91, ptr %89, align 8, !tbaa !34
  %.sroa.449.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1280
  store i64 %92, ptr %.sroa.449.0..sroa_idx, align 16
  %93 = getelementptr inbounds i8, ptr %37, i64 1128
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %8) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %93, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  %94 = getelementptr inbounds i8, ptr %37, i64 1152
  %95 = call { ptr, i64 } @b2ContactArray_Create(i32 noundef 16) #7
  %96 = extractvalue { ptr, i64 } %95, 0
  %97 = extractvalue { ptr, i64 } %95, 1
  store ptr %96, ptr %94, align 16, !tbaa !34
  %.sroa.447.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1160
  store i64 %97, ptr %.sroa.447.0..sroa_idx, align 8
  %98 = getelementptr inbounds i8, ptr %37, i64 1088
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %9) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %98, ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  %99 = getelementptr inbounds i8, ptr %37, i64 1112
  %100 = call { ptr, i64 } @b2JointArray_Create(i32 noundef 16) #7
  %101 = extractvalue { ptr, i64 } %100, 0
  %102 = extractvalue { ptr, i64 } %100, 1
  store ptr %101, ptr %99, align 8, !tbaa !34
  %.sroa.445.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1120
  store i64 %102, ptr %.sroa.445.0..sroa_idx, align 16
  %103 = getelementptr inbounds i8, ptr %37, i64 1168
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @b2CreateIdPool(ptr dead_on_unwind nonnull writable sret(%struct.b2IdPool) align 8 %10) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %103, ptr noundef nonnull align 8 dereferenceable(24) %10, i64 24, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  %104 = getelementptr inbounds i8, ptr %37, i64 1192
  %105 = call { ptr, i64 } @b2IslandArray_Create(i32 noundef 8) #7
  %106 = extractvalue { ptr, i64 } %105, 0
  %107 = extractvalue { ptr, i64 } %105, 1
  store ptr %106, ptr %104, align 8, !tbaa !34
  %.sroa.443.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1200
  store i64 %107, ptr %.sroa.443.0..sroa_idx, align 16
  %108 = getelementptr inbounds i8, ptr %37, i64 1288
  %109 = call { ptr, i64 } @b2SensorArray_Create(i32 noundef 4) #7
  %110 = extractvalue { ptr, i64 } %109, 0
  %111 = extractvalue { ptr, i64 } %109, 1
  store ptr %110, ptr %108, align 8, !tbaa !34
  %.sroa.441.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1296
  store i64 %111, ptr %.sroa.441.0..sroa_idx, align 16
  %112 = getelementptr inbounds i8, ptr %37, i64 1336
  %113 = call { ptr, i64 } @b2BodyMoveEventArray_Create(i32 noundef 4)
  %114 = extractvalue { ptr, i64 } %113, 0
  %115 = extractvalue { ptr, i64 } %113, 1
  store ptr %114, ptr %112, align 8, !tbaa !34
  %.sroa.439.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1344
  store i64 %115, ptr %.sroa.439.0..sroa_idx, align 16
  %116 = getelementptr inbounds i8, ptr %37, i64 1352
  %117 = call { ptr, i64 } @b2SensorBeginTouchEventArray_Create(i32 noundef 4)
  %118 = extractvalue { ptr, i64 } %117, 0
  %119 = extractvalue { ptr, i64 } %117, 1
  store ptr %118, ptr %116, align 8, !tbaa !34
  %.sroa.437.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1360
  store i64 %119, ptr %.sroa.437.0..sroa_idx, align 16
  %120 = getelementptr inbounds i8, ptr %37, i64 1384
  %121 = call { ptr, i64 } @b2SensorEndTouchEventArray_Create(i32 noundef 4)
  %122 = extractvalue { ptr, i64 } %121, 0
  %123 = extractvalue { ptr, i64 } %121, 1
  store ptr %122, ptr %120, align 8, !tbaa !34
  %.sroa.435.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1392
  store i64 %123, ptr %.sroa.435.0..sroa_idx, align 16
  %124 = getelementptr inbounds i8, ptr %37, i64 1400
  %125 = call { ptr, i64 } @b2SensorEndTouchEventArray_Create(i32 noundef 4)
  %126 = extractvalue { ptr, i64 } %125, 0
  %127 = extractvalue { ptr, i64 } %125, 1
  store ptr %126, ptr %124, align 8, !tbaa !34
  %.sroa.433.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1408
  store i64 %127, ptr %.sroa.433.0..sroa_idx, align 16
  %128 = getelementptr inbounds i8, ptr %37, i64 1368
  %129 = call { ptr, i64 } @b2ContactBeginTouchEventArray_Create(i32 noundef 4)
  %130 = extractvalue { ptr, i64 } %129, 0
  %131 = extractvalue { ptr, i64 } %129, 1
  store ptr %130, ptr %128, align 8, !tbaa !34
  %.sroa.431.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1376
  store i64 %131, ptr %.sroa.431.0..sroa_idx, align 16
  %132 = getelementptr inbounds i8, ptr %37, i64 1416
  %133 = call { ptr, i64 } @b2ContactEndTouchEventArray_Create(i32 noundef 4)
  %134 = extractvalue { ptr, i64 } %133, 0
  %135 = extractvalue { ptr, i64 } %133, 1
  store ptr %134, ptr %132, align 8, !tbaa !34
  %.sroa.429.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1424
  store i64 %135, ptr %.sroa.429.0..sroa_idx, align 16
  %136 = getelementptr inbounds i8, ptr %37, i64 1432
  %137 = call { ptr, i64 } @b2ContactEndTouchEventArray_Create(i32 noundef 4)
  %138 = extractvalue { ptr, i64 } %137, 0
  %139 = extractvalue { ptr, i64 } %137, 1
  store ptr %138, ptr %136, align 8, !tbaa !34
  %.sroa.427.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1440
  store i64 %139, ptr %.sroa.427.0..sroa_idx, align 16
  %140 = getelementptr inbounds i8, ptr %37, i64 1456
  %141 = call { ptr, i64 } @b2ContactHitEventArray_Create(i32 noundef 4)
  %142 = extractvalue { ptr, i64 } %141, 0
  %143 = extractvalue { ptr, i64 } %141, 1
  store ptr %142, ptr %140, align 16, !tbaa !34
  %.sroa.425.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1464
  store i64 %143, ptr %.sroa.425.0..sroa_idx, align 8
  %144 = getelementptr inbounds i8, ptr %37, i64 1448
  store i32 0, ptr %144, align 8, !tbaa !40
  %145 = getelementptr inbounds i8, ptr %37, i64 1536
  store i64 0, ptr %145, align 16, !tbaa !41
  %146 = getelementptr inbounds i8, ptr %37, i64 1544
  store i32 -1, ptr %146, align 8, !tbaa !42
  %147 = getelementptr inbounds i8, ptr %37, i64 1788
  store i32 0, ptr %147, align 4, !tbaa !43
  %148 = getelementptr inbounds i8, ptr %37, i64 1792
  store i32 0, ptr %148, align 16, !tbaa !44
  %149 = getelementptr inbounds i8, ptr %37, i64 1548
  %150 = load i64, ptr %0, align 8
  store i64 %150, ptr %149, align 4
  %151 = getelementptr inbounds i8, ptr %37, i64 1556
  %152 = getelementptr inbounds i8, ptr %0, i64 8
  %153 = load <2 x float>, ptr %152, align 8, !tbaa !45
  %154 = shufflevector <2 x float> %153, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  store <2 x float> %154, ptr %151, align 4, !tbaa !45
  %155 = getelementptr inbounds i8, ptr %0, i64 36
  %156 = load float, ptr %155, align 4, !tbaa !46
  %157 = getelementptr inbounds i8, ptr %37, i64 1564
  %158 = getelementptr inbounds i8, ptr %0, i64 24
  %159 = load float, ptr %158, align 8, !tbaa !47
  %160 = getelementptr inbounds i8, ptr %0, i64 16
  %161 = load <2 x float>, ptr %160, align 8, !tbaa !45
  %162 = insertelement <4 x float> poison, float %156, i64 0
  %163 = insertelement <4 x float> %162, float %159, i64 1
  %164 = shufflevector <2 x float> %161, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 poison, i32 poison>
  %165 = shufflevector <4 x float> %163, <4 x float> %164, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
  store <4 x float> %165, ptr %157, align 4, !tbaa !45
  %166 = getelementptr inbounds i8, ptr %0, i64 28
  %167 = getelementptr inbounds i8, ptr %37, i64 1580
  %168 = load <2 x float>, ptr %166, align 4, !tbaa !45
  store <2 x float> %168, ptr %167, align 4, !tbaa !45
  %169 = getelementptr inbounds i8, ptr %0, i64 40
  %170 = load ptr, ptr %169, align 8, !tbaa !48
  %171 = icmp eq ptr %170, null
  %spec.select = select i1 %171, ptr @b2DefaultFrictionCallback, ptr %170
  %172 = getelementptr inbounds i8, ptr %37, i64 1592
  store ptr %spec.select, ptr %172, align 8
  %173 = getelementptr inbounds i8, ptr %0, i64 48
  %174 = load ptr, ptr %173, align 8, !tbaa !49
  %175 = icmp eq ptr %174, null
  %.sink199 = select i1 %175, ptr @b2DefaultRestitutionCallback, ptr %174
  %176 = getelementptr inbounds i8, ptr %37, i64 1600
  store ptr %.sink199, ptr %176, align 16
  %177 = getelementptr inbounds i8, ptr %0, i64 56
  %178 = load i8, ptr %177, align 8, !tbaa !50, !range !27, !noundef !28
  %179 = getelementptr inbounds i8, ptr %37, i64 1798
  store i8 %178, ptr %179, align 2, !tbaa !51
  %180 = getelementptr inbounds i8, ptr %37, i64 1799
  store i8 0, ptr %180, align 1, !tbaa !52
  %181 = getelementptr inbounds i8, ptr %37, i64 1800
  store i8 1, ptr %181, align 8, !tbaa !53
  %182 = getelementptr inbounds i8, ptr %0, i64 57
  %183 = load i8, ptr %182, align 1, !tbaa !54, !range !27, !noundef !28
  %184 = getelementptr inbounds i8, ptr %37, i64 1801
  store i8 %183, ptr %184, align 1, !tbaa !55
  %185 = getelementptr inbounds i8, ptr %37, i64 1802
  store i8 1, ptr %185, align 2, !tbaa !56
  %186 = getelementptr inbounds i8, ptr %37, i64 1768
  store ptr null, ptr %186, align 8, !tbaa !57
  %187 = getelementptr inbounds i8, ptr %0, i64 88
  %188 = load ptr, ptr %187, align 8, !tbaa !58
  %189 = getelementptr inbounds i8, ptr %37, i64 1776
  store ptr %188, ptr %189, align 16, !tbaa !59
  %190 = getelementptr inbounds i8, ptr %0, i64 60
  %191 = load i32, ptr %190, align 4, !tbaa !60
  %192 = icmp sgt i32 %191, 0
  br i1 %192, label %193, label %206

193:                                              ; preds = %82
  %194 = getelementptr inbounds i8, ptr %0, i64 64
  %195 = load ptr, ptr %194, align 8, !tbaa !61
  %.not188 = icmp eq ptr %195, null
  br i1 %.not188, label %206, label %196

196:                                              ; preds = %193
  %197 = getelementptr inbounds i8, ptr %0, i64 72
  %198 = load ptr, ptr %197, align 8, !tbaa !62
  %.not189 = icmp eq ptr %198, null
  br i1 %.not189, label %206, label %199

199:                                              ; preds = %196
  %200 = call i32 @b2MinInt(i32 noundef %191, i32 noundef 64)
  %201 = getelementptr inbounds i8, ptr %37, i64 1736
  store i32 %200, ptr %201, align 8, !tbaa !63
  %202 = getelementptr inbounds i8, ptr %37, i64 1744
  %203 = load <2 x ptr>, ptr %194, align 8, !tbaa !34
  store <2 x ptr> %203, ptr %202, align 16, !tbaa !34
  %204 = getelementptr inbounds i8, ptr %0, i64 80
  %205 = load ptr, ptr %204, align 8, !tbaa !64
  br label %210

206:                                              ; preds = %196, %193, %82
  %207 = getelementptr inbounds i8, ptr %37, i64 1736
  store i32 1, ptr %207, align 8, !tbaa !63
  %208 = getelementptr inbounds i8, ptr %37, i64 1744
  store ptr @b2DefaultAddTaskFcn, ptr %208, align 16, !tbaa !65
  %209 = getelementptr inbounds i8, ptr %37, i64 1752
  store ptr @b2DefaultFinishTaskFcn, ptr %209, align 8, !tbaa !66
  br label %210

210:                                              ; preds = %206, %199
  %.sink = phi ptr [ null, %206 ], [ %205, %199 ]
  %211 = phi i32 [ 1, %206 ], [ %200, %199 ]
  %212 = getelementptr inbounds i8, ptr %37, i64 1760
  store ptr %.sink, ptr %212, align 16, !tbaa !67
  %213 = getelementptr inbounds i8, ptr %37, i64 1304
  %214 = getelementptr inbounds i8, ptr %37, i64 1736
  %215 = call { ptr, i64 } @b2TaskContextArray_Create(i32 noundef %211)
  %216 = extractvalue { ptr, i64 } %215, 0
  %217 = extractvalue { ptr, i64 } %215, 1
  store ptr %216, ptr %213, align 8, !tbaa !34
  %.sroa.423.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1312
  store i64 %217, ptr %.sroa.423.0..sroa_idx, align 16
  %218 = load i32, ptr %214, align 8, !tbaa !63
  call void @b2TaskContextArray_Resize(ptr noundef nonnull %213, i32 noundef %218)
  %219 = getelementptr inbounds i8, ptr %37, i64 1320
  %220 = load i32, ptr %214, align 8, !tbaa !63
  %221 = call { ptr, i64 } @b2SensorTaskContextArray_Create(i32 noundef %220) #7
  %222 = extractvalue { ptr, i64 } %221, 0
  %223 = extractvalue { ptr, i64 } %221, 1
  store ptr %222, ptr %219, align 8, !tbaa !34
  %.sroa.421.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1328
  store i64 %223, ptr %.sroa.421.0..sroa_idx, align 16
  %224 = load i32, ptr %214, align 8, !tbaa !63
  call void @b2SensorTaskContextArray_Resize(ptr noundef nonnull %219, i32 noundef %224)
  %225 = load i32, ptr %214, align 8, !tbaa !63
  %226 = icmp sgt i32 %225, 0
  br i1 %226, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %210
  %227 = getelementptr inbounds i8, ptr %37, i64 1472
  %228 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256) #7
  %229 = extractvalue { ptr, i64 } %228, 0
  %230 = extractvalue { ptr, i64 } %228, 1
  store ptr %229, ptr %227, align 16, !tbaa !34
  %.sroa.46.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1480
  store i64 %230, ptr %.sroa.46.0..sroa_idx, align 8
  %231 = getelementptr inbounds i8, ptr %37, i64 1488
  %232 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256) #7
  %233 = extractvalue { ptr, i64 } %232, 0
  %234 = extractvalue { ptr, i64 } %232, 1
  store ptr %233, ptr %231, align 16, !tbaa !34
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1496
  store i64 %234, ptr %.sroa.44.0..sroa_idx, align 8
  %235 = getelementptr inbounds i8, ptr %37, i64 1504
  %236 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256) #7
  %237 = extractvalue { ptr, i64 } %236, 0
  %238 = extractvalue { ptr, i64 } %236, 1
  store ptr %237, ptr %235, align 16, !tbaa !34
  %.sroa.42.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1512
  store i64 %238, ptr %.sroa.42.0..sroa_idx, align 8
  %239 = getelementptr inbounds i8, ptr %37, i64 1520
  %240 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256) #7
  %241 = extractvalue { ptr, i64 } %240, 0
  %242 = extractvalue { ptr, i64 } %240, 1
  store ptr %241, ptr %239, align 16, !tbaa !34
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 1528
  store i64 %242, ptr %.sroa.4.0..sroa_idx, align 8
  %243 = add nuw nsw i32 %35, 1
  %244 = load i16, ptr %38, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #7
  %245 = zext i16 %244 to i32
  %246 = shl nuw i32 %245, 16
  %247 = add nuw nsw i32 %246, %243
  br label %.thread

.lr.ph:                                           ; preds = %210, %.lr.ph
  %indvars.iv196 = phi i64 [ %indvars.iv.next197, %.lr.ph ], [ 0, %210 ]
  %248 = load ptr, ptr %213, align 8, !tbaa !68
  %249 = getelementptr inbounds %struct.b2TaskContext, ptr %248, i64 %indvars.iv196
  %250 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 1024) #7
  %251 = extractvalue { ptr, i64 } %250, 0
  %252 = extractvalue { ptr, i64 } %250, 1
  store ptr %251, ptr %249, align 8, !tbaa !34
  %.sroa.414.0..sroa_idx = getelementptr inbounds i8, ptr %249, i64 8
  store i64 %252, ptr %.sroa.414.0..sroa_idx, align 8
  %253 = load ptr, ptr %213, align 8, !tbaa !68
  %254 = getelementptr inbounds %struct.b2TaskContext, ptr %253, i64 %indvars.iv196, i32 1
  %255 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256) #7
  %256 = extractvalue { ptr, i64 } %255, 0
  %257 = extractvalue { ptr, i64 } %255, 1
  store ptr %256, ptr %254, align 8, !tbaa !34
  %.sroa.412.0..sroa_idx = getelementptr inbounds i8, ptr %254, i64 8
  store i64 %257, ptr %.sroa.412.0..sroa_idx, align 8
  %258 = load ptr, ptr %213, align 8, !tbaa !68
  %259 = getelementptr inbounds %struct.b2TaskContext, ptr %258, i64 %indvars.iv196, i32 2
  %260 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 256) #7
  %261 = extractvalue { ptr, i64 } %260, 0
  %262 = extractvalue { ptr, i64 } %260, 1
  store ptr %261, ptr %259, align 8, !tbaa !34
  %.sroa.410.0..sroa_idx = getelementptr inbounds i8, ptr %259, i64 8
  store i64 %262, ptr %.sroa.410.0..sroa_idx, align 8
  %263 = load ptr, ptr %219, align 8, !tbaa !69
  %264 = getelementptr inbounds %struct.b2SensorTaskContext, ptr %263, i64 %indvars.iv196
  %265 = call { ptr, i64 } @b2CreateBitSet(i32 noundef 128) #7
  %266 = extractvalue { ptr, i64 } %265, 0
  %267 = extractvalue { ptr, i64 } %265, 1
  store ptr %266, ptr %264, align 8, !tbaa !34
  %.sroa.48.0..sroa_idx = getelementptr inbounds i8, ptr %264, i64 8
  store i64 %267, ptr %.sroa.48.0..sroa_idx, align 8
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %268 = load i32, ptr %214, align 8, !tbaa !63
  %269 = sext i32 %268 to i64
  %270 = icmp slt i64 %indvars.iv.next197, %269
  br i1 %270, label %.lr.ph, label %._crit_edge, !llvm.loop !70

.thread:                                          ; preds = %33, %._crit_edge
  %.sroa.0179.0.insert.insert = phi i32 [ %247, %._crit_edge ], [ 0, %33 ]
  ret i32 %.sroa.0179.0.insert.insert
}

declare void @b2InitializeContactRegisters() local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare void @b2CreateArenaAllocator(ptr dead_on_unwind writable sret(%struct.b2ArenaAllocator) align 8, i32 noundef) local_unnamed_addr #2

declare void @b2CreateBroadPhase(ptr noundef) local_unnamed_addr #2

declare void @b2CreateGraph(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @b2CreateIdPool(ptr dead_on_unwind writable sret(%struct.b2IdPool) align 8) local_unnamed_addr #2

declare { ptr, i64 } @b2BodyArray_Create(i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @b2SolverSetArray_Create(i32 noundef) local_unnamed_addr #2

declare i32 @b2AllocId(ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @b2SolverSetArray_Push(ptr noundef, ptr noundef byval(%struct.b2SolverSet) align 8) local_unnamed_addr #6

declare { ptr, i64 } @b2ShapeArray_Create(i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @b2ChainShapeArray_Create(i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @b2ContactArray_Create(i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @b2JointArray_Create(i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @b2IslandArray_Create(i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @b2SensorArray_Create(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden float @b2DefaultFrictionCallback(float noundef, i32 noundef, float noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden float @b2DefaultRestitutionCallback(float noundef, i32 noundef, float noundef, i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2MinInt(i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare hidden ptr @b2DefaultAddTaskFcn(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @b2DefaultFinishTaskFcn(ptr noundef, ptr noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @b2TaskContextArray_Resize(ptr noundef, i32 noundef) local_unnamed_addr #6

declare { ptr, i64 } @b2SensorTaskContextArray_Create(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @b2SensorTaskContextArray_Resize(ptr noundef, i32 noundef) local_unnamed_addr #6

declare { ptr, i64 } @b2CreateBitSet(i32 noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 96}
!6 = !{!"b2WorldDef", !7, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 57, !13, i64 60, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !13, i64 96}
!7 = !{!"b2Vec2", !8, i64 0, !8, i64 4}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_Bool", !9, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !12, i64 1803}
!15 = !{!"b2World", !16, i64 0, !18, i64 40, !21, i64 336, !22, i64 1008, !17, i64 1032, !22, i64 1048, !17, i64 1072, !22, i64 1088, !17, i64 1112, !22, i64 1128, !17, i64 1152, !22, i64 1168, !17, i64 1192, !22, i64 1208, !22, 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, !9, i64 1384, !9, i64 1416, !13, i64 1448, !17, i64 1456, !23, i64 1472, !23, i64 1488, !23, i64 1504, !23, i64 1520, !24, i64 1536, !13, i64 1544, !7, i64 1548, !8, i64 1556, !8, i64 1560, !8, i64 1564, !8, i64 1568, !8, i64 1572, !8, i64 1576, !8, i64 1580, !8, i64 1584, !11, i64 1592, !11, i64 1600, !25, i64 1608, !26, i64 1612, !11, i64 1704, !11, i64 1712, !11, i64 1720, !11, i64 1728, !13, i64 1736, !11, i64 1744, !11, i64 1752, !11, i64 1760, !11, i64 1768, !11, i64 1776, !8, i64 1784, !13, i64 1788, !13, i64 1792, !25, i64 1796, !12, i64 1798, !12, i64 1799, !12, i64 1800, !12, i64 1801, !12, i64 1802, !12, i64 1803}
!16 = !{!"b2ArenaAllocator", !11, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !17, i64 24}
!17 = !{!"", !11, i64 0, !13, i64 8, !13, i64 12}
!18 = !{!"b2BroadPhase", !9, i64 0, !13, i64 216, !19, i64 224, !17, i64 240, !11, i64 256, !11, i64 264, !13, i64 272, !20, i64 276, !19, i64 280}
!19 = !{!"b2HashSet", !11, i64 0, !13, i64 8, !13, i64 12}
!20 = !{!"b2AtomicInt", !13, i64 0}
!21 = !{!"b2ConstraintGraph", !9, i64 0}
!22 = !{!"b2IdPool", !17, i64 0, !13, i64 16}
!23 = !{!"b2BitSet", !11, i64 0, !13, i64 8, !13, i64 12}
!24 = !{!"long", !9, i64 0}
!25 = !{!"short", !9, i64 0}
!26 = !{!"b2Profile", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !8, i64 80, !8, i64 84}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!15, !25, i64 1608}
!32 = !{!15, !25, i64 1796}
!33 = !{i64 0, i64 8, !34, i64 8, i64 4, !35, i64 12, i64 4, !35, i64 16, i64 4, !35, i64 20, i64 4, !35, i64 24, i64 8, !34, i64 32, i64 4, !35, i64 36, i64 4, !35}
!34 = !{!11, !11, i64 0}
!35 = !{!13, !13, i64 0}
!36 = !{i64 0, i64 8, !34, i64 8, i64 4, !35, i64 12, i64 4, !35, i64 16, i64 4, !35}
!37 = !{!38, !13, i64 80}
!38 = !{!"b2SolverSet", !17, i64 0, !17, i64 16, !17, i64 32, !17, i64 48, !17, i64 64, !13, i64 80}
!39 = !{!15, !11, i64 1072}
!40 = !{!15, !13, i64 1448}
!41 = !{!15, !24, i64 1536}
!42 = !{!15, !13, i64 1544}
!43 = !{!15, !13, i64 1788}
!44 = !{!15, !13, i64 1792}
!45 = !{!8, !8, i64 0}
!46 = !{!6, !8, i64 36}
!47 = !{!6, !8, i64 24}
!48 = !{!6, !11, i64 40}
!49 = !{!6, !11, i64 48}
!50 = !{!6, !12, i64 56}
!51 = !{!15, !12, i64 1798}
!52 = !{!15, !12, i64 1799}
!53 = !{!15, !12, i64 1800}
!54 = !{!6, !12, i64 57}
!55 = !{!15, !12, i64 1801}
!56 = !{!15, !12, i64 1802}
!57 = !{!15, !11, i64 1768}
!58 = !{!6, !11, i64 88}
!59 = !{!15, !11, i64 1776}
!60 = !{!6, !13, i64 60}
!61 = !{!6, !11, i64 64}
!62 = !{!6, !11, i64 72}
!63 = !{!15, !13, i64 1736}
!64 = !{!6, !11, i64 80}
!65 = !{!15, !11, i64 1744}
!66 = !{!15, !11, i64 1752}
!67 = !{!15, !11, i64 1760}
!68 = !{!15, !11, i64 1304}
!69 = !{!15, !11, i64 1320}
!70 = distinct !{!70, !30}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass