; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Vehicle (VehicleConstraintTest)

; 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"

%"class.JPH::BroadPhaseLayer" = type { i8 }
%"class.JPH::Color" = type { %union.anon.84 }
%union.anon.84 = type { i32 }
%"class.JPH::SphereShape" = type { %"class.JPH::ConvexShape.base", float }
%"class.JPH::ConvexShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::RefConst.43", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.42", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.42" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst.43" = type { ptr }
%"struct.JPH::RShapeCast" = type { %"struct.JPH::ShapeCastT" }
%"struct.JPH::ShapeCastT" = type { ptr, %"class.JPH::Vec3", %"class.JPH::Mat44", %"class.JPH::Vec3", %"class.JPH::AABox" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.21 }
%union.anon.21 = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::ShapeCastSettings" = type <{ %"class.JPH::CollideSettingsBase", i8, i8, i8, i8, [12 x i8] }>
%"class.JPH::CollideSettingsBase" = type { i8, i8, float, float, %"class.JPH::Vec3" }
%"class.JPH::ClosestHitCollisionCollector" = type <{ %"class.JPH::CollisionCollector", [8 x i8], %"class.JPH::ShapeCastResult", i8, [15 x i8] }>
%"class.JPH::CollisionCollector" = type { ptr, float, ptr }
%"class.JPH::ShapeCastResult" = type <{ %"class.JPH::CollideShapeResult", float, i8, [11 x i8] }>
%"class.JPH::CollideShapeResult" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SubShapeID", %"class.JPH::SubShapeID", %"class.JPH::BodyID", %"class.JPH::StaticArray.69", %"class.JPH::StaticArray.69" }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::StaticArray.69" = type { i32, [12 x i8], [32 x %"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage"] }
%"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage" = type { [16 x i8] }
%"class.JPH::SpecifiedBroadPhaseLayerFilter" = type <{ %"class.JPH::BroadPhaseLayerFilter", %"class.JPH::BroadPhaseLayer", [7 x i8] }>
%"class.JPH::BroadPhaseLayerFilter" = type { ptr }
%"class.JPH::SpecifiedObjectLayerFilter" = type <{ %"class.JPH::ObjectLayerFilter", i16, [6 x i8] }>
%"class.JPH::ObjectLayerFilter" = type { ptr }
%"class.JPH::BodyFilter" = type { ptr }
%"class.JPH::ShapeFilter" = type <{ ptr, %"class.JPH::BodyID", [4 x i8] }>
%class.VehicleConstraintTest = type <{ %class.VehicleTest, ptr, %"class.JPH::Ref", [3 x %"class.JPH::Ref.4"], %"class.JPH::Mat44", float, float, float, float, float, [12 x i8] }>
%class.VehicleTest = type { %class.Test, %"class.JPH::Array" }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::Ref.4" = type { ptr }
%"class.JPH::VehicleEngineSettings" = type { float, float, float, %"class.JPH::LinearCurve", float, float }
%"class.JPH::LinearCurve" = type { %"class.JPH::Array.54" }
%"class.JPH::Array.54" = type { i64, i64, ptr }
%"class.JPH::VehicleTransmissionSettings" = type { i8, %"class.JPH::Array.59", %"class.JPH::Array.59", float, float, float, float, float, float }
%"class.JPH::Array.59" = type { i64, i64, ptr }
%"class.JPH::VehicleDifferentialSettings" = type { i32, i32, float, float, float, float }
%"class.JPH::WheelSettings" = type <{ %"class.JPH::SerializableObject", %"class.JPH::RefTarget.52", [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, %"class.JPH::SpringSettings", float, float, i8, [15 x i8] }>
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.52" = type { %"struct.std::atomic" }
%"class.JPH::SpringSettings" = type { i8, %union.anon.53, float }
%union.anon.53 = type { float }

@_ZN21VehicleConstraintTest16sMaxEngineTorqueE = external dso_local global float, align 4
@_ZN21VehicleConstraintTest15sClutchStrengthE = external dso_local global float, align 4
@_ZN21VehicleConstraintTest25sLimitedSlipDifferentialsE = external dso_local global i8, align 1
@_ZN21VehicleConstraintTest14sCollisionModeE = external dso_local global i32, align 4
@_ZN21VehicleConstraintTest16sOverrideGravityE = external dso_local global i8, align 1
@_ZN16BroadPhaseLayersL10NON_MOVINGE = external hidden constant %"class.JPH::BroadPhaseLayer", align 1
@_ZN3JPH5Color6sGreenE = external global %"class.JPH::Color", align 4

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisYEv() #1 align 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) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH17VehicleConstraint13GetControllerEv(ptr noundef nonnull align 16 dereferenceable(408)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21VehicleConstraintTest17UpdateCameraPivotEv(ptr noundef nonnull align 16 dereferenceable(260)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN21VehicleConstraintTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 16 dereferenceable(260) %0, ptr noundef nonnull align 16 dereferenceable(80) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.JPH::SphereShape", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.JPH::RShapeCast", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::ShapeCastSettings", align 16
  %21 = alloca %"class.JPH::ClosestHitCollisionCollector", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::SpecifiedBroadPhaseLayerFilter", align 8
  %24 = alloca %"class.JPH::BroadPhaseLayer", align 1
  %25 = alloca %"class.JPH::SpecifiedObjectLayerFilter", align 8
  %26 = alloca %"class.JPH::BodyFilter", align 8
  %27 = alloca %"class.JPH::ShapeFilter", align 8
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca %"class.JPH::Mat44", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Color", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %36 = load ptr, ptr %3, align 8
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11VehicleTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(136) %36, ptr noundef nonnull align 16 dereferenceable(80) %37)
  call void @_ZN21VehicleConstraintTest17UpdateCameraPivotEv(ptr noundef nonnull align 16 dereferenceable(260) %36)
  %38 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 7
  %39 = load float, ptr %38, align 8, !tbaa !9
  %40 = fcmp une float %39, 0.000000e+00
  br i1 %40, label %53, label %41

41:                                               ; preds = %2
  %42 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 5
  %43 = load float, ptr %42, align 16, !tbaa !23
  %44 = fcmp une float %43, 0.000000e+00
  br i1 %44, label %53, label %45

45:                                               ; preds = %41
  %46 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 8
  %47 = load float, ptr %46, align 4, !tbaa !24
  %48 = fcmp une float %47, 0.000000e+00
  br i1 %48, label %53, label %49

49:                                               ; preds = %45
  %50 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 9
  %51 = load float, ptr %50, align 16, !tbaa !25
  %52 = fcmp une float %51, 0.000000e+00
  br i1 %52, label %53, label %59

53:                                               ; preds = %49, %45, %41, %2
  %54 = getelementptr inbounds %class.Test, ptr %36, i32 0, i32 3
  %55 = load ptr, ptr %54, align 8, !tbaa !26
  %56 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !27
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %57)
  call void @_ZN3JPH13BodyInterface12ActivateBodyERKNS_6BodyIDE(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 4 dereferenceable(4) %58)
  br label %59

59:                                               ; preds = %53, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %60 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %61 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = call noundef ptr @_ZN3JPH17VehicleConstraint13GetControllerEv(ptr noundef nonnull align 16 dereferenceable(408) %61)
  store ptr %62, ptr %5, align 8, !tbaa !5
  %63 = load float, ptr @_ZN21VehicleConstraintTest16sMaxEngineTorqueE, align 4, !tbaa !28
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN3JPH24WheeledVehicleController9GetEngineEv(ptr noundef nonnull align 8 dereferenceable(256) %64)
  %66 = getelementptr inbounds %"class.JPH::VehicleEngineSettings", ptr %65, i32 0, i32 0
  store float %63, ptr %66, align 8, !tbaa !29
  %67 = load float, ptr @_ZN21VehicleConstraintTest15sClutchStrengthE, align 4, !tbaa !28
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(100) ptr @_ZN3JPH24WheeledVehicleController15GetTransmissionEv(ptr noundef nonnull align 8 dereferenceable(256) %68)
  %70 = getelementptr inbounds %"class.JPH::VehicleTransmissionSettings", ptr %69, i32 0, i32 8
  store float %67, ptr %70, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  %71 = load i8, ptr @_ZN21VehicleConstraintTest25sLimitedSlipDifferentialsE, align 1, !tbaa !37, !range !38, !noundef !39
  %72 = trunc i8 %71 to i1
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, float 0x3FF6666660000000, float 0x47EFFFFFE0000000
  store float %74, ptr %6, align 4, !tbaa !28
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = load float, ptr %6, align 4, !tbaa !28
  call void @_ZN3JPH24WheeledVehicleController31SetDifferentialLimitedSlipRatioEf(ptr noundef nonnull align 8 dereferenceable(256) %75, float noundef %76)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH24WheeledVehicleController16GetDifferentialsEv(ptr noundef nonnull align 8 dereferenceable(256) %77)
  store ptr %78, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = call noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79)
  store ptr %80, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = call noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store ptr %82, ptr %9, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %93, %59
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = icmp ne ptr %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %96

88:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %89, ptr %10, align 8, !tbaa !5
  %90 = load float, ptr %6, align 4, !tbaa !28
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.JPH::VehicleDifferentialSettings", ptr %91, i32 0, i32 4
  store float %90, ptr %92, align 4, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  br label %93

93:                                               ; preds = %88
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.JPH::VehicleDifferentialSettings", ptr %94, i32 1
  store ptr %95, ptr %8, align 8, !tbaa !5
  br label %83

96:                                               ; preds = %87
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 5
  %99 = load float, ptr %98, align 16, !tbaa !23
  %100 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 7
  %101 = load float, ptr %100, align 8, !tbaa !9
  %102 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 8
  %103 = load float, ptr %102, align 4, !tbaa !24
  %104 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 9
  %105 = load float, ptr %104, align 16, !tbaa !25
  call void @_ZN3JPH24WheeledVehicleController14SetDriverInputEffff(ptr noundef nonnull align 8 dereferenceable(256) %97, float noundef %99, float noundef %101, float noundef %103, float noundef %105)
  %106 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %107 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
  %108 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 3
  %109 = load i32, ptr @_ZN21VehicleConstraintTest14sCollisionModeE, align 4, !tbaa !43
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [3 x %"class.JPH::Ref.4"], ptr %108, i64 0, i64 %110
  %112 = call noundef ptr @_ZNK3JPH3RefINS_22VehicleCollisionTesterEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %111)
  call void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408) %107, ptr noundef %112)
  %113 = load i8, ptr @_ZN21VehicleConstraintTest16sOverrideGravityE, align 1, !tbaa !37, !range !38, !noundef !39
  %114 = trunc i8 %113 to i1
  br i1 %114, label %115, label %286

115:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #10
  call void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %11, float noundef 5.000000e-01, ptr noundef null)
  %116 = getelementptr inbounds i8, ptr %11, i64 8
  invoke void @_ZNK3JPH9RefTargetINS_5ShapeEE11SetEmbeddedEv(ptr noundef nonnull align 4 dereferenceable(4) %116)
          to label %117 unwind label %232

117:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #10
  %118 = invoke { double, double } @_ZN3JPH4Vec34sOneEv()
          to label %119 unwind label %236

119:                                              ; preds = %117
  %120 = getelementptr inbounds %"class.JPH::Vec3", ptr %15, i32 0, i32 0
  %121 = getelementptr inbounds %union.anon.21, ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds { double, double }, ptr %121, i32 0, i32 0
  %123 = extractvalue { double, double } %118, 0
  store double %123, ptr %122, align 16
  %124 = getelementptr inbounds { double, double }, ptr %121, i32 0, i32 1
  %125 = extractvalue { double, double } %118, 1
  store double %125, ptr %124, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #10
  %126 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 1
  %127 = load ptr, ptr %126, align 8, !tbaa !27
  %128 = invoke { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122) %127)
          to label %129 unwind label %240

129:                                              ; preds = %119
  %130 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %131 = getelementptr inbounds %union.anon.21, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds { double, double }, ptr %131, i32 0, i32 0
  %133 = extractvalue { double, double } %128, 0
  store double %133, ptr %132, align 16
  %134 = getelementptr inbounds { double, double }, ptr %131, i32 0, i32 1
  %135 = extractvalue { double, double } %128, 1
  store double %135, ptr %134, align 8
  %136 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %137 = load double, ptr %136, align 16
  %138 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %139 = load double, ptr %138, align 8
  invoke void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %16, double %137, double %139)
          to label %140 unwind label %240

140:                                              ; preds = %129
  %141 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %142 = invoke noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %141)
          to label %143 unwind label %240

143:                                              ; preds = %140
  %144 = invoke { double, double } @_ZNK3JPH17VehicleConstraint10GetWorldUpEv(ptr noundef nonnull align 16 dereferenceable(408) %142)
          to label %145 unwind label %240

145:                                              ; preds = %143
  %146 = getelementptr inbounds %"class.JPH::Vec3", ptr %19, i32 0, i32 0
  %147 = getelementptr inbounds %union.anon.21, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 0
  %149 = extractvalue { double, double } %144, 0
  store double %149, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 1
  %151 = extractvalue { double, double } %144, 1
  store double %151, ptr %150, align 8
  %152 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %153 = load double, ptr %152, align 16
  %154 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %155 = load double, ptr %154, align 8
  %156 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef -3.000000e+00, double %153, double %155)
          to label %157 unwind label %240

157:                                              ; preds = %145
  %158 = getelementptr inbounds %"class.JPH::Vec3", ptr %18, i32 0, i32 0
  %159 = getelementptr inbounds %union.anon.21, ptr %158, i32 0, i32 0
  %160 = getelementptr inbounds { double, double }, ptr %159, i32 0, i32 0
  %161 = extractvalue { double, double } %156, 0
  store double %161, ptr %160, align 16
  %162 = getelementptr inbounds { double, double }, ptr %159, i32 0, i32 1
  %163 = extractvalue { double, double } %156, 1
  store double %163, ptr %162, align 8
  %164 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %165 = load double, ptr %164, align 16
  %166 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %167 = load double, ptr %166, align 8
  %168 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %169 = load double, ptr %168, align 16
  %170 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %171 = load double, ptr %170, align 8
  invoke void @_ZN3JPH10RShapeCastCI2NS_10ShapeCastTINS_4Vec3ENS_5Mat44ES0_EEEPKNS_5ShapeES2_RKS3_S2_(ptr noundef nonnull align 16 dereferenceable(144) %14, ptr noundef %11, double %165, double %167, ptr noundef nonnull align 16 dereferenceable(64) %16, double %169, double %171)
          to label %172 unwind label %240

172:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #10
  invoke void @_ZN3JPH17ShapeCastSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(36) %20)
          to label %173 unwind label %244

173:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 1184, ptr %21) #10
  invoke void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEC2Ev(ptr noundef nonnull align 16 dereferenceable(1169) %21)
          to label %174 unwind label %248

174:                                              ; preds = %173
  %175 = getelementptr inbounds %class.Test, ptr %36, i32 0, i32 2
  %176 = load ptr, ptr %175, align 16, !tbaa !44
  %177 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172) %176)
          to label %178 unwind label %252

178:                                              ; preds = %174
  %179 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 1
  %180 = load ptr, ptr %179, align 8, !tbaa !27
  %181 = invoke { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122) %180)
          to label %182 unwind label %252

182:                                              ; preds = %178
  %183 = getelementptr inbounds %"class.JPH::Vec3", ptr %22, i32 0, i32 0
  %184 = getelementptr inbounds %union.anon.21, ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds { double, double }, ptr %184, i32 0, i32 0
  %186 = extractvalue { double, double } %181, 0
  store double %186, ptr %185, align 16
  %187 = getelementptr inbounds { double, double }, ptr %184, i32 0, i32 1
  %188 = extractvalue { double, double } %181, 1
  store double %188, ptr %187, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %24, ptr align 1 @_ZN16BroadPhaseLayersL10NON_MOVINGE, i64 1, i1 false), !tbaa.struct !45
  %189 = getelementptr inbounds %"class.JPH::BroadPhaseLayer", ptr %24, i32 0, i32 0
  %190 = load i8, ptr %189, align 1
  invoke void @_ZN3JPH30SpecifiedBroadPhaseLayerFilterC2ENS_15BroadPhaseLayerE(ptr noundef nonnull align 8 dereferenceable(9) %23, i8 %190)
          to label %191 unwind label %256

191:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #10
  invoke void @_ZN3JPH26SpecifiedObjectLayerFilterC2Et(ptr noundef nonnull align 8 dereferenceable(10) %25, i16 noundef zeroext 0)
          to label %192 unwind label %260

192:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 8, i1 false)
  call void @_ZN3JPH10BodyFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 16, i1 false)
  invoke void @_ZN3JPH11ShapeFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %27)
          to label %193 unwind label %264

193:                                              ; preds = %192
  %194 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %195 = load double, ptr %194, align 16
  %196 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %197 = load double, ptr %196, align 8
  invoke void @_ZNK3JPH16NarrowPhaseQuery9CastShapeERKNS_10RShapeCastERKNS_17ShapeCastSettingsENS_4Vec3ERNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16) %177, ptr noundef nonnull align 16 dereferenceable(144) %14, ptr noundef nonnull align 16 dereferenceable(36) %20, double %195, double %197, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(12) %27)
          to label %198 unwind label %268

198:                                              ; preds = %193
  call void @_ZN3JPH11ShapeFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %27) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @_ZN3JPH17ObjectLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(10) %25) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  call void @_ZN3JPH21BroadPhaseLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %23) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #10
  %199 = invoke noundef zeroext i1 @_ZNK3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE6HadHitEv(ptr noundef nonnull align 16 dereferenceable(1169) %21)
          to label %200 unwind label %252

200:                                              ; preds = %198
  br i1 %199, label %201, label %275

201:                                              ; preds = %200
  %202 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %203 = invoke noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %202)
          to label %204 unwind label %252

204:                                              ; preds = %201
  %205 = getelementptr inbounds %"class.JPH::ClosestHitCollisionCollector", ptr %21, i32 0, i32 2
  %206 = getelementptr inbounds %"class.JPH::CollideShapeResult", ptr %205, i32 0, i32 2
  %207 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %206)
          to label %208 unwind label %252

208:                                              ; preds = %204
  %209 = getelementptr inbounds %"class.JPH::Vec3", ptr %29, i32 0, i32 0
  %210 = getelementptr inbounds %union.anon.21, ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 0
  %212 = extractvalue { double, double } %207, 0
  store double %212, ptr %211, align 16
  %213 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 1
  %214 = extractvalue { double, double } %207, 1
  store double %214, ptr %213, align 8
  %215 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %216 = load double, ptr %215, align 16
  %217 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %218 = load double, ptr %217, align 8
  %219 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 0x40239EB860000000, double %216, double %218)
          to label %220 unwind label %252

220:                                              ; preds = %208
  %221 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %222 = getelementptr inbounds %union.anon.21, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds { double, double }, ptr %222, i32 0, i32 0
  %224 = extractvalue { double, double } %219, 0
  store double %224, ptr %223, align 16
  %225 = getelementptr inbounds { double, double }, ptr %222, i32 0, i32 1
  %226 = extractvalue { double, double } %219, 1
  store double %226, ptr %225, align 8
  %227 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %228 = load double, ptr %227, align 16
  %229 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %230 = load double, ptr %229, align 8
  invoke void @_ZN3JPH17VehicleConstraint15OverrideGravityENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(408) %203, double %228, double %230)
          to label %231 unwind label %252

231:                                              ; preds = %220
  br label %280

232:                                              ; preds = %115
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %12, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %13, align 4
  br label %285

236:                                              ; preds = %117
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %12, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %13, align 4
  br label %284

240:                                              ; preds = %157, %145, %143, %140, %129, %119
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %12, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #10
  br label %284

244:                                              ; preds = %172
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %12, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %13, align 4
  br label %283

248:                                              ; preds = %173
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %12, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %13, align 4
  br label %282

252:                                              ; preds = %278, %275, %220, %208, %204, %201, %198, %178, %174
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %12, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %13, align 4
  br label %281

256:                                              ; preds = %182
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %12, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %13, align 4
  br label %274

260:                                              ; preds = %191
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %12, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %13, align 4
  br label %273

264:                                              ; preds = %192
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %12, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %13, align 4
  br label %272

268:                                              ; preds = %193
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %12, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %13, align 4
  call void @_ZN3JPH11ShapeFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %27) #10
  br label %272

272:                                              ; preds = %268, %264
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @_ZN3JPH17ObjectLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(10) %25) #10
  br label %273

273:                                              ; preds = %272, %260
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  call void @_ZN3JPH21BroadPhaseLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %23) #10
  br label %274

274:                                              ; preds = %273, %256
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #10
  br label %281

275:                                              ; preds = %200
  %276 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %277 = invoke noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %276)
          to label %278 unwind label %252

278:                                              ; preds = %275
  invoke void @_ZN3JPH17VehicleConstraint20ResetGravityOverrideEv(ptr noundef nonnull align 16 dereferenceable(408) %277)
          to label %279 unwind label %252

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279, %231
  call void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEED2Ev(ptr noundef nonnull align 16 dereferenceable(1169) %21) #10
  call void @llvm.lifetime.end.p0(i64 1184, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #10
  call void @_ZN3JPH11ConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #10
  br label %286

281:                                              ; preds = %274, %252
  call void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEED2Ev(ptr noundef nonnull align 16 dereferenceable(1169) %21) #10
  br label %282

282:                                              ; preds = %281, %248
  call void @llvm.lifetime.end.p0(i64 1184, ptr %21) #10
  br label %283

283:                                              ; preds = %282, %244
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #10
  br label %284

284:                                              ; preds = %283, %240, %236
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #10
  br label %285

285:                                              ; preds = %284, %232
  call void @_ZN3JPH11ConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  br label %341

286:                                              ; preds = %280, %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  store i32 0, ptr %30, align 4, !tbaa !43
  br label %287

287:                                              ; preds = %337, %286
  %288 = load i32, ptr %30, align 4, !tbaa !43
  %289 = icmp ult i32 %288, 4
  br i1 %289, label %291, label %290

290:                                              ; preds = %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  br label %340

291:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %292 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %293 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %292)
  %294 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408) %293)
  %295 = load i32, ptr %30, align 4, !tbaa !43
  %296 = zext i32 %295 to i64
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %294, i64 noundef %296)
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  %299 = call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %298)
  store ptr %299, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #10
  %300 = getelementptr inbounds %class.VehicleConstraintTest, ptr %36, i32 0, i32 2
  %301 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %300)
  %302 = load i32, ptr %30, align 4, !tbaa !43
  %303 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %304 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %305 = getelementptr inbounds %union.anon.21, ptr %304, i32 0, i32 0
  %306 = getelementptr inbounds { double, double }, ptr %305, i32 0, i32 0
  %307 = extractvalue { double, double } %303, 0
  store double %307, ptr %306, align 16
  %308 = getelementptr inbounds { double, double }, ptr %305, i32 0, i32 1
  %309 = extractvalue { double, double } %303, 1
  store double %309, ptr %308, align 8
  %310 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %311 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %312 = getelementptr inbounds %union.anon.21, ptr %311, i32 0, i32 0
  %313 = getelementptr inbounds { double, double }, ptr %312, i32 0, i32 0
  %314 = extractvalue { double, double } %310, 0
  store double %314, ptr %313, align 16
  %315 = getelementptr inbounds { double, double }, ptr %312, i32 0, i32 1
  %316 = extractvalue { double, double } %310, 1
  store double %316, ptr %315, align 8
  %317 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %318 = load double, ptr %317, align 16
  %319 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %320 = load double, ptr %319, align 8
  %321 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %322 = load double, ptr %321, align 16
  %323 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %324 = load double, ptr %323, align 8
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %32, ptr noundef nonnull align 16 dereferenceable(408) %301, i32 noundef %302, double %318, double %320, double %322, double %324)
  %325 = getelementptr inbounds %class.Test, ptr %36, i32 0, i32 4
  %326 = load ptr, ptr %325, align 16, !tbaa !47
  %327 = load ptr, ptr %31, align 8, !tbaa !5
  %328 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %327, i32 0, i32 14
  %329 = load float, ptr %328, align 4, !tbaa !48
  %330 = fmul float 5.000000e-01, %329
  %331 = load ptr, ptr %31, align 8, !tbaa !5
  %332 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %331, i32 0, i32 13
  %333 = load float, ptr %332, align 8, !tbaa !57
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !58
  %334 = getelementptr inbounds %"class.JPH::Color", ptr %35, i32 0, i32 0
  %335 = getelementptr inbounds %union.anon.84, ptr %334, i32 0, i32 0
  %336 = load i32, ptr %335, align 4
  call void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %326, ptr noundef nonnull align 16 dereferenceable(64) %32, float noundef %330, float noundef %333, i32 %336, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %337

337:                                              ; preds = %291
  %338 = load i32, ptr %30, align 4, !tbaa !43
  %339 = add i32 %338, 1
  store i32 %339, ptr %30, align 4, !tbaa !43
  br label %287, !llvm.loop !59

340:                                              ; preds = %290
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  ret void

341:                                              ; preds = %285
  %342 = load ptr, ptr %12, align 8
  %343 = load i32, ptr %13, align 4
  %344 = insertvalue { ptr, i32 } poison, ptr %342, 0
  %345 = insertvalue { ptr, i32 } %344, i32 %343, 1
  resume { ptr, i32 } %345
}

declare void @_ZN11VehicleTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 16 dereferenceable(80)) unnamed_addr #6

declare void @_ZN3JPH13BodyInterface12ActivateBodyERKNS_6BodyIDE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZN3JPH24WheeledVehicleController9GetEngineEv(ptr noundef nonnull align 8 dereferenceable(256)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(100) ptr @_ZN3JPH24WheeledVehicleController15GetTransmissionEv(ptr noundef nonnull align 8 dereferenceable(256)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24WheeledVehicleController31SetDifferentialLimitedSlipRatioEf(ptr noundef nonnull align 8 dereferenceable(256), float noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH24WheeledVehicleController16GetDifferentialsEv(ptr noundef nonnull align 8 dereferenceable(256)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24WheeledVehicleController14SetDriverInputEffff(ptr noundef nonnull align 8 dereferenceable(256), float noundef, float noundef, float noundef, float noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH3RefINS_22VehicleCollisionTesterEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48), float noundef, ptr noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3JPH9RefTargetINS_5ShapeEE11SetEmbeddedEv(ptr noundef nonnull align 4 dereferenceable(4)) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sOneEv() #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122)) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK3JPH17VehicleConstraint10GetWorldUpEv(ptr noundef nonnull align 16 dereferenceable(408)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH10RShapeCastCI2NS_10ShapeCastTINS_4Vec3ENS_5Mat44ES0_EEEPKNS_5ShapeES2_RKS3_S2_(ptr noundef nonnull align 16 dereferenceable(144), ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(64), double, double) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH17ShapeCastSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(36)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEC2Ev(ptr noundef nonnull align 16 dereferenceable(1169)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172)) #4 align 2

declare void @_ZNK3JPH16NarrowPhaseQuery9CastShapeERKNS_10RShapeCastERKNS_17ShapeCastSettingsENS_4Vec3ERNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(144), ptr noundef nonnull align 16 dereferenceable(36), double, double, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH30SpecifiedBroadPhaseLayerFilterC2ENS_15BroadPhaseLayerE(ptr noundef nonnull align 8 dereferenceable(9), i8) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH26SpecifiedObjectLayerFilterC2Et(ptr noundef nonnull align 8 dereferenceable(10), i16 noundef zeroext) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10BodyFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH11ShapeFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH11ShapeFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17ObjectLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH21BroadPhaseLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE6HadHitEv(ptr noundef nonnull align 16 dereferenceable(1169)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint15OverrideGravityENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(408), double, double) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint20ResetGravityOverrideEv(ptr noundef nonnull align 16 dereferenceable(408)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEED2Ev(ptr noundef nonnull align 16 dereferenceable(1169)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH11ConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404)) #5 align 2

declare void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(408), i32 noundef, double, double, double, double) #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisXEv() #1 align 2

declare void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 16 dereferenceable(64), float noundef, float noundef, i32, i32 noundef, i32 noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 #6 = { "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 = { inlinehint mustprogress 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 #8 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 #9 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { 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, !19, i64 248}
!10 = !{!"_ZTS21VehicleConstraintTest", !11, i64 0, !6, i64 136, !21, i64 144, !7, i64 152, !22, i64 176, !19, i64 240, !19, i64 244, !19, i64 248, !19, i64 252, !19, i64 256}
!11 = !{!"_ZTS11VehicleTest", !12, i64 0, !20, i64 112}
!12 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !14, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !15, i64 0}
!15 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !16, i64 8, !17, i64 16, !16, i64 24, !18, i64 32, !6, i64 48}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!18 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !19, i64 0, !16, i64 8}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTSN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEEE", !16, i64 0, !16, i64 8, !6, i64 16}
!21 = !{!"_ZTSN3JPH3RefINS_17VehicleConstraintEEE", !6, i64 0}
!22 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!23 = !{!10, !19, i64 240}
!24 = !{!10, !19, i64 252}
!25 = !{!10, !19, i64 256}
!26 = !{!12, !6, i64 24}
!27 = !{!10, !6, i64 136}
!28 = !{!19, !19, i64 0}
!29 = !{!30, !19, i64 0}
!30 = !{!"_ZTSN3JPH21VehicleEngineSettingsE", !19, i64 0, !19, i64 4, !19, i64 8, !31, i64 16, !19, i64 40, !19, i64 44}
!31 = !{!"_ZTSN3JPH11LinearCurveE", !32, i64 0}
!32 = !{!"_ZTSN3JPH5ArrayINS_11LinearCurve5PointENS_12STLAllocatorIS2_EEEE", !16, i64 0, !16, i64 8, !6, i64 16}
!33 = !{!34, !19, i64 76}
!34 = !{!"_ZTSN3JPH27VehicleTransmissionSettingsE", !35, i64 0, !36, i64 8, !36, i64 32, !19, i64 56, !19, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !19, i64 76}
!35 = !{!"_ZTSN3JPH17ETransmissionModeE", !7, i64 0}
!36 = !{!"_ZTSN3JPH5ArrayIfNS_12STLAllocatorIfEEEE", !16, i64 0, !16, i64 8, !6, i64 16}
!37 = !{!13, !13, i64 0}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!41, !19, i64 16}
!41 = !{!"_ZTSN3JPH27VehicleDifferentialSettingsE", !42, i64 0, !42, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20}
!42 = !{!"int", !7, i64 0}
!43 = !{!42, !42, i64 0}
!44 = !{!12, !6, i64 16}
!45 = !{i64 0, i64 1, !46}
!46 = !{!7, !7, i64 0}
!47 = !{!12, !6, i64 32}
!48 = !{!49, !19, i64 140}
!49 = !{!"_ZTSN3JPH13WheelSettingsE", !50, i64 0, !51, i64 8, !54, i64 16, !54, i64 32, !54, i64 48, !54, i64 64, !54, i64 80, !54, i64 96, !19, i64 112, !19, i64 116, !19, i64 120, !55, i64 124, !19, i64 136, !19, i64 140, !13, i64 144}
!50 = !{!"_ZTSN3JPH18SerializableObjectE"}
!51 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !52, i64 0}
!52 = !{!"_ZTSSt6atomicIjE", !53, i64 0}
!53 = !{!"_ZTSSt13__atomic_baseIjE", !42, i64 0}
!54 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!55 = !{!"_ZTSN3JPH14SpringSettingsE", !56, i64 0, !7, i64 4, !19, i64 8}
!56 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!57 = !{!49, !19, i64 136}
!58 = !{i64 0, i64 4, !46}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}


; 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"

%"class.JPH::BroadPhaseLayer" = type { i8 }
%"class.JPH::Color" = type { %union.anon.84 }
%union.anon.84 = type { i32 }
%"class.JPH::SphereShape" = type { %"class.JPH::ConvexShape.base", float }
%"class.JPH::ConvexShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::RefConst.43", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.42", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.42" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst.43" = type { ptr }
%"struct.JPH::RShapeCast" = type { %"struct.JPH::ShapeCastT" }
%"struct.JPH::ShapeCastT" = type { ptr, %"class.JPH::Vec3", %"class.JPH::Mat44", %"class.JPH::Vec3", %"class.JPH::AABox" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.21 }
%union.anon.21 = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::ShapeCastSettings" = type <{ %"class.JPH::CollideSettingsBase", i8, i8, i8, i8, [12 x i8] }>
%"class.JPH::CollideSettingsBase" = type { i8, i8, float, float, %"class.JPH::Vec3" }
%"class.JPH::ClosestHitCollisionCollector" = type <{ %"class.JPH::CollisionCollector", [8 x i8], %"class.JPH::ShapeCastResult", i8, [15 x i8] }>
%"class.JPH::CollisionCollector" = type { ptr, float, ptr }
%"class.JPH::ShapeCastResult" = type <{ %"class.JPH::CollideShapeResult", float, i8, [11 x i8] }>
%"class.JPH::CollideShapeResult" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SubShapeID", %"class.JPH::SubShapeID", %"class.JPH::BodyID", %"class.JPH::StaticArray.69", %"class.JPH::StaticArray.69" }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::StaticArray.69" = type { i32, [12 x i8], [32 x %"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage"] }
%"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage" = type { [16 x i8] }
%"class.JPH::SpecifiedBroadPhaseLayerFilter" = type <{ %"class.JPH::BroadPhaseLayerFilter", %"class.JPH::BroadPhaseLayer", [7 x i8] }>
%"class.JPH::BroadPhaseLayerFilter" = type { ptr }
%"class.JPH::SpecifiedObjectLayerFilter" = type <{ %"class.JPH::ObjectLayerFilter", i16, [6 x i8] }>
%"class.JPH::ObjectLayerFilter" = type { ptr }
%"class.JPH::BodyFilter" = type { ptr }
%"class.JPH::ShapeFilter" = type <{ ptr, %"class.JPH::BodyID", [4 x i8] }>
%"class.JPH::Ref.4" = type { ptr }

@_ZN21VehicleConstraintTest16sMaxEngineTorqueE = external dso_local local_unnamed_addr global float, align 4
@_ZN21VehicleConstraintTest15sClutchStrengthE = external dso_local local_unnamed_addr global float, align 4
@_ZN21VehicleConstraintTest25sLimitedSlipDifferentialsE = external dso_local local_unnamed_addr global i8, align 1
@_ZN21VehicleConstraintTest14sCollisionModeE = external dso_local local_unnamed_addr global i32, align 4
@_ZN21VehicleConstraintTest16sOverrideGravityE = external dso_local local_unnamed_addr global i8, align 1
@_ZN16BroadPhaseLayersL10NON_MOVINGE = external hidden local_unnamed_addr constant %"class.JPH::BroadPhaseLayer", align 1
@_ZN3JPH5Color6sGreenE = external local_unnamed_addr global %"class.JPH::Color", align 4

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisYEv() local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH17VehicleConstraint13GetControllerEv(ptr noundef nonnull align 16 dereferenceable(408)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21VehicleConstraintTest17UpdateCameraPivotEv(ptr noundef nonnull align 16 dereferenceable(260)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN21VehicleConstraintTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 16 dereferenceable(260) %0, ptr noundef nonnull align 16 dereferenceable(80) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.JPH::SphereShape", align 8
  %4 = alloca %"struct.JPH::RShapeCast", align 16
  %5 = alloca %"class.JPH::Mat44", align 16
  %6 = alloca %"class.JPH::ShapeCastSettings", align 16
  %7 = alloca %"class.JPH::ClosestHitCollisionCollector", align 16
  %8 = alloca %"class.JPH::SpecifiedBroadPhaseLayerFilter", align 8
  %9 = alloca %"class.JPH::SpecifiedObjectLayerFilter", align 8
  %10 = alloca %"class.JPH::BodyFilter", align 8
  %11 = alloca %"class.JPH::ShapeFilter", align 8
  %12 = alloca %"class.JPH::Mat44", align 16
  tail call void @_ZN11VehicleTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 16 dereferenceable(80) %1)
  tail call void @_ZN21VehicleConstraintTest17UpdateCameraPivotEv(ptr noundef nonnull align 16 dereferenceable(260) %0)
  %13 = getelementptr inbounds i8, ptr %0, i64 248
  %14 = load float, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 240
  %16 = load float, ptr %15, align 16
  %17 = getelementptr inbounds i8, ptr %0, i64 252
  %18 = getelementptr inbounds i8, ptr %0, i64 256
  %19 = load <2 x float>, ptr %17, align 4
  %20 = insertelement <4 x float> poison, float %14, i64 0
  %21 = insertelement <4 x float> %20, float %16, i64 1
  %22 = shufflevector <2 x float> %19, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 poison, i32 poison>
  %23 = shufflevector <4 x float> %21, <4 x float> %22, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
  %.fr = freeze <4 x float> %23
  %24 = fcmp une <4 x float> %.fr, zeroinitializer
  %25 = bitcast <4 x i1> %24 to i4
  %.not68 = icmp eq i4 %25, 0
  br i1 %.not68, label %32, label %26

26:                                               ; preds = %2
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !22
  %29 = getelementptr inbounds i8, ptr %0, i64 136
  %30 = load ptr, ptr %29, align 8, !tbaa !23
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %30)
  tail call void @_ZN3JPH13BodyInterface12ActivateBodyERKNS_6BodyIDE(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 4 dereferenceable(4) %31)
  br label %32

32:                                               ; preds = %2, %26
  %33 = getelementptr inbounds i8, ptr %0, i64 144
  %34 = tail call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %35 = tail call noundef ptr @_ZN3JPH17VehicleConstraint13GetControllerEv(ptr noundef nonnull align 16 dereferenceable(408) %34)
  %36 = load float, ptr @_ZN21VehicleConstraintTest16sMaxEngineTorqueE, align 4, !tbaa !24
  %37 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN3JPH24WheeledVehicleController9GetEngineEv(ptr noundef nonnull align 8 dereferenceable(256) %35)
  store float %36, ptr %37, align 8, !tbaa !25
  %38 = load float, ptr @_ZN21VehicleConstraintTest15sClutchStrengthE, align 4, !tbaa !24
  %39 = tail call noundef nonnull align 8 dereferenceable(100) ptr @_ZN3JPH24WheeledVehicleController15GetTransmissionEv(ptr noundef nonnull align 8 dereferenceable(256) %35)
  %40 = getelementptr inbounds i8, ptr %39, i64 76
  store float %38, ptr %40, align 4, !tbaa !29
  %41 = load i8, ptr @_ZN21VehicleConstraintTest25sLimitedSlipDifferentialsE, align 1, !tbaa !33, !range !34, !noundef !35
  %42 = trunc nuw i8 %41 to i1
  %43 = select i1 %42, float 0x3FF6666660000000, float 0x47EFFFFFE0000000
  tail call void @_ZN3JPH24WheeledVehicleController31SetDifferentialLimitedSlipRatioEf(ptr noundef nonnull align 8 dereferenceable(256) %35, float noundef %43)
  %44 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH24WheeledVehicleController16GetDifferentialsEv(ptr noundef nonnull align 8 dereferenceable(256) %35)
  %45 = tail call noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
  %46 = tail call noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
  %.not64 = icmp eq ptr %45, %46
  br i1 %.not64, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %32
  %47 = load float, ptr %15, align 16, !tbaa !36
  %48 = load float, ptr %13, align 8, !tbaa !5
  %49 = load float, ptr %17, align 4, !tbaa !37
  %50 = load float, ptr %18, align 16, !tbaa !38
  tail call void @_ZN3JPH24WheeledVehicleController14SetDriverInputEffff(ptr noundef nonnull align 8 dereferenceable(256) %35, float noundef %47, float noundef %48, float noundef %49, float noundef %50)
  %51 = tail call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %52 = getelementptr inbounds i8, ptr %0, i64 152
  %53 = load i32, ptr @_ZN21VehicleConstraintTest14sCollisionModeE, align 4, !tbaa !39
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [3 x %"class.JPH::Ref.4"], ptr %52, i64 0, i64 %54
  %56 = tail call noundef ptr @_ZNK3JPH3RefINS_22VehicleCollisionTesterEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %55)
  tail call void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408) %51, ptr noundef %56)
  %57 = load i8, ptr @_ZN21VehicleConstraintTest16sOverrideGravityE, align 1, !tbaa !33, !range !34, !noundef !35
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %61, label %132

.lr.ph:                                           ; preds = %32, %.lr.ph
  %.065 = phi ptr [ %60, %.lr.ph ], [ %45, %32 ]
  %59 = getelementptr inbounds i8, ptr %.065, i64 16
  store float %43, ptr %59, align 4, !tbaa !41
  %60 = getelementptr inbounds i8, ptr %.065, i64 24
  %.not = icmp eq ptr %60, %46
  br i1 %.not, label %._crit_edge, label %.lr.ph

61:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #9
  call void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %3, float noundef 5.000000e-01, ptr noundef null)
  %62 = getelementptr inbounds i8, ptr %3, i64 8
  invoke void @_ZNK3JPH9RefTargetINS_5ShapeEE11SetEmbeddedEv(ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %63 unwind label %108

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %4) #9
  %64 = invoke { double, double } @_ZN3JPH4Vec34sOneEv()
          to label %65 unwind label %110

65:                                               ; preds = %63
  %66 = extractvalue { double, double } %64, 0
  %67 = extractvalue { double, double } %64, 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #9
  %68 = getelementptr inbounds i8, ptr %0, i64 136
  %69 = load ptr, ptr %68, align 8, !tbaa !23
  %70 = invoke { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122) %69)
          to label %71 unwind label %112

71:                                               ; preds = %65
  %72 = extractvalue { double, double } %70, 0
  %73 = extractvalue { double, double } %70, 1
  invoke void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %5, double %72, double %73)
          to label %74 unwind label %112

74:                                               ; preds = %71
  %75 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %76 = call { double, double } @_ZNK3JPH17VehicleConstraint10GetWorldUpEv(ptr noundef nonnull align 16 dereferenceable(408) %75)
  %77 = extractvalue { double, double } %76, 0
  %78 = extractvalue { double, double } %76, 1
  %79 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef -3.000000e+00, double %77, double %78)
          to label %80 unwind label %112

80:                                               ; preds = %74
  %81 = extractvalue { double, double } %79, 0
  %82 = extractvalue { double, double } %79, 1
  invoke void @_ZN3JPH10RShapeCastCI2NS_10ShapeCastTINS_4Vec3ENS_5Mat44ES0_EEEPKNS_5ShapeES2_RKS3_S2_(ptr noundef nonnull align 16 dereferenceable(144) %4, ptr noundef nonnull %3, double %66, double %67, ptr noundef nonnull align 16 dereferenceable(64) %5, double %81, double %82)
          to label %83 unwind label %112

83:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #9
  invoke void @_ZN3JPH17ShapeCastSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(36) %6)
          to label %84 unwind label %114

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1184, ptr nonnull %7) #9
  invoke void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEC2Ev(ptr noundef nonnull align 16 dereferenceable(1169) %7)
          to label %85 unwind label %116

85:                                               ; preds = %84
  %86 = getelementptr inbounds i8, ptr %0, i64 16
  %87 = load ptr, ptr %86, align 16, !tbaa !43
  %88 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172) %87)
  %89 = load ptr, ptr %68, align 8, !tbaa !23
  %90 = invoke { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122) %89)
          to label %91 unwind label %118

91:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  %.sroa.012.0.copyload = load i8, ptr @_ZN16BroadPhaseLayersL10NON_MOVINGE, align 1, !tbaa !44
  call void @_ZN3JPH30SpecifiedBroadPhaseLayerFilterC2ENS_15BroadPhaseLayerE(ptr noundef nonnull align 8 dereferenceable(9) %8, i8 %.sroa.012.0.copyload)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  call void @_ZN3JPH26SpecifiedObjectLayerFilterC2Et(ptr noundef nonnull align 8 dereferenceable(10) %9, i16 noundef zeroext 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  store i64 0, ptr %10, align 8
  call void @_ZN3JPH10BodyFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  invoke void @_ZN3JPH11ShapeFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %92 unwind label %120

92:                                               ; preds = %91
  %93 = extractvalue { double, double } %90, 1
  %94 = extractvalue { double, double } %90, 0
  invoke void @_ZNK3JPH16NarrowPhaseQuery9CastShapeERKNS_10RShapeCastERKNS_17ShapeCastSettingsENS_4Vec3ERNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef nonnull align 16 dereferenceable(144) %4, ptr noundef nonnull align 16 dereferenceable(36) %6, double %94, double %93, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %95 unwind label %122

95:                                               ; preds = %92
  call void @_ZN3JPH11ShapeFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN3JPH17ObjectLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(10) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @_ZN3JPH21BroadPhaseLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  %96 = call noundef zeroext i1 @_ZNK3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE6HadHitEv(ptr noundef nonnull align 16 dereferenceable(1169) %7)
  %97 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  br i1 %96, label %98, label %125

98:                                               ; preds = %95
  %99 = getelementptr inbounds i8, ptr %7, i64 64
  %100 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %99)
          to label %101 unwind label %118

101:                                              ; preds = %98
  %102 = extractvalue { double, double } %100, 0
  %103 = extractvalue { double, double } %100, 1
  %104 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 0x40239EB860000000, double %102, double %103)
          to label %105 unwind label %118

105:                                              ; preds = %101
  %106 = extractvalue { double, double } %104, 0
  %107 = extractvalue { double, double } %104, 1
  call void @_ZN3JPH17VehicleConstraint15OverrideGravityENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(408) %97, double %106, double %107)
  br label %126

108:                                              ; preds = %61
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %131

110:                                              ; preds = %63
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %130

112:                                              ; preds = %80, %74, %71, %65
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #9
  br label %130

114:                                              ; preds = %83
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %129

116:                                              ; preds = %84
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %128

118:                                              ; preds = %125, %101, %98, %85
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %127

120:                                              ; preds = %91
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %92
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ShapeFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %11) #9
  br label %124

124:                                              ; preds = %122, %120
  %.pn = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN3JPH17ObjectLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(10) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @_ZN3JPH21BroadPhaseLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  br label %127

125:                                              ; preds = %95
  invoke void @_ZN3JPH17VehicleConstraint20ResetGravityOverrideEv(ptr noundef nonnull align 16 dereferenceable(408) %97)
          to label %126 unwind label %118

126:                                              ; preds = %125, %105
  call void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEED2Ev(ptr noundef nonnull align 16 dereferenceable(1169) %7) #9
  call void @llvm.lifetime.end.p0(i64 1184, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %4) #9
  call void @_ZN3JPH11ConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #9
  br label %132

127:                                              ; preds = %124, %118
  %.pn50 = phi { ptr, i32 } [ %119, %118 ], [ %.pn, %124 ]
  call void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEED2Ev(ptr noundef nonnull align 16 dereferenceable(1169) %7) #9
  br label %128

128:                                              ; preds = %127, %116
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %127 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 1184, ptr nonnull %7) #9
  br label %129

129:                                              ; preds = %128, %114
  %.pn50.pn.pn = phi { ptr, i32 } [ %.pn50.pn, %128 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  br label %130

130:                                              ; preds = %129, %112, %110
  %.pn50.pn.pn.pn = phi { ptr, i32 } [ %.pn50.pn.pn, %129 ], [ %113, %112 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %4) #9
  br label %131

131:                                              ; preds = %130, %108
  %.pn50.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn50.pn.pn.pn, %130 ], [ %109, %108 ]
  call void @_ZN3JPH11ConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn50.pn.pn.pn.pn

132:                                              ; preds = %126, %._crit_edge
  %133 = getelementptr inbounds i8, ptr %0, i64 32
  %134 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %135 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408) %134)
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef 0)
  %137 = load ptr, ptr %136, align 8, !tbaa !45
  %138 = call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %137)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #9
  %139 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %140 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %141 = extractvalue { double, double } %140, 0
  %142 = extractvalue { double, double } %140, 1
  %143 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %144 = extractvalue { double, double } %143, 0
  %145 = extractvalue { double, double } %143, 1
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %12, ptr noundef nonnull align 16 dereferenceable(408) %139, i32 noundef 0, double %141, double %142, double %144, double %145)
  %146 = load ptr, ptr %133, align 16, !tbaa !46
  %147 = getelementptr inbounds i8, ptr %138, i64 140
  %148 = load float, ptr %147, align 4, !tbaa !47
  %149 = fmul float %148, 5.000000e-01
  %150 = getelementptr inbounds i8, ptr %138, i64 136
  %151 = load float, ptr %150, align 8, !tbaa !56
  %.sroa.0.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !44
  call void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %146, ptr noundef nonnull align 16 dereferenceable(64) %12, float noundef %149, float noundef %151, i32 %.sroa.0.0.copyload, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #9
  %152 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %153 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408) %152)
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef 1)
  %155 = load ptr, ptr %154, align 8, !tbaa !45
  %156 = call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %155)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #9
  %157 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %158 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %159 = extractvalue { double, double } %158, 0
  %160 = extractvalue { double, double } %158, 1
  %161 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %162 = extractvalue { double, double } %161, 0
  %163 = extractvalue { double, double } %161, 1
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %12, ptr noundef nonnull align 16 dereferenceable(408) %157, i32 noundef 1, double %159, double %160, double %162, double %163)
  %164 = load ptr, ptr %133, align 16, !tbaa !46
  %165 = getelementptr inbounds i8, ptr %156, i64 140
  %166 = load float, ptr %165, align 4, !tbaa !47
  %167 = fmul float %166, 5.000000e-01
  %168 = getelementptr inbounds i8, ptr %156, i64 136
  %169 = load float, ptr %168, align 8, !tbaa !56
  %.sroa.0.0.copyload.1 = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !44
  call void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %164, ptr noundef nonnull align 16 dereferenceable(64) %12, float noundef %167, float noundef %169, i32 %.sroa.0.0.copyload.1, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #9
  %170 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %171 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408) %170)
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef 2)
  %173 = load ptr, ptr %172, align 8, !tbaa !45
  %174 = call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %173)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #9
  %175 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %176 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %177 = extractvalue { double, double } %176, 0
  %178 = extractvalue { double, double } %176, 1
  %179 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %180 = extractvalue { double, double } %179, 0
  %181 = extractvalue { double, double } %179, 1
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %12, ptr noundef nonnull align 16 dereferenceable(408) %175, i32 noundef 2, double %177, double %178, double %180, double %181)
  %182 = load ptr, ptr %133, align 16, !tbaa !46
  %183 = getelementptr inbounds i8, ptr %174, i64 140
  %184 = load float, ptr %183, align 4, !tbaa !47
  %185 = fmul float %184, 5.000000e-01
  %186 = getelementptr inbounds i8, ptr %174, i64 136
  %187 = load float, ptr %186, align 8, !tbaa !56
  %.sroa.0.0.copyload.2 = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !44
  call void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %182, ptr noundef nonnull align 16 dereferenceable(64) %12, float noundef %185, float noundef %187, i32 %.sroa.0.0.copyload.2, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #9
  %188 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %189 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408) %188)
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef 3)
  %191 = load ptr, ptr %190, align 8, !tbaa !45
  %192 = call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %191)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #9
  %193 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %194 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %195 = extractvalue { double, double } %194, 0
  %196 = extractvalue { double, double } %194, 1
  %197 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %198 = extractvalue { double, double } %197, 0
  %199 = extractvalue { double, double } %197, 1
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %12, ptr noundef nonnull align 16 dereferenceable(408) %193, i32 noundef 3, double %195, double %196, double %198, double %199)
  %200 = load ptr, ptr %133, align 16, !tbaa !46
  %201 = getelementptr inbounds i8, ptr %192, i64 140
  %202 = load float, ptr %201, align 4, !tbaa !47
  %203 = fmul float %202, 5.000000e-01
  %204 = getelementptr inbounds i8, ptr %192, i64 136
  %205 = load float, ptr %204, align 8, !tbaa !56
  %.sroa.0.0.copyload.3 = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !44
  call void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %200, ptr noundef nonnull align 16 dereferenceable(64) %12, float noundef %203, float noundef %205, i32 %.sroa.0.0.copyload.3, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #9
  ret void
}

declare void @_ZN11VehicleTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 16 dereferenceable(80)) unnamed_addr #5

declare void @_ZN3JPH13BodyInterface12ActivateBodyERKNS_6BodyIDE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZN3JPH24WheeledVehicleController9GetEngineEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(100) ptr @_ZN3JPH24WheeledVehicleController15GetTransmissionEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24WheeledVehicleController31SetDifferentialLimitedSlipRatioEf(ptr noundef nonnull align 8 dereferenceable(256), float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH24WheeledVehicleController16GetDifferentialsEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_27VehicleDifferentialSettingsENS_12STLAllocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24WheeledVehicleController14SetDriverInputEffff(ptr noundef nonnull align 8 dereferenceable(256), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH3RefINS_22VehicleCollisionTesterEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48), float noundef, ptr noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3JPH9RefTargetINS_5ShapeEE11SetEmbeddedEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sOneEv() local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK3JPH17VehicleConstraint10GetWorldUpEv(ptr noundef nonnull align 16 dereferenceable(408)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH10RShapeCastCI2NS_10ShapeCastTINS_4Vec3ENS_5Mat44ES0_EEEPKNS_5ShapeES2_RKS3_S2_(ptr noundef nonnull align 16 dereferenceable(144), ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(64), double, double) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH17ShapeCastSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(36)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEC2Ev(ptr noundef nonnull align 16 dereferenceable(1169)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172)) local_unnamed_addr #3 align 2

declare void @_ZNK3JPH16NarrowPhaseQuery9CastShapeERKNS_10RShapeCastERKNS_17ShapeCastSettingsENS_4Vec3ERNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(144), ptr noundef nonnull align 16 dereferenceable(36), double, double, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH30SpecifiedBroadPhaseLayerFilterC2ENS_15BroadPhaseLayerE(ptr noundef nonnull align 8 dereferenceable(9), i8) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH26SpecifiedObjectLayerFilterC2Et(ptr noundef nonnull align 8 dereferenceable(10), i16 noundef zeroext) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10BodyFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH11ShapeFilterC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH11ShapeFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17ObjectLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH21BroadPhaseLayerFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE6HadHitEv(ptr noundef nonnull align 16 dereferenceable(1169)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint15OverrideGravityENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(408), double, double) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint20ResetGravityOverrideEv(ptr noundef nonnull align 16 dereferenceable(408)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH28ClosestHitCollisionCollectorINS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEED2Ev(ptr noundef nonnull align 16 dereferenceable(1169)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH11ConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH17VehicleConstraint9GetWheelsEv(ptr noundef nonnull align 16 dereferenceable(408)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_5WheelENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404)) local_unnamed_addr #4 align 2

declare void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(408), i32 noundef, double, double, double, double) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisXEv() local_unnamed_addr #1 align 2

declare void @_ZN3JPH13DebugRenderer12DrawCylinderERKNS_5Mat44EffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 16 dereferenceable(64), float noundef, float noundef, i32, i32 noundef, i32 noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { inlinehint mustprogress 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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, !18, i64 248}
!6 = !{!"_ZTS21VehicleConstraintTest", !7, i64 0, !9, i64 136, !20, i64 144, !10, i64 152, !21, i64 176, !18, i64 240, !18, i64 244, !18, i64 248, !18, i64 252, !18, i64 256}
!7 = !{!"_ZTS11VehicleTest", !8, i64 0, !19, i64 112}
!8 = !{!"_ZTS4Test", !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !12, i64 48, !13, i64 56}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"bool", !10, i64 0}
!13 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !14, i64 0}
!14 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !9, i64 0, !15, i64 8, !16, i64 16, !15, i64 24, !17, i64 32, !9, i64 48}
!15 = !{!"long", !10, i64 0}
!16 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !9, i64 0}
!17 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !18, i64 0, !15, i64 8}
!18 = !{!"float", !10, i64 0}
!19 = !{!"_ZTSN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEEE", !15, i64 0, !15, i64 8, !9, i64 16}
!20 = !{!"_ZTSN3JPH3RefINS_17VehicleConstraintEEE", !9, i64 0}
!21 = !{!"_ZTSN3JPH5Mat44E", !10, i64 0}
!22 = !{!8, !9, i64 24}
!23 = !{!6, !9, i64 136}
!24 = !{!18, !18, i64 0}
!25 = !{!26, !18, i64 0}
!26 = !{!"_ZTSN3JPH21VehicleEngineSettingsE", !18, i64 0, !18, i64 4, !18, i64 8, !27, i64 16, !18, i64 40, !18, i64 44}
!27 = !{!"_ZTSN3JPH11LinearCurveE", !28, i64 0}
!28 = !{!"_ZTSN3JPH5ArrayINS_11LinearCurve5PointENS_12STLAllocatorIS2_EEEE", !15, i64 0, !15, i64 8, !9, i64 16}
!29 = !{!30, !18, i64 76}
!30 = !{!"_ZTSN3JPH27VehicleTransmissionSettingsE", !31, i64 0, !32, i64 8, !32, i64 32, !18, i64 56, !18, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !18, i64 76}
!31 = !{!"_ZTSN3JPH17ETransmissionModeE", !10, i64 0}
!32 = !{!"_ZTSN3JPH5ArrayIfNS_12STLAllocatorIfEEEE", !15, i64 0, !15, i64 8, !9, i64 16}
!33 = !{!12, !12, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!6, !18, i64 240}
!37 = !{!6, !18, i64 252}
!38 = !{!6, !18, i64 256}
!39 = !{!40, !40, i64 0}
!40 = !{!"int", !10, i64 0}
!41 = !{!42, !18, i64 16}
!42 = !{!"_ZTSN3JPH27VehicleDifferentialSettingsE", !40, i64 0, !40, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !18, i64 20}
!43 = !{!8, !9, i64 16}
!44 = !{!10, !10, i64 0}
!45 = !{!9, !9, i64 0}
!46 = !{!8, !9, i64 32}
!47 = !{!48, !18, i64 140}
!48 = !{!"_ZTSN3JPH13WheelSettingsE", !49, i64 0, !50, i64 8, !53, i64 16, !53, i64 32, !53, i64 48, !53, i64 64, !53, i64 80, !53, i64 96, !18, i64 112, !18, i64 116, !18, i64 120, !54, i64 124, !18, i64 136, !18, i64 140, !12, i64 144}
!49 = !{!"_ZTSN3JPH18SerializableObjectE"}
!50 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !51, i64 0}
!51 = !{!"_ZTSSt6atomicIjE", !52, i64 0}
!52 = !{!"_ZTSSt13__atomic_baseIjE", !40, i64 0}
!53 = !{!"_ZTSN3JPH4Vec3E", !10, i64 0}
!54 = !{!"_ZTSN3JPH14SpringSettingsE", !55, i64 0, !10, i64 4, !18, i64 8}
!55 = !{!"_ZTSN3JPH11ESpringModeE", !10, i64 0}
!56 = !{!48, !18, i64 136}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass