; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Constraints/SixDOFConstraintTest.ll (ZN20SixDOFConstraintTest10InitializeEv)

; 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::Ref.4" = type { ptr }
%"class.JPH::Ref.12" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::RefConst.14" = type { 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.17", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.7 }
%union.anon.7 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.8", i32, i32 }
%"class.JPH::RefConst.8" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.17" = type { ptr }
%"class.JPH::RefConst" = type { ptr }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.JPH::SixDOFConstraintSettings" = type <{ %"class.JPH::TwoBodyConstraintSettings", i32, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", [6 x float], i8, [3 x i8], [6 x float], [6 x float], [3 x %"class.JPH::SpringSettings"], [6 x %"class.JPH::MotorSettings"], [8 x i8] }>
%"class.JPH::TwoBodyConstraintSettings" = type { %"class.JPH::ConstraintSettings" }
%"class.JPH::ConstraintSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget", i8, i32, i32, i32, float, i64 }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget" = type { %"struct.std::atomic.9" }
%"struct.std::atomic.9" = type { %"struct.std::__atomic_base.10" }
%"struct.std::__atomic_base.10" = type { i32 }
%"class.JPH::SpringSettings" = type { i8, %union.anon.11, float }
%union.anon.11 = type { float }
%"class.JPH::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }
%class.SixDOFConstraintTest = type <{ %class.Test, %"class.JPH::Vec3", %"class.JPH::Ref", [8 x i8] }>
%"class.JPH::Ref" = type { ptr }

@_ZN20SixDOFConstraintTest9sLimitMinE = external dso_local global [6 x float], align 16
@_ZN20SixDOFConstraintTest9sLimitMaxE = external dso_local global [6 x float], align 16
@_ZN20SixDOFConstraintTest13sEnableLimitsE = external dso_local global [6 x i8], align 1
@_ZN20SixDOFConstraintTest9sSettingsE = external dso_local global %"class.JPH::Ref.4", align 8

; 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 @_ZN20SixDOFConstraintTest10InitializeEv(ptr noundef nonnull align 16 dereferenceable(136) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %"class.JPH::Ref.12", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::RefConst.14", align 8
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca %"class.JPH::BodyCreationSettings", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Quat", align 16
  %15 = alloca %"class.JPH::CollisionGroup", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.JPH::BodyCreationSettings", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Quat", align 16
  %21 = alloca %"class.JPH::CollisionGroup", align 8
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca float, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8
  %27 = call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %26, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %53, %1
  %29 = load i32, ptr %3, align 4, !tbaa !9
  %30 = icmp slt i32 %29, 6
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %56

32:                                               ; preds = %28
  %33 = load i32, ptr %3, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [6 x i8], ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, i64 0, i64 %34
  %36 = load i8, ptr %35, align 1, !tbaa !11, !range !13, !noundef !14
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %49

38:                                               ; preds = %32
  %39 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %40 = load i32, ptr %3, align 4, !tbaa !9
  %41 = load i32, ptr %3, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [6 x float], ptr @_ZN20SixDOFConstraintTest9sLimitMinE, i64 0, i64 %42
  %44 = load float, ptr %43, align 4, !tbaa !15
  %45 = load i32, ptr %3, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [6 x float], ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, i64 0, i64 %46
  %48 = load float, ptr %47, align 4, !tbaa !15
  call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %39, i32 noundef %40, float noundef %44, float noundef %48)
  br label %52

49:                                               ; preds = %32
  %50 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %51 = load i32, ptr %3, align 4, !tbaa !9
  call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %50, i32 noundef %51)
  br label %52

52:                                               ; preds = %49, %38
  br label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %3, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %3, align 4, !tbaa !9
  br label %28, !llvm.loop !17

56:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %57 = call noundef ptr @_ZN3JPH16GroupFilterTablenwEm(i64 noundef 40)
  invoke void @_ZN3JPH16GroupFilterTableC2Ej(ptr noundef nonnull align 8 dereferenceable(40) %57, i32 noundef 0)
          to label %58 unwind label %181

58:                                               ; preds = %56
  call void @_ZN3JPH3RefINS_16GroupFilterTableEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef %57)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  store float 1.500000e+00, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 0.000000e+00, float noundef 2.500000e+01, float noundef 0.000000e+00)
          to label %59 unwind label %185

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %60 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %61 unwind label %189

61:                                               ; preds = %59
  %62 = load float, ptr %7, align 4, !tbaa !15
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef 5.000000e-01, float noundef %62, float noundef 2.500000e-01)
          to label %63 unwind label %193

63:                                               ; preds = %61
  %64 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %65 = load double, ptr %64, align 16
  %66 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %67 = load double, ptr %66, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %60, double %65, double %67, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %68 unwind label %193

68:                                               ; preds = %63
  invoke void @_ZN3JPH8RefConstINS_8BoxShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %60)
          to label %69 unwind label %189

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %70 = getelementptr inbounds %class.Test, ptr %26, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 256, ptr %12) #10
  %72 = invoke noundef ptr @_ZNK3JPH8RefConstINS_8BoxShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %73 unwind label %197

73:                                               ; preds = %69
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !26
  %74 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %75 unwind label %197

75:                                               ; preds = %73
  %76 = getelementptr inbounds %"class.JPH::Quat", ptr %14, i32 0, i32 0
  %77 = getelementptr inbounds %"class.JPH::Vec4", ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %union.anon.7, ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds { double, double }, ptr %78, i32 0, i32 0
  %80 = extractvalue { double, double } %74, 0
  store double %80, ptr %79, align 16
  %81 = getelementptr inbounds { double, double }, ptr %78, i32 0, i32 1
  %82 = extractvalue { double, double } %74, 1
  store double %82, ptr %81, align 8
  %83 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %84 = load double, ptr %83, align 16
  %85 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %86 = load double, ptr %85, align 8
  %87 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %88 = load double, ptr %87, align 16
  %89 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %90 = load double, ptr %89, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %12, ptr noundef %72, double %84, double %86, double %88, double %90, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %91 unwind label %197

91:                                               ; preds = %75
  %92 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 16 dereferenceable(256) %12)
          to label %93 unwind label %201

93:                                               ; preds = %91
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %12) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #10
  store ptr %92, ptr %11, align 8, !tbaa !5
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #10
  %95 = invoke noundef ptr @_ZNK3JPH3RefINS_16GroupFilterTableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %96 unwind label %206

96:                                               ; preds = %93
  invoke void @_ZN3JPH14CollisionGroupC2EPKNS_11GroupFilterEjj(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %95, i32 noundef 0, i32 noundef 0)
          to label %97 unwind label %206

97:                                               ; preds = %96
  invoke void @_ZN3JPH4Body17SetCollisionGroupERKNS_14CollisionGroupE(ptr noundef nonnull align 16 dereferenceable(122) %94, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %98 unwind label %210

98:                                               ; preds = %97
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  %99 = getelementptr inbounds %class.Test, ptr %26, i32 0, i32 3
  %100 = load ptr, ptr %99, align 8, !tbaa !19
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %101)
          to label %103 unwind label %215

103:                                              ; preds = %98
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(4) %102, i32 noundef 1)
          to label %104 unwind label %215

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %105 = getelementptr inbounds %class.Test, ptr %26, i32 0, i32 3
  %106 = load ptr, ptr %105, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 256, ptr %17) #10
  %107 = invoke noundef ptr @_ZNK3JPH8RefConstINS_8BoxShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %108 unwind label %219

108:                                              ; preds = %104
  %109 = load float, ptr %7, align 4, !tbaa !15
  %110 = fmul float 2.000000e+00, %109
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 0.000000e+00, float noundef %110, float noundef 0.000000e+00)
          to label %111 unwind label %219

111:                                              ; preds = %108
  %112 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %113 = load double, ptr %112, align 16
  %114 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %115 = load double, ptr %114, align 8
  %116 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %113, double %115)
          to label %117 unwind label %219

117:                                              ; preds = %111
  %118 = getelementptr inbounds %"class.JPH::Vec3", ptr %18, i32 0, i32 0
  %119 = getelementptr inbounds %union.anon, ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 0
  %121 = extractvalue { double, double } %116, 0
  store double %121, ptr %120, align 16
  %122 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 1
  %123 = extractvalue { double, double } %116, 1
  store double %123, ptr %122, align 8
  %124 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %125 unwind label %219

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

141:                                              ; preds = %125
  %142 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 16 dereferenceable(256) %17)
          to label %143 unwind label %223

143:                                              ; preds = %141
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %17) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr %17) #10
  store ptr %142, ptr %16, align 8, !tbaa !5
  %144 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #10
  %145 = invoke noundef ptr @_ZNK3JPH3RefINS_16GroupFilterTableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %146 unwind label %228

146:                                              ; preds = %143
  invoke void @_ZN3JPH14CollisionGroupC2EPKNS_11GroupFilterEjj(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %145, i32 noundef 0, i32 noundef 0)
          to label %147 unwind label %228

147:                                              ; preds = %146
  invoke void @_ZN3JPH4Body17SetCollisionGroupERKNS_14CollisionGroupE(ptr noundef nonnull align 16 dereferenceable(122) %144, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %148 unwind label %232

148:                                              ; preds = %147
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  %149 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZN3JPH4Body16SetAllowSleepingEb(ptr noundef nonnull align 16 dereferenceable(122) %149, i1 noundef zeroext false)
          to label %150 unwind label %237

150:                                              ; preds = %148
  %151 = getelementptr inbounds %class.Test, ptr %26, i32 0, i32 3
  %152 = load ptr, ptr %151, align 8, !tbaa !19
  %153 = load ptr, ptr %16, 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 %237

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

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #10
  %157 = load float, ptr %7, align 4, !tbaa !15
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 0.000000e+00, float noundef %157, float noundef 0.000000e+00)
          to label %158 unwind label %241

158:                                              ; preds = %156
  %159 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %160 = load double, ptr %159, align 16
  %161 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %162 = load double, ptr %161, align 8
  %163 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %160, double %162)
          to label %164 unwind label %241

164:                                              ; preds = %158
  %165 = getelementptr inbounds %"class.JPH::Vec3", ptr %22, i32 0, i32 0
  %166 = getelementptr inbounds %union.anon, ptr %165, i32 0, i32 0
  %167 = getelementptr inbounds { double, double }, ptr %166, i32 0, i32 0
  %168 = extractvalue { double, double } %163, 0
  store double %168, ptr %167, align 16
  %169 = getelementptr inbounds { double, double }, ptr %166, i32 0, i32 1
  %170 = extractvalue { double, double } %163, 1
  store double %170, ptr %169, align 8
  %171 = invoke noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
          to label %172 unwind label %241

172:                                              ; preds = %164
  %173 = getelementptr inbounds %"class.JPH::SixDOFConstraintSettings", ptr %171, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %173, ptr align 16 %22, i64 16, i1 false), !tbaa.struct !26
  %174 = invoke noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
          to label %175 unwind label %241

175:                                              ; preds = %172
  %176 = getelementptr inbounds %"class.JPH::SixDOFConstraintSettings", ptr %174, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %176, ptr align 16 %173, i64 16, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  store float 1.000000e+00, ptr %24, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %259, %175
  %178 = load i32, ptr %25, align 4, !tbaa !9
  %179 = icmp slt i32 %178, 3
  br i1 %179, label %245, label %180

180:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  br label %266

181:                                              ; preds = %56
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %5, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %6, align 4
  call void @_ZN3JPH16GroupFilterTabledlEPv(ptr noundef %57) #10
  br label %291

185:                                              ; preds = %58
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %5, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %6, align 4
  br label %290

189:                                              ; preds = %68, %59
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %5, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %6, align 4
  br label %289

193:                                              ; preds = %63, %61
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %5, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %6, align 4
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %60) #10
  br label %289

197:                                              ; preds = %75, %73, %69
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %5, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %6, align 4
  br label %205

201:                                              ; preds = %91
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %5, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %12) #10
  br label %205

205:                                              ; preds = %201, %197
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #10
  br label %288

206:                                              ; preds = %96, %93
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %5, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %6, align 4
  br label %214

210:                                              ; preds = %97
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %5, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %6, align 4
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #10
  br label %214

214:                                              ; preds = %210, %206
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  br label %288

215:                                              ; preds = %103, %98
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %5, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %6, align 4
  br label %288

219:                                              ; preds = %125, %117, %111, %108, %104
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %5, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %6, align 4
  br label %227

223:                                              ; preds = %141
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %5, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %6, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %17) #10
  br label %227

227:                                              ; preds = %223, %219
  call void @llvm.lifetime.end.p0(i64 256, ptr %17) #10
  br label %287

228:                                              ; preds = %146, %143
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %5, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %6, align 4
  br label %236

232:                                              ; preds = %147
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %5, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %6, align 4
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  br label %236

236:                                              ; preds = %232, %228
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  br label %287

237:                                              ; preds = %155, %150, %148
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %5, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %6, align 4
  br label %287

241:                                              ; preds = %172, %164, %158, %156
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %5, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  br label %287

245:                                              ; preds = %177
  %246 = invoke noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
          to label %247 unwind label %262

247:                                              ; preds = %245
  %248 = getelementptr inbounds %"class.JPH::SixDOFConstraintSettings", ptr %246, i32 0, i32 15
  %249 = load i32, ptr %25, align 4, !tbaa !9
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [6 x %"class.JPH::MotorSettings"], ptr %248, i64 0, i64 %250
  %252 = load ptr, ptr %16, align 8, !tbaa !5
  %253 = invoke noundef ptr @_ZN3JPH4Body19GetMotionPropertiesEv(ptr noundef nonnull align 16 dereferenceable(122) %252)
          to label %254 unwind label %262

254:                                              ; preds = %247
  %255 = invoke noundef float @_ZNK3JPH16MotionProperties14GetInverseMassEv(ptr noundef nonnull align 16 dereferenceable(182) %253)
          to label %256 unwind label %262

256:                                              ; preds = %254
  %257 = fdiv float 1.000000e+00, %255
  invoke void @_ZN3JPH13MotorSettings13SetForceLimitEf(ptr noundef nonnull align 4 dereferenceable(28) %251, float noundef %257)
          to label %258 unwind label %262

258:                                              ; preds = %256
  br label %259

259:                                              ; preds = %258
  %260 = load i32, ptr %25, align 4, !tbaa !9
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %25, align 4, !tbaa !9
  br label %177, !llvm.loop !28

262:                                              ; preds = %256, %254, %247, %245
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %5, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  br label %286

266:                                              ; preds = %180
  %267 = invoke noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
          to label %268 unwind label %282

268:                                              ; preds = %266
  %269 = load ptr, ptr %11, align 8, !tbaa !5
  %270 = load ptr, ptr %16, align 8, !tbaa !5
  %271 = invoke noundef ptr @_ZNK3JPH24SixDOFConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(432) %267, ptr noundef nonnull align 16 dereferenceable(122) %269, ptr noundef nonnull align 16 dereferenceable(122) %270)
          to label %272 unwind label %282

272:                                              ; preds = %268
  %273 = getelementptr inbounds %class.SixDOFConstraintTest, ptr %26, i32 0, i32 2
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_16SixDOFConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %273, ptr noundef %271)
          to label %275 unwind label %282

275:                                              ; preds = %272
  %276 = getelementptr inbounds %class.Test, ptr %26, i32 0, i32 2
  %277 = load ptr, ptr %276, align 16, !tbaa !29
  %278 = getelementptr inbounds %class.SixDOFConstraintTest, ptr %26, i32 0, i32 2
  %279 = invoke noundef ptr @_ZNK3JPH3RefINS_16SixDOFConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %278)
          to label %280 unwind label %282

280:                                              ; preds = %275
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %277, ptr noundef %279)
          to label %281 unwind label %282

281:                                              ; preds = %280
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @_ZN3JPH8RefConstINS_8BoxShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  call void @_ZN3JPH3RefINS_16GroupFilterTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  ret void

282:                                              ; preds = %280, %275, %272, %268, %266
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %5, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %6, align 4
  br label %286

286:                                              ; preds = %282, %262
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  br label %287

287:                                              ; preds = %286, %241, %237, %236, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %288

288:                                              ; preds = %287, %215, %214, %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @_ZN3JPH8RefConstINS_8BoxShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br label %289

289:                                              ; preds = %288, %193, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  br label %290

290:                                              ; preds = %289, %185
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  call void @_ZN3JPH3RefINS_16GroupFilterTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  br label %291

291:                                              ; preds = %290, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  br label %292

292:                                              ; preds = %291
  %293 = load ptr, ptr %5, align 8
  %294 = load i32, ptr %6, align 4
  %295 = insertvalue { ptr, i32 } poison, ptr %293, 0
  %296 = insertvalue { ptr, i32 } %295, i32 %294, 1
  resume { ptr, i32 } %296
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432), i32 noundef, float noundef, float noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432), i32 noundef) #4 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH4Body17SetCollisionGroupERKNS_14CollisionGroupE(ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

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

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

declare void @_ZN3JPH4Body16SetAllowSleepingEb(ptr noundef nonnull align 16 dereferenceable(122), i1 noundef zeroext) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH13MotorSettings13SetForceLimitEf(ptr noundef nonnull align 4 dereferenceable(28), float noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH4Body19GetMotionPropertiesEv(ptr noundef nonnull align 16 dereferenceable(122)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH16MotionProperties14GetInverseMassEv(ptr noundef nonnull align 16 dereferenceable(182)) #7 align 2

declare noundef ptr @_ZNK3JPH24SixDOFConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(432), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH3RefINS_16GroupFilterTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 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 = { 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 #4 = { 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 #5 = { 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 #6 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !6, i64 24}
!20 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !21, i64 56}
!21 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !22, i64 0}
!22 = !{!"_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, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !6, i64 48}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !23, i64 8}
!26 = !{i64 0, i64 16, !27}
!27 = !{!7, !7, i64 0}
!28 = distinct !{!28, !18}
!29 = !{!20, !6, i64 16}


; 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::Ref.4" = type { ptr }
%"class.JPH::Ref.12" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::RefConst.14" = type { 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.17", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.7 }
%union.anon.7 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.8", i32, i32 }
%"class.JPH::RefConst.8" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.17" = type { ptr }
%"class.JPH::RefConst" = type { ptr }

@_ZN20SixDOFConstraintTest9sLimitMinE = external dso_local local_unnamed_addr global [6 x float], align 16
@_ZN20SixDOFConstraintTest9sLimitMaxE = external dso_local local_unnamed_addr global [6 x float], align 16
@_ZN20SixDOFConstraintTest13sEnableLimitsE = external dso_local local_unnamed_addr global [6 x i8], align 1
@_ZN20SixDOFConstraintTest9sSettingsE = external dso_local global %"class.JPH::Ref.4", align 8

; 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 @_ZN20SixDOFConstraintTest10InitializeEv(ptr noundef nonnull align 16 dereferenceable(136) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::Ref.12", align 8
  %3 = alloca %"class.JPH::Vec3", align 16
  %4 = alloca %"class.JPH::RefConst.14", align 8
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::BodyCreationSettings", align 16
  %7 = alloca %"class.JPH::CollisionGroup", align 8
  %8 = alloca %"class.JPH::BodyCreationSettings", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::CollisionGroup", align 8
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = tail call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %0, float noundef 2.000000e+02)
  %13 = load i8, ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, align 1, !tbaa !5, !range !9, !noundef !10
  %14 = trunc nuw i8 %13 to i1
  %15 = tail call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  br i1 %14, label %16, label %19

16:                                               ; preds = %1
  %17 = load float, ptr @_ZN20SixDOFConstraintTest9sLimitMinE, align 16, !tbaa !11
  %18 = load float, ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, align 16, !tbaa !11
  tail call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %15, i32 noundef 0, float noundef %17, float noundef %18)
  br label %20

19:                                               ; preds = %1
  tail call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %15, i32 noundef 0)
  br label %20

20:                                               ; preds = %16, %19
  %21 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, i64 1), align 1, !tbaa !5, !range !9, !noundef !10
  %22 = trunc nuw i8 %21 to i1
  %23 = tail call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  br i1 %22, label %25, label %24

24:                                               ; preds = %20
  tail call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %23, i32 noundef 1)
  br label %28

25:                                               ; preds = %20
  %26 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMinE, i64 4), align 4, !tbaa !11
  %27 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, i64 4), align 4, !tbaa !11
  tail call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %23, i32 noundef 1, float noundef %26, float noundef %27)
  br label %28

28:                                               ; preds = %25, %24
  %29 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, i64 2), align 1, !tbaa !5, !range !9, !noundef !10
  %30 = trunc nuw i8 %29 to i1
  %31 = tail call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  br i1 %30, label %33, label %32

32:                                               ; preds = %28
  tail call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %31, i32 noundef 2)
  br label %36

33:                                               ; preds = %28
  %34 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMinE, i64 8), align 8, !tbaa !11
  %35 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, i64 8), align 8, !tbaa !11
  tail call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %31, i32 noundef 2, float noundef %34, float noundef %35)
  br label %36

36:                                               ; preds = %33, %32
  %37 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, i64 3), align 1, !tbaa !5, !range !9, !noundef !10
  %38 = trunc nuw i8 %37 to i1
  %39 = tail call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  br i1 %38, label %41, label %40

40:                                               ; preds = %36
  tail call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %39, i32 noundef 3)
  br label %44

41:                                               ; preds = %36
  %42 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMinE, i64 12), align 4, !tbaa !11
  %43 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, i64 12), align 4, !tbaa !11
  tail call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %39, i32 noundef 3, float noundef %42, float noundef %43)
  br label %44

44:                                               ; preds = %41, %40
  %45 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, i64 4), align 1, !tbaa !5, !range !9, !noundef !10
  %46 = trunc nuw i8 %45 to i1
  %47 = tail call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  br i1 %46, label %49, label %48

48:                                               ; preds = %44
  tail call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %47, i32 noundef 4)
  br label %52

49:                                               ; preds = %44
  %50 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMinE, i64 16), align 16, !tbaa !11
  %51 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, i64 16), align 16, !tbaa !11
  tail call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %47, i32 noundef 4, float noundef %50, float noundef %51)
  br label %52

52:                                               ; preds = %49, %48
  %53 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest13sEnableLimitsE, i64 5), align 1, !tbaa !5, !range !9, !noundef !10
  %54 = trunc nuw i8 %53 to i1
  %55 = tail call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  br i1 %54, label %57, label %56

56:                                               ; preds = %52
  tail call void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432) %55, i32 noundef 5)
  br label %60

57:                                               ; preds = %52
  %58 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMinE, i64 20), align 4, !tbaa !11
  %59 = load float, ptr getelementptr inbounds (i8, ptr @_ZN20SixDOFConstraintTest9sLimitMaxE, i64 20), align 4, !tbaa !11
  tail call void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432) %55, i32 noundef 5, float noundef %58, float noundef %59)
  br label %60

60:                                               ; preds = %57, %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  %61 = tail call noundef ptr @_ZN3JPH16GroupFilterTablenwEm(i64 noundef 40)
  invoke void @_ZN3JPH16GroupFilterTableC2Ej(ptr noundef nonnull align 8 dereferenceable(40) %61, i32 noundef 0)
          to label %62 unwind label %127

62:                                               ; preds = %60
  call void @_ZN3JPH3RefINS_16GroupFilterTableEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %61)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %3, float noundef 0.000000e+00, float noundef 2.500000e+01, float noundef 0.000000e+00)
          to label %63 unwind label %129

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %64 = invoke noundef ptr @_ZN3JPH8BoxShapenwEm(i64 noundef 80)
          to label %65 unwind label %131

65:                                               ; preds = %63
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef 5.000000e-01, float noundef 1.500000e+00, float noundef 2.500000e-01)
          to label %66 unwind label %133

66:                                               ; preds = %65
  %67 = load double, ptr %5, align 16
  %68 = getelementptr inbounds i8, ptr %5, i64 8
  %69 = load double, ptr %68, align 8
  invoke void @_ZN3JPH8BoxShapeC2ENS_4Vec3EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 16 dereferenceable(80) %64, double %67, double %69, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %70 unwind label %133

70:                                               ; preds = %66
  invoke void @_ZN3JPH8RefConstINS_8BoxShapeEEC2EPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %64)
          to label %71 unwind label %131

71:                                               ; preds = %70
  %72 = getelementptr inbounds i8, ptr %0, i64 24
  %73 = load ptr, ptr %72, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #10
  %74 = call noundef ptr @_ZNK3JPH8RefConstINS_8BoxShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %.sroa.012.0.copyload = load double, ptr %3, align 16
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !21
  %75 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %76 unwind label %135

76:                                               ; preds = %71
  %77 = extractvalue { double, double } %75, 0
  %78 = extractvalue { double, double } %75, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %6, ptr noundef %74, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload, double %77, double %78, i8 noundef zeroext 0, i16 noundef zeroext 0)
          to label %79 unwind label %135

79:                                               ; preds = %76
  %80 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 16 dereferenceable(256) %6)
          to label %81 unwind label %137

81:                                               ; preds = %79
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %6) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #10
  %82 = call noundef ptr @_ZNK3JPH3RefINS_16GroupFilterTableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH14CollisionGroupC2EPKNS_11GroupFilterEjj(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %82, i32 noundef 0, i32 noundef 0)
          to label %83 unwind label %140

83:                                               ; preds = %81
  invoke void @_ZN3JPH4Body17SetCollisionGroupERKNS_14CollisionGroupE(ptr noundef nonnull align 16 dereferenceable(122) %80, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %84 unwind label %142

84:                                               ; preds = %83
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  %85 = load ptr, ptr %72, align 8, !tbaa !13
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %80)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 4 dereferenceable(4) %86, i32 noundef 1)
          to label %87 unwind label %145

87:                                               ; preds = %84
  %88 = load ptr, ptr %72, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %8) #10
  %89 = call noundef ptr @_ZNK3JPH8RefConstINS_8BoxShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef 0.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
          to label %90 unwind label %147

90:                                               ; preds = %87
  %91 = load double, ptr %9, align 16
  %92 = getelementptr inbounds i8, ptr %9, i64 8
  %93 = load double, ptr %92, align 8
  %94 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %3, double %91, double %93)
          to label %95 unwind label %147

95:                                               ; preds = %90
  %96 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %97 unwind label %147

97:                                               ; preds = %95
  %98 = extractvalue { double, double } %94, 1
  %99 = extractvalue { double, double } %94, 0
  %100 = extractvalue { double, double } %96, 0
  %101 = extractvalue { double, double } %96, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %8, ptr noundef %89, double %99, double %98, double %100, double %101, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %102 unwind label %147

102:                                              ; preds = %97
  %103 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 16 dereferenceable(256) %8)
          to label %104 unwind label %149

104:                                              ; preds = %102
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %8) #10
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #10
  %105 = call noundef ptr @_ZNK3JPH3RefINS_16GroupFilterTableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZN3JPH14CollisionGroupC2EPKNS_11GroupFilterEjj(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %105, i32 noundef 0, i32 noundef 0)
          to label %106 unwind label %152

106:                                              ; preds = %104
  invoke void @_ZN3JPH4Body17SetCollisionGroupERKNS_14CollisionGroupE(ptr noundef nonnull align 16 dereferenceable(122) %103, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %107 unwind label %154

107:                                              ; preds = %106
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #10
  invoke void @_ZN3JPH4Body16SetAllowSleepingEb(ptr noundef nonnull align 16 dereferenceable(122) %103, i1 noundef zeroext false)
          to label %108 unwind label %157

108:                                              ; preds = %107
  %109 = load ptr, ptr %72, align 8, !tbaa !13
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %103)
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 4 dereferenceable(4) %110, i32 noundef 0)
          to label %111 unwind label %157

111:                                              ; preds = %108
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 0.000000e+00, float noundef 1.500000e+00, float noundef 0.000000e+00)
          to label %112 unwind label %159

112:                                              ; preds = %111
  %113 = load double, ptr %11, align 16
  %114 = getelementptr inbounds i8, ptr %11, i64 8
  %115 = load double, ptr %114, align 8
  %116 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %3, double %113, double %115)
          to label %117 unwind label %159

117:                                              ; preds = %112
  %118 = extractvalue { double, double } %116, 0
  %119 = extractvalue { double, double } %116, 1
  %120 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %121 = getelementptr inbounds i8, ptr %120, i64 96
  store double %118, ptr %121, align 16
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %120, i64 104
  store double %119, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !21
  %122 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %123 = getelementptr inbounds i8, ptr %122, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %123, ptr noundef nonnull align 16 dereferenceable(16) %121, i64 16, i1 false), !tbaa.struct !22
  %124 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %125 = getelementptr inbounds i8, ptr %124, i64 256
  %126 = invoke noundef ptr @_ZN3JPH4Body19GetMotionPropertiesEv(ptr noundef nonnull align 16 dereferenceable(122) %103)
          to label %161 unwind label %181

127:                                              ; preds = %60
  %128 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN3JPH16GroupFilterTabledlEPv(ptr noundef %61) #10
  br label %196

129:                                              ; preds = %62
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %195

131:                                              ; preds = %70, %63
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %194

133:                                              ; preds = %66, %65
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8BoxShapedlEPv(ptr noundef %64) #10
  br label %194

135:                                              ; preds = %76, %71
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %139

137:                                              ; preds = %79
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %6) #10
  br label %139

139:                                              ; preds = %137, %135
  %.pn = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #10
  br label %193

140:                                              ; preds = %81
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %144

142:                                              ; preds = %83
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  br label %144

144:                                              ; preds = %142, %140
  %.pn43 = phi { ptr, i32 } [ %143, %142 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  br label %193

145:                                              ; preds = %84
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %193

147:                                              ; preds = %97, %95, %90, %87
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %151

149:                                              ; preds = %102
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %8) #10
  br label %151

151:                                              ; preds = %149, %147
  %.pn45 = phi { ptr, i32 } [ %150, %149 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %8) #10
  br label %193

152:                                              ; preds = %104
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %156

154:                                              ; preds = %106
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH14CollisionGroupD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #10
  br label %156

156:                                              ; preds = %154, %152
  %.pn47 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #10
  br label %193

157:                                              ; preds = %108, %107
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %193

159:                                              ; preds = %112, %111
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %193

161:                                              ; preds = %117
  %162 = invoke noundef float @_ZNK3JPH16MotionProperties14GetInverseMassEv(ptr noundef nonnull align 16 dereferenceable(182) %126)
          to label %163 unwind label %181

163:                                              ; preds = %161
  %164 = fdiv float 1.000000e+00, %162
  call void @_ZN3JPH13MotorSettings13SetForceLimitEf(ptr noundef nonnull align 4 dereferenceable(28) %125, float noundef %164)
  %165 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %166 = getelementptr inbounds i8, ptr %165, i64 284
  %167 = invoke noundef ptr @_ZN3JPH4Body19GetMotionPropertiesEv(ptr noundef nonnull align 16 dereferenceable(122) %103)
          to label %168 unwind label %181

168:                                              ; preds = %163
  %169 = invoke noundef float @_ZNK3JPH16MotionProperties14GetInverseMassEv(ptr noundef nonnull align 16 dereferenceable(182) %167)
          to label %170 unwind label %181

170:                                              ; preds = %168
  %171 = fdiv float 1.000000e+00, %169
  call void @_ZN3JPH13MotorSettings13SetForceLimitEf(ptr noundef nonnull align 4 dereferenceable(28) %166, float noundef %171)
  %172 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %173 = getelementptr inbounds i8, ptr %172, i64 312
  %174 = invoke noundef ptr @_ZN3JPH4Body19GetMotionPropertiesEv(ptr noundef nonnull align 16 dereferenceable(122) %103)
          to label %175 unwind label %181

175:                                              ; preds = %170
  %176 = invoke noundef float @_ZNK3JPH16MotionProperties14GetInverseMassEv(ptr noundef nonnull align 16 dereferenceable(182) %174)
          to label %177 unwind label %181

177:                                              ; preds = %175
  %178 = fdiv float 1.000000e+00, %176
  call void @_ZN3JPH13MotorSettings13SetForceLimitEf(ptr noundef nonnull align 4 dereferenceable(28) %173, float noundef %178)
  %179 = call noundef ptr @_ZNK3JPH3RefINS_24SixDOFConstraintSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZN20SixDOFConstraintTest9sSettingsE)
  %180 = invoke noundef ptr @_ZNK3JPH24SixDOFConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(432) %179, ptr noundef nonnull align 16 dereferenceable(122) %80, ptr noundef nonnull align 16 dereferenceable(122) %103)
          to label %183 unwind label %191

181:                                              ; preds = %175, %170, %168, %163, %161, %117
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %193

183:                                              ; preds = %177
  %184 = getelementptr inbounds i8, ptr %0, i64 128
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_16SixDOFConstraintEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef %180)
          to label %186 unwind label %191

186:                                              ; preds = %183
  %187 = getelementptr inbounds i8, ptr %0, i64 16
  %188 = load ptr, ptr %187, align 16, !tbaa !23
  %189 = call noundef ptr @_ZNK3JPH3RefINS_16SixDOFConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %184)
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %188, ptr noundef %189)
          to label %190 unwind label %191

190:                                              ; preds = %186
  call void @_ZN3JPH8RefConstINS_8BoxShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  call void @_ZN3JPH3RefINS_16GroupFilterTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  ret void

191:                                              ; preds = %186, %183, %177
  %192 = landingpad { ptr, i32 }
          cleanup
  br label %193

193:                                              ; preds = %151, %156, %157, %159, %191, %181, %145, %144, %139
  %.pn49.pn.pn = phi { ptr, i32 } [ %146, %145 ], [ %.pn43, %144 ], [ %.pn, %139 ], [ %160, %159 ], [ %158, %157 ], [ %.pn47, %156 ], [ %.pn45, %151 ], [ %182, %181 ], [ %192, %191 ]
  call void @_ZN3JPH8RefConstINS_8BoxShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  br label %194

194:                                              ; preds = %193, %133, %131
  %.pn49.pn.pn.pn = phi { ptr, i32 } [ %.pn49.pn.pn, %193 ], [ %132, %131 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %195

195:                                              ; preds = %194, %129
  %.pn49.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn49.pn.pn.pn, %194 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  call void @_ZN3JPH3RefINS_16GroupFilterTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  br label %196

196:                                              ; preds = %195, %127
  %.pn49.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn49.pn.pn.pn.pn, %195 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  resume { ptr, i32 } %.pn49.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24SixDOFConstraintSettings14SetLimitedAxisENS0_5EAxisEff(ptr noundef nonnull align 16 dereferenceable(432), i32 noundef, float noundef, float noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24SixDOFConstraintSettings12MakeFreeAxisENS0_5EAxisE(ptr noundef nonnull align 16 dereferenceable(432), i32 noundef) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress 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() local_unnamed_addr #5 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 #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH4Body17SetCollisionGroupERKNS_14CollisionGroupE(ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

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

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

declare void @_ZN3JPH4Body16SetAllowSleepingEb(ptr noundef nonnull align 16 dereferenceable(122), i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH13MotorSettings13SetForceLimitEf(ptr noundef nonnull align 4 dereferenceable(28), float noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH4Body19GetMotionPropertiesEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH16MotionProperties14GetInverseMassEv(ptr noundef nonnull align 16 dereferenceable(182)) local_unnamed_addr #7 align 2

declare noundef ptr @_ZNK3JPH24SixDOFConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(432), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH3RefINS_16GroupFilterTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 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 = { 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 #4 = { 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 #5 = { 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 #6 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { mustprogress 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !15, i64 24}
!14 = !{!"_ZTS4Test", !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !6, i64 48, !16, i64 56}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !17, i64 0}
!17 = !{!"_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, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !15, i64 48}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !15, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !12, i64 0, !18, i64 8}
!21 = !{!7, !7, i64 0}
!22 = !{i64 0, i64 16, !21}
!23 = !{!14, !15, i64 16}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass