; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/ScaledShapes/ScaledMeshShapeTest.ll (ZN19ScaledMeshShapeTest10InitializeEv)

; 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::Array" = type { i64, i64, ptr }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::Triangle" = type { [3 x %"class.JPH::Float3"], i32, i32 }
%"class.JPH::RefConst.6" = type { ptr }
%"class.JPH::Array.19" = type { i64, i64, ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.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" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19ScaledMeshShapeTest10InitializeEv(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 i32, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca [11 x [11 x float]], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.JPH::Array", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca %"class.JPH::Float3", align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.JPH::Float3", align 4
  %24 = alloca %"class.JPH::Float3", align 4
  %25 = alloca %"class.JPH::Float3", align 4
  %26 = alloca %"class.JPH::Triangle", align 4
  %27 = alloca %"class.JPH::Triangle", align 4
  %28 = alloca %"class.JPH::RefConst.6", align 8
  %29 = alloca %"class.JPH::Array.19", align 8
  %30 = alloca i1, align 1
  %31 = alloca %"class.JPH::BodyCreationSettings", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Quat", align 16
  %34 = alloca %"class.JPH::BodyID", align 4
  %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::BodyID", align 4
  %40 = alloca %"class.JPH::BodyCreationSettings", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Quat", align 16
  %44 = alloca %"class.JPH::BodyID", align 4
  %45 = alloca %"class.JPH::BodyCreationSettings", align 16
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Quat", align 16
  %49 = alloca %"class.JPH::BodyID", align 4
  %50 = alloca %"class.JPH::BodyCreationSettings", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Quat", align 16
  %54 = alloca %"class.JPH::BodyID", align 4
  %55 = alloca %"class.JPH::BodyCreationSettings", align 16
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::Vec3", align 16
  %58 = alloca %"class.JPH::Quat", align 16
  %59 = alloca %"class.JPH::BodyID", align 4
  %60 = alloca %"class.JPH::BodyCreationSettings", align 16
  %61 = alloca %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Vec3", align 16
  %63 = alloca %"class.JPH::Quat", align 16
  %64 = alloca %"class.JPH::BodyID", align 4
  %65 = alloca %"class.JPH::RefConst", align 8
  %66 = alloca %"class.JPH::RefConst", align 8
  %67 = alloca %"class.JPH::Vec3", align 16
  %68 = alloca i32, align 4
  %69 = alloca i32, align 4
  %70 = alloca %"class.JPH::BodyCreationSettings", align 16
  %71 = alloca %"class.JPH::Vec3", align 16
  %72 = alloca %"class.JPH::Quat", align 16
  %73 = alloca %"class.JPH::BodyID", align 4
  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) #11
  store i32 10, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #11
  store float 2.000000e+00, ptr %4, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #11
  store float 4.000000e+00, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 484, ptr %6) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %104, %1
  %77 = load i32, ptr %7, align 4, !tbaa !9
  %78 = icmp sle i32 %77, 10
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  br label %107

80:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %100, %80
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = icmp sle i32 %82, 10
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  br label %103

85:                                               ; preds = %81
  %86 = load i32, ptr %7, align 4, !tbaa !9
  %87 = sitofp i32 %86 to float
  %88 = fdiv float %87, 1.000000e+01
  %89 = load i32, ptr %9, align 4, !tbaa !9
  %90 = sitofp i32 %89 to float
  %91 = fdiv float %90, 1.000000e+01
  %92 = call noundef float @_Z12PerlinNoise3fffiii(float noundef %88, float noundef 0.000000e+00, float noundef %91, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %93 = fmul float 4.000000e+00, %92
  %94 = load i32, ptr %7, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %95
  %97 = load i32, ptr %9, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [11 x float], ptr %96, i64 0, i64 %98
  store float %93, ptr %99, align 4, !tbaa !11
  br label %100

100:                                              ; preds = %85
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %9, align 4, !tbaa !9
  br label %81, !llvm.loop !13

103:                                              ; preds = %84
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %7, align 4, !tbaa !9
  br label %76, !llvm.loop !15

107:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %125, %107
  %109 = load i32, ptr %10, align 4, !tbaa !9
  %110 = icmp sle i32 %109, 10
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  br label %128

112:                                              ; preds = %108
  %113 = load i32, ptr %10, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %114
  %116 = getelementptr inbounds [11 x float], ptr %115, i64 0, i64 0
  %117 = load float, ptr %116, align 4, !tbaa !11
  %118 = fadd float %117, 2.000000e+00
  store float %118, ptr %116, align 4, !tbaa !11
  %119 = load i32, ptr %10, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %120
  %122 = getelementptr inbounds [11 x float], ptr %121, i64 0, i64 10
  %123 = load float, ptr %122, align 4, !tbaa !11
  %124 = fadd float %123, 2.000000e+00
  store float %124, ptr %122, align 4, !tbaa !11
  br label %125

125:                                              ; preds = %112
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %10, align 4, !tbaa !9
  br label %108, !llvm.loop !16

128:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %129

129:                                              ; preds = %146, %128
  %130 = load i32, ptr %11, align 4, !tbaa !9
  %131 = icmp slt i32 %130, 10
  br i1 %131, label %133, label %132

132:                                              ; preds = %129
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %149

133:                                              ; preds = %129
  %134 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 0
  %135 = load i32, ptr %11, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [11 x float], ptr %134, i64 0, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !11
  %139 = fadd float %138, 2.000000e+00
  store float %139, ptr %137, align 4, !tbaa !11
  %140 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 10
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [11 x float], ptr %140, i64 0, i64 %142
  %144 = load float, ptr %143, align 4, !tbaa !11
  %145 = fadd float %144, 2.000000e+00
  store float %145, ptr %143, align 4, !tbaa !11
  br label %146

146:                                              ; preds = %133
  %147 = load i32, ptr %11, align 4, !tbaa !9
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %11, align 4, !tbaa !9
  br label %129, !llvm.loop !17

149:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #11
  call void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #11
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %254, %149
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = icmp slt i32 %151, 10
  br i1 %152, label %154, label %153

153:                                              ; preds = %150
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  br label %257

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %222, %154
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = icmp slt i32 %156, 10
  br i1 %157, label %159, label %158

158:                                              ; preds = %155
  store i32 17, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  br label %253

159:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #11
  store float 1.000000e+01, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #11
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = sitofp i32 %160 to float
  %162 = load float, ptr %15, align 4, !tbaa !11
  %163 = fneg float %162
  %164 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %161, float %163)
  store float %164, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #11
  %165 = load i32, ptr %14, align 4, !tbaa !9
  %166 = sitofp i32 %165 to float
  %167 = load float, ptr %15, align 4, !tbaa !11
  %168 = fneg float %167
  %169 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %166, float %168)
  store float %169, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #11
  %170 = load float, ptr %16, align 4, !tbaa !11
  %171 = fadd float %170, 2.000000e+00
  store float %171, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #11
  %172 = load float, ptr %17, align 4, !tbaa !11
  %173 = fadd float %172, 2.000000e+00
  store float %173, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #11
  %174 = load float, ptr %16, align 4, !tbaa !11
  %175 = load i32, ptr %13, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %176
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [11 x float], ptr %177, i64 0, i64 %179
  %181 = load float, ptr %180, align 4, !tbaa !11
  %182 = load float, ptr %17, align 4, !tbaa !11
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %20, float noundef %174, float noundef %181, float noundef %182)
          to label %183 unwind label %225

183:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #11
  %184 = load float, ptr %18, align 4, !tbaa !11
  %185 = load i32, ptr %13, align 4, !tbaa !9
  %186 = add nsw i32 %185, 1
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %187
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [11 x float], ptr %188, i64 0, i64 %190
  %192 = load float, ptr %191, align 4, !tbaa !11
  %193 = load float, ptr %17, align 4, !tbaa !11
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %184, float noundef %192, float noundef %193)
          to label %194 unwind label %229

194:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #11
  %195 = load float, ptr %16, align 4, !tbaa !11
  %196 = load i32, ptr %13, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %197
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [11 x float], ptr %198, i64 0, i64 %201
  %203 = load float, ptr %202, align 4, !tbaa !11
  %204 = load float, ptr %19, align 4, !tbaa !11
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %24, float noundef %195, float noundef %203, float noundef %204)
          to label %205 unwind label %233

205:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #11
  %206 = load float, ptr %18, align 4, !tbaa !11
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = add nsw i32 %207, 1
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [11 x [11 x float]], ptr %6, i64 0, i64 %209
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = add nsw i32 %211, 1
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [11 x float], ptr %210, i64 0, i64 %213
  %215 = load float, ptr %214, align 4, !tbaa !11
  %216 = load float, ptr %19, align 4, !tbaa !11
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef %206, float noundef %215, float noundef %216)
          to label %217 unwind label %237

217:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 44, ptr %26) #11
  invoke void @_ZN3JPH8TriangleC2ERKNS_6Float3ES3_S3_jj(ptr noundef nonnull align 4 dereferenceable(44) %26, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %25, i32 noundef 0, i32 noundef 0)
          to label %218 unwind label %241

218:                                              ; preds = %217
  invoke void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(44) %26)
          to label %219 unwind label %241

219:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 44, ptr %26) #11
  call void @llvm.lifetime.start.p0(i64 44, ptr %27) #11
  invoke void @_ZN3JPH8TriangleC2ERKNS_6Float3ES3_S3_jj(ptr noundef nonnull align 4 dereferenceable(44) %27, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %23, i32 noundef 0, i32 noundef 0)
          to label %220 unwind label %245

220:                                              ; preds = %219
  invoke void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(44) %27)
          to label %221 unwind label %245

221:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 44, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  br label %222

222:                                              ; preds = %221
  %223 = load i32, ptr %14, align 4, !tbaa !9
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %14, align 4, !tbaa !9
  br label %155, !llvm.loop !18

225:                                              ; preds = %159
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %21, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %22, align 4
  br label %252

229:                                              ; preds = %183
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %21, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %22, align 4
  br label %251

233:                                              ; preds = %194
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %21, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %22, align 4
  br label %250

237:                                              ; preds = %205
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %21, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %22, align 4
  br label %249

241:                                              ; preds = %218, %217
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %21, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 44, ptr %26) #11
  br label %249

245:                                              ; preds = %220, %219
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %21, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 44, ptr %27) #11
  br label %249

249:                                              ; preds = %245, %241, %237
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #11
  br label %250

250:                                              ; preds = %249, %233
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #11
  br label %251

251:                                              ; preds = %250, %229
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #11
  br label %252

252:                                              ; preds = %251, %225
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  br label %703

253:                                              ; preds = %158
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %13, align 4, !tbaa !9
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %13, align 4, !tbaa !9
  br label %150, !llvm.loop !19

257:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %258 = invoke noundef ptr @_ZN3JPH17MeshShapeSettingsnwEm(i64 noundef 152)
          to label %259 unwind label %523

259:                                              ; preds = %257
  store i1 true, ptr %30, align 1
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 24, i1 false)
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #11
  invoke void @_ZN3JPH17MeshShapeSettingsC1ERKNS_5ArrayINS_8TriangleENS_12STLAllocatorIS2_EEEENS1_INS_8RefConstINS_15PhysicsMaterialEEENS3_ISA_EEEE(ptr noundef nonnull align 8 dereferenceable(152) %258, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %29)
          to label %260 unwind label %527

260:                                              ; preds = %259
  store i1 false, ptr %30, align 1
  invoke void @_ZN3JPH8RefConstINS_13ShapeSettingsEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef %258)
          to label %261 unwind label %527

261:                                              ; preds = %260
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #11
  %262 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %263 = load ptr, ptr %262, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %31) #11
  %264 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %265 unwind label %534

265:                                              ; preds = %261
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %32, float noundef -6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %266 unwind label %534

266:                                              ; preds = %265
  %267 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %268 unwind label %534

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

284:                                              ; preds = %268
  %285 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 16 dereferenceable(256) %31, i32 noundef 1)
          to label %286 unwind label %538

286:                                              ; preds = %284
  %287 = getelementptr inbounds %"class.JPH::BodyID", ptr %34, i32 0, i32 0
  store i32 %285, ptr %287, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %31) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %31) #11
  %288 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %289 = load ptr, ptr %288, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %35) #11
  %290 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %291 unwind label %543

291:                                              ; preds = %286
  %292 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %293 unwind label %547

293:                                              ; preds = %291
  %294 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 5.000000e-01)
          to label %295 unwind label %547

295:                                              ; preds = %293
  %296 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %297 = getelementptr inbounds %union.anon, ptr %296, i32 0, i32 0
  %298 = getelementptr inbounds { double, double }, ptr %297, i32 0, i32 0
  %299 = extractvalue { double, double } %294, 0
  store double %299, ptr %298, align 16
  %300 = getelementptr inbounds { double, double }, ptr %297, i32 0, i32 1
  %301 = extractvalue { double, double } %294, 1
  store double %301, ptr %300, align 8
  %302 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %303 = load double, ptr %302, align 16
  %304 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %305 = load double, ptr %304, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %290, ptr noundef %292, double %303, double %305)
          to label %306 unwind label %547

306:                                              ; preds = %295
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %37, float noundef -4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %307 unwind label %543

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

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

325:                                              ; preds = %309
  %326 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %289, ptr noundef nonnull align 16 dereferenceable(256) %35, i32 noundef 1)
          to label %327 unwind label %551

327:                                              ; preds = %325
  %328 = getelementptr inbounds %"class.JPH::BodyID", ptr %39, i32 0, i32 0
  store i32 %326, ptr %328, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %35) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %35) #11
  %329 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %330 = load ptr, ptr %329, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %40) #11
  %331 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %332 unwind label %556

332:                                              ; preds = %327
  %333 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %334 unwind label %560

334:                                              ; preds = %332
  %335 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.500000e+00)
          to label %336 unwind label %560

336:                                              ; preds = %334
  %337 = getelementptr inbounds %"class.JPH::Vec3", ptr %41, i32 0, i32 0
  %338 = getelementptr inbounds %union.anon, ptr %337, i32 0, i32 0
  %339 = getelementptr inbounds { double, double }, ptr %338, i32 0, i32 0
  %340 = extractvalue { double, double } %335, 0
  store double %340, ptr %339, align 16
  %341 = getelementptr inbounds { double, double }, ptr %338, i32 0, i32 1
  %342 = extractvalue { double, double } %335, 1
  store double %342, ptr %341, align 8
  %343 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %344 = load double, ptr %343, align 16
  %345 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %346 = load double, ptr %345, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %331, ptr noundef %333, double %344, double %346)
          to label %347 unwind label %560

347:                                              ; preds = %336
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %42, float noundef -2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %348 unwind label %556

348:                                              ; preds = %347
  %349 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %350 unwind label %556

350:                                              ; preds = %348
  %351 = getelementptr inbounds %"class.JPH::Quat", ptr %43, i32 0, i32 0
  %352 = getelementptr inbounds %"class.JPH::Vec4", ptr %351, i32 0, i32 0
  %353 = getelementptr inbounds %union.anon.4, ptr %352, i32 0, i32 0
  %354 = getelementptr inbounds { double, double }, ptr %353, i32 0, i32 0
  %355 = extractvalue { double, double } %349, 0
  store double %355, ptr %354, align 16
  %356 = getelementptr inbounds { double, double }, ptr %353, i32 0, i32 1
  %357 = extractvalue { double, double } %349, 1
  store double %357, ptr %356, align 8
  %358 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %359 = load double, ptr %358, align 16
  %360 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %361 = load double, ptr %360, align 8
  %362 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %363 = load double, ptr %362, align 16
  %364 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %365 = load double, ptr %364, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %40, ptr noundef %331, double %359, double %361, double %363, double %365, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %366 unwind label %556

366:                                              ; preds = %350
  %367 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %330, ptr noundef nonnull align 16 dereferenceable(256) %40, i32 noundef 1)
          to label %368 unwind label %564

368:                                              ; preds = %366
  %369 = getelementptr inbounds %"class.JPH::BodyID", ptr %44, i32 0, i32 0
  store i32 %367, ptr %369, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %40) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %40) #11
  %370 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %371 = load ptr, ptr %370, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %45) #11
  %372 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %373 unwind label %569

373:                                              ; preds = %368
  %374 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %375 unwind label %573

375:                                              ; preds = %373
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %376 unwind label %573

376:                                              ; preds = %375
  %377 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %378 = load double, ptr %377, align 16
  %379 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %380 = load double, ptr %379, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %372, ptr noundef %374, double %378, double %380)
          to label %381 unwind label %573

381:                                              ; preds = %376
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %382 unwind label %569

382:                                              ; preds = %381
  %383 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %384 unwind label %569

384:                                              ; preds = %382
  %385 = getelementptr inbounds %"class.JPH::Quat", ptr %48, i32 0, i32 0
  %386 = getelementptr inbounds %"class.JPH::Vec4", ptr %385, i32 0, i32 0
  %387 = getelementptr inbounds %union.anon.4, ptr %386, i32 0, i32 0
  %388 = getelementptr inbounds { double, double }, ptr %387, i32 0, i32 0
  %389 = extractvalue { double, double } %383, 0
  store double %389, ptr %388, align 16
  %390 = getelementptr inbounds { double, double }, ptr %387, i32 0, i32 1
  %391 = extractvalue { double, double } %383, 1
  store double %391, ptr %390, align 8
  %392 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %393 = load double, ptr %392, align 16
  %394 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %395 = load double, ptr %394, align 8
  %396 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %397 = load double, ptr %396, align 16
  %398 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %399 = load double, ptr %398, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %45, ptr noundef %372, double %393, double %395, double %397, double %399, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %400 unwind label %569

400:                                              ; preds = %384
  %401 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %371, ptr noundef nonnull align 16 dereferenceable(256) %45, i32 noundef 1)
          to label %402 unwind label %577

402:                                              ; preds = %400
  %403 = getelementptr inbounds %"class.JPH::BodyID", ptr %49, i32 0, i32 0
  store i32 %401, ptr %403, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %45) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %45) #11
  %404 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %405 = load ptr, ptr %404, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %50) #11
  %406 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %407 unwind label %582

407:                                              ; preds = %402
  %408 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %409 unwind label %586

409:                                              ; preds = %407
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %51, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef -1.500000e+00)
          to label %410 unwind label %586

410:                                              ; preds = %409
  %411 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %412 = load double, ptr %411, align 16
  %413 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %414 = load double, ptr %413, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %406, ptr noundef %408, double %412, double %414)
          to label %415 unwind label %586

415:                                              ; preds = %410
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %52, float noundef 2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %416 unwind label %582

416:                                              ; preds = %415
  %417 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %418 unwind label %582

418:                                              ; preds = %416
  %419 = getelementptr inbounds %"class.JPH::Quat", ptr %53, i32 0, i32 0
  %420 = getelementptr inbounds %"class.JPH::Vec4", ptr %419, i32 0, i32 0
  %421 = getelementptr inbounds %union.anon.4, ptr %420, i32 0, i32 0
  %422 = getelementptr inbounds { double, double }, ptr %421, i32 0, i32 0
  %423 = extractvalue { double, double } %417, 0
  store double %423, ptr %422, align 16
  %424 = getelementptr inbounds { double, double }, ptr %421, i32 0, i32 1
  %425 = extractvalue { double, double } %417, 1
  store double %425, ptr %424, align 8
  %426 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %427 = load double, ptr %426, align 16
  %428 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %429 = load double, ptr %428, align 8
  %430 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 0
  %431 = load double, ptr %430, align 16
  %432 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 1
  %433 = load double, ptr %432, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %50, ptr noundef %406, double %427, double %429, double %431, double %433, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %434 unwind label %582

434:                                              ; preds = %418
  %435 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %405, ptr noundef nonnull align 16 dereferenceable(256) %50, i32 noundef 1)
          to label %436 unwind label %590

436:                                              ; preds = %434
  %437 = getelementptr inbounds %"class.JPH::BodyID", ptr %54, i32 0, i32 0
  store i32 %435, ptr %437, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %50) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %50) #11
  %438 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %439 = load ptr, ptr %438, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %55) #11
  %440 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %441 unwind label %595

441:                                              ; preds = %436
  %442 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %443 unwind label %599

443:                                              ; preds = %441
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %444 unwind label %599

444:                                              ; preds = %443
  %445 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %446 = load double, ptr %445, align 16
  %447 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %448 = load double, ptr %447, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %440, ptr noundef %442, double %446, double %448)
          to label %449 unwind label %599

449:                                              ; preds = %444
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %57, float noundef 4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %450 unwind label %595

450:                                              ; preds = %449
  %451 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %452 unwind label %595

452:                                              ; preds = %450
  %453 = getelementptr inbounds %"class.JPH::Quat", ptr %58, i32 0, i32 0
  %454 = getelementptr inbounds %"class.JPH::Vec4", ptr %453, i32 0, i32 0
  %455 = getelementptr inbounds %union.anon.4, ptr %454, i32 0, i32 0
  %456 = getelementptr inbounds { double, double }, ptr %455, i32 0, i32 0
  %457 = extractvalue { double, double } %451, 0
  store double %457, ptr %456, align 16
  %458 = getelementptr inbounds { double, double }, ptr %455, i32 0, i32 1
  %459 = extractvalue { double, double } %451, 1
  store double %459, ptr %458, align 8
  %460 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 0
  %461 = load double, ptr %460, align 16
  %462 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 1
  %463 = load double, ptr %462, align 8
  %464 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %465 = load double, ptr %464, align 16
  %466 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %467 = load double, ptr %466, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %55, ptr noundef %440, double %461, double %463, double %465, double %467, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %468 unwind label %595

468:                                              ; preds = %452
  %469 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %439, ptr noundef nonnull align 16 dereferenceable(256) %55, i32 noundef 1)
          to label %470 unwind label %603

470:                                              ; preds = %468
  %471 = getelementptr inbounds %"class.JPH::BodyID", ptr %59, i32 0, i32 0
  store i32 %469, ptr %471, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %55) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %55) #11
  %472 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %473 = load ptr, ptr %472, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %60) #11
  %474 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %475 unwind label %608

475:                                              ; preds = %470
  %476 = invoke noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %477 unwind label %612

477:                                              ; preds = %475
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %61, float noundef 5.000000e-01, float noundef -1.000000e+00, float noundef 1.500000e+00)
          to label %478 unwind label %612

478:                                              ; preds = %477
  %479 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %480 = load double, ptr %479, align 16
  %481 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %482 = load double, ptr %481, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %474, ptr noundef %476, double %480, double %482)
          to label %483 unwind label %612

483:                                              ; preds = %478
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %62, float noundef 6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %484 unwind label %608

484:                                              ; preds = %483
  %485 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %486 unwind label %608

486:                                              ; preds = %484
  %487 = getelementptr inbounds %"class.JPH::Quat", ptr %63, i32 0, i32 0
  %488 = getelementptr inbounds %"class.JPH::Vec4", ptr %487, i32 0, i32 0
  %489 = getelementptr inbounds %union.anon.4, ptr %488, i32 0, i32 0
  %490 = getelementptr inbounds { double, double }, ptr %489, i32 0, i32 0
  %491 = extractvalue { double, double } %485, 0
  store double %491, ptr %490, align 16
  %492 = getelementptr inbounds { double, double }, ptr %489, i32 0, i32 1
  %493 = extractvalue { double, double } %485, 1
  store double %493, ptr %492, align 8
  %494 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %495 = load double, ptr %494, align 16
  %496 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %497 = load double, ptr %496, align 8
  %498 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 0
  %499 = load double, ptr %498, align 16
  %500 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 1
  %501 = load double, ptr %500, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %60, ptr noundef %474, double %495, double %497, double %499, double %501, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %502 unwind label %608

502:                                              ; preds = %486
  %503 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %473, ptr noundef nonnull align 16 dereferenceable(256) %60, i32 noundef 1)
          to label %504 unwind label %616

504:                                              ; preds = %502
  %505 = getelementptr inbounds %"class.JPH::BodyID", ptr %64, i32 0, i32 0
  store i32 %503, ptr %505, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %60) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %60) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #11
  %506 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %507 unwind label %621

507:                                              ; preds = %504
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %506, float noundef 0x3FC99999A0000000, ptr noundef null)
          to label %508 unwind label %625

508:                                              ; preds = %507
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef %506)
          to label %509 unwind label %621

509:                                              ; preds = %508
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #11
  %510 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %511 unwind label %629

511:                                              ; preds = %509
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %67, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FD99999A0000000)
          to label %512 unwind label %633

512:                                              ; preds = %511
  %513 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 0
  %514 = load double, ptr %513, align 16
  %515 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 1
  %516 = load double, ptr %515, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %510, double %514, double %516, float noundef 0x3F847AE140000000, ptr noundef null)
          to label %517 unwind label %633

517:                                              ; preds = %512
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef %510)
          to label %518 unwind label %629

518:                                              ; preds = %517
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #11
  store i32 0, ptr %68, align 4, !tbaa !9
  br label %519

519:                                              ; preds = %695, %518
  %520 = load i32, ptr %68, align 4, !tbaa !9
  %521 = icmp slt i32 %520, 7
  br i1 %521, label %637, label %522

522:                                              ; preds = %519
  store i32 20, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #11
  br label %698

523:                                              ; preds = %257
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %21, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %22, align 4
  br label %702

527:                                              ; preds = %260, %259
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %21, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %22, align 4
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #11
  %531 = load i1, ptr %30, align 1
  br i1 %531, label %532, label %533

532:                                              ; preds = %527
  call void @_ZN3JPH17MeshShapeSettingsdlEPv(ptr noundef %258) #11
  br label %533

533:                                              ; preds = %532, %527
  br label %702

534:                                              ; preds = %268, %266, %265, %261
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %21, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %22, align 4
  br label %542

538:                                              ; preds = %284
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %21, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %31) #11
  br label %542

542:                                              ; preds = %538, %534
  call void @llvm.lifetime.end.p0(i64 256, ptr %31) #11
  br label %701

543:                                              ; preds = %309, %307, %306, %286
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %21, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %22, align 4
  br label %555

547:                                              ; preds = %295, %293, %291
  %548 = landingpad { ptr, i32 }
          cleanup
  %549 = extractvalue { ptr, i32 } %548, 0
  store ptr %549, ptr %21, align 8
  %550 = extractvalue { ptr, i32 } %548, 1
  store i32 %550, ptr %22, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %290) #11
  br label %555

551:                                              ; preds = %325
  %552 = landingpad { ptr, i32 }
          cleanup
  %553 = extractvalue { ptr, i32 } %552, 0
  store ptr %553, ptr %21, align 8
  %554 = extractvalue { ptr, i32 } %552, 1
  store i32 %554, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %35) #11
  br label %555

555:                                              ; preds = %551, %547, %543
  call void @llvm.lifetime.end.p0(i64 256, ptr %35) #11
  br label %701

556:                                              ; preds = %350, %348, %347, %327
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %21, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %22, align 4
  br label %568

560:                                              ; preds = %336, %334, %332
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %21, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %22, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %331) #11
  br label %568

564:                                              ; preds = %366
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %21, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %40) #11
  br label %568

568:                                              ; preds = %564, %560, %556
  call void @llvm.lifetime.end.p0(i64 256, ptr %40) #11
  br label %701

569:                                              ; preds = %384, %382, %381, %368
  %570 = landingpad { ptr, i32 }
          cleanup
  %571 = extractvalue { ptr, i32 } %570, 0
  store ptr %571, ptr %21, align 8
  %572 = extractvalue { ptr, i32 } %570, 1
  store i32 %572, ptr %22, align 4
  br label %581

573:                                              ; preds = %376, %375, %373
  %574 = landingpad { ptr, i32 }
          cleanup
  %575 = extractvalue { ptr, i32 } %574, 0
  store ptr %575, ptr %21, align 8
  %576 = extractvalue { ptr, i32 } %574, 1
  store i32 %576, ptr %22, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %372) #11
  br label %581

577:                                              ; preds = %400
  %578 = landingpad { ptr, i32 }
          cleanup
  %579 = extractvalue { ptr, i32 } %578, 0
  store ptr %579, ptr %21, align 8
  %580 = extractvalue { ptr, i32 } %578, 1
  store i32 %580, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %45) #11
  br label %581

581:                                              ; preds = %577, %573, %569
  call void @llvm.lifetime.end.p0(i64 256, ptr %45) #11
  br label %701

582:                                              ; preds = %418, %416, %415, %402
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %21, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %22, align 4
  br label %594

586:                                              ; preds = %410, %409, %407
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %21, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %22, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %406) #11
  br label %594

590:                                              ; preds = %434
  %591 = landingpad { ptr, i32 }
          cleanup
  %592 = extractvalue { ptr, i32 } %591, 0
  store ptr %592, ptr %21, align 8
  %593 = extractvalue { ptr, i32 } %591, 1
  store i32 %593, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %50) #11
  br label %594

594:                                              ; preds = %590, %586, %582
  call void @llvm.lifetime.end.p0(i64 256, ptr %50) #11
  br label %701

595:                                              ; preds = %452, %450, %449, %436
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %21, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %22, align 4
  br label %607

599:                                              ; preds = %444, %443, %441
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %21, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %22, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %440) #11
  br label %607

603:                                              ; preds = %468
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %21, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %55) #11
  br label %607

607:                                              ; preds = %603, %599, %595
  call void @llvm.lifetime.end.p0(i64 256, ptr %55) #11
  br label %701

608:                                              ; preds = %486, %484, %483, %470
  %609 = landingpad { ptr, i32 }
          cleanup
  %610 = extractvalue { ptr, i32 } %609, 0
  store ptr %610, ptr %21, align 8
  %611 = extractvalue { ptr, i32 } %609, 1
  store i32 %611, ptr %22, align 4
  br label %620

612:                                              ; preds = %478, %477, %475
  %613 = landingpad { ptr, i32 }
          cleanup
  %614 = extractvalue { ptr, i32 } %613, 0
  store ptr %614, ptr %21, align 8
  %615 = extractvalue { ptr, i32 } %613, 1
  store i32 %615, ptr %22, align 4
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %474) #11
  br label %620

616:                                              ; preds = %502
  %617 = landingpad { ptr, i32 }
          cleanup
  %618 = extractvalue { ptr, i32 } %617, 0
  store ptr %618, ptr %21, align 8
  %619 = extractvalue { ptr, i32 } %617, 1
  store i32 %619, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %60) #11
  br label %620

620:                                              ; preds = %616, %612, %608
  call void @llvm.lifetime.end.p0(i64 256, ptr %60) #11
  br label %701

621:                                              ; preds = %508, %504
  %622 = landingpad { ptr, i32 }
          cleanup
  %623 = extractvalue { ptr, i32 } %622, 0
  store ptr %623, ptr %21, align 8
  %624 = extractvalue { ptr, i32 } %622, 1
  store i32 %624, ptr %22, align 4
  br label %700

625:                                              ; preds = %507
  %626 = landingpad { ptr, i32 }
          cleanup
  %627 = extractvalue { ptr, i32 } %626, 0
  store ptr %627, ptr %21, align 8
  %628 = extractvalue { ptr, i32 } %626, 1
  store i32 %628, ptr %22, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %506) #11
  br label %700

629:                                              ; preds = %517, %509
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %21, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %22, align 4
  br label %699

633:                                              ; preds = %512, %511
  %634 = landingpad { ptr, i32 }
          cleanup
  %635 = extractvalue { ptr, i32 } %634, 0
  store ptr %635, ptr %21, align 8
  %636 = extractvalue { ptr, i32 } %634, 1
  store i32 %636, ptr %22, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %510) #11
  br label %699

637:                                              ; preds = %519
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #11
  store i32 0, ptr %69, align 4, !tbaa !9
  br label %638

638:                                              ; preds = %682, %637
  %639 = load i32, ptr %69, align 4, !tbaa !9
  %640 = icmp slt i32 %639, 5
  br i1 %640, label %642, label %641

641:                                              ; preds = %638
  store i32 23, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #11
  br label %694

642:                                              ; preds = %638
  %643 = getelementptr inbounds %class.Test, ptr %74, i32 0, i32 3
  %644 = load ptr, ptr %643, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 256, ptr %70) #11
  %645 = load i32, ptr %69, align 4, !tbaa !9
  %646 = and i32 %645, 1
  %647 = icmp ne i32 %646, 0
  br i1 %647, label %648, label %649

648:                                              ; preds = %642
  br label %650

649:                                              ; preds = %642
  br label %650

650:                                              ; preds = %649, %648
  %651 = phi ptr [ %66, %648 ], [ %65, %649 ]
  %652 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %651)
          to label %653 unwind label %685

653:                                              ; preds = %650
  %654 = load i32, ptr %68, align 4, !tbaa !9
  %655 = sitofp i32 %654 to float
  %656 = call float @llvm.fmuladd.f32(float 2.000000e+01, float %655, float -6.000000e+01)
  %657 = load i32, ptr %69, align 4, !tbaa !9
  %658 = sitofp i32 %657 to float
  %659 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %658, float 1.400000e+01)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %71, float noundef %656, float noundef %659, float noundef 0.000000e+00)
          to label %660 unwind label %685

660:                                              ; preds = %653
  %661 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %662 unwind label %685

662:                                              ; preds = %660
  %663 = getelementptr inbounds %"class.JPH::Quat", ptr %72, i32 0, i32 0
  %664 = getelementptr inbounds %"class.JPH::Vec4", ptr %663, i32 0, i32 0
  %665 = getelementptr inbounds %union.anon.4, ptr %664, i32 0, i32 0
  %666 = getelementptr inbounds { double, double }, ptr %665, i32 0, i32 0
  %667 = extractvalue { double, double } %661, 0
  store double %667, ptr %666, align 16
  %668 = getelementptr inbounds { double, double }, ptr %665, i32 0, i32 1
  %669 = extractvalue { double, double } %661, 1
  store double %669, ptr %668, align 8
  %670 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %671 = load double, ptr %670, align 16
  %672 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %673 = load double, ptr %672, align 8
  %674 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %675 = load double, ptr %674, align 16
  %676 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %677 = load double, ptr %676, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %70, ptr noundef %652, double %671, double %673, double %675, double %677, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %678 unwind label %685

678:                                              ; preds = %662
  %679 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %644, ptr noundef nonnull align 16 dereferenceable(256) %70, i32 noundef 0)
          to label %680 unwind label %689

680:                                              ; preds = %678
  %681 = getelementptr inbounds %"class.JPH::BodyID", ptr %73, i32 0, i32 0
  store i32 %679, ptr %681, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %70) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %70) #11
  br label %682

682:                                              ; preds = %680
  %683 = load i32, ptr %69, align 4, !tbaa !9
  %684 = add nsw i32 %683, 1
  store i32 %684, ptr %69, align 4, !tbaa !9
  br label %638, !llvm.loop !28

685:                                              ; preds = %662, %660, %653, %650
  %686 = landingpad { ptr, i32 }
          cleanup
  %687 = extractvalue { ptr, i32 } %686, 0
  store ptr %687, ptr %21, align 8
  %688 = extractvalue { ptr, i32 } %686, 1
  store i32 %688, ptr %22, align 4
  br label %693

689:                                              ; preds = %678
  %690 = landingpad { ptr, i32 }
          cleanup
  %691 = extractvalue { ptr, i32 } %690, 0
  store ptr %691, ptr %21, align 8
  %692 = extractvalue { ptr, i32 } %690, 1
  store i32 %692, ptr %22, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %70) #11
  br label %693

693:                                              ; preds = %689, %685
  call void @llvm.lifetime.end.p0(i64 256, ptr %70) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #11
  br label %699

694:                                              ; preds = %641
  br label %695

695:                                              ; preds = %694
  %696 = load i32, ptr %68, align 4, !tbaa !9
  %697 = add nsw i32 %696, 1
  store i32 %697, ptr %68, align 4, !tbaa !9
  br label %519, !llvm.loop !29

698:                                              ; preds = %522
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #11
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 484, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #11
  ret void

699:                                              ; preds = %693, %633, %629
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #11
  br label %700

700:                                              ; preds = %699, %625, %621
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #11
  br label %701

701:                                              ; preds = %700, %620, %607, %594, %581, %568, %555, %542
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #11
  br label %702

702:                                              ; preds = %701, %533, %523
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  br label %703

703:                                              ; preds = %702, %252
  call void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 484, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #11
  br label %704

704:                                              ; preds = %703
  %705 = load ptr, ptr %21, align 8
  %706 = load i32, ptr %22, align 4
  %707 = insertvalue { ptr, i32 } poison, ptr %705, 0
  %708 = insertvalue { ptr, i32 } %707, i32 %706, 1
  resume { ptr, i32 } %708
}

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

declare noundef float @_Z12PerlinNoise3fffiii(float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8TriangleC2ERKNS_6Float3ES3_S3_jj(ptr noundef nonnull align 4 dereferenceable(44), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

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

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

declare void @_ZN3JPH17MeshShapeSettingsC1ERKNS_5ArrayINS_8TriangleENS_12STLAllocatorIS2_EEEENS1_INS_8RefConstINS_15PhysicsMaterialEEENS3_ISA_EEEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #2

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sIdentityEv() #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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256)) unnamed_addr #8 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef) #10 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) #9 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #8 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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { alwaysinline mustprogress 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: write) }
attributes #8 = { 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 #9 = { 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 #10 = { 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 #11 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = !{!21, !6, i64 24}
!21 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !22, i64 48, !23, i64 56}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !24, i64 0}
!24 = !{!"_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, !25, i64 8, !26, i64 16, !25, i64 24, !27, i64 32, !6, i64 48}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!27 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !12, i64 0, !25, i64 8}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}


; 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::Array" = type { i64, i64, ptr }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::Triangle" = type { [3 x %"class.JPH::Float3"], i32, i32 }
%"class.JPH::RefConst.6" = type { ptr }
%"class.JPH::Array.19" = type { i64, i64, ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.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" = 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 @_ZN19ScaledMeshShapeTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(112) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [11 x [11 x float]], align 16
  %3 = alloca %"class.JPH::Array", align 8
  %4 = alloca %"class.JPH::Float3", align 4
  %5 = alloca %"class.JPH::Float3", align 4
  %6 = alloca %"class.JPH::Float3", align 4
  %7 = alloca %"class.JPH::Float3", align 4
  %8 = alloca %"class.JPH::Triangle", align 4
  %9 = alloca %"class.JPH::Triangle", align 4
  %10 = alloca %"class.JPH::RefConst.6", align 8
  %11 = alloca %"class.JPH::Array.19", align 8
  %12 = alloca %"class.JPH::BodyCreationSettings", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::BodyCreationSettings", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::BodyCreationSettings", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::BodyCreationSettings", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::BodyCreationSettings", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::BodyCreationSettings", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::BodyCreationSettings", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::RefConst", align 8
  %31 = alloca %"class.JPH::RefConst", align 8
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::BodyCreationSettings", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = 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 484, ptr nonnull %2) #11
  br label %.preheader128

.preheader128:                                    ; preds = %1, %.preheader128
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %.preheader128 ]
  %36 = trunc nuw nsw i64 %indvars.iv to i32
  %37 = uitofp nneg i32 %36 to float
  %38 = fdiv float %37, 1.000000e+01
  %39 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0.000000e+00, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %40 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 0
  %41 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %42 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FC99999A0000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %43 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FD3333340000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %44 = insertelement <4 x float> poison, float %39, i64 0
  %45 = insertelement <4 x float> %44, float %41, i64 1
  %46 = insertelement <4 x float> %45, float %42, i64 2
  %47 = insertelement <4 x float> %46, float %43, i64 3
  %48 = fmul <4 x float> %47, <float 4.000000e+00, float 4.000000e+00, float 4.000000e+00, float 4.000000e+00>
  store <4 x float> %48, ptr %40, align 4, !tbaa !5
  %49 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FD99999A0000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %50 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 4
  %51 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 5.000000e-01, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %52 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FE3333340000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %53 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FE6666660000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %54 = insertelement <4 x float> poison, float %49, i64 0
  %55 = insertelement <4 x float> %54, float %51, i64 1
  %56 = insertelement <4 x float> %55, float %52, i64 2
  %57 = insertelement <4 x float> %56, float %53, i64 3
  %58 = fmul <4 x float> %57, <float 4.000000e+00, float 4.000000e+00, float 4.000000e+00, float 4.000000e+00>
  store <4 x float> %58, ptr %50, align 4, !tbaa !5
  %59 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FE99999A0000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %60 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 8
  %61 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 0x3FECCCCCC0000000, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %62 = insertelement <2 x float> poison, float %59, i64 0
  %63 = insertelement <2 x float> %62, float %61, i64 1
  %64 = fmul <2 x float> %63, <float 4.000000e+00, float 4.000000e+00>
  store <2 x float> %64, ptr %60, align 4, !tbaa !5
  %65 = tail call noundef float @_Z12PerlinNoise3fffiii(float noundef %38, float noundef 0.000000e+00, float noundef 1.000000e+00, i32 noundef 256, i32 noundef 256, i32 noundef 256)
  %66 = fmul float %65, 4.000000e+00
  %67 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 10
  store float %66, ptr %67, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 11
  br i1 %exitcond.not, label %.preheader127.preheader, label %.preheader128, !llvm.loop !9

.preheader127.preheader:                          ; preds = %.preheader128
  %68 = getelementptr inbounds i8, ptr %2, i64 84
  %69 = load <2 x float>, ptr %68, align 4, !tbaa !5
  %70 = fadd <2 x float> %69, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %70, ptr %68, align 4, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %2, i64 128
  %72 = load <2 x float>, ptr %71, align 16, !tbaa !5
  %73 = fadd <2 x float> %72, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %73, ptr %71, align 16, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %2, i64 172
  %75 = load <2 x float>, ptr %74, align 4, !tbaa !5
  %76 = fadd <2 x float> %75, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %76, ptr %74, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %2, i64 216
  %78 = load <2 x float>, ptr %77, align 8, !tbaa !5
  %79 = fadd <2 x float> %78, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %79, ptr %77, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %2, i64 260
  %81 = load <2 x float>, ptr %80, align 4, !tbaa !5
  %82 = fadd <2 x float> %81, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %82, ptr %80, align 4, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %2, i64 304
  %84 = load <2 x float>, ptr %83, align 16, !tbaa !5
  %85 = fadd <2 x float> %84, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %85, ptr %83, align 16, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %2, i64 348
  %87 = load <2 x float>, ptr %86, align 4, !tbaa !5
  %88 = fadd <2 x float> %87, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %88, ptr %86, align 4, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %2, i64 392
  %90 = load <2 x float>, ptr %89, align 8, !tbaa !5
  %91 = fadd <2 x float> %90, <float 2.000000e+00, float 2.000000e+00>
  store <2 x float> %91, ptr %89, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %2, i64 436
  %93 = load <4 x float>, ptr %92, align 4, !tbaa !5
  %94 = fadd <4 x float> %93, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  store <4 x float> %94, ptr %92, align 4, !tbaa !5
  %95 = load <4 x float>, ptr %2, align 16, !tbaa !5
  %96 = fadd <4 x float> %95, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  store <4 x float> %96, ptr %2, align 16, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %2, i64 452
  %98 = getelementptr inbounds i8, ptr %2, i64 16
  %99 = load <4 x float>, ptr %97, align 4, !tbaa !5
  %100 = fadd <4 x float> %99, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  store <4 x float> %100, ptr %97, align 4, !tbaa !5
  %101 = load <4 x float>, ptr %98, align 16, !tbaa !5
  %102 = fadd <4 x float> %101, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  store <4 x float> %102, ptr %98, align 16, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %2, i64 468
  %104 = getelementptr inbounds i8, ptr %2, i64 32
  %105 = load <4 x float>, ptr %104, align 16, !tbaa !5
  %106 = fadd <4 x float> %105, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  store <4 x float> %106, ptr %104, align 16, !tbaa !5
  %107 = load <4 x float>, ptr %103, align 4, !tbaa !5
  %108 = fadd <4 x float> %107, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  store <4 x float> %108, ptr %103, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #11
  call void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #11
  br label %.preheader125

.preheader125:                                    ; preds = %.preheader127.preheader, %115
  %indvars.iv151 = phi i64 [ 0, %.preheader127.preheader ], [ %indvars.iv.next152, %115 ]
  %109 = trunc nuw nsw i64 %indvars.iv151 to i32
  %110 = uitofp nneg i32 %109 to float
  %111 = call float @llvm.fmuladd.f32(float %110, float 2.000000e+00, float -1.000000e+01)
  %112 = fadd float %111, 2.000000e+00
  %indvars.iv.next152 = add nuw nsw i64 %indvars.iv151, 1
  br label %116

113:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %114 = invoke noundef ptr @_ZN3JPH17MeshShapeSettingsnwEm(i64 noundef 152)
          to label %136 unwind label %290

115:                                              ; preds = %130
  %exitcond154.not = icmp eq i64 %indvars.iv.next152, 10
  br i1 %exitcond154.not, label %113, label %.preheader125, !llvm.loop !11

116:                                              ; preds = %.preheader125, %130
  %indvars.iv147 = phi i64 [ 0, %.preheader125 ], [ %indvars.iv.next148, %130 ]
  %117 = trunc nuw nsw i64 %indvars.iv147 to i32
  %118 = uitofp nneg i32 %117 to float
  %119 = call float @llvm.fmuladd.f32(float %118, float 2.000000e+00, float -1.000000e+01)
  %120 = fadd float %119, 2.000000e+00
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #11
  %121 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv151, i64 %indvars.iv147
  %122 = load float, ptr %121, align 4, !tbaa !5
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef %111, float noundef %122, float noundef %119)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #11
  %123 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv.next152, i64 %indvars.iv147
  %124 = load float, ptr %123, align 4, !tbaa !5
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %5, float noundef %112, float noundef %124, float noundef %119)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #11
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %125 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv151, i64 %indvars.iv.next148
  %126 = load float, ptr %125, align 4, !tbaa !5
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef %111, float noundef %126, float noundef %120)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #11
  %127 = getelementptr inbounds [11 x [11 x float]], ptr %2, i64 0, i64 %indvars.iv.next152, i64 %indvars.iv.next148
  %128 = load float, ptr %127, align 4, !tbaa !5
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef %112, float noundef %128, float noundef %120)
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %8) #11
  call void @_ZN3JPH8TriangleC2ERKNS_6Float3ES3_S3_jj(ptr noundef nonnull align 4 dereferenceable(44) %8, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 0, i32 noundef 0)
  invoke void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(44) %8)
          to label %129 unwind label %131

129:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %8) #11
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %9) #11
  call void @_ZN3JPH8TriangleC2ERKNS_6Float3ES3_S3_jj(ptr noundef nonnull align 4 dereferenceable(44) %9, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 0, i32 noundef 0)
  invoke void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(44) %9)
          to label %130 unwind label %133

130:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #11
  %exitcond150.not = icmp eq i64 %indvars.iv.next148, 10
  br i1 %exitcond150.not, label %115, label %116, !llvm.loop !12

131:                                              ; preds = %116
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %8) #11
  br label %135

133:                                              ; preds = %129
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %9) #11
  br label %135

135:                                              ; preds = %133, %131
  %.pn120 = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #11
  br label %419

136:                                              ; preds = %113
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  invoke void @_ZN3JPH17MeshShapeSettingsC1ERKNS_5ArrayINS_8TriangleENS_12STLAllocatorIS2_EEEENS1_INS_8RefConstINS_15PhysicsMaterialEEENS3_ISA_EEEE(ptr noundef nonnull align 8 dereferenceable(152) %114, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull %11)
          to label %137 unwind label %294

137:                                              ; preds = %136
  invoke void @_ZN3JPH8RefConstINS_13ShapeSettingsEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull %114)
          to label %138 unwind label %292

138:                                              ; preds = %137
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  %139 = getelementptr inbounds i8, ptr %0, i64 24
  %140 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %12) #11
  %141 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef -6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %142 unwind label %296

142:                                              ; preds = %138
  %143 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %144 unwind label %296

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

150:                                              ; preds = %144
  %151 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %140, ptr noundef nonnull align 16 dereferenceable(256) %12, i32 noundef 1)
          to label %152 unwind label %298

152:                                              ; preds = %150
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %12) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %12) #11
  %153 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %14) #11
  %154 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %155 unwind label %301

155:                                              ; preds = %152
  %156 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  %157 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 5.000000e-01)
          to label %158 unwind label %303

158:                                              ; preds = %155
  %159 = extractvalue { double, double } %157, 0
  %160 = extractvalue { double, double } %157, 1
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %154, ptr noundef %156, double %159, double %160)
          to label %161 unwind label %303

161:                                              ; preds = %158
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef -4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %162 unwind label %301

162:                                              ; preds = %161
  %163 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %164 unwind label %301

164:                                              ; preds = %162
  %165 = extractvalue { double, double } %163, 0
  %166 = extractvalue { double, double } %163, 1
  %167 = load double, ptr %15, align 16
  %168 = getelementptr inbounds i8, ptr %15, i64 8
  %169 = load double, ptr %168, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %14, ptr noundef nonnull %154, double %167, double %169, double %165, double %166, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %170 unwind label %301

170:                                              ; preds = %164
  %171 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef nonnull align 16 dereferenceable(256) %14, i32 noundef 1)
          to label %172 unwind label %305

172:                                              ; preds = %170
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #11
  %173 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %16) #11
  %174 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %175 unwind label %308

175:                                              ; preds = %172
  %176 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  %177 = invoke { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.500000e+00)
          to label %178 unwind label %310

178:                                              ; preds = %175
  %179 = extractvalue { double, double } %177, 0
  %180 = extractvalue { double, double } %177, 1
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %174, ptr noundef %176, double %179, double %180)
          to label %181 unwind label %310

181:                                              ; preds = %178
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef -2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %182 unwind label %308

182:                                              ; preds = %181
  %183 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %184 unwind label %308

184:                                              ; preds = %182
  %185 = extractvalue { double, double } %183, 0
  %186 = extractvalue { double, double } %183, 1
  %187 = load double, ptr %17, align 16
  %188 = getelementptr inbounds i8, ptr %17, i64 8
  %189 = load double, ptr %188, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %16, ptr noundef nonnull %174, double %187, double %189, double %185, double %186, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %190 unwind label %308

190:                                              ; preds = %184
  %191 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %173, ptr noundef nonnull align 16 dereferenceable(256) %16, i32 noundef 1)
          to label %192 unwind label %312

192:                                              ; preds = %190
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %16) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %16) #11
  %193 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %18) #11
  %194 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %195 unwind label %315

195:                                              ; preds = %192
  %196 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %197 unwind label %317

197:                                              ; preds = %195
  %198 = load double, ptr %19, align 16
  %199 = getelementptr inbounds i8, ptr %19, i64 8
  %200 = load double, ptr %199, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %194, ptr noundef %196, double %198, double %200)
          to label %201 unwind label %317

201:                                              ; preds = %197
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %202 unwind label %315

202:                                              ; preds = %201
  %203 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %204 unwind label %315

204:                                              ; preds = %202
  %205 = extractvalue { double, double } %203, 0
  %206 = extractvalue { double, double } %203, 1
  %207 = load double, ptr %20, align 16
  %208 = getelementptr inbounds i8, ptr %20, i64 8
  %209 = load double, ptr %208, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %18, ptr noundef nonnull %194, double %207, double %209, double %205, double %206, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %210 unwind label %315

210:                                              ; preds = %204
  %211 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %193, ptr noundef nonnull align 16 dereferenceable(256) %18, i32 noundef 1)
          to label %212 unwind label %319

212:                                              ; preds = %210
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %18) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %18) #11
  %213 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %21) #11
  %214 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %215 unwind label %322

215:                                              ; preds = %212
  %216 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %22, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef -1.500000e+00)
          to label %217 unwind label %324

217:                                              ; preds = %215
  %218 = load double, ptr %22, align 16
  %219 = getelementptr inbounds i8, ptr %22, i64 8
  %220 = load double, ptr %219, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %214, ptr noundef %216, double %218, double %220)
          to label %221 unwind label %324

221:                                              ; preds = %217
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 2.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %222 unwind label %322

222:                                              ; preds = %221
  %223 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %224 unwind label %322

224:                                              ; preds = %222
  %225 = extractvalue { double, double } %223, 0
  %226 = extractvalue { double, double } %223, 1
  %227 = load double, ptr %23, align 16
  %228 = getelementptr inbounds i8, ptr %23, i64 8
  %229 = load double, ptr %228, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %21, ptr noundef nonnull %214, double %227, double %229, double %225, double %226, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %230 unwind label %322

230:                                              ; preds = %224
  %231 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %213, ptr noundef nonnull align 16 dereferenceable(256) %21, i32 noundef 1)
          to label %232 unwind label %326

232:                                              ; preds = %230
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %21) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #11
  %233 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %24) #11
  %234 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %235 unwind label %329

235:                                              ; preds = %232
  %236 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef -5.000000e-01, float noundef 1.000000e+00, float noundef 1.500000e+00)
          to label %237 unwind label %331

237:                                              ; preds = %235
  %238 = load double, ptr %25, align 16
  %239 = getelementptr inbounds i8, ptr %25, i64 8
  %240 = load double, ptr %239, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %234, ptr noundef %236, double %238, double %240)
          to label %241 unwind label %331

241:                                              ; preds = %237
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 4.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %242 unwind label %329

242:                                              ; preds = %241
  %243 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %244 unwind label %329

244:                                              ; preds = %242
  %245 = extractvalue { double, double } %243, 0
  %246 = extractvalue { double, double } %243, 1
  %247 = load double, ptr %26, align 16
  %248 = getelementptr inbounds i8, ptr %26, i64 8
  %249 = load double, ptr %248, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %24, ptr noundef nonnull %234, double %247, double %249, double %245, double %246, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %250 unwind label %329

250:                                              ; preds = %244
  %251 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %233, ptr noundef nonnull align 16 dereferenceable(256) %24, i32 noundef 1)
          to label %252 unwind label %333

252:                                              ; preds = %250
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %24) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %24) #11
  %253 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #11
  %254 = invoke noundef ptr @_ZN3JPH19ScaledShapeSettingsnwEm(i64 noundef 96)
          to label %255 unwind label %336

255:                                              ; preds = %252
  %256 = call noundef ptr @_ZNK3JPH8RefConstINS_13ShapeSettingsEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef 5.000000e-01, float noundef -1.000000e+00, float noundef 1.500000e+00)
          to label %257 unwind label %338

257:                                              ; preds = %255
  %258 = load double, ptr %28, align 16
  %259 = getelementptr inbounds i8, ptr %28, i64 8
  %260 = load double, ptr %259, align 8
  invoke void @_ZN3JPH19ScaledShapeSettingsC2EPKNS_13ShapeSettingsENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(96) %254, ptr noundef %256, double %258, double %260)
          to label %261 unwind label %338

261:                                              ; preds = %257
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef 6.000000e+01, float noundef 1.000000e+01, float noundef 0.000000e+00)
          to label %262 unwind label %336

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

264:                                              ; preds = %262
  %265 = extractvalue { double, double } %263, 0
  %266 = extractvalue { double, double } %263, 1
  %267 = load double, ptr %29, align 16
  %268 = getelementptr inbounds i8, ptr %29, i64 8
  %269 = load double, ptr %268, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_13ShapeSettingsENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %27, ptr noundef nonnull %254, double %267, double %269, double %265, double %266, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %270 unwind label %336

270:                                              ; preds = %264
  %271 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %253, ptr noundef nonnull align 16 dereferenceable(256) %27, i32 noundef 1)
          to label %272 unwind label %340

272:                                              ; preds = %270
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #11
  %273 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %274 unwind label %343

274:                                              ; preds = %272
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %273, float noundef 0x3FC99999A0000000, ptr noundef null)
          to label %275 unwind label %345

275:                                              ; preds = %274
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull %273)
          to label %276 unwind label %343

276:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #11
  %277 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %278 unwind label %347

278:                                              ; preds = %276
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %32, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FD99999A0000000)
          to label %279 unwind label %349

279:                                              ; preds = %278
  %280 = load double, ptr %32, align 16
  %281 = getelementptr inbounds i8, ptr %32, i64 8
  %282 = load double, ptr %281, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %277, double %280, double %282, float noundef 0x3F847AE140000000, ptr noundef null)
          to label %283 unwind label %349

283:                                              ; preds = %279
  invoke void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull %277)
          to label %.preheader124 unwind label %347

.preheader124:                                    ; preds = %283
  %284 = getelementptr inbounds i8, ptr %34, i64 8
  br label %.preheader

.preheader:                                       ; preds = %.preheader124, %408
  %.080136 = phi i32 [ 0, %.preheader124 ], [ %409, %408 ]
  %285 = uitofp nneg i32 %.080136 to float
  %286 = call float @llvm.fmuladd.f32(float %285, float 2.000000e+01, float -6.000000e+01)
  %287 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %33) #11
  %288 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %30)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef %286, float noundef 1.400000e+01, float noundef 0.000000e+00)
          to label %351 unwind label %410

289:                                              ; preds = %408
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #11
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 484, ptr nonnull %2) #11
  ret void

290:                                              ; preds = %113
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %418

292:                                              ; preds = %137
  %293 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  br label %418

294:                                              ; preds = %136
  %295 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  call void @_ZN3JPH17MeshShapeSettingsdlEPv(ptr noundef %114) #11
  br label %418

296:                                              ; preds = %144, %142, %138
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %300

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

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

301:                                              ; preds = %164, %162, %161, %152
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %307

303:                                              ; preds = %158, %155
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %154) #11
  br label %307

305:                                              ; preds = %170
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %14) #11
  br label %307

307:                                              ; preds = %305, %303, %301
  %.pn102 = phi { ptr, i32 } [ %306, %305 ], [ %302, %301 ], [ %304, %303 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #11
  br label %417

308:                                              ; preds = %184, %182, %181, %172
  %309 = landingpad { ptr, i32 }
          cleanup
  br label %314

310:                                              ; preds = %178, %175
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %174) #11
  br label %314

312:                                              ; preds = %190
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %16) #11
  br label %314

314:                                              ; preds = %312, %310, %308
  %.pn104 = phi { ptr, i32 } [ %313, %312 ], [ %309, %308 ], [ %311, %310 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %16) #11
  br label %417

315:                                              ; preds = %204, %202, %201, %192
  %316 = landingpad { ptr, i32 }
          cleanup
  br label %321

317:                                              ; preds = %197, %195
  %318 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %194) #11
  br label %321

319:                                              ; preds = %210
  %320 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %18) #11
  br label %321

321:                                              ; preds = %319, %317, %315
  %.pn106 = phi { ptr, i32 } [ %320, %319 ], [ %316, %315 ], [ %318, %317 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %18) #11
  br label %417

322:                                              ; preds = %224, %222, %221, %212
  %323 = landingpad { ptr, i32 }
          cleanup
  br label %328

324:                                              ; preds = %217, %215
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %214) #11
  br label %328

326:                                              ; preds = %230
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %21) #11
  br label %328

328:                                              ; preds = %326, %324, %322
  %.pn108 = phi { ptr, i32 } [ %327, %326 ], [ %323, %322 ], [ %325, %324 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #11
  br label %417

329:                                              ; preds = %244, %242, %241, %232
  %330 = landingpad { ptr, i32 }
          cleanup
  br label %335

331:                                              ; preds = %237, %235
  %332 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %234) #11
  br label %335

333:                                              ; preds = %250
  %334 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %24) #11
  br label %335

335:                                              ; preds = %333, %331, %329
  %.pn110 = phi { ptr, i32 } [ %334, %333 ], [ %330, %329 ], [ %332, %331 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %24) #11
  br label %417

336:                                              ; preds = %264, %262, %261, %252
  %337 = landingpad { ptr, i32 }
          cleanup
  br label %342

338:                                              ; preds = %257, %255
  %339 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19ScaledShapeSettingsdlEPv(ptr noundef %254) #11
  br label %342

340:                                              ; preds = %270
  %341 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %27) #11
  br label %342

342:                                              ; preds = %340, %338, %336
  %.pn112 = phi { ptr, i32 } [ %341, %340 ], [ %337, %336 ], [ %339, %338 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #11
  br label %417

343:                                              ; preds = %275, %272
  %344 = landingpad { ptr, i32 }
          cleanup
  br label %416

345:                                              ; preds = %274
  %346 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %273) #11
  br label %416

347:                                              ; preds = %283, %276
  %348 = landingpad { ptr, i32 }
          cleanup
  br label %415

349:                                              ; preds = %279, %278
  %350 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %277) #11
  br label %415

351:                                              ; preds = %.preheader
  %352 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %353 unwind label %410

353:                                              ; preds = %351
  %354 = extractvalue { double, double } %352, 0
  %355 = extractvalue { double, double } %352, 1
  %356 = load double, ptr %34, align 16
  %357 = load double, ptr %284, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %33, ptr noundef %288, double %356, double %357, double %354, double %355, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %358 unwind label %410

358:                                              ; preds = %353
  %359 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %287, ptr noundef nonnull align 16 dereferenceable(256) %33, i32 noundef 0)
          to label %360 unwind label %412

360:                                              ; preds = %358
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %33) #11
  %361 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %33) #11
  %362 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef %286, float noundef 1.450000e+01, float noundef 0.000000e+00)
          to label %363 unwind label %410

363:                                              ; preds = %360
  %364 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %365 unwind label %410

365:                                              ; preds = %363
  %366 = extractvalue { double, double } %364, 0
  %367 = extractvalue { double, double } %364, 1
  %368 = load double, ptr %34, align 16
  %369 = load double, ptr %284, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %33, ptr noundef %362, double %368, double %369, double %366, double %367, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %370 unwind label %410

370:                                              ; preds = %365
  %371 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %361, ptr noundef nonnull align 16 dereferenceable(256) %33, i32 noundef 0)
          to label %372 unwind label %412

372:                                              ; preds = %370
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %33) #11
  %373 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %33) #11
  %374 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %30)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef %286, float noundef 1.500000e+01, float noundef 0.000000e+00)
          to label %375 unwind label %410

375:                                              ; preds = %372
  %376 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %377 unwind label %410

377:                                              ; preds = %375
  %378 = extractvalue { double, double } %376, 0
  %379 = extractvalue { double, double } %376, 1
  %380 = load double, ptr %34, align 16
  %381 = load double, ptr %284, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %33, ptr noundef %374, double %380, double %381, double %378, double %379, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %382 unwind label %410

382:                                              ; preds = %377
  %383 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %373, ptr noundef nonnull align 16 dereferenceable(256) %33, i32 noundef 0)
          to label %384 unwind label %412

384:                                              ; preds = %382
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %33) #11
  %385 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %33) #11
  %386 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef %286, float noundef 1.550000e+01, float noundef 0.000000e+00)
          to label %387 unwind label %410

387:                                              ; preds = %384
  %388 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %389 unwind label %410

389:                                              ; preds = %387
  %390 = extractvalue { double, double } %388, 0
  %391 = extractvalue { double, double } %388, 1
  %392 = load double, ptr %34, align 16
  %393 = load double, ptr %284, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %33, ptr noundef %386, double %392, double %393, double %390, double %391, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %394 unwind label %410

394:                                              ; preds = %389
  %395 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %385, ptr noundef nonnull align 16 dereferenceable(256) %33, i32 noundef 0)
          to label %396 unwind label %412

396:                                              ; preds = %394
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %33) #11
  %397 = load ptr, ptr %139, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %33) #11
  %398 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %30)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef %286, float noundef 1.600000e+01, float noundef 0.000000e+00)
          to label %399 unwind label %410

399:                                              ; preds = %396
  %400 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %401 unwind label %410

401:                                              ; preds = %399
  %402 = extractvalue { double, double } %400, 0
  %403 = extractvalue { double, double } %400, 1
  %404 = load double, ptr %34, align 16
  %405 = load double, ptr %284, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %33, ptr noundef %398, double %404, double %405, double %402, double %403, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %406 unwind label %410

406:                                              ; preds = %401
  %407 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %397, ptr noundef nonnull align 16 dereferenceable(256) %33, i32 noundef 0)
          to label %408 unwind label %412

408:                                              ; preds = %406
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %33) #11
  %409 = add nuw nsw i32 %.080136, 1
  %exitcond156.not = icmp eq i32 %409, 7
  br i1 %exitcond156.not, label %289, label %.preheader, !llvm.loop !22

410:                                              ; preds = %401, %399, %396, %389, %387, %384, %377, %375, %372, %365, %363, %360, %353, %351, %.preheader
  %411 = landingpad { ptr, i32 }
          cleanup
  br label %414

412:                                              ; preds = %406, %394, %382, %370, %358
  %413 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %33) #11
  br label %414

414:                                              ; preds = %412, %410
  %.pn114 = phi { ptr, i32 } [ %413, %412 ], [ %411, %410 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %33) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #11
  br label %415

415:                                              ; preds = %414, %349, %347
  %.pn114.pn = phi { ptr, i32 } [ %.pn114, %414 ], [ %348, %347 ], [ %350, %349 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #11
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #11
  br label %416

416:                                              ; preds = %415, %345, %343
  %.pn114.pn.pn = phi { ptr, i32 } [ %.pn114.pn, %415 ], [ %344, %343 ], [ %346, %345 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #11
  br label %417

417:                                              ; preds = %416, %342, %335, %328, %321, %314, %307, %300
  %.pn114.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn, %416 ], [ %.pn112, %342 ], [ %.pn110, %335 ], [ %.pn108, %328 ], [ %.pn106, %321 ], [ %.pn104, %314 ], [ %.pn102, %307 ], [ %.pn, %300 ]
  call void @_ZN3JPH8RefConstINS_13ShapeSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #11
  br label %418

418:                                              ; preds = %292, %294, %417, %290
  %.pn114.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn.pn, %417 ], [ %295, %294 ], [ %293, %292 ], [ %291, %290 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  br label %419

419:                                              ; preds = %418, %135
  %.pn120.pn = phi { ptr, i32 } [ %.pn120, %135 ], [ %.pn114.pn.pn.pn.pn, %418 ]
  call void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 484, ptr nonnull %2) #11
  resume { ptr, i32 } %.pn120.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 float @_Z12PerlinNoise3fffiii(float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH8TriangleC2ERKNS_6Float3ES3_S3_jj(ptr noundef nonnull align 4 dereferenceable(44), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

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

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

declare void @_ZN3JPH17MeshShapeSettingsC1ERKNS_5ArrayINS_8TriangleENS_12STLAllocatorIS2_EEEENS1_INS_8RefConstINS_15PhysicsMaterialEEENS3_ISA_EEEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #2

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef) local_unnamed_addr #10 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 #9 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5ArrayINS_8TriangleENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #8 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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 #9 = { 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 #10 = { 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 #11 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = !{!14, !15, i64 24}
!14 = !{!"_ZTS4Test", !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !17, i64 56}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !18, i64 0}
!18 = !{!"_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", !15, i64 0, !19, i64 8, !20, i64 16, !19, i64 24, !21, i64 32, !15, i64 48}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !15, i64 0}
!21 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !6, i64 0, !19, i64 8}
!22 = distinct !{!22, !10}


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