; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Constraints (PathConstraint)

; 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::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::PathConstraint" = type { %"class.JPH::TwoBodyConstraint", %"class.JPH::RefConst", %"class.JPH::Mat44", %"class.JPH::Mat44", i32, float, %"class.JPH::MotorSettings", i32, float, float, %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Quat", float, [12 x i8], %"class.JPH::DualAxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::HingeRotationConstraintPart", %"class.JPH::RotationEulerConstraintPart" }
%"class.JPH::TwoBodyConstraint" = type { %"class.JPH::Constraint", ptr, ptr }
%"class.JPH::Constraint" = type { ptr, %"class.JPH::RefTarget.7", i32, i32, i8, i8, i8, i64 }
%"class.JPH::RefTarget.7" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.2 }
%union.anon.2 = type { <4 x float> }
%"class.JPH::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }
%"class.JPH::SpringSettings" = type { i8, %union.anon.3, float }
%union.anon.3 = type { float }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::DualAxisConstraintPart" = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Matrix", %"class.JPH::Vector", [8 x i8] }>
%"class.JPH::Matrix" = type { [2 x %"class.JPH::Vector"] }
%"class.JPH::Vector" = type { [2 x float] }
%"class.JPH::AxisConstraintPart" = type { %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float3", float, %"class.JPH::SpringPart", float }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::SpringPart" = type { float, float }
%"class.JPH::HingeRotationConstraintPart" = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Matrix", %"class.JPH::Vector", [8 x i8] }>
%"class.JPH::RotationEulerConstraintPart" = type { %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3" }

@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [96 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3JPH14PathConstraint23SolveVelocityConstraintEf(ptr noundef nonnull align 16 dereferenceable(1104) %0, float noundef %1) unnamed_addr #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca i8, align 1
  %6 = alloca float, align 4
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca i8, align 1
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca i8, align 1
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"struct.JPH::AssertLastParam", align 1
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  %17 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  store i8 0, ptr %5, align 1, !tbaa !11
  %18 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 21
  %19 = call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %18)
  br i1 %19, label %20, label %67

20:                                               ; preds = %2
  %21 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 7
  %22 = load i32, ptr %21, align 4, !tbaa !13
  switch i32 %22, label %66 [
    i32 0, label %23
    i32 1, label %43
    i32 2, label %43
  ]

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %24 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 5
  %25 = load float, ptr %24, align 4, !tbaa !40
  %26 = load float, ptr %4, align 4, !tbaa !9
  %27 = fmul float %25, %26
  store float %27, ptr %6, align 4, !tbaa !9
  %28 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 21
  %29 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %30 = load ptr, ptr %29, align 16, !tbaa !41
  %31 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !42
  %33 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !43
  %34 = load float, ptr %6, align 4, !tbaa !9
  %35 = fneg float %34
  %36 = load float, ptr %6, align 4, !tbaa !9
  %37 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %38 = load double, ptr %37, align 16
  %39 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %40 = load double, ptr %39, align 8
  %41 = call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %28, ptr noundef nonnull align 16 dereferenceable(122) %30, ptr noundef nonnull align 16 dereferenceable(122) %32, double %38, double %40, float noundef %35, float noundef %36)
  %42 = zext i1 %41 to i8
  store i8 %42, ptr %5, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %66

43:                                               ; preds = %20, %20
  %44 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 21
  %45 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %46 = load ptr, ptr %45, align 16, !tbaa !41
  %47 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %48 = load ptr, ptr %47, align 8, !tbaa !42
  %49 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 %49, i64 16, i1 false), !tbaa.struct !43
  %50 = load float, ptr %4, align 4, !tbaa !9
  %51 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 6
  %52 = getelementptr inbounds %"class.JPH::MotorSettings", ptr %51, i32 0, i32 1
  %53 = load float, ptr %52, align 4, !tbaa !45
  %54 = fmul float %50, %53
  %55 = load float, ptr %4, align 4, !tbaa !9
  %56 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 6
  %57 = getelementptr inbounds %"class.JPH::MotorSettings", ptr %56, i32 0, i32 2
  %58 = load float, ptr %57, align 8, !tbaa !46
  %59 = fmul float %55, %58
  %60 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  %61 = load double, ptr %60, align 16
  %62 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  %63 = load double, ptr %62, align 8
  %64 = call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %44, ptr noundef nonnull align 16 dereferenceable(122) %46, ptr noundef nonnull align 16 dereferenceable(122) %48, double %61, double %63, float noundef %54, float noundef %59)
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %5, align 1, !tbaa !11
  br label %66

66:                                               ; preds = %43, %23, %20
  br label %67

67:                                               ; preds = %66, %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  %68 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 19
  %69 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %70 = load ptr, ptr %69, align 16, !tbaa !41
  %71 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %72 = load ptr, ptr %71, align 8, !tbaa !42
  %73 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %73, i64 16, i1 false), !tbaa.struct !43
  %74 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 %74, i64 16, i1 false), !tbaa.struct !43
  %75 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %76 = load double, ptr %75, align 16
  %77 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %78 = load double, ptr %77, align 8
  %79 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %80 = load double, ptr %79, align 16
  %81 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %82 = load double, ptr %81, align 8
  %83 = call noundef zeroext i1 @_ZN3JPH22DualAxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3ES3_(ptr noundef nonnull align 16 dereferenceable(152) %68, ptr noundef nonnull align 16 dereferenceable(122) %70, ptr noundef nonnull align 16 dereferenceable(122) %72, double %76, double %78, double %80, double %82)
  %84 = zext i1 %83 to i8
  store i8 %84, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !11
  %85 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 20
  %86 = call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %85)
  br i1 %86, label %87, label %134

87:                                               ; preds = %67
  %88 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 17
  %89 = load float, ptr %88, align 16, !tbaa !47
  %90 = fcmp ole float %89, 0.000000e+00
  br i1 %90, label %91, label %104

91:                                               ; preds = %87
  %92 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 20
  %93 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %94 = load ptr, ptr %93, align 16, !tbaa !41
  %95 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %96 = load ptr, ptr %95, align 8, !tbaa !42
  %97 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %97, i64 16, i1 false), !tbaa.struct !43
  %98 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %99 = load double, ptr %98, align 16
  %100 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %101 = load double, ptr %100, align 8
  %102 = call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %92, ptr noundef nonnull align 16 dereferenceable(122) %94, ptr noundef nonnull align 16 dereferenceable(122) %96, double %99, double %101, float noundef 0.000000e+00, float noundef 0x47EFFFFFE0000000)
  %103 = zext i1 %102 to i8
  store i8 %103, ptr %12, align 1, !tbaa !11
  br label %133

104:                                              ; preds = %87
  br label %105

105:                                              ; preds = %104
  %106 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 17
  %107 = load float, ptr %106, align 16, !tbaa !47
  %108 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 1
  %109 = call noundef ptr @_ZNK3JPH8RefConstINS_18PathConstraintPathEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %108)
  %110 = load ptr, ptr %109, align 8, !tbaa !48
  %111 = getelementptr inbounds ptr, ptr %110, i64 4
  %112 = load ptr, ptr %111, align 8
  %113 = call noundef float %112(ptr noundef nonnull align 8 dereferenceable(13) %109)
  %114 = fcmp oge float %107, %113
  br i1 %114, label %118, label %115

115:                                              ; preds = %105
  %116 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 296)
  br i1 %116, label %117, label %118

117:                                              ; preds = %115
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !50
  br label %118

118:                                              ; preds = %117, %115, %105
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  %121 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 20
  %122 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %123 = load ptr, ptr %122, align 16, !tbaa !41
  %124 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %125 = load ptr, ptr %124, align 8, !tbaa !42
  %126 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 %126, i64 16, i1 false), !tbaa.struct !43
  %127 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %128 = load double, ptr %127, align 16
  %129 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %130 = load double, ptr %129, align 8
  %131 = call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %121, ptr noundef nonnull align 16 dereferenceable(122) %123, ptr noundef nonnull align 16 dereferenceable(122) %125, double %128, double %130, float noundef 0xC7EFFFFFE0000000, float noundef 0.000000e+00)
  %132 = zext i1 %131 to i8
  store i8 %132, ptr %12, align 1, !tbaa !11
  br label %133

133:                                              ; preds = %120, %91
  br label %134

134:                                              ; preds = %133, %67
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  store i8 0, ptr %16, align 1, !tbaa !11
  %135 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 4
  %136 = load i32, ptr %135, align 16, !tbaa !51
  switch i32 %136, label %153 [
    i32 0, label %153
    i32 1, label %137
    i32 2, label %137
    i32 3, label %137
    i32 4, label %145
    i32 5, label %145
  ]

137:                                              ; preds = %134, %134, %134
  %138 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 22
  %139 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %140 = load ptr, ptr %139, align 16, !tbaa !41
  %141 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %142 = load ptr, ptr %141, align 8, !tbaa !42
  %143 = call noundef zeroext i1 @_ZN3JPH27HingeRotationConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(232) %138, ptr noundef nonnull align 16 dereferenceable(122) %140, ptr noundef nonnull align 16 dereferenceable(122) %142)
  %144 = zext i1 %143 to i8
  store i8 %144, ptr %16, align 1, !tbaa !11
  br label %153

145:                                              ; preds = %134, %134
  %146 = getelementptr inbounds %"class.JPH::PathConstraint", ptr %17, i32 0, i32 23
  %147 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 1
  %148 = load ptr, ptr %147, align 16, !tbaa !41
  %149 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %17, i32 0, i32 2
  %150 = load ptr, ptr %149, align 8, !tbaa !42
  %151 = call noundef zeroext i1 @_ZN3JPH27RotationEulerConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208) %146, ptr noundef nonnull align 16 dereferenceable(122) %148, ptr noundef nonnull align 16 dereferenceable(122) %150)
  %152 = zext i1 %151 to i8
  store i8 %152, ptr %16, align 1, !tbaa !11
  br label %153

153:                                              ; preds = %145, %137, %134, %134
  %154 = load i8, ptr %5, align 1, !tbaa !11, !range !52, !noundef !53
  %155 = trunc i8 %154 to i1
  br i1 %155, label %165, label %156

156:                                              ; preds = %153
  %157 = load i8, ptr %9, align 1, !tbaa !11, !range !52, !noundef !53
  %158 = trunc i8 %157 to i1
  br i1 %158, label %165, label %159

159:                                              ; preds = %156
  %160 = load i8, ptr %12, align 1, !tbaa !11, !range !52, !noundef !53
  %161 = trunc i8 %160 to i1
  br i1 %161, label %165, label %162

162:                                              ; preds = %159
  %163 = load i8, ptr %16, align 1, !tbaa !11, !range !52, !noundef !53
  %164 = trunc i8 %163 to i1
  br label %165

165:                                              ; preds = %162, %159, %156, %153
  %166 = phi i1 [ true, %159 ], [ true, %156 ], [ true, %153 ], [ %164, %162 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  ret i1 %166
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), double, double, float noundef, float noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH22DualAxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3ES3_(ptr noundef nonnull align 16 dereferenceable(152), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), double, double, double, double) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH27HingeRotationConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(232), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH27RotationEulerConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !28, i64 228}
!14 = !{!"_ZTSN3JPH14PathConstraintE", !15, i64 0, !22, i64 48, !23, i64 64, !23, i64 128, !24, i64 192, !10, i64 196, !25, i64 200, !28, i64 228, !10, i64 232, !10, i64 236, !29, i64 240, !29, i64 256, !29, i64 272, !29, i64 288, !29, i64 304, !29, i64 320, !30, i64 336, !10, i64 352, !32, i64 368, !35, i64 528, !35, i64 592, !38, i64 656, !39, i64 896}
!15 = !{!"_ZTSN3JPH17TwoBodyConstraintE", !16, i64 0, !6, i64 32, !6, i64 40}
!16 = !{!"_ZTSN3JPH10ConstraintE", !17, i64 8, !20, i64 12, !20, i64 16, !7, i64 20, !7, i64 21, !12, i64 22, !21, i64 24}
!17 = !{!"_ZTSN3JPH9RefTargetINS_10ConstraintEEE", !18, i64 0}
!18 = !{!"_ZTSSt6atomicIjE", !19, i64 0}
!19 = !{!"_ZTSSt13__atomic_baseIjE", !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN3JPH8RefConstINS_18PathConstraintPathEEE", !6, i64 0}
!23 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!24 = !{!"_ZTSN3JPH27EPathRotationConstraintTypeE", !7, i64 0}
!25 = !{!"_ZTSN3JPH13MotorSettingsE", !26, i64 0, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!26 = !{!"_ZTSN3JPH14SpringSettingsE", !27, i64 0, !7, i64 4, !10, i64 8}
!27 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!28 = !{!"_ZTSN3JPH11EMotorStateE", !7, i64 0}
!29 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!30 = !{!"_ZTSN3JPH4QuatE", !31, i64 0}
!31 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!32 = !{!"_ZTSN3JPH22DualAxisConstraintPartE", !29, i64 0, !29, i64 16, !29, i64 32, !29, i64 48, !29, i64 64, !29, i64 80, !29, i64 96, !29, i64 112, !33, i64 128, !34, i64 144}
!33 = !{!"_ZTSN3JPH6MatrixILj2ELj2EEE", !7, i64 0}
!34 = !{!"_ZTSN3JPH6VectorILj2EEE", !7, i64 0}
!35 = !{!"_ZTSN3JPH18AxisConstraintPartE", !36, i64 0, !36, i64 12, !36, i64 24, !36, i64 36, !10, i64 48, !37, i64 52, !10, i64 60}
!36 = !{!"_ZTSN3JPH6Float3E", !10, i64 0, !10, i64 4, !10, i64 8}
!37 = !{!"_ZTSN3JPH10SpringPartE", !10, i64 0, !10, i64 4}
!38 = !{!"_ZTSN3JPH27HingeRotationConstraintPartE", !29, i64 0, !29, i64 16, !29, i64 32, !23, i64 48, !23, i64 112, !29, i64 176, !29, i64 192, !33, i64 208, !34, i64 224}
!39 = !{!"_ZTSN3JPH27RotationEulerConstraintPartE", !23, i64 0, !23, i64 64, !23, i64 128, !29, i64 192}
!40 = !{!14, !10, i64 196}
!41 = !{!15, !6, i64 32}
!42 = !{!15, !6, i64 40}
!43 = !{i64 0, i64 16, !44}
!44 = !{!7, !7, i64 0}
!45 = !{!14, !10, i64 212}
!46 = !{!14, !10, i64 216}
!47 = !{!14, !10, i64 352}
!48 = !{!49, !49, i64 0}
!49 = !{!"vtable pointer", !8, i64 0}
!50 = !{i64 2158374545}
!51 = !{!14, !24, i64 192}
!52 = !{i8 0, i8 2}
!53 = !{}


; 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"

@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [96 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3JPH14PathConstraint23SolveVelocityConstraintEf(ptr noundef nonnull align 16 dereferenceable(1104) %0, float noundef %1) unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 592
  %4 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %3)
  br i1 %4, label %5, label %32

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 228
  %7 = load i32, ptr %6, align 4, !tbaa !5
  switch i32 %7, label %32 [
    i32 0, label %8
    i32 1, label %19
    i32 2, label %19
  ]

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 196
  %10 = load float, ptr %9, align 4, !tbaa !37
  %11 = fmul float %10, %1
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = load ptr, ptr %12, align 16, !tbaa !38
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = load ptr, ptr %14, align 8, !tbaa !39
  %16 = getelementptr inbounds i8, ptr %0, i64 288
  %.sroa.011.0.copyload = load double, ptr %16, align 16
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 296
  %.sroa.212.0.copyload = load double, ptr %.sroa.212.0..sroa_idx, align 8, !tbaa !40
  %17 = fneg float %11
  %18 = tail call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 16 dereferenceable(122) %13, ptr noundef nonnull align 16 dereferenceable(122) %15, double %.sroa.011.0.copyload, double %.sroa.212.0.copyload, float noundef %17, float noundef %11)
  br label %32

19:                                               ; preds = %5, %5
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  %21 = load ptr, ptr %20, align 16, !tbaa !38
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  %23 = load ptr, ptr %22, align 8, !tbaa !39
  %24 = getelementptr inbounds i8, ptr %0, i64 288
  %.sroa.09.0.copyload = load double, ptr %24, align 16
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 296
  %.sroa.210.0.copyload = load double, ptr %.sroa.210.0..sroa_idx, align 8, !tbaa !40
  %25 = getelementptr inbounds i8, ptr %0, i64 212
  %26 = load float, ptr %25, align 4, !tbaa !41
  %27 = fmul float %26, %1
  %28 = getelementptr inbounds i8, ptr %0, i64 216
  %29 = load float, ptr %28, align 8, !tbaa !42
  %30 = fmul float %29, %1
  %31 = tail call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 16 dereferenceable(122) %21, ptr noundef nonnull align 16 dereferenceable(122) %23, double %.sroa.09.0.copyload, double %.sroa.210.0.copyload, float noundef %27, float noundef %30)
  br label %32

32:                                               ; preds = %5, %8, %19, %2
  %.019.shrunk = phi i1 [ false, %5 ], [ %31, %19 ], [ %18, %8 ], [ false, %2 ]
  %33 = getelementptr inbounds i8, ptr %0, i64 368
  %34 = getelementptr inbounds i8, ptr %0, i64 32
  %35 = load ptr, ptr %34, align 16, !tbaa !38
  %36 = getelementptr inbounds i8, ptr %0, i64 40
  %37 = load ptr, ptr %36, align 8, !tbaa !39
  %38 = getelementptr inbounds i8, ptr %0, i64 304
  %.sroa.06.0.copyload = load double, ptr %38, align 16
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 312
  %.sroa.27.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !40
  %39 = getelementptr inbounds i8, ptr %0, i64 320
  %.sroa.04.0.copyload = load double, ptr %39, align 16
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 328
  %.sroa.25.0.copyload = load double, ptr %.sroa.25.0..sroa_idx, align 8, !tbaa !40
  %40 = tail call noundef zeroext i1 @_ZN3JPH22DualAxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3ES3_(ptr noundef nonnull align 16 dereferenceable(152) %33, ptr noundef nonnull align 16 dereferenceable(122) %35, ptr noundef nonnull align 16 dereferenceable(122) %37, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload)
  %41 = getelementptr inbounds i8, ptr %0, i64 528
  %42 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %41)
  br i1 %42, label %43, label %68

43:                                               ; preds = %32
  %44 = getelementptr inbounds i8, ptr %0, i64 352
  %45 = load float, ptr %44, align 16, !tbaa !43
  %46 = fcmp ugt float %45, 0.000000e+00
  br i1 %46, label %52, label %47

47:                                               ; preds = %43
  %48 = load ptr, ptr %34, align 16, !tbaa !38
  %49 = load ptr, ptr %36, align 8, !tbaa !39
  %50 = getelementptr inbounds i8, ptr %0, i64 288
  %.sroa.01.0.copyload = load double, ptr %50, align 16
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 296
  %.sroa.22.0.copyload = load double, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !40
  %51 = tail call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %41, ptr noundef nonnull align 16 dereferenceable(122) %48, ptr noundef nonnull align 16 dereferenceable(122) %49, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload, float noundef 0.000000e+00, float noundef 0x47EFFFFFE0000000)
  br label %68

52:                                               ; preds = %43
  %53 = getelementptr inbounds i8, ptr %0, i64 48
  %54 = tail call noundef ptr @_ZNK3JPH8RefConstINS_18PathConstraintPathEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
  %55 = load ptr, ptr %54, align 8, !tbaa !44
  %56 = getelementptr inbounds i8, ptr %55, i64 32
  %57 = load ptr, ptr %56, align 8
  %58 = tail call noundef float %57(ptr noundef nonnull align 8 dereferenceable(13) %54)
  %59 = fcmp ult float %45, %58
  br i1 %59, label %60, label %63

60:                                               ; preds = %52
  %61 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 296)
  br i1 %61, label %62, label %63

62:                                               ; preds = %60
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #4, !srcloc !46
  br label %63

63:                                               ; preds = %62, %60, %52
  %64 = load ptr, ptr %34, align 16, !tbaa !38
  %65 = load ptr, ptr %36, align 8, !tbaa !39
  %66 = getelementptr inbounds i8, ptr %0, i64 288
  %.sroa.0.0.copyload = load double, ptr %66, align 16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 296
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !40
  %67 = tail call noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %41, ptr noundef nonnull align 16 dereferenceable(122) %64, ptr noundef nonnull align 16 dereferenceable(122) %65, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload, float noundef 0xC7EFFFFFE0000000, float noundef 0.000000e+00)
  br label %68

68:                                               ; preds = %47, %63, %32
  %.020.shrunk = phi i1 [ %51, %47 ], [ %67, %63 ], [ false, %32 ]
  %69 = getelementptr inbounds i8, ptr %0, i64 192
  %70 = load i32, ptr %69, align 16, !tbaa !47
  switch i32 %70, label %81 [
    i32 5, label %76
    i32 1, label %71
    i32 2, label %71
    i32 3, label %71
    i32 4, label %76
  ]

71:                                               ; preds = %68, %68, %68
  %72 = getelementptr inbounds i8, ptr %0, i64 656
  %73 = load ptr, ptr %34, align 16, !tbaa !38
  %74 = load ptr, ptr %36, align 8, !tbaa !39
  %75 = tail call noundef zeroext i1 @_ZN3JPH27HingeRotationConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(232) %72, ptr noundef nonnull align 16 dereferenceable(122) %73, ptr noundef nonnull align 16 dereferenceable(122) %74)
  br label %81

76:                                               ; preds = %68, %68
  %77 = getelementptr inbounds i8, ptr %0, i64 896
  %78 = load ptr, ptr %34, align 16, !tbaa !38
  %79 = load ptr, ptr %36, align 8, !tbaa !39
  %80 = tail call noundef zeroext i1 @_ZN3JPH27RotationEulerConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208) %77, ptr noundef nonnull align 16 dereferenceable(122) %78, ptr noundef nonnull align 16 dereferenceable(122) %79)
  br label %81

81:                                               ; preds = %76, %71, %68
  %.0.shrunk = phi i1 [ false, %68 ], [ %75, %71 ], [ %80, %76 ]
  %brmerge = or i1 %.019.shrunk, %40
  br i1 %brmerge, label %83, label %82

82:                                               ; preds = %81
  %spec.select = or i1 %.020.shrunk, %.0.shrunk
  br label %83

83:                                               ; preds = %82, %81
  %84 = phi i1 [ true, %81 ], [ %spec.select, %82 ]
  ret i1 %84
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH18AxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), double, double, float noundef, float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH22DualAxisConstraintPart23SolveVelocityConstraintERNS_4BodyES2_NS_4Vec3ES3_(ptr noundef nonnull align 16 dereferenceable(152), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), double, double, double, double) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH27HingeRotationConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(232), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH27RotationEulerConstraintPart23SolveVelocityConstraintERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(208), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #2 align 2

attributes #0 = { 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 #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 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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, !25, i64 228}
!6 = !{!"_ZTSN3JPH14PathConstraintE", !7, i64 0, !18, i64 48, !19, i64 64, !19, i64 128, !20, i64 192, !21, i64 196, !22, i64 200, !25, i64 228, !21, i64 232, !21, i64 236, !26, i64 240, !26, i64 256, !26, i64 272, !26, i64 288, !26, i64 304, !26, i64 320, !27, i64 336, !21, i64 352, !29, i64 368, !32, i64 528, !32, i64 592, !35, i64 656, !36, i64 896}
!7 = !{!"_ZTSN3JPH17TwoBodyConstraintE", !8, i64 0, !17, i64 32, !17, i64 40}
!8 = !{!"_ZTSN3JPH10ConstraintE", !9, i64 8, !12, i64 12, !12, i64 16, !13, i64 20, !13, i64 21, !15, i64 22, !16, i64 24}
!9 = !{!"_ZTSN3JPH9RefTargetINS_10ConstraintEEE", !10, i64 0}
!10 = !{!"_ZTSSt6atomicIjE", !11, i64 0}
!11 = !{!"_ZTSSt13__atomic_baseIjE", !12, i64 0}
!12 = !{!"int", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"bool", !13, i64 0}
!16 = !{!"long", !13, i64 0}
!17 = !{!"any pointer", !13, i64 0}
!18 = !{!"_ZTSN3JPH8RefConstINS_18PathConstraintPathEEE", !17, i64 0}
!19 = !{!"_ZTSN3JPH5Mat44E", !13, i64 0}
!20 = !{!"_ZTSN3JPH27EPathRotationConstraintTypeE", !13, i64 0}
!21 = !{!"float", !13, i64 0}
!22 = !{!"_ZTSN3JPH13MotorSettingsE", !23, i64 0, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24}
!23 = !{!"_ZTSN3JPH14SpringSettingsE", !24, i64 0, !13, i64 4, !21, i64 8}
!24 = !{!"_ZTSN3JPH11ESpringModeE", !13, i64 0}
!25 = !{!"_ZTSN3JPH11EMotorStateE", !13, i64 0}
!26 = !{!"_ZTSN3JPH4Vec3E", !13, i64 0}
!27 = !{!"_ZTSN3JPH4QuatE", !28, i64 0}
!28 = !{!"_ZTSN3JPH4Vec4E", !13, i64 0}
!29 = !{!"_ZTSN3JPH22DualAxisConstraintPartE", !26, i64 0, !26, i64 16, !26, i64 32, !26, i64 48, !26, i64 64, !26, i64 80, !26, i64 96, !26, i64 112, !30, i64 128, !31, i64 144}
!30 = !{!"_ZTSN3JPH6MatrixILj2ELj2EEE", !13, i64 0}
!31 = !{!"_ZTSN3JPH6VectorILj2EEE", !13, i64 0}
!32 = !{!"_ZTSN3JPH18AxisConstraintPartE", !33, i64 0, !33, i64 12, !33, i64 24, !33, i64 36, !21, i64 48, !34, i64 52, !21, i64 60}
!33 = !{!"_ZTSN3JPH6Float3E", !21, i64 0, !21, i64 4, !21, i64 8}
!34 = !{!"_ZTSN3JPH10SpringPartE", !21, i64 0, !21, i64 4}
!35 = !{!"_ZTSN3JPH27HingeRotationConstraintPartE", !26, i64 0, !26, i64 16, !26, i64 32, !19, i64 48, !19, i64 112, !26, i64 176, !26, i64 192, !30, i64 208, !31, i64 224}
!36 = !{!"_ZTSN3JPH27RotationEulerConstraintPartE", !19, i64 0, !19, i64 64, !19, i64 128, !26, i64 192}
!37 = !{!6, !21, i64 196}
!38 = !{!7, !17, i64 32}
!39 = !{!7, !17, i64 40}
!40 = !{!13, !13, i64 0}
!41 = !{!6, !21, i64 212}
!42 = !{!6, !21, i64 216}
!43 = !{!6, !21, i64 352}
!44 = !{!45, !45, i64 0}
!45 = !{!"vtable pointer", !14, i64 0}
!46 = !{i64 2158374545}
!47 = !{!6, !20, i64 192}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass