; LLVM IR from erincatto/box2d :: samples/car.ll (ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv)

; 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.b2Vec2 = type { float, float }
%struct.b2Rot = type { float, float }
%struct.b2Hull = type { [8 x %struct.b2Vec2], i32 }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2WheelJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, i8, float, float, i8, float, float, i8, float, float, i8, ptr, i32 }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2WorldId = type { i16, i16 }
%struct.b2ShapeId = type { i32, i16, i16 }
%struct.b2Circle = type { %struct.b2Vec2, float }
%struct.b2JointId = type { i32, i16, i16 }
%class.Truck = type <{ %struct.b2BodyId, %struct.b2BodyId, %struct.b2BodyId, %struct.b2JointId, %struct.b2JointId, i8, [3 x i8] }>

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv = external hidden unnamed_addr constant [80 x i8], align 1
@__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.vertices = external hidden unnamed_addr constant [5 x %struct.b2Vec2], align 16
@_ZL14b2Rot_identity = external hidden constant %struct.b2Rot, align 4
@__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.axis = external hidden unnamed_addr constant %struct.b2Vec2, align 4

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

; 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) #1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare void @b2ComputeHull(ptr dead_on_unwind writable sret(%struct.b2Hull) align 4, ptr noundef, i32 noundef) #3

declare void @b2MakePolygon(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, ptr noundef, float noundef) #3

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) #3

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float>, <2 x float>) #4

declare i64 @b2CreateBody(i32, ptr noundef) #3

declare i64 @b2CreatePolygonShape(i64, ptr noundef, ptr noundef) #3

declare i64 @b2CreateCircleShape(i64, ptr noundef, ptr noundef) #3

declare <2 x float> @b2Body_GetPosition(i64) #3

declare void @b2DefaultWheelJointDef(ptr dead_on_unwind writable sret(%struct.b2WheelJointDef) align 8) #3

declare <2 x float> @b2Body_GetLocalVector(i64, <2 x float>) #3

declare <2 x float> @b2Body_GetLocalPoint(i64, <2 x float>) #3

declare i64 @b2CreateWheelJoint(i32, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv(ptr noundef nonnull align 4 dereferenceable(41) %0, i32 %1, <2 x float> %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, ptr noundef %8) #5 align 2 {
  %10 = alloca %struct.b2WorldId, align 2
  %11 = alloca %struct.b2Vec2, align 4
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca [5 x %struct.b2Vec2], align 16
  %20 = alloca i32, align 4
  %21 = alloca %struct.b2Hull, align 4
  %22 = alloca %struct.b2Polygon, align 4
  %23 = alloca %struct.b2ShapeDef, align 8
  %24 = alloca %struct.b2BodyDef, align 8
  %25 = alloca %struct.b2Vec2, align 4
  %26 = alloca %struct.b2Vec2, align 4
  %27 = alloca %struct.b2Vec2, align 4
  %28 = alloca %struct.b2BodyId, align 4
  %29 = alloca %struct.b2WorldId, align 2
  %30 = alloca %struct.b2BodyId, align 4
  %31 = alloca %struct.b2ShapeId, align 4
  %32 = alloca %struct.b2Polygon, align 4
  %33 = alloca %struct.b2Vec2, align 4
  %34 = alloca %struct.b2Rot, align 4
  %35 = alloca %struct.b2BodyId, align 4
  %36 = alloca %struct.b2ShapeId, align 4
  %37 = alloca %struct.b2Polygon, align 4
  %38 = alloca %struct.b2Vec2, align 4
  %39 = alloca %struct.b2Rot, align 4
  %40 = alloca %struct.b2BodyId, align 4
  %41 = alloca %struct.b2ShapeId, align 4
  %42 = alloca %struct.b2Circle, align 4
  %43 = alloca %struct.b2Vec2, align 4
  %44 = alloca %struct.b2Vec2, align 4
  %45 = alloca %struct.b2Vec2, align 4
  %46 = alloca %struct.b2BodyId, align 4
  %47 = alloca %struct.b2WorldId, align 2
  %48 = alloca %struct.b2BodyId, align 4
  %49 = alloca %struct.b2ShapeId, align 4
  %50 = alloca %struct.b2Vec2, align 4
  %51 = alloca %struct.b2Vec2, align 4
  %52 = alloca %struct.b2Vec2, align 4
  %53 = alloca %struct.b2BodyId, align 4
  %54 = alloca %struct.b2WorldId, align 2
  %55 = alloca %struct.b2BodyId, align 4
  %56 = alloca %struct.b2ShapeId, align 4
  %57 = alloca %struct.b2Vec2, align 4
  %58 = alloca %struct.b2Vec2, align 4
  %59 = alloca %struct.b2BodyId, align 4
  %60 = alloca %struct.b2WheelJointDef, align 8
  %61 = alloca %struct.b2Vec2, align 4
  %62 = alloca %struct.b2BodyId, align 4
  %63 = alloca %struct.b2Vec2, align 4
  %64 = alloca %struct.b2Vec2, align 4
  %65 = alloca %struct.b2BodyId, align 4
  %66 = alloca %struct.b2Vec2, align 4
  %67 = alloca %struct.b2Vec2, align 4
  %68 = alloca %struct.b2BodyId, align 4
  %69 = alloca %struct.b2Vec2, align 4
  %70 = alloca %struct.b2JointId, align 4
  %71 = alloca %struct.b2WorldId, align 2
  %72 = alloca %struct.b2Vec2, align 4
  %73 = alloca %struct.b2BodyId, align 4
  %74 = alloca %struct.b2Vec2, align 4
  %75 = alloca %struct.b2BodyId, align 4
  %76 = alloca %struct.b2Vec2, align 4
  %77 = alloca %struct.b2Vec2, align 4
  %78 = alloca %struct.b2BodyId, align 4
  %79 = alloca %struct.b2Vec2, align 4
  %80 = alloca %struct.b2Vec2, align 4
  %81 = alloca %struct.b2BodyId, align 4
  %82 = alloca %struct.b2Vec2, align 4
  %83 = alloca %struct.b2JointId, align 4
  %84 = alloca %struct.b2WorldId, align 2
  store i32 %1, ptr %10, align 2
  store <2 x float> %2, ptr %11, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store float %3, ptr %13, align 4, !tbaa !9
  store float %4, ptr %14, align 4, !tbaa !9
  store float %5, ptr %15, align 4, !tbaa !9
  store float %6, ptr %16, align 4, !tbaa !9
  store float %7, ptr %17, align 4, !tbaa !9
  store ptr %8, ptr %18, align 8, !tbaa !5
  %85 = load ptr, ptr %12, align 8
  %86 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 5
  %87 = load i8, ptr %86, align 4, !tbaa !11, !range !18, !noundef !19
  %88 = trunc i8 %87 to i1
  %89 = zext i1 %88 to i32
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %9
  br label %94

92:                                               ; preds = %9
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 162, ptr noundef @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

93:                                               ; No predecessors!
  br label %94

94:                                               ; preds = %93, %91
  %95 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  %96 = getelementptr inbounds %struct.b2BodyId, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 4, !tbaa !20
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %94
  br label %102

100:                                              ; preds = %94
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 164, ptr noundef @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

101:                                              ; No predecessors!
  br label %102

102:                                              ; preds = %101, %99
  %103 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 2
  %104 = getelementptr inbounds %struct.b2BodyId, ptr %103, i32 0, i32 0
  %105 = load i32, ptr %104, align 4, !tbaa !21
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %102
  br label %110

108:                                              ; preds = %102
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 165, ptr noundef @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

109:                                              ; No predecessors!
  br label %110

110:                                              ; preds = %109, %107
  %111 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 1
  %112 = getelementptr inbounds %struct.b2BodyId, ptr %111, i32 0, i32 0
  %113 = load i32, ptr %112, align 4, !tbaa !22
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %115, label %116

115:                                              ; preds = %110
  br label %118

116:                                              ; preds = %110
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 166, ptr noundef @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

117:                                              ; No predecessors!
  br label %118

118:                                              ; preds = %117, %115
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.vertices, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !23
  br label %119

119:                                              ; preds = %140, %118
  %120 = load i32, ptr %20, align 4, !tbaa !23
  %121 = icmp slt i32 %120, 5
  br i1 %121, label %123, label %122

122:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %143

123:                                              ; preds = %119
  %124 = load float, ptr %13, align 4, !tbaa !9
  %125 = fmul float 0x3FEB333340000000, %124
  %126 = load i32, ptr %20, align 4, !tbaa !23
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [5 x %struct.b2Vec2], ptr %19, i64 0, i64 %127
  %129 = getelementptr inbounds %struct.b2Vec2, ptr %128, i32 0, i32 0
  %130 = load float, ptr %129, align 8, !tbaa !24
  %131 = fmul float %130, %125
  store float %131, ptr %129, align 8, !tbaa !24
  %132 = load float, ptr %13, align 4, !tbaa !9
  %133 = fmul float 0x3FEB333340000000, %132
  %134 = load i32, ptr %20, align 4, !tbaa !23
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [5 x %struct.b2Vec2], ptr %19, i64 0, i64 %135
  %137 = getelementptr inbounds %struct.b2Vec2, ptr %136, i32 0, i32 1
  %138 = load float, ptr %137, align 4, !tbaa !26
  %139 = fmul float %138, %133
  store float %139, ptr %137, align 4, !tbaa !26
  br label %140

140:                                              ; preds = %123
  %141 = load i32, ptr %20, align 4, !tbaa !23
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %20, align 4, !tbaa !23
  br label %119, !llvm.loop !27

143:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 68, ptr %21) #7
  %144 = getelementptr inbounds [5 x %struct.b2Vec2], ptr %19, i64 0, i64 0
  call void @b2ComputeHull(ptr dead_on_unwind writable sret(%struct.b2Hull) align 4 %21, ptr noundef %144, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 144, ptr %22) #7
  %145 = load float, ptr %13, align 4, !tbaa !9
  %146 = fmul float 0x3FC3333340000000, %145
  call void @b2MakePolygon(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %22, ptr noundef %21, float noundef %146)
  call void @llvm.lifetime.start.p0(i64 80, ptr %23) #7
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %23)
  %147 = load float, ptr %17, align 4, !tbaa !9
  %148 = getelementptr inbounds %struct.b2ShapeDef, ptr %23, i32 0, i32 2
  store float %147, ptr %148, align 8, !tbaa !29
  %149 = getelementptr inbounds %struct.b2ShapeDef, ptr %23, i32 0, i32 1
  %150 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %149, i32 0, i32 0
  store float 0x3FC99999A0000000, ptr %150, align 8, !tbaa !34
  %151 = getelementptr inbounds %struct.b2ShapeDef, ptr %23, i32 0, i32 1
  %152 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %151, i32 0, i32 5
  store i32 16738740, ptr %152, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 80, ptr %24) #7
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %24)
  %153 = getelementptr inbounds %struct.b2BodyDef, ptr %24, i32 0, i32 0
  store i32 2, ptr %153, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %154 = getelementptr inbounds %struct.b2Vec2, ptr %26, i32 0, i32 0
  store float 0.000000e+00, ptr %154, align 4, !tbaa !24
  %155 = getelementptr inbounds %struct.b2Vec2, ptr %26, i32 0, i32 1
  %156 = load float, ptr %13, align 4, !tbaa !9
  %157 = fmul float 1.000000e+00, %156
  store float %157, ptr %155, align 4, !tbaa !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !40
  %158 = load <2 x float>, ptr %26, align 4
  %159 = load <2 x float>, ptr %27, align 4
  %160 = call <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float> %158, <2 x float> %159)
  store <2 x float> %160, ptr %25, align 4
  %161 = getelementptr inbounds %struct.b2BodyDef, ptr %24, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %161, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %29, ptr align 2 %10, i64 4, i1 false), !tbaa.struct !41
  %162 = load i32, ptr %29, align 2
  %163 = call i64 @b2CreateBody(i32 %162, ptr noundef %24)
  store i64 %163, ptr %28, align 4
  %164 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %164, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %165 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %165, i64 8, i1 false), !tbaa.struct !43
  %166 = load i64, ptr %30, align 4
  %167 = call i64 @b2CreatePolygonShape(i64 %166, ptr noundef %23, ptr noundef %22)
  store i64 %167, ptr %31, align 4
  call void @llvm.lifetime.start.p0(i64 144, ptr %32) #7
  %168 = load float, ptr %13, align 4, !tbaa !9
  %169 = fmul float 1.250000e+00, %168
  %170 = load float, ptr %13, align 4, !tbaa !9
  %171 = fmul float 0x3FB99999A0000000, %170
  %172 = getelementptr inbounds %struct.b2Vec2, ptr %33, i32 0, i32 0
  %173 = load float, ptr %13, align 4, !tbaa !9
  %174 = fmul float 0xC000666660000000, %173
  store float %174, ptr %172, align 4, !tbaa !24
  %175 = getelementptr inbounds %struct.b2Vec2, ptr %33, i32 0, i32 1
  %176 = load float, ptr %13, align 4, !tbaa !9
  %177 = fmul float 0xBFD19999A0000000, %176
  store float %177, ptr %175, align 4, !tbaa !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 @_ZL14b2Rot_identity, i64 8, i1 false), !tbaa.struct !40
  %178 = load <2 x float>, ptr %33, align 4
  %179 = load <2 x float>, ptr %34, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %32, float noundef %169, float noundef %171, <2 x float> %178, <2 x float> %179)
  %180 = load float, ptr %13, align 4, !tbaa !9
  %181 = fmul float 0x3FB99999A0000000, %180
  %182 = getelementptr inbounds %struct.b2Polygon, ptr %32, i32 0, i32 3
  store float %181, ptr %182, align 4, !tbaa !44
  %183 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %183, i64 8, i1 false), !tbaa.struct !43
  %184 = load i64, ptr %35, align 4
  %185 = call i64 @b2CreatePolygonShape(i64 %184, ptr noundef %23, ptr noundef %32)
  store i64 %185, ptr %36, align 4
  call void @llvm.lifetime.start.p0(i64 144, ptr %37) #7
  %186 = load float, ptr %13, align 4, !tbaa !9
  %187 = fmul float 0x3FA99999A0000000, %186
  %188 = load float, ptr %13, align 4, !tbaa !9
  %189 = fmul float 0x3FD6666660000000, %188
  %190 = getelementptr inbounds %struct.b2Vec2, ptr %38, i32 0, i32 0
  %191 = load float, ptr %13, align 4, !tbaa !9
  %192 = fmul float -3.250000e+00, %191
  store float %192, ptr %190, align 4, !tbaa !24
  %193 = getelementptr inbounds %struct.b2Vec2, ptr %38, i32 0, i32 1
  %194 = load float, ptr %13, align 4, !tbaa !9
  %195 = fmul float 3.750000e-01, %194
  store float %195, ptr %193, align 4, !tbaa !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 @_ZL14b2Rot_identity, i64 8, i1 false), !tbaa.struct !40
  %196 = load <2 x float>, ptr %38, align 4
  %197 = load <2 x float>, ptr %39, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4 %37, float noundef %187, float noundef %189, <2 x float> %196, <2 x float> %197)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %37, i64 144, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 144, ptr %37) #7
  %198 = load float, ptr %13, align 4, !tbaa !9
  %199 = fmul float 0x3FB99999A0000000, %198
  %200 = getelementptr inbounds %struct.b2Polygon, ptr %32, i32 0, i32 3
  store float %199, ptr %200, align 4, !tbaa !44
  %201 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %201, i64 8, i1 false), !tbaa.struct !43
  %202 = load i64, ptr %40, align 4
  %203 = call i64 @b2CreatePolygonShape(i64 %202, ptr noundef %23, ptr noundef %32)
  store i64 %203, ptr %41, align 4
  %204 = load float, ptr %17, align 4, !tbaa !9
  %205 = fmul float 2.000000e+00, %204
  %206 = getelementptr inbounds %struct.b2ShapeDef, ptr %23, i32 0, i32 2
  store float %205, ptr %206, align 8, !tbaa !29
  %207 = getelementptr inbounds %struct.b2ShapeDef, ptr %23, i32 0, i32 1
  %208 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %207, i32 0, i32 0
  store float 2.500000e+00, ptr %208, align 8, !tbaa !34
  %209 = getelementptr inbounds %struct.b2ShapeDef, ptr %23, i32 0, i32 1
  %210 = getelementptr inbounds %struct.b2SurfaceMaterial, ptr %209, i32 0, i32 5
  store i32 12632256, ptr %210, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #7
  %211 = getelementptr inbounds %struct.b2Circle, ptr %42, i32 0, i32 0
  %212 = getelementptr inbounds %struct.b2Vec2, ptr %211, i32 0, i32 0
  store float 0.000000e+00, ptr %212, align 4, !tbaa !24
  %213 = getelementptr inbounds %struct.b2Vec2, ptr %211, i32 0, i32 1
  store float 0.000000e+00, ptr %213, align 4, !tbaa !26
  %214 = getelementptr inbounds %struct.b2Circle, ptr %42, i32 0, i32 1
  %215 = load float, ptr %13, align 4, !tbaa !9
  %216 = fmul float 0x3FD99999A0000000, %215
  store float %216, ptr %214, align 4, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %217 = getelementptr inbounds %struct.b2Vec2, ptr %44, i32 0, i32 0
  %218 = load float, ptr %13, align 4, !tbaa !9
  %219 = fmul float -2.750000e+00, %218
  store float %219, ptr %217, align 4, !tbaa !24
  %220 = getelementptr inbounds %struct.b2Vec2, ptr %44, i32 0, i32 1
  %221 = load float, ptr %13, align 4, !tbaa !9
  %222 = fmul float 0x3FD3333340000000, %221
  store float %222, ptr %220, align 4, !tbaa !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !40
  %223 = load <2 x float>, ptr %44, align 4
  %224 = load <2 x float>, ptr %45, align 4
  %225 = call <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float> %223, <2 x float> %224)
  store <2 x float> %225, ptr %43, align 4
  %226 = getelementptr inbounds %struct.b2BodyDef, ptr %24, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %226, ptr align 4 %43, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %47, ptr align 2 %10, i64 4, i1 false), !tbaa.struct !41
  %227 = load i32, ptr %47, align 2
  %228 = call i64 @b2CreateBody(i32 %227, ptr noundef %24)
  store i64 %228, ptr %46, align 4
  %229 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %229, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  %230 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %230, i64 8, i1 false), !tbaa.struct !43
  %231 = load i64, ptr %48, align 4
  %232 = call i64 @b2CreateCircleShape(i64 %231, ptr noundef %23, ptr noundef %42)
  store i64 %232, ptr %49, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  %233 = getelementptr inbounds %struct.b2Vec2, ptr %51, i32 0, i32 0
  %234 = load float, ptr %13, align 4, !tbaa !9
  %235 = fmul float 0x3FE99999A0000000, %234
  store float %235, ptr %233, align 4, !tbaa !24
  %236 = getelementptr inbounds %struct.b2Vec2, ptr %51, i32 0, i32 1
  %237 = load float, ptr %13, align 4, !tbaa !9
  %238 = fmul float 0x3FD3333340000000, %237
  store float %238, ptr %236, align 4, !tbaa !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !40
  %239 = load <2 x float>, ptr %51, align 4
  %240 = load <2 x float>, ptr %52, align 4
  %241 = call <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float> %239, <2 x float> %240)
  store <2 x float> %241, ptr %50, align 4
  %242 = getelementptr inbounds %struct.b2BodyDef, ptr %24, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %242, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %54, ptr align 2 %10, i64 4, i1 false), !tbaa.struct !41
  %243 = load i32, ptr %54, align 2
  %244 = call i64 @b2CreateBody(i32 %243, ptr noundef %24)
  store i64 %244, ptr %53, align 4
  %245 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %245, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  %246 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %246, i64 8, i1 false), !tbaa.struct !43
  %247 = load i64, ptr %55, align 4
  %248 = call i64 @b2CreateCircleShape(i64 %247, ptr noundef %23, ptr noundef %42)
  store i64 %248, ptr %56, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 @__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.axis, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  %249 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %249, i64 8, i1 false), !tbaa.struct !43
  %250 = load i64, ptr %59, align 4
  %251 = call <2 x float> @b2Body_GetPosition(i64 %250)
  store <2 x float> %251, ptr %58, align 4
  call void @llvm.lifetime.start.p0(i64 96, ptr %60) #7
  call void @b2DefaultWheelJointDef(ptr dead_on_unwind writable sret(%struct.b2WheelJointDef) align 8 %60)
  %252 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  %253 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %253, ptr align 4 %252, i64 8, i1 false), !tbaa.struct !43
  %254 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 1
  %255 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %255, ptr align 4 %254, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #7
  %256 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 8 %256, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !40
  %257 = load i64, ptr %62, align 4
  %258 = load <2 x float>, ptr %63, align 4
  %259 = call <2 x float> @b2Body_GetLocalVector(i64 %257, <2 x float> %258)
  store <2 x float> %259, ptr %61, align 4
  %260 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %260, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #7
  %261 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 8 %261, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !40
  %262 = load i64, ptr %65, align 4
  %263 = load <2 x float>, ptr %66, align 4
  %264 = call <2 x float> @b2Body_GetLocalPoint(i64 %262, <2 x float> %263)
  store <2 x float> %264, ptr %64, align 4
  %265 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %265, ptr align 4 %64, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #7
  %266 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 8 %266, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !40
  %267 = load i64, ptr %68, align 4
  %268 = load <2 x float>, ptr %69, align 4
  %269 = call <2 x float> @b2Body_GetLocalPoint(i64 %267, <2 x float> %268)
  store <2 x float> %269, ptr %67, align 4
  %270 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %270, ptr align 4 %67, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #7
  %271 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 13
  store float 0.000000e+00, ptr %271, align 8, !tbaa !50
  %272 = load float, ptr %16, align 4, !tbaa !9
  %273 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 12
  store float %272, ptr %273, align 4, !tbaa !52
  %274 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 11
  store i8 1, ptr %274, align 8, !tbaa !53
  %275 = load float, ptr %14, align 4, !tbaa !9
  %276 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 6
  store float %275, ptr %276, align 4, !tbaa !54
  %277 = load float, ptr %15, align 4, !tbaa !9
  %278 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 7
  store float %277, ptr %278, align 8, !tbaa !55
  %279 = load float, ptr %13, align 4, !tbaa !9
  %280 = fmul float -2.500000e-01, %279
  %281 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 9
  store float %280, ptr %281, align 8, !tbaa !56
  %282 = load float, ptr %13, align 4, !tbaa !9
  %283 = fmul float 2.500000e-01, %282
  %284 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 10
  store float %283, ptr %284, align 4, !tbaa !57
  %285 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 8
  store i8 1, ptr %285, align 4, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %71, ptr align 2 %10, i64 4, i1 false), !tbaa.struct !41
  %286 = load i32, ptr %71, align 2
  %287 = call i64 @b2CreateWheelJoint(i32 %286, ptr noundef %60)
  store i64 %287, ptr %70, align 4
  %288 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %288, ptr align 4 %70, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #7
  %289 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 4 %289, i64 8, i1 false), !tbaa.struct !43
  %290 = load i64, ptr %73, align 4
  %291 = call <2 x float> @b2Body_GetPosition(i64 %290)
  store <2 x float> %291, ptr %72, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %72, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #7
  %292 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 0
  %293 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %293, ptr align 4 %292, i64 8, i1 false), !tbaa.struct !43
  %294 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 2
  %295 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %295, ptr align 4 %294, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #7
  %296 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 8 %296, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !40
  %297 = load i64, ptr %75, align 4
  %298 = load <2 x float>, ptr %76, align 4
  %299 = call <2 x float> @b2Body_GetLocalVector(i64 %297, <2 x float> %298)
  store <2 x float> %299, ptr %74, align 4
  %300 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %300, ptr align 4 %74, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #7
  %301 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 8 %301, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !40
  %302 = load i64, ptr %78, align 4
  %303 = load <2 x float>, ptr %79, align 4
  %304 = call <2 x float> @b2Body_GetLocalPoint(i64 %302, <2 x float> %303)
  store <2 x float> %304, ptr %77, align 4
  %305 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %305, ptr align 4 %77, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #7
  %306 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 8 %306, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !40
  %307 = load i64, ptr %81, align 4
  %308 = load <2 x float>, ptr %82, align 4
  %309 = call <2 x float> @b2Body_GetLocalPoint(i64 %307, <2 x float> %308)
  store <2 x float> %309, ptr %80, align 4
  %310 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %310, ptr align 4 %80, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  %311 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 13
  store float 0.000000e+00, ptr %311, align 8, !tbaa !50
  %312 = load float, ptr %16, align 4, !tbaa !9
  %313 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 12
  store float %312, ptr %313, align 4, !tbaa !52
  %314 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 11
  store i8 1, ptr %314, align 8, !tbaa !53
  %315 = load float, ptr %14, align 4, !tbaa !9
  %316 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 6
  store float %315, ptr %316, align 4, !tbaa !54
  %317 = load float, ptr %15, align 4, !tbaa !9
  %318 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 7
  store float %317, ptr %318, align 8, !tbaa !55
  %319 = load float, ptr %13, align 4, !tbaa !9
  %320 = fmul float -2.500000e-01, %319
  %321 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 9
  store float %320, ptr %321, align 8, !tbaa !56
  %322 = load float, ptr %13, align 4, !tbaa !9
  %323 = fmul float 2.500000e-01, %322
  %324 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 10
  store float %323, ptr %324, align 4, !tbaa !57
  %325 = getelementptr inbounds %struct.b2WheelJointDef, ptr %60, i32 0, i32 8
  store i8 1, ptr %325, align 4, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %84, ptr align 2 %10, i64 4, i1 false), !tbaa.struct !41
  %326 = load i32, ptr %84, align 2
  %327 = call i64 @b2CreateWheelJoint(i32 %326, ptr noundef %60)
  store i64 %327, ptr %83, align 4
  %328 = getelementptr inbounds %class.Truck, ptr %85, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %328, ptr align 4 %83, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 68, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #7
  ret void
}

declare void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef, <2 x float>, <2 x float>) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }
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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !17, i64 40}
!12 = !{!"_ZTS5Truck", !13, i64 0, !13, i64 8, !13, i64 16, !16, i64 24, !16, i64 32, !17, i64 40}
!13 = !{!"_ZTS8b2BodyId", !14, i64 0, !15, i64 4, !15, i64 6}
!14 = !{!"int", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS9b2JointId", !14, i64 0, !15, i64 4, !15, i64 6}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!12, !14, i64 0}
!21 = !{!12, !14, i64 16}
!22 = !{!12, !14, i64 8}
!23 = !{!14, !14, i64 0}
!24 = !{!25, !10, i64 0}
!25 = !{!"_ZTS6b2Vec2", !10, i64 0, !10, i64 4}
!26 = !{!25, !10, i64 4}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!30, !10, i64 32}
!30 = !{!"_ZTS10b2ShapeDef", !6, i64 0, !31, i64 8, !10, i64 32, !32, i64 40, !17, i64 64, !17, i64 65, !17, i64 66, !17, i64 67, !17, i64 68, !17, i64 69, !17, i64 70, !14, i64 72}
!31 = !{!"_ZTS17b2SurfaceMaterial", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !14, i64 16, !14, i64 20}
!32 = !{!"_ZTS8b2Filter", !33, i64 0, !33, i64 8, !14, i64 16}
!33 = !{!"long", !7, i64 0}
!34 = !{!30, !10, i64 8}
!35 = !{!30, !14, i64 28}
!36 = !{!37, !38, i64 0}
!37 = !{!"_ZTS9b2BodyDef", !38, i64 0, !25, i64 4, !39, i64 12, !25, i64 20, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !6, i64 48, !6, i64 56, !17, i64 64, !17, i64 65, !17, i64 66, !17, i64 67, !17, i64 68, !17, i64 69, !14, i64 72}
!38 = !{!"_ZTS10b2BodyType", !7, i64 0}
!39 = !{!"_ZTS5b2Rot", !10, i64 0, !10, i64 4}
!40 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!41 = !{i64 0, i64 2, !42, i64 2, i64 2, !42}
!42 = !{!15, !15, i64 0}
!43 = !{i64 0, i64 4, !23, i64 4, i64 2, !42, i64 6, i64 2, !42}
!44 = !{!45, !10, i64 136}
!45 = !{!"_ZTS9b2Polygon", !7, i64 0, !7, i64 64, !25, i64 128, !10, i64 136, !14, i64 140}
!46 = !{i64 0, i64 64, !47, i64 64, i64 64, !47, i64 128, i64 4, !9, i64 132, i64 4, !9, i64 136, i64 4, !9, i64 140, i64 4, !23}
!47 = !{!7, !7, i64 0}
!48 = !{!49, !10, i64 8}
!49 = !{!"_ZTS8b2Circle", !25, i64 0, !10, i64 8}
!50 = !{!51, !10, i64 72}
!51 = !{!"_ZTS15b2WheelJointDef", !13, i64 0, !13, i64 8, !25, i64 16, !25, i64 24, !25, i64 32, !17, i64 40, !10, i64 44, !10, i64 48, !17, i64 52, !10, i64 56, !10, i64 60, !17, i64 64, !10, i64 68, !10, i64 72, !17, i64 76, !6, i64 80, !14, i64 88}
!52 = !{!51, !10, i64 68}
!53 = !{!51, !17, i64 64}
!54 = !{!51, !10, i64 44}
!55 = !{!51, !10, i64 48}
!56 = !{!51, !10, i64 56}
!57 = !{!51, !10, i64 60}
!58 = !{!51, !17, i64 52}


; 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.b2Vec2 = type { float, float }
%struct.b2Rot = type { float, float }
%struct.b2Hull = type { [8 x %struct.b2Vec2], i32 }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2WheelJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, i8, float, float, i8, float, float, i8, float, float, i8, ptr, i32 }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2Circle = type { %struct.b2Vec2, float }

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv = external hidden unnamed_addr constant [80 x i8], align 1
@__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.vertices = external hidden unnamed_addr constant [5 x %struct.b2Vec2], align 16
@_ZL14b2Rot_identity = external hidden local_unnamed_addr constant %struct.b2Rot, align 4
@__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.axis = external hidden unnamed_addr constant %struct.b2Vec2, align 4

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

; 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) #1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @b2ComputeHull(ptr dead_on_unwind writable sret(%struct.b2Hull) align 4, ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @b2MakePolygon(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, ptr noundef, float noundef) local_unnamed_addr #3

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) local_unnamed_addr #3

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float>, <2 x float>) local_unnamed_addr #4

declare i64 @b2CreateBody(i32, ptr noundef) local_unnamed_addr #3

declare i64 @b2CreatePolygonShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i64 @b2CreateCircleShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #3

declare <2 x float> @b2Body_GetPosition(i64) local_unnamed_addr #3

declare void @b2DefaultWheelJointDef(ptr dead_on_unwind writable sret(%struct.b2WheelJointDef) align 8) local_unnamed_addr #3

declare <2 x float> @b2Body_GetLocalVector(i64, <2 x float>) local_unnamed_addr #3

declare <2 x float> @b2Body_GetLocalPoint(i64, <2 x float>) local_unnamed_addr #3

declare i64 @b2CreateWheelJoint(i32, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv(ptr nocapture noundef nonnull align 4 dereferenceable(41) %0, i32 %1, <2 x float> %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, ptr nocapture noundef readnone %8) local_unnamed_addr #5 align 2 {
  %10 = alloca [5 x %struct.b2Vec2], align 16
  %11 = alloca %struct.b2Hull, align 4
  %12 = alloca %struct.b2Polygon, align 4
  %13 = alloca %struct.b2ShapeDef, align 8
  %14 = alloca %struct.b2BodyDef, align 8
  %15 = alloca %struct.b2Polygon, align 4
  %16 = alloca %struct.b2Polygon, align 4
  %17 = alloca %struct.b2Circle, align 8
  %18 = alloca %struct.b2WheelJointDef, align 16
  %19 = getelementptr inbounds i8, ptr %0, i64 40
  %20 = load i8, ptr %19, align 4, !tbaa !5, !range !14, !noundef !15
  %21 = icmp eq i8 %20, 0
  br i1 %21, label %23, label %22

22:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 162, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

23:                                               ; preds = %9
  %24 = load i32, ptr %0, align 4, !tbaa !16
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %27, label %26

26:                                               ; preds = %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 164, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = load i32, ptr %28, align 4, !tbaa !17
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 165, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

32:                                               ; preds = %27
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  %34 = load i32, ptr %33, align 4, !tbaa !18
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 166, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv) #6
  unreachable

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %10, ptr noundef nonnull align 16 dereferenceable(40) @__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.vertices, i64 40, i1 false)
  %38 = fmul float %3, 0x3FEB333340000000
  %39 = load <4 x float>, ptr %10, align 16, !tbaa !19
  %40 = insertelement <4 x float> poison, float %38, i64 0
  %41 = shufflevector <4 x float> %40, <4 x float> poison, <4 x i32> zeroinitializer
  %42 = fmul <4 x float> %41, %39
  store <4 x float> %42, ptr %10, align 16, !tbaa !19
  %43 = getelementptr inbounds i8, ptr %10, i64 16
  %44 = load <4 x float>, ptr %43, align 16, !tbaa !19
  %45 = fmul <4 x float> %41, %44
  store <4 x float> %45, ptr %43, align 16, !tbaa !19
  %46 = getelementptr inbounds i8, ptr %10, i64 32
  %47 = load <2 x float>, ptr %46, align 16, !tbaa !19
  %48 = insertelement <2 x float> poison, float %38, i64 0
  %49 = shufflevector <2 x float> %48, <2 x float> poison, <2 x i32> zeroinitializer
  %50 = fmul <2 x float> %49, %47
  store <2 x float> %50, ptr %46, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %11) #7
  call void @b2ComputeHull(ptr dead_on_unwind nonnull writable sret(%struct.b2Hull) align 4 %11, ptr noundef nonnull %10, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %12) #7
  %51 = fmul float %3, 0x3FC3333340000000
  call void @b2MakePolygon(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %12, ptr noundef nonnull %11, float noundef %51)
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %13) #7
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %13)
  %52 = getelementptr inbounds i8, ptr %13, i64 32
  store float %7, ptr %52, align 8, !tbaa !21
  %53 = getelementptr inbounds i8, ptr %13, i64 8
  store float 0x3FC99999A0000000, ptr %53, align 8, !tbaa !27
  %54 = getelementptr inbounds i8, ptr %13, i64 28
  store i32 16738740, ptr %54, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #7
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %14)
  store i32 2, ptr %14, align 8, !tbaa !29
  %.sroa.062.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %3, i64 1
  %55 = call <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float> %.sroa.062.4.vec.insert, <2 x float> %2)
  %56 = getelementptr inbounds i8, ptr %14, i64 4
  store <2 x float> %55, ptr %56, align 4
  %57 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %14)
  store i64 %57, ptr %0, align 4
  %58 = call i64 @b2CreatePolygonShape(i64 %57, ptr noundef nonnull %13, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %15) #7
  %59 = fmul float %3, 1.250000e+00
  %60 = fmul float %3, 0x3FB99999A0000000
  %61 = insertelement <2 x float> poison, float %3, i64 0
  %62 = shufflevector <2 x float> %61, <2 x float> poison, <2 x i32> zeroinitializer
  %63 = fmul <2 x float> %62, <float 0xC000666660000000, float 0xBFD19999A0000000>
  %.sroa.054.0.copyload = load <2 x float>, ptr @_ZL14b2Rot_identity, align 4
  call void @b2MakeOffsetBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %15, float noundef %59, float noundef %60, <2 x float> %63, <2 x float> %.sroa.054.0.copyload)
  %64 = getelementptr inbounds i8, ptr %15, i64 136
  store float %60, ptr %64, align 4, !tbaa !34
  %.sroa.053.0.copyload = load i64, ptr %0, align 4
  %65 = call i64 @b2CreatePolygonShape(i64 %.sroa.053.0.copyload, ptr noundef nonnull %13, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %16) #7
  %66 = fmul float %3, 0x3FA99999A0000000
  %67 = fmul float %3, 0x3FD6666660000000
  %68 = fmul <2 x float> %62, <float -3.250000e+00, float 3.750000e-01>
  call void @b2MakeOffsetBox(ptr dead_on_unwind nonnull writable sret(%struct.b2Polygon) align 4 %16, float noundef %66, float noundef %67, <2 x float> %68, <2 x float> %.sroa.054.0.copyload)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(144) %15, ptr noundef nonnull align 4 dereferenceable(144) %16, i64 144, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #7
  store float %60, ptr %64, align 4, !tbaa !34
  %.sroa.048.0.copyload = load i64, ptr %0, align 4
  %69 = call i64 @b2CreatePolygonShape(i64 %.sroa.048.0.copyload, ptr noundef nonnull %13, ptr noundef nonnull %15)
  %70 = fmul float %7, 2.000000e+00
  store float %70, ptr %52, align 8, !tbaa !21
  store float 2.500000e+00, ptr %53, align 8, !tbaa !27
  store i32 12632256, ptr %54, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #7
  store <2 x float> zeroinitializer, ptr %17, align 8, !tbaa !19
  %71 = getelementptr inbounds i8, ptr %17, i64 8
  %72 = fmul float %3, 0x3FD99999A0000000
  store float %72, ptr %71, align 8, !tbaa !39
  %73 = fmul <2 x float> %62, <float -2.750000e+00, float 0x3FD3333340000000>
  %74 = call <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float> %73, <2 x float> %2)
  store <2 x float> %74, ptr %56, align 4
  %75 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %14)
  store i64 %75, ptr %33, align 4
  %76 = call i64 @b2CreateCircleShape(i64 %75, ptr noundef nonnull %13, ptr noundef nonnull %17)
  %77 = fmul float %3, 0x3FE99999A0000000
  %78 = insertelement <2 x float> %73, float %77, i64 0
  %79 = call <2 x float> @_Z5b2Add6b2Vec2S_(<2 x float> %78, <2 x float> %2)
  store <2 x float> %79, ptr %56, align 4
  %80 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %14)
  store i64 %80, ptr %28, align 4
  %81 = call i64 @b2CreateCircleShape(i64 %80, ptr noundef nonnull %13, ptr noundef nonnull %17)
  %.sroa.029.0.copyload = load <2 x float>, ptr @__const._ZN5Truck5SpawnE9b2WorldId6b2Vec2fffffPv.axis, align 4
  %.sroa.024.0.copyload = load i64, ptr %33, align 4
  %82 = call <2 x float> @b2Body_GetPosition(i64 %.sroa.024.0.copyload)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %18) #7
  call void @b2DefaultWheelJointDef(ptr dead_on_unwind nonnull writable sret(%struct.b2WheelJointDef) align 8 %18)
  %83 = getelementptr inbounds i8, ptr %18, i64 8
  %84 = load <2 x i64>, ptr %0, align 4
  store <2 x i64> %84, ptr %18, align 16
  %85 = extractelement <2 x i64> %84, i64 0
  %86 = call <2 x float> @b2Body_GetLocalVector(i64 %85, <2 x float> %.sroa.029.0.copyload)
  %87 = getelementptr inbounds i8, ptr %18, i64 32
  store <2 x float> %86, ptr %87, align 16
  %.sroa.019.0.copyload = load i64, ptr %18, align 16
  %88 = call <2 x float> @b2Body_GetLocalPoint(i64 %.sroa.019.0.copyload, <2 x float> %82)
  %89 = getelementptr inbounds i8, ptr %18, i64 16
  store <2 x float> %88, ptr %89, align 16
  %.sroa.016.0.copyload = load i64, ptr %83, align 8
  %90 = call <2 x float> @b2Body_GetLocalPoint(i64 %.sroa.016.0.copyload, <2 x float> %82)
  %91 = getelementptr inbounds i8, ptr %18, i64 24
  store <2 x float> %90, ptr %91, align 8
  %92 = getelementptr inbounds i8, ptr %18, i64 72
  store float 0.000000e+00, ptr %92, align 8, !tbaa !41
  %93 = getelementptr inbounds i8, ptr %18, i64 68
  store float %6, ptr %93, align 4, !tbaa !43
  %94 = getelementptr inbounds i8, ptr %18, i64 64
  store i8 1, ptr %94, align 16, !tbaa !44
  %95 = getelementptr inbounds i8, ptr %18, i64 44
  store float %4, ptr %95, align 4, !tbaa !45
  %96 = getelementptr inbounds i8, ptr %18, i64 48
  store float %5, ptr %96, align 16, !tbaa !46
  %97 = fmul <2 x float> %62, <float -2.500000e-01, float 2.500000e-01>
  %98 = getelementptr inbounds i8, ptr %18, i64 56
  store <2 x float> %97, ptr %98, align 8, !tbaa !19
  %99 = getelementptr inbounds i8, ptr %18, i64 52
  store i8 1, ptr %99, align 4, !tbaa !47
  %100 = call i64 @b2CreateWheelJoint(i32 %1, ptr noundef nonnull %18)
  %101 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 %100, ptr %101, align 4
  %.sroa.011.0.copyload = load i64, ptr %28, align 4
  %102 = call <2 x float> @b2Body_GetPosition(i64 %.sroa.011.0.copyload)
  %103 = load i64, ptr %0, align 4
  store i64 %103, ptr %18, align 16
  %104 = load i64, ptr %28, align 4
  store i64 %104, ptr %83, align 8
  %105 = call <2 x float> @b2Body_GetLocalVector(i64 %103, <2 x float> %.sroa.029.0.copyload)
  store <2 x float> %105, ptr %87, align 16
  %.sroa.06.0.copyload = load i64, ptr %18, align 16
  %106 = call <2 x float> @b2Body_GetLocalPoint(i64 %.sroa.06.0.copyload, <2 x float> %102)
  store <2 x float> %106, ptr %89, align 16
  %.sroa.03.0.copyload = load i64, ptr %83, align 8
  %107 = call <2 x float> @b2Body_GetLocalPoint(i64 %.sroa.03.0.copyload, <2 x float> %102)
  store <2 x float> %107, ptr %91, align 8
  store float 0.000000e+00, ptr %92, align 8, !tbaa !41
  store float %6, ptr %93, align 4, !tbaa !43
  store i8 1, ptr %94, align 16, !tbaa !44
  store float %4, ptr %95, align 4, !tbaa !45
  store float %5, ptr %96, align 16, !tbaa !46
  store <2 x float> %97, ptr %98, align 8, !tbaa !19
  store i8 1, ptr %99, align 4, !tbaa !47
  %108 = call i64 @b2CreateWheelJoint(i32 %1, ptr noundef nonnull %18)
  %109 = getelementptr inbounds i8, ptr %0, i64 32
  store i64 %108, ptr %109, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #7
  ret void
}

declare void @b2MakeOffsetBox(ptr dead_on_unwind writable sret(%struct.b2Polygon) align 4, float noundef, float noundef, <2 x float>, <2 x float>) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }
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 40}
!6 = !{!"_ZTS5Truck", !7, i64 0, !7, i64 8, !7, i64 16, !12, i64 24, !12, i64 32, !13, i64 40}
!7 = !{!"_ZTS8b2BodyId", !8, i64 0, !11, i64 4, !11, i64 6}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"short", !9, i64 0}
!12 = !{!"_ZTS9b2JointId", !8, i64 0, !11, i64 4, !11, i64 6}
!13 = !{!"bool", !9, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!6, !8, i64 0}
!17 = !{!6, !8, i64 16}
!18 = !{!6, !8, i64 8}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !9, i64 0}
!21 = !{!22, !20, i64 32}
!22 = !{!"_ZTS10b2ShapeDef", !23, i64 0, !24, i64 8, !20, i64 32, !25, i64 40, !13, i64 64, !13, i64 65, !13, i64 66, !13, i64 67, !13, i64 68, !13, i64 69, !13, i64 70, !8, i64 72}
!23 = !{!"any pointer", !9, i64 0}
!24 = !{!"_ZTS17b2SurfaceMaterial", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !8, i64 16, !8, i64 20}
!25 = !{!"_ZTS8b2Filter", !26, i64 0, !26, i64 8, !8, i64 16}
!26 = !{!"long", !9, i64 0}
!27 = !{!22, !20, i64 8}
!28 = !{!22, !8, i64 28}
!29 = !{!30, !31, i64 0}
!30 = !{!"_ZTS9b2BodyDef", !31, i64 0, !32, i64 4, !33, i64 12, !32, i64 20, !20, i64 28, !20, i64 32, !20, i64 36, !20, i64 40, !20, i64 44, !23, i64 48, !23, i64 56, !13, i64 64, !13, i64 65, !13, i64 66, !13, i64 67, !13, i64 68, !13, i64 69, !8, i64 72}
!31 = !{!"_ZTS10b2BodyType", !9, i64 0}
!32 = !{!"_ZTS6b2Vec2", !20, i64 0, !20, i64 4}
!33 = !{!"_ZTS5b2Rot", !20, i64 0, !20, i64 4}
!34 = !{!35, !20, i64 136}
!35 = !{!"_ZTS9b2Polygon", !9, i64 0, !9, i64 64, !32, i64 128, !20, i64 136, !8, i64 140}
!36 = !{i64 0, i64 64, !37, i64 64, i64 64, !37, i64 128, i64 4, !19, i64 132, i64 4, !19, i64 136, i64 4, !19, i64 140, i64 4, !38}
!37 = !{!9, !9, i64 0}
!38 = !{!8, !8, i64 0}
!39 = !{!40, !20, i64 8}
!40 = !{!"_ZTS8b2Circle", !32, i64 0, !20, i64 8}
!41 = !{!42, !20, i64 72}
!42 = !{!"_ZTS15b2WheelJointDef", !7, i64 0, !7, i64 8, !32, i64 16, !32, i64 24, !32, i64 32, !13, i64 40, !20, i64 44, !20, i64 48, !13, i64 52, !20, i64 56, !20, i64 60, !13, i64 64, !20, i64 68, !20, i64 72, !13, i64 76, !23, i64 80, !8, i64 88}
!43 = !{!42, !20, i64 68}
!44 = !{!42, !13, i64 64}
!45 = !{!42, !20, i64 44}
!46 = !{!42, !20, i64 48}
!47 = !{!42, !13, i64 52}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass