; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Vehicle/TankTest.ll (ZN8TankTest10InitializeEv)

; 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::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::RefConst.33" = type { ptr }
%"class.JPH::Result" = type <{ %union.anon.34, i8, [7 x i8] }>
%union.anon.34 = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.38 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.38 = type { i64, [8 x i8] }
%"class.JPH::OffsetCenterOfMassShapeSettings" = type { %"class.JPH::DecoratedShapeSettings", %"class.JPH::Vec3" }
%"class.JPH::DecoratedShapeSettings" = type { %"class.JPH::ShapeSettings", %"class.JPH::RefConst.40", %"class.JPH::RefConst.33" }
%"class.JPH::ShapeSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.39", i64, %"class.JPH::Result" }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.39" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst.40" = type { ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.40", %"class.JPH::RefConst.33" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.43 }
%union.anon.43 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.44", i32, i32 }
%"class.JPH::RefConst.44" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::VehicleConstraintSettings" = type { %"class.JPH::ConstraintSettings", %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::Array.48", %"class.JPH::Array.24", %"class.JPH::Ref.51" }
%"class.JPH::ConstraintSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.47", i8, i32, i32, i32, float, i64 }
%"class.JPH::RefTarget.47" = type { %"struct.std::atomic" }
%"class.JPH::Array.48" = type { i64, i64, ptr }
%"class.JPH::Array.24" = type { i64, i64, ptr }
%"class.JPH::Ref.51" = type { ptr }
%"class.JPH::Ref.64" = type { ptr }
%"class.JPH::HingeConstraintSettings" = type <{ %"class.JPH::TwoBodyConstraintSettings", i32, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, %"class.JPH::SpringSettings", float, %"class.JPH::MotorSettings", [12 x i8] }>
%"class.JPH::TwoBodyConstraintSettings" = type { %"class.JPH::ConstraintSettings" }
%"class.JPH::SpringSettings" = type { i8, %union.anon.63, float }
%union.anon.63 = type { float }
%"class.JPH::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }
%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.TankTest = type <{ %class.VehicleTest, ptr, ptr, ptr, %"class.JPH::Ref", %"class.JPH::Ref.4", %"class.JPH::Ref.4", float, [4 x i8], %"class.JPH::Vec3", float, float, float, float, float, float, float, i8, [3 x i8] }>
%class.VehicleTest = type { %class.Test, %"class.JPH::Array" }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::Ref.4" = type { ptr }
%"class.JPH::TrackedVehicleControllerSettings" = type { %"class.JPH::VehicleControllerSettings.base", %"class.JPH::VehicleEngineSettings", %"class.JPH::VehicleTransmissionSettings", [2 x %"class.JPH::VehicleTrackSettings"] }
%"class.JPH::VehicleControllerSettings.base" = type <{ %"class.JPH::SerializableObject", %"class.JPH::RefTarget.52" }>
%"class.JPH::RefTarget.52" = type { %"struct.std::atomic" }
%"class.JPH::VehicleEngineSettings" = type { float, float, float, %"class.JPH::LinearCurve", float, float }
%"class.JPH::LinearCurve" = type { %"class.JPH::Array.53" }
%"class.JPH::Array.53" = type { i64, i64, ptr }
%"class.JPH::VehicleTransmissionSettings" = type { i8, %"class.JPH::Array.56", %"class.JPH::Array.56", float, float, float, float, float, float }
%"class.JPH::Array.56" = type { i64, i64, ptr }
%"class.JPH::VehicleTrackSettings" = type { i32, %"class.JPH::Array.59", float, float, float, float }
%"class.JPH::Array.59" = type { i64, i64, ptr }
%"class.JPH::WheelSettings" = type <{ %"class.JPH::SerializableObject", %"class.JPH::RefTarget.62", [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::RefTarget.62" = type { %"struct.std::atomic" }

@_ZZN8TankTest10InitializeEvE9wheel_pos = external hidden global [9 x %"class.JPH::Vec3"], align 16
@_ZGVZN8TankTest10InitializeEvE9wheel_pos = external hidden global i64, align 8

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

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

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

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8TankTest10InitializeEv(ptr noundef nonnull align 16 dereferenceable(237) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::RefConst.33", align 8
  %22 = alloca %"class.JPH::Result", align 8
  %23 = alloca %"class.JPH::OffsetCenterOfMassShapeSettings", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::BodyCreationSettings", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Quat", align 16
  %29 = alloca %"class.JPH::VehicleConstraintSettings", align 16
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca %"class.JPH::Ref.64", align 8
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::BodyCreationSettings", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Quat", align 16
  %45 = alloca %"class.JPH::HingeConstraintSettings", align 16
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca %"class.JPH::MotorSettings", align 4
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::BodyCreationSettings", align 16
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = alloca %"class.JPH::Quat", align 16
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::HingeConstraintSettings", align 16
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Vec3", align 16
  %60 = alloca %"class.JPH::Vec3", align 16
  %61 = alloca %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Vec3", align 16
  %63 = alloca %"class.JPH::MotorSettings", align 4
  %64 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %65 = load ptr, ptr %2, align 8
  call void @_ZN11VehicleTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(136) %65)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #0
  store float 0x3FD3333340000000, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #0
  store float 0x3FB99999A0000000, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #0
  store float 0x40099999A0000000, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #0
  store float 0x3FFB333340000000, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #0
  store float 5.000000e-01, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #0
  store float 0x3FD3333340000000, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #0
  store float 5.000000e-01, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #0
  store float 1.000000e+00, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #0
  store float 0x3FF6666660000000, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #0
  store float 2.000000e+00, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #0
  store float 0x3FD99999A0000000, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #0
  store float 1.500000e+00, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #0
  store float 0x3FB99999A0000000, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #0
  store float 0x3FC99999A0000000, ptr %16, align 4, !tbaa !9
  %66 = load atomic i8, ptr @_ZGVZN8TankTest10InitializeEvE9wheel_pos acquire, align 8
  %67 = icmp eq i8 %66, 0
  br i1 %67, label %68, label %81, !prof !11

68:                                               ; preds = %1
  %69 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN8TankTest10InitializeEvE9wheel_pos) #0
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %81

71:                                               ; preds = %68
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) @_ZZN8TankTest10InitializeEvE9wheel_pos, float noundef 0.000000e+00, float noundef -0.000000e+00, float noundef 0x40079999A0000000)
          to label %72 unwind label %157

72:                                               ; preds = %71
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 1), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0x4000CCCCC0000000)
          to label %73 unwind label %157

73:                                               ; preds = %72
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 2), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0x3FF6666660000000)
          to label %74 unwind label %157

74:                                               ; preds = %73
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 3), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0x3FE6666660000000)
          to label %75 unwind label %157

75:                                               ; preds = %74
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 4), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0.000000e+00)
          to label %76 unwind label %157

76:                                               ; preds = %75
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 5), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0xBFE6666660000000)
          to label %77 unwind label %157

77:                                               ; preds = %76
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 6), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0xBFF6666660000000)
          to label %78 unwind label %157

78:                                               ; preds = %77
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 7), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0xC000CCCCC0000000)
          to label %79 unwind label %157

79:                                               ; preds = %78
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 8), float noundef 0.000000e+00, float noundef -0.000000e+00, float noundef -2.750000e+00)
          to label %80 unwind label %157

80:                                               ; preds = %79
  call void @__cxa_guard_release(ptr @_ZGVZN8TankTest10InitializeEvE9wheel_pos) #0
  br label %81

81:                                               ; preds = %80, %68, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #0
  %82 = call noundef ptr @_ZN3JPH16GroupFilterTablenwEm(i64 noundef 40)
  invoke void @_ZN3JPH16GroupFilterTableC2Ej(ptr noundef nonnull align 8 dereferenceable(40) %82, i32 noundef 0)
          to label %83 unwind label %161

83:                                               ; preds = %81
  store ptr %82, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #0
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #0
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #0
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #0
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 0.000000e+00, float noundef -5.000000e-01, float noundef 0.000000e+00)
  %84 = call noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef 0x3FFB333340000000, float noundef 5.000000e-01, float noundef 0x40099999A0000000)
          to label %85 unwind label %165

85:                                               ; preds = %83
  %86 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %87 = load double, ptr %86, align 16
  %88 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %89 = load double, ptr %88, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %84, double %87, double %89, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %90 unwind label %165

90:                                               ; preds = %85
  %91 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %92 = load double, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %94 = load double, ptr %93, align 8
  call void @_ZN3JPH31OffsetCenterOfMassShapeSettingsC2ENS_4Vec3EPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(96) %23, double %92, double %94, ptr noundef %84)
  invoke void @_ZNK3JPH31OffsetCenterOfMassShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8 %22, ptr noundef nonnull align 16 dereferenceable(96) %23)
          to label %95 unwind label %169

95:                                               ; preds = %90
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE3GetEv(ptr noundef nonnull align 8 dereferenceable(33) %22)
          to label %97 unwind label %173

97:                                               ; preds = %95
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2ERKNS_3RefIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %96)
          to label %98 unwind label %173

98:                                               ; preds = %97
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %22) #0
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(96) %23) #0
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #0
  call void @llvm.lifetime.start.p0(i64 256, ptr %26) #0
  %99 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %100 unwind label %179

100:                                              ; preds = %98
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %20, i64 16, i1 false), !tbaa.struct !12
  %101 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %102 unwind label %179

102:                                              ; preds = %100
  %103 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i32 0, i32 0
  %104 = getelementptr inbounds %"class.JPH::Vec4", ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds %union.anon.43, ptr %104, i32 0, i32 0
  %106 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 0
  %107 = extractvalue { double, double } %101, 0
  store double %107, ptr %106, align 16
  %108 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 1
  %109 = extractvalue { double, double } %101, 1
  store double %109, ptr %108, align 8
  %110 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %111 = load double, ptr %110, align 16
  %112 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %113 = load double, ptr %112, align 8
  %114 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %115 = load double, ptr %114, align 16
  %116 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %117 = load double, ptr %116, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %26, ptr noundef %99, double %111, double %113, double %115, double %117, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %118 unwind label %179

118:                                              ; preds = %102
  %119 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %26, i32 0, i32 6
  %120 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16) %119, ptr noundef %120)
          to label %121 unwind label %183

121:                                              ; preds = %118
  %122 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %26, i32 0, i32 6
  invoke void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %122, i32 noundef 0)
          to label %123 unwind label %183

123:                                              ; preds = %121
  %124 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %26, i32 0, i32 6
  invoke void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %124, i32 noundef 0)
          to label %125 unwind label %183

125:                                              ; preds = %123
  %126 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %26, i32 0, i32 26
  store i8 1, ptr %126, align 16, !tbaa !14
  %127 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %26, i32 0, i32 28
  %128 = getelementptr inbounds %"class.JPH::MassProperties", ptr %127, i32 0, i32 0
  store float 4.000000e+03, ptr %128, align 16, !tbaa !33
  %129 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 3
  %130 = load ptr, ptr %129, align 8, !tbaa !34
  %131 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %130, ptr noundef nonnull align 16 dereferenceable(256) %26)
          to label %132 unwind label %183

132:                                              ; preds = %125
  %133 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 1
  store ptr %131, ptr %133, align 8, !tbaa !40
  %134 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 3
  %135 = load ptr, ptr %134, align 8, !tbaa !34
  %136 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !40
  %138 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %137)
          to label %139 unwind label %183

139:                                              ; preds = %132
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %135, ptr noundef nonnull align 4 dereferenceable(4) %138, i32 noundef 0)
          to label %140 unwind label %183

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 144, ptr %29) #0
  invoke void @_ZN3JPH25VehicleConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(144) %29)
          to label %141 unwind label %187

141:                                              ; preds = %140
  %142 = getelementptr inbounds %"class.JPH::ConstraintSettings", ptr %29, i32 0, i32 6
  store float 0x3FB99999A0000000, ptr %142, align 4, !tbaa !46
  %143 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 6.000000e+01)
          to label %144 unwind label %191

144:                                              ; preds = %141
  %145 = getelementptr inbounds %"class.JPH::VehicleConstraintSettings", ptr %29, i32 0, i32 3
  store float %143, ptr %145, align 16, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #0
  %146 = invoke noundef ptr @_ZN3JPH32TrackedVehicleControllerSettingsnwEm(i64 noundef 240)
          to label %147 unwind label %195

147:                                              ; preds = %144
  invoke void @_ZN3JPH32TrackedVehicleControllerSettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(240) %146)
          to label %148 unwind label %199

148:                                              ; preds = %147
  store ptr %146, ptr %30, align 8, !tbaa !5
  %149 = load ptr, ptr %30, align 8, !tbaa !5
  %150 = getelementptr inbounds %"class.JPH::VehicleConstraintSettings", ptr %29, i32 0, i32 6
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_25VehicleControllerSettingsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef %149)
          to label %152 unwind label %195

152:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #0
  store i32 0, ptr %31, align 4, !tbaa !57
  br label %153

153:                                              ; preds = %304, %152
  %154 = load i32, ptr %31, align 4, !tbaa !57
  %155 = icmp slt i32 %154, 2
  br i1 %155, label %203, label %156

156:                                              ; preds = %153
  store i32 2, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #0
  br label %308

157:                                              ; preds = %79, %78, %77, %76, %75, %74, %73, %72, %71
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %17, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %18, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZN8TankTest10InitializeEvE9wheel_pos) #0
  br label %732

161:                                              ; preds = %81
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %17, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %18, align 4
  call void @_ZN3JPH16GroupFilterTabledlEPv(ptr noundef %82) #0
  br label %731

165:                                              ; preds = %85, %83
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %17, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %18, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %84) #0
  br label %178

169:                                              ; preds = %90
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %17, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %18, align 4
  br label %177

173:                                              ; preds = %97, %95
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %17, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %18, align 4
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %22) #0
  br label %177

177:                                              ; preds = %173, %169
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(96) %23) #0
  br label %178

178:                                              ; preds = %177, %165
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #0
  br label %730

179:                                              ; preds = %102, %100, %98
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %17, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %18, align 4
  br label %729

183:                                              ; preds = %139, %132, %125, %123, %121, %118
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %17, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %18, align 4
  br label %728

187:                                              ; preds = %140
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %17, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %18, align 4
  br label %727

191:                                              ; preds = %141
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %17, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %18, align 4
  br label %726

195:                                              ; preds = %352, %343, %342, %337, %336, %319, %316, %313, %308, %148, %144
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %17, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %18, align 4
  br label %725

199:                                              ; preds = %147
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %17, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %18, align 4
  call void @_ZN3JPH32TrackedVehicleControllerSettingsdlEPv(ptr noundef %146) #0
  br label %725

203:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #0
  %204 = load ptr, ptr %30, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.JPH::TrackedVehicleControllerSettings", ptr %204, i32 0, i32 3
  %206 = load i32, ptr %31, align 4, !tbaa !57
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [2 x %"class.JPH::VehicleTrackSettings"], ptr %205, i64 0, i64 %207
  store ptr %208, ptr %33, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.JPH::VehicleConstraintSettings", ptr %29, i32 0, i32 4
  %210 = invoke noundef i64 @_ZNK3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %209)
          to label %211 unwind label %224

211:                                              ; preds = %203
  %212 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #0
  %213 = add i64 %210, %212
  %214 = sub i64 %213, 1
  %215 = trunc i64 %214 to i32
  %216 = load ptr, ptr %33, align 8, !tbaa !5
  %217 = getelementptr inbounds %"class.JPH::VehicleTrackSettings", ptr %216, i32 0, i32 0
  store i32 %215, ptr %217, align 8, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #0
  store i32 0, ptr %34, align 4, !tbaa !57
  br label %218

218:                                              ; preds = %278, %211
  %219 = load i32, ptr %34, align 4, !tbaa !57
  %220 = zext i32 %219 to i64
  %221 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #0
  %222 = icmp ult i64 %220, %221
  br i1 %222, label %228, label %223

223:                                              ; preds = %218
  store i32 5, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #0
  br label %303

224:                                              ; preds = %203
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %17, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %18, align 4
  br label %307

228:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #0
  %229 = invoke noundef ptr @_ZN3JPH15WheelSettingsTVnwEm(i64 noundef 160)
          to label %230 unwind label %281

230:                                              ; preds = %228
  invoke void @_ZN3JPH15WheelSettingsTVC2Ev(ptr noundef nonnull align 16 dereferenceable(156) %229)
          to label %231 unwind label %285

231:                                              ; preds = %230
  store ptr %229, ptr %35, align 8, !tbaa !5
  %232 = load i32, ptr %34, align 4, !tbaa !57
  %233 = zext i32 %232 to i64
  %234 = getelementptr inbounds [9 x %"class.JPH::Vec3"], ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 0, i64 %233
  %235 = load ptr, ptr %35, align 8, !tbaa !5
  %236 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %235, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %236, ptr align 16 %234, i64 16, i1 false), !tbaa.struct !12
  %237 = load ptr, ptr %35, align 8, !tbaa !5
  %238 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %237, i32 0, i32 3
  %239 = load i32, ptr %31, align 4, !tbaa !57
  %240 = icmp eq i32 %239, 0
  %241 = zext i1 %240 to i64
  %242 = select i1 %240, float 0x3FFB333340000000, float 0xBFFB333340000000
  invoke void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %238, float noundef %242)
          to label %243 unwind label %281

243:                                              ; preds = %231
  %244 = load ptr, ptr %35, align 8, !tbaa !5
  %245 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %244, i32 0, i32 13
  store float 0x3FD3333340000000, ptr %245, align 8, !tbaa !61
  %246 = load ptr, ptr %35, align 8, !tbaa !5
  %247 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %246, i32 0, i32 14
  store float 0x3FB99999A0000000, ptr %247, align 4, !tbaa !66
  %248 = load ptr, ptr %35, align 8, !tbaa !5
  %249 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %248, i32 0, i32 9
  store float 0x3FD3333340000000, ptr %249, align 16, !tbaa !67
  %250 = load i32, ptr %34, align 4, !tbaa !57
  %251 = icmp eq i32 %250, 0
  br i1 %251, label %258, label %252

252:                                              ; preds = %243
  %253 = load i32, ptr %34, align 4, !tbaa !57
  %254 = zext i32 %253 to i64
  %255 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #0
  %256 = sub i64 %255, 1
  %257 = icmp eq i64 %254, %256
  br label %258

258:                                              ; preds = %252, %243
  %259 = phi i1 [ true, %243 ], [ %257, %252 ]
  %260 = zext i1 %259 to i64
  %261 = select i1 %259, float 0x3FD3333340000000, float 5.000000e-01
  %262 = load ptr, ptr %35, align 8, !tbaa !5
  %263 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %262, i32 0, i32 10
  store float %261, ptr %263, align 4, !tbaa !68
  %264 = load ptr, ptr %35, align 8, !tbaa !5
  %265 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %264, i32 0, i32 12
  %266 = getelementptr inbounds %"class.JPH::SpringSettings", ptr %265, i32 0, i32 1
  store float 1.000000e+00, ptr %266, align 4, !tbaa !13
  %267 = load ptr, ptr %33, align 8, !tbaa !5
  %268 = getelementptr inbounds %"class.JPH::VehicleTrackSettings", ptr %267, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #0
  %269 = getelementptr inbounds %"class.JPH::VehicleConstraintSettings", ptr %29, i32 0, i32 4
  %270 = invoke noundef i64 @_ZNK3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %269)
          to label %271 unwind label %289

271:                                              ; preds = %258
  %272 = trunc i64 %270 to i32
  store i32 %272, ptr %36, align 4, !tbaa !57
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %268, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %273 unwind label %289

273:                                              ; preds = %271
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #0
  %274 = getelementptr inbounds %"class.JPH::VehicleConstraintSettings", ptr %29, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #0
  %275 = load ptr, ptr %35, align 8, !tbaa !5
  invoke void @_ZN3JPH3RefINS_13WheelSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef %275)
          to label %276 unwind label %293

276:                                              ; preds = %273
  invoke void @_ZN3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %274, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %277 unwind label %297

277:                                              ; preds = %276
  call void @_ZN3JPH3RefINS_13WheelSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #0
  br label %278

278:                                              ; preds = %277
  %279 = load i32, ptr %34, align 4, !tbaa !57
  %280 = add i32 %279, 1
  store i32 %280, ptr %34, align 4, !tbaa !57
  br label %218, !llvm.loop !69

281:                                              ; preds = %231, %228
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %17, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %18, align 4
  br label %302

285:                                              ; preds = %230
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %17, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %18, align 4
  call void @_ZN3JPH15WheelSettingsTVdlEPv(ptr noundef %229) #0
  br label %302

289:                                              ; preds = %271, %258
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %17, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #0
  br label %302

293:                                              ; preds = %273
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %17, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %18, align 4
  br label %301

297:                                              ; preds = %276
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %17, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %18, align 4
  call void @_ZN3JPH3RefINS_13WheelSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #0
  br label %301

301:                                              ; preds = %297, %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #0
  br label %302

302:                                              ; preds = %301, %289, %285, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #0
  br label %307

303:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #0
  br label %304

304:                                              ; preds = %303
  %305 = load i32, ptr %31, align 4, !tbaa !57
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %31, align 4, !tbaa !57
  br label %153, !llvm.loop !71

307:                                              ; preds = %302, %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #0
  br label %725

308:                                              ; preds = %156
  %309 = invoke noundef ptr @_ZN3JPH10ConstraintnwEm(i64 noundef 416)
          to label %310 unwind label %195

310:                                              ; preds = %308
  %311 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 1
  %312 = load ptr, ptr %311, align 8, !tbaa !40
  invoke void @_ZN3JPH17VehicleConstraintC1ERNS_4BodyERKNS_25VehicleConstraintSettingsE(ptr noundef nonnull align 16 dereferenceable(408) %309, ptr noundef nonnull align 16 dereferenceable(122) %312, ptr noundef nonnull align 16 dereferenceable(144) %29)
          to label %313 unwind label %623

313:                                              ; preds = %310
  %314 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 4
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_17VehicleConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %314, ptr noundef %309)
          to label %316 unwind label %195

316:                                              ; preds = %313
  %317 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 4
  %318 = invoke noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %317)
          to label %319 unwind label %195

319:                                              ; preds = %316
  %320 = invoke noundef ptr @_ZN3JPH25VehicleCollisionTesterRaynwEm(i64 noundef 80)
          to label %321 unwind label %195

321:                                              ; preds = %319
  %322 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %323 unwind label %627

323:                                              ; preds = %321
  %324 = getelementptr inbounds %"class.JPH::Vec3", ptr %38, i32 0, i32 0
  %325 = getelementptr inbounds %union.anon, ptr %324, i32 0, i32 0
  %326 = getelementptr inbounds { double, double }, ptr %325, i32 0, i32 0
  %327 = extractvalue { double, double } %322, 0
  store double %327, ptr %326, align 16
  %328 = getelementptr inbounds { double, double }, ptr %325, i32 0, i32 1
  %329 = extractvalue { double, double } %322, 1
  store double %329, ptr %328, align 8
  %330 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 8.000000e+01)
          to label %331 unwind label %627

331:                                              ; preds = %323
  %332 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %333 = load double, ptr %332, align 16
  %334 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %335 = load double, ptr %334, align 8
  invoke void @_ZN3JPH25VehicleCollisionTesterRayC2EtNS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(68) %320, i16 noundef zeroext 1, double %333, double %335, float noundef %330)
          to label %336 unwind label %627

336:                                              ; preds = %331
  invoke void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408) %318, ptr noundef %320)
          to label %337 unwind label %195

337:                                              ; preds = %336
  %338 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 2
  %339 = load ptr, ptr %338, align 16, !tbaa !72
  %340 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 4
  %341 = invoke noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %340)
          to label %342 unwind label %195

342:                                              ; preds = %337
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %339, ptr noundef %341)
          to label %343 unwind label %195

343:                                              ; preds = %342
  %344 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 2
  %345 = load ptr, ptr %344, align 16, !tbaa !72
  %346 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 4
  %347 = invoke noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %346)
          to label %348 unwind label %195

348:                                              ; preds = %343
  %349 = icmp eq ptr %347, null
  br i1 %349, label %352, label %350

350:                                              ; preds = %348
  %351 = getelementptr inbounds i8, ptr %347, i64 32
  br label %352

352:                                              ; preds = %350, %348
  %353 = phi ptr [ %351, %350 ], [ null, %348 ]
  invoke void @_ZN3JPH13PhysicsSystem15AddStepListenerEPNS_19PhysicsStepListenerE(ptr noundef nonnull align 16 dereferenceable(1172) %345, ptr noundef %353)
          to label %354 unwind label %195

354:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #0
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef 0.000000e+00, float noundef 0x3FECCCCCC0000000, float noundef 0.000000e+00)
          to label %355 unwind label %631

355:                                              ; preds = %354
  %356 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %357 = load double, ptr %356, align 16
  %358 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %359 = load double, ptr %358, align 8
  %360 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %20, double %357, double %359)
          to label %361 unwind label %631

361:                                              ; preds = %355
  %362 = getelementptr inbounds %"class.JPH::Vec3", ptr %39, i32 0, i32 0
  %363 = getelementptr inbounds %union.anon, ptr %362, i32 0, i32 0
  %364 = getelementptr inbounds { double, double }, ptr %363, i32 0, i32 0
  %365 = extractvalue { double, double } %360, 0
  store double %365, ptr %364, align 16
  %366 = getelementptr inbounds { double, double }, ptr %363, i32 0, i32 1
  %367 = extractvalue { double, double } %360, 1
  store double %367, ptr %366, align 8
  call void @llvm.lifetime.start.p0(i64 256, ptr %41) #0
  %368 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %369 unwind label %635

369:                                              ; preds = %361
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %42, float noundef 0x3FF6666660000000, float noundef 0x3FD99999A0000000, float noundef 2.000000e+00)
          to label %370 unwind label %639

370:                                              ; preds = %369
  %371 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %372 = load double, ptr %371, align 16
  %373 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %374 = load double, ptr %373, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %368, double %372, double %374, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %375 unwind label %639

375:                                              ; preds = %370
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %39, i64 16, i1 false), !tbaa.struct !12
  %376 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %377 unwind label %635

377:                                              ; preds = %375
  %378 = getelementptr inbounds %"class.JPH::Quat", ptr %44, i32 0, i32 0
  %379 = getelementptr inbounds %"class.JPH::Vec4", ptr %378, i32 0, i32 0
  %380 = getelementptr inbounds %union.anon.43, ptr %379, i32 0, i32 0
  %381 = getelementptr inbounds { double, double }, ptr %380, i32 0, i32 0
  %382 = extractvalue { double, double } %376, 0
  store double %382, ptr %381, align 16
  %383 = getelementptr inbounds { double, double }, ptr %380, i32 0, i32 1
  %384 = extractvalue { double, double } %376, 1
  store double %384, ptr %383, align 8
  %385 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %386 = load double, ptr %385, align 16
  %387 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %388 = load double, ptr %387, align 8
  %389 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %390 = load double, ptr %389, align 16
  %391 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %392 = load double, ptr %391, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %41, ptr noundef %368, double %386, double %388, double %390, double %392, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %393 unwind label %635

393:                                              ; preds = %377
  %394 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %41, i32 0, i32 6
  %395 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16) %394, ptr noundef %395)
          to label %396 unwind label %643

396:                                              ; preds = %393
  %397 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %41, i32 0, i32 6
  invoke void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %397, i32 noundef 0)
          to label %398 unwind label %643

398:                                              ; preds = %396
  %399 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %41, i32 0, i32 6
  invoke void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %399, i32 noundef 0)
          to label %400 unwind label %643

400:                                              ; preds = %398
  %401 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %41, i32 0, i32 26
  store i8 1, ptr %401, align 16, !tbaa !14
  %402 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %41, i32 0, i32 28
  %403 = getelementptr inbounds %"class.JPH::MassProperties", ptr %402, i32 0, i32 0
  store float 2.000000e+03, ptr %403, align 16, !tbaa !33
  %404 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 3
  %405 = load ptr, ptr %404, align 8, !tbaa !34
  %406 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %405, ptr noundef nonnull align 16 dereferenceable(256) %41)
          to label %407 unwind label %643

407:                                              ; preds = %400
  %408 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 2
  store ptr %406, ptr %408, align 16, !tbaa !73
  %409 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 3
  %410 = load ptr, ptr %409, align 8, !tbaa !34
  %411 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 2
  %412 = load ptr, ptr %411, align 16, !tbaa !73
  %413 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %412)
          to label %414 unwind label %643

414:                                              ; preds = %407
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %410, ptr noundef nonnull align 4 dereferenceable(4) %413, i32 noundef 0)
          to label %415 unwind label %643

415:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 208, ptr %45) #0
  invoke void @_ZN3JPH23HingeConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(208) %45)
          to label %416 unwind label %647

416:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #0
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0.000000e+00)
          to label %417 unwind label %651

417:                                              ; preds = %416
  %418 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %419 = load double, ptr %418, align 16
  %420 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %421 = load double, ptr %420, align 8
  %422 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %20, double %419, double %421)
          to label %423 unwind label %651

423:                                              ; preds = %417
  %424 = getelementptr inbounds %"class.JPH::Vec3", ptr %46, i32 0, i32 0
  %425 = getelementptr inbounds %union.anon, ptr %424, i32 0, i32 0
  %426 = getelementptr inbounds { double, double }, ptr %425, i32 0, i32 0
  %427 = extractvalue { double, double } %422, 0
  store double %427, ptr %426, align 16
  %428 = getelementptr inbounds { double, double }, ptr %425, i32 0, i32 1
  %429 = extractvalue { double, double } %422, 1
  store double %429, ptr %428, align 8
  %430 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %430, ptr align 16 %46, i64 16, i1 false), !tbaa.struct !12
  %431 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %431, ptr align 16 %430, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #0
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #0
  %432 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %433 unwind label %655

433:                                              ; preds = %423
  %434 = getelementptr inbounds %"class.JPH::Vec3", ptr %48, i32 0, i32 0
  %435 = getelementptr inbounds %union.anon, ptr %434, i32 0, i32 0
  %436 = getelementptr inbounds { double, double }, ptr %435, i32 0, i32 0
  %437 = extractvalue { double, double } %432, 0
  store double %437, ptr %436, align 16
  %438 = getelementptr inbounds { double, double }, ptr %435, i32 0, i32 1
  %439 = extractvalue { double, double } %432, 1
  store double %439, ptr %438, align 8
  %440 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %440, ptr align 16 %48, i64 16, i1 false), !tbaa.struct !12
  %441 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %441, ptr align 16 %440, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #0
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #0
  %442 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %443 unwind label %659

443:                                              ; preds = %433
  %444 = getelementptr inbounds %"class.JPH::Vec3", ptr %49, i32 0, i32 0
  %445 = getelementptr inbounds %union.anon, ptr %444, i32 0, i32 0
  %446 = getelementptr inbounds { double, double }, ptr %445, i32 0, i32 0
  %447 = extractvalue { double, double } %442, 0
  store double %447, ptr %446, align 16
  %448 = getelementptr inbounds { double, double }, ptr %445, i32 0, i32 1
  %449 = extractvalue { double, double } %442, 1
  store double %449, ptr %448, align 8
  %450 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %450, ptr align 16 %49, i64 16, i1 false), !tbaa.struct !12
  %451 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %451, ptr align 16 %450, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #0
  call void @llvm.lifetime.start.p0(i64 28, ptr %50) #0
  invoke void @_ZN3JPH13MotorSettingsC2Eff(ptr noundef nonnull align 4 dereferenceable(28) %50, float noundef 5.000000e-01, float noundef 1.000000e+00)
          to label %452 unwind label %663

452:                                              ; preds = %443
  %453 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %45, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %453, ptr align 4 %50, i64 28, i1 false), !tbaa.struct !74
  call void @llvm.lifetime.end.p0(i64 28, ptr %50) #0
  %454 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 1
  %455 = load ptr, ptr %454, align 8, !tbaa !40
  %456 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 2
  %457 = load ptr, ptr %456, align 16, !tbaa !73
  %458 = invoke noundef ptr @_ZNK3JPH23HingeConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208) %45, ptr noundef nonnull align 16 dereferenceable(122) %455, ptr noundef nonnull align 16 dereferenceable(122) %457)
          to label %459 unwind label %667

459:                                              ; preds = %452
  %460 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 5
  %461 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_15HingeConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %460, ptr noundef %458)
          to label %462 unwind label %667

462:                                              ; preds = %459
  %463 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 5
  %464 = invoke noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %463)
          to label %465 unwind label %667

465:                                              ; preds = %462
  invoke void @_ZN3JPH15HingeConstraint13SetMotorStateENS_11EMotorStateE(ptr noundef nonnull align 16 dereferenceable(832) %464, i32 noundef 2)
          to label %466 unwind label %667

466:                                              ; preds = %465
  %467 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 2
  %468 = load ptr, ptr %467, align 16, !tbaa !72
  %469 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 5
  %470 = invoke noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %469)
          to label %471 unwind label %667

471:                                              ; preds = %466
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %468, ptr noundef %470)
          to label %472 unwind label %667

472:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #0
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %52, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x400A666660000000)
          to label %473 unwind label %671

473:                                              ; preds = %472
  %474 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %475 = load double, ptr %474, align 16
  %476 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %477 = load double, ptr %476, align 8
  %478 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %39, double %475, double %477)
          to label %479 unwind label %671

479:                                              ; preds = %473
  %480 = getelementptr inbounds %"class.JPH::Vec3", ptr %51, i32 0, i32 0
  %481 = getelementptr inbounds %union.anon, ptr %480, i32 0, i32 0
  %482 = getelementptr inbounds { double, double }, ptr %481, i32 0, i32 0
  %483 = extractvalue { double, double } %478, 0
  store double %483, ptr %482, align 16
  %484 = getelementptr inbounds { double, double }, ptr %481, i32 0, i32 1
  %485 = extractvalue { double, double } %478, 1
  store double %485, ptr %484, align 8
  call void @llvm.lifetime.start.p0(i64 256, ptr %53) #0
  %486 = invoke noundef ptr @_ZN3JPH13CylinderShapenwEm(i64 noundef 56)
          to label %487 unwind label %675

487:                                              ; preds = %479
  invoke void @_ZN3JPH13CylinderShapeC1EfffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %486, float noundef 1.500000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %488 unwind label %679

488:                                              ; preds = %487
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 16 %51, i64 16, i1 false), !tbaa.struct !12
  %489 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %490 unwind label %675

490:                                              ; preds = %488
  %491 = getelementptr inbounds %"class.JPH::Vec3", ptr %56, i32 0, i32 0
  %492 = getelementptr inbounds %union.anon, ptr %491, i32 0, i32 0
  %493 = getelementptr inbounds { double, double }, ptr %492, i32 0, i32 0
  %494 = extractvalue { double, double } %489, 0
  store double %494, ptr %493, align 16
  %495 = getelementptr inbounds { double, double }, ptr %492, i32 0, i32 1
  %496 = extractvalue { double, double } %489, 1
  store double %496, ptr %495, align 8
  %497 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %498 = load double, ptr %497, align 16
  %499 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %500 = load double, ptr %499, align 8
  %501 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %498, double %500, float noundef 0x3FF921FB60000000)
          to label %502 unwind label %675

502:                                              ; preds = %490
  %503 = getelementptr inbounds %"class.JPH::Quat", ptr %55, i32 0, i32 0
  %504 = getelementptr inbounds %"class.JPH::Vec4", ptr %503, i32 0, i32 0
  %505 = getelementptr inbounds %union.anon.43, ptr %504, i32 0, i32 0
  %506 = getelementptr inbounds { double, double }, ptr %505, i32 0, i32 0
  %507 = extractvalue { double, double } %501, 0
  store double %507, ptr %506, align 16
  %508 = getelementptr inbounds { double, double }, ptr %505, i32 0, i32 1
  %509 = extractvalue { double, double } %501, 1
  store double %509, ptr %508, align 8
  %510 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %511 = load double, ptr %510, align 16
  %512 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %513 = load double, ptr %512, align 8
  %514 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %515 = load double, ptr %514, align 16
  %516 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %517 = load double, ptr %516, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %53, ptr noundef %486, double %511, double %513, double %515, double %517, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %518 unwind label %675

518:                                              ; preds = %502
  %519 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %53, i32 0, i32 6
  %520 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16) %519, ptr noundef %520)
          to label %521 unwind label %683

521:                                              ; preds = %518
  %522 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %53, i32 0, i32 6
  invoke void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %522, i32 noundef 0)
          to label %523 unwind label %683

523:                                              ; preds = %521
  %524 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %53, i32 0, i32 6
  invoke void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %524, i32 noundef 0)
          to label %525 unwind label %683

525:                                              ; preds = %523
  %526 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %53, i32 0, i32 26
  store i8 1, ptr %526, align 16, !tbaa !14
  %527 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %53, i32 0, i32 28
  %528 = getelementptr inbounds %"class.JPH::MassProperties", ptr %527, i32 0, i32 0
  store float 2.000000e+02, ptr %528, align 16, !tbaa !33
  %529 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 3
  %530 = load ptr, ptr %529, align 8, !tbaa !34
  %531 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %530, ptr noundef nonnull align 16 dereferenceable(256) %53)
          to label %532 unwind label %683

532:                                              ; preds = %525
  %533 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 3
  store ptr %531, ptr %533, align 8, !tbaa !76
  %534 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 3
  %535 = load ptr, ptr %534, align 8, !tbaa !34
  %536 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 3
  %537 = load ptr, ptr %536, align 8, !tbaa !76
  %538 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %537)
          to label %539 unwind label %683

539:                                              ; preds = %532
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %535, ptr noundef nonnull align 4 dereferenceable(4) %538, i32 noundef 0)
          to label %540 unwind label %683

540:                                              ; preds = %539
  call void @llvm.lifetime.start.p0(i64 208, ptr %57) #0
  invoke void @_ZN3JPH23HingeConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(208) %57)
          to label %541 unwind label %687

541:                                              ; preds = %540
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #0
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %59, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.500000e+00)
          to label %542 unwind label %691

542:                                              ; preds = %541
  %543 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 0
  %544 = load double, ptr %543, align 16
  %545 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 1
  %546 = load double, ptr %545, align 8
  %547 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %51, double %544, double %546)
          to label %548 unwind label %691

548:                                              ; preds = %542
  %549 = getelementptr inbounds %"class.JPH::Vec3", ptr %58, i32 0, i32 0
  %550 = getelementptr inbounds %union.anon, ptr %549, i32 0, i32 0
  %551 = getelementptr inbounds { double, double }, ptr %550, i32 0, i32 0
  %552 = extractvalue { double, double } %547, 0
  store double %552, ptr %551, align 16
  %553 = getelementptr inbounds { double, double }, ptr %550, i32 0, i32 1
  %554 = extractvalue { double, double } %547, 1
  store double %554, ptr %553, align 8
  %555 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %555, ptr align 16 %58, i64 16, i1 false), !tbaa.struct !12
  %556 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %556, ptr align 16 %555, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #0
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #0
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #0
  %557 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %558 unwind label %695

558:                                              ; preds = %548
  %559 = getelementptr inbounds %"class.JPH::Vec3", ptr %61, i32 0, i32 0
  %560 = getelementptr inbounds %union.anon, ptr %559, i32 0, i32 0
  %561 = getelementptr inbounds { double, double }, ptr %560, i32 0, i32 0
  %562 = extractvalue { double, double } %557, 0
  store double %562, ptr %561, align 16
  %563 = getelementptr inbounds { double, double }, ptr %560, i32 0, i32 1
  %564 = extractvalue { double, double } %557, 1
  store double %564, ptr %563, align 8
  %565 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %61)
          to label %566 unwind label %695

566:                                              ; preds = %558
  %567 = getelementptr inbounds %"class.JPH::Vec3", ptr %60, i32 0, i32 0
  %568 = getelementptr inbounds %union.anon, ptr %567, i32 0, i32 0
  %569 = getelementptr inbounds { double, double }, ptr %568, i32 0, i32 0
  %570 = extractvalue { double, double } %565, 0
  store double %570, ptr %569, align 16
  %571 = getelementptr inbounds { double, double }, ptr %568, i32 0, i32 1
  %572 = extractvalue { double, double } %565, 1
  store double %572, ptr %571, align 8
  %573 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %573, ptr align 16 %60, i64 16, i1 false), !tbaa.struct !12
  %574 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %574, ptr align 16 %573, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #0
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #0
  %575 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %576 unwind label %699

576:                                              ; preds = %566
  %577 = getelementptr inbounds %"class.JPH::Vec3", ptr %62, i32 0, i32 0
  %578 = getelementptr inbounds %union.anon, ptr %577, i32 0, i32 0
  %579 = getelementptr inbounds { double, double }, ptr %578, i32 0, i32 0
  %580 = extractvalue { double, double } %575, 0
  store double %580, ptr %579, align 16
  %581 = getelementptr inbounds { double, double }, ptr %578, i32 0, i32 1
  %582 = extractvalue { double, double } %575, 1
  store double %582, ptr %581, align 8
  %583 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %583, ptr align 16 %62, i64 16, i1 false), !tbaa.struct !12
  %584 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %584, ptr align 16 %583, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #0
  %585 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef -1.000000e+01)
          to label %586 unwind label %703

586:                                              ; preds = %576
  %587 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 9
  store float %585, ptr %587, align 16, !tbaa !77
  %588 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 4.000000e+01)
          to label %589 unwind label %703

589:                                              ; preds = %586
  %590 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 10
  store float %588, ptr %590, align 4, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 28, ptr %63) #0
  invoke void @_ZN3JPH13MotorSettingsC2Eff(ptr noundef nonnull align 4 dereferenceable(28) %63, float noundef 1.000000e+01, float noundef 1.000000e+00)
          to label %591 unwind label %707

591:                                              ; preds = %589
  %592 = getelementptr inbounds %"class.JPH::HingeConstraintSettings", ptr %57, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %592, ptr align 4 %63, i64 28, i1 false), !tbaa.struct !74
  call void @llvm.lifetime.end.p0(i64 28, ptr %63) #0
  %593 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 2
  %594 = load ptr, ptr %593, align 16, !tbaa !73
  %595 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 3
  %596 = load ptr, ptr %595, align 8, !tbaa !76
  %597 = invoke noundef ptr @_ZNK3JPH23HingeConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208) %57, ptr noundef nonnull align 16 dereferenceable(122) %594, ptr noundef nonnull align 16 dereferenceable(122) %596)
          to label %598 unwind label %703

598:                                              ; preds = %591
  %599 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 6
  %600 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_15HingeConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %599, ptr noundef %597)
          to label %601 unwind label %703

601:                                              ; preds = %598
  %602 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 6
  %603 = invoke noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %602)
          to label %604 unwind label %703

604:                                              ; preds = %601
  invoke void @_ZN3JPH15HingeConstraint13SetMotorStateENS_11EMotorStateE(ptr noundef nonnull align 16 dereferenceable(832) %603, i32 noundef 2)
          to label %605 unwind label %703

605:                                              ; preds = %604
  %606 = getelementptr inbounds %class.Test, ptr %65, i32 0, i32 2
  %607 = load ptr, ptr %606, align 16, !tbaa !72
  %608 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 6
  %609 = invoke noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %608)
          to label %610 unwind label %703

610:                                              ; preds = %605
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %607, ptr noundef %609)
          to label %611 unwind label %703

611:                                              ; preds = %610
  call void @llvm.lifetime.start.p0(i64 16, ptr %64) #0
  %612 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 1
  %613 = load ptr, ptr %612, align 8, !tbaa !40
  %614 = invoke { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122) %613)
          to label %615 unwind label %711

615:                                              ; preds = %611
  %616 = getelementptr inbounds %"class.JPH::Vec3", ptr %64, i32 0, i32 0
  %617 = getelementptr inbounds %union.anon, ptr %616, i32 0, i32 0
  %618 = getelementptr inbounds { double, double }, ptr %617, i32 0, i32 0
  %619 = extractvalue { double, double } %614, 0
  store double %619, ptr %618, align 16
  %620 = getelementptr inbounds { double, double }, ptr %617, i32 0, i32 1
  %621 = extractvalue { double, double } %614, 1
  store double %621, ptr %620, align 8
  %622 = getelementptr inbounds %class.TankTest, ptr %65, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %622, ptr align 16 %64, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #0
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %57) #0
  call void @llvm.lifetime.end.p0(i64 208, ptr %57) #0
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %53) #0
  call void @llvm.lifetime.end.p0(i64 256, ptr %53) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #0
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %45) #0
  call void @llvm.lifetime.end.p0(i64 208, ptr %45) #0
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %41) #0
  call void @llvm.lifetime.end.p0(i64 256, ptr %41) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #0
  call void @_ZN3JPH25VehicleConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(144) %29) #0
  call void @llvm.lifetime.end.p0(i64 144, ptr %29) #0
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #0
  call void @llvm.lifetime.end.p0(i64 256, ptr %26) #0
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #0
  ret void

623:                                              ; preds = %310
  %624 = landingpad { ptr, i32 }
          cleanup
  %625 = extractvalue { ptr, i32 } %624, 0
  store ptr %625, ptr %17, align 8
  %626 = extractvalue { ptr, i32 } %624, 1
  store i32 %626, ptr %18, align 4
  call void @_ZN3JPH10ConstraintdlEPv(ptr noundef %309) #0
  br label %725

627:                                              ; preds = %331, %323, %321
  %628 = landingpad { ptr, i32 }
          cleanup
  %629 = extractvalue { ptr, i32 } %628, 0
  store ptr %629, ptr %17, align 8
  %630 = extractvalue { ptr, i32 } %628, 1
  store i32 %630, ptr %18, align 4
  call void @_ZN3JPH25VehicleCollisionTesterRaydlEPv(ptr noundef %320) #0
  br label %725

631:                                              ; preds = %355, %354
  %632 = landingpad { ptr, i32 }
          cleanup
  %633 = extractvalue { ptr, i32 } %632, 0
  store ptr %633, ptr %17, align 8
  %634 = extractvalue { ptr, i32 } %632, 1
  store i32 %634, ptr %18, align 4
  br label %724

635:                                              ; preds = %377, %375, %361
  %636 = landingpad { ptr, i32 }
          cleanup
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %17, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %18, align 4
  br label %723

639:                                              ; preds = %370, %369
  %640 = landingpad { ptr, i32 }
          cleanup
  %641 = extractvalue { ptr, i32 } %640, 0
  store ptr %641, ptr %17, align 8
  %642 = extractvalue { ptr, i32 } %640, 1
  store i32 %642, ptr %18, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %368) #0
  br label %723

643:                                              ; preds = %414, %407, %400, %398, %396, %393
  %644 = landingpad { ptr, i32 }
          cleanup
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %17, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %18, align 4
  br label %722

647:                                              ; preds = %415
  %648 = landingpad { ptr, i32 }
          cleanup
  %649 = extractvalue { ptr, i32 } %648, 0
  store ptr %649, ptr %17, align 8
  %650 = extractvalue { ptr, i32 } %648, 1
  store i32 %650, ptr %18, align 4
  br label %721

651:                                              ; preds = %417, %416
  %652 = landingpad { ptr, i32 }
          cleanup
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %17, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #0
  br label %720

655:                                              ; preds = %423
  %656 = landingpad { ptr, i32 }
          cleanup
  %657 = extractvalue { ptr, i32 } %656, 0
  store ptr %657, ptr %17, align 8
  %658 = extractvalue { ptr, i32 } %656, 1
  store i32 %658, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #0
  br label %720

659:                                              ; preds = %433
  %660 = landingpad { ptr, i32 }
          cleanup
  %661 = extractvalue { ptr, i32 } %660, 0
  store ptr %661, ptr %17, align 8
  %662 = extractvalue { ptr, i32 } %660, 1
  store i32 %662, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #0
  br label %720

663:                                              ; preds = %443
  %664 = landingpad { ptr, i32 }
          cleanup
  %665 = extractvalue { ptr, i32 } %664, 0
  store ptr %665, ptr %17, align 8
  %666 = extractvalue { ptr, i32 } %664, 1
  store i32 %666, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %50) #0
  br label %720

667:                                              ; preds = %471, %466, %465, %462, %459, %452
  %668 = landingpad { ptr, i32 }
          cleanup
  %669 = extractvalue { ptr, i32 } %668, 0
  store ptr %669, ptr %17, align 8
  %670 = extractvalue { ptr, i32 } %668, 1
  store i32 %670, ptr %18, align 4
  br label %720

671:                                              ; preds = %473, %472
  %672 = landingpad { ptr, i32 }
          cleanup
  %673 = extractvalue { ptr, i32 } %672, 0
  store ptr %673, ptr %17, align 8
  %674 = extractvalue { ptr, i32 } %672, 1
  store i32 %674, ptr %18, align 4
  br label %719

675:                                              ; preds = %502, %490, %488, %479
  %676 = landingpad { ptr, i32 }
          cleanup
  %677 = extractvalue { ptr, i32 } %676, 0
  store ptr %677, ptr %17, align 8
  %678 = extractvalue { ptr, i32 } %676, 1
  store i32 %678, ptr %18, align 4
  br label %718

679:                                              ; preds = %487
  %680 = landingpad { ptr, i32 }
          cleanup
  %681 = extractvalue { ptr, i32 } %680, 0
  store ptr %681, ptr %17, align 8
  %682 = extractvalue { ptr, i32 } %680, 1
  store i32 %682, ptr %18, align 4
  call void @_ZN3JPH13CylinderShapedlEPv(ptr noundef %486) #0
  br label %718

683:                                              ; preds = %539, %532, %525, %523, %521, %518
  %684 = landingpad { ptr, i32 }
          cleanup
  %685 = extractvalue { ptr, i32 } %684, 0
  store ptr %685, ptr %17, align 8
  %686 = extractvalue { ptr, i32 } %684, 1
  store i32 %686, ptr %18, align 4
  br label %717

687:                                              ; preds = %540
  %688 = landingpad { ptr, i32 }
          cleanup
  %689 = extractvalue { ptr, i32 } %688, 0
  store ptr %689, ptr %17, align 8
  %690 = extractvalue { ptr, i32 } %688, 1
  store i32 %690, ptr %18, align 4
  br label %716

691:                                              ; preds = %542, %541
  %692 = landingpad { ptr, i32 }
          cleanup
  %693 = extractvalue { ptr, i32 } %692, 0
  store ptr %693, ptr %17, align 8
  %694 = extractvalue { ptr, i32 } %692, 1
  store i32 %694, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #0
  br label %715

695:                                              ; preds = %558, %548
  %696 = landingpad { ptr, i32 }
          cleanup
  %697 = extractvalue { ptr, i32 } %696, 0
  store ptr %697, ptr %17, align 8
  %698 = extractvalue { ptr, i32 } %696, 1
  store i32 %698, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #0
  br label %715

699:                                              ; preds = %566
  %700 = landingpad { ptr, i32 }
          cleanup
  %701 = extractvalue { ptr, i32 } %700, 0
  store ptr %701, ptr %17, align 8
  %702 = extractvalue { ptr, i32 } %700, 1
  store i32 %702, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #0
  br label %715

703:                                              ; preds = %610, %605, %604, %601, %598, %591, %586, %576
  %704 = landingpad { ptr, i32 }
          cleanup
  %705 = extractvalue { ptr, i32 } %704, 0
  store ptr %705, ptr %17, align 8
  %706 = extractvalue { ptr, i32 } %704, 1
  store i32 %706, ptr %18, align 4
  br label %715

707:                                              ; preds = %589
  %708 = landingpad { ptr, i32 }
          cleanup
  %709 = extractvalue { ptr, i32 } %708, 0
  store ptr %709, ptr %17, align 8
  %710 = extractvalue { ptr, i32 } %708, 1
  store i32 %710, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %63) #0
  br label %715

711:                                              ; preds = %611
  %712 = landingpad { ptr, i32 }
          cleanup
  %713 = extractvalue { ptr, i32 } %712, 0
  store ptr %713, ptr %17, align 8
  %714 = extractvalue { ptr, i32 } %712, 1
  store i32 %714, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #0
  br label %715

715:                                              ; preds = %711, %707, %703, %699, %695, %691
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %57) #0
  br label %716

716:                                              ; preds = %715, %687
  call void @llvm.lifetime.end.p0(i64 208, ptr %57) #0
  br label %717

717:                                              ; preds = %716, %683
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %53) #0
  br label %718

718:                                              ; preds = %717, %679, %675
  call void @llvm.lifetime.end.p0(i64 256, ptr %53) #0
  br label %719

719:                                              ; preds = %718, %671
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #0
  br label %720

720:                                              ; preds = %719, %667, %663, %659, %655, %651
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %45) #0
  br label %721

721:                                              ; preds = %720, %647
  call void @llvm.lifetime.end.p0(i64 208, ptr %45) #0
  br label %722

722:                                              ; preds = %721, %643
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %41) #0
  br label %723

723:                                              ; preds = %722, %639, %635
  call void @llvm.lifetime.end.p0(i64 256, ptr %41) #0
  br label %724

724:                                              ; preds = %723, %631
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #0
  br label %725

725:                                              ; preds = %724, %627, %623, %307, %199, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #0
  br label %726

726:                                              ; preds = %725, %191
  call void @_ZN3JPH25VehicleConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(144) %29) #0
  br label %727

727:                                              ; preds = %726, %187
  call void @llvm.lifetime.end.p0(i64 144, ptr %29) #0
  br label %728

728:                                              ; preds = %727, %183
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #0
  br label %729

729:                                              ; preds = %728, %179
  call void @llvm.lifetime.end.p0(i64 256, ptr %26) #0
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #0
  br label %730

730:                                              ; preds = %729, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #0
  br label %731

731:                                              ; preds = %730, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  br label %732

732:                                              ; preds = %731, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #0
  br label %733

733:                                              ; preds = %732
  %734 = load ptr, ptr %17, align 8
  %735 = load i32, ptr %18, align 4
  %736 = insertvalue { ptr, i32 } poison, ptr %734, 0
  %737 = insertvalue { ptr, i32 } %736, i32 %735, 1
  resume { ptr, i32 } %737
}

declare void @_ZN11VehicleTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(136)) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH16GroupFilterTablenwEm(i64 noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16GroupFilterTableC2Ej(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16GroupFilterTabledlEPv(ptr noundef) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80), double, double, float noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8BoxShapedlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH31OffsetCenterOfMassShapeSettingsC2ENS_4Vec3EPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(96), double, double, ptr noundef) unnamed_addr #3 align 2

declare void @_ZNK3JPH31OffsetCenterOfMassShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8, ptr noundef nonnull align 16 dereferenceable(96)) unnamed_addr #4

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #2 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) #10

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256), ptr noundef, double, double, double, double, i8 noundef zeroext, i16 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

declare noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256)) #4

declare void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #4

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef) #7

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH32TrackedVehicleControllerSettingsnwEm(i64 noundef) #6 align 2

declare void @_ZN3JPH32TrackedVehicleControllerSettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH32TrackedVehicleControllerSettingsdlEPv(ptr noundef) #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144)) #9

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH15WheelSettingsTVnwEm(i64 noundef) #6 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH15WheelSettingsTVdlEPv(ptr noundef) #7 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #8 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH10ConstraintnwEm(i64 noundef) #6 align 2

declare void @_ZN3JPH17VehicleConstraintC1ERNS_4BodyERKNS_25VehicleConstraintSettingsE(ptr noundef nonnull align 16 dereferenceable(408), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(144)) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10ConstraintdlEPv(ptr noundef) #7 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH25VehicleCollisionTesterRaynwEm(i64 noundef) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH25VehicleCollisionTesterRayC2EtNS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(68), i16 noundef zeroext, double, double, float noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH25VehicleCollisionTesterRaydlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) #3 align 2

declare void @_ZN3JPH13PhysicsSystem15AddStepListenerEPNS_19PhysicsStepListenerE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13MotorSettingsC2Eff(ptr noundef nonnull align 4 dereferenceable(28), float noundef, float noundef) unnamed_addr #3 align 2

declare noundef ptr @_ZNK3JPH23HingeConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15HingeConstraint13SetMotorStateENS_11EMotorStateE(ptr noundef nonnull align 16 dereferenceable(832), i32 noundef) #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH13CylinderShapenwEm(i64 noundef) #6 align 2

declare void @_ZN3JPH13CylinderShapeC1EfffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56), float noundef, float noundef, float noundef, ptr noundef) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH13CylinderShapedlEPv(ptr noundef) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double, double, float noundef) #6 align 2

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

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

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

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

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

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

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

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

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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 = { 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 #6 = { 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 #7 = { alwaysinline 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 #8 = { 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 #9 = { 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 #10 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = !{i64 0, i64 16, !13}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !28, i64 144}
!15 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !16, i64 0, !17, i64 16, !16, i64 32, !16, i64 48, !19, i64 64, !20, i64 72, !21, i64 80, !24, i64 96, !25, i64 97, !26, i64 98, !26, i64 99, !26, i64 100, !26, i64 101, !26, i64 102, !27, i64 103, !26, i64 104, !26, i64 105, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !23, i64 136, !23, i64 140, !28, i64 144, !10, i64 148, !29, i64 160, !31, i64 240, !32, i64 248}
!16 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!17 = !{!"_ZTSN3JPH4QuatE", !18, i64 0}
!18 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = !{!"_ZTSN3JPH14CollisionGroupE", !22, i64 0, !23, i64 8, !23, i64 12}
!22 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !6, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!25 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!28 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!29 = !{!"_ZTSN3JPH14MassPropertiesE", !10, i64 0, !30, i64 16}
!30 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!31 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !6, i64 0}
!32 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !6, i64 0}
!33 = !{!15, !10, i64 160}
!34 = !{!35, !6, i64 24}
!35 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !26, i64 48, !36, i64 56}
!36 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !37, i64 0}
!37 = !{!"_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, !19, i64 8, !38, i64 16, !19, i64 24, !39, i64 32, !6, i64 48}
!38 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!39 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !10, i64 0, !19, i64 8}
!40 = !{!41, !6, i64 136}
!41 = !{!"_ZTS8TankTest", !42, i64 0, !6, i64 136, !6, i64 144, !6, i64 152, !44, i64 160, !45, i64 168, !45, i64 176, !10, i64 184, !16, i64 192, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !26, i64 236}
!42 = !{!"_ZTS11VehicleTest", !35, i64 0, !43, i64 112}
!43 = !{!"_ZTSN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEEE", !19, i64 0, !19, i64 8, !6, i64 16}
!44 = !{!"_ZTSN3JPH3RefINS_17VehicleConstraintEEE", !6, i64 0}
!45 = !{!"_ZTSN3JPH3RefINS_15HingeConstraintEEE", !6, i64 0}
!46 = !{!47, !10, i64 28}
!47 = !{!"_ZTSN3JPH18ConstraintSettingsE", !48, i64 0, !49, i64 8, !26, i64 12, !23, i64 16, !23, i64 20, !23, i64 24, !10, i64 28, !19, i64 32}
!48 = !{!"_ZTSN3JPH18SerializableObjectE"}
!49 = !{!"_ZTSN3JPH9RefTargetINS_18ConstraintSettingsEEE", !50, i64 0}
!50 = !{!"_ZTSSt6atomicIjE", !51, i64 0}
!51 = !{!"_ZTSSt13__atomic_baseIjE", !23, i64 0}
!52 = !{!53, !10, i64 80}
!53 = !{!"_ZTSN3JPH25VehicleConstraintSettingsE", !47, i64 0, !16, i64 48, !16, i64 64, !10, i64 80, !54, i64 88, !55, i64 112, !56, i64 136}
!54 = !{!"_ZTSN3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEEE", !19, i64 0, !19, i64 8, !6, i64 16}
!55 = !{!"_ZTSN3JPH5ArrayINS_18VehicleAntiRollBarENS_12STLAllocatorIS1_EEEE", !19, i64 0, !19, i64 8, !6, i64 16}
!56 = !{!"_ZTSN3JPH3RefINS_25VehicleControllerSettingsEEE", !6, i64 0}
!57 = !{!23, !23, i64 0}
!58 = !{!59, !23, i64 0}
!59 = !{!"_ZTSN3JPH20VehicleTrackSettingsE", !23, i64 0, !60, i64 8, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44}
!60 = !{!"_ZTSN3JPH5ArrayIjNS_12STLAllocatorIjEEEE", !19, i64 0, !19, i64 8, !6, i64 16}
!61 = !{!62, !10, i64 136}
!62 = !{!"_ZTSN3JPH13WheelSettingsE", !48, i64 0, !63, i64 8, !16, i64 16, !16, i64 32, !16, i64 48, !16, i64 64, !16, i64 80, !16, i64 96, !10, i64 112, !10, i64 116, !10, i64 120, !64, i64 124, !10, i64 136, !10, i64 140, !26, i64 144}
!63 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !50, i64 0}
!64 = !{!"_ZTSN3JPH14SpringSettingsE", !65, i64 0, !7, i64 4, !10, i64 8}
!65 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!66 = !{!62, !10, i64 140}
!67 = !{!62, !10, i64 112}
!68 = !{!62, !10, i64 116}
!69 = distinct !{!69, !70}
!70 = !{!"llvm.loop.mustprogress"}
!71 = distinct !{!71, !70}
!72 = !{!35, !6, i64 16}
!73 = !{!41, !6, i64 144}
!74 = !{i64 0, i64 1, !75, i64 4, i64 4, !13, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !9}
!75 = !{!65, !65, i64 0}
!76 = !{!41, !6, i64 152}
!77 = !{!78, !10, i64 144}
!78 = !{!"_ZTSN3JPH23HingeConstraintSettingsE", !79, i64 0, !80, i64 40, !16, i64 48, !16, i64 64, !16, i64 80, !16, i64 96, !16, i64 112, !16, i64 128, !10, i64 144, !10, i64 148, !64, i64 152, !10, i64 164, !81, i64 168}
!79 = !{!"_ZTSN3JPH25TwoBodyConstraintSettingsE", !47, i64 0}
!80 = !{!"_ZTSN3JPH16EConstraintSpaceE", !7, i64 0}
!81 = !{!"_ZTSN3JPH13MotorSettingsE", !64, i64 0, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!82 = !{!78, !10, i64 148}


; 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::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::RefConst.33" = type { ptr }
%"class.JPH::Result" = type <{ %union.anon.34, i8, [7 x i8] }>
%union.anon.34 = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.38 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.38 = type { i64, [8 x i8] }
%"class.JPH::OffsetCenterOfMassShapeSettings" = type { %"class.JPH::DecoratedShapeSettings", %"class.JPH::Vec3" }
%"class.JPH::DecoratedShapeSettings" = type { %"class.JPH::ShapeSettings", %"class.JPH::RefConst.40", %"class.JPH::RefConst.33" }
%"class.JPH::ShapeSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.39", i64, %"class.JPH::Result" }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.39" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst.40" = type { ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.40", %"class.JPH::RefConst.33" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.43 }
%union.anon.43 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.44", i32, i32 }
%"class.JPH::RefConst.44" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::VehicleConstraintSettings" = type { %"class.JPH::ConstraintSettings", %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::Array.48", %"class.JPH::Array.24", %"class.JPH::Ref.51" }
%"class.JPH::ConstraintSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.47", i8, i32, i32, i32, float, i64 }
%"class.JPH::RefTarget.47" = type { %"struct.std::atomic" }
%"class.JPH::Array.48" = type { i64, i64, ptr }
%"class.JPH::Array.24" = type { i64, i64, ptr }
%"class.JPH::Ref.51" = type { ptr }
%"class.JPH::Ref.64" = type { ptr }
%"class.JPH::HingeConstraintSettings" = type <{ %"class.JPH::TwoBodyConstraintSettings", i32, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, %"class.JPH::SpringSettings", float, %"class.JPH::MotorSettings", [12 x i8] }>
%"class.JPH::TwoBodyConstraintSettings" = type { %"class.JPH::ConstraintSettings" }
%"class.JPH::SpringSettings" = type { i8, %union.anon.63, float }
%union.anon.63 = type { float }
%"class.JPH::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }

@_ZZN8TankTest10InitializeEvE9wheel_pos = external hidden global [9 x %"class.JPH::Vec3"], align 16
@_ZGVZN8TankTest10InitializeEvE9wheel_pos = external hidden global i64, align 8

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

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

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

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8TankTest10InitializeEv(ptr noundef nonnull align 16 dereferenceable(237) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::Vec3", align 16
  %3 = alloca %"class.JPH::RefConst.33", align 8
  %4 = alloca %"class.JPH::Result", align 8
  %5 = alloca %"class.JPH::OffsetCenterOfMassShapeSettings", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::BodyCreationSettings", align 16
  %9 = alloca %"class.JPH::VehicleConstraintSettings", align 16
  %10 = alloca i32, align 4
  %11 = alloca %"class.JPH::Ref.64", align 8
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::BodyCreationSettings", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::HingeConstraintSettings", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::MotorSettings", align 4
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::BodyCreationSettings", align 16
  %22 = alloca %"class.JPH::HingeConstraintSettings", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::MotorSettings", align 4
  tail call void @_ZN11VehicleTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(136) %0)
  %26 = load atomic i8, ptr @_ZGVZN8TankTest10InitializeEvE9wheel_pos acquire, align 8
  %27 = icmp eq i8 %26, 0
  br i1 %27, label %28, label %40, !prof !5

28:                                               ; preds = %1
  %29 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN8TankTest10InitializeEvE9wheel_pos) #11
  %.not = icmp eq i32 %29, 0
  br i1 %.not, label %40, label %30

30:                                               ; preds = %28
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) @_ZZN8TankTest10InitializeEvE9wheel_pos, float noundef 0.000000e+00, float noundef -0.000000e+00, float noundef 0x40079999A0000000)
          to label %31 unwind label %91

31:                                               ; preds = %30
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 16), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0x4000CCCCC0000000)
          to label %32 unwind label %91

32:                                               ; preds = %31
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 32), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0x3FF6666660000000)
          to label %33 unwind label %91

33:                                               ; preds = %32
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 48), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0x3FE6666660000000)
          to label %34 unwind label %91

34:                                               ; preds = %33
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 64), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0.000000e+00)
          to label %35 unwind label %91

35:                                               ; preds = %34
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 80), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0xBFE6666660000000)
          to label %36 unwind label %91

36:                                               ; preds = %35
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 96), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0xBFF6666660000000)
          to label %37 unwind label %91

37:                                               ; preds = %36
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 112), float noundef 0.000000e+00, float noundef 0xBFD3333340000000, float noundef 0xC000CCCCC0000000)
          to label %38 unwind label %91

38:                                               ; preds = %37
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) getelementptr inbounds (i8, ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 128), float noundef 0.000000e+00, float noundef -0.000000e+00, float noundef -2.750000e+00)
          to label %39 unwind label %91

39:                                               ; preds = %38
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN8TankTest10InitializeEvE9wheel_pos) #11
  br label %40

40:                                               ; preds = %39, %28, %1
  %41 = tail call noundef ptr @_ZN3JPH16GroupFilterTablenwEm(i64 noundef 40)
  invoke void @_ZN3JPH16GroupFilterTableC2Ej(ptr noundef nonnull align 8 dereferenceable(40) %41, i32 noundef 0)
          to label %42 unwind label %93

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #11
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %2, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #11
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef 0.000000e+00, float noundef -5.000000e-01, float noundef 0.000000e+00)
  %43 = call noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 0x3FFB333340000000, float noundef 5.000000e-01, float noundef 0x40099999A0000000)
          to label %44 unwind label %95

44:                                               ; preds = %42
  %45 = load double, ptr %7, align 16
  %46 = getelementptr inbounds i8, ptr %7, i64 8
  %47 = load double, ptr %46, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %43, double %45, double %47, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %48 unwind label %95

48:                                               ; preds = %44
  %49 = load double, ptr %6, align 16
  %50 = getelementptr inbounds i8, ptr %6, i64 8
  %51 = load double, ptr %50, align 8
  call void @_ZN3JPH31OffsetCenterOfMassShapeSettingsC2ENS_4Vec3EPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(96) %5, double %49, double %51, ptr noundef nonnull %43)
  invoke void @_ZNK3JPH31OffsetCenterOfMassShapeSettings6CreateEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Result") align 8 %4, ptr noundef nonnull align 16 dereferenceable(96) %5)
          to label %52 unwind label %97

52:                                               ; preds = %48
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE3GetEv(ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %54 unwind label %99

54:                                               ; preds = %52
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2ERKNS_3RefIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %55 unwind label %99

55:                                               ; preds = %54
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #11
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(96) %5) #11
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %8) #11
  %56 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %.sroa.045.0.copyload = load double, ptr %2, align 16
  %.sroa.246.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.246.0.copyload = load double, ptr %.sroa.246.0..sroa_idx, align 8, !tbaa !6
  %57 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %58 unwind label %103

58:                                               ; preds = %55
  %59 = extractvalue { double, double } %57, 0
  %60 = extractvalue { double, double } %57, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %8, ptr noundef %56, double %.sroa.045.0.copyload, double %.sroa.246.0.copyload, double %59, double %60, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %61 unwind label %103

61:                                               ; preds = %58
  %62 = getelementptr inbounds i8, ptr %8, i64 80
  invoke void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull %41)
          to label %63 unwind label %105

63:                                               ; preds = %61
  call void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %62, i32 noundef 0)
  call void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %62, i32 noundef 0)
  %64 = getelementptr inbounds i8, ptr %8, i64 144
  store i8 1, ptr %64, align 16, !tbaa !9
  %65 = getelementptr inbounds i8, ptr %8, i64 160
  store float 4.000000e+03, ptr %65, align 16, !tbaa !30
  %66 = getelementptr inbounds i8, ptr %0, i64 24
  %67 = load ptr, ptr %66, align 8, !tbaa !31
  %68 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 16 dereferenceable(256) %8)
          to label %69 unwind label %105

69:                                               ; preds = %63
  %70 = getelementptr inbounds i8, ptr %0, i64 136
  store ptr %68, ptr %70, align 8, !tbaa !37
  %71 = load ptr, ptr %66, align 8, !tbaa !31
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %68)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 4 dereferenceable(4) %72, i32 noundef 0)
          to label %73 unwind label %105

73:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #11
  invoke void @_ZN3JPH25VehicleConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(144) %9)
          to label %74 unwind label %107

74:                                               ; preds = %73
  %75 = getelementptr inbounds i8, ptr %9, i64 28
  store float 0x3FB99999A0000000, ptr %75, align 4, !tbaa !43
  %76 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 6.000000e+01)
  %77 = getelementptr inbounds i8, ptr %9, i64 80
  store float %76, ptr %77, align 16, !tbaa !49
  %78 = invoke noundef ptr @_ZN3JPH32TrackedVehicleControllerSettingsnwEm(i64 noundef 240)
          to label %79 unwind label %109

79:                                               ; preds = %74
  invoke void @_ZN3JPH32TrackedVehicleControllerSettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(240) %78)
          to label %80 unwind label %111

80:                                               ; preds = %79
  %81 = getelementptr inbounds i8, ptr %9, i64 136
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_25VehicleControllerSettingsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull %78)
          to label %.preheader unwind label %109

.preheader:                                       ; preds = %80
  %83 = getelementptr inbounds i8, ptr %78, i64 144
  %84 = getelementptr inbounds i8, ptr %9, i64 88
  %85 = call noundef i64 @_ZNK3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84)
  %86 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %87 = add i64 %86, %85
  %88 = trunc i64 %87 to i32
  %89 = add i32 %88, -1
  store i32 %89, ptr %83, align 8, !tbaa !54
  %90 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %.not106 = icmp eq i64 %90, 0
  br i1 %.not106, label %._crit_edge, label %.lr.ph

91:                                               ; preds = %38, %37, %36, %35, %34, %33, %32, %31, %30
  %92 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_guard_abort(ptr nonnull @_ZGVZN8TankTest10InitializeEvE9wheel_pos) #11
  br label %421

93:                                               ; preds = %40
  %94 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN3JPH16GroupFilterTabledlEPv(ptr noundef %41) #11
  br label %421

95:                                               ; preds = %44, %42
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %43) #11
  br label %102

97:                                               ; preds = %48
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %54, %52
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #11
  br label %101

101:                                              ; preds = %99, %97
  %.pn = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(96) %5) #11
  br label %102

102:                                              ; preds = %101, %95
  %.pn.pn = phi { ptr, i32 } [ %.pn, %101 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #11
  br label %420

103:                                              ; preds = %58, %55
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %419

105:                                              ; preds = %69, %63, %61
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %418

107:                                              ; preds = %73
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %417

109:                                              ; preds = %200, %196, %195, %186, %183, %._crit_edge.1, %80, %74
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %416

111:                                              ; preds = %79
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH32TrackedVehicleControllerSettingsdlEPv(ptr noundef %78) #11
  br label %416

.lr.ph:                                           ; preds = %.preheader
  %113 = getelementptr inbounds i8, ptr %78, i64 152
  br label %150

._crit_edge:                                      ; preds = %172, %.preheader
  %114 = getelementptr inbounds i8, ptr %78, i64 192
  %115 = call noundef i64 @_ZNK3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84)
  %116 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %117 = add i64 %116, %115
  %118 = trunc i64 %117 to i32
  %119 = add i32 %118, -1
  store i32 %119, ptr %114, align 8, !tbaa !54
  %120 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %.not106.1 = icmp eq i64 %120, 0
  br i1 %.not106.1, label %._crit_edge.1, label %.lr.ph.1

.lr.ph.1:                                         ; preds = %._crit_edge
  %121 = getelementptr inbounds i8, ptr %78, i64 200
  br label %122

122:                                              ; preds = %144, %.lr.ph.1
  %123 = phi i64 [ 0, %.lr.ph.1 ], [ %146, %144 ]
  %.075104.1 = phi i32 [ 0, %.lr.ph.1 ], [ %145, %144 ]
  %124 = invoke noundef ptr @_ZN3JPH15WheelSettingsTVnwEm(i64 noundef 160)
          to label %125 unwind label %.loopexit.split-lp

125:                                              ; preds = %122
  invoke void @_ZN3JPH15WheelSettingsTVC2Ev(ptr noundef nonnull align 16 dereferenceable(156) %124)
          to label %126 unwind label %.loopexit.split-lp113

126:                                              ; preds = %125
  %127 = getelementptr inbounds [9 x %"class.JPH::Vec3"], ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 0, i64 %123
  %128 = getelementptr inbounds i8, ptr %124, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %128, ptr noundef nonnull align 16 dereferenceable(16) %127, i64 16, i1 false), !tbaa.struct !57
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %128, float noundef 0xBFFB333340000000)
  %129 = getelementptr inbounds i8, ptr %124, i64 136
  store <2 x float> <float 0x3FD3333340000000, float 0x3FB99999A0000000>, ptr %129, align 8, !tbaa !58
  %130 = getelementptr inbounds i8, ptr %124, i64 112
  store float 0x3FD3333340000000, ptr %130, align 16, !tbaa !59
  %131 = icmp eq i32 %.075104.1, 0
  br i1 %131, label %.thread.1, label %132

132:                                              ; preds = %126
  %133 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %134 = add i64 %133, -1
  %135 = icmp eq i64 %134, %123
  br i1 %135, label %.thread.1, label %136

.thread.1:                                        ; preds = %132, %126
  br label %136

136:                                              ; preds = %.thread.1, %132
  %137 = phi float [ 0x3FD3333340000000, %.thread.1 ], [ 5.000000e-01, %132 ]
  %138 = getelementptr inbounds i8, ptr %124, i64 116
  store float %137, ptr %138, align 4, !tbaa !64
  %139 = getelementptr inbounds i8, ptr %124, i64 128
  store float 1.000000e+00, ptr %139, align 4, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #11
  %140 = call noundef i64 @_ZNK3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84)
  %141 = trunc i64 %140 to i32
  store i32 %141, ptr %10, align 4, !tbaa !65
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %121, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %142 unwind label %.loopexit.split-lp119

142:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  invoke void @_ZN3JPH3RefINS_13WheelSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %124)
          to label %143 unwind label %.loopexit.split-lp124

143:                                              ; preds = %142
  invoke void @_ZN3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %144 unwind label %.loopexit.split-lp129

144:                                              ; preds = %143
  call void @_ZN3JPH3RefINS_13WheelSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  %145 = add i32 %.075104.1, 1
  %146 = zext i32 %145 to i64
  %147 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %148 = icmp ugt i64 %147, %146
  br i1 %148, label %122, label %._crit_edge.1, !llvm.loop !66

._crit_edge.1:                                    ; preds = %144, %._crit_edge
  %149 = invoke noundef ptr @_ZN3JPH10ConstraintnwEm(i64 noundef 416)
          to label %181 unwind label %109

150:                                              ; preds = %.lr.ph, %172
  %151 = phi i64 [ 0, %.lr.ph ], [ %174, %172 ]
  %.075104 = phi i32 [ 0, %.lr.ph ], [ %173, %172 ]
  %152 = invoke noundef ptr @_ZN3JPH15WheelSettingsTVnwEm(i64 noundef 160)
          to label %153 unwind label %.loopexit

153:                                              ; preds = %150
  invoke void @_ZN3JPH15WheelSettingsTVC2Ev(ptr noundef nonnull align 16 dereferenceable(156) %152)
          to label %154 unwind label %.loopexit112

154:                                              ; preds = %153
  %155 = getelementptr inbounds [9 x %"class.JPH::Vec3"], ptr @_ZZN8TankTest10InitializeEvE9wheel_pos, i64 0, i64 %151
  %156 = getelementptr inbounds i8, ptr %152, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %156, ptr noundef nonnull align 16 dereferenceable(16) %155, i64 16, i1 false), !tbaa.struct !57
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %156, float noundef 0x3FFB333340000000)
  %157 = getelementptr inbounds i8, ptr %152, i64 136
  store <2 x float> <float 0x3FD3333340000000, float 0x3FB99999A0000000>, ptr %157, align 8, !tbaa !58
  %158 = getelementptr inbounds i8, ptr %152, i64 112
  store float 0x3FD3333340000000, ptr %158, align 16, !tbaa !59
  %159 = icmp eq i32 %.075104, 0
  br i1 %159, label %.thread, label %160

160:                                              ; preds = %154
  %161 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %162 = add i64 %161, -1
  %163 = icmp eq i64 %162, %151
  br i1 %163, label %.thread, label %164

.thread:                                          ; preds = %154, %160
  br label %164

164:                                              ; preds = %160, %.thread
  %165 = phi float [ 0x3FD3333340000000, %.thread ], [ 5.000000e-01, %160 ]
  %166 = getelementptr inbounds i8, ptr %152, i64 116
  store float %165, ptr %166, align 4, !tbaa !64
  %167 = getelementptr inbounds i8, ptr %152, i64 128
  store float 1.000000e+00, ptr %167, align 4, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #11
  %168 = call noundef i64 @_ZNK3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84)
  %169 = trunc i64 %168 to i32
  store i32 %169, ptr %10, align 4, !tbaa !65
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %170 unwind label %.loopexit118

170:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  invoke void @_ZN3JPH3RefINS_13WheelSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %152)
          to label %171 unwind label %.loopexit123

171:                                              ; preds = %170
  invoke void @_ZN3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %172 unwind label %.loopexit128

172:                                              ; preds = %171
  call void @_ZN3JPH3RefINS_13WheelSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  %173 = add i32 %.075104, 1
  %174 = zext i32 %173 to i64
  %175 = call noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144) @_ZZN8TankTest10InitializeEvE9wheel_pos) #11
  %176 = icmp ugt i64 %175, %174
  br i1 %176, label %150, label %._crit_edge, !llvm.loop !66

.loopexit:                                        ; preds = %150
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %416

.loopexit.split-lp:                               ; preds = %122
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %416

.loopexit112:                                     ; preds = %153
  %lpad.loopexit115 = landingpad { ptr, i32 }
          cleanup
  br label %177

.loopexit.split-lp113:                            ; preds = %125
  %lpad.loopexit.split-lp116 = landingpad { ptr, i32 }
          cleanup
  br label %177

177:                                              ; preds = %.loopexit.split-lp113, %.loopexit112
  %.lcssa = phi ptr [ %152, %.loopexit112 ], [ %124, %.loopexit.split-lp113 ]
  %lpad.phi117 = phi { ptr, i32 } [ %lpad.loopexit115, %.loopexit112 ], [ %lpad.loopexit.split-lp116, %.loopexit.split-lp113 ]
  call void @_ZN3JPH15WheelSettingsTVdlEPv(ptr noundef %.lcssa) #11
  br label %416

.loopexit118:                                     ; preds = %164
  %lpad.loopexit120 = landingpad { ptr, i32 }
          cleanup
  br label %178

.loopexit.split-lp119:                            ; preds = %136
  %lpad.loopexit.split-lp121 = landingpad { ptr, i32 }
          cleanup
  br label %178

178:                                              ; preds = %.loopexit.split-lp119, %.loopexit118
  %lpad.phi122 = phi { ptr, i32 } [ %lpad.loopexit120, %.loopexit118 ], [ %lpad.loopexit.split-lp121, %.loopexit.split-lp119 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #11
  br label %416

.loopexit123:                                     ; preds = %170
  %lpad.loopexit125 = landingpad { ptr, i32 }
          cleanup
  br label %180

.loopexit.split-lp124:                            ; preds = %142
  %lpad.loopexit.split-lp126 = landingpad { ptr, i32 }
          cleanup
  br label %180

.loopexit128:                                     ; preds = %171
  %lpad.loopexit130 = landingpad { ptr, i32 }
          cleanup
  br label %179

.loopexit.split-lp129:                            ; preds = %143
  %lpad.loopexit.split-lp131 = landingpad { ptr, i32 }
          cleanup
  br label %179

179:                                              ; preds = %.loopexit.split-lp129, %.loopexit128
  %lpad.phi132 = phi { ptr, i32 } [ %lpad.loopexit130, %.loopexit128 ], [ %lpad.loopexit.split-lp131, %.loopexit.split-lp129 ]
  call void @_ZN3JPH3RefINS_13WheelSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  br label %180

180:                                              ; preds = %.loopexit123, %.loopexit.split-lp124, %179
  %.pn90 = phi { ptr, i32 } [ %lpad.phi132, %179 ], [ %lpad.loopexit125, %.loopexit123 ], [ %lpad.loopexit.split-lp126, %.loopexit.split-lp124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %416

181:                                              ; preds = %._crit_edge.1
  %182 = load ptr, ptr %70, align 8, !tbaa !37
  invoke void @_ZN3JPH17VehicleConstraintC1ERNS_4BodyERKNS_25VehicleConstraintSettingsE(ptr noundef nonnull align 16 dereferenceable(408) %149, ptr noundef nonnull align 16 dereferenceable(122) %182, ptr noundef nonnull align 16 dereferenceable(144) %9)
          to label %183 unwind label %360

183:                                              ; preds = %181
  %184 = getelementptr inbounds i8, ptr %0, i64 160
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_17VehicleConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef nonnull %149)
          to label %186 unwind label %109

186:                                              ; preds = %183
  %187 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %184)
  %188 = invoke noundef ptr @_ZN3JPH25VehicleCollisionTesterRaynwEm(i64 noundef 80)
          to label %189 unwind label %109

189:                                              ; preds = %186
  %190 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %191 unwind label %362

191:                                              ; preds = %189
  %192 = extractvalue { double, double } %190, 0
  %193 = extractvalue { double, double } %190, 1
  %194 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 8.000000e+01)
  invoke void @_ZN3JPH25VehicleCollisionTesterRayC2EtNS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(68) %188, i16 noundef zeroext 1, double %192, double %193, float noundef %194)
          to label %195 unwind label %362

195:                                              ; preds = %191
  invoke void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408) %187, ptr noundef nonnull %188)
          to label %196 unwind label %109

196:                                              ; preds = %195
  %197 = getelementptr inbounds i8, ptr %0, i64 16
  %198 = load ptr, ptr %197, align 16, !tbaa !68
  %199 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %184)
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %198, ptr noundef %199)
          to label %200 unwind label %109

200:                                              ; preds = %196
  %201 = load ptr, ptr %197, align 16, !tbaa !68
  %202 = call noundef ptr @_ZNK3JPH3RefINS_17VehicleConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %184)
  %203 = icmp eq ptr %202, null
  %204 = getelementptr inbounds i8, ptr %202, i64 32
  %205 = select i1 %203, ptr null, ptr %204
  invoke void @_ZN3JPH13PhysicsSystem15AddStepListenerEPNS_19PhysicsStepListenerE(ptr noundef nonnull align 16 dereferenceable(1172) %201, ptr noundef %205)
          to label %206 unwind label %109

206:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 0.000000e+00, float noundef 0x3FECCCCCC0000000, float noundef 0.000000e+00)
          to label %207 unwind label %364

207:                                              ; preds = %206
  %208 = load double, ptr %13, align 16
  %209 = getelementptr inbounds i8, ptr %13, i64 8
  %210 = load double, ptr %209, align 8
  %211 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %208, double %210)
          to label %212 unwind label %364

212:                                              ; preds = %207
  %213 = extractvalue { double, double } %211, 0
  store double %213, ptr %12, align 16
  %214 = getelementptr inbounds i8, ptr %12, i64 8
  %215 = extractvalue { double, double } %211, 1
  store double %215, ptr %214, align 8
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %14) #11
  %216 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %217 unwind label %366

217:                                              ; preds = %212
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef 0x3FF6666660000000, float noundef 0x3FD99999A0000000, float noundef 2.000000e+00)
          to label %218 unwind label %368

218:                                              ; preds = %217
  %219 = load double, ptr %15, align 16
  %220 = getelementptr inbounds i8, ptr %15, i64 8
  %221 = load double, ptr %220, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %216, double %219, double %221, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %222 unwind label %368

222:                                              ; preds = %218
  %.sroa.020.0.copyload = load double, ptr %12, align 16
  %.sroa.221.0.copyload = load double, ptr %214, align 8, !tbaa !6
  %223 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %224 unwind label %366

224:                                              ; preds = %222
  %225 = extractvalue { double, double } %223, 0
  %226 = extractvalue { double, double } %223, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %14, ptr noundef nonnull %216, double %.sroa.020.0.copyload, double %.sroa.221.0.copyload, double %225, double %226, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %227 unwind label %366

227:                                              ; preds = %224
  %228 = getelementptr inbounds i8, ptr %14, i64 80
  invoke void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16) %228, ptr noundef nonnull %41)
          to label %229 unwind label %370

229:                                              ; preds = %227
  call void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %228, i32 noundef 0)
  call void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %228, i32 noundef 0)
  %230 = getelementptr inbounds i8, ptr %14, i64 144
  store i8 1, ptr %230, align 16, !tbaa !9
  %231 = getelementptr inbounds i8, ptr %14, i64 160
  store float 2.000000e+03, ptr %231, align 16, !tbaa !30
  %232 = load ptr, ptr %66, align 8, !tbaa !31
  %233 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %232, ptr noundef nonnull align 16 dereferenceable(256) %14)
          to label %234 unwind label %370

234:                                              ; preds = %229
  %235 = getelementptr inbounds i8, ptr %0, i64 144
  store ptr %233, ptr %235, align 16, !tbaa !69
  %236 = load ptr, ptr %66, align 8, !tbaa !31
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %233)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %236, ptr noundef nonnull align 4 dereferenceable(4) %237, i32 noundef 0)
          to label %238 unwind label %370

238:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %16) #11
  invoke void @_ZN3JPH23HingeConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(208) %16)
          to label %239 unwind label %372

239:                                              ; preds = %238
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0.000000e+00)
          to label %240 unwind label %374

240:                                              ; preds = %239
  %241 = load double, ptr %17, align 16
  %242 = getelementptr inbounds i8, ptr %17, i64 8
  %243 = load double, ptr %242, align 8
  %244 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %241, double %243)
          to label %245 unwind label %374

245:                                              ; preds = %240
  %246 = extractvalue { double, double } %244, 0
  %247 = extractvalue { double, double } %244, 1
  %248 = getelementptr inbounds i8, ptr %16, i64 96
  store double %246, ptr %248, align 16
  %.sroa.517.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 104
  store double %247, ptr %.sroa.517.0..sroa_idx, align 8, !tbaa !6
  %249 = getelementptr inbounds i8, ptr %16, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %249, ptr noundef nonnull align 16 dereferenceable(16) %248, i64 16, i1 false), !tbaa.struct !57
  %250 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %251 unwind label %376

251:                                              ; preds = %245
  %252 = extractvalue { double, double } %250, 0
  %253 = extractvalue { double, double } %250, 1
  %254 = getelementptr inbounds i8, ptr %16, i64 112
  store double %252, ptr %254, align 16
  %.sroa.515.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 120
  store double %253, ptr %.sroa.515.0..sroa_idx, align 8, !tbaa !6
  %255 = getelementptr inbounds i8, ptr %16, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %255, ptr noundef nonnull align 16 dereferenceable(16) %254, i64 16, i1 false), !tbaa.struct !57
  %256 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %257 unwind label %378

257:                                              ; preds = %251
  %258 = extractvalue { double, double } %256, 0
  %259 = extractvalue { double, double } %256, 1
  %260 = getelementptr inbounds i8, ptr %16, i64 128
  store double %258, ptr %260, align 16
  %.sroa.513.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 136
  store double %259, ptr %.sroa.513.0..sroa_idx, align 8, !tbaa !6
  %261 = getelementptr inbounds i8, ptr %16, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %261, ptr noundef nonnull align 16 dereferenceable(16) %260, i64 16, i1 false), !tbaa.struct !57
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %18) #11
  invoke void @_ZN3JPH13MotorSettingsC2Eff(ptr noundef nonnull align 4 dereferenceable(28) %18, float noundef 5.000000e-01, float noundef 1.000000e+00)
          to label %262 unwind label %380

262:                                              ; preds = %257
  %263 = getelementptr inbounds i8, ptr %16, i64 168
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %263, ptr noundef nonnull align 4 dereferenceable(28) %18, i64 28, i1 false), !tbaa.struct !70
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %18) #11
  %264 = load ptr, ptr %70, align 8, !tbaa !37
  %265 = load ptr, ptr %235, align 16, !tbaa !69
  %266 = invoke noundef ptr @_ZNK3JPH23HingeConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208) %16, ptr noundef nonnull align 16 dereferenceable(122) %264, ptr noundef nonnull align 16 dereferenceable(122) %265)
          to label %267 unwind label %382

267:                                              ; preds = %262
  %268 = getelementptr inbounds i8, ptr %0, i64 168
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_15HingeConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef %266)
          to label %270 unwind label %382

270:                                              ; preds = %267
  %271 = call noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %268)
  invoke void @_ZN3JPH15HingeConstraint13SetMotorStateENS_11EMotorStateE(ptr noundef nonnull align 16 dereferenceable(832) %271, i32 noundef 2)
          to label %272 unwind label %382

272:                                              ; preds = %270
  %273 = load ptr, ptr %197, align 16, !tbaa !68
  %274 = call noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %268)
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %273, ptr noundef %274)
          to label %275 unwind label %382

275:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x400A666660000000)
          to label %276 unwind label %384

276:                                              ; preds = %275
  %277 = load double, ptr %20, align 16
  %278 = getelementptr inbounds i8, ptr %20, i64 8
  %279 = load double, ptr %278, align 8
  %280 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %12, double %277, double %279)
          to label %281 unwind label %384

281:                                              ; preds = %276
  %282 = extractvalue { double, double } %280, 0
  store double %282, ptr %19, align 16
  %283 = getelementptr inbounds i8, ptr %19, i64 8
  %284 = extractvalue { double, double } %280, 1
  store double %284, ptr %283, align 8
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %21) #11
  %285 = invoke noundef ptr @_ZN3JPH13CylinderShapenwEm(i64 noundef 56)
          to label %286 unwind label %386

286:                                              ; preds = %281
  invoke void @_ZN3JPH13CylinderShapeC1EfffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %285, float noundef 1.500000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %287 unwind label %388

287:                                              ; preds = %286
  %.sroa.010.0.copyload = load double, ptr %19, align 16
  %.sroa.211.0.copyload = load double, ptr %283, align 8, !tbaa !6
  %288 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %289 unwind label %386

289:                                              ; preds = %287
  %290 = extractvalue { double, double } %288, 0
  %291 = extractvalue { double, double } %288, 1
  %292 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %290, double %291, float noundef 0x3FF921FB60000000)
          to label %293 unwind label %386

293:                                              ; preds = %289
  %294 = extractvalue { double, double } %292, 0
  %295 = extractvalue { double, double } %292, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %21, ptr noundef nonnull %285, double %.sroa.010.0.copyload, double %.sroa.211.0.copyload, double %294, double %295, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %296 unwind label %386

296:                                              ; preds = %293
  %297 = getelementptr inbounds i8, ptr %21, i64 80
  invoke void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16) %297, ptr noundef nonnull %41)
          to label %298 unwind label %390

298:                                              ; preds = %296
  call void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %297, i32 noundef 0)
  call void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16) %297, i32 noundef 0)
  %299 = getelementptr inbounds i8, ptr %21, i64 144
  store i8 1, ptr %299, align 16, !tbaa !9
  %300 = getelementptr inbounds i8, ptr %21, i64 160
  store float 2.000000e+02, ptr %300, align 16, !tbaa !30
  %301 = load ptr, ptr %66, align 8, !tbaa !31
  %302 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %301, ptr noundef nonnull align 16 dereferenceable(256) %21)
          to label %303 unwind label %390

303:                                              ; preds = %298
  %304 = getelementptr inbounds i8, ptr %0, i64 152
  store ptr %302, ptr %304, align 8, !tbaa !72
  %305 = load ptr, ptr %66, align 8, !tbaa !31
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %302)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %305, ptr noundef nonnull align 4 dereferenceable(4) %306, i32 noundef 0)
          to label %307 unwind label %390

307:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %22) #11
  invoke void @_ZN3JPH23HingeConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(208) %22)
          to label %308 unwind label %392

308:                                              ; preds = %307
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.500000e+00)
          to label %309 unwind label %394

309:                                              ; preds = %308
  %310 = load double, ptr %23, align 16
  %311 = getelementptr inbounds i8, ptr %23, i64 8
  %312 = load double, ptr %311, align 8
  %313 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %19, double %310, double %312)
          to label %314 unwind label %394

314:                                              ; preds = %309
  %315 = extractvalue { double, double } %313, 0
  %316 = extractvalue { double, double } %313, 1
  %317 = getelementptr inbounds i8, ptr %22, i64 96
  store double %315, ptr %317, align 16
  %.sroa.56.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 104
  store double %316, ptr %.sroa.56.0..sroa_idx, align 8, !tbaa !6
  %318 = getelementptr inbounds i8, ptr %22, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %318, ptr noundef nonnull align 16 dereferenceable(16) %317, i64 16, i1 false), !tbaa.struct !57
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #11
  %319 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %320 unwind label %396

320:                                              ; preds = %314
  %321 = extractvalue { double, double } %319, 0
  store double %321, ptr %24, align 16
  %322 = getelementptr inbounds i8, ptr %24, i64 8
  %323 = extractvalue { double, double } %319, 1
  store double %323, ptr %322, align 8
  %324 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %24)
          to label %325 unwind label %396

325:                                              ; preds = %320
  %326 = extractvalue { double, double } %324, 0
  %327 = extractvalue { double, double } %324, 1
  %328 = getelementptr inbounds i8, ptr %22, i64 112
  store double %326, ptr %328, align 16
  %.sroa.54.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 120
  store double %327, ptr %.sroa.54.0..sroa_idx, align 8, !tbaa !6
  %329 = getelementptr inbounds i8, ptr %22, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %329, ptr noundef nonnull align 16 dereferenceable(16) %328, i64 16, i1 false), !tbaa.struct !57
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #11
  %330 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %331 unwind label %398

331:                                              ; preds = %325
  %332 = extractvalue { double, double } %330, 0
  %333 = extractvalue { double, double } %330, 1
  %334 = getelementptr inbounds i8, ptr %22, i64 128
  store double %332, ptr %334, align 16
  %.sroa.52.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 136
  store double %333, ptr %.sroa.52.0..sroa_idx, align 8, !tbaa !6
  %335 = getelementptr inbounds i8, ptr %22, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %335, ptr noundef nonnull align 16 dereferenceable(16) %334, i64 16, i1 false), !tbaa.struct !57
  %336 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef -1.000000e+01)
  %337 = getelementptr inbounds i8, ptr %22, i64 144
  store float %336, ptr %337, align 16, !tbaa !73
  %338 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 4.000000e+01)
  %339 = getelementptr inbounds i8, ptr %22, i64 148
  store float %338, ptr %339, align 4, !tbaa !78
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %25) #11
  invoke void @_ZN3JPH13MotorSettingsC2Eff(ptr noundef nonnull align 4 dereferenceable(28) %25, float noundef 1.000000e+01, float noundef 1.000000e+00)
          to label %340 unwind label %402

340:                                              ; preds = %331
  %341 = getelementptr inbounds i8, ptr %22, i64 168
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %341, ptr noundef nonnull align 4 dereferenceable(28) %25, i64 28, i1 false), !tbaa.struct !70
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %25) #11
  %342 = load ptr, ptr %235, align 16, !tbaa !69
  %343 = load ptr, ptr %304, align 8, !tbaa !72
  %344 = invoke noundef ptr @_ZNK3JPH23HingeConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208) %22, ptr noundef nonnull align 16 dereferenceable(122) %342, ptr noundef nonnull align 16 dereferenceable(122) %343)
          to label %345 unwind label %400

345:                                              ; preds = %340
  %346 = getelementptr inbounds i8, ptr %0, i64 176
  %347 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_15HingeConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %346, ptr noundef %344)
          to label %348 unwind label %400

348:                                              ; preds = %345
  %349 = call noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %346)
  invoke void @_ZN3JPH15HingeConstraint13SetMotorStateENS_11EMotorStateE(ptr noundef nonnull align 16 dereferenceable(832) %349, i32 noundef 2)
          to label %350 unwind label %400

350:                                              ; preds = %348
  %351 = load ptr, ptr %197, align 16, !tbaa !68
  %352 = call noundef ptr @_ZNK3JPH3RefINS_15HingeConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %346)
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %351, ptr noundef %352)
          to label %353 unwind label %400

353:                                              ; preds = %350
  %354 = load ptr, ptr %70, align 8, !tbaa !37
  %355 = invoke { double, double } @_ZNK3JPH4Body11GetPositionEv(ptr noundef nonnull align 16 dereferenceable(122) %354)
          to label %356 unwind label %404

356:                                              ; preds = %353
  %357 = extractvalue { double, double } %355, 0
  %358 = extractvalue { double, double } %355, 1
  %359 = getelementptr inbounds i8, ptr %0, i64 192
  store double %357, ptr %359, align 16
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 200
  store double %358, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !6
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %22) #11
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %22) #11
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %21) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #11
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %16) #11
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %16) #11
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @_ZN3JPH25VehicleConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(144) %9) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #11
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %8) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %8) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #11
  ret void

360:                                              ; preds = %181
  %361 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH10ConstraintdlEPv(ptr noundef %149) #11
  br label %416

362:                                              ; preds = %191, %189
  %363 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH25VehicleCollisionTesterRaydlEPv(ptr noundef %188) #11
  br label %416

364:                                              ; preds = %207, %206
  %365 = landingpad { ptr, i32 }
          cleanup
  br label %415

366:                                              ; preds = %224, %222, %212
  %367 = landingpad { ptr, i32 }
          cleanup
  br label %414

368:                                              ; preds = %218, %217
  %369 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %216) #11
  br label %414

370:                                              ; preds = %234, %229, %227
  %371 = landingpad { ptr, i32 }
          cleanup
  br label %413

372:                                              ; preds = %238
  %373 = landingpad { ptr, i32 }
          cleanup
  br label %412

374:                                              ; preds = %240, %239
  %375 = landingpad { ptr, i32 }
          cleanup
  br label %411

376:                                              ; preds = %245
  %377 = landingpad { ptr, i32 }
          cleanup
  br label %411

378:                                              ; preds = %251
  %379 = landingpad { ptr, i32 }
          cleanup
  br label %411

380:                                              ; preds = %257
  %381 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %18) #11
  br label %411

382:                                              ; preds = %272, %270, %267, %262
  %383 = landingpad { ptr, i32 }
          cleanup
  br label %411

384:                                              ; preds = %276, %275
  %385 = landingpad { ptr, i32 }
          cleanup
  br label %410

386:                                              ; preds = %293, %289, %287, %281
  %387 = landingpad { ptr, i32 }
          cleanup
  br label %409

388:                                              ; preds = %286
  %389 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13CylinderShapedlEPv(ptr noundef %285) #11
  br label %409

390:                                              ; preds = %303, %298, %296
  %391 = landingpad { ptr, i32 }
          cleanup
  br label %408

392:                                              ; preds = %307
  %393 = landingpad { ptr, i32 }
          cleanup
  br label %407

394:                                              ; preds = %309, %308
  %395 = landingpad { ptr, i32 }
          cleanup
  br label %406

396:                                              ; preds = %320, %314
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #11
  br label %406

398:                                              ; preds = %325
  %399 = landingpad { ptr, i32 }
          cleanup
  br label %406

400:                                              ; preds = %350, %348, %345, %340
  %401 = landingpad { ptr, i32 }
          cleanup
  br label %406

402:                                              ; preds = %331
  %403 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %25) #11
  br label %406

404:                                              ; preds = %353
  %405 = landingpad { ptr, i32 }
          cleanup
  br label %406

406:                                              ; preds = %404, %402, %400, %398, %396, %394
  %.pn79 = phi { ptr, i32 } [ %405, %404 ], [ %401, %400 ], [ %403, %402 ], [ %399, %398 ], [ %397, %396 ], [ %395, %394 ]
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %22) #11
  br label %407

407:                                              ; preds = %406, %392
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %406 ], [ %393, %392 ]
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %22) #11
  br label %408

408:                                              ; preds = %407, %390
  %.pn79.pn.pn = phi { ptr, i32 } [ %.pn79.pn, %407 ], [ %391, %390 ]
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %21) #11
  br label %409

409:                                              ; preds = %408, %388, %386
  %.pn79.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn, %408 ], [ %387, %386 ], [ %389, %388 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #11
  br label %410

410:                                              ; preds = %409, %384
  %.pn79.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn, %409 ], [ %385, %384 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #11
  br label %411

411:                                              ; preds = %410, %382, %380, %378, %376, %374
  %.pn79.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn.pn, %410 ], [ %383, %382 ], [ %381, %380 ], [ %379, %378 ], [ %377, %376 ], [ %375, %374 ]
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(208) %16) #11
  br label %412

412:                                              ; preds = %411, %372
  %.pn79.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn.pn.pn, %411 ], [ %373, %372 ]
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %16) #11
  br label %413

413:                                              ; preds = %412, %370
  %.pn79.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn.pn.pn.pn, %412 ], [ %371, %370 ]
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #11
  br label %414

414:                                              ; preds = %413, %368, %366
  %.pn79.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn.pn.pn.pn.pn, %413 ], [ %367, %366 ], [ %369, %368 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #11
  br label %415

415:                                              ; preds = %414, %364
  %.pn79.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn.pn.pn.pn.pn.pn, %414 ], [ %365, %364 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  br label %416

416:                                              ; preds = %.loopexit, %.loopexit.split-lp, %177, %178, %180, %415, %362, %360, %111, %109
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn.pn.pn.pn.pn.pn.pn, %415 ], [ %110, %109 ], [ %363, %362 ], [ %361, %360 ], [ %112, %111 ], [ %.pn90, %180 ], [ %lpad.phi122, %178 ], [ %lpad.phi117, %177 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN3JPH25VehicleConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(144) %9) #11
  br label %417

417:                                              ; preds = %416, %107
  %.pn90.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn, %416 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #11
  br label %418

418:                                              ; preds = %417, %105
  %.pn90.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn, %417 ], [ %106, %105 ]
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %8) #11
  br label %419

419:                                              ; preds = %418, %103
  %.pn90.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn, %418 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %8) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #11
  br label %420

420:                                              ; preds = %419, %102
  %.pn90.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn, %419 ], [ %.pn.pn, %102 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #11
  br label %421

421:                                              ; preds = %93, %420, %91
  %.pn90.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %92, %91 ], [ %.pn90.pn.pn.pn.pn.pn.pn, %420 ], [ %94, %93 ]
  resume { ptr, i32 } %.pn90.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN11VehicleTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(136)) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH16GroupFilterTablenwEm(i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16GroupFilterTableC2Ej(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16GroupFilterTabledlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80), double, double, float noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8BoxShapedlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH31OffsetCenterOfMassShapeSettingsC2ENS_4Vec3EPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(96), double, double, ptr noundef) unnamed_addr #3 align 2

declare void @_ZNK3JPH31OffsetCenterOfMassShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8, ptr noundef nonnull align 16 dereferenceable(96)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE3GetEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256), ptr noundef, double, double, double, double, i8 noundef zeroext, i16 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH14CollisionGroup14SetGroupFilterEPKNS_11GroupFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH14CollisionGroup10SetGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH14CollisionGroup13SetSubGroupIDEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

declare noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256)) local_unnamed_addr #4

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH25VehicleConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(144)) unnamed_addr #8 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef) local_unnamed_addr #7

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH32TrackedVehicleControllerSettingsnwEm(i64 noundef) local_unnamed_addr #6 align 2

declare void @_ZN3JPH32TrackedVehicleControllerSettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH32TrackedVehicleControllerSettingsdlEPv(ptr noundef) local_unnamed_addr #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt4sizeIN3JPH4Vec3ELm9EEmRAT0__KT_(ptr noundef nonnull align 16 dereferenceable(144)) local_unnamed_addr #9

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH15WheelSettingsTVnwEm(i64 noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH15WheelSettingsTVdlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #8 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH10ConstraintnwEm(i64 noundef) local_unnamed_addr #6 align 2

declare void @_ZN3JPH17VehicleConstraintC1ERNS_4BodyERKNS_25VehicleConstraintSettingsE(ptr noundef nonnull align 16 dereferenceable(408), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(144)) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10ConstraintdlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_17VehicleConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #8 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 uwtable
declare dso_local void @_ZN3JPH17VehicleConstraint25SetVehicleCollisionTesterEPKNS_22VehicleCollisionTesterE(ptr noundef nonnull align 16 dereferenceable(408), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH25VehicleCollisionTesterRaynwEm(i64 noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH25VehicleCollisionTesterRayC2EtNS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(68), i16 noundef zeroext, double, double, float noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH25VehicleCollisionTesterRaydlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) local_unnamed_addr #3 align 2

declare void @_ZN3JPH13PhysicsSystem15AddStepListenerEPNS_19PhysicsStepListenerE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13MotorSettingsC2Eff(ptr noundef nonnull align 4 dereferenceable(28), float noundef, float noundef) unnamed_addr #3 align 2

declare noundef ptr @_ZNK3JPH23HingeConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15HingeConstraint13SetMotorStateENS_11EMotorStateE(ptr noundef nonnull align 16 dereferenceable(832), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH13CylinderShapenwEm(i64 noundef) local_unnamed_addr #6 align 2

declare void @_ZN3JPH13CylinderShapeC1EfffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56), float noundef, float noundef, float noundef, ptr noundef) unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH13CylinderShapedlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double, double, float noundef) local_unnamed_addr #6 align 2

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

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

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

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

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

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

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

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

attributes #0 = { nofree nounwind }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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 = { 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 #6 = { 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 #7 = { alwaysinline 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 #8 = { 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 #9 = { 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 #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #11 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !25, i64 144}
!10 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !11, i64 0, !12, i64 16, !11, i64 32, !11, i64 48, !14, i64 64, !15, i64 72, !16, i64 80, !20, i64 96, !21, i64 97, !22, i64 98, !22, i64 99, !22, i64 100, !22, i64 101, !22, i64 102, !23, i64 103, !22, i64 104, !22, i64 105, !24, i64 108, !24, i64 112, !24, i64 116, !24, i64 120, !24, i64 124, !24, i64 128, !24, i64 132, !19, i64 136, !19, i64 140, !25, i64 144, !24, i64 148, !26, i64 160, !28, i64 240, !29, i64 248}
!11 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!12 = !{!"_ZTSN3JPH4QuatE", !13, i64 0}
!13 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN3JPH14CollisionGroupE", !17, i64 0, !19, i64 8, !19, i64 12}
!17 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!21 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!24 = !{!"float", !7, i64 0}
!25 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!26 = !{!"_ZTSN3JPH14MassPropertiesE", !24, i64 0, !27, i64 16}
!27 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!28 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !18, i64 0}
!29 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !18, i64 0}
!30 = !{!10, !24, i64 160}
!31 = !{!32, !18, i64 24}
!32 = !{!"_ZTS4Test", !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !22, i64 48, !33, i64 56}
!33 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !34, i64 0}
!34 = !{!"_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", !18, i64 0, !14, i64 8, !35, i64 16, !14, i64 24, !36, i64 32, !18, i64 48}
!35 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !18, i64 0}
!36 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !14, i64 8}
!37 = !{!38, !18, i64 136}
!38 = !{!"_ZTS8TankTest", !39, i64 0, !18, i64 136, !18, i64 144, !18, i64 152, !41, i64 160, !42, i64 168, !42, i64 176, !24, i64 184, !11, i64 192, !24, i64 208, !24, i64 212, !24, i64 216, !24, i64 220, !24, i64 224, !24, i64 228, !24, i64 232, !22, i64 236}
!39 = !{!"_ZTS11VehicleTest", !32, i64 0, !40, i64 112}
!40 = !{!"_ZTSN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEEE", !14, i64 0, !14, i64 8, !18, i64 16}
!41 = !{!"_ZTSN3JPH3RefINS_17VehicleConstraintEEE", !18, i64 0}
!42 = !{!"_ZTSN3JPH3RefINS_15HingeConstraintEEE", !18, i64 0}
!43 = !{!44, !24, i64 28}
!44 = !{!"_ZTSN3JPH18ConstraintSettingsE", !45, i64 0, !46, i64 8, !22, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !24, i64 28, !14, i64 32}
!45 = !{!"_ZTSN3JPH18SerializableObjectE"}
!46 = !{!"_ZTSN3JPH9RefTargetINS_18ConstraintSettingsEEE", !47, i64 0}
!47 = !{!"_ZTSSt6atomicIjE", !48, i64 0}
!48 = !{!"_ZTSSt13__atomic_baseIjE", !19, i64 0}
!49 = !{!50, !24, i64 80}
!50 = !{!"_ZTSN3JPH25VehicleConstraintSettingsE", !44, i64 0, !11, i64 48, !11, i64 64, !24, i64 80, !51, i64 88, !52, i64 112, !53, i64 136}
!51 = !{!"_ZTSN3JPH5ArrayINS_3RefINS_13WheelSettingsEEENS_12STLAllocatorIS3_EEEE", !14, i64 0, !14, i64 8, !18, i64 16}
!52 = !{!"_ZTSN3JPH5ArrayINS_18VehicleAntiRollBarENS_12STLAllocatorIS1_EEEE", !14, i64 0, !14, i64 8, !18, i64 16}
!53 = !{!"_ZTSN3JPH3RefINS_25VehicleControllerSettingsEEE", !18, i64 0}
!54 = !{!55, !19, i64 0}
!55 = !{!"_ZTSN3JPH20VehicleTrackSettingsE", !19, i64 0, !56, i64 8, !24, i64 32, !24, i64 36, !24, i64 40, !24, i64 44}
!56 = !{!"_ZTSN3JPH5ArrayIjNS_12STLAllocatorIjEEEE", !14, i64 0, !14, i64 8, !18, i64 16}
!57 = !{i64 0, i64 16, !6}
!58 = !{!24, !24, i64 0}
!59 = !{!60, !24, i64 112}
!60 = !{!"_ZTSN3JPH13WheelSettingsE", !45, i64 0, !61, i64 8, !11, i64 16, !11, i64 32, !11, i64 48, !11, i64 64, !11, i64 80, !11, i64 96, !24, i64 112, !24, i64 116, !24, i64 120, !62, i64 124, !24, i64 136, !24, i64 140, !22, i64 144}
!61 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !47, i64 0}
!62 = !{!"_ZTSN3JPH14SpringSettingsE", !63, i64 0, !7, i64 4, !24, i64 8}
!63 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!64 = !{!60, !24, i64 116}
!65 = !{!19, !19, i64 0}
!66 = distinct !{!66, !67}
!67 = !{!"llvm.loop.mustprogress"}
!68 = !{!32, !18, i64 16}
!69 = !{!38, !18, i64 144}
!70 = !{i64 0, i64 1, !71, i64 4, i64 4, !6, i64 8, i64 4, !58, i64 12, i64 4, !58, i64 16, i64 4, !58, i64 20, i64 4, !58, i64 24, i64 4, !58}
!71 = !{!63, !63, i64 0}
!72 = !{!38, !18, i64 152}
!73 = !{!74, !24, i64 144}
!74 = !{!"_ZTSN3JPH23HingeConstraintSettingsE", !75, i64 0, !76, i64 40, !11, i64 48, !11, i64 64, !11, i64 80, !11, i64 96, !11, i64 112, !11, i64 128, !24, i64 144, !24, i64 148, !62, i64 152, !24, i64 164, !77, i64 168}
!75 = !{!"_ZTSN3JPH25TwoBodyConstraintSettingsE", !44, i64 0}
!76 = !{!"_ZTSN3JPH16EConstraintSpaceE", !7, i64 0}
!77 = !{!"_ZTSN3JPH13MotorSettingsE", !62, i64 0, !24, i64 12, !24, i64 16, !24, i64 20, !24, i64 24}
!78 = !{!74, !24, i64 148}


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