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

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

56:                                               ; preds = %1
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+01)
          to label %57 unwind label %333

57:                                               ; preds = %56
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 1.000000e+01, float noundef -2.000000e+00, float noundef -1.000000e+01)
          to label %58 unwind label %333

58:                                               ; preds = %57
  %59 = getelementptr inbounds { double, double }, ptr %4, i32 0, i32 0
  %60 = load double, ptr %59, align 16
  %61 = getelementptr inbounds { double, double }, ptr %4, i32 0, i32 1
  %62 = load double, ptr %61, align 8
  %63 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %64 = load double, ptr %63, align 16
  %65 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %66 = load double, ptr %65, align 8
  %67 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  %68 = load double, ptr %67, align 16
  %69 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  %70 = load double, ptr %69, align 8
  invoke void @_ZN3JPH13TriangleShapeC2ENS_4Vec3ES1_S1_fPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(112) %55, double %60, double %62, double %64, double %66, double %68, double %70, float noundef 0.000000e+00, ptr noundef null)
          to label %71 unwind label %333

71:                                               ; preds = %58
  call void @_ZN3JPH8RefConstINS_13TriangleShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %55)
  %72 = getelementptr inbounds %class.Test, ptr %53, i32 0, i32 3
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %9) #9
  %74 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %75 unwind label %337

75:                                               ; preds = %71
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef -6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %76 unwind label %337

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

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

94:                                               ; preds = %78
  %95 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 16 dereferenceable(256) %9, i32 noundef 1)
          to label %96 unwind label %341

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

101:                                              ; preds = %96
  %102 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %103 unwind label %350

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

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

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

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

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

135:                                              ; preds = %119
  %136 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 16 dereferenceable(256) %13, i32 noundef 1)
          to label %137 unwind label %354

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

142:                                              ; preds = %137
  %143 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %144 unwind label %363

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

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

157:                                              ; preds = %146
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef -2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %158 unwind label %359

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

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

176:                                              ; preds = %160
  %177 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %140, ptr noundef nonnull align 16 dereferenceable(256) %18, i32 noundef 1)
          to label %178 unwind label %367

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

183:                                              ; preds = %178
  %184 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %185 unwind label %376

185:                                              ; preds = %183
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %186 unwind label %376

186:                                              ; preds = %185
  %187 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %188 = load double, ptr %187, align 16
  %189 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %190 = load double, ptr %189, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %182, ptr noundef %184, double %188, double %190)
          to label %191 unwind label %376

191:                                              ; preds = %186
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %192 unwind label %372

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

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

210:                                              ; preds = %194
  %211 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %181, ptr noundef nonnull align 16 dereferenceable(256) %23, i32 noundef 1)
          to label %212 unwind label %380

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

217:                                              ; preds = %212
  %218 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %219 unwind label %389

219:                                              ; preds = %217
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef -1.500000e+00)
          to label %220 unwind label %389

220:                                              ; preds = %219
  %221 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %222 = load double, ptr %221, align 16
  %223 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %224 = load double, ptr %223, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %216, ptr noundef %218, double %222, double %224)
          to label %225 unwind label %389

225:                                              ; preds = %220
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef 2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %226 unwind label %385

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

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

244:                                              ; preds = %228
  %245 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %215, ptr noundef nonnull align 16 dereferenceable(256) %28, i32 noundef 1)
          to label %246 unwind label %393

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

251:                                              ; preds = %246
  %252 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %253 unwind label %402

253:                                              ; preds = %251
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %254 unwind label %402

254:                                              ; preds = %253
  %255 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %256 = load double, ptr %255, align 16
  %257 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %258 = load double, ptr %257, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %250, ptr noundef %252, double %256, double %258)
          to label %259 unwind label %402

259:                                              ; preds = %254
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %35, float noundef 4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %260 unwind label %398

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

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

278:                                              ; preds = %262
  %279 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %249, ptr noundef nonnull align 16 dereferenceable(256) %33, i32 noundef 1)
          to label %280 unwind label %406

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

285:                                              ; preds = %280
  %286 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %287 unwind label %415

287:                                              ; preds = %285
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %39, float noundef 5.000000e-01, float noundef -1.000000e+00, float noundef 1.500000e+00)
          to label %288 unwind label %415

288:                                              ; preds = %287
  %289 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %290 = load double, ptr %289, align 16
  %291 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %292 = load double, ptr %291, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %284, ptr noundef %286, double %290, double %292)
          to label %293 unwind label %415

293:                                              ; preds = %288
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef 6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %294 unwind label %411

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

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

312:                                              ; preds = %296
  %313 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %283, ptr noundef nonnull align 16 dereferenceable(256) %38, i32 noundef 1)
          to label %314 unwind label %419

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

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

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

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

321:                                              ; preds = %319
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %45, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FD99999A0000000)
          to label %322 unwind label %436

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

327:                                              ; preds = %322
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef %320)
          to label %328 unwind label %432

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

329:                                              ; preds = %498, %328
  %330 = load i32, ptr %46, align 4, !tbaa !18
  %331 = icmp slt i32 %330, 7
  br i1 %331, label %440, label %332

332:                                              ; preds = %329
  store i32 2, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %501

333:                                              ; preds = %58, %57, %56, %1
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %5, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %6, align 4
  call void @_ZN3JPH13TriangleShapedlEPv(ptr noundef %55) #9
  br label %505

337:                                              ; preds = %78, %76, %75, %71
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %5, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %6, align 4
  br label %345

341:                                              ; preds = %94
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %5, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #9
  br label %345

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

346:                                              ; preds = %119, %117, %116, %96
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %5, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %6, align 4
  br label %358

350:                                              ; preds = %105, %103, %101
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %5, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %6, align 4
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %100) #9
  br label %358

354:                                              ; preds = %135
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %5, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %13) #9
  br label %358

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

359:                                              ; preds = %160, %158, %157, %137
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %5, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %6, align 4
  br label %371

363:                                              ; preds = %146, %144, %142
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %5, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %6, align 4
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %141) #9
  br label %371

367:                                              ; preds = %176
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %5, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %18) #9
  br label %371

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

372:                                              ; preds = %194, %192, %191, %178
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %5, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %6, align 4
  br label %384

376:                                              ; preds = %186, %185, %183
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %5, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %6, align 4
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %182) #9
  br label %384

380:                                              ; preds = %210
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %5, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %23) #9
  br label %384

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

385:                                              ; preds = %228, %226, %225, %212
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %5, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %6, align 4
  br label %397

389:                                              ; preds = %220, %219, %217
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %5, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %6, align 4
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %216) #9
  br label %397

393:                                              ; preds = %244
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %5, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %28) #9
  br label %397

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

398:                                              ; preds = %262, %260, %259, %246
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %5, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %6, align 4
  br label %410

402:                                              ; preds = %254, %253, %251
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %5, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %6, align 4
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %250) #9
  br label %410

406:                                              ; preds = %278
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %5, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #9
  br label %410

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

411:                                              ; preds = %296, %294, %293, %280
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %5, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %6, align 4
  br label %423

415:                                              ; preds = %288, %287, %285
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %5, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %6, align 4
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %284) #9
  br label %423

419:                                              ; preds = %312
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %5, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %38) #9
  br label %423

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

424:                                              ; preds = %318, %314
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %5, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %6, align 4
  br label %503

428:                                              ; preds = %317
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %5, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %6, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %316) #9
  br label %503

432:                                              ; preds = %327, %319
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %5, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %6, align 4
  br label %502

436:                                              ; preds = %322, %321
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %5, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %6, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %320) #9
  br label %502

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

441:                                              ; preds = %485, %440
  %442 = load i32, ptr %48, align 4, !tbaa !18
  %443 = icmp slt i32 %442, 5
  br i1 %443, label %445, label %444

444:                                              ; preds = %441
  store i32 5, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  br label %497

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

451:                                              ; preds = %445
  br label %453

452:                                              ; preds = %445
  br label %453

453:                                              ; preds = %452, %451
  %454 = phi ptr [ %44, %451 ], [ %43, %452 ]
  %455 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %454)
          to label %456 unwind label %488

456:                                              ; preds = %453
  %457 = load i32, ptr %46, align 4, !tbaa !18
  %458 = sitofp i32 %457 to float
  %459 = call float @llvm.fmuladd.f32(float 2.000000e+01, float %458, float -6.000000e+01)
  %460 = load i32, ptr %48, align 4, !tbaa !18
  %461 = sitofp i32 %460 to float
  %462 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %461, float 1.000000e+01)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %50, float noundef %459, float noundef %462, float noundef 0.000000e+00)
          to label %463 unwind label %488

463:                                              ; preds = %456
  %464 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %465 unwind label %488

465:                                              ; preds = %463
  %466 = getelementptr inbounds %"class.JPH::Quat", ptr %51, i32 0, i32 0
  %467 = getelementptr inbounds %"class.JPH::Vec4", ptr %466, i32 0, i32 0
  %468 = getelementptr inbounds %union.anon.4, ptr %467, i32 0, i32 0
  %469 = getelementptr inbounds { double, double }, ptr %468, i32 0, i32 0
  %470 = extractvalue { double, double } %464, 0
  store double %470, ptr %469, align 16
  %471 = getelementptr inbounds { double, double }, ptr %468, i32 0, i32 1
  %472 = extractvalue { double, double } %464, 1
  store double %472, ptr %471, align 8
  %473 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %474 = load double, ptr %473, align 16
  %475 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %476 = load double, 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
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %49, ptr noundef %455, double %474, double %476, double %478, double %480, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %481 unwind label %488

481:                                              ; preds = %465
  %482 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %447, ptr noundef nonnull align 16 dereferenceable(256) %49, i32 noundef 0)
          to label %483 unwind label %492

483:                                              ; preds = %481
  %484 = getelementptr inbounds %"class.JPH::BodyID", ptr %52, i32 0, i32 0
  store i32 %482, ptr %484, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %49) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr %49) #9
  br label %485

485:                                              ; preds = %483
  %486 = load i32, ptr %48, align 4, !tbaa !18
  %487 = add nsw i32 %486, 1
  store i32 %487, ptr %48, align 4, !tbaa !18
  br label %441, !llvm.loop !20

488:                                              ; preds = %465, %463, %456, %453
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %5, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %6, align 4
  br label %496

492:                                              ; preds = %481
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %5, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %49) #9
  br label %496

496:                                              ; preds = %492, %488
  call void @llvm.lifetime.end.p0(i64 256, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  br label %502

497:                                              ; preds = %444
  br label %498

498:                                              ; preds = %497
  %499 = load i32, ptr %46, align 4, !tbaa !18
  %500 = add nsw i32 %499, 1
  store i32 %500, ptr %46, align 4, !tbaa !18
  br label %329, !llvm.loop !22

501:                                              ; preds = %332
  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_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  call void @_ZN3JPH8RefConstINS_13TriangleShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  ret void

502:                                              ; preds = %496, %436, %432
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  br label %503

503:                                              ; preds = %502, %428, %424
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  br label %504

504:                                              ; preds = %503, %423, %410, %397, %384, %371, %358, %345
  call void @_ZN3JPH8RefConstINS_13TriangleShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  br label %505

505:                                              ; preds = %504, %333
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  br label %506

506:                                              ; preds = %505
  %507 = load ptr, ptr %5, align 8
  %508 = load i32, ptr %6, align 4
  %509 = insertvalue { ptr, i32 } poison, ptr %507, 0
  %510 = insertvalue { ptr, i32 } %509, i32 %508, 1
  resume { ptr, i32 } %510
}

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 @_ZN3JPH13TriangleShapenwEm(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: mustprogress uwtable
declare dso_local void @_ZN3JPH13TriangleShapeC2ENS_4Vec3ES1_S1_fPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(112), double, double, double, double, double, double, float noundef, ptr noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_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_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256), ptr noundef, double, double, double, double, i8 noundef zeroext, i16 noundef zeroext) unnamed_addr #1 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH11ScaledShapenwEm(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 @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef, double, double) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #6 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) #5 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: 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_13TriangleShapeEED2Ev(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 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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::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.10", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"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.10" = type { ptr }
%"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 @_ZN23ScaledTriangleShapeTest10InitializeEv(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::Vec3", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::BodyCreationSettings", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::BodyCreationSettings", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::BodyCreationSettings", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::BodyCreationSettings", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::BodyCreationSettings", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::BodyCreationSettings", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::BodyCreationSettings", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::RefConst", align 8
  %25 = alloca %"class.JPH::RefConst", align 8
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::BodyCreationSettings", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = 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
  %30 = tail call noundef ptr @_ZN3JPH13TriangleShapenwEm(i64 noundef 112)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %3, float noundef -1.000000e+01, float noundef -1.000000e+00, float noundef 0.000000e+00)
          to label %31 unwind label %195

31:                                               ; preds = %1
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+01)
          to label %32 unwind label %195

32:                                               ; preds = %31
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef 1.000000e+01, float noundef -2.000000e+00, float noundef -1.000000e+01)
          to label %33 unwind label %195

33:                                               ; preds = %32
  %34 = load double, ptr %3, align 16
  %35 = getelementptr inbounds i8, ptr %3, i64 8
  %36 = load double, ptr %35, align 8
  %37 = load double, ptr %4, align 16
  %38 = getelementptr inbounds i8, ptr %4, i64 8
  %39 = load double, ptr %38, align 8
  %40 = load double, ptr %5, align 16
  %41 = getelementptr inbounds i8, ptr %5, i64 8
  %42 = load double, ptr %41, align 8
  invoke void @_ZN3JPH13TriangleShapeC2ENS_4Vec3ES1_S1_fPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(112) %30, double %34, double %36, double %37, double %39, double %40, double %42, float noundef 0.000000e+00, ptr noundef null)
          to label %43 unwind label %195

43:                                               ; preds = %33
  call void @_ZN3JPH8RefConstINS_13TriangleShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %30)
  %44 = getelementptr inbounds i8, ptr %0, i64 24
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #9
  %46 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef -6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %47 unwind label %197

47:                                               ; preds = %43
  %48 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %49 unwind label %197

49:                                               ; preds = %47
  %50 = extractvalue { double, double } %48, 0
  %51 = extractvalue { double, double } %48, 1
  %52 = load double, ptr %7, align 16
  %53 = getelementptr inbounds i8, ptr %7, i64 8
  %54 = load double, ptr %53, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %6, ptr noundef %46, double %52, double %54, double %50, double %51, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %55 unwind label %197

55:                                               ; preds = %49
  %56 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 16 dereferenceable(256) %6, i32 noundef 1)
          to label %57 unwind label %199

57:                                               ; preds = %55
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %6) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #9
  %58 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %8) #9
  %59 = invoke noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
          to label %60 unwind label %202

60:                                               ; preds = %57
  %61 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %62 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 5.000000e-01)
          to label %63 unwind label %204

63:                                               ; preds = %60
  %64 = extractvalue { double, double } %62, 0
  %65 = extractvalue { double, double } %62, 1
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %59, ptr noundef %61, double %64, double %65)
          to label %66 unwind label %204

66:                                               ; preds = %63
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef -4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %67 unwind label %202

67:                                               ; preds = %66
  %68 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %69 unwind label %202

69:                                               ; preds = %67
  %70 = extractvalue { double, double } %68, 0
  %71 = extractvalue { double, double } %68, 1
  %72 = load double, ptr %9, align 16
  %73 = getelementptr inbounds i8, ptr %9, i64 8
  %74 = load double, ptr %73, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %8, ptr noundef nonnull %59, double %72, double %74, double %70, double %71, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %75 unwind label %202

75:                                               ; preds = %69
  %76 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 16 dereferenceable(256) %8, i32 noundef 1)
          to label %77 unwind label %206

77:                                               ; preds = %75
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %8) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %8) #9
  %78 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %10) #9
  %79 = invoke noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
          to label %80 unwind label %209

80:                                               ; preds = %77
  %81 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %82 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.500000e+00)
          to label %83 unwind label %211

83:                                               ; preds = %80
  %84 = extractvalue { double, double } %82, 0
  %85 = extractvalue { double, double } %82, 1
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %79, ptr noundef %81, double %84, double %85)
          to label %86 unwind label %211

86:                                               ; preds = %83
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef -2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %87 unwind label %209

87:                                               ; preds = %86
  %88 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %89 unwind label %209

89:                                               ; preds = %87
  %90 = extractvalue { double, double } %88, 0
  %91 = extractvalue { double, double } %88, 1
  %92 = load double, ptr %11, align 16
  %93 = getelementptr inbounds i8, ptr %11, i64 8
  %94 = load double, ptr %93, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %10, ptr noundef nonnull %79, double %92, double %94, double %90, double %91, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %95 unwind label %209

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

97:                                               ; preds = %95
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %10) #9
  %98 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %12) #9
  %99 = invoke noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
          to label %100 unwind label %216

100:                                              ; preds = %97
  %101 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %102 unwind label %218

102:                                              ; preds = %100
  %103 = load double, ptr %13, align 16
  %104 = getelementptr inbounds i8, ptr %13, i64 8
  %105 = load double, ptr %104, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %99, ptr noundef %101, double %103, double %105)
          to label %106 unwind label %218

106:                                              ; preds = %102
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %107 unwind label %216

107:                                              ; preds = %106
  %108 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %109 unwind label %216

109:                                              ; preds = %107
  %110 = extractvalue { double, double } %108, 0
  %111 = extractvalue { double, double } %108, 1
  %112 = load double, ptr %14, align 16
  %113 = getelementptr inbounds i8, ptr %14, i64 8
  %114 = load double, ptr %113, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %12, ptr noundef nonnull %99, double %112, double %114, double %110, double %111, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %115 unwind label %216

115:                                              ; preds = %109
  %116 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 16 dereferenceable(256) %12, i32 noundef 1)
          to label %117 unwind label %220

117:                                              ; preds = %115
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %12) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %12) #9
  %118 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %15) #9
  %119 = invoke noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
          to label %120 unwind label %223

120:                                              ; preds = %117
  %121 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef -1.500000e+00)
          to label %122 unwind label %225

122:                                              ; preds = %120
  %123 = load double, ptr %16, align 16
  %124 = getelementptr inbounds i8, ptr %16, i64 8
  %125 = load double, ptr %124, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %119, ptr noundef %121, double %123, double %125)
          to label %126 unwind label %225

126:                                              ; preds = %122
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef 2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %127 unwind label %223

127:                                              ; preds = %126
  %128 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %129 unwind label %223

129:                                              ; preds = %127
  %130 = extractvalue { double, double } %128, 0
  %131 = extractvalue { double, double } %128, 1
  %132 = load double, ptr %17, align 16
  %133 = getelementptr inbounds i8, ptr %17, i64 8
  %134 = load double, ptr %133, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %15, ptr noundef nonnull %119, double %132, double %134, double %130, double %131, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %135 unwind label %223

135:                                              ; preds = %129
  %136 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %118, ptr noundef nonnull align 16 dereferenceable(256) %15, i32 noundef 1)
          to label %137 unwind label %227

137:                                              ; preds = %135
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %15) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %15) #9
  %138 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %18) #9
  %139 = invoke noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
          to label %140 unwind label %230

140:                                              ; preds = %137
  %141 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %142 unwind label %232

142:                                              ; preds = %140
  %143 = load double, ptr %19, align 16
  %144 = getelementptr inbounds i8, ptr %19, i64 8
  %145 = load double, ptr %144, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %139, ptr noundef %141, double %143, double %145)
          to label %146 unwind label %232

146:                                              ; preds = %142
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef 4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %147 unwind label %230

147:                                              ; preds = %146
  %148 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %149 unwind label %230

149:                                              ; preds = %147
  %150 = extractvalue { double, double } %148, 0
  %151 = extractvalue { double, double } %148, 1
  %152 = load double, ptr %20, align 16
  %153 = getelementptr inbounds i8, ptr %20, i64 8
  %154 = load double, ptr %153, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %18, ptr noundef nonnull %139, double %152, double %154, double %150, double %151, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %155 unwind label %230

155:                                              ; preds = %149
  %156 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %138, ptr noundef nonnull align 16 dereferenceable(256) %18, i32 noundef 1)
          to label %157 unwind label %234

157:                                              ; preds = %155
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %18) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %18) #9
  %158 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %21) #9
  %159 = invoke noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
          to label %160 unwind label %237

160:                                              ; preds = %157
  %161 = call noundef ptr @_ZNK3JPH8RefConstINS_13TriangleShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %22, float noundef 5.000000e-01, float noundef -1.000000e+00, float noundef 1.500000e+00)
          to label %162 unwind label %239

162:                                              ; preds = %160
  %163 = load double, ptr %22, align 16
  %164 = getelementptr inbounds i8, ptr %22, i64 8
  %165 = load double, ptr %164, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %159, ptr noundef %161, double %163, double %165)
          to label %166 unwind label %239

166:                                              ; preds = %162
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %167 unwind label %237

167:                                              ; preds = %166
  %168 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %169 unwind label %237

169:                                              ; preds = %167
  %170 = extractvalue { double, double } %168, 0
  %171 = extractvalue { double, double } %168, 1
  %172 = load double, ptr %23, align 16
  %173 = getelementptr inbounds i8, ptr %23, i64 8
  %174 = load double, ptr %173, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %21, ptr noundef nonnull %159, double %172, double %174, double %170, double %171, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %175 unwind label %237

175:                                              ; preds = %169
  %176 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %158, ptr noundef nonnull align 16 dereferenceable(256) %21, i32 noundef 1)
          to label %177 unwind label %241

177:                                              ; preds = %175
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %21) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  %178 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %179 unwind label %244

179:                                              ; preds = %177
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %178, float noundef 0x3FC99999A0000000, ptr noundef null)
          to label %180 unwind label %246

180:                                              ; preds = %179
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull %178)
          to label %181 unwind label %244

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %182 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %183 unwind label %248

183:                                              ; preds = %181
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FD99999A0000000)
          to label %184 unwind label %250

184:                                              ; preds = %183
  %185 = load double, ptr %26, align 16
  %186 = getelementptr inbounds i8, ptr %26, i64 8
  %187 = load double, ptr %186, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %182, double %185, double %187, float noundef 0x3F847AE140000000, ptr noundef null)
          to label %188 unwind label %250

188:                                              ; preds = %184
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull %182)
          to label %.preheader68 unwind label %248

.preheader68:                                     ; preds = %188
  %189 = getelementptr inbounds i8, ptr %28, i64 8
  br label %.preheader

.preheader:                                       ; preds = %.preheader68, %309
  %.04770 = phi i32 [ 0, %.preheader68 ], [ %310, %309 ]
  %190 = uitofp nneg i32 %.04770 to float
  %191 = call float @llvm.fmuladd.f32(float %190, float 2.000000e+01, float -6.000000e+01)
  %192 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #9
  %193 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef %191, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %252 unwind label %311

194:                                              ; preds = %309
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  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_13TriangleShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  ret void

195:                                              ; preds = %33, %32, %31, %1
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13TriangleShapedlEPv(ptr noundef %30) #9
  br label %319

197:                                              ; preds = %49, %47, %43
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

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

201:                                              ; preds = %199, %197
  %.pn = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #9
  br label %318

202:                                              ; preds = %69, %67, %66, %57
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %208

204:                                              ; preds = %63, %60
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %59) #9
  br label %208

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

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

209:                                              ; preds = %89, %87, %86, %77
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %215

211:                                              ; preds = %83, %80
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %79) #9
  br label %215

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

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

216:                                              ; preds = %109, %107, %106, %97
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %222

218:                                              ; preds = %102, %100
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %99) #9
  br label %222

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

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

223:                                              ; preds = %129, %127, %126, %117
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %229

225:                                              ; preds = %122, %120
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %119) #9
  br label %229

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

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

230:                                              ; preds = %149, %147, %146, %137
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %236

232:                                              ; preds = %142, %140
  %233 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %139) #9
  br label %236

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

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

237:                                              ; preds = %169, %167, %166, %157
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %243

239:                                              ; preds = %162, %160
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %159) #9
  br label %243

241:                                              ; preds = %175
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %21) #9
  br label %243

243:                                              ; preds = %241, %239, %237
  %.pn60 = phi { ptr, i32 } [ %242, %241 ], [ %238, %237 ], [ %240, %239 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #9
  br label %318

244:                                              ; preds = %180, %177
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %317

246:                                              ; preds = %179
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %178) #9
  br label %317

248:                                              ; preds = %188, %181
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %316

250:                                              ; preds = %184, %183
  %251 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %182) #9
  br label %316

252:                                              ; preds = %.preheader
  %253 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %254 unwind label %311

254:                                              ; preds = %252
  %255 = extractvalue { double, double } %253, 0
  %256 = extractvalue { double, double } %253, 1
  %257 = load double, ptr %28, align 16
  %258 = load double, ptr %189, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %27, ptr noundef %193, double %257, double %258, double %255, double %256, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %259 unwind label %311

259:                                              ; preds = %254
  %260 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %192, ptr noundef nonnull align 16 dereferenceable(256) %27, i32 noundef 0)
          to label %261 unwind label %313

261:                                              ; preds = %259
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #9
  %262 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #9
  %263 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef %191, float noundef 1.050000e+01, float noundef 0.000000e+00)
          to label %264 unwind label %311

264:                                              ; preds = %261
  %265 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %266 unwind label %311

266:                                              ; preds = %264
  %267 = extractvalue { double, double } %265, 0
  %268 = extractvalue { double, double } %265, 1
  %269 = load double, ptr %28, align 16
  %270 = load double, ptr %189, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %27, ptr noundef %263, double %269, double %270, double %267, double %268, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %271 unwind label %311

271:                                              ; preds = %266
  %272 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %262, ptr noundef nonnull align 16 dereferenceable(256) %27, i32 noundef 0)
          to label %273 unwind label %313

273:                                              ; preds = %271
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #9
  %274 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #9
  %275 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef %191, float noundef 1.100000e+01, float noundef 0.000000e+00)
          to label %276 unwind label %311

276:                                              ; preds = %273
  %277 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %278 unwind label %311

278:                                              ; preds = %276
  %279 = extractvalue { double, double } %277, 0
  %280 = extractvalue { double, double } %277, 1
  %281 = load double, ptr %28, align 16
  %282 = load double, ptr %189, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %27, ptr noundef %275, double %281, double %282, double %279, double %280, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %283 unwind label %311

283:                                              ; preds = %278
  %284 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %274, ptr noundef nonnull align 16 dereferenceable(256) %27, i32 noundef 0)
          to label %285 unwind label %313

285:                                              ; preds = %283
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #9
  %286 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #9
  %287 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef %191, float noundef 1.150000e+01, float noundef 0.000000e+00)
          to label %288 unwind label %311

288:                                              ; preds = %285
  %289 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %290 unwind label %311

290:                                              ; preds = %288
  %291 = extractvalue { double, double } %289, 0
  %292 = extractvalue { double, double } %289, 1
  %293 = load double, ptr %28, align 16
  %294 = load double, ptr %189, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %27, ptr noundef %287, double %293, double %294, double %291, double %292, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %295 unwind label %311

295:                                              ; preds = %290
  %296 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %286, ptr noundef nonnull align 16 dereferenceable(256) %27, i32 noundef 0)
          to label %297 unwind label %313

297:                                              ; preds = %295
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #9
  %298 = load ptr, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #9
  %299 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef %191, float noundef 1.200000e+01, float noundef 0.000000e+00)
          to label %300 unwind label %311

300:                                              ; preds = %297
  %301 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %302 unwind label %311

302:                                              ; preds = %300
  %303 = extractvalue { double, double } %301, 0
  %304 = extractvalue { double, double } %301, 1
  %305 = load double, ptr %28, align 16
  %306 = load double, ptr %189, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %27, ptr noundef %299, double %305, double %306, double %303, double %304, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %307 unwind label %311

307:                                              ; preds = %302
  %308 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %298, ptr noundef nonnull align 16 dereferenceable(256) %27, i32 noundef 0)
          to label %309 unwind label %313

309:                                              ; preds = %307
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #9
  %310 = add nuw nsw i32 %.04770, 1
  %exitcond.not = icmp eq i32 %310, 7
  br i1 %exitcond.not, label %194, label %.preheader, !llvm.loop !17

311:                                              ; preds = %302, %300, %297, %290, %288, %285, %278, %276, %273, %266, %264, %261, %254, %252, %.preheader
  %312 = landingpad { ptr, i32 }
          cleanup
  br label %315

313:                                              ; preds = %307, %295, %283, %271, %259
  %314 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #9
  br label %315

315:                                              ; preds = %313, %311
  %.pn62 = phi { ptr, i32 } [ %314, %313 ], [ %312, %311 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  br label %316

316:                                              ; preds = %315, %250, %248
  %.pn62.pn = phi { ptr, i32 } [ %.pn62, %315 ], [ %249, %248 ], [ %251, %250 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %317

317:                                              ; preds = %316, %246, %244
  %.pn62.pn.pn = phi { ptr, i32 } [ %.pn62.pn, %316 ], [ %245, %244 ], [ %247, %246 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  br label %318

318:                                              ; preds = %317, %243, %236, %229, %222, %215, %208, %201
  %.pn62.pn.pn.pn = phi { ptr, i32 } [ %.pn62.pn.pn, %317 ], [ %.pn60, %243 ], [ %.pn58, %236 ], [ %.pn56, %229 ], [ %.pn54, %222 ], [ %.pn52, %215 ], [ %.pn50, %208 ], [ %.pn, %201 ]
  call void @_ZN3JPH8RefConstINS_13TriangleShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br label %319

319:                                              ; preds = %318, %195
  %.pn62.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn62.pn.pn.pn, %318 ], [ %196, %195 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn62.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 @_ZN3JPH13TriangleShapenwEm(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: mustprogress uwtable
declare dso_local void @_ZN3JPH13TriangleShapeC2ENS_4Vec3ES1_S1_fPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(112), double, double, double, double, double, double, float noundef, ptr noundef) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH8RefConstINS_13TriangleShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) 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_13TriangleShapeEEcvPKS1_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_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256), ptr noundef, double, double, double, double, i8 noundef zeroext, i16 noundef zeroext) unnamed_addr #1 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH11ScaledShapenwEm(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 @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef, double, double) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #6 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 #5 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: 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_13TriangleShapeEED2Ev(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 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass