; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/ScaledShapes (ScaledPlaneShapeTest)

; 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::RefConst.6" = type { ptr }
%"class.JPH::Plane" = 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::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.6", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.5", i32, i32 }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%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 }

; 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 @_ZN20ScaledPlaneShapeTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(112) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.JPH::RefConst.6", align 8
  %4 = alloca %"class.JPH::Plane", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i1, align 1
  %10 = alloca %"class.JPH::BodyCreationSettings", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Quat", align 16
  %13 = alloca %"class.JPH::BodyID", align 4
  %14 = alloca %"class.JPH::BodyCreationSettings", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Quat", align 16
  %18 = alloca %"class.JPH::BodyID", align 4
  %19 = alloca %"class.JPH::BodyCreationSettings", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Quat", align 16
  %23 = alloca %"class.JPH::BodyID", align 4
  %24 = alloca %"class.JPH::BodyCreationSettings", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Quat", align 16
  %28 = alloca %"class.JPH::BodyID", align 4
  %29 = alloca %"class.JPH::BodyCreationSettings", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Quat", align 16
  %33 = alloca %"class.JPH::BodyID", align 4
  %34 = alloca %"class.JPH::BodyCreationSettings", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Quat", align 16
  %38 = alloca %"class.JPH::BodyID", align 4
  %39 = alloca %"class.JPH::BodyCreationSettings", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Quat", align 16
  %43 = alloca %"class.JPH::BodyID", align 4
  %44 = alloca %"class.JPH::RefConst", align 8
  %45 = alloca %"class.JPH::RefConst", align 8
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"class.JPH::BodyCreationSettings", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Quat", align 16
  %53 = alloca %"class.JPH::BodyID", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %54 = load ptr, ptr %2, align 8
  %55 = call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %54, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %56 = call noundef ptr @_ZN3JPH18PlaneShapeSettingsnwEm(i64 noundef 96)
  store i1 true, ptr %9, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef 0x3FB99999A0000000, float noundef 1.000000e+00, float noundef 0x3FB99999A0000000)
          to label %57 unwind label %334

57:                                               ; preds = %1
  %58 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %6)
          to label %59 unwind label %334

59:                                               ; preds = %57
  %60 = getelementptr inbounds %"class.JPH::Vec3", ptr %5, i32 0, i32 0
  %61 = getelementptr inbounds %union.anon, ptr %60, i32 0, i32 0
  %62 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %63 = extractvalue { double, double } %58, 0
  store double %63, ptr %62, align 16
  %64 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %65 = extractvalue { double, double } %58, 1
  store double %65, ptr %64, align 8
  %66 = getelementptr inbounds { double, double }, ptr %5, i32 0, i32 0
  %67 = load double, ptr %66, align 16
  %68 = getelementptr inbounds { double, double }, ptr %5, i32 0, i32 1
  %69 = load double, ptr %68, align 8
  invoke void @_ZN3JPH5PlaneC2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %4, double %67, double %69, float noundef -5.000000e-01)
          to label %70 unwind label %334

70:                                               ; preds = %59
  invoke void @_ZN3JPH18PlaneShapeSettingsC2ERKNS_5PlaneEPKNS_15PhysicsMaterialEf(ptr noundef nonnull align 16 dereferenceable(96) %56, ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef null, float noundef 5.000000e+00)
          to label %71 unwind label %334

71:                                               ; preds = %70
  store i1 false, ptr %9, align 1
  invoke void @_ZN3JPH8RefConstINS_13ShapeSettingsEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %56)
          to label %72 unwind label %334

72:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #9
  %73 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %10) #9
  %75 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %76 unwind label %341

76:                                               ; preds = %72
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef -6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %77 unwind label %341

77:                                               ; preds = %76
  %78 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %79 unwind label %341

79:                                               ; preds = %77
  %80 = getelementptr inbounds %"class.JPH::Quat", ptr %12, i32 0, i32 0
  %81 = getelementptr inbounds %"class.JPH::Vec4", ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %union.anon.4, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 0
  %84 = extractvalue { double, double } %78, 0
  store double %84, ptr %83, align 16
  %85 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 1
  %86 = extractvalue { double, double } %78, 1
  store double %86, ptr %85, align 8
  %87 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %88 = load double, ptr %87, align 16
  %89 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %90 = load double, ptr %89, align 8
  %91 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %92 = load double, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %94 = load double, ptr %93, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %10, ptr noundef %75, double %88, double %90, double %92, double %94, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %95 unwind label %341

95:                                               ; preds = %79
  %96 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 16 dereferenceable(256) %10, i32 noundef 1)
          to label %97 unwind label %345

97:                                               ; preds = %95
  %98 = getelementptr inbounds %"class.JPH::BodyID", ptr %13, i32 0, i32 0
  store i32 %96, ptr %98, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %10) #9
  %99 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %14) #9
  %101 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %102 unwind label %350

102:                                              ; preds = %97
  %103 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %104 unwind label %354

104:                                              ; preds = %102
  %105 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 5.000000e-01)
          to label %106 unwind label %354

106:                                              ; preds = %104
  %107 = getelementptr inbounds %"class.JPH::Vec3", ptr %15, i32 0, i32 0
  %108 = getelementptr inbounds %union.anon, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds { double, double }, ptr %108, i32 0, i32 0
  %110 = extractvalue { double, double } %105, 0
  store double %110, ptr %109, align 16
  %111 = getelementptr inbounds { double, double }, ptr %108, i32 0, i32 1
  %112 = extractvalue { double, double } %105, 1
  store double %112, ptr %111, align 8
  %113 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %114 = load double, ptr %113, align 16
  %115 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %116 = load double, ptr %115, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %101, ptr noundef %103, double %114, double %116)
          to label %117 unwind label %354

117:                                              ; preds = %106
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef -4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %118 unwind label %350

118:                                              ; preds = %117
  %119 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %120 unwind label %350

120:                                              ; preds = %118
  %121 = getelementptr inbounds %"class.JPH::Quat", ptr %17, i32 0, i32 0
  %122 = getelementptr inbounds %"class.JPH::Vec4", ptr %121, i32 0, i32 0
  %123 = getelementptr inbounds %union.anon.4, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 0
  %125 = extractvalue { double, double } %119, 0
  store double %125, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 1
  %127 = extractvalue { double, double } %119, 1
  store double %127, ptr %126, align 8
  %128 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %129 = load double, ptr %128, align 16
  %130 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %131 = load double, ptr %130, align 8
  %132 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %133 = load double, ptr %132, align 16
  %134 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %135 = load double, ptr %134, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %14, ptr noundef %101, double %129, double %131, double %133, double %135, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %136 unwind label %350

136:                                              ; preds = %120
  %137 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 16 dereferenceable(256) %14, i32 noundef 1)
          to label %138 unwind label %358

138:                                              ; preds = %136
  %139 = getelementptr inbounds %"class.JPH::BodyID", ptr %18, i32 0, i32 0
  store i32 %137, ptr %139, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %14) #9
  %140 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %19) #9
  %142 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %143 unwind label %363

143:                                              ; preds = %138
  %144 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %145 unwind label %367

145:                                              ; preds = %143
  %146 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.500000e+00)
          to label %147 unwind label %367

147:                                              ; preds = %145
  %148 = getelementptr inbounds %"class.JPH::Vec3", ptr %20, i32 0, i32 0
  %149 = getelementptr inbounds %union.anon, ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds { double, double }, ptr %149, i32 0, i32 0
  %151 = extractvalue { double, double } %146, 0
  store double %151, ptr %150, align 16
  %152 = getelementptr inbounds { double, double }, ptr %149, i32 0, i32 1
  %153 = extractvalue { double, double } %146, 1
  store double %153, ptr %152, align 8
  %154 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %155 = load double, ptr %154, align 16
  %156 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %157 = load double, ptr %156, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %142, ptr noundef %144, double %155, double %157)
          to label %158 unwind label %367

158:                                              ; preds = %147
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef -2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %159 unwind label %363

159:                                              ; preds = %158
  %160 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %161 unwind label %363

161:                                              ; preds = %159
  %162 = getelementptr inbounds %"class.JPH::Quat", ptr %22, i32 0, i32 0
  %163 = getelementptr inbounds %"class.JPH::Vec4", ptr %162, i32 0, i32 0
  %164 = getelementptr inbounds %union.anon.4, ptr %163, i32 0, i32 0
  %165 = getelementptr inbounds { double, double }, ptr %164, i32 0, i32 0
  %166 = extractvalue { double, double } %160, 0
  store double %166, ptr %165, align 16
  %167 = getelementptr inbounds { double, double }, ptr %164, i32 0, i32 1
  %168 = extractvalue { double, double } %160, 1
  store double %168, ptr %167, align 8
  %169 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %170 = load double, ptr %169, align 16
  %171 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %172 = load double, ptr %171, align 8
  %173 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %174 = load double, ptr %173, align 16
  %175 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %176 = load double, ptr %175, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %19, ptr noundef %142, double %170, double %172, double %174, double %176, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %177 unwind label %363

177:                                              ; preds = %161
  %178 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %141, ptr noundef nonnull align 16 dereferenceable(256) %19, i32 noundef 1)
          to label %179 unwind label %371

179:                                              ; preds = %177
  %180 = getelementptr inbounds %"class.JPH::BodyID", ptr %23, i32 0, i32 0
  store i32 %178, ptr %180, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %19) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %19) #9
  %181 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %182 = load ptr, ptr %181, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %24) #9
  %183 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %184 unwind label %376

184:                                              ; preds = %179
  %185 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %186 unwind label %380

186:                                              ; preds = %184
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %187 unwind label %380

187:                                              ; preds = %186
  %188 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %189 = load double, ptr %188, align 16
  %190 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %191 = load double, ptr %190, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %183, ptr noundef %185, double %189, double %191)
          to label %192 unwind label %380

192:                                              ; preds = %187
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %193 unwind label %376

193:                                              ; preds = %192
  %194 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %195 unwind label %376

195:                                              ; preds = %193
  %196 = getelementptr inbounds %"class.JPH::Quat", ptr %27, i32 0, i32 0
  %197 = getelementptr inbounds %"class.JPH::Vec4", ptr %196, i32 0, i32 0
  %198 = getelementptr inbounds %union.anon.4, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds { double, double }, ptr %198, i32 0, i32 0
  %200 = extractvalue { double, double } %194, 0
  store double %200, ptr %199, align 16
  %201 = getelementptr inbounds { double, double }, ptr %198, i32 0, i32 1
  %202 = extractvalue { double, double } %194, 1
  store double %202, ptr %201, align 8
  %203 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %204 = load double, ptr %203, align 16
  %205 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %206 = load double, ptr %205, align 8
  %207 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %208 = load double, ptr %207, align 16
  %209 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %210 = load double, ptr %209, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %24, ptr noundef %183, double %204, double %206, double %208, double %210, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %211 unwind label %376

211:                                              ; preds = %195
  %212 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %182, ptr noundef nonnull align 16 dereferenceable(256) %24, i32 noundef 1)
          to label %213 unwind label %384

213:                                              ; preds = %211
  %214 = getelementptr inbounds %"class.JPH::BodyID", ptr %28, i32 0, i32 0
  store i32 %212, ptr %214, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %24) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %24) #9
  %215 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %216 = load ptr, ptr %215, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %29) #9
  %217 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %218 unwind label %389

218:                                              ; preds = %213
  %219 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %220 unwind label %393

220:                                              ; preds = %218
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef -1.500000e+00)
          to label %221 unwind label %393

221:                                              ; preds = %220
  %222 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %223 = load double, ptr %222, align 16
  %224 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %225 = load double, ptr %224, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %217, ptr noundef %219, double %223, double %225)
          to label %226 unwind label %393

226:                                              ; preds = %221
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %31, float noundef 2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %227 unwind label %389

227:                                              ; preds = %226
  %228 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %229 unwind label %389

229:                                              ; preds = %227
  %230 = getelementptr inbounds %"class.JPH::Quat", ptr %32, i32 0, i32 0
  %231 = getelementptr inbounds %"class.JPH::Vec4", ptr %230, i32 0, i32 0
  %232 = getelementptr inbounds %union.anon.4, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds { double, double }, ptr %232, i32 0, i32 0
  %234 = extractvalue { double, double } %228, 0
  store double %234, ptr %233, align 16
  %235 = getelementptr inbounds { double, double }, ptr %232, i32 0, i32 1
  %236 = extractvalue { double, double } %228, 1
  store double %236, ptr %235, align 8
  %237 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %238 = load double, ptr %237, align 16
  %239 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %240 = load double, ptr %239, align 8
  %241 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %242 = load double, ptr %241, align 16
  %243 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %244 = load double, ptr %243, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %29, ptr noundef %217, double %238, double %240, double %242, double %244, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %245 unwind label %389

245:                                              ; preds = %229
  %246 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %216, ptr noundef nonnull align 16 dereferenceable(256) %29, i32 noundef 1)
          to label %247 unwind label %397

247:                                              ; preds = %245
  %248 = getelementptr inbounds %"class.JPH::BodyID", ptr %33, i32 0, i32 0
  store i32 %246, ptr %248, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %29) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %29) #9
  %249 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %250 = load ptr, ptr %249, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %34) #9
  %251 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %252 unwind label %402

252:                                              ; preds = %247
  %253 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %254 unwind label %406

254:                                              ; preds = %252
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %35, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %255 unwind label %406

255:                                              ; preds = %254
  %256 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %257 = load double, ptr %256, align 16
  %258 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %259 = load double, ptr %258, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %251, ptr noundef %253, double %257, double %259)
          to label %260 unwind label %406

260:                                              ; preds = %255
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %36, float noundef 4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %261 unwind label %402

261:                                              ; preds = %260
  %262 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %263 unwind label %402

263:                                              ; preds = %261
  %264 = getelementptr inbounds %"class.JPH::Quat", ptr %37, i32 0, i32 0
  %265 = getelementptr inbounds %"class.JPH::Vec4", ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds %union.anon.4, ptr %265, i32 0, i32 0
  %267 = getelementptr inbounds { double, double }, ptr %266, i32 0, i32 0
  %268 = extractvalue { double, double } %262, 0
  store double %268, ptr %267, align 16
  %269 = getelementptr inbounds { double, double }, ptr %266, i32 0, i32 1
  %270 = extractvalue { double, double } %262, 1
  store double %270, ptr %269, align 8
  %271 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %272 = load double, ptr %271, align 16
  %273 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %274 = load double, ptr %273, align 8
  %275 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %276 = load double, ptr %275, align 16
  %277 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %278 = load double, ptr %277, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %34, ptr noundef %251, double %272, double %274, double %276, double %278, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %279 unwind label %402

279:                                              ; preds = %263
  %280 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %250, ptr noundef nonnull align 16 dereferenceable(256) %34, i32 noundef 1)
          to label %281 unwind label %410

281:                                              ; preds = %279
  %282 = getelementptr inbounds %"class.JPH::BodyID", ptr %38, i32 0, i32 0
  store i32 %280, ptr %282, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %34) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %34) #9
  %283 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %284 = load ptr, ptr %283, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %39) #9
  %285 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %286 unwind label %415

286:                                              ; preds = %281
  %287 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %288 unwind label %419

288:                                              ; preds = %286
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef 5.000000e-01, float noundef -1.000000e+00, float noundef 1.500000e+00)
          to label %289 unwind label %419

289:                                              ; preds = %288
  %290 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %291 = load double, ptr %290, align 16
  %292 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %293 = load double, ptr %292, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %285, ptr noundef %287, double %291, double %293)
          to label %294 unwind label %419

294:                                              ; preds = %289
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %41, float noundef 6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %295 unwind label %415

295:                                              ; preds = %294
  %296 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %297 unwind label %415

297:                                              ; preds = %295
  %298 = getelementptr inbounds %"class.JPH::Quat", ptr %42, i32 0, i32 0
  %299 = getelementptr inbounds %"class.JPH::Vec4", ptr %298, i32 0, i32 0
  %300 = getelementptr inbounds %union.anon.4, ptr %299, i32 0, i32 0
  %301 = getelementptr inbounds { double, double }, ptr %300, i32 0, i32 0
  %302 = extractvalue { double, double } %296, 0
  store double %302, ptr %301, align 16
  %303 = getelementptr inbounds { double, double }, ptr %300, i32 0, i32 1
  %304 = extractvalue { double, double } %296, 1
  store double %304, ptr %303, align 8
  %305 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %306 = load double, ptr %305, align 16
  %307 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %308 = load double, ptr %307, align 8
  %309 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %310 = load double, ptr %309, align 16
  %311 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %312 = load double, ptr %311, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %39, ptr noundef %285, double %306, double %308, double %310, double %312, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %313 unwind label %415

313:                                              ; preds = %297
  %314 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %284, ptr noundef nonnull align 16 dereferenceable(256) %39, i32 noundef 1)
          to label %315 unwind label %423

315:                                              ; preds = %313
  %316 = getelementptr inbounds %"class.JPH::BodyID", ptr %43, i32 0, i32 0
  store i32 %314, ptr %316, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %39) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %317 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %318 unwind label %428

318:                                              ; preds = %315
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %317, float noundef 0x3FC99999A0000000, ptr noundef null)
          to label %319 unwind label %432

319:                                              ; preds = %318
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef %317)
          to label %320 unwind label %428

320:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %321 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %322 unwind label %436

322:                                              ; preds = %320
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FD99999A0000000)
          to label %323 unwind label %440

323:                                              ; preds = %322
  %324 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %325 = load double, ptr %324, align 16
  %326 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %327 = load double, ptr %326, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %321, double %325, double %327, float noundef 0x3F847AE140000000, ptr noundef null)
          to label %328 unwind label %440

328:                                              ; preds = %323
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef %321)
          to label %329 unwind label %436

329:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  store i32 0, ptr %47, align 4, !tbaa !18
  br label %330

330:                                              ; preds = %502, %329
  %331 = load i32, ptr %47, align 4, !tbaa !18
  %332 = icmp slt i32 %331, 7
  br i1 %332, label %444, label %333

333:                                              ; preds = %330
  store i32 2, ptr %48, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %505

334:                                              ; preds = %71, %70, %59, %57, %1
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %7, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #9
  %338 = load i1, ptr %9, align 1
  br i1 %338, label %339, label %340

339:                                              ; preds = %334
  call void @_ZN3JPH18PlaneShapeSettingsdlEPv(ptr noundef %56) #9
  br label %340

340:                                              ; preds = %339, %334
  br label %509

341:                                              ; preds = %79, %77, %76, %72
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %7, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %8, align 4
  br label %349

345:                                              ; preds = %95
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %7, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #9
  br label %349

349:                                              ; preds = %345, %341
  call void @llvm.lifetime.end.p0(i64 256, ptr %10) #9
  br label %508

350:                                              ; preds = %120, %118, %117, %97
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %7, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %8, align 4
  br label %362

354:                                              ; preds = %106, %104, %102
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %7, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %8, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %101) #9
  br label %362

358:                                              ; preds = %136
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %7, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #9
  br label %362

362:                                              ; preds = %358, %354, %350
  call void @llvm.lifetime.end.p0(i64 256, ptr %14) #9
  br label %508

363:                                              ; preds = %161, %159, %158, %138
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %7, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %8, align 4
  br label %375

367:                                              ; preds = %147, %145, %143
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %7, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %8, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %142) #9
  br label %375

371:                                              ; preds = %177
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %7, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %19) #9
  br label %375

375:                                              ; preds = %371, %367, %363
  call void @llvm.lifetime.end.p0(i64 256, ptr %19) #9
  br label %508

376:                                              ; preds = %195, %193, %192, %179
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %7, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %8, align 4
  br label %388

380:                                              ; preds = %187, %186, %184
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %7, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %8, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %183) #9
  br label %388

384:                                              ; preds = %211
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %7, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %24) #9
  br label %388

388:                                              ; preds = %384, %380, %376
  call void @llvm.lifetime.end.p0(i64 256, ptr %24) #9
  br label %508

389:                                              ; preds = %229, %227, %226, %213
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %7, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %8, align 4
  br label %401

393:                                              ; preds = %221, %220, %218
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %7, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %8, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %217) #9
  br label %401

397:                                              ; preds = %245
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %7, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %29) #9
  br label %401

401:                                              ; preds = %397, %393, %389
  call void @llvm.lifetime.end.p0(i64 256, ptr %29) #9
  br label %508

402:                                              ; preds = %263, %261, %260, %247
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %7, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %8, align 4
  br label %414

406:                                              ; preds = %255, %254, %252
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %7, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %8, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %251) #9
  br label %414

410:                                              ; preds = %279
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %7, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %34) #9
  br label %414

414:                                              ; preds = %410, %406, %402
  call void @llvm.lifetime.end.p0(i64 256, ptr %34) #9
  br label %508

415:                                              ; preds = %297, %295, %294, %281
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %7, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %8, align 4
  br label %427

419:                                              ; preds = %289, %288, %286
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %7, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %8, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %285) #9
  br label %427

423:                                              ; preds = %313
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %7, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %39) #9
  br label %427

427:                                              ; preds = %423, %419, %415
  call void @llvm.lifetime.end.p0(i64 256, ptr %39) #9
  br label %508

428:                                              ; preds = %319, %315
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %7, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %8, align 4
  br label %507

432:                                              ; preds = %318
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %7, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %8, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %317) #9
  br label %507

436:                                              ; preds = %328, %320
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %7, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %8, align 4
  br label %506

440:                                              ; preds = %323, %322
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %7, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %8, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %321) #9
  br label %506

444:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #9
  store i32 0, ptr %49, align 4, !tbaa !18
  br label %445

445:                                              ; preds = %489, %444
  %446 = load i32, ptr %49, align 4, !tbaa !18
  %447 = icmp slt i32 %446, 5
  br i1 %447, label %449, label %448

448:                                              ; preds = %445
  store i32 5, ptr %48, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  br label %501

449:                                              ; preds = %445
  %450 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 3
  %451 = load ptr, ptr %450, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %50) #9
  %452 = load i32, ptr %49, align 4, !tbaa !18
  %453 = and i32 %452, 1
  %454 = icmp ne i32 %453, 0
  br i1 %454, label %455, label %456

455:                                              ; preds = %449
  br label %457

456:                                              ; preds = %449
  br label %457

457:                                              ; preds = %456, %455
  %458 = phi ptr [ %45, %455 ], [ %44, %456 ]
  %459 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %458)
          to label %460 unwind label %492

460:                                              ; preds = %457
  %461 = load i32, ptr %47, align 4, !tbaa !18
  %462 = sitofp i32 %461 to float
  %463 = call float @llvm.fmuladd.f32(float 2.000000e+01, float %462, float -6.000000e+01)
  %464 = load i32, ptr %49, align 4, !tbaa !18
  %465 = sitofp i32 %464 to float
  %466 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %465, float 1.500000e+01)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %51, float noundef %463, float noundef %466, float noundef 0.000000e+00)
          to label %467 unwind label %492

467:                                              ; preds = %460
  %468 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %469 unwind label %492

469:                                              ; preds = %467
  %470 = getelementptr inbounds %"class.JPH::Quat", ptr %52, i32 0, i32 0
  %471 = getelementptr inbounds %"class.JPH::Vec4", ptr %470, i32 0, i32 0
  %472 = getelementptr inbounds %union.anon.4, ptr %471, i32 0, i32 0
  %473 = getelementptr inbounds { double, double }, ptr %472, i32 0, i32 0
  %474 = extractvalue { double, double } %468, 0
  store double %474, ptr %473, align 16
  %475 = getelementptr inbounds { double, double }, ptr %472, i32 0, i32 1
  %476 = extractvalue { double, double } %468, 1
  store double %476, ptr %475, align 8
  %477 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %478 = load double, ptr %477, align 16
  %479 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %480 = load double, ptr %479, align 8
  %481 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %482 = load double, ptr %481, align 16
  %483 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %484 = load double, ptr %483, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %50, ptr noundef %459, double %478, double %480, double %482, double %484, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %485 unwind label %492

485:                                              ; preds = %469
  %486 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %451, ptr noundef nonnull align 16 dereferenceable(256) %50, i32 noundef 0)
          to label %487 unwind label %496

487:                                              ; preds = %485
  %488 = getelementptr inbounds %"class.JPH::BodyID", ptr %53, i32 0, i32 0
  store i32 %486, ptr %488, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %50) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %50) #9
  br label %489

489:                                              ; preds = %487
  %490 = load i32, ptr %49, align 4, !tbaa !18
  %491 = add nsw i32 %490, 1
  store i32 %491, ptr %49, align 4, !tbaa !18
  br label %445, !llvm.loop !20

492:                                              ; preds = %469, %467, %460, %457
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %7, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %8, align 4
  br label %500

496:                                              ; preds = %485
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %7, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %8, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %50) #9
  br label %500

500:                                              ; preds = %496, %492
  call void @llvm.lifetime.end.p0(i64 256, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  br label %506

501:                                              ; preds = %448
  br label %502

502:                                              ; preds = %501
  %503 = load i32, ptr %47, align 4, !tbaa !18
  %504 = add nsw i32 %503, 1
  store i32 %504, ptr %47, align 4, !tbaa !18
  br label %330, !llvm.loop !22

505:                                              ; preds = %333
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  ret void

506:                                              ; preds = %500, %440, %436
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  br label %507

507:                                              ; preds = %506, %432, %428
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %508

508:                                              ; preds = %507, %427, %414, %401, %388, %375, %362, %349
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  br label %509

509:                                              ; preds = %508, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  br label %510

510:                                              ; preds = %509
  %511 = load ptr, ptr %7, align 8
  %512 = load i32, ptr %8, align 4
  %513 = insertvalue { ptr, i32 } poison, ptr %511, 0
  %514 = insertvalue { ptr, i32 } %513, i32 %512, 1
  resume { ptr, i32 } %514
}

declare noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112), float noundef) #2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) #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: mustprogress uwtable
declare dso_local void @_ZN3JPH18PlaneShapeSettingsC2ERKNS_5PlaneEPKNS_15PhysicsMaterialEf(ptr noundef nonnull align 16 dereferenceable(96), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef, float noundef) unnamed_addr #1 align 2

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef) #6 align 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) #6 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef) #3 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 #1 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #8

; 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 @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 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 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


; 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::RefConst.6" = type { ptr }
%"class.JPH::Plane" = 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::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.6", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.5", i32, i32 }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst" = type { ptr }

; 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 @_ZN20ScaledPlaneShapeTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(112) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::RefConst.6", align 8
  %3 = alloca %"class.JPH::Plane", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::BodyCreationSettings", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::BodyCreationSettings", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::BodyCreationSettings", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::BodyCreationSettings", align 16
  %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::Vec3", align 16
  %17 = alloca %"class.JPH::BodyCreationSettings", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::BodyCreationSettings", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::RefConst", align 8
  %24 = alloca %"class.JPH::RefConst", align 8
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::BodyCreationSettings", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = tail call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %0, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %29 = tail call noundef ptr @_ZN3JPH18PlaneShapeSettingsnwEm(i64 noundef 96)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 0x3FB99999A0000000, float noundef 1.000000e+00, float noundef 0x3FB99999A0000000)
          to label %30 unwind label %188

30:                                               ; preds = %1
  %31 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %4)
          to label %32 unwind label %188

32:                                               ; preds = %30
  %33 = extractvalue { double, double } %31, 0
  %34 = extractvalue { double, double } %31, 1
  invoke void @_ZN3JPH5PlaneC2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %3, double %33, double %34, float noundef -5.000000e-01)
          to label %35 unwind label %188

35:                                               ; preds = %32
  invoke void @_ZN3JPH18PlaneShapeSettingsC2ERKNS_5PlaneEPKNS_15PhysicsMaterialEf(ptr noundef nonnull align 16 dereferenceable(96) %29, ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef null, float noundef 5.000000e+00)
          to label %36 unwind label %188

36:                                               ; preds = %35
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %29)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  %37 = getelementptr inbounds i8, ptr %0, i64 24
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %39 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef -6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %40 unwind label %189

40:                                               ; preds = %36
  %41 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %42 unwind label %189

42:                                               ; preds = %40
  %43 = extractvalue { double, double } %41, 0
  %44 = extractvalue { double, double } %41, 1
  %45 = load double, ptr %6, align 16
  %46 = getelementptr inbounds i8, ptr %6, i64 8
  %47 = load double, ptr %46, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %39, double %45, double %47, double %43, double %44, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %48 unwind label %189

48:                                               ; preds = %42
  %49 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %50 unwind label %191

50:                                               ; preds = %48
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  %51 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #9
  %52 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %53 unwind label %194

53:                                               ; preds = %50
  %54 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %55 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 5.000000e-01)
          to label %56 unwind label %196

56:                                               ; preds = %53
  %57 = extractvalue { double, double } %55, 0
  %58 = extractvalue { double, double } %55, 1
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %52, ptr noundef %54, double %57, double %58)
          to label %59 unwind label %196

59:                                               ; preds = %56
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef -4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %60 unwind label %194

60:                                               ; preds = %59
  %61 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %62 unwind label %194

62:                                               ; preds = %60
  %63 = extractvalue { double, double } %61, 0
  %64 = extractvalue { double, double } %61, 1
  %65 = load double, ptr %8, align 16
  %66 = getelementptr inbounds i8, ptr %8, i64 8
  %67 = load double, ptr %66, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %7, ptr noundef nonnull %52, double %65, double %67, double %63, double %64, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %68 unwind label %194

68:                                               ; preds = %62
  %69 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 16 dereferenceable(256) %7, i32 noundef 1)
          to label %70 unwind label %198

70:                                               ; preds = %68
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %7) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #9
  %71 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %9) #9
  %72 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %73 unwind label %201

73:                                               ; preds = %70
  %74 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %75 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.500000e+00)
          to label %76 unwind label %203

76:                                               ; preds = %73
  %77 = extractvalue { double, double } %75, 0
  %78 = extractvalue { double, double } %75, 1
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %72, ptr noundef %74, double %77, double %78)
          to label %79 unwind label %203

79:                                               ; preds = %76
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef -2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %80 unwind label %201

80:                                               ; preds = %79
  %81 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %82 unwind label %201

82:                                               ; preds = %80
  %83 = extractvalue { double, double } %81, 0
  %84 = extractvalue { double, double } %81, 1
  %85 = load double, ptr %10, align 16
  %86 = getelementptr inbounds i8, ptr %10, i64 8
  %87 = load double, ptr %86, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %9, ptr noundef nonnull %72, double %85, double %87, double %83, double %84, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %88 unwind label %201

88:                                               ; preds = %82
  %89 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 16 dereferenceable(256) %9, i32 noundef 1)
          to label %90 unwind label %205

90:                                               ; preds = %88
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %9) #9
  %91 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %11) #9
  %92 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %93 unwind label %208

93:                                               ; preds = %90
  %94 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %95 unwind label %210

95:                                               ; preds = %93
  %96 = load double, ptr %12, align 16
  %97 = getelementptr inbounds i8, ptr %12, i64 8
  %98 = load double, ptr %97, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %92, ptr noundef %94, double %96, double %98)
          to label %99 unwind label %210

99:                                               ; preds = %95
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %100 unwind label %208

100:                                              ; preds = %99
  %101 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %102 unwind label %208

102:                                              ; preds = %100
  %103 = extractvalue { double, double } %101, 0
  %104 = extractvalue { double, double } %101, 1
  %105 = load double, ptr %13, align 16
  %106 = getelementptr inbounds i8, ptr %13, i64 8
  %107 = load double, ptr %106, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %11, ptr noundef nonnull %92, double %105, double %107, double %103, double %104, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %108 unwind label %208

108:                                              ; preds = %102
  %109 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef nonnull align 16 dereferenceable(256) %11, i32 noundef 1)
          to label %110 unwind label %212

110:                                              ; preds = %108
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %11) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %11) #9
  %111 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %14) #9
  %112 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %113 unwind label %215

113:                                              ; preds = %110
  %114 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef -1.500000e+00)
          to label %115 unwind label %217

115:                                              ; preds = %113
  %116 = load double, ptr %15, align 16
  %117 = getelementptr inbounds i8, ptr %15, i64 8
  %118 = load double, ptr %117, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %112, ptr noundef %114, double %116, double %118)
          to label %119 unwind label %217

119:                                              ; preds = %115
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef 2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %120 unwind label %215

120:                                              ; preds = %119
  %121 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %122 unwind label %215

122:                                              ; preds = %120
  %123 = extractvalue { double, double } %121, 0
  %124 = extractvalue { double, double } %121, 1
  %125 = load double, ptr %16, align 16
  %126 = getelementptr inbounds i8, ptr %16, i64 8
  %127 = load double, ptr %126, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %14, ptr noundef nonnull %112, double %125, double %127, double %123, double %124, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %128 unwind label %215

128:                                              ; preds = %122
  %129 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef nonnull align 16 dereferenceable(256) %14, i32 noundef 1)
          to label %130 unwind label %219

130:                                              ; preds = %128
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #9
  %131 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %17) #9
  %132 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %133 unwind label %222

133:                                              ; preds = %130
  %134 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %135 unwind label %224

135:                                              ; preds = %133
  %136 = load double, ptr %18, align 16
  %137 = getelementptr inbounds i8, ptr %18, i64 8
  %138 = load double, ptr %137, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %132, ptr noundef %134, double %136, double %138)
          to label %139 unwind label %224

139:                                              ; preds = %135
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %140 unwind label %222

140:                                              ; preds = %139
  %141 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %142 unwind label %222

142:                                              ; preds = %140
  %143 = extractvalue { double, double } %141, 0
  %144 = extractvalue { double, double } %141, 1
  %145 = load double, ptr %19, align 16
  %146 = getelementptr inbounds i8, ptr %19, i64 8
  %147 = load double, ptr %146, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %17, ptr noundef nonnull %132, double %145, double %147, double %143, double %144, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %148 unwind label %222

148:                                              ; preds = %142
  %149 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef nonnull align 16 dereferenceable(256) %17, i32 noundef 1)
          to label %150 unwind label %226

150:                                              ; preds = %148
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %17) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %17) #9
  %151 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %20) #9
  %152 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %153 unwind label %229

153:                                              ; preds = %150
  %154 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef 5.000000e-01, float noundef -1.000000e+00, float noundef 1.500000e+00)
          to label %155 unwind label %231

155:                                              ; preds = %153
  %156 = load double, ptr %21, align 16
  %157 = getelementptr inbounds i8, ptr %21, i64 8
  %158 = load double, ptr %157, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %152, ptr noundef %154, double %156, double %158)
          to label %159 unwind label %231

159:                                              ; preds = %155
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %22, float noundef 6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %160 unwind label %229

160:                                              ; preds = %159
  %161 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %162 unwind label %229

162:                                              ; preds = %160
  %163 = extractvalue { double, double } %161, 0
  %164 = extractvalue { double, double } %161, 1
  %165 = load double, ptr %22, align 16
  %166 = getelementptr inbounds i8, ptr %22, i64 8
  %167 = load double, ptr %166, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %20, ptr noundef nonnull %152, double %165, double %167, double %163, double %164, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %168 unwind label %229

168:                                              ; preds = %162
  %169 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %151, ptr noundef nonnull align 16 dereferenceable(256) %20, i32 noundef 1)
          to label %170 unwind label %233

170:                                              ; preds = %168
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %20) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %171 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %172 unwind label %236

172:                                              ; preds = %170
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %171, float noundef 0x3FC99999A0000000, ptr noundef null)
          to label %173 unwind label %238

173:                                              ; preds = %172
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull %171)
          to label %174 unwind label %236

174:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  %175 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %176 unwind label %240

176:                                              ; preds = %174
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FD99999A0000000)
          to label %177 unwind label %242

177:                                              ; preds = %176
  %178 = load double, ptr %25, align 16
  %179 = getelementptr inbounds i8, ptr %25, i64 8
  %180 = load double, ptr %179, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %175, double %178, double %180, float noundef 0x3F847AE140000000, ptr noundef null)
          to label %181 unwind label %242

181:                                              ; preds = %177
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull %175)
          to label %.preheader75 unwind label %240

.preheader75:                                     ; preds = %181
  %182 = getelementptr inbounds i8, ptr %27, i64 8
  br label %.preheader

.preheader:                                       ; preds = %.preheader75, %301
  %.05277 = phi i32 [ 0, %.preheader75 ], [ %302, %301 ]
  %183 = uitofp nneg i32 %.05277 to float
  %184 = call float @llvm.fmuladd.f32(float %183, float 2.000000e+01, float -6.000000e+01)
  %185 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %26) #9
  %186 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %184, float noundef 1.500000e+01, float noundef 0.000000e+00)
          to label %244 unwind label %303

187:                                              ; preds = %301
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  ret void

188:                                              ; preds = %35, %32, %30, %1
  %lpad.thr_comm = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  call void @_ZN3JPH18PlaneShapeSettingsdlEPv(ptr noundef %29) #9
  br label %311

189:                                              ; preds = %42, %40, %36
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %193

191:                                              ; preds = %48
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  br label %193

193:                                              ; preds = %191, %189
  %.pn = phi { ptr, i32 } [ %192, %191 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  br label %310

194:                                              ; preds = %62, %60, %59, %50
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %200

196:                                              ; preds = %56, %53
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %52) #9
  br label %200

198:                                              ; preds = %68
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %7) #9
  br label %200

200:                                              ; preds = %198, %196, %194
  %.pn54 = phi { ptr, i32 } [ %199, %198 ], [ %195, %194 ], [ %197, %196 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #9
  br label %310

201:                                              ; preds = %82, %80, %79, %70
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %207

203:                                              ; preds = %76, %73
  %204 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %72) #9
  br label %207

205:                                              ; preds = %88
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #9
  br label %207

207:                                              ; preds = %205, %203, %201
  %.pn56 = phi { ptr, i32 } [ %206, %205 ], [ %202, %201 ], [ %204, %203 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %9) #9
  br label %310

208:                                              ; preds = %102, %100, %99, %90
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %214

210:                                              ; preds = %95, %93
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %92) #9
  br label %214

212:                                              ; preds = %108
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %11) #9
  br label %214

214:                                              ; preds = %212, %210, %208
  %.pn58 = phi { ptr, i32 } [ %213, %212 ], [ %209, %208 ], [ %211, %210 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %11) #9
  br label %310

215:                                              ; preds = %122, %120, %119, %110
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %221

217:                                              ; preds = %115, %113
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %112) #9
  br label %221

219:                                              ; preds = %128
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #9
  br label %221

221:                                              ; preds = %219, %217, %215
  %.pn60 = phi { ptr, i32 } [ %220, %219 ], [ %216, %215 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #9
  br label %310

222:                                              ; preds = %142, %140, %139, %130
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %228

224:                                              ; preds = %135, %133
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %132) #9
  br label %228

226:                                              ; preds = %148
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %17) #9
  br label %228

228:                                              ; preds = %226, %224, %222
  %.pn62 = phi { ptr, i32 } [ %227, %226 ], [ %223, %222 ], [ %225, %224 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %17) #9
  br label %310

229:                                              ; preds = %162, %160, %159, %150
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %235

231:                                              ; preds = %155, %153
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %152) #9
  br label %235

233:                                              ; preds = %168
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %20) #9
  br label %235

235:                                              ; preds = %233, %231, %229
  %.pn64 = phi { ptr, i32 } [ %234, %233 ], [ %230, %229 ], [ %232, %231 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %20) #9
  br label %310

236:                                              ; preds = %173, %170
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %309

238:                                              ; preds = %172
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %171) #9
  br label %309

240:                                              ; preds = %181, %174
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %308

242:                                              ; preds = %177, %176
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %175) #9
  br label %308

244:                                              ; preds = %.preheader
  %245 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %246 unwind label %303

246:                                              ; preds = %244
  %247 = extractvalue { double, double } %245, 0
  %248 = extractvalue { double, double } %245, 1
  %249 = load double, ptr %27, align 16
  %250 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %26, ptr noundef %186, double %249, double %250, double %247, double %248, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %251 unwind label %303

251:                                              ; preds = %246
  %252 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %185, ptr noundef nonnull align 16 dereferenceable(256) %26, i32 noundef 0)
          to label %253 unwind label %305

253:                                              ; preds = %251
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #9
  %254 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %26) #9
  %255 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %184, float noundef 1.550000e+01, float noundef 0.000000e+00)
          to label %256 unwind label %303

256:                                              ; preds = %253
  %257 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %258 unwind label %303

258:                                              ; preds = %256
  %259 = extractvalue { double, double } %257, 0
  %260 = extractvalue { double, double } %257, 1
  %261 = load double, ptr %27, align 16
  %262 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %26, ptr noundef %255, double %261, double %262, double %259, double %260, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %263 unwind label %303

263:                                              ; preds = %258
  %264 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %254, ptr noundef nonnull align 16 dereferenceable(256) %26, i32 noundef 0)
          to label %265 unwind label %305

265:                                              ; preds = %263
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #9
  %266 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %26) #9
  %267 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %184, float noundef 1.600000e+01, float noundef 0.000000e+00)
          to label %268 unwind label %303

268:                                              ; preds = %265
  %269 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %270 unwind label %303

270:                                              ; preds = %268
  %271 = extractvalue { double, double } %269, 0
  %272 = extractvalue { double, double } %269, 1
  %273 = load double, ptr %27, align 16
  %274 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %26, ptr noundef %267, double %273, double %274, double %271, double %272, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %275 unwind label %303

275:                                              ; preds = %270
  %276 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %266, ptr noundef nonnull align 16 dereferenceable(256) %26, i32 noundef 0)
          to label %277 unwind label %305

277:                                              ; preds = %275
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #9
  %278 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %26) #9
  %279 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %184, float noundef 1.650000e+01, float noundef 0.000000e+00)
          to label %280 unwind label %303

280:                                              ; preds = %277
  %281 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %282 unwind label %303

282:                                              ; preds = %280
  %283 = extractvalue { double, double } %281, 0
  %284 = extractvalue { double, double } %281, 1
  %285 = load double, ptr %27, align 16
  %286 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %26, ptr noundef %279, double %285, double %286, double %283, double %284, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %287 unwind label %303

287:                                              ; preds = %282
  %288 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %278, ptr noundef nonnull align 16 dereferenceable(256) %26, i32 noundef 0)
          to label %289 unwind label %305

289:                                              ; preds = %287
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #9
  %290 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %26) #9
  %291 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %184, float noundef 1.700000e+01, float noundef 0.000000e+00)
          to label %292 unwind label %303

292:                                              ; preds = %289
  %293 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %294 unwind label %303

294:                                              ; preds = %292
  %295 = extractvalue { double, double } %293, 0
  %296 = extractvalue { double, double } %293, 1
  %297 = load double, ptr %27, align 16
  %298 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %26, ptr noundef %291, double %297, double %298, double %295, double %296, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %299 unwind label %303

299:                                              ; preds = %294
  %300 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %290, ptr noundef nonnull align 16 dereferenceable(256) %26, i32 noundef 0)
          to label %301 unwind label %305

301:                                              ; preds = %299
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #9
  %302 = add nuw nsw i32 %.05277, 1
  %exitcond.not = icmp eq i32 %302, 7
  br i1 %exitcond.not, label %187, label %.preheader, !llvm.loop !17

303:                                              ; preds = %294, %292, %289, %282, %280, %277, %270, %268, %265, %258, %256, %253, %246, %244, %.preheader
  %304 = landingpad { ptr, i32 }
          cleanup
  br label %307

305:                                              ; preds = %299, %287, %275, %263, %251
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %26) #9
  br label %307

307:                                              ; preds = %305, %303
  %.pn66 = phi { ptr, i32 } [ %306, %305 ], [ %304, %303 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %308

308:                                              ; preds = %307, %242, %240
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %307 ], [ %241, %240 ], [ %243, %242 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %309

309:                                              ; preds = %308, %238, %236
  %.pn66.pn.pn = phi { ptr, i32 } [ %.pn66.pn, %308 ], [ %237, %236 ], [ %239, %238 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %310

310:                                              ; preds = %309, %235, %228, %221, %214, %207, %200, %193
  %.pn66.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn, %309 ], [ %.pn64, %235 ], [ %.pn62, %228 ], [ %.pn60, %221 ], [ %.pn58, %214 ], [ %.pn56, %207 ], [ %.pn54, %200 ], [ %.pn, %193 ]
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br label %311

311:                                              ; preds = %188, %310
  %.pn66.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn.pn, %310 ], [ %lpad.thr_comm, %188 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn66.pn.pn.pn.pn
}

declare noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112), float noundef) local_unnamed_addr #2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) 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: mustprogress uwtable
declare dso_local void @_ZN3JPH18PlaneShapeSettingsC2ERKNS_5PlaneEPKNS_15PhysicsMaterialEf(ptr noundef nonnull align 16 dereferenceable(96), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef, float noundef) unnamed_addr #1 align 2

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

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

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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7 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_13ShapeSettingsENS_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 #7 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef) local_unnamed_addr #6 align 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 #6 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef) local_unnamed_addr #3 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 #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8BoxShapedlEPv(ptr noundef) local_unnamed_addr #6 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 #7 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #8

; 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 @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 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 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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