; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/General/KinematicTest.ll (ZN13KinematicTest10InitializeEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.9", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.5", i32, i32 }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.9" = 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 }
%class.KinematicTest = type { %class.Test, [2 x ptr] }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13KinematicTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(128) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.JPH::RefConst", align 8
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::BodyCreationSettings", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Quat", align 16
  %14 = alloca %"class.JPH::BodyID", align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.JPH::BodyCreationSettings", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Quat", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  %20 = call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %19, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %21 = call noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %22 unwind label %32

22:                                               ; preds = %1
  %23 = getelementptr inbounds { double, double }, ptr %4, i32 0, i32 0
  %24 = load double, ptr %23, align 16
  %25 = getelementptr inbounds { double, double }, ptr %4, i32 0, i32 1
  %26 = load double, ptr %25, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %21, double %24, double %26, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %27 unwind label %32

27:                                               ; preds = %22
  call void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %104, %27
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = icmp slt i32 %29, 3
  br i1 %30, label %36, label %31

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

32:                                               ; preds = %22, %1
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %5, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %6, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %21) #10
  br label %180

36:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = sdiv i32 %37, 2
  store i32 %38, ptr %9, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %86, %36
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = add nsw i32 %41, 1
  %43 = sdiv i32 %42, 2
  %44 = sub nsw i32 10, %43
  %45 = icmp slt i32 %40, %44
  br i1 %45, label %47, label %46

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

47:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #10
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = sitofp i32 %48 to float
  %50 = call float @llvm.fmuladd.f32(float %49, float 2.000000e+00, float -1.000000e+01)
  %51 = load i32, ptr %7, align 4, !tbaa !9
  %52 = and i32 %51, 1
  %53 = icmp ne i32 %52, 0
  %54 = zext i1 %53 to i64
  %55 = select i1 %53, float 1.000000e+00, float 0.000000e+00
  %56 = fadd float %50, %55
  %57 = load i32, ptr %7, align 4, !tbaa !9
  %58 = sitofp i32 %57 to float
  %59 = call float @llvm.fmuladd.f32(float %58, float 2.000000e+00, float 1.000000e+00)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef %56, float noundef %59, float noundef 0.000000e+00)
          to label %60 unwind label %89

60:                                               ; preds = %47
  %61 = getelementptr inbounds %class.Test, ptr %19, i32 0, i32 3
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 256, ptr %11) #10
  %63 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %64 unwind label %93

64:                                               ; preds = %60
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !20
  %65 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %66 unwind label %93

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"class.JPH::Quat", ptr %13, i32 0, i32 0
  %68 = getelementptr inbounds %"class.JPH::Vec4", ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %union.anon.4, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds { double, double }, ptr %69, i32 0, i32 0
  %71 = extractvalue { double, double } %65, 0
  store double %71, ptr %70, align 16
  %72 = getelementptr inbounds { double, double }, ptr %69, i32 0, i32 1
  %73 = extractvalue { double, double } %65, 1
  store double %73, ptr %72, align 8
  %74 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %75 = load double, ptr %74, align 16
  %76 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %77 = load double, ptr %76, align 8
  %78 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %79 = load double, ptr %78, align 16
  %80 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %81 = load double, ptr %80, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %11, ptr noundef %63, double %75, double %77, double %79, double %81, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %82 unwind label %93

82:                                               ; preds = %66
  %83 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 16 dereferenceable(256) %11, i32 noundef 1)
          to label %84 unwind label %97

84:                                               ; preds = %82
  %85 = getelementptr inbounds %"class.JPH::BodyID", ptr %14, i32 0, i32 0
  store i32 %83, ptr %85, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %11) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  br label %86

86:                                               ; preds = %84
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %9, align 4, !tbaa !9
  br label %39, !llvm.loop !22

89:                                               ; preds = %47
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %5, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %6, align 4
  br label %102

93:                                               ; preds = %66, %64, %60
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %5, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %6, align 4
  br label %101

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

101:                                              ; preds = %97, %93
  call void @llvm.lifetime.end.p0(i64 256, ptr %11) #10
  br label %102

102:                                              ; preds = %101, %89
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  br label %179

103:                                              ; preds = %46
  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 %28, !llvm.loop !24

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

108:                                              ; preds = %157, %107
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = icmp slt i32 %109, 2
  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 %15) #10
  br label %178

112:                                              ; preds = %108
  %113 = getelementptr inbounds %class.Test, ptr %19, i32 0, i32 3
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 256, ptr %16) #10
  %115 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %116 unwind label %160

116:                                              ; preds = %112
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %115, float noundef 1.000000e+00, ptr noundef null)
          to label %117 unwind label %164

117:                                              ; preds = %116
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = icmp eq i32 %118, 0
  %120 = zext i1 %119 to i64
  %121 = select i1 %119, float 5.000000e+00, float -5.000000e+00
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef -1.000000e+01, float noundef 2.000000e+00, float noundef %121)
          to label %122 unwind label %160

122:                                              ; preds = %117
  %123 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %124 unwind label %160

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"class.JPH::Quat", ptr %18, i32 0, i32 0
  %126 = getelementptr inbounds %"class.JPH::Vec4", ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds %union.anon.4, ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 0
  %129 = extractvalue { double, double } %123, 0
  store double %129, ptr %128, align 16
  %130 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 1
  %131 = extractvalue { double, double } %123, 1
  store double %131, ptr %130, align 8
  %132 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %133 = load double, ptr %132, align 16
  %134 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %135 = load double, ptr %134, align 8
  %136 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %137 = load double, ptr %136, align 16
  %138 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %139 = load double, ptr %138, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %16, ptr noundef %115, double %133, double %135, double %137, double %139, i8 noundef zeroext 1, i16 noundef zeroext 1)
          to label %140 unwind label %160

140:                                              ; preds = %124
  %141 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 16 dereferenceable(256) %16)
          to label %142 unwind label %168

142:                                              ; preds = %140
  %143 = getelementptr inbounds %class.KinematicTest, ptr %19, i32 0, i32 1
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [2 x ptr], ptr %143, i64 0, i64 %145
  store ptr %141, ptr %146, align 8, !tbaa !5
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %16) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %16) #10
  %147 = getelementptr inbounds %class.Test, ptr %19, i32 0, i32 3
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = getelementptr inbounds %class.KinematicTest, ptr %19, i32 0, i32 1
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [2 x ptr], ptr %149, i64 0, i64 %151
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %153)
          to label %155 unwind label %173

155:                                              ; preds = %142
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef nonnull align 4 dereferenceable(4) %154, i32 noundef 0)
          to label %156 unwind label %173

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %15, align 4, !tbaa !9
  br label %108, !llvm.loop !25

160:                                              ; preds = %124, %122, %117, %112
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %5, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %6, align 4
  br label %172

164:                                              ; preds = %116
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %5, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %6, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %115) #10
  br label %172

168:                                              ; preds = %140
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %5, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %16) #10
  br label %172

172:                                              ; preds = %168, %164, %160
  call void @llvm.lifetime.end.p0(i64 256, ptr %16) #10
  br label %177

173:                                              ; preds = %155, %142
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %5, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %6, align 4
  br label %177

177:                                              ; preds = %173, %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %179

178:                                              ; preds = %111
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  ret void

179:                                              ; preds = %177, %102
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  br label %180

180:                                              ; preds = %179, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %181

181:                                              ; preds = %180
  %182 = load ptr, ptr %5, align 8
  %183 = load i32, ptr %6, align 4
  %184 = insertvalue { ptr, i32 } poison, ptr %182, 0
  %185 = insertvalue { ptr, i32 } %184, i32 %183, 1
  resume { ptr, i32 } %185
}

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

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

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

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

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

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

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

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_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #8 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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


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

%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.9", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.5", i32, i32 }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.9" = 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 @_ZN13KinematicTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(128) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::RefConst", align 8
  %3 = alloca %"class.JPH::Vec3", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::BodyCreationSettings", align 16
  %6 = alloca %"class.JPH::BodyCreationSettings", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = tail call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %0, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %9 = tail call noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %3, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %10 unwind label %186

10:                                               ; preds = %1
  %11 = load double, ptr %3, align 16
  %12 = getelementptr inbounds i8, ptr %3, i64 8
  %13 = load double, ptr %12, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %9, double %11, double %13, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %.lr.ph unwind label %186

.lr.ph.1:                                         ; preds = %202
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -9.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %14 unwind label %.loopexit.split-lp.loopexit

14:                                               ; preds = %.lr.ph.1
  %15 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %16 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %17 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %18 unwind label %.loopexit.split-lp52.loopexit

18:                                               ; preds = %14
  %19 = extractvalue { double, double } %17, 0
  %20 = extractvalue { double, double } %17, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %16, double %.sroa.08.0.copyload.1, double %.sroa.29.0.copyload.1, double %19, double %20, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %21 unwind label %.loopexit.split-lp52.loopexit

21:                                               ; preds = %18
  %22 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %23 unwind label %.loopexit.split-lp57.loopexit

23:                                               ; preds = %21
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -7.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %24 unwind label %.loopexit.split-lp.loopexit

24:                                               ; preds = %23
  %25 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %26 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.1 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.1 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %27 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %28 unwind label %.loopexit.split-lp52.loopexit

28:                                               ; preds = %24
  %29 = extractvalue { double, double } %27, 0
  %30 = extractvalue { double, double } %27, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %26, double %.sroa.08.0.copyload.1.1, double %.sroa.29.0.copyload.1.1, double %29, double %30, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %31 unwind label %.loopexit.split-lp52.loopexit

31:                                               ; preds = %28
  %32 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %33 unwind label %.loopexit.split-lp57.loopexit

33:                                               ; preds = %31
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -5.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %34 unwind label %.loopexit.split-lp.loopexit

34:                                               ; preds = %33
  %35 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %36 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.2 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.2 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %37 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %38 unwind label %.loopexit.split-lp52.loopexit

38:                                               ; preds = %34
  %39 = extractvalue { double, double } %37, 0
  %40 = extractvalue { double, double } %37, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %36, double %.sroa.08.0.copyload.1.2, double %.sroa.29.0.copyload.1.2, double %39, double %40, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %41 unwind label %.loopexit.split-lp52.loopexit

41:                                               ; preds = %38
  %42 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %43 unwind label %.loopexit.split-lp57.loopexit

43:                                               ; preds = %41
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -3.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %44 unwind label %.loopexit.split-lp.loopexit

44:                                               ; preds = %43
  %45 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %46 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.3 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.3 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %47 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %48 unwind label %.loopexit.split-lp52.loopexit

48:                                               ; preds = %44
  %49 = extractvalue { double, double } %47, 0
  %50 = extractvalue { double, double } %47, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %46, double %.sroa.08.0.copyload.1.3, double %.sroa.29.0.copyload.1.3, double %49, double %50, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %51 unwind label %.loopexit.split-lp52.loopexit

51:                                               ; preds = %48
  %52 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %53 unwind label %.loopexit.split-lp57.loopexit

53:                                               ; preds = %51
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -1.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %54 unwind label %.loopexit.split-lp.loopexit

54:                                               ; preds = %53
  %55 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %56 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.4 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.4 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %57 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %58 unwind label %.loopexit.split-lp52.loopexit

58:                                               ; preds = %54
  %59 = extractvalue { double, double } %57, 0
  %60 = extractvalue { double, double } %57, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %56, double %.sroa.08.0.copyload.1.4, double %.sroa.29.0.copyload.1.4, double %59, double %60, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %61 unwind label %.loopexit.split-lp52.loopexit

61:                                               ; preds = %58
  %62 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %63 unwind label %.loopexit.split-lp57.loopexit

63:                                               ; preds = %61
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 1.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %64 unwind label %.loopexit.split-lp.loopexit

64:                                               ; preds = %63
  %65 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %66 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.5 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.5 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %67 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %68 unwind label %.loopexit.split-lp52.loopexit

68:                                               ; preds = %64
  %69 = extractvalue { double, double } %67, 0
  %70 = extractvalue { double, double } %67, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %66, double %.sroa.08.0.copyload.1.5, double %.sroa.29.0.copyload.1.5, double %69, double %70, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %71 unwind label %.loopexit.split-lp52.loopexit

71:                                               ; preds = %68
  %72 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %73 unwind label %.loopexit.split-lp57.loopexit

73:                                               ; preds = %71
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 3.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %74 unwind label %.loopexit.split-lp.loopexit

74:                                               ; preds = %73
  %75 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %76 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.6 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.6 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %77 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %78 unwind label %.loopexit.split-lp52.loopexit

78:                                               ; preds = %74
  %79 = extractvalue { double, double } %77, 0
  %80 = extractvalue { double, double } %77, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %76, double %.sroa.08.0.copyload.1.6, double %.sroa.29.0.copyload.1.6, double %79, double %80, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %81 unwind label %.loopexit.split-lp52.loopexit

81:                                               ; preds = %78
  %82 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %83 unwind label %.loopexit.split-lp57.loopexit

83:                                               ; preds = %81
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 5.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %84 unwind label %.loopexit.split-lp.loopexit

84:                                               ; preds = %83
  %85 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %86 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.7 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.7 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %87 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %88 unwind label %.loopexit.split-lp52.loopexit

88:                                               ; preds = %84
  %89 = extractvalue { double, double } %87, 0
  %90 = extractvalue { double, double } %87, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %86, double %.sroa.08.0.copyload.1.7, double %.sroa.29.0.copyload.1.7, double %89, double %90, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %91 unwind label %.loopexit.split-lp52.loopexit

91:                                               ; preds = %88
  %92 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %93 unwind label %.loopexit.split-lp57.loopexit

93:                                               ; preds = %91
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 7.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %94 unwind label %.loopexit.split-lp.loopexit

94:                                               ; preds = %93
  %95 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %96 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.1.8 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.1.8 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %97 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %98 unwind label %.loopexit.split-lp52.loopexit

98:                                               ; preds = %94
  %99 = extractvalue { double, double } %97, 0
  %100 = extractvalue { double, double } %97, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %96, double %.sroa.08.0.copyload.1.8, double %.sroa.29.0.copyload.1.8, double %99, double %100, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %101 unwind label %.loopexit.split-lp52.loopexit

101:                                              ; preds = %98
  %102 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %.lr.ph.2 unwind label %.loopexit.split-lp57.loopexit

.lr.ph.2:                                         ; preds = %101
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -8.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %103 unwind label %.loopexit.split-lp.loopexit.split-lp

103:                                              ; preds = %.lr.ph.2
  %104 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %105 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %106 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %107 unwind label %.loopexit.split-lp52.loopexit.split-lp

107:                                              ; preds = %103
  %108 = extractvalue { double, double } %106, 0
  %109 = extractvalue { double, double } %106, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %105, double %.sroa.08.0.copyload.2, double %.sroa.29.0.copyload.2, double %108, double %109, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %110 unwind label %.loopexit.split-lp52.loopexit.split-lp

110:                                              ; preds = %107
  %111 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %104, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %112 unwind label %.loopexit.split-lp57.loopexit.split-lp

112:                                              ; preds = %110
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -6.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %113 unwind label %.loopexit.split-lp.loopexit.split-lp

113:                                              ; preds = %112
  %114 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %115 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.1 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.1 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %116 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %117 unwind label %.loopexit.split-lp52.loopexit.split-lp

117:                                              ; preds = %113
  %118 = extractvalue { double, double } %116, 0
  %119 = extractvalue { double, double } %116, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %115, double %.sroa.08.0.copyload.2.1, double %.sroa.29.0.copyload.2.1, double %118, double %119, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %120 unwind label %.loopexit.split-lp52.loopexit.split-lp

120:                                              ; preds = %117
  %121 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %122 unwind label %.loopexit.split-lp57.loopexit.split-lp

122:                                              ; preds = %120
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -4.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %123 unwind label %.loopexit.split-lp.loopexit.split-lp

123:                                              ; preds = %122
  %124 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %125 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.2 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.2 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %126 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %127 unwind label %.loopexit.split-lp52.loopexit.split-lp

127:                                              ; preds = %123
  %128 = extractvalue { double, double } %126, 0
  %129 = extractvalue { double, double } %126, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %125, double %.sroa.08.0.copyload.2.2, double %.sroa.29.0.copyload.2.2, double %128, double %129, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %130 unwind label %.loopexit.split-lp52.loopexit.split-lp

130:                                              ; preds = %127
  %131 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %132 unwind label %.loopexit.split-lp57.loopexit.split-lp

132:                                              ; preds = %130
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -2.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %133 unwind label %.loopexit.split-lp.loopexit.split-lp

133:                                              ; preds = %132
  %134 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %135 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.3 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.3 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %136 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %137 unwind label %.loopexit.split-lp52.loopexit.split-lp

137:                                              ; preds = %133
  %138 = extractvalue { double, double } %136, 0
  %139 = extractvalue { double, double } %136, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %135, double %.sroa.08.0.copyload.2.3, double %.sroa.29.0.copyload.2.3, double %138, double %139, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %140 unwind label %.loopexit.split-lp52.loopexit.split-lp

140:                                              ; preds = %137
  %141 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %142 unwind label %.loopexit.split-lp57.loopexit.split-lp

142:                                              ; preds = %140
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 0.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %143 unwind label %.loopexit.split-lp.loopexit.split-lp

143:                                              ; preds = %142
  %144 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %145 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.4 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.4 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %146 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %147 unwind label %.loopexit.split-lp52.loopexit.split-lp

147:                                              ; preds = %143
  %148 = extractvalue { double, double } %146, 0
  %149 = extractvalue { double, double } %146, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %145, double %.sroa.08.0.copyload.2.4, double %.sroa.29.0.copyload.2.4, double %148, double %149, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %150 unwind label %.loopexit.split-lp52.loopexit.split-lp

150:                                              ; preds = %147
  %151 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %144, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %152 unwind label %.loopexit.split-lp57.loopexit.split-lp

152:                                              ; preds = %150
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 2.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %153 unwind label %.loopexit.split-lp.loopexit.split-lp

153:                                              ; preds = %152
  %154 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %155 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.5 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.5 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %156 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %157 unwind label %.loopexit.split-lp52.loopexit.split-lp

157:                                              ; preds = %153
  %158 = extractvalue { double, double } %156, 0
  %159 = extractvalue { double, double } %156, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %155, double %.sroa.08.0.copyload.2.5, double %.sroa.29.0.copyload.2.5, double %158, double %159, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %160 unwind label %.loopexit.split-lp52.loopexit.split-lp

160:                                              ; preds = %157
  %161 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %162 unwind label %.loopexit.split-lp57.loopexit.split-lp

162:                                              ; preds = %160
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 4.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %163 unwind label %.loopexit.split-lp.loopexit.split-lp

163:                                              ; preds = %162
  %164 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %165 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.6 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.6 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %166 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %167 unwind label %.loopexit.split-lp52.loopexit.split-lp

167:                                              ; preds = %163
  %168 = extractvalue { double, double } %166, 0
  %169 = extractvalue { double, double } %166, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %165, double %.sroa.08.0.copyload.2.6, double %.sroa.29.0.copyload.2.6, double %168, double %169, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %170 unwind label %.loopexit.split-lp52.loopexit.split-lp

170:                                              ; preds = %167
  %171 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %164, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %172 unwind label %.loopexit.split-lp57.loopexit.split-lp

172:                                              ; preds = %170
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 6.000000e+00, float noundef 5.000000e+00, float noundef 0.000000e+00)
          to label %173 unwind label %.loopexit.split-lp.loopexit.split-lp

173:                                              ; preds = %172
  %174 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %175 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload.2.7 = load double, ptr %4, align 16
  %.sroa.29.0.copyload.2.7 = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %176 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %177 unwind label %.loopexit.split-lp52.loopexit.split-lp

177:                                              ; preds = %173
  %178 = extractvalue { double, double } %176, 0
  %179 = extractvalue { double, double } %176, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %175, double %.sroa.08.0.copyload.2.7, double %.sroa.29.0.copyload.2.7, double %178, double %179, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %180 unwind label %.loopexit.split-lp52.loopexit.split-lp

180:                                              ; preds = %177
  %181 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %174, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %.loopexit.2 unwind label %.loopexit.split-lp57.loopexit.split-lp

.loopexit.2:                                      ; preds = %180
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  %182 = getelementptr inbounds i8, ptr %7, i64 8
  %183 = getelementptr inbounds i8, ptr %0, i64 112
  %184 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #9
  %185 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %204 unwind label %239

186:                                              ; preds = %10, %1
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %9) #9
  br label %249

.lr.ph:                                           ; preds = %10
  call void @_ZN3JPH8RefConstINS_5ShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %9)
  %188 = getelementptr inbounds i8, ptr %0, i64 24
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  br label %189

189:                                              ; preds = %.lr.ph, %202
  %.02944 = phi i32 [ 0, %.lr.ph ], [ %203, %202 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %190 = uitofp nneg i32 %.02944 to float
  %191 = call float @llvm.fmuladd.f32(float %190, float 2.000000e+00, float -1.000000e+01)
  %192 = fadd float %191, 0.000000e+00
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef %192, float noundef 1.000000e+00, float noundef 0.000000e+00)
          to label %193 unwind label %.loopexit50

193:                                              ; preds = %189
  %194 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %195 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.sroa.08.0.copyload = load double, ptr %4, align 16
  %.sroa.29.0.copyload = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !17
  %196 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %197 unwind label %.loopexit51

197:                                              ; preds = %193
  %198 = extractvalue { double, double } %196, 0
  %199 = extractvalue { double, double } %196, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef %195, double %.sroa.08.0.copyload, double %.sroa.29.0.copyload, double %198, double %199, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %200 unwind label %.loopexit51

200:                                              ; preds = %197
  %201 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %194, ptr noundef nonnull align 16 dereferenceable(256) %5, i32 noundef 1)
          to label %202 unwind label %.loopexit56

202:                                              ; preds = %200
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  %203 = add nuw nsw i32 %.02944, 1
  %exitcond.not = icmp eq i32 %203, 10
  br i1 %exitcond.not, label %.lr.ph.1, label %189, !llvm.loop !18

.loopexit50:                                      ; preds = %189
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %93, %83, %73, %63, %53, %43, %33, %23, %.lr.ph.1
  %lpad.loopexit61 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %172, %162, %152, %142, %132, %122, %112, %.lr.ph.2
  %lpad.loopexit.split-lp62 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit51:                                      ; preds = %193, %197
  %lpad.loopexit53 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp52

.loopexit.split-lp52.loopexit:                    ; preds = %98, %94, %88, %84, %78, %74, %68, %64, %58, %54, %48, %44, %38, %34, %28, %24, %18, %14
  %lpad.loopexit64 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp52

.loopexit.split-lp52.loopexit.split-lp:           ; preds = %177, %173, %167, %163, %157, %153, %147, %143, %137, %133, %127, %123, %117, %113, %107, %103
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp52

.loopexit56:                                      ; preds = %200
  %lpad.loopexit58 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp57

.loopexit.split-lp57.loopexit:                    ; preds = %101, %91, %81, %71, %61, %51, %41, %31, %21
  %lpad.loopexit66 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp57

.loopexit.split-lp57.loopexit.split-lp:           ; preds = %180, %170, %160, %150, %140, %130, %120, %110
  %lpad.loopexit.split-lp67 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp57

.loopexit.split-lp57:                             ; preds = %.loopexit.split-lp57.loopexit, %.loopexit.split-lp57.loopexit.split-lp, %.loopexit56
  %lpad.phi60 = phi { ptr, i32 } [ %lpad.loopexit58, %.loopexit56 ], [ %lpad.loopexit66, %.loopexit.split-lp57.loopexit ], [ %lpad.loopexit.split-lp67, %.loopexit.split-lp57.loopexit.split-lp ]
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  br label %.loopexit.split-lp52

.loopexit.split-lp52:                             ; preds = %.loopexit51, %.loopexit.split-lp52.loopexit.split-lp, %.loopexit.split-lp52.loopexit, %.loopexit.split-lp57
  %.pn33 = phi { ptr, i32 } [ %lpad.phi60, %.loopexit.split-lp57 ], [ %lpad.loopexit53, %.loopexit51 ], [ %lpad.loopexit64, %.loopexit.split-lp52.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp52.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit50, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %.loopexit.split-lp52
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %.loopexit.split-lp52 ], [ %lpad.loopexit, %.loopexit50 ], [ %lpad.loopexit61, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp62, %.loopexit.split-lp.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  br label %248

204:                                              ; preds = %.loopexit.2
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %185, float noundef 1.000000e+00, ptr noundef null)
          to label %205 unwind label %241

205:                                              ; preds = %204
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef -1.000000e+01, float noundef 2.000000e+00, float noundef 5.000000e+00)
          to label %206 unwind label %239

206:                                              ; preds = %205
  %207 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %208 unwind label %239

208:                                              ; preds = %206
  %209 = extractvalue { double, double } %207, 0
  %210 = extractvalue { double, double } %207, 1
  %211 = load double, ptr %7, align 16
  %212 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %6, ptr noundef nonnull %185, double %211, double %212, double %209, double %210, i8 noundef zeroext 1, i16 noundef zeroext 1)
          to label %213 unwind label %239

213:                                              ; preds = %208
  %214 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %184, ptr noundef nonnull align 16 dereferenceable(256) %6)
          to label %215 unwind label %243

215:                                              ; preds = %213
  store ptr %214, ptr %183, align 8, !tbaa !20
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %6) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #9
  %216 = load ptr, ptr %188, align 8, !tbaa !5
  %217 = load ptr, ptr %183, align 8, !tbaa !20
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %217)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %216, ptr noundef nonnull align 4 dereferenceable(4) %218, i32 noundef 0)
          to label %219 unwind label %246

219:                                              ; preds = %215
  %220 = load ptr, ptr %188, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #9
  %221 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %222 unwind label %239

222:                                              ; preds = %219
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %221, float noundef 1.000000e+00, ptr noundef null)
          to label %223 unwind label %241

223:                                              ; preds = %222
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef -1.000000e+01, float noundef 2.000000e+00, float noundef -5.000000e+00)
          to label %224 unwind label %239

224:                                              ; preds = %223
  %225 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %226 unwind label %239

226:                                              ; preds = %224
  %227 = extractvalue { double, double } %225, 0
  %228 = extractvalue { double, double } %225, 1
  %229 = load double, ptr %7, align 16
  %230 = load double, ptr %182, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %6, ptr noundef nonnull %221, double %229, double %230, double %227, double %228, i8 noundef zeroext 1, i16 noundef zeroext 1)
          to label %231 unwind label %239

231:                                              ; preds = %226
  %232 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %220, ptr noundef nonnull align 16 dereferenceable(256) %6)
          to label %233 unwind label %243

233:                                              ; preds = %231
  %234 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %232, ptr %234, align 8, !tbaa !20
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %6) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #9
  %235 = load ptr, ptr %188, align 8, !tbaa !5
  %236 = load ptr, ptr %234, align 8, !tbaa !20
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %236)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %235, ptr noundef nonnull align 4 dereferenceable(4) %237, i32 noundef 0)
          to label %238 unwind label %246

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

239:                                              ; preds = %226, %224, %223, %219, %208, %206, %205, %.loopexit.2
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %245

241:                                              ; preds = %222, %204
  %.lcssa = phi ptr [ %185, %204 ], [ %221, %222 ]
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %.lcssa) #9
  br label %245

243:                                              ; preds = %231, %213
  %244 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %6) #9
  br label %245

245:                                              ; preds = %243, %241, %239
  %.pn = phi { ptr, i32 } [ %244, %243 ], [ %240, %239 ], [ %242, %241 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #9
  br label %248

246:                                              ; preds = %233, %215
  %247 = landingpad { ptr, i32 }
          cleanup
  br label %248

248:                                              ; preds = %245, %246, %.loopexit.split-lp
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %.loopexit.split-lp ], [ %247, %246 ], [ %.pn, %245 ]
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br label %249

249:                                              ; preds = %248, %186
  %.pn33.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn, %248 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn33.pn.pn.pn
}

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

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

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

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

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

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

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

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_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #8 align 2

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

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

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

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

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

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

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass