; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Character/CharacterPlanetTest.ll (ZN19CharacterPlanetTest10InitializeEv)

; 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::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.5", %"class.JPH::RefConst.6" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst", i32, i32 }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::RefConst.6" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.JPH::Ref.21" = type { ptr }
%"class.JPH::Result" = type <{ %union.anon.23, i8, [7 x i8] }>
%union.anon.23 = 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.27 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.27 = type { i64, [8 x i8] }
%"class.JPH::RotatedTranslatedShapeSettings" = type { %"class.JPH::DecoratedShapeSettings", %"class.JPH::Vec3", %"class.JPH::Quat" }
%"class.JPH::DecoratedShapeSettings" = type { %"class.JPH::ShapeSettings", %"class.JPH::RefConst.5", %"class.JPH::RefConst.6" }
%"class.JPH::ShapeSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.28", i64, %"class.JPH::Result" }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.28" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.JPH::CharacterBaseSettings" = type { ptr, %"class.JPH::RefTarget.22", %"class.JPH::Vec3", %"class.JPH::Plane", float, i8, %"class.JPH::RefConst.6" }
%"class.JPH::RefTarget.22" = type { %"struct.std::atomic" }
%class.CharacterPlanetTest = type <{ %class.Test, %"class.JPH::PhysicsStepListener", %"class.JPH::CharacterContactListener", %"class.JPH::Ref", [8 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", i8, i8, [14 x i8] }>
%"class.JPH::PhysicsStepListener" = type { ptr }
%"class.JPH::CharacterContactListener" = type { ptr }
%"class.JPH::Ref" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19CharacterPlanetTest10InitializeEv(ptr noundef nonnull align 16 dereferenceable(178) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.JPH::BodyCreationSettings", align 16
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Quat", align 16
  %8 = alloca %"class.JPH::BodyID", align 4
  %9 = alloca %"class.JPH::BodyCreationSettings", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Quat", align 16
  %12 = alloca %"class.std::linear_congruential_engine", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::uniform_real_distribution", align 4
  %15 = alloca %"class.std::uniform_real_distribution", align 4
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::BodyID", align 4
  %19 = alloca %"class.JPH::Ref.21", align 8
  %20 = alloca %"class.JPH::Result", align 8
  %21 = alloca %"class.JPH::RotatedTranslatedShapeSettings", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Quat", align 16
  %24 = alloca %"class.JPH::Plane", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Quat", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %28 = load ptr, ptr %2, align 8
  %29 = getelementptr inbounds %class.Test, ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %3) #12
  %31 = call noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %31, float noundef 2.000000e+01, ptr noundef null)
          to label %32 unwind label %94

32:                                               ; preds = %1
  %33 = call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %34 = getelementptr inbounds %"class.JPH::Vec3", ptr %6, i32 0, i32 0
  %35 = getelementptr inbounds %union.anon, ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %37 = extractvalue { double, double } %33, 0
  store double %37, ptr %36, align 16
  %38 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %39 = extractvalue { double, double } %33, 1
  store double %39, ptr %38, align 8
  %40 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %41 = getelementptr inbounds %"class.JPH::Quat", ptr %7, i32 0, i32 0
  %42 = getelementptr inbounds %"class.JPH::Vec4", ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds %union.anon.4, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %45 = extractvalue { double, double } %40, 0
  store double %45, ptr %44, align 16
  %46 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %47 = extractvalue { double, double } %40, 1
  store double %47, ptr %46, align 8
  %48 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 0
  %49 = load double, ptr %48, align 16
  %50 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 1
  %51 = load double, ptr %50, align 8
  %52 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %53 = load double, ptr %52, align 16
  %54 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %55 = load double, ptr %54, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %3, ptr noundef %31, double %49, double %51, double %53, double %55, i8 noundef zeroext 0, i16 noundef zeroext 0)
  %56 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 16 dereferenceable(256) %3, i32 noundef 1)
          to label %57 unwind label %98

57:                                               ; preds = %32
  %58 = getelementptr inbounds %"class.JPH::BodyID", ptr %8, i32 0, i32 0
  store i32 %56, ptr %58, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #12
  call void @llvm.lifetime.end.p0(i64 256, ptr %3) #12
  call void @llvm.lifetime.start.p0(i64 256, ptr %9) #12
  %59 = call noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %59, float noundef 5.000000e-01, ptr noundef null)
          to label %60 unwind label %103

60:                                               ; preds = %57
  %61 = call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %62 = getelementptr inbounds %"class.JPH::Vec3", ptr %10, i32 0, i32 0
  %63 = getelementptr inbounds %union.anon, ptr %62, i32 0, i32 0
  %64 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 0
  %65 = extractvalue { double, double } %61, 0
  store double %65, ptr %64, align 16
  %66 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 1
  %67 = extractvalue { double, double } %61, 1
  store double %67, ptr %66, align 8
  %68 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %69 = getelementptr inbounds %"class.JPH::Quat", ptr %11, i32 0, i32 0
  %70 = getelementptr inbounds %"class.JPH::Vec4", ptr %69, i32 0, i32 0
  %71 = getelementptr inbounds %union.anon.4, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %73 = extractvalue { double, double } %68, 0
  store double %73, ptr %72, align 16
  %74 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %75 = extractvalue { double, double } %68, 1
  store double %75, ptr %74, align 8
  %76 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %77 = load double, ptr %76, align 16
  %78 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %79 = load double, ptr %78, align 8
  %80 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %81 = load double, ptr %80, align 16
  %82 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %83 = load double, ptr %82, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %9, ptr noundef %59, double %77, double %79, double %81, double %83, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %84 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %9, i32 0, i32 23
  store float 0.000000e+00, ptr %84, align 4, !tbaa !18
  %85 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %9, i32 0, i32 26
  store i8 1, ptr %85, align 16, !tbaa !35
  %86 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %9, i32 0, i32 28
  %87 = getelementptr inbounds %"class.JPH::MassProperties", ptr %86, i32 0, i32 0
  store float 1.000000e+01, ptr %87, align 16, !tbaa !36
  %88 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %9, i32 0, i32 20
  store float 5.000000e-01, ptr %88, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #12
  invoke void @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %89 unwind label %107

89:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #12
  store i32 0, ptr %13, align 4, !tbaa !38
  br label %90

90:                                               ; preds = %144, %89
  %91 = load i32, ptr %13, align 4, !tbaa !38
  %92 = icmp slt i32 %91, 200
  br i1 %92, label %111, label %93

93:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #12
  br label %161

94:                                               ; preds = %1
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %4, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %5, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %31) #12
  br label %102

98:                                               ; preds = %32
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %4, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %5, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #12
  br label %102

102:                                              ; preds = %98, %94
  call void @llvm.lifetime.end.p0(i64 256, ptr %3) #12
  br label %291

103:                                              ; preds = %57
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %4, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %5, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %59) #12
  br label %290

107:                                              ; preds = %161, %60
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %4, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %5, align 4
  br label %289

111:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #12
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0x400921FB60000000)
          to label %112 unwind label %147

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #12
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0x401921FB60000000)
          to label %113 unwind label %151

113:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #12
  %114 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %115 unwind label %155

115:                                              ; preds = %113
  %116 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %117 unwind label %155

117:                                              ; preds = %115
  %118 = invoke { double, double } @_ZN3JPH4Vec314sUnitSphericalEff(float noundef %114, float noundef %116)
          to label %119 unwind label %155

119:                                              ; preds = %117
  %120 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %121 = getelementptr inbounds %union.anon, ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds { double, double }, ptr %121, i32 0, i32 0
  %123 = extractvalue { double, double } %118, 0
  store double %123, ptr %122, align 16
  %124 = getelementptr inbounds { double, double }, ptr %121, i32 0, i32 1
  %125 = extractvalue { double, double } %118, 1
  store double %125, ptr %124, align 8
  %126 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %127 = load double, ptr %126, align 16
  %128 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %129 = load double, ptr %128, align 8
  %130 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 2.200000e+01, double %127, double %129)
          to label %131 unwind label %155

131:                                              ; preds = %119
  %132 = getelementptr inbounds %"class.JPH::Vec3", ptr %16, i32 0, i32 0
  %133 = getelementptr inbounds %union.anon, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds { double, double }, ptr %133, i32 0, i32 0
  %135 = extractvalue { double, double } %130, 0
  store double %135, ptr %134, align 16
  %136 = getelementptr inbounds { double, double }, ptr %133, i32 0, i32 1
  %137 = extractvalue { double, double } %130, 1
  store double %137, ptr %136, align 8
  %138 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %9, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %138, ptr align 16 %16, i64 16, i1 false), !tbaa.struct !39
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #12
  %139 = getelementptr inbounds %class.Test, ptr %28, i32 0, i32 3
  %140 = load ptr, ptr %139, align 8, !tbaa !9
  %141 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %140, ptr noundef nonnull align 16 dereferenceable(256) %9, i32 noundef 0)
          to label %142 unwind label %151

142:                                              ; preds = %131
  %143 = getelementptr inbounds %"class.JPH::BodyID", ptr %18, i32 0, i32 0
  store i32 %141, ptr %143, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #12
  br label %144

144:                                              ; preds = %142
  %145 = load i32, ptr %13, align 4, !tbaa !38
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %13, align 4, !tbaa !38
  br label %90, !llvm.loop !41

147:                                              ; preds = %111
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %4, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %5, align 4
  br label %160

151:                                              ; preds = %131, %112
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %4, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %5, align 4
  br label %159

155:                                              ; preds = %119, %117, %115, %113
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %4, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #12
  br label %159

159:                                              ; preds = %155, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #12
  br label %160

160:                                              ; preds = %159, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #12
  br label %289

161:                                              ; preds = %93
  %162 = getelementptr inbounds %class.Test, ptr %28, i32 0, i32 2
  %163 = load ptr, ptr %162, align 16, !tbaa !43
  %164 = getelementptr inbounds i8, ptr %28, i64 112
  invoke void @_ZN3JPH13PhysicsSystem15AddStepListenerEPNS_19PhysicsStepListenerE(ptr noundef nonnull align 16 dereferenceable(1172) %163, ptr noundef %164)
          to label %165 unwind label %107

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #12
  %166 = invoke noundef ptr @_ZN3JPH24CharacterVirtualSettingsnwEm(i64 noundef 160)
          to label %167 unwind label %249

167:                                              ; preds = %165
  call void @llvm.memset.p0.i64(ptr align 16 %166, i8 0, i64 160, i1 false)
  invoke void @_ZN3JPH24CharacterVirtualSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(150) %166)
          to label %168 unwind label %253

168:                                              ; preds = %167
  invoke void @_ZN3JPH3RefINS_24CharacterVirtualSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %166)
          to label %169 unwind label %249

169:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #12
  call void @llvm.lifetime.start.p0(i64 112, ptr %21) #12
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %22, float noundef 0.000000e+00, float noundef 0x3FEF333340000000, float noundef 0.000000e+00)
          to label %170 unwind label %257

170:                                              ; preds = %169
  %171 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %172 unwind label %257

172:                                              ; preds = %170
  %173 = getelementptr inbounds %"class.JPH::Quat", ptr %23, i32 0, i32 0
  %174 = getelementptr inbounds %"class.JPH::Vec4", ptr %173, i32 0, i32 0
  %175 = getelementptr inbounds %union.anon.4, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 0
  %177 = extractvalue { double, double } %171, 0
  store double %177, ptr %176, align 16
  %178 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 1
  %179 = extractvalue { double, double } %171, 1
  store double %179, ptr %178, align 8
  %180 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %181 unwind label %257

181:                                              ; preds = %172
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %180, float noundef 0x3FE59999A0000000, float noundef 0x3FD3333340000000, ptr noundef null)
          to label %182 unwind label %261

182:                                              ; preds = %181
  %183 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %184 = load double, ptr %183, align 16
  %185 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %186 = load double, ptr %185, align 8
  %187 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %188 = load double, ptr %187, align 16
  %189 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %190 = load double, ptr %189, align 8
  invoke void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112) %21, double %184, double %186, double %188, double %190, ptr noundef %180)
          to label %191 unwind label %257

191:                                              ; preds = %182
  invoke void @_ZNK3JPH30RotatedTranslatedShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8 %20, ptr noundef nonnull align 16 dereferenceable(112) %21)
          to label %192 unwind label %265

192:                                              ; preds = %191
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE3GetEv(ptr noundef nonnull align 8 dereferenceable(33) %20)
          to label %194 unwind label %269

194:                                              ; preds = %192
  %195 = invoke noundef ptr @_ZNK3JPH3RefINS_24CharacterVirtualSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %196 unwind label %269

196:                                              ; preds = %194
  %197 = getelementptr inbounds %"class.JPH::CharacterBaseSettings", ptr %195, i32 0, i32 6
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH8RefConstINS_5ShapeEEaSERKNS_3RefIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull align 8 dereferenceable(8) %193)
          to label %199 unwind label %269

199:                                              ; preds = %196
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %20) #12
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %21) #12
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #12
  %200 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %201 unwind label %275

201:                                              ; preds = %199
  %202 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %203 = getelementptr inbounds %union.anon, ptr %202, i32 0, i32 0
  %204 = getelementptr inbounds { double, double }, ptr %203, i32 0, i32 0
  %205 = extractvalue { double, double } %200, 0
  store double %205, ptr %204, align 16
  %206 = getelementptr inbounds { double, double }, ptr %203, i32 0, i32 1
  %207 = extractvalue { double, double } %200, 1
  store double %207, ptr %206, align 8
  %208 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %209 = load double, ptr %208, align 16
  %210 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %211 = load double, ptr %210, align 8
  invoke void @_ZN3JPH5PlaneC2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %24, double %209, double %211, float noundef 0xBFD3333340000000)
          to label %212 unwind label %275

212:                                              ; preds = %201
  %213 = invoke noundef ptr @_ZNK3JPH3RefINS_24CharacterVirtualSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %214 unwind label %275

214:                                              ; preds = %212
  %215 = getelementptr inbounds %"class.JPH::CharacterBaseSettings", ptr %213, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %215, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !39
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #12
  %216 = invoke noundef ptr @_ZN3JPH16CharacterVirtualnwEm(i64 noundef 384)
          to label %217 unwind label %279

217:                                              ; preds = %214
  %218 = invoke noundef ptr @_ZNK3JPH3RefINS_24CharacterVirtualSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %219 unwind label %283

219:                                              ; preds = %217
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 0.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %220 unwind label %283

220:                                              ; preds = %219
  %221 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %222 unwind label %283

222:                                              ; preds = %220
  %223 = getelementptr inbounds %"class.JPH::Quat", ptr %27, i32 0, i32 0
  %224 = getelementptr inbounds %"class.JPH::Vec4", ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds %union.anon.4, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds { double, double }, ptr %225, i32 0, i32 0
  %227 = extractvalue { double, double } %221, 0
  store double %227, ptr %226, align 16
  %228 = getelementptr inbounds { double, double }, ptr %225, i32 0, i32 1
  %229 = extractvalue { double, double } %221, 1
  store double %229, ptr %228, align 8
  %230 = getelementptr inbounds %class.Test, ptr %28, i32 0, i32 2
  %231 = load ptr, ptr %230, align 16, !tbaa !43
  %232 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %233 = load double, ptr %232, align 16
  %234 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %235 = load double, ptr %234, align 8
  %236 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %237 = load double, ptr %236, align 16
  %238 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %239 = load double, ptr %238, align 8
  invoke void @_ZN3JPH16CharacterVirtualC1EPKNS_24CharacterVirtualSettingsENS_4Vec3ENS_4QuatEmPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(372) %216, ptr noundef %218, double %233, double %235, double %237, double %239, i64 noundef 0, ptr noundef %231)
          to label %240 unwind label %283

240:                                              ; preds = %222
  %241 = getelementptr inbounds %class.CharacterPlanetTest, ptr %28, i32 0, i32 3
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_16CharacterVirtualEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef %216)
          to label %243 unwind label %279

243:                                              ; preds = %240
  %244 = getelementptr inbounds %class.CharacterPlanetTest, ptr %28, i32 0, i32 3
  %245 = invoke noundef ptr @_ZNK3JPH3RefINS_16CharacterVirtualEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %244)
          to label %246 unwind label %279

246:                                              ; preds = %243
  %247 = getelementptr inbounds i8, ptr %28, i64 120
  invoke void @_ZN3JPH16CharacterVirtual11SetListenerEPNS_24CharacterContactListenerE(ptr noundef nonnull align 16 dereferenceable(372) %245, ptr noundef %247)
          to label %248 unwind label %279

248:                                              ; preds = %246
  call void @_ZN3JPH3RefINS_24CharacterVirtualSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #12
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #12
  ret void

249:                                              ; preds = %168, %165
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %4, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %5, align 4
  br label %288

253:                                              ; preds = %167
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %4, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %5, align 4
  call void @_ZN3JPH24CharacterVirtualSettingsdlEPv(ptr noundef %166) #12
  br label %288

257:                                              ; preds = %182, %172, %170, %169
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %4, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %5, align 4
  br label %274

261:                                              ; preds = %181
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %4, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %180) #12
  br label %274

265:                                              ; preds = %191
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %4, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %5, align 4
  br label %273

269:                                              ; preds = %196, %194, %192
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %4, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %5, align 4
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %20) #12
  br label %273

273:                                              ; preds = %269, %265
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %21) #12
  br label %274

274:                                              ; preds = %273, %261, %257
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #12
  br label %287

275:                                              ; preds = %212, %201, %199
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %4, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #12
  br label %287

279:                                              ; preds = %246, %243, %240, %214
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %4, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %5, align 4
  br label %287

283:                                              ; preds = %222, %220, %219, %217
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %4, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %5, align 4
  call void @_ZN3JPH16CharacterVirtualdlEPv(ptr noundef %216) #12
  br label %287

287:                                              ; preds = %283, %279, %275, %274
  call void @_ZN3JPH3RefINS_24CharacterVirtualSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #12
  br label %288

288:                                              ; preds = %287, %253, %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #12
  br label %289

289:                                              ; preds = %288, %160, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #12
  br label %290

290:                                              ; preds = %289, %103
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #12
  br label %291

291:                                              ; preds = %290, %102
  %292 = load ptr, ptr %4, align 8
  %293 = load i32, ptr %5, align 4
  %294 = insertvalue { ptr, i32 } poison, ptr %292, 0
  %295 = insertvalue { ptr, i32 } %294, i32 %293, 1
  resume { ptr, i32 } %295
}

declare i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256), i32 noundef) #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH24CharacterVirtualSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(150)) unnamed_addr #9 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56), float noundef, float noundef, ptr noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112), double, double, double, double, ptr noundef) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

declare void @_ZN3JPH16CharacterVirtualC1EPKNS_24CharacterVirtualSettingsENS_4Vec3ENS_4QuatEmPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(372), ptr noundef, double, double, double, double, i64 noundef, ptr noundef) unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual11SetListenerEPNS_24CharacterContactListenerE(ptr noundef nonnull align 16 dereferenceable(372), ptr noundef) #11 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #4 = { 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 #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 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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 #10 = { alwaysinline mustprogress nounwind 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 #11 = { 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 #12 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !12, i64 56}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !13, i64 0}
!13 = !{!"_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, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !6, i64 48}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!19, !17, i64 132}
!19 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !20, i64 0, !21, i64 16, !20, i64 32, !20, i64 48, !14, i64 64, !23, i64 72, !24, i64 80, !27, i64 96, !28, i64 97, !11, i64 98, !11, i64 99, !11, i64 100, !11, i64 101, !11, i64 102, !29, i64 103, !11, i64 104, !11, i64 105, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !26, i64 136, !26, i64 140, !30, i64 144, !17, i64 148, !31, i64 160, !33, i64 240, !34, i64 248}
!20 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!21 = !{!"_ZTSN3JPH4QuatE", !22, i64 0}
!22 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!23 = !{!"short", !7, i64 0}
!24 = !{!"_ZTSN3JPH14CollisionGroupE", !25, i64 0, !26, i64 8, !26, i64 12}
!25 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !6, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!28 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!29 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!30 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!31 = !{!"_ZTSN3JPH14MassPropertiesE", !17, i64 0, !32, i64 16}
!32 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!33 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !6, i64 0}
!34 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !6, i64 0}
!35 = !{!19, !30, i64 144}
!36 = !{!19, !17, i64 160}
!37 = !{!19, !17, i64 120}
!38 = !{!26, !26, i64 0}
!39 = !{i64 0, i64 16, !40}
!40 = !{!7, !7, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!10, !6, i64 16}


; 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::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.5", %"class.JPH::RefConst.6" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst", i32, i32 }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::RefConst.6" = type { ptr }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.JPH::Ref.21" = type { ptr }
%"class.JPH::Result" = type <{ %union.anon.23, i8, [7 x i8] }>
%union.anon.23 = 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.27 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.27 = type { i64, [8 x i8] }
%"class.JPH::RotatedTranslatedShapeSettings" = type { %"class.JPH::DecoratedShapeSettings", %"class.JPH::Vec3", %"class.JPH::Quat" }
%"class.JPH::DecoratedShapeSettings" = type { %"class.JPH::ShapeSettings", %"class.JPH::RefConst.5", %"class.JPH::RefConst.6" }
%"class.JPH::ShapeSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.28", i64, %"class.JPH::Result" }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.28" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19CharacterPlanetTest10InitializeEv(ptr noundef nonnull align 16 dereferenceable(178) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::BodyCreationSettings", align 16
  %3 = alloca %"class.JPH::BodyCreationSettings", align 16
  %4 = alloca %"class.std::linear_congruential_engine", align 8
  %5 = alloca %"class.std::uniform_real_distribution", align 4
  %6 = alloca %"class.std::uniform_real_distribution", align 4
  %7 = alloca %"class.JPH::Ref.21", align 8
  %8 = alloca %"class.JPH::Result", align 8
  %9 = alloca %"class.JPH::RotatedTranslatedShapeSettings", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Plane", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %2) #12
  %15 = tail call noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %15, float noundef 2.000000e+01, ptr noundef null)
          to label %16 unwind label %41

16:                                               ; preds = %1
  %17 = tail call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %18 = extractvalue { double, double } %17, 0
  %19 = extractvalue { double, double } %17, 1
  %20 = tail call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %21 = extractvalue { double, double } %20, 0
  %22 = extractvalue { double, double } %20, 1
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %2, ptr noundef nonnull %15, double %18, double %19, double %21, double %22, i8 noundef zeroext 0, i16 noundef zeroext 0)
  %23 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 16 dereferenceable(256) %2, i32 noundef 1)
          to label %24 unwind label %43

24:                                               ; preds = %16
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %2) #12
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %2) #12
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #12
  %25 = call noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %25, float noundef 5.000000e-01, ptr noundef null)
          to label %26 unwind label %46

26:                                               ; preds = %24
  %27 = call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %28 = extractvalue { double, double } %27, 0
  %29 = extractvalue { double, double } %27, 1
  %30 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %31 = extractvalue { double, double } %30, 0
  %32 = extractvalue { double, double } %30, 1
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %3, ptr noundef nonnull %25, double %28, double %29, double %31, double %32, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %33 = getelementptr inbounds i8, ptr %3, i64 132
  store float 0.000000e+00, ptr %33, align 4, !tbaa !17
  %34 = getelementptr inbounds i8, ptr %3, i64 144
  store i8 1, ptr %34, align 16, !tbaa !34
  %35 = getelementptr inbounds i8, ptr %3, i64 160
  store float 1.000000e+01, ptr %35, align 16, !tbaa !35
  %36 = getelementptr inbounds i8, ptr %3, i64 120
  store float 5.000000e-01, ptr %36, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #12
  invoke void @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %.preheader unwind label %48

.preheader:                                       ; preds = %26
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  br label %50

37:                                               ; preds = %67
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  %39 = load ptr, ptr %38, align 16, !tbaa !37
  %40 = getelementptr inbounds i8, ptr %0, i64 112
  invoke void @_ZN3JPH13PhysicsSystem15AddStepListenerEPNS_19PhysicsStepListenerE(ptr noundef nonnull align 16 dereferenceable(1172) %39, ptr noundef nonnull %40)
          to label %77 unwind label %48

41:                                               ; preds = %1
  %42 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %15) #12
  br label %45

43:                                               ; preds = %16
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %2) #12
  br label %45

45:                                               ; preds = %43, %41
  %.pn = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %2) #12
  br label %148

46:                                               ; preds = %24
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %25) #12
  br label %147

48:                                               ; preds = %37, %26
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %146

50:                                               ; preds = %.preheader, %67
  %.03145 = phi i32 [ 0, %.preheader ], [ %68, %67 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #12
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0x400921FB60000000)
          to label %51 unwind label %69

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #12
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0x401921FB60000000)
          to label %52 unwind label %71

52:                                               ; preds = %51
  %53 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %54 unwind label %73

54:                                               ; preds = %52
  %55 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %56 unwind label %73

56:                                               ; preds = %54
  %57 = invoke { double, double } @_ZN3JPH4Vec314sUnitSphericalEff(float noundef %53, float noundef %55)
          to label %58 unwind label %73

58:                                               ; preds = %56
  %59 = extractvalue { double, double } %57, 0
  %60 = extractvalue { double, double } %57, 1
  %61 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 2.200000e+01, double %59, double %60)
          to label %62 unwind label %73

62:                                               ; preds = %58
  %63 = extractvalue { double, double } %61, 0
  %64 = extractvalue { double, double } %61, 1
  store double %63, ptr %3, align 16
  store double %64, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !38
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 16 dereferenceable(256) %3, i32 noundef 0)
          to label %67 unwind label %71

67:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #12
  %68 = add nuw nsw i32 %.03145, 1
  %exitcond.not = icmp eq i32 %68, 200
  br i1 %exitcond.not, label %37, label %50, !llvm.loop !39

69:                                               ; preds = %50
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %76

71:                                               ; preds = %62, %51
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

73:                                               ; preds = %58, %56, %54, %52
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %75

75:                                               ; preds = %73, %71
  %.pn39 = phi { ptr, i32 } [ %72, %71 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #12
  br label %76

76:                                               ; preds = %75, %69
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %75 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #12
  br label %146

77:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #12
  %78 = invoke noundef ptr @_ZN3JPH24CharacterVirtualSettingsnwEm(i64 noundef 160)
          to label %79 unwind label %124

79:                                               ; preds = %77
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(160) %78, i8 0, i64 160, i1 false)
  invoke void @_ZN3JPH24CharacterVirtualSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(150) %78)
          to label %80 unwind label %126

80:                                               ; preds = %79
  invoke void @_ZN3JPH3RefINS_24CharacterVirtualSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %78)
          to label %81 unwind label %124

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #12
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %9) #12
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef 0.000000e+00, float noundef 0x3FEF333340000000, float noundef 0.000000e+00)
  %82 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %83 unwind label %128

83:                                               ; preds = %81
  %84 = extractvalue { double, double } %82, 0
  %85 = extractvalue { double, double } %82, 1
  %86 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %87 unwind label %128

87:                                               ; preds = %83
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %86, float noundef 0x3FE59999A0000000, float noundef 0x3FD3333340000000, ptr noundef null)
          to label %88 unwind label %130

88:                                               ; preds = %87
  %89 = load double, ptr %10, align 16
  %90 = getelementptr inbounds i8, ptr %10, i64 8
  %91 = load double, ptr %90, align 8
  invoke void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112) %9, double %89, double %91, double %84, double %85, ptr noundef nonnull %86)
          to label %92 unwind label %128

92:                                               ; preds = %88
  invoke void @_ZNK3JPH30RotatedTranslatedShapeSettings6CreateEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Result") align 8 %8, ptr noundef nonnull align 16 dereferenceable(112) %9)
          to label %93 unwind label %132

93:                                               ; preds = %92
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE3GetEv(ptr noundef nonnull align 8 dereferenceable(33) %8)
          to label %95 unwind label %134

95:                                               ; preds = %93
  %96 = call noundef ptr @_ZNK3JPH3RefINS_24CharacterVirtualSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %97 = getelementptr inbounds i8, ptr %96, i64 56
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH8RefConstINS_5ShapeEEaSERKNS_3RefIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull align 8 dereferenceable(8) %94)
          to label %99 unwind label %134

99:                                               ; preds = %95
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %8) #12
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %9) #12
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #12
  %100 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %101 unwind label %138

101:                                              ; preds = %99
  %102 = extractvalue { double, double } %100, 0
  %103 = extractvalue { double, double } %100, 1
  invoke void @_ZN3JPH5PlaneC2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %11, double %102, double %103, float noundef 0xBFD3333340000000)
          to label %104 unwind label %138

104:                                              ; preds = %101
  %105 = call noundef ptr @_ZNK3JPH3RefINS_24CharacterVirtualSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %106 = getelementptr inbounds i8, ptr %105, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %106, ptr noundef nonnull align 16 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #12
  %107 = invoke noundef ptr @_ZN3JPH16CharacterVirtualnwEm(i64 noundef 384)
          to label %108 unwind label %140

108:                                              ; preds = %104
  %109 = call noundef ptr @_ZNK3JPH3RefINS_24CharacterVirtualSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef 0.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %110 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %111 unwind label %142

111:                                              ; preds = %108
  %112 = extractvalue { double, double } %110, 0
  %113 = extractvalue { double, double } %110, 1
  %114 = load ptr, ptr %38, align 16, !tbaa !37
  %115 = load double, ptr %12, align 16
  %116 = getelementptr inbounds i8, ptr %12, i64 8
  %117 = load double, ptr %116, align 8
  invoke void @_ZN3JPH16CharacterVirtualC1EPKNS_24CharacterVirtualSettingsENS_4Vec3ENS_4QuatEmPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(372) %107, ptr noundef %109, double %115, double %117, double %112, double %113, i64 noundef 0, ptr noundef %114)
          to label %118 unwind label %142

118:                                              ; preds = %111
  %119 = getelementptr inbounds i8, ptr %0, i64 128
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_16CharacterVirtualEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull %107)
          to label %121 unwind label %140

121:                                              ; preds = %118
  %122 = call noundef ptr @_ZNK3JPH3RefINS_16CharacterVirtualEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %119)
  %123 = getelementptr inbounds i8, ptr %0, i64 120
  call void @_ZN3JPH16CharacterVirtual11SetListenerEPNS_24CharacterContactListenerE(ptr noundef nonnull align 16 dereferenceable(372) %122, ptr noundef nonnull %123)
  call void @_ZN3JPH3RefINS_24CharacterVirtualSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #12
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #12
  ret void

124:                                              ; preds = %80, %77
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %145

126:                                              ; preds = %79
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH24CharacterVirtualSettingsdlEPv(ptr noundef nonnull %78) #12
  br label %145

128:                                              ; preds = %88, %83, %81
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %137

130:                                              ; preds = %87
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %86) #12
  br label %137

132:                                              ; preds = %92
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %95, %93
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %8) #12
  br label %136

136:                                              ; preds = %134, %132
  %.pn33 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %9) #12
  br label %137

137:                                              ; preds = %136, %130, %128
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %136 ], [ %129, %128 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #12
  br label %144

138:                                              ; preds = %101, %99
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #12
  br label %144

140:                                              ; preds = %118, %104
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %144

142:                                              ; preds = %111, %108
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH16CharacterVirtualdlEPv(ptr noundef %107) #12
  br label %144

144:                                              ; preds = %142, %140, %138, %137
  %.pn36 = phi { ptr, i32 } [ %141, %140 ], [ %143, %142 ], [ %139, %138 ], [ %.pn33.pn, %137 ]
  call void @_ZN3JPH3RefINS_24CharacterVirtualSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #12
  br label %145

145:                                              ; preds = %144, %126, %124
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %144 ], [ %125, %124 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #12
  br label %146

146:                                              ; preds = %145, %76, %48
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %76 ], [ %.pn36.pn, %145 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #12
  br label %147

147:                                              ; preds = %146, %46
  %.pn39.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn, %146 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #12
  br label %148

148:                                              ; preds = %147, %45
  %.pn39.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn, %147 ], [ %.pn, %45 ]
  resume { ptr, i32 } %.pn39.pn.pn.pn.pn
}

declare i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256), i32 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 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) #7

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH24CharacterVirtualSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(150)) unnamed_addr #9 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56), float noundef, float noundef, ptr noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112), double, double, double, double, ptr noundef) unnamed_addr #1 align 2

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

; 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 #1 align 2

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

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

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

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

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

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

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

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

declare void @_ZN3JPH16CharacterVirtualC1EPKNS_24CharacterVirtualSettingsENS_4Vec3ENS_4QuatEmPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(372), ptr noundef, double, double, double, double, i64 noundef, ptr noundef) unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual11SetListenerEPNS_24CharacterContactListenerE(ptr noundef nonnull align 16 dereferenceable(372), ptr noundef) local_unnamed_addr #11 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #4 = { 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 #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 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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 #10 = { alwaysinline mustprogress nounwind 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 #11 = { 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 #12 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"_ZTS4Test", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !12, i64 0}
!12 = !{!"_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", !7, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !7, i64 48}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!16 = !{!"float", !8, i64 0}
!17 = !{!18, !16, i64 132}
!18 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !19, i64 0, !20, i64 16, !19, i64 32, !19, i64 48, !13, i64 64, !22, i64 72, !23, i64 80, !26, i64 96, !27, i64 97, !10, i64 98, !10, i64 99, !10, i64 100, !10, i64 101, !10, i64 102, !28, i64 103, !10, i64 104, !10, i64 105, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !25, i64 136, !25, i64 140, !29, i64 144, !16, i64 148, !30, i64 160, !32, i64 240, !33, i64 248}
!19 = !{!"_ZTSN3JPH4Vec3E", !8, i64 0}
!20 = !{!"_ZTSN3JPH4QuatE", !21, i64 0}
!21 = !{!"_ZTSN3JPH4Vec4E", !8, i64 0}
!22 = !{!"short", !8, i64 0}
!23 = !{!"_ZTSN3JPH14CollisionGroupE", !24, i64 0, !25, i64 8, !25, i64 12}
!24 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !7, i64 0}
!25 = !{!"int", !8, i64 0}
!26 = !{!"_ZTSN3JPH11EMotionTypeE", !8, i64 0}
!27 = !{!"_ZTSN3JPH12EAllowedDOFsE", !8, i64 0}
!28 = !{!"_ZTSN3JPH14EMotionQualityE", !8, i64 0}
!29 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !8, i64 0}
!30 = !{!"_ZTSN3JPH14MassPropertiesE", !16, i64 0, !31, i64 16}
!31 = !{!"_ZTSN3JPH5Mat44E", !8, i64 0}
!32 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !7, i64 0}
!33 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !7, i64 0}
!34 = !{!18, !29, i64 144}
!35 = !{!18, !16, i64 160}
!36 = !{!18, !16, i64 120}
!37 = !{!6, !7, i64 16}
!38 = !{!8, !8, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{i64 0, i64 16, !38}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass