; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Water/WaterShapeTest.ll (ZN14WaterShapeTest10InitializeEv)

; 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::BodyID" = type { i32 }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.6", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.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.6" = type { ptr }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::Array.16" = type { i64, i64, ptr }
%"class.JPH::Ref.19" = type { ptr }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.JPH::Ref.20" = type { ptr }
%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 @_ZN14WaterShapeTest10InitializeEv(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::BodyID", align 4
  %4 = alloca %"class.JPH::BodyCreationSettings", 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::Vec3", align 16
  %10 = alloca %"class.JPH::Quat", align 16
  %11 = alloca %"class.JPH::BodyCreationSettings", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Quat", align 16
  %15 = alloca %"class.JPH::BodyCreationSettings", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Quat", align 16
  %18 = alloca %"class.JPH::Ref", align 8
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Quat", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Quat", align 16
  %23 = alloca %"class.JPH::BodyCreationSettings", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Quat", align 16
  %26 = alloca %"class.JPH::Array.16", align 8
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Ref.19", align 8
  %32 = alloca %"class.JPH::BodyCreationSettings", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Quat", align 16
  %35 = alloca %"class.JPH::BodyCreationSettings", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Quat", align 16
  %39 = alloca %"class.JPH::Array.16", align 8
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Vec3", align 16
  %45 = alloca %"class.JPH::Vec3", align 16
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::BodyCreationSettings", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca %"class.JPH::Quat", align 16
  %51 = alloca %"class.std::linear_congruential_engine", align 8
  %52 = alloca %"class.std::uniform_real_distribution", align 4
  %53 = alloca %"class.JPH::Array.16", align 8
  %54 = alloca i32, align 4
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::BodyCreationSettings", align 16
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Quat", align 16
  %60 = alloca %"class.JPH::Ref.20", align 8
  %61 = alloca %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Quat", align 16
  %63 = alloca %"class.JPH::Vec3", align 16
  %64 = alloca %"class.JPH::Vec3", align 16
  %65 = alloca %"class.JPH::Quat", align 16
  %66 = alloca %"class.JPH::BodyCreationSettings", align 16
  %67 = alloca %"class.JPH::Vec3", align 16
  %68 = alloca %"class.JPH::Quat", align 16
  %69 = alloca %"class.JPH::BodyCreationSettings", align 16
  %70 = alloca %"class.JPH::Vec3", align 16
  %71 = alloca %"class.JPH::Vec3", align 16
  %72 = alloca %"class.JPH::Vec3", align 16
  %73 = alloca %"class.JPH::Quat", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %74 = load ptr, ptr %2, align 8
  %75 = call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %74, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  %76 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %4) #10
  %78 = call noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
  %79 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %80 unwind label %385

80:                                               ; preds = %1
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 2.500000e+00)
          to label %81 unwind label %389

81:                                               ; preds = %80
  %82 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %83 = load double, ptr %82, align 16
  %84 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %85 = load double, ptr %84, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %79, double %83, double %85, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %86 unwind label %389

86:                                               ; preds = %81
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 5.000000e-01, float noundef 0x3FE3333340000000, float noundef 0xBFE6666660000000)
          to label %87 unwind label %385

87:                                               ; preds = %86
  %88 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  %89 = load double, ptr %88, align 16
  %90 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  %91 = load double, ptr %90, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %78, ptr noundef %79, double %89, double %91)
          to label %92 unwind label %385

92:                                               ; preds = %87
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef -1.000000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %93 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %94 = getelementptr inbounds %"class.JPH::Quat", ptr %10, i32 0, i32 0
  %95 = getelementptr inbounds %"class.JPH::Vec4", ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %union.anon.4, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 0
  %98 = extractvalue { double, double } %93, 0
  store double %98, ptr %97, align 16
  %99 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 1
  %100 = extractvalue { double, double } %93, 1
  store double %100, ptr %99, align 8
  %101 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  %102 = load double, ptr %101, align 16
  %103 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  %104 = load double, ptr %103, align 8
  %105 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %106 = load double, ptr %105, align 16
  %107 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %108 = load double, ptr %107, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %4, ptr noundef %78, double %102, double %104, double %106, double %108, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %109 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef nonnull align 16 dereferenceable(256) %4)
          to label %110 unwind label %394

110:                                              ; preds = %92
  %111 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %109)
          to label %112 unwind label %394

112:                                              ; preds = %110
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %111, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %4) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %4) #10
  %113 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
  %115 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %11) #10
  %117 = call noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 2.500000e+00)
          to label %118 unwind label %399

118:                                              ; preds = %112
  %119 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %120 = load double, ptr %119, align 16
  %121 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %122 = load double, ptr %121, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %117, double %120, double %122, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %123 unwind label %399

123:                                              ; preds = %118
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef -7.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %124 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %125 = getelementptr inbounds %"class.JPH::Quat", ptr %14, i32 0, i32 0
  %126 = getelementptr inbounds %"class.JPH::Vec4", ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds %union.anon.4, ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 0
  %129 = extractvalue { double, double } %124, 0
  store double %129, ptr %128, align 16
  %130 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 1
  %131 = extractvalue { double, double } %124, 1
  store double %131, ptr %130, align 8
  %132 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %133 = load double, ptr %132, align 16
  %134 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %135 = load double, ptr %134, align 8
  %136 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %137 = load double, ptr %136, align 16
  %138 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %139 = load double, ptr %138, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %11, ptr noundef %117, double %133, double %135, double %137, double %139, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %140 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %116, ptr noundef nonnull align 16 dereferenceable(256) %11)
          to label %141 unwind label %403

141:                                              ; preds = %123
  %142 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %140)
          to label %143 unwind label %403

143:                                              ; preds = %141
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %142, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %11) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %11) #10
  %144 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %145 = load ptr, ptr %144, align 8, !tbaa !9
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %145, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
  %146 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %147 = load ptr, ptr %146, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %15) #10
  %148 = call noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %148, float noundef 2.000000e+00, ptr noundef null)
          to label %149 unwind label %408

149:                                              ; preds = %143
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef -3.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %150 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %151 = getelementptr inbounds %"class.JPH::Quat", ptr %17, i32 0, i32 0
  %152 = getelementptr inbounds %"class.JPH::Vec4", ptr %151, i32 0, i32 0
  %153 = getelementptr inbounds %union.anon.4, ptr %152, i32 0, i32 0
  %154 = getelementptr inbounds { double, double }, ptr %153, i32 0, i32 0
  %155 = extractvalue { double, double } %150, 0
  store double %155, ptr %154, align 16
  %156 = getelementptr inbounds { double, double }, ptr %153, i32 0, i32 1
  %157 = extractvalue { double, double } %150, 1
  store double %157, ptr %156, align 8
  %158 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %159 = load double, ptr %158, align 16
  %160 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %161 = load double, ptr %160, align 8
  %162 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %163 = load double, ptr %162, align 16
  %164 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %165 = load double, ptr %164, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %15, ptr noundef %148, double %159, double %161, double %163, double %165, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %166 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %147, ptr noundef nonnull align 16 dereferenceable(256) %15)
          to label %167 unwind label %412

167:                                              ; preds = %149
  %168 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %166)
          to label %169 unwind label %412

169:                                              ; preds = %167
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %168, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %15) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %15) #10
  %170 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %171, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %172 = call noundef ptr @_ZN3JPH27StaticCompoundShapeSettingsnwEm(i64 noundef 88)
  invoke void @_ZN3JPH27StaticCompoundShapeSettingsC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %172)
          to label %173 unwind label %417

173:                                              ; preds = %169
  call void @_ZN3JPH3RefINS_27StaticCompoundShapeSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %172)
  %174 = invoke noundef ptr @_ZNK3JPH3RefINS_27StaticCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %175 unwind label %421

175:                                              ; preds = %173
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %176 unwind label %421

176:                                              ; preds = %175
  %177 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %178 unwind label %421

178:                                              ; preds = %176
  %179 = getelementptr inbounds %"class.JPH::Quat", ptr %20, i32 0, i32 0
  %180 = getelementptr inbounds %"class.JPH::Vec4", ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds %union.anon.4, ptr %180, i32 0, i32 0
  %182 = getelementptr inbounds { double, double }, ptr %181, i32 0, i32 0
  %183 = extractvalue { double, double } %177, 0
  store double %183, ptr %182, align 16
  %184 = getelementptr inbounds { double, double }, ptr %181, i32 0, i32 1
  %185 = extractvalue { double, double } %177, 1
  store double %185, ptr %184, align 8
  %186 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %187 unwind label %421

187:                                              ; preds = %178
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %186, float noundef 2.000000e+00, ptr noundef null)
          to label %188 unwind label %425

188:                                              ; preds = %187
  %189 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %190 = load double, ptr %189, align 16
  %191 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %192 = load double, ptr %191, align 8
  %193 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %194 = load double, ptr %193, align 16
  %195 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %196 = load double, ptr %195, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %174, double %190, double %192, double %194, double %196, ptr noundef %186, i32 noundef 0)
          to label %197 unwind label %421

197:                                              ; preds = %188
  %198 = invoke noundef ptr @_ZNK3JPH3RefINS_27StaticCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %199 unwind label %421

199:                                              ; preds = %197
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %200 unwind label %421

200:                                              ; preds = %199
  %201 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %202 unwind label %421

202:                                              ; preds = %200
  %203 = getelementptr inbounds %"class.JPH::Quat", ptr %22, i32 0, i32 0
  %204 = getelementptr inbounds %"class.JPH::Vec4", ptr %203, i32 0, i32 0
  %205 = getelementptr inbounds %union.anon.4, ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds { double, double }, ptr %205, i32 0, i32 0
  %207 = extractvalue { double, double } %201, 0
  store double %207, ptr %206, align 16
  %208 = getelementptr inbounds { double, double }, ptr %205, i32 0, i32 1
  %209 = extractvalue { double, double } %201, 1
  store double %209, ptr %208, align 8
  %210 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %211 unwind label %421

211:                                              ; preds = %202
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %210, float noundef 1.000000e+00, ptr noundef null)
          to label %212 unwind label %429

212:                                              ; preds = %211
  %213 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %214 = load double, ptr %213, align 16
  %215 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %216 = load double, ptr %215, align 8
  %217 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %218 = load double, ptr %217, align 16
  %219 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %220 = load double, ptr %219, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %198, double %214, double %216, double %218, double %220, ptr noundef %210, i32 noundef 0)
          to label %221 unwind label %421

221:                                              ; preds = %212
  %222 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %23) #10
  %224 = invoke noundef ptr @_ZNK3JPH3RefINS_27StaticCompoundShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %225 unwind label %433

225:                                              ; preds = %221
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 3.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %226 unwind label %433

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

228:                                              ; preds = %226
  %229 = getelementptr inbounds %"class.JPH::Quat", ptr %25, 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 %24, i32 0, i32 0
  %237 = load double, ptr %236, align 16
  %238 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %239 = load double, ptr %238, align 8
  %240 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %241 = load double, ptr %240, align 16
  %242 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %243 = load double, ptr %242, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %23, ptr noundef %224, double %237, double %239, double %241, double %243, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %244 unwind label %433

244:                                              ; preds = %228
  %245 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %223, ptr noundef nonnull align 16 dereferenceable(256) %23)
          to label %246 unwind label %437

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %245)
          to label %248 unwind label %437

248:                                              ; preds = %246
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %247, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %23) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %23) #10
  %249 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %250 = load ptr, ptr %249, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %250, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %251 unwind label %421

251:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #10
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef -2.000000e+00, float noundef 0.000000e+00, float noundef -2.000000e+00)
          to label %252 unwind label %442

252:                                              ; preds = %251
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 16 dereferenceable(16) %27)
          to label %253 unwind label %442

253:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 2.000000e+00)
          to label %254 unwind label %446

254:                                              ; preds = %253
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 16 dereferenceable(16) %28)
          to label %255 unwind label %446

255:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef -2.000000e+00)
          to label %256 unwind label %450

256:                                              ; preds = %255
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 16 dereferenceable(16) %29)
          to label %257 unwind label %450

257:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef 0.000000e+00, float noundef -2.000000e+00, float noundef 0.000000e+00)
          to label %258 unwind label %454

258:                                              ; preds = %257
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 16 dereferenceable(16) %30)
          to label %259 unwind label %454

259:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %260 = invoke noundef ptr @_ZN3JPH23ConvexHullShapeSettingsnwEm(i64 noundef 120)
          to label %261 unwind label %458

261:                                              ; preds = %259
  invoke void @_ZN3JPH23ConvexHullShapeSettingsC2ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEEfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(120) %260, ptr noundef nonnull align 8 dereferenceable(24) %26, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %262 unwind label %462

262:                                              ; preds = %261
  invoke void @_ZN3JPH3RefINS_23ConvexHullShapeSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef %260)
          to label %263 unwind label %458

263:                                              ; preds = %262
  %264 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %265 = load ptr, ptr %264, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %32) #10
  %266 = invoke noundef ptr @_ZNK3JPH3RefINS_23ConvexHullShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %267 unwind label %466

267:                                              ; preds = %263
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef 1.000000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %268 unwind label %466

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

270:                                              ; preds = %268
  %271 = getelementptr inbounds %"class.JPH::Quat", ptr %34, i32 0, i32 0
  %272 = getelementptr inbounds %"class.JPH::Vec4", ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds %union.anon.4, ptr %272, i32 0, i32 0
  %274 = getelementptr inbounds { double, double }, ptr %273, i32 0, i32 0
  %275 = extractvalue { double, double } %269, 0
  store double %275, ptr %274, align 16
  %276 = getelementptr inbounds { double, double }, ptr %273, i32 0, i32 1
  %277 = extractvalue { double, double } %269, 1
  store double %277, ptr %276, align 8
  %278 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %279 = load double, ptr %278, align 16
  %280 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %281 = load double, ptr %280, align 8
  %282 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %283 = load double, ptr %282, align 16
  %284 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %285 = load double, ptr %284, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %32, ptr noundef %266, double %279, double %281, double %283, double %285, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %286 unwind label %466

286:                                              ; preds = %270
  %287 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %265, ptr noundef nonnull align 16 dereferenceable(256) %32)
          to label %288 unwind label %470

288:                                              ; preds = %286
  %289 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %287)
          to label %290 unwind label %470

290:                                              ; preds = %288
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %289, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %32) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %32) #10
  %291 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %292 = load ptr, ptr %291, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %292, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %293 unwind label %475

293:                                              ; preds = %290
  %294 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %295 = load ptr, ptr %294, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %35) #10
  %296 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %297 unwind label %479

297:                                              ; preds = %293
  %298 = invoke noundef ptr @_ZNK3JPH3RefINS_23ConvexHullShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %299 unwind label %483

299:                                              ; preds = %297
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %36, float noundef 1.000000e+00, float noundef -1.500000e+00, float noundef 2.000000e+00)
          to label %300 unwind label %483

300:                                              ; preds = %299
  %301 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %302 = load double, ptr %301, align 16
  %303 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %304 = load double, ptr %303, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %296, ptr noundef %298, double %302, double %304)
          to label %305 unwind label %483

305:                                              ; preds = %300
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %37, float noundef 1.500000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %306 unwind label %479

306:                                              ; preds = %305
  %307 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %308 unwind label %479

308:                                              ; preds = %306
  %309 = getelementptr inbounds %"class.JPH::Quat", ptr %38, i32 0, i32 0
  %310 = getelementptr inbounds %"class.JPH::Vec4", ptr %309, i32 0, i32 0
  %311 = getelementptr inbounds %union.anon.4, ptr %310, i32 0, i32 0
  %312 = getelementptr inbounds { double, double }, ptr %311, i32 0, i32 0
  %313 = extractvalue { double, double } %307, 0
  store double %313, ptr %312, align 16
  %314 = getelementptr inbounds { double, double }, ptr %311, i32 0, i32 1
  %315 = extractvalue { double, double } %307, 1
  store double %315, ptr %314, align 8
  %316 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %317 = load double, ptr %316, align 16
  %318 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %319 = load double, ptr %318, align 8
  %320 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %321 = load double, ptr %320, align 16
  %322 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %323 = load double, ptr %322, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %35, ptr noundef %296, double %317, double %319, double %321, double %323, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %324 unwind label %479

324:                                              ; preds = %308
  %325 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %295, ptr noundef nonnull align 16 dereferenceable(256) %35)
          to label %326 unwind label %487

326:                                              ; preds = %324
  %327 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %325)
          to label %328 unwind label %487

328:                                              ; preds = %326
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %327, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %35) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %35) #10
  %329 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %330 = load ptr, ptr %329, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %330, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %331 unwind label %475

331:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #10
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef 1.500000e+00, float noundef 1.000000e+00, float noundef 5.000000e-01)
          to label %332 unwind label %492

332:                                              ; preds = %331
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %40)
          to label %333 unwind label %492

333:                                              ; preds = %332
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %41, float noundef -1.500000e+00, float noundef 1.000000e+00, float noundef 5.000000e-01)
          to label %334 unwind label %496

334:                                              ; preds = %333
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %41)
          to label %335 unwind label %496

335:                                              ; preds = %334
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %42, float noundef 1.500000e+00, float noundef -1.000000e+00, float noundef 5.000000e-01)
          to label %336 unwind label %500

336:                                              ; preds = %335
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %42)
          to label %337 unwind label %500

337:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %43, float noundef -1.500000e+00, float noundef -1.000000e+00, float noundef 5.000000e-01)
          to label %338 unwind label %504

338:                                              ; preds = %337
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %43)
          to label %339 unwind label %504

339:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %44, float noundef 1.500000e+00, float noundef 1.000000e+00, float noundef -5.000000e-01)
          to label %340 unwind label %508

340:                                              ; preds = %339
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %44)
          to label %341 unwind label %508

341:                                              ; preds = %340
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %45, float noundef -1.500000e+00, float noundef 1.000000e+00, float noundef -5.000000e-01)
          to label %342 unwind label %512

342:                                              ; preds = %341
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %45)
          to label %343 unwind label %512

343:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef 1.500000e+00, float noundef -1.000000e+00, float noundef -5.000000e-01)
          to label %344 unwind label %516

344:                                              ; preds = %343
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %46)
          to label %345 unwind label %516

345:                                              ; preds = %344
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef -1.500000e+00, float noundef -1.000000e+00, float noundef -5.000000e-01)
          to label %346 unwind label %520

346:                                              ; preds = %345
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 16 dereferenceable(16) %47)
          to label %347 unwind label %520

347:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #10
  %348 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %349 = load ptr, ptr %348, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %48) #10
  %350 = invoke noundef ptr @_ZN3JPH23ConvexHullShapeSettingsnwEm(i64 noundef 120)
          to label %351 unwind label %524

351:                                              ; preds = %347
  invoke void @_ZN3JPH23ConvexHullShapeSettingsC2ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEEfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(120) %350, ptr noundef nonnull align 8 dereferenceable(24) %39, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %352 unwind label %528

352:                                              ; preds = %351
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %49, float noundef 1.800000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %353 unwind label %524

353:                                              ; preds = %352
  %354 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %355 unwind label %524

355:                                              ; preds = %353
  %356 = getelementptr inbounds %"class.JPH::Quat", ptr %50, i32 0, i32 0
  %357 = getelementptr inbounds %"class.JPH::Vec4", ptr %356, i32 0, i32 0
  %358 = getelementptr inbounds %union.anon.4, ptr %357, i32 0, i32 0
  %359 = getelementptr inbounds { double, double }, ptr %358, i32 0, i32 0
  %360 = extractvalue { double, double } %354, 0
  store double %360, ptr %359, align 16
  %361 = getelementptr inbounds { double, double }, ptr %358, i32 0, i32 1
  %362 = extractvalue { double, double } %354, 1
  store double %362, ptr %361, align 8
  %363 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %364 = load double, ptr %363, align 16
  %365 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %366 = load double, ptr %365, align 8
  %367 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %368 = load double, ptr %367, align 16
  %369 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %370 = load double, ptr %369, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %48, ptr noundef %350, double %364, double %366, double %368, double %370, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %371 unwind label %524

371:                                              ; preds = %355
  %372 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %349, ptr noundef nonnull align 16 dereferenceable(256) %48)
          to label %373 unwind label %532

373:                                              ; preds = %371
  %374 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %372)
          to label %375 unwind label %532

375:                                              ; preds = %373
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %374, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %48) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %48) #10
  %376 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %377 = load ptr, ptr %376, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %377, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %378 unwind label %537

378:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  invoke void @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %379 unwind label %541

379:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef 0x3FB99999A0000000, float noundef 0x3FFE666660000000)
          to label %380 unwind label %545

380:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #10
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #10
  store i32 0, ptr %54, align 4, !tbaa !19
  br label %381

381:                                              ; preds = %573, %380
  %382 = load i32, ptr %54, align 4, !tbaa !19
  %383 = icmp slt i32 %382, 20
  br i1 %383, label %549, label %384

384:                                              ; preds = %381
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  br label %580

385:                                              ; preds = %87, %86, %1
  %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 %393

389:                                              ; preds = %81, %80
  %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 @_ZN3JPH8BoxShapedlEPv(ptr noundef %79) #10
  br label %393

393:                                              ; preds = %389, %385
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %78) #10
  br label %398

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

398:                                              ; preds = %394, %393
  call void @llvm.lifetime.end.p0(i64 256, ptr %4) #10
  br label %818

399:                                              ; preds = %118, %112
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %5, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %6, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %117) #10
  br label %407

403:                                              ; preds = %141, %123
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %5, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %11) #10
  br label %407

407:                                              ; preds = %403, %399
  call void @llvm.lifetime.end.p0(i64 256, ptr %11) #10
  br label %818

408:                                              ; preds = %143
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %5, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %6, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %148) #10
  br label %416

412:                                              ; preds = %167, %149
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %5, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %15) #10
  br label %416

416:                                              ; preds = %412, %408
  call void @llvm.lifetime.end.p0(i64 256, ptr %15) #10
  br label %818

417:                                              ; preds = %169
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %5, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %6, align 4
  call void @_ZN3JPH27StaticCompoundShapeSettingsdlEPv(ptr noundef %172) #10
  br label %817

421:                                              ; preds = %248, %212, %202, %200, %199, %197, %188, %178, %176, %175, %173
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %5, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %6, align 4
  br label %816

425:                                              ; preds = %187
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %5, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %6, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %186) #10
  br label %816

429:                                              ; preds = %211
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %5, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %6, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %210) #10
  br label %816

433:                                              ; preds = %228, %226, %225, %221
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %5, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %6, align 4
  br label %441

437:                                              ; preds = %246, %244
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %5, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %23) #10
  br label %441

441:                                              ; preds = %437, %433
  call void @llvm.lifetime.end.p0(i64 256, ptr %23) #10
  br label %816

442:                                              ; preds = %252, %251
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %5, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  br label %815

446:                                              ; preds = %254, %253
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %5, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  br label %815

450:                                              ; preds = %256, %255
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %5, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  br label %815

454:                                              ; preds = %258, %257
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %5, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  br label %815

458:                                              ; preds = %262, %259
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %5, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %6, align 4
  br label %814

462:                                              ; preds = %261
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %5, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %6, align 4
  call void @_ZN3JPH23ConvexHullShapeSettingsdlEPv(ptr noundef %260) #10
  br label %814

466:                                              ; preds = %270, %268, %267, %263
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %5, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %6, align 4
  br label %474

470:                                              ; preds = %288, %286
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %5, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %32) #10
  br label %474

474:                                              ; preds = %470, %466
  call void @llvm.lifetime.end.p0(i64 256, ptr %32) #10
  br label %813

475:                                              ; preds = %328, %290
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %5, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %6, align 4
  br label %813

479:                                              ; preds = %308, %306, %305, %293
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %5, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %6, align 4
  br label %491

483:                                              ; preds = %300, %299, %297
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %5, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %6, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %296) #10
  br label %491

487:                                              ; preds = %326, %324
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %5, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %35) #10
  br label %491

491:                                              ; preds = %487, %483, %479
  call void @llvm.lifetime.end.p0(i64 256, ptr %35) #10
  br label %813

492:                                              ; preds = %332, %331
  %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 @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  br label %812

496:                                              ; preds = %334, %333
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %5, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #10
  br label %812

500:                                              ; preds = %336, %335
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %5, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  br label %812

504:                                              ; preds = %338, %337
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %5, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  br label %812

508:                                              ; preds = %340, %339
  %509 = landingpad { ptr, i32 }
          cleanup
  %510 = extractvalue { ptr, i32 } %509, 0
  store ptr %510, ptr %5, align 8
  %511 = extractvalue { ptr, i32 } %509, 1
  store i32 %511, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #10
  br label %812

512:                                              ; preds = %342, %341
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %5, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #10
  br label %812

516:                                              ; preds = %344, %343
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %5, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #10
  br label %812

520:                                              ; preds = %346, %345
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %5, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #10
  br label %812

524:                                              ; preds = %355, %353, %352, %347
  %525 = landingpad { ptr, i32 }
          cleanup
  %526 = extractvalue { ptr, i32 } %525, 0
  store ptr %526, ptr %5, align 8
  %527 = extractvalue { ptr, i32 } %525, 1
  store i32 %527, ptr %6, align 4
  br label %536

528:                                              ; preds = %351
  %529 = landingpad { ptr, i32 }
          cleanup
  %530 = extractvalue { ptr, i32 } %529, 0
  store ptr %530, ptr %5, align 8
  %531 = extractvalue { ptr, i32 } %529, 1
  store i32 %531, ptr %6, align 4
  call void @_ZN3JPH23ConvexHullShapeSettingsdlEPv(ptr noundef %350) #10
  br label %536

532:                                              ; preds = %373, %371
  %533 = landingpad { ptr, i32 }
          cleanup
  %534 = extractvalue { ptr, i32 } %533, 0
  store ptr %534, ptr %5, align 8
  %535 = extractvalue { ptr, i32 } %533, 1
  store i32 %535, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %48) #10
  br label %536

536:                                              ; preds = %532, %528, %524
  call void @llvm.lifetime.end.p0(i64 256, ptr %48) #10
  br label %812

537:                                              ; preds = %375
  %538 = landingpad { ptr, i32 }
          cleanup
  %539 = extractvalue { ptr, i32 } %538, 0
  store ptr %539, ptr %5, align 8
  %540 = extractvalue { ptr, i32 } %538, 1
  store i32 %540, ptr %6, align 4
  br label %812

541:                                              ; preds = %378
  %542 = landingpad { ptr, i32 }
          cleanup
  %543 = extractvalue { ptr, i32 } %542, 0
  store ptr %543, ptr %5, align 8
  %544 = extractvalue { ptr, i32 } %542, 1
  store i32 %544, ptr %6, align 4
  br label %811

545:                                              ; preds = %379
  %546 = landingpad { ptr, i32 }
          cleanup
  %547 = extractvalue { ptr, i32 } %546, 0
  store ptr %547, ptr %5, align 8
  %548 = extractvalue { ptr, i32 } %546, 1
  store i32 %548, ptr %6, align 4
  br label %810

549:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #10
  %550 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %551 unwind label %576

551:                                              ; preds = %549
  %552 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %553 unwind label %576

553:                                              ; preds = %551
  %554 = getelementptr inbounds %"class.JPH::Vec3", ptr %56, i32 0, i32 0
  %555 = getelementptr inbounds %union.anon, ptr %554, i32 0, i32 0
  %556 = getelementptr inbounds { double, double }, ptr %555, i32 0, i32 0
  %557 = extractvalue { double, double } %552, 0
  store double %557, ptr %556, align 16
  %558 = getelementptr inbounds { double, double }, ptr %555, i32 0, i32 1
  %559 = extractvalue { double, double } %552, 1
  store double %559, ptr %558, align 8
  %560 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %561 = load double, ptr %560, align 16
  %562 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %563 = load double, ptr %562, align 8
  %564 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %550, double %561, double %563)
          to label %565 unwind label %576

565:                                              ; preds = %553
  %566 = getelementptr inbounds %"class.JPH::Vec3", ptr %55, i32 0, i32 0
  %567 = getelementptr inbounds %union.anon, ptr %566, i32 0, i32 0
  %568 = getelementptr inbounds { double, double }, ptr %567, i32 0, i32 0
  %569 = extractvalue { double, double } %564, 0
  store double %569, ptr %568, align 16
  %570 = getelementptr inbounds { double, double }, ptr %567, i32 0, i32 1
  %571 = extractvalue { double, double } %564, 1
  store double %571, ptr %570, align 8
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 16 dereferenceable(16) %55)
          to label %572 unwind label %576

572:                                              ; preds = %565
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #10
  br label %573

573:                                              ; preds = %572
  %574 = load i32, ptr %54, align 4, !tbaa !19
  %575 = add nsw i32 %574, 1
  store i32 %575, ptr %54, align 4, !tbaa !19
  br label %381, !llvm.loop !21

576:                                              ; preds = %565, %553, %551, %549
  %577 = landingpad { ptr, i32 }
          cleanup
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %5, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  br label %809

580:                                              ; preds = %384
  %581 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %582 = load ptr, ptr %581, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %57) #10
  %583 = invoke noundef ptr @_ZN3JPH23ConvexHullShapeSettingsnwEm(i64 noundef 120)
          to label %584 unwind label %743

584:                                              ; preds = %580
  invoke void @_ZN3JPH23ConvexHullShapeSettingsC2ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEEfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(120) %583, ptr noundef nonnull align 8 dereferenceable(24) %53, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %585 unwind label %747

585:                                              ; preds = %584
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %58, float noundef 2.100000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %586 unwind label %743

586:                                              ; preds = %585
  %587 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %588 unwind label %743

588:                                              ; preds = %586
  %589 = getelementptr inbounds %"class.JPH::Quat", ptr %59, i32 0, i32 0
  %590 = getelementptr inbounds %"class.JPH::Vec4", ptr %589, i32 0, i32 0
  %591 = getelementptr inbounds %union.anon.4, ptr %590, i32 0, i32 0
  %592 = getelementptr inbounds { double, double }, ptr %591, i32 0, i32 0
  %593 = extractvalue { double, double } %587, 0
  store double %593, ptr %592, align 16
  %594 = getelementptr inbounds { double, double }, ptr %591, i32 0, i32 1
  %595 = extractvalue { double, double } %587, 1
  store double %595, ptr %594, align 8
  %596 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %597 = load double, ptr %596, align 16
  %598 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %599 = load double, ptr %598, align 8
  %600 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 0
  %601 = load double, ptr %600, align 16
  %602 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 1
  %603 = load double, ptr %602, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %57, ptr noundef %583, double %597, double %599, double %601, double %603, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %604 unwind label %743

604:                                              ; preds = %588
  %605 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %582, ptr noundef nonnull align 16 dereferenceable(256) %57)
          to label %606 unwind label %751

606:                                              ; preds = %604
  %607 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %605)
          to label %608 unwind label %751

608:                                              ; preds = %606
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %607, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %57) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %57) #10
  %609 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %610 = load ptr, ptr %609, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %610, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %611 unwind label %756

611:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #10
  %612 = invoke noundef ptr @_ZN3JPH28MutableCompoundShapeSettingsnwEm(i64 noundef 88)
          to label %613 unwind label %760

613:                                              ; preds = %611
  invoke void @_ZN3JPH28MutableCompoundShapeSettingsC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %612)
          to label %614 unwind label %764

614:                                              ; preds = %613
  invoke void @_ZN3JPH3RefINS_28MutableCompoundShapeSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef %612)
          to label %615 unwind label %760

615:                                              ; preds = %614
  %616 = invoke noundef ptr @_ZNK3JPH3RefINS_28MutableCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %617 unwind label %768

617:                                              ; preds = %615
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %61, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %618 unwind label %768

618:                                              ; preds = %617
  %619 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %620 unwind label %768

620:                                              ; preds = %618
  %621 = getelementptr inbounds %"class.JPH::Quat", ptr %62, i32 0, i32 0
  %622 = getelementptr inbounds %"class.JPH::Vec4", ptr %621, i32 0, i32 0
  %623 = getelementptr inbounds %union.anon.4, ptr %622, i32 0, i32 0
  %624 = getelementptr inbounds { double, double }, ptr %623, i32 0, i32 0
  %625 = extractvalue { double, double } %619, 0
  store double %625, ptr %624, align 16
  %626 = getelementptr inbounds { double, double }, ptr %623, i32 0, i32 1
  %627 = extractvalue { double, double } %619, 1
  store double %627, ptr %626, align 8
  %628 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %629 unwind label %768

629:                                              ; preds = %620
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %63, float noundef 5.000000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00)
          to label %630 unwind label %772

630:                                              ; preds = %629
  %631 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 0
  %632 = load double, ptr %631, align 16
  %633 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 1
  %634 = load double, ptr %633, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %628, double %632, double %634, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %635 unwind label %772

635:                                              ; preds = %630
  %636 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %637 = load double, ptr %636, align 16
  %638 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %639 = load double, ptr %638, align 8
  %640 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %641 = load double, ptr %640, align 16
  %642 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %643 = load double, ptr %642, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %616, double %637, double %639, double %641, double %643, ptr noundef %628, i32 noundef 0)
          to label %644 unwind label %768

644:                                              ; preds = %635
  %645 = invoke noundef ptr @_ZNK3JPH3RefINS_28MutableCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %646 unwind label %768

646:                                              ; preds = %644
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %64, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %647 unwind label %768

647:                                              ; preds = %646
  %648 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %649 unwind label %768

649:                                              ; preds = %647
  %650 = getelementptr inbounds %"class.JPH::Quat", ptr %65, i32 0, i32 0
  %651 = getelementptr inbounds %"class.JPH::Vec4", ptr %650, i32 0, i32 0
  %652 = getelementptr inbounds %union.anon.4, ptr %651, i32 0, i32 0
  %653 = getelementptr inbounds { double, double }, ptr %652, i32 0, i32 0
  %654 = extractvalue { double, double } %648, 0
  store double %654, ptr %653, align 16
  %655 = getelementptr inbounds { double, double }, ptr %652, i32 0, i32 1
  %656 = extractvalue { double, double } %648, 1
  store double %656, ptr %655, align 8
  %657 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %658 unwind label %768

658:                                              ; preds = %649
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %657, float noundef 1.000000e+00, ptr noundef null)
          to label %659 unwind label %776

659:                                              ; preds = %658
  %660 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %661 = load double, ptr %660, align 16
  %662 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %663 = load double, ptr %662, align 8
  %664 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %665 = load double, ptr %664, align 16
  %666 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %667 = load double, ptr %666, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %645, double %661, double %663, double %665, double %667, ptr noundef %657, i32 noundef 0)
          to label %668 unwind label %768

668:                                              ; preds = %659
  %669 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %670 = load ptr, ptr %669, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %66) #10
  %671 = invoke noundef ptr @_ZNK3JPH3RefINS_28MutableCompoundShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %672 unwind label %780

672:                                              ; preds = %668
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %67, float noundef 2.500000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %673 unwind label %780

673:                                              ; preds = %672
  %674 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %675 unwind label %780

675:                                              ; preds = %673
  %676 = getelementptr inbounds %"class.JPH::Quat", ptr %68, i32 0, i32 0
  %677 = getelementptr inbounds %"class.JPH::Vec4", ptr %676, i32 0, i32 0
  %678 = getelementptr inbounds %union.anon.4, ptr %677, i32 0, i32 0
  %679 = getelementptr inbounds { double, double }, ptr %678, i32 0, i32 0
  %680 = extractvalue { double, double } %674, 0
  store double %680, ptr %679, align 16
  %681 = getelementptr inbounds { double, double }, ptr %678, i32 0, i32 1
  %682 = extractvalue { double, double } %674, 1
  store double %682, ptr %681, align 8
  %683 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 0
  %684 = load double, ptr %683, align 16
  %685 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 1
  %686 = load double, ptr %685, align 8
  %687 = getelementptr inbounds { double, double }, ptr %68, i32 0, i32 0
  %688 = load double, ptr %687, align 16
  %689 = getelementptr inbounds { double, double }, ptr %68, i32 0, i32 1
  %690 = load double, ptr %689, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %66, ptr noundef %671, double %684, double %686, double %688, double %690, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %691 unwind label %780

691:                                              ; preds = %675
  %692 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %670, ptr noundef nonnull align 16 dereferenceable(256) %66)
          to label %693 unwind label %784

693:                                              ; preds = %691
  %694 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %692)
          to label %695 unwind label %784

695:                                              ; preds = %693
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %694, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %66) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %66) #10
  %696 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %697 = load ptr, ptr %696, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %697, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %698 unwind label %768

698:                                              ; preds = %695
  %699 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %700 = load ptr, ptr %699, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %69) #10
  %701 = invoke noundef ptr @_ZN3JPH31OffsetCenterOfMassShapeSettingsnwEm(i64 noundef 96)
          to label %702 unwind label %789

702:                                              ; preds = %698
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %70, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %703 unwind label %793

703:                                              ; preds = %702
  %704 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %705 unwind label %793

705:                                              ; preds = %703
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %71, float noundef 2.000000e+00, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %706 unwind label %797

706:                                              ; preds = %705
  %707 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %708 = load double, ptr %707, align 16
  %709 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %710 = load double, ptr %709, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %704, double %708, double %710, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %711 unwind label %797

711:                                              ; preds = %706
  %712 = getelementptr inbounds { double, double }, ptr %70, i32 0, i32 0
  %713 = load double, ptr %712, align 16
  %714 = getelementptr inbounds { double, double }, ptr %70, i32 0, i32 1
  %715 = load double, ptr %714, align 8
  invoke void @_ZN3JPH31OffsetCenterOfMassShapeSettingsC2ENS_4Vec3EPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(96) %701, double %713, double %715, ptr noundef %704)
          to label %716 unwind label %793

716:                                              ; preds = %711
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %72, float noundef 3.000000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %717 unwind label %789

717:                                              ; preds = %716
  %718 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %719 unwind label %789

719:                                              ; preds = %717
  %720 = getelementptr inbounds %"class.JPH::Quat", ptr %73, i32 0, i32 0
  %721 = getelementptr inbounds %"class.JPH::Vec4", ptr %720, i32 0, i32 0
  %722 = getelementptr inbounds %union.anon.4, ptr %721, i32 0, i32 0
  %723 = getelementptr inbounds { double, double }, ptr %722, i32 0, i32 0
  %724 = extractvalue { double, double } %718, 0
  store double %724, ptr %723, align 16
  %725 = getelementptr inbounds { double, double }, ptr %722, i32 0, i32 1
  %726 = extractvalue { double, double } %718, 1
  store double %726, ptr %725, align 8
  %727 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %728 = load double, ptr %727, align 16
  %729 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %730 = load double, ptr %729, align 8
  %731 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 0
  %732 = load double, ptr %731, align 16
  %733 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 1
  %734 = load double, ptr %733, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %69, ptr noundef %701, double %728, double %730, double %732, double %734, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %735 unwind label %789

735:                                              ; preds = %719
  %736 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %700, ptr noundef nonnull align 16 dereferenceable(256) %69)
          to label %737 unwind label %802

737:                                              ; preds = %735
  %738 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %736)
          to label %739 unwind label %802

739:                                              ; preds = %737
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %738, i64 4, i1 false), !tbaa.struct !18
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %69) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %69) #10
  %740 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %741 = load ptr, ptr %740, align 8, !tbaa !9
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %741, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 0)
          to label %742 unwind label %768

742:                                              ; preds = %739
  call void @_ZN3JPH3RefINS_28MutableCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #10
  call void @_ZN3JPH3RefINS_23ConvexHullShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #10
  call void @_ZN3JPH3RefINS_27StaticCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  ret void

743:                                              ; preds = %588, %586, %585, %580
  %744 = landingpad { ptr, i32 }
          cleanup
  %745 = extractvalue { ptr, i32 } %744, 0
  store ptr %745, ptr %5, align 8
  %746 = extractvalue { ptr, i32 } %744, 1
  store i32 %746, ptr %6, align 4
  br label %755

747:                                              ; preds = %584
  %748 = landingpad { ptr, i32 }
          cleanup
  %749 = extractvalue { ptr, i32 } %748, 0
  store ptr %749, ptr %5, align 8
  %750 = extractvalue { ptr, i32 } %748, 1
  store i32 %750, ptr %6, align 4
  call void @_ZN3JPH23ConvexHullShapeSettingsdlEPv(ptr noundef %583) #10
  br label %755

751:                                              ; preds = %606, %604
  %752 = landingpad { ptr, i32 }
          cleanup
  %753 = extractvalue { ptr, i32 } %752, 0
  store ptr %753, ptr %5, align 8
  %754 = extractvalue { ptr, i32 } %752, 1
  store i32 %754, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %57) #10
  br label %755

755:                                              ; preds = %751, %747, %743
  call void @llvm.lifetime.end.p0(i64 256, ptr %57) #10
  br label %809

756:                                              ; preds = %608
  %757 = landingpad { ptr, i32 }
          cleanup
  %758 = extractvalue { ptr, i32 } %757, 0
  store ptr %758, ptr %5, align 8
  %759 = extractvalue { ptr, i32 } %757, 1
  store i32 %759, ptr %6, align 4
  br label %809

760:                                              ; preds = %614, %611
  %761 = landingpad { ptr, i32 }
          cleanup
  %762 = extractvalue { ptr, i32 } %761, 0
  store ptr %762, ptr %5, align 8
  %763 = extractvalue { ptr, i32 } %761, 1
  store i32 %763, ptr %6, align 4
  br label %808

764:                                              ; preds = %613
  %765 = landingpad { ptr, i32 }
          cleanup
  %766 = extractvalue { ptr, i32 } %765, 0
  store ptr %766, ptr %5, align 8
  %767 = extractvalue { ptr, i32 } %765, 1
  store i32 %767, ptr %6, align 4
  call void @_ZN3JPH28MutableCompoundShapeSettingsdlEPv(ptr noundef %612) #10
  br label %808

768:                                              ; preds = %739, %695, %659, %649, %647, %646, %644, %635, %620, %618, %617, %615
  %769 = landingpad { ptr, i32 }
          cleanup
  %770 = extractvalue { ptr, i32 } %769, 0
  store ptr %770, ptr %5, align 8
  %771 = extractvalue { ptr, i32 } %769, 1
  store i32 %771, ptr %6, align 4
  br label %807

772:                                              ; preds = %630, %629
  %773 = landingpad { ptr, i32 }
          cleanup
  %774 = extractvalue { ptr, i32 } %773, 0
  store ptr %774, ptr %5, align 8
  %775 = extractvalue { ptr, i32 } %773, 1
  store i32 %775, ptr %6, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %628) #10
  br label %807

776:                                              ; preds = %658
  %777 = landingpad { ptr, i32 }
          cleanup
  %778 = extractvalue { ptr, i32 } %777, 0
  store ptr %778, ptr %5, align 8
  %779 = extractvalue { ptr, i32 } %777, 1
  store i32 %779, ptr %6, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %657) #10
  br label %807

780:                                              ; preds = %675, %673, %672, %668
  %781 = landingpad { ptr, i32 }
          cleanup
  %782 = extractvalue { ptr, i32 } %781, 0
  store ptr %782, ptr %5, align 8
  %783 = extractvalue { ptr, i32 } %781, 1
  store i32 %783, ptr %6, align 4
  br label %788

784:                                              ; preds = %693, %691
  %785 = landingpad { ptr, i32 }
          cleanup
  %786 = extractvalue { ptr, i32 } %785, 0
  store ptr %786, ptr %5, align 8
  %787 = extractvalue { ptr, i32 } %785, 1
  store i32 %787, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %66) #10
  br label %788

788:                                              ; preds = %784, %780
  call void @llvm.lifetime.end.p0(i64 256, ptr %66) #10
  br label %807

789:                                              ; preds = %719, %717, %716, %698
  %790 = landingpad { ptr, i32 }
          cleanup
  %791 = extractvalue { ptr, i32 } %790, 0
  store ptr %791, ptr %5, align 8
  %792 = extractvalue { ptr, i32 } %790, 1
  store i32 %792, ptr %6, align 4
  br label %806

793:                                              ; preds = %711, %703, %702
  %794 = landingpad { ptr, i32 }
          cleanup
  %795 = extractvalue { ptr, i32 } %794, 0
  store ptr %795, ptr %5, align 8
  %796 = extractvalue { ptr, i32 } %794, 1
  store i32 %796, ptr %6, align 4
  br label %801

797:                                              ; preds = %706, %705
  %798 = landingpad { ptr, i32 }
          cleanup
  %799 = extractvalue { ptr, i32 } %798, 0
  store ptr %799, ptr %5, align 8
  %800 = extractvalue { ptr, i32 } %798, 1
  store i32 %800, ptr %6, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %704) #10
  br label %801

801:                                              ; preds = %797, %793
  call void @_ZN3JPH31OffsetCenterOfMassShapeSettingsdlEPv(ptr noundef %701) #10
  br label %806

802:                                              ; preds = %737, %735
  %803 = landingpad { ptr, i32 }
          cleanup
  %804 = extractvalue { ptr, i32 } %803, 0
  store ptr %804, ptr %5, align 8
  %805 = extractvalue { ptr, i32 } %803, 1
  store i32 %805, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %69) #10
  br label %806

806:                                              ; preds = %802, %801, %789
  call void @llvm.lifetime.end.p0(i64 256, ptr %69) #10
  br label %807

807:                                              ; preds = %806, %788, %776, %772, %768
  call void @_ZN3JPH3RefINS_28MutableCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #10
  br label %808

808:                                              ; preds = %807, %764, %760
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  br label %809

809:                                              ; preds = %808, %756, %755, %576
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #10
  br label %810

810:                                              ; preds = %809, %545
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  br label %811

811:                                              ; preds = %810, %541
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  br label %812

812:                                              ; preds = %811, %537, %536, %520, %516, %512, %508, %504, %500, %496, %492
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #10
  br label %813

813:                                              ; preds = %812, %491, %475, %474
  call void @_ZN3JPH3RefINS_23ConvexHullShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  br label %814

814:                                              ; preds = %813, %462, %458
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %815

815:                                              ; preds = %814, %454, %450, %446, %442
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #10
  br label %816

816:                                              ; preds = %815, %441, %429, %425, %421
  call void @_ZN3JPH3RefINS_27StaticCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %817

817:                                              ; preds = %816, %417
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %818

818:                                              ; preds = %817, %416, %407, %398
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %819

819:                                              ; preds = %818
  %820 = load ptr, ptr %5, align 8
  %821 = load i32, ptr %6, align 4
  %822 = insertvalue { ptr, i32 } poison, ptr %820, 0
  %823 = insertvalue { ptr, i32 } %822, i32 %821, 1
  resume { ptr, i32 } %823
}

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

declare noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256)) #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 noundef ptr @_ZN3JPH8BoxShapenwEm(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 @_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: 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 { 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 noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) #6 align 2

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88), double, double, double, double, ptr noundef, i32 noundef) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline mustprogress 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { 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 = !{i64 0, i64 4, !19}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.JPH::BodyID" = type { i32 }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.6", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.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.6" = type { ptr }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::Array.16" = type { i64, i64, ptr }
%"class.JPH::Ref.19" = type { ptr }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.JPH::Ref.20" = 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 @_ZN14WaterShapeTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(112) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::BodyID", align 4
  %3 = alloca %"class.JPH::BodyCreationSettings", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::BodyCreationSettings", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::BodyCreationSettings", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Ref", align 8
  %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::Array.16", align 8
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Ref.19", align 8
  %23 = alloca %"class.JPH::BodyCreationSettings", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::BodyCreationSettings", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Array.16", align 8
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::BodyCreationSettings", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.std::linear_congruential_engine", align 8
  %40 = alloca %"class.std::uniform_real_distribution", align 4
  %41 = alloca %"class.JPH::Array.16", align 8
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::BodyCreationSettings", align 16
  %44 = alloca %"class.JPH::Vec3", align 16
  %45 = alloca %"class.JPH::Ref.20", align 8
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.JPH::BodyCreationSettings", align 16
  %50 = alloca %"class.JPH::Vec3", align 16
  %51 = alloca %"class.JPH::BodyCreationSettings", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Vec3", align 16
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = 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 4, ptr nonnull %2) #9
  %56 = getelementptr inbounds i8, ptr %0, i64 24
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #9
  %58 = tail call noundef ptr @_ZN3JPH11ScaledShapenwEm(i64 noundef 64)
  %59 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %60 unwind label %253

60:                                               ; preds = %1
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 2.500000e+00)
          to label %61 unwind label %255

61:                                               ; preds = %60
  %62 = load double, ptr %4, align 16
  %63 = getelementptr inbounds i8, ptr %4, i64 8
  %64 = load double, ptr %63, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %59, double %62, double %64, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %65 unwind label %255

65:                                               ; preds = %61
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef 5.000000e-01, float noundef 0x3FE3333340000000, float noundef 0xBFE6666660000000)
          to label %66 unwind label %253

66:                                               ; preds = %65
  %67 = load double, ptr %5, align 16
  %68 = getelementptr inbounds i8, ptr %5, i64 8
  %69 = load double, ptr %68, align 8
  invoke void @_ZN3JPH11ScaledShapeC2EPKNS_5ShapeENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %58, ptr noundef nonnull %59, double %67, double %69)
          to label %70 unwind label %253

70:                                               ; preds = %66
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef -1.000000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %71 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %72 = extractvalue { double, double } %71, 0
  %73 = extractvalue { double, double } %71, 1
  %74 = load double, ptr %6, align 16
  %75 = getelementptr inbounds i8, ptr %6, i64 8
  %76 = load double, ptr %75, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %3, ptr noundef nonnull %58, double %74, double %76, double %72, double %73, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %77 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 16 dereferenceable(256) %3)
          to label %78 unwind label %258

78:                                               ; preds = %70
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %77)
  %80 = load i32, ptr %79, align 4, !tbaa !17
  store i32 %80, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #9
  %81 = load ptr, ptr %56, align 8, !tbaa !5
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
  %82 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #9
  %83 = call noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 2.500000e+00)
          to label %84 unwind label %261

84:                                               ; preds = %78
  %85 = load double, ptr %8, align 16
  %86 = getelementptr inbounds i8, ptr %8, i64 8
  %87 = load double, ptr %86, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %83, double %85, double %87, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %88 unwind label %261

88:                                               ; preds = %84
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef -7.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %89 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %90 = extractvalue { double, double } %89, 0
  %91 = extractvalue { double, double } %89, 1
  %92 = load double, ptr %9, align 16
  %93 = getelementptr inbounds i8, ptr %9, i64 8
  %94 = load double, ptr %93, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %7, ptr noundef nonnull %83, double %92, double %94, double %90, double %91, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %95 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 16 dereferenceable(256) %7)
          to label %96 unwind label %263

96:                                               ; preds = %88
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %95)
  %98 = load i32, ptr %97, align 4, !tbaa !17
  store i32 %98, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %7) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #9
  %99 = load ptr, ptr %56, align 8, !tbaa !5
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
  %100 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %10) #9
  %101 = call noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %101, float noundef 2.000000e+00, ptr noundef null)
          to label %102 unwind label %266

102:                                              ; preds = %96
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef -3.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
  %103 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %104 = extractvalue { double, double } %103, 0
  %105 = extractvalue { double, double } %103, 1
  %106 = load double, ptr %11, align 16
  %107 = getelementptr inbounds i8, ptr %11, i64 8
  %108 = load double, ptr %107, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %10, ptr noundef nonnull %101, double %106, double %108, double %104, double %105, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %109 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 16 dereferenceable(256) %10)
          to label %110 unwind label %268

110:                                              ; preds = %102
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %109)
  %112 = load i32, ptr %111, align 4, !tbaa !17
  store i32 %112, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %10) #9
  %113 = load ptr, ptr %56, align 8, !tbaa !5
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %114 = call noundef ptr @_ZN3JPH27StaticCompoundShapeSettingsnwEm(i64 noundef 88)
  invoke void @_ZN3JPH27StaticCompoundShapeSettingsC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %114)
          to label %115 unwind label %271

115:                                              ; preds = %110
  call void @_ZN3JPH3RefINS_27StaticCompoundShapeSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull %114)
  %116 = call noundef ptr @_ZNK3JPH3RefINS_27StaticCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %117 unwind label %273

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

119:                                              ; preds = %117
  %120 = extractvalue { double, double } %118, 0
  %121 = extractvalue { double, double } %118, 1
  %122 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %123 unwind label %273

123:                                              ; preds = %119
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %122, float noundef 2.000000e+00, ptr noundef null)
          to label %124 unwind label %275

124:                                              ; preds = %123
  %125 = load double, ptr %13, align 16
  %126 = getelementptr inbounds i8, ptr %13, i64 8
  %127 = load double, ptr %126, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %116, double %125, double %127, double %120, double %121, ptr noundef nonnull %122, i32 noundef 0)
          to label %128 unwind label %273

128:                                              ; preds = %124
  %129 = call noundef ptr @_ZNK3JPH3RefINS_27StaticCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %130 unwind label %273

130:                                              ; preds = %128
  %131 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %132 unwind label %273

132:                                              ; preds = %130
  %133 = extractvalue { double, double } %131, 0
  %134 = extractvalue { double, double } %131, 1
  %135 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %136 unwind label %273

136:                                              ; preds = %132
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %135, float noundef 1.000000e+00, ptr noundef null)
          to label %137 unwind label %277

137:                                              ; preds = %136
  %138 = load double, ptr %14, align 16
  %139 = getelementptr inbounds i8, ptr %14, i64 8
  %140 = load double, ptr %139, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %129, double %138, double %140, double %133, double %134, ptr noundef nonnull %135, i32 noundef 0)
          to label %141 unwind label %273

141:                                              ; preds = %137
  %142 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %15) #9
  %143 = call noundef ptr @_ZNK3JPH3RefINS_27StaticCompoundShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef 3.000000e+00, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %144 unwind label %279

144:                                              ; preds = %141
  %145 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %146 unwind label %279

146:                                              ; preds = %144
  %147 = extractvalue { double, double } %145, 0
  %148 = extractvalue { double, double } %145, 1
  %149 = load double, ptr %16, align 16
  %150 = getelementptr inbounds i8, ptr %16, i64 8
  %151 = load double, ptr %150, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %15, ptr noundef %143, double %149, double %151, double %147, double %148, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %152 unwind label %279

152:                                              ; preds = %146
  %153 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %142, ptr noundef nonnull align 16 dereferenceable(256) %15)
          to label %154 unwind label %281

154:                                              ; preds = %152
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %153)
  %156 = load i32, ptr %155, align 4, !tbaa !17
  store i32 %156, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %15) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %15) #9
  %157 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %157, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %158 unwind label %273

158:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef -2.000000e+00, float noundef 0.000000e+00, float noundef -2.000000e+00)
          to label %159 unwind label %284

159:                                              ; preds = %158
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 16 dereferenceable(16) %18)
          to label %160 unwind label %284

160:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 2.000000e+00)
          to label %161 unwind label %286

161:                                              ; preds = %160
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 16 dereferenceable(16) %19)
          to label %162 unwind label %286

162:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef -2.000000e+00)
          to label %163 unwind label %288

163:                                              ; preds = %162
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 16 dereferenceable(16) %20)
          to label %164 unwind label %288

164:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef 0.000000e+00, float noundef -2.000000e+00, float noundef 0.000000e+00)
          to label %165 unwind label %290

165:                                              ; preds = %164
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 16 dereferenceable(16) %21)
          to label %166 unwind label %290

166:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %167 = invoke noundef ptr @_ZN3JPH23ConvexHullShapeSettingsnwEm(i64 noundef 120)
          to label %168 unwind label %292

168:                                              ; preds = %166
  invoke void @_ZN3JPH23ConvexHullShapeSettingsC2ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEEfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(120) %167, ptr noundef nonnull align 8 dereferenceable(24) %17, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %169 unwind label %294

169:                                              ; preds = %168
  invoke void @_ZN3JPH3RefINS_23ConvexHullShapeSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull %167)
          to label %170 unwind label %292

170:                                              ; preds = %169
  %171 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %23) #9
  %172 = call noundef ptr @_ZNK3JPH3RefINS_23ConvexHullShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 1.000000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %173 unwind label %296

173:                                              ; preds = %170
  %174 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %175 unwind label %296

175:                                              ; preds = %173
  %176 = extractvalue { double, double } %174, 0
  %177 = extractvalue { double, double } %174, 1
  %178 = load double, ptr %24, align 16
  %179 = getelementptr inbounds i8, ptr %24, i64 8
  %180 = load double, ptr %179, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %23, ptr noundef %172, double %178, double %180, double %176, double %177, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %181 unwind label %296

181:                                              ; preds = %175
  %182 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %171, ptr noundef nonnull align 16 dereferenceable(256) %23)
          to label %183 unwind label %298

183:                                              ; preds = %181
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %182)
  %185 = load i32, ptr %184, align 4, !tbaa !17
  store i32 %185, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %23) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %23) #9
  %186 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %186, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %187 unwind label %301

187:                                              ; preds = %183
  %188 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %25) #9
  %189 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %190 unwind label %303

190:                                              ; preds = %187
  %191 = call noundef ptr @_ZNK3JPH3RefINS_23ConvexHullShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 1.000000e+00, float noundef -1.500000e+00, float noundef 2.000000e+00)
          to label %192 unwind label %305

192:                                              ; preds = %190
  %193 = load double, ptr %26, align 16
  %194 = getelementptr inbounds i8, ptr %26, i64 8
  %195 = load double, ptr %194, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %189, ptr noundef %191, double %193, double %195)
          to label %196 unwind label %305

196:                                              ; preds = %192
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef 1.500000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %197 unwind label %303

197:                                              ; preds = %196
  %198 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %199 unwind label %303

199:                                              ; preds = %197
  %200 = extractvalue { double, double } %198, 0
  %201 = extractvalue { double, double } %198, 1
  %202 = load double, ptr %27, align 16
  %203 = getelementptr inbounds i8, ptr %27, i64 8
  %204 = load double, ptr %203, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %25, ptr noundef nonnull %189, double %202, double %204, double %200, double %201, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %205 unwind label %303

205:                                              ; preds = %199
  %206 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %188, ptr noundef nonnull align 16 dereferenceable(256) %25)
          to label %207 unwind label %307

207:                                              ; preds = %205
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %206)
  %209 = load i32, ptr %208, align 4, !tbaa !17
  store i32 %209, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %25) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %25) #9
  %210 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %210, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %211 unwind label %301

211:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef 1.500000e+00, float noundef 1.000000e+00, float noundef 5.000000e-01)
          to label %212 unwind label %310

212:                                              ; preds = %211
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %29)
          to label %213 unwind label %310

213:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef -1.500000e+00, float noundef 1.000000e+00, float noundef 5.000000e-01)
          to label %214 unwind label %312

214:                                              ; preds = %213
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %30)
          to label %215 unwind label %312

215:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %31, float noundef 1.500000e+00, float noundef -1.000000e+00, float noundef 5.000000e-01)
          to label %216 unwind label %314

216:                                              ; preds = %215
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %31)
          to label %217 unwind label %314

217:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %32, float noundef -1.500000e+00, float noundef -1.000000e+00, float noundef 5.000000e-01)
          to label %218 unwind label %316

218:                                              ; preds = %217
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %32)
          to label %219 unwind label %316

219:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef 1.500000e+00, float noundef 1.000000e+00, float noundef -5.000000e-01)
          to label %220 unwind label %318

220:                                              ; preds = %219
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %33)
          to label %221 unwind label %318

221:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef -1.500000e+00, float noundef 1.000000e+00, float noundef -5.000000e-01)
          to label %222 unwind label %320

222:                                              ; preds = %221
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %34)
          to label %223 unwind label %320

223:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %35, float noundef 1.500000e+00, float noundef -1.000000e+00, float noundef -5.000000e-01)
          to label %224 unwind label %322

224:                                              ; preds = %223
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %35)
          to label %225 unwind label %322

225:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %36, float noundef -1.500000e+00, float noundef -1.000000e+00, float noundef -5.000000e-01)
          to label %226 unwind label %324

226:                                              ; preds = %225
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 16 dereferenceable(16) %36)
          to label %227 unwind label %324

227:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #9
  %228 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %37) #9
  %229 = invoke noundef ptr @_ZN3JPH23ConvexHullShapeSettingsnwEm(i64 noundef 120)
          to label %230 unwind label %326

230:                                              ; preds = %227
  invoke void @_ZN3JPH23ConvexHullShapeSettingsC2ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEEfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(120) %229, ptr noundef nonnull align 8 dereferenceable(24) %28, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %231 unwind label %328

231:                                              ; preds = %230
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %38, float noundef 1.800000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %232 unwind label %326

232:                                              ; preds = %231
  %233 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %234 unwind label %326

234:                                              ; preds = %232
  %235 = extractvalue { double, double } %233, 0
  %236 = extractvalue { double, double } %233, 1
  %237 = load double, ptr %38, align 16
  %238 = getelementptr inbounds i8, ptr %38, i64 8
  %239 = load double, ptr %238, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %37, ptr noundef nonnull %229, double %237, double %239, double %235, double %236, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %240 unwind label %326

240:                                              ; preds = %234
  %241 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %228, ptr noundef nonnull align 16 dereferenceable(256) %37)
          to label %242 unwind label %330

242:                                              ; preds = %240
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %241)
  %244 = load i32, ptr %243, align 4, !tbaa !17
  store i32 %244, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %37) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %37) #9
  %245 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %245, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %246 unwind label %333

246:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #9
  invoke void @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %247 unwind label %335

247:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef 0x3FB99999A0000000, float noundef 0x3FFE666660000000)
          to label %248 unwind label %337

248:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  %249 = getelementptr inbounds i8, ptr %42, i64 8
  br label %339

250:                                              ; preds = %350
  %251 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %43) #9
  %252 = invoke noundef ptr @_ZN3JPH23ConvexHullShapeSettingsnwEm(i64 noundef 120)
          to label %354 unwind label %452

253:                                              ; preds = %66, %65, %1
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %257

255:                                              ; preds = %61, %60
  %256 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %59) #9
  br label %257

257:                                              ; preds = %255, %253
  %.pn = phi { ptr, i32 } [ %254, %253 ], [ %256, %255 ]
  call void @_ZN3JPH11ScaledShapedlEPv(ptr noundef %58) #9
  br label %260

258:                                              ; preds = %70
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #9
  br label %260

260:                                              ; preds = %258, %257
  %.pn58 = phi { ptr, i32 } [ %259, %258 ], [ %.pn, %257 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #9
  br label %497

261:                                              ; preds = %84, %78
  %262 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %83) #9
  br label %265

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

265:                                              ; preds = %263, %261
  %.pn60 = phi { ptr, i32 } [ %264, %263 ], [ %262, %261 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #9
  br label %497

266:                                              ; preds = %96
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %101) #9
  br label %270

268:                                              ; preds = %102
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #9
  br label %270

270:                                              ; preds = %268, %266
  %.pn62 = phi { ptr, i32 } [ %269, %268 ], [ %267, %266 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %10) #9
  br label %497

271:                                              ; preds = %110
  %272 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH27StaticCompoundShapeSettingsdlEPv(ptr noundef %114) #9
  br label %496

273:                                              ; preds = %154, %137, %132, %130, %128, %124, %119, %117, %115
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %495

275:                                              ; preds = %123
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %122) #9
  br label %495

277:                                              ; preds = %136
  %278 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %135) #9
  br label %495

279:                                              ; preds = %146, %144, %141
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %283

281:                                              ; preds = %152
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %15) #9
  br label %283

283:                                              ; preds = %281, %279
  %.pn64 = phi { ptr, i32 } [ %282, %281 ], [ %280, %279 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %15) #9
  br label %495

284:                                              ; preds = %159, %158
  %285 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  br label %494

286:                                              ; preds = %161, %160
  %287 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #9
  br label %494

288:                                              ; preds = %163, %162
  %289 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  br label %494

290:                                              ; preds = %165, %164
  %291 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #9
  br label %494

292:                                              ; preds = %169, %166
  %293 = landingpad { ptr, i32 }
          cleanup
  br label %493

294:                                              ; preds = %168
  %295 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH23ConvexHullShapeSettingsdlEPv(ptr noundef %167) #9
  br label %493

296:                                              ; preds = %175, %173, %170
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %300

298:                                              ; preds = %181
  %299 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %23) #9
  br label %300

300:                                              ; preds = %298, %296
  %.pn66 = phi { ptr, i32 } [ %299, %298 ], [ %297, %296 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %23) #9
  br label %492

301:                                              ; preds = %207, %183
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %492

303:                                              ; preds = %199, %197, %196, %187
  %304 = landingpad { ptr, i32 }
          cleanup
  br label %309

305:                                              ; preds = %192, %190
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %189) #9
  br label %309

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

309:                                              ; preds = %307, %305, %303
  %.pn68 = phi { ptr, i32 } [ %308, %307 ], [ %304, %303 ], [ %306, %305 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %25) #9
  br label %492

310:                                              ; preds = %212, %211
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #9
  br label %491

312:                                              ; preds = %214, %213
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #9
  br label %491

314:                                              ; preds = %216, %215
  %315 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #9
  br label %491

316:                                              ; preds = %218, %217
  %317 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  br label %491

318:                                              ; preds = %220, %219
  %319 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #9
  br label %491

320:                                              ; preds = %222, %221
  %321 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #9
  br label %491

322:                                              ; preds = %224, %223
  %323 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  br label %491

324:                                              ; preds = %226, %225
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #9
  br label %491

326:                                              ; preds = %234, %232, %231, %227
  %327 = landingpad { ptr, i32 }
          cleanup
  br label %332

328:                                              ; preds = %230
  %329 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH23ConvexHullShapeSettingsdlEPv(ptr noundef %229) #9
  br label %332

330:                                              ; preds = %240
  %331 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %37) #9
  br label %332

332:                                              ; preds = %330, %328, %326
  %.pn70 = phi { ptr, i32 } [ %331, %330 ], [ %327, %326 ], [ %329, %328 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %37) #9
  br label %491

333:                                              ; preds = %242
  %334 = landingpad { ptr, i32 }
          cleanup
  br label %491

335:                                              ; preds = %246
  %336 = landingpad { ptr, i32 }
          cleanup
  br label %490

337:                                              ; preds = %247
  %338 = landingpad { ptr, i32 }
          cleanup
  br label %489

339:                                              ; preds = %248, %350
  %.05694 = phi i32 [ 0, %248 ], [ %351, %350 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #9
  %340 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %341 unwind label %352

341:                                              ; preds = %339
  %342 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %343 unwind label %352

343:                                              ; preds = %341
  %344 = extractvalue { double, double } %342, 0
  %345 = extractvalue { double, double } %342, 1
  %346 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %340, double %344, double %345)
          to label %347 unwind label %352

347:                                              ; preds = %343
  %348 = extractvalue { double, double } %346, 0
  store double %348, ptr %42, align 16
  %349 = extractvalue { double, double } %346, 1
  store double %349, ptr %249, align 8
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 16 dereferenceable(16) %42)
          to label %350 unwind label %352

350:                                              ; preds = %347
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #9
  %351 = add nuw nsw i32 %.05694, 1
  %exitcond.not = icmp eq i32 %351, 20
  br i1 %exitcond.not, label %250, label %339, !llvm.loop !19

352:                                              ; preds = %347, %343, %341, %339
  %353 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #9
  br label %488

354:                                              ; preds = %250
  invoke void @_ZN3JPH23ConvexHullShapeSettingsC2ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEEfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(120) %252, ptr noundef nonnull align 8 dereferenceable(24) %41, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %355 unwind label %454

355:                                              ; preds = %354
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %44, float noundef 2.100000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %356 unwind label %452

356:                                              ; preds = %355
  %357 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %358 unwind label %452

358:                                              ; preds = %356
  %359 = extractvalue { double, double } %357, 0
  %360 = extractvalue { double, double } %357, 1
  %361 = load double, ptr %44, align 16
  %362 = getelementptr inbounds i8, ptr %44, i64 8
  %363 = load double, ptr %362, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %43, ptr noundef nonnull %252, double %361, double %363, double %359, double %360, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %364 unwind label %452

364:                                              ; preds = %358
  %365 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %251, ptr noundef nonnull align 16 dereferenceable(256) %43)
          to label %366 unwind label %456

366:                                              ; preds = %364
  %367 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %365)
  %368 = load i32, ptr %367, align 4, !tbaa !17
  store i32 %368, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %43) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %43) #9
  %369 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %369, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %370 unwind label %459

370:                                              ; preds = %366
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #9
  %371 = invoke noundef ptr @_ZN3JPH28MutableCompoundShapeSettingsnwEm(i64 noundef 88)
          to label %372 unwind label %461

372:                                              ; preds = %370
  invoke void @_ZN3JPH28MutableCompoundShapeSettingsC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %371)
          to label %373 unwind label %463

373:                                              ; preds = %372
  invoke void @_ZN3JPH3RefINS_28MutableCompoundShapeSettingsEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull %371)
          to label %374 unwind label %461

374:                                              ; preds = %373
  %375 = call noundef ptr @_ZNK3JPH3RefINS_28MutableCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %376 unwind label %465

376:                                              ; preds = %374
  %377 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %378 unwind label %465

378:                                              ; preds = %376
  %379 = extractvalue { double, double } %377, 0
  %380 = extractvalue { double, double } %377, 1
  %381 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %382 unwind label %465

382:                                              ; preds = %378
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef 5.000000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00)
          to label %383 unwind label %467

383:                                              ; preds = %382
  %384 = load double, ptr %47, align 16
  %385 = getelementptr inbounds i8, ptr %47, i64 8
  %386 = load double, ptr %385, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %381, double %384, double %386, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %387 unwind label %467

387:                                              ; preds = %383
  %388 = load double, ptr %46, align 16
  %389 = getelementptr inbounds i8, ptr %46, i64 8
  %390 = load double, ptr %389, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %375, double %388, double %390, double %379, double %380, ptr noundef nonnull %381, i32 noundef 0)
          to label %391 unwind label %465

391:                                              ; preds = %387
  %392 = call noundef ptr @_ZNK3JPH3RefINS_28MutableCompoundShapeSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %48, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %393 unwind label %465

393:                                              ; preds = %391
  %394 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %395 unwind label %465

395:                                              ; preds = %393
  %396 = extractvalue { double, double } %394, 0
  %397 = extractvalue { double, double } %394, 1
  %398 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %399 unwind label %465

399:                                              ; preds = %395
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %398, float noundef 1.000000e+00, ptr noundef null)
          to label %400 unwind label %469

400:                                              ; preds = %399
  %401 = load double, ptr %48, align 16
  %402 = getelementptr inbounds i8, ptr %48, i64 8
  %403 = load double, ptr %402, align 8
  invoke void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88) %392, double %401, double %403, double %396, double %397, ptr noundef nonnull %398, i32 noundef 0)
          to label %404 unwind label %465

404:                                              ; preds = %400
  %405 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %49) #9
  %406 = call noundef ptr @_ZNK3JPH3RefINS_28MutableCompoundShapeSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %45)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %50, float noundef 2.500000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %407 unwind label %471

407:                                              ; preds = %404
  %408 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %409 unwind label %471

409:                                              ; preds = %407
  %410 = extractvalue { double, double } %408, 0
  %411 = extractvalue { double, double } %408, 1
  %412 = load double, ptr %50, align 16
  %413 = getelementptr inbounds i8, ptr %50, i64 8
  %414 = load double, ptr %413, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %49, ptr noundef %406, double %412, double %414, double %410, double %411, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %415 unwind label %471

415:                                              ; preds = %409
  %416 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %405, ptr noundef nonnull align 16 dereferenceable(256) %49)
          to label %417 unwind label %473

417:                                              ; preds = %415
  %418 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %416)
  %419 = load i32, ptr %418, align 4, !tbaa !17
  store i32 %419, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %49) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %49) #9
  %420 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %420, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %421 unwind label %465

421:                                              ; preds = %417
  %422 = load ptr, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %51) #9
  %423 = invoke noundef ptr @_ZN3JPH31OffsetCenterOfMassShapeSettingsnwEm(i64 noundef 96)
          to label %424 unwind label %476

424:                                              ; preds = %421
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %52, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %425 unwind label %478

425:                                              ; preds = %424
  %426 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %427 unwind label %478

427:                                              ; preds = %425
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %53, float noundef 2.000000e+00, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %428 unwind label %480

428:                                              ; preds = %427
  %429 = load double, ptr %53, align 16
  %430 = getelementptr inbounds i8, ptr %53, i64 8
  %431 = load double, ptr %430, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %426, double %429, double %431, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %432 unwind label %480

432:                                              ; preds = %428
  %433 = load double, ptr %52, align 16
  %434 = getelementptr inbounds i8, ptr %52, i64 8
  %435 = load double, ptr %434, align 8
  invoke void @_ZN3JPH31OffsetCenterOfMassShapeSettingsC2ENS_4Vec3EPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(96) %423, double %433, double %435, ptr noundef nonnull %426)
          to label %436 unwind label %478

436:                                              ; preds = %432
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %54, float noundef 3.000000e+01, float noundef 2.000000e+01, float noundef 0.000000e+00)
          to label %437 unwind label %476

437:                                              ; preds = %436
  %438 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %439 unwind label %476

439:                                              ; preds = %437
  %440 = extractvalue { double, double } %438, 0
  %441 = extractvalue { double, double } %438, 1
  %442 = load double, ptr %54, align 16
  %443 = getelementptr inbounds i8, ptr %54, i64 8
  %444 = load double, ptr %443, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %51, ptr noundef nonnull %423, double %442, double %444, double %440, double %441, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %445 unwind label %476

445:                                              ; preds = %439
  %446 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %422, ptr noundef nonnull align 16 dereferenceable(256) %51)
          to label %447 unwind label %483

447:                                              ; preds = %445
  %448 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %446)
  %449 = load i32, ptr %448, align 4, !tbaa !17
  store i32 %449, ptr %2, align 4, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %51) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %51) #9
  %450 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %450, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 0)
          to label %451 unwind label %465

451:                                              ; preds = %447
  call void @_ZN3JPH3RefINS_28MutableCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #9
  call void @_ZN3JPH3RefINS_23ConvexHullShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #9
  call void @_ZN3JPH3RefINS_27StaticCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  ret void

452:                                              ; preds = %358, %356, %355, %250
  %453 = landingpad { ptr, i32 }
          cleanup
  br label %458

454:                                              ; preds = %354
  %455 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH23ConvexHullShapeSettingsdlEPv(ptr noundef %252) #9
  br label %458

456:                                              ; preds = %364
  %457 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %43) #9
  br label %458

458:                                              ; preds = %456, %454, %452
  %.pn72 = phi { ptr, i32 } [ %457, %456 ], [ %453, %452 ], [ %455, %454 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %43) #9
  br label %488

459:                                              ; preds = %366
  %460 = landingpad { ptr, i32 }
          cleanup
  br label %488

461:                                              ; preds = %373, %370
  %462 = landingpad { ptr, i32 }
          cleanup
  br label %487

463:                                              ; preds = %372
  %464 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH28MutableCompoundShapeSettingsdlEPv(ptr noundef %371) #9
  br label %487

465:                                              ; preds = %447, %417, %400, %395, %393, %391, %387, %378, %376, %374
  %466 = landingpad { ptr, i32 }
          cleanup
  br label %486

467:                                              ; preds = %383, %382
  %468 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %381) #9
  br label %486

469:                                              ; preds = %399
  %470 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %398) #9
  br label %486

471:                                              ; preds = %409, %407, %404
  %472 = landingpad { ptr, i32 }
          cleanup
  br label %475

473:                                              ; preds = %415
  %474 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %49) #9
  br label %475

475:                                              ; preds = %473, %471
  %.pn74 = phi { ptr, i32 } [ %474, %473 ], [ %472, %471 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %49) #9
  br label %486

476:                                              ; preds = %439, %437, %436, %421
  %477 = landingpad { ptr, i32 }
          cleanup
  br label %485

478:                                              ; preds = %432, %425, %424
  %479 = landingpad { ptr, i32 }
          cleanup
  br label %482

480:                                              ; preds = %428, %427
  %481 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %426) #9
  br label %482

482:                                              ; preds = %480, %478
  %.pn76 = phi { ptr, i32 } [ %479, %478 ], [ %481, %480 ]
  call void @_ZN3JPH31OffsetCenterOfMassShapeSettingsdlEPv(ptr noundef %423) #9
  br label %485

483:                                              ; preds = %445
  %484 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %51) #9
  br label %485

485:                                              ; preds = %483, %482, %476
  %.pn78 = phi { ptr, i32 } [ %484, %483 ], [ %477, %476 ], [ %.pn76, %482 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %51) #9
  br label %486

486:                                              ; preds = %485, %475, %469, %467, %465
  %.pn80 = phi { ptr, i32 } [ %466, %465 ], [ %.pn78, %485 ], [ %.pn74, %475 ], [ %470, %469 ], [ %468, %467 ]
  call void @_ZN3JPH3RefINS_28MutableCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  br label %487

487:                                              ; preds = %486, %463, %461
  %.pn80.pn = phi { ptr, i32 } [ %.pn80, %486 ], [ %462, %461 ], [ %464, %463 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #9
  br label %488

488:                                              ; preds = %487, %459, %458, %352
  %.pn83 = phi { ptr, i32 } [ %353, %352 ], [ %.pn80.pn, %487 ], [ %460, %459 ], [ %.pn72, %458 ]
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #9
  br label %489

489:                                              ; preds = %488, %337
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %488 ], [ %338, %337 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #9
  br label %490

490:                                              ; preds = %489, %335
  %.pn83.pn.pn = phi { ptr, i32 } [ %.pn83.pn, %489 ], [ %336, %335 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #9
  br label %491

491:                                              ; preds = %490, %333, %332, %324, %322, %320, %318, %316, %314, %312, %310
  %.pn83.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn, %490 ], [ %334, %333 ], [ %.pn70, %332 ], [ %325, %324 ], [ %323, %322 ], [ %321, %320 ], [ %319, %318 ], [ %317, %316 ], [ %315, %314 ], [ %313, %312 ], [ %311, %310 ]
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #9
  br label %492

492:                                              ; preds = %491, %309, %301, %300
  %.pn83.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn, %491 ], [ %302, %301 ], [ %.pn68, %309 ], [ %.pn66, %300 ]
  call void @_ZN3JPH3RefINS_23ConvexHullShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  br label %493

493:                                              ; preds = %492, %294, %292
  %.pn83.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn, %492 ], [ %293, %292 ], [ %295, %294 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %494

494:                                              ; preds = %493, %290, %288, %286, %284
  %.pn83.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn.pn, %493 ], [ %291, %290 ], [ %289, %288 ], [ %287, %286 ], [ %285, %284 ]
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #9
  br label %495

495:                                              ; preds = %494, %283, %277, %275, %273
  %.pn83.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn.pn.pn, %494 ], [ %274, %273 ], [ %.pn64, %283 ], [ %278, %277 ], [ %276, %275 ]
  call void @_ZN3JPH3RefINS_27StaticCompoundShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br label %496

496:                                              ; preds = %495, %271
  %.pn83.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn.pn.pn.pn, %495 ], [ %272, %271 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %497

497:                                              ; preds = %496, %270, %265, %260
  %.pn83.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn.pn.pn.pn.pn, %496 ], [ %.pn62, %270 ], [ %.pn60, %265 ], [ %.pn58, %260 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn83.pn.pn.pn.pn.pn.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

declare noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256)) local_unnamed_addr #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 noundef ptr @_ZN3JPH8BoxShapenwEm(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 @_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: 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 { 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 noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #6 align 2

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

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

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

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

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

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

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

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

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

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

declare void @_ZN3JPH21CompoundShapeSettings8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEj(ptr noundef nonnull align 8 dereferenceable(88), double, double, double, double, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline mustprogress 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress 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 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 #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 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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