; LLVM IR from jrouwe/JoltPhysics :: Samples/Utils/RagdollLoader.ll (ZN13RagdollLoader7sCreateEv)

; 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" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.JPH::Ref.0" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.2 }
%union.anon.2 = type { <4 x float> }
%"class.JPH::RagdollSettings" = type { %"class.JPH::RefTarget.3", %"class.JPH::Ref", %"class.JPH::Array.4", %"class.JPH::Array.7", %"class.JPH::Array.10", %"class.JPH::Array.13" }
%"class.JPH::RefTarget.3" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Array.4" = type { i64, i64, ptr }
%"class.JPH::Array.7" = type { i64, i64, ptr }
%"class.JPH::Array.10" = type { i64, i64, ptr }
%"class.JPH::Array.13" = type { i64, i64, ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.17", %"class.JPH::RefConst.18" }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.16", i32, i32 }
%"class.JPH::RefConst.16" = 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.18" = type { ptr }
%"class.JPH::ConstraintSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.20", i8, i32, i32, i32, float, i64 }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.20" = type { %"struct.std::atomic" }
%"class.JPH::SwingTwistConstraintSettings" = type { %"class.JPH::TwoBodyConstraintSettings", i32, %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", i8, float, float, float, float, float, %"class.JPH::MotorSettings", %"class.JPH::MotorSettings" }
%"class.JPH::TwoBodyConstraintSettings" = type { %"class.JPH::ConstraintSettings" }
%"class.JPH::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }
%"class.JPH::SpringSettings" = type { i8, %union.anon.21, float }
%union.anon.21 = type { float }
%"class.JPH::RagdollSettings::Part" = type <{ %"class.JPH::BodyCreationSettings", %"class.JPH::Ref.19", [8 x i8] }>
%"class.JPH::Ref.19" = type { ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@__const._ZN13RagdollLoader7sCreateEv.twist_angle = external hidden unnamed_addr constant [12 x float], align 16
@__const._ZN13RagdollLoader7sCreateEv.normal_angle = external hidden unnamed_addr constant [12 x float], align 16
@__const._ZN13RagdollLoader7sCreateEv.plane_angle = external hidden unnamed_addr constant [12 x float], align 16

; 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 noundef ptr @_ZN13RagdollLoader7sCreateEv() #1 align 2 personality ptr @__gxx_personality_v0 {
  %1 = alloca ptr, align 8
  %2 = alloca %"class.JPH::Ref", align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"class.std::basic_string_view", align 8
  %18 = alloca %"class.std::basic_string_view", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::basic_string_view", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::basic_string_view", align 8
  %23 = alloca %"class.std::basic_string_view", align 8
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca [12 x %"class.JPH::Ref.0"], align 16
  %26 = alloca ptr, align 8
  %27 = alloca [12 x %"class.JPH::Vec3"], align 16
  %28 = alloca [12 x %"class.JPH::Quat"], align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca [12 x %"class.JPH::Vec3"], align 16
  %37 = alloca [12 x %"class.JPH::Vec3"], align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca [12 x float], align 16
  %45 = alloca [12 x float], align 16
  %46 = alloca [12 x float], align 16
  %47 = alloca ptr, align 8
  %48 = alloca i32, align 4
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca %"class.JPH::Vec3", align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  %52 = call noundef ptr @_ZN3JPH8SkeletonnwEm(i64 noundef 32)
  call void @_ZN3JPH8SkeletonC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  call void @_ZN3JPH3RefINS_8SkeletonEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %52)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  %53 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %54 unwind label %605

54:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef @.str) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  %55 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEES6_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %56 unwind label %609

56:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #10
  store i32 %55, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %57 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %58 unwind label %613

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef @.str.1) #10
  %59 = load i32, ptr %3, align 4, !tbaa !5
  %60 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef %59)
          to label %61 unwind label %617

61:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  store i32 %60, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %62 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %63 unwind label %621

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.2) #10
  %64 = load i32, ptr %8, align 4, !tbaa !5
  %65 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %64)
          to label %66 unwind label %625

66:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  store i32 %65, ptr %10, align 4, !tbaa !5
  %67 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %68 unwind label %621

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.3) #10
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %69)
          to label %71 unwind label %629

71:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  %72 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %73 unwind label %633

73:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.4) #10
  %74 = load i32, ptr %10, align 4, !tbaa !5
  %75 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(16) %14, i32 noundef %74)
          to label %76 unwind label %637

76:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  store i32 %75, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %77 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %78 unwind label %641

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.5) #10
  %79 = load i32, ptr %10, align 4, !tbaa !5
  %80 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef %79)
          to label %81 unwind label %645

81:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #10
  store i32 %80, ptr %15, align 4, !tbaa !5
  %82 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %83 unwind label %641

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef @.str.6) #10
  %84 = load i32, ptr %13, align 4, !tbaa !5
  %85 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef %84)
          to label %86 unwind label %649

86:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  %87 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %88 unwind label %641

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.7) #10
  %89 = load i32, ptr %15, align 4, !tbaa !5
  %90 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef %89)
          to label %91 unwind label %653

91:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %92 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %93 unwind label %657

93:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef @.str.8) #10
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %92, ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef %94)
          to label %96 unwind label %661

96:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  store i32 %95, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %97 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %98 unwind label %665

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str.9) #10
  %99 = load i32, ptr %3, align 4, !tbaa !5
  %100 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %97, ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef %99)
          to label %101 unwind label %669

101:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  store i32 %100, ptr %21, align 4, !tbaa !5
  %102 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %103 unwind label %665

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef @.str.10) #10
  %104 = load i32, ptr %19, align 4, !tbaa !5
  %105 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef nonnull align 8 dereferenceable(16) %23, i32 noundef %104)
          to label %106 unwind label %673

106:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #10
  %107 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %108 unwind label %665

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef @.str.11) #10
  %109 = load i32, ptr %21, align 4, !tbaa !5
  %110 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %107, ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef %109)
          to label %111 unwind label %677

111:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr %25) #10
  store ptr %25, ptr %26, align 8
  %112 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %113 unwind label %681

113:                                              ; preds = %111
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %112, float noundef 0x3FC3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %114 unwind label %685

114:                                              ; preds = %113
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef %112)
          to label %115 unwind label %681

115:                                              ; preds = %114
  %116 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 1
  store ptr %116, ptr %26, align 8
  %117 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %118 unwind label %681

118:                                              ; preds = %115
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %117, float noundef 0x3FC3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %119 unwind label %689

119:                                              ; preds = %118
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef %117)
          to label %120 unwind label %681

120:                                              ; preds = %119
  %121 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 2
  store ptr %121, ptr %26, align 8
  %122 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %123 unwind label %681

123:                                              ; preds = %120
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %122, float noundef 0x3FC3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %124 unwind label %693

124:                                              ; preds = %123
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef %122)
          to label %125 unwind label %681

125:                                              ; preds = %124
  %126 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 3
  store ptr %126, ptr %26, align 8
  %127 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %128 unwind label %681

128:                                              ; preds = %125
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %127, float noundef 0x3FB3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %129 unwind label %697

129:                                              ; preds = %128
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef %127)
          to label %130 unwind label %681

130:                                              ; preds = %129
  %131 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 4
  store ptr %131, ptr %26, align 8
  %132 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %133 unwind label %681

133:                                              ; preds = %130
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %132, float noundef 0x3FC3333340000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %134 unwind label %701

134:                                              ; preds = %133
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef %132)
          to label %135 unwind label %681

135:                                              ; preds = %134
  %136 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 5
  store ptr %136, ptr %26, align 8
  %137 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %138 unwind label %681

138:                                              ; preds = %135
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %137, float noundef 0x3FC3333340000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %139 unwind label %705

139:                                              ; preds = %138
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef %137)
          to label %140 unwind label %681

140:                                              ; preds = %139
  %141 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 6
  store ptr %141, ptr %26, align 8
  %142 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %143 unwind label %681

143:                                              ; preds = %140
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %142, float noundef 0x3FC3333340000000, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %144 unwind label %709

144:                                              ; preds = %143
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef %142)
          to label %145 unwind label %681

145:                                              ; preds = %144
  %146 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 7
  store ptr %146, ptr %26, align 8
  %147 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %148 unwind label %681

148:                                              ; preds = %145
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %147, float noundef 0x3FC3333340000000, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %149 unwind label %713

149:                                              ; preds = %148
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef %147)
          to label %150 unwind label %681

150:                                              ; preds = %149
  %151 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 8
  store ptr %151, ptr %26, align 8
  %152 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %153 unwind label %681

153:                                              ; preds = %150
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %152, float noundef 0x3FC99999A0000000, float noundef 0x3FB3333340000000, ptr noundef null)
          to label %154 unwind label %717

154:                                              ; preds = %153
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef %152)
          to label %155 unwind label %681

155:                                              ; preds = %154
  %156 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 9
  store ptr %156, ptr %26, align 8
  %157 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %158 unwind label %681

158:                                              ; preds = %155
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %157, float noundef 0x3FC99999A0000000, float noundef 0x3FB3333340000000, ptr noundef null)
          to label %159 unwind label %721

159:                                              ; preds = %158
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef %157)
          to label %160 unwind label %681

160:                                              ; preds = %159
  %161 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 10
  store ptr %161, ptr %26, align 8
  %162 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %163 unwind label %681

163:                                              ; preds = %160
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %162, float noundef 0x3FC99999A0000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %164 unwind label %725

164:                                              ; preds = %163
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef %162)
          to label %165 unwind label %681

165:                                              ; preds = %164
  %166 = getelementptr inbounds %"class.JPH::Ref.0", ptr %25, i64 11
  store ptr %166, ptr %26, align 8
  %167 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %168 unwind label %681

168:                                              ; preds = %165
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %167, float noundef 0x3FC99999A0000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %169 unwind label %729

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

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 192, ptr %27) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef 0.000000e+00, float noundef 0x3FF2666660000000, float noundef 0.000000e+00)
          to label %171 unwind label %741

171:                                              ; preds = %170
  %172 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 1
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %172, float noundef 0.000000e+00, float noundef 0x3FF59999A0000000, float noundef 0.000000e+00)
          to label %173 unwind label %741

173:                                              ; preds = %171
  %174 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 2
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %174, float noundef 0.000000e+00, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %175 unwind label %741

175:                                              ; preds = %173
  %176 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 3
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %176, float noundef 0.000000e+00, float noundef 0x3FFD333340000000, float noundef 0.000000e+00)
          to label %177 unwind label %741

177:                                              ; preds = %175
  %178 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 4
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %178, float noundef 0xBFDB333340000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %179 unwind label %741

179:                                              ; preds = %177
  %180 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 5
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %180, float noundef 0x3FDB333340000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %181 unwind label %741

181:                                              ; preds = %179
  %182 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 6
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %182, float noundef 0xBFE99999A0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %183 unwind label %741

183:                                              ; preds = %181
  %184 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 7
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %184, float noundef 0x3FE99999A0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %185 unwind label %741

185:                                              ; preds = %183
  %186 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 8
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %186, float noundef 0xBFC3333340000000, float noundef 0x3FE99999A0000000, float noundef 0.000000e+00)
          to label %187 unwind label %741

187:                                              ; preds = %185
  %188 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %188, float noundef 0x3FC3333340000000, float noundef 0x3FE99999A0000000, float noundef 0.000000e+00)
          to label %189 unwind label %741

189:                                              ; preds = %187
  %190 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %190, float noundef 0xBFC3333340000000, float noundef 0x3FD3333340000000, float noundef 0.000000e+00)
          to label %191 unwind label %741

191:                                              ; preds = %189
  %192 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i64 11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %192, float noundef 0x3FC3333340000000, float noundef 0x3FD3333340000000, float noundef 0.000000e+00)
          to label %193 unwind label %741

193:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 192, ptr %28) #10
  %194 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %195 unwind label %745

195:                                              ; preds = %193
  %196 = getelementptr inbounds %"class.JPH::Vec3", ptr %29, i32 0, i32 0
  %197 = getelementptr inbounds %union.anon, ptr %196, i32 0, i32 0
  %198 = getelementptr inbounds { double, double }, ptr %197, i32 0, i32 0
  %199 = extractvalue { double, double } %194, 0
  store double %199, ptr %198, align 16
  %200 = getelementptr inbounds { double, double }, ptr %197, i32 0, i32 1
  %201 = extractvalue { double, double } %194, 1
  store double %201, ptr %200, align 8
  %202 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %203 = load double, ptr %202, align 16
  %204 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %205 = load double, ptr %204, align 8
  %206 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %203, double %205, float noundef 0x3FF921FB60000000)
          to label %207 unwind label %745

207:                                              ; preds = %195
  %208 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i32 0, i32 0
  %209 = getelementptr inbounds %"class.JPH::Vec4", ptr %208, i32 0, i32 0
  %210 = getelementptr inbounds %union.anon.2, ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 0
  %212 = extractvalue { double, double } %206, 0
  store double %212, ptr %211, align 16
  %213 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 1
  %214 = extractvalue { double, double } %206, 1
  store double %214, ptr %213, align 8
  %215 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 1
  %216 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %217 unwind label %745

217:                                              ; preds = %207
  %218 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %219 = getelementptr inbounds %union.anon, ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 0
  %221 = extractvalue { double, double } %216, 0
  store double %221, ptr %220, align 16
  %222 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 1
  %223 = extractvalue { double, double } %216, 1
  store double %223, ptr %222, align 8
  %224 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %225 = load double, ptr %224, align 16
  %226 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %227 = load double, ptr %226, align 8
  %228 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %225, double %227, float noundef 0x3FF921FB60000000)
          to label %229 unwind label %745

229:                                              ; preds = %217
  %230 = getelementptr inbounds %"class.JPH::Quat", ptr %215, i32 0, i32 0
  %231 = getelementptr inbounds %"class.JPH::Vec4", ptr %230, i32 0, i32 0
  %232 = getelementptr inbounds %union.anon.2, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds { double, double }, ptr %232, i32 0, i32 0
  %234 = extractvalue { double, double } %228, 0
  store double %234, ptr %233, align 16
  %235 = getelementptr inbounds { double, double }, ptr %232, i32 0, i32 1
  %236 = extractvalue { double, double } %228, 1
  store double %236, ptr %235, align 8
  %237 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 2
  %238 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %239 unwind label %745

239:                                              ; preds = %229
  %240 = getelementptr inbounds %"class.JPH::Vec3", ptr %31, i32 0, i32 0
  %241 = getelementptr inbounds %union.anon, ptr %240, i32 0, i32 0
  %242 = getelementptr inbounds { double, double }, ptr %241, i32 0, i32 0
  %243 = extractvalue { double, double } %238, 0
  store double %243, ptr %242, align 16
  %244 = getelementptr inbounds { double, double }, ptr %241, i32 0, i32 1
  %245 = extractvalue { double, double } %238, 1
  store double %245, ptr %244, align 8
  %246 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %247 = load double, ptr %246, align 16
  %248 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %249 = load double, ptr %248, align 8
  %250 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %247, double %249, float noundef 0x3FF921FB60000000)
          to label %251 unwind label %745

251:                                              ; preds = %239
  %252 = getelementptr inbounds %"class.JPH::Quat", ptr %237, i32 0, i32 0
  %253 = getelementptr inbounds %"class.JPH::Vec4", ptr %252, i32 0, i32 0
  %254 = getelementptr inbounds %union.anon.2, ptr %253, i32 0, i32 0
  %255 = getelementptr inbounds { double, double }, ptr %254, i32 0, i32 0
  %256 = extractvalue { double, double } %250, 0
  store double %256, ptr %255, align 16
  %257 = getelementptr inbounds { double, double }, ptr %254, i32 0, i32 1
  %258 = extractvalue { double, double } %250, 1
  store double %258, ptr %257, align 8
  %259 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 3
  %260 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %261 unwind label %745

261:                                              ; preds = %251
  %262 = getelementptr inbounds %"class.JPH::Quat", ptr %259, i32 0, i32 0
  %263 = getelementptr inbounds %"class.JPH::Vec4", ptr %262, i32 0, i32 0
  %264 = getelementptr inbounds %union.anon.2, ptr %263, i32 0, i32 0
  %265 = getelementptr inbounds { double, double }, ptr %264, i32 0, i32 0
  %266 = extractvalue { double, double } %260, 0
  store double %266, ptr %265, align 16
  %267 = getelementptr inbounds { double, double }, ptr %264, i32 0, i32 1
  %268 = extractvalue { double, double } %260, 1
  store double %268, ptr %267, align 8
  %269 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 4
  %270 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %271 unwind label %745

271:                                              ; preds = %261
  %272 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %273 = getelementptr inbounds %union.anon, ptr %272, i32 0, i32 0
  %274 = getelementptr inbounds { double, double }, ptr %273, i32 0, i32 0
  %275 = extractvalue { double, double } %270, 0
  store double %275, ptr %274, align 16
  %276 = getelementptr inbounds { double, double }, ptr %273, i32 0, i32 1
  %277 = extractvalue { double, double } %270, 1
  store double %277, ptr %276, align 8
  %278 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %279 = load double, ptr %278, align 16
  %280 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %281 = load double, ptr %280, align 8
  %282 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %279, double %281, float noundef 0x3FF921FB60000000)
          to label %283 unwind label %745

283:                                              ; preds = %271
  %284 = getelementptr inbounds %"class.JPH::Quat", ptr %269, i32 0, i32 0
  %285 = getelementptr inbounds %"class.JPH::Vec4", ptr %284, i32 0, i32 0
  %286 = getelementptr inbounds %union.anon.2, ptr %285, i32 0, i32 0
  %287 = getelementptr inbounds { double, double }, ptr %286, i32 0, i32 0
  %288 = extractvalue { double, double } %282, 0
  store double %288, ptr %287, align 16
  %289 = getelementptr inbounds { double, double }, ptr %286, i32 0, i32 1
  %290 = extractvalue { double, double } %282, 1
  store double %290, ptr %289, align 8
  %291 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 5
  %292 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %293 unwind label %745

293:                                              ; preds = %283
  %294 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %295 = getelementptr inbounds %union.anon, ptr %294, i32 0, i32 0
  %296 = getelementptr inbounds { double, double }, ptr %295, i32 0, i32 0
  %297 = extractvalue { double, double } %292, 0
  store double %297, ptr %296, align 16
  %298 = getelementptr inbounds { double, double }, ptr %295, i32 0, i32 1
  %299 = extractvalue { double, double } %292, 1
  store double %299, ptr %298, align 8
  %300 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %301 = load double, ptr %300, align 16
  %302 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %303 = load double, ptr %302, align 8
  %304 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %301, double %303, float noundef 0x3FF921FB60000000)
          to label %305 unwind label %745

305:                                              ; preds = %293
  %306 = getelementptr inbounds %"class.JPH::Quat", ptr %291, i32 0, i32 0
  %307 = getelementptr inbounds %"class.JPH::Vec4", ptr %306, i32 0, i32 0
  %308 = getelementptr inbounds %union.anon.2, ptr %307, i32 0, i32 0
  %309 = getelementptr inbounds { double, double }, ptr %308, i32 0, i32 0
  %310 = extractvalue { double, double } %304, 0
  store double %310, ptr %309, align 16
  %311 = getelementptr inbounds { double, double }, ptr %308, i32 0, i32 1
  %312 = extractvalue { double, double } %304, 1
  store double %312, ptr %311, align 8
  %313 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 6
  %314 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %315 unwind label %745

315:                                              ; preds = %305
  %316 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %317 = getelementptr inbounds %union.anon, ptr %316, i32 0, i32 0
  %318 = getelementptr inbounds { double, double }, ptr %317, i32 0, i32 0
  %319 = extractvalue { double, double } %314, 0
  store double %319, ptr %318, align 16
  %320 = getelementptr inbounds { double, double }, ptr %317, i32 0, i32 1
  %321 = extractvalue { double, double } %314, 1
  store double %321, ptr %320, align 8
  %322 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %323 = load double, ptr %322, align 16
  %324 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %325 = load double, ptr %324, align 8
  %326 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %323, double %325, float noundef 0x3FF921FB60000000)
          to label %327 unwind label %745

327:                                              ; preds = %315
  %328 = getelementptr inbounds %"class.JPH::Quat", ptr %313, i32 0, i32 0
  %329 = getelementptr inbounds %"class.JPH::Vec4", ptr %328, i32 0, i32 0
  %330 = getelementptr inbounds %union.anon.2, ptr %329, i32 0, i32 0
  %331 = getelementptr inbounds { double, double }, ptr %330, i32 0, i32 0
  %332 = extractvalue { double, double } %326, 0
  store double %332, ptr %331, align 16
  %333 = getelementptr inbounds { double, double }, ptr %330, i32 0, i32 1
  %334 = extractvalue { double, double } %326, 1
  store double %334, ptr %333, align 8
  %335 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 7
  %336 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %337 unwind label %745

337:                                              ; preds = %327
  %338 = getelementptr inbounds %"class.JPH::Vec3", ptr %35, i32 0, i32 0
  %339 = getelementptr inbounds %union.anon, ptr %338, i32 0, i32 0
  %340 = getelementptr inbounds { double, double }, ptr %339, i32 0, i32 0
  %341 = extractvalue { double, double } %336, 0
  store double %341, ptr %340, align 16
  %342 = getelementptr inbounds { double, double }, ptr %339, i32 0, i32 1
  %343 = extractvalue { double, double } %336, 1
  store double %343, ptr %342, align 8
  %344 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %345 = load double, ptr %344, align 16
  %346 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %347 = load double, ptr %346, align 8
  %348 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %345, double %347, float noundef 0x3FF921FB60000000)
          to label %349 unwind label %745

349:                                              ; preds = %337
  %350 = getelementptr inbounds %"class.JPH::Quat", ptr %335, i32 0, i32 0
  %351 = getelementptr inbounds %"class.JPH::Vec4", ptr %350, i32 0, i32 0
  %352 = getelementptr inbounds %union.anon.2, ptr %351, i32 0, i32 0
  %353 = getelementptr inbounds { double, double }, ptr %352, i32 0, i32 0
  %354 = extractvalue { double, double } %348, 0
  store double %354, ptr %353, align 16
  %355 = getelementptr inbounds { double, double }, ptr %352, i32 0, i32 1
  %356 = extractvalue { double, double } %348, 1
  store double %356, ptr %355, align 8
  %357 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 8
  %358 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %359 unwind label %745

359:                                              ; preds = %349
  %360 = getelementptr inbounds %"class.JPH::Quat", ptr %357, i32 0, i32 0
  %361 = getelementptr inbounds %"class.JPH::Vec4", ptr %360, i32 0, i32 0
  %362 = getelementptr inbounds %union.anon.2, ptr %361, i32 0, i32 0
  %363 = getelementptr inbounds { double, double }, ptr %362, i32 0, i32 0
  %364 = extractvalue { double, double } %358, 0
  store double %364, ptr %363, align 16
  %365 = getelementptr inbounds { double, double }, ptr %362, i32 0, i32 1
  %366 = extractvalue { double, double } %358, 1
  store double %366, ptr %365, align 8
  %367 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 9
  %368 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %369 unwind label %745

369:                                              ; preds = %359
  %370 = getelementptr inbounds %"class.JPH::Quat", ptr %367, i32 0, i32 0
  %371 = getelementptr inbounds %"class.JPH::Vec4", ptr %370, i32 0, i32 0
  %372 = getelementptr inbounds %union.anon.2, ptr %371, i32 0, i32 0
  %373 = getelementptr inbounds { double, double }, ptr %372, i32 0, i32 0
  %374 = extractvalue { double, double } %368, 0
  store double %374, ptr %373, align 16
  %375 = getelementptr inbounds { double, double }, ptr %372, i32 0, i32 1
  %376 = extractvalue { double, double } %368, 1
  store double %376, ptr %375, align 8
  %377 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 10
  %378 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %379 unwind label %745

379:                                              ; preds = %369
  %380 = getelementptr inbounds %"class.JPH::Quat", ptr %377, i32 0, i32 0
  %381 = getelementptr inbounds %"class.JPH::Vec4", ptr %380, i32 0, i32 0
  %382 = getelementptr inbounds %union.anon.2, ptr %381, i32 0, i32 0
  %383 = getelementptr inbounds { double, double }, ptr %382, i32 0, i32 0
  %384 = extractvalue { double, double } %378, 0
  store double %384, ptr %383, align 16
  %385 = getelementptr inbounds { double, double }, ptr %382, i32 0, i32 1
  %386 = extractvalue { double, double } %378, 1
  store double %386, ptr %385, align 8
  %387 = getelementptr inbounds %"class.JPH::Quat", ptr %28, i64 11
  %388 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %389 unwind label %745

389:                                              ; preds = %379
  %390 = getelementptr inbounds %"class.JPH::Quat", ptr %387, i32 0, i32 0
  %391 = getelementptr inbounds %"class.JPH::Vec4", ptr %390, i32 0, i32 0
  %392 = getelementptr inbounds %union.anon.2, ptr %391, i32 0, i32 0
  %393 = getelementptr inbounds { double, double }, ptr %392, i32 0, i32 0
  %394 = extractvalue { double, double } %388, 0
  store double %394, ptr %393, align 16
  %395 = getelementptr inbounds { double, double }, ptr %392, i32 0, i32 1
  %396 = extractvalue { double, double } %388, 1
  store double %396, ptr %395, align 8
  call void @llvm.lifetime.start.p0(i64 192, ptr %36) #10
  %397 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %398 unwind label %749

398:                                              ; preds = %389
  %399 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %400 = getelementptr inbounds %union.anon, ptr %399, i32 0, i32 0
  %401 = getelementptr inbounds { double, double }, ptr %400, i32 0, i32 0
  %402 = extractvalue { double, double } %397, 0
  store double %402, ptr %401, align 16
  %403 = getelementptr inbounds { double, double }, ptr %400, i32 0, i32 1
  %404 = extractvalue { double, double } %397, 1
  store double %404, ptr %403, align 8
  %405 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 1
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %405, float noundef 0.000000e+00, float noundef 1.250000e+00, float noundef 0.000000e+00)
          to label %406 unwind label %749

406:                                              ; preds = %398
  %407 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 2
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %407, float noundef 0.000000e+00, float noundef 0x3FF7333340000000, float noundef 0.000000e+00)
          to label %408 unwind label %749

408:                                              ; preds = %406
  %409 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 3
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %409, float noundef 0.000000e+00, float noundef 0x3FFA666660000000, float noundef 0.000000e+00)
          to label %410 unwind label %749

410:                                              ; preds = %408
  %411 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 4
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %411, float noundef 0xBFCCCCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %412 unwind label %749

412:                                              ; preds = %410
  %413 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 5
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %413, float noundef 0x3FCCCCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %414 unwind label %749

414:                                              ; preds = %412
  %415 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 6
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %415, float noundef 0xBFE4CCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %416 unwind label %749

416:                                              ; preds = %414
  %417 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 7
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %417, float noundef 0x3FE4CCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %418 unwind label %749

418:                                              ; preds = %416
  %419 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 8
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %419, float noundef 0xBFC3333340000000, float noundef 0x3FF0CCCCC0000000, float noundef 0.000000e+00)
          to label %420 unwind label %749

420:                                              ; preds = %418
  %421 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %421, float noundef 0x3FC3333340000000, float noundef 0x3FF0CCCCC0000000, float noundef 0.000000e+00)
          to label %422 unwind label %749

422:                                              ; preds = %420
  %423 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %423, float noundef 0xBFC3333340000000, float noundef 0x3FE19999A0000000, float noundef 0.000000e+00)
          to label %424 unwind label %749

424:                                              ; preds = %422
  %425 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i64 11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %425, float noundef 0x3FC3333340000000, float noundef 0x3FE19999A0000000, float noundef 0.000000e+00)
          to label %426 unwind label %749

426:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 192, ptr %37) #10
  %427 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %428 unwind label %753

428:                                              ; preds = %426
  %429 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i32 0, i32 0
  %430 = getelementptr inbounds %union.anon, ptr %429, i32 0, i32 0
  %431 = getelementptr inbounds { double, double }, ptr %430, i32 0, i32 0
  %432 = extractvalue { double, double } %427, 0
  store double %432, ptr %431, align 16
  %433 = getelementptr inbounds { double, double }, ptr %430, i32 0, i32 1
  %434 = extractvalue { double, double } %427, 1
  store double %434, ptr %433, align 8
  %435 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 1
  %436 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %437 unwind label %753

437:                                              ; preds = %428
  %438 = getelementptr inbounds %"class.JPH::Vec3", ptr %435, i32 0, i32 0
  %439 = getelementptr inbounds %union.anon, ptr %438, i32 0, i32 0
  %440 = getelementptr inbounds { double, double }, ptr %439, i32 0, i32 0
  %441 = extractvalue { double, double } %436, 0
  store double %441, ptr %440, align 16
  %442 = getelementptr inbounds { double, double }, ptr %439, i32 0, i32 1
  %443 = extractvalue { double, double } %436, 1
  store double %443, ptr %442, align 8
  %444 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 2
  %445 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %446 unwind label %753

446:                                              ; preds = %437
  %447 = getelementptr inbounds %"class.JPH::Vec3", ptr %444, i32 0, i32 0
  %448 = getelementptr inbounds %union.anon, ptr %447, i32 0, i32 0
  %449 = getelementptr inbounds { double, double }, ptr %448, i32 0, i32 0
  %450 = extractvalue { double, double } %445, 0
  store double %450, ptr %449, align 16
  %451 = getelementptr inbounds { double, double }, ptr %448, i32 0, i32 1
  %452 = extractvalue { double, double } %445, 1
  store double %452, ptr %451, align 8
  %453 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 3
  %454 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %455 unwind label %753

455:                                              ; preds = %446
  %456 = getelementptr inbounds %"class.JPH::Vec3", ptr %453, i32 0, i32 0
  %457 = getelementptr inbounds %union.anon, ptr %456, i32 0, i32 0
  %458 = getelementptr inbounds { double, double }, ptr %457, i32 0, i32 0
  %459 = extractvalue { double, double } %454, 0
  store double %459, ptr %458, align 16
  %460 = getelementptr inbounds { double, double }, ptr %457, i32 0, i32 1
  %461 = extractvalue { double, double } %454, 1
  store double %461, ptr %460, align 8
  %462 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #10
  %463 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %464 unwind label %757

464:                                              ; preds = %455
  %465 = getelementptr inbounds %"class.JPH::Vec3", ptr %38, i32 0, i32 0
  %466 = getelementptr inbounds %union.anon, ptr %465, i32 0, i32 0
  %467 = getelementptr inbounds { double, double }, ptr %466, i32 0, i32 0
  %468 = extractvalue { double, double } %463, 0
  store double %468, ptr %467, align 16
  %469 = getelementptr inbounds { double, double }, ptr %466, i32 0, i32 1
  %470 = extractvalue { double, double } %463, 1
  store double %470, ptr %469, align 8
  %471 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %38)
          to label %472 unwind label %757

472:                                              ; preds = %464
  %473 = getelementptr inbounds %"class.JPH::Vec3", ptr %462, i32 0, i32 0
  %474 = getelementptr inbounds %union.anon, ptr %473, i32 0, i32 0
  %475 = getelementptr inbounds { double, double }, ptr %474, i32 0, i32 0
  %476 = extractvalue { double, double } %471, 0
  store double %476, ptr %475, align 16
  %477 = getelementptr inbounds { double, double }, ptr %474, i32 0, i32 1
  %478 = extractvalue { double, double } %471, 1
  store double %478, ptr %477, align 8
  %479 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 5
  %480 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %481 unwind label %757

481:                                              ; preds = %472
  %482 = getelementptr inbounds %"class.JPH::Vec3", ptr %479, i32 0, i32 0
  %483 = getelementptr inbounds %union.anon, ptr %482, i32 0, i32 0
  %484 = getelementptr inbounds { double, double }, ptr %483, i32 0, i32 0
  %485 = extractvalue { double, double } %480, 0
  store double %485, ptr %484, align 16
  %486 = getelementptr inbounds { double, double }, ptr %483, i32 0, i32 1
  %487 = extractvalue { double, double } %480, 1
  store double %487, ptr %486, align 8
  %488 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 6
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #10
  %489 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %490 unwind label %761

490:                                              ; preds = %481
  %491 = getelementptr inbounds %"class.JPH::Vec3", ptr %39, i32 0, i32 0
  %492 = getelementptr inbounds %union.anon, ptr %491, i32 0, i32 0
  %493 = getelementptr inbounds { double, double }, ptr %492, i32 0, i32 0
  %494 = extractvalue { double, double } %489, 0
  store double %494, ptr %493, align 16
  %495 = getelementptr inbounds { double, double }, ptr %492, i32 0, i32 1
  %496 = extractvalue { double, double } %489, 1
  store double %496, ptr %495, align 8
  %497 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %39)
          to label %498 unwind label %761

498:                                              ; preds = %490
  %499 = getelementptr inbounds %"class.JPH::Vec3", ptr %488, i32 0, i32 0
  %500 = getelementptr inbounds %union.anon, ptr %499, i32 0, i32 0
  %501 = getelementptr inbounds { double, double }, ptr %500, i32 0, i32 0
  %502 = extractvalue { double, double } %497, 0
  store double %502, ptr %501, align 16
  %503 = getelementptr inbounds { double, double }, ptr %500, i32 0, i32 1
  %504 = extractvalue { double, double } %497, 1
  store double %504, ptr %503, align 8
  %505 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 7
  %506 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %507 unwind label %761

507:                                              ; preds = %498
  %508 = getelementptr inbounds %"class.JPH::Vec3", ptr %505, i32 0, i32 0
  %509 = getelementptr inbounds %union.anon, ptr %508, i32 0, i32 0
  %510 = getelementptr inbounds { double, double }, ptr %509, i32 0, i32 0
  %511 = extractvalue { double, double } %506, 0
  store double %511, ptr %510, align 16
  %512 = getelementptr inbounds { double, double }, ptr %509, i32 0, i32 1
  %513 = extractvalue { double, double } %506, 1
  store double %513, ptr %512, align 8
  %514 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #10
  %515 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %516 unwind label %765

516:                                              ; preds = %507
  %517 = getelementptr inbounds %"class.JPH::Vec3", ptr %40, i32 0, i32 0
  %518 = getelementptr inbounds %union.anon, ptr %517, i32 0, i32 0
  %519 = getelementptr inbounds { double, double }, ptr %518, i32 0, i32 0
  %520 = extractvalue { double, double } %515, 0
  store double %520, ptr %519, align 16
  %521 = getelementptr inbounds { double, double }, ptr %518, i32 0, i32 1
  %522 = extractvalue { double, double } %515, 1
  store double %522, ptr %521, align 8
  %523 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %40)
          to label %524 unwind label %765

524:                                              ; preds = %516
  %525 = getelementptr inbounds %"class.JPH::Vec3", ptr %514, i32 0, i32 0
  %526 = getelementptr inbounds %union.anon, ptr %525, i32 0, i32 0
  %527 = getelementptr inbounds { double, double }, ptr %526, i32 0, i32 0
  %528 = extractvalue { double, double } %523, 0
  store double %528, ptr %527, align 16
  %529 = getelementptr inbounds { double, double }, ptr %526, i32 0, i32 1
  %530 = extractvalue { double, double } %523, 1
  store double %530, ptr %529, align 8
  %531 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 9
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #10
  %532 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %533 unwind label %769

533:                                              ; preds = %524
  %534 = getelementptr inbounds %"class.JPH::Vec3", ptr %41, i32 0, i32 0
  %535 = getelementptr inbounds %union.anon, ptr %534, i32 0, i32 0
  %536 = getelementptr inbounds { double, double }, ptr %535, i32 0, i32 0
  %537 = extractvalue { double, double } %532, 0
  store double %537, ptr %536, align 16
  %538 = getelementptr inbounds { double, double }, ptr %535, i32 0, i32 1
  %539 = extractvalue { double, double } %532, 1
  store double %539, ptr %538, align 8
  %540 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %41)
          to label %541 unwind label %769

541:                                              ; preds = %533
  %542 = getelementptr inbounds %"class.JPH::Vec3", ptr %531, i32 0, i32 0
  %543 = getelementptr inbounds %union.anon, ptr %542, i32 0, i32 0
  %544 = getelementptr inbounds { double, double }, ptr %543, i32 0, i32 0
  %545 = extractvalue { double, double } %540, 0
  store double %545, ptr %544, align 16
  %546 = getelementptr inbounds { double, double }, ptr %543, i32 0, i32 1
  %547 = extractvalue { double, double } %540, 1
  store double %547, ptr %546, align 8
  %548 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 10
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #10
  %549 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %550 unwind label %773

550:                                              ; preds = %541
  %551 = getelementptr inbounds %"class.JPH::Vec3", ptr %42, i32 0, i32 0
  %552 = getelementptr inbounds %union.anon, ptr %551, i32 0, i32 0
  %553 = getelementptr inbounds { double, double }, ptr %552, i32 0, i32 0
  %554 = extractvalue { double, double } %549, 0
  store double %554, ptr %553, align 16
  %555 = getelementptr inbounds { double, double }, ptr %552, i32 0, i32 1
  %556 = extractvalue { double, double } %549, 1
  store double %556, ptr %555, align 8
  %557 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %42)
          to label %558 unwind label %773

558:                                              ; preds = %550
  %559 = getelementptr inbounds %"class.JPH::Vec3", ptr %548, i32 0, i32 0
  %560 = getelementptr inbounds %union.anon, ptr %559, i32 0, i32 0
  %561 = getelementptr inbounds { double, double }, ptr %560, i32 0, i32 0
  %562 = extractvalue { double, double } %557, 0
  store double %562, ptr %561, align 16
  %563 = getelementptr inbounds { double, double }, ptr %560, i32 0, i32 1
  %564 = extractvalue { double, double } %557, 1
  store double %564, ptr %563, align 8
  %565 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i64 11
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #10
  %566 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %567 unwind label %777

567:                                              ; preds = %558
  %568 = getelementptr inbounds %"class.JPH::Vec3", ptr %43, i32 0, i32 0
  %569 = getelementptr inbounds %union.anon, ptr %568, i32 0, i32 0
  %570 = getelementptr inbounds { double, double }, ptr %569, i32 0, i32 0
  %571 = extractvalue { double, double } %566, 0
  store double %571, ptr %570, align 16
  %572 = getelementptr inbounds { double, double }, ptr %569, i32 0, i32 1
  %573 = extractvalue { double, double } %566, 1
  store double %573, ptr %572, align 8
  %574 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %43)
          to label %575 unwind label %777

575:                                              ; preds = %567
  %576 = getelementptr inbounds %"class.JPH::Vec3", ptr %565, i32 0, i32 0
  %577 = getelementptr inbounds %union.anon, ptr %576, i32 0, i32 0
  %578 = getelementptr inbounds { double, double }, ptr %577, i32 0, i32 0
  %579 = extractvalue { double, double } %574, 0
  store double %579, ptr %578, align 16
  %580 = getelementptr inbounds { double, double }, ptr %577, i32 0, i32 1
  %581 = extractvalue { double, double } %574, 1
  store double %581, ptr %580, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #10
  call void @llvm.lifetime.start.p0(i64 48, ptr %44) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 @__const._ZN13RagdollLoader7sCreateEv.twist_angle, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 @__const._ZN13RagdollLoader7sCreateEv.normal_angle, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr %46) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 @__const._ZN13RagdollLoader7sCreateEv.plane_angle, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %582 = invoke noundef ptr @_ZN3JPH15RagdollSettingsnwEm(i64 noundef 112)
          to label %583 unwind label %786

583:                                              ; preds = %575
  invoke void @_ZN3JPH15RagdollSettingsC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %582)
          to label %584 unwind label %790

584:                                              ; preds = %583
  store ptr %582, ptr %47, align 8, !tbaa !9
  %585 = load ptr, ptr %47, align 8, !tbaa !9
  %586 = getelementptr inbounds %"class.JPH::RagdollSettings", ptr %585, i32 0, i32 1
  %587 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_8SkeletonEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %586, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %588 unwind label %786

588:                                              ; preds = %584
  %589 = load ptr, ptr %47, align 8, !tbaa !9
  %590 = getelementptr inbounds %"class.JPH::RagdollSettings", ptr %589, i32 0, i32 2
  %591 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %592 unwind label %786

592:                                              ; preds = %588
  %593 = invoke noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %591)
          to label %594 unwind label %786

594:                                              ; preds = %592
  %595 = sext i32 %593 to i64
  invoke void @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %590, i64 noundef %595)
          to label %596 unwind label %786

596:                                              ; preds = %594
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #10
  store i32 0, ptr %48, align 4, !tbaa !5
  br label %597

597:                                              ; preds = %916, %596
  %598 = load i32, ptr %48, align 4, !tbaa !5
  %599 = invoke noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %600 unwind label %794

600:                                              ; preds = %597
  %601 = invoke noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %599)
          to label %602 unwind label %794

602:                                              ; preds = %600
  %603 = icmp slt i32 %598, %601
  br i1 %603, label %798, label %604

604:                                              ; preds = %602
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %921

605:                                              ; preds = %0
  %606 = landingpad { ptr, i32 }
          cleanup
  %607 = extractvalue { ptr, i32 } %606, 0
  store ptr %607, ptr %4, align 8
  %608 = extractvalue { ptr, i32 } %606, 1
  store i32 %608, ptr %5, align 4
  br label %957

609:                                              ; preds = %54
  %610 = landingpad { ptr, i32 }
          cleanup
  %611 = extractvalue { ptr, i32 } %610, 0
  store ptr %611, ptr %4, align 8
  %612 = extractvalue { ptr, i32 } %610, 1
  store i32 %612, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #10
  br label %957

613:                                              ; preds = %56
  %614 = landingpad { ptr, i32 }
          cleanup
  %615 = extractvalue { ptr, i32 } %614, 0
  store ptr %615, ptr %4, align 8
  %616 = extractvalue { ptr, i32 } %614, 1
  store i32 %616, ptr %5, align 4
  br label %956

617:                                              ; preds = %58
  %618 = landingpad { ptr, i32 }
          cleanup
  %619 = extractvalue { ptr, i32 } %618, 0
  store ptr %619, ptr %4, align 8
  %620 = extractvalue { ptr, i32 } %618, 1
  store i32 %620, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  br label %956

621:                                              ; preds = %66, %61
  %622 = landingpad { ptr, i32 }
          cleanup
  %623 = extractvalue { ptr, i32 } %622, 0
  store ptr %623, ptr %4, align 8
  %624 = extractvalue { ptr, i32 } %622, 1
  store i32 %624, ptr %5, align 4
  br label %955

625:                                              ; preds = %63
  %626 = landingpad { ptr, i32 }
          cleanup
  %627 = extractvalue { ptr, i32 } %626, 0
  store ptr %627, ptr %4, align 8
  %628 = extractvalue { ptr, i32 } %626, 1
  store i32 %628, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  br label %955

629:                                              ; preds = %68
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %4, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  br label %955

633:                                              ; preds = %71
  %634 = landingpad { ptr, i32 }
          cleanup
  %635 = extractvalue { ptr, i32 } %634, 0
  store ptr %635, ptr %4, align 8
  %636 = extractvalue { ptr, i32 } %634, 1
  store i32 %636, ptr %5, align 4
  br label %954

637:                                              ; preds = %73
  %638 = landingpad { ptr, i32 }
          cleanup
  %639 = extractvalue { ptr, i32 } %638, 0
  store ptr %639, ptr %4, align 8
  %640 = extractvalue { ptr, i32 } %638, 1
  store i32 %640, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  br label %954

641:                                              ; preds = %86, %81, %76
  %642 = landingpad { ptr, i32 }
          cleanup
  %643 = extractvalue { ptr, i32 } %642, 0
  store ptr %643, ptr %4, align 8
  %644 = extractvalue { ptr, i32 } %642, 1
  store i32 %644, ptr %5, align 4
  br label %953

645:                                              ; preds = %78
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %4, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #10
  br label %953

649:                                              ; preds = %83
  %650 = landingpad { ptr, i32 }
          cleanup
  %651 = extractvalue { ptr, i32 } %650, 0
  store ptr %651, ptr %4, align 8
  %652 = extractvalue { ptr, i32 } %650, 1
  store i32 %652, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  br label %953

653:                                              ; preds = %88
  %654 = landingpad { ptr, i32 }
          cleanup
  %655 = extractvalue { ptr, i32 } %654, 0
  store ptr %655, ptr %4, align 8
  %656 = extractvalue { ptr, i32 } %654, 1
  store i32 %656, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #10
  br label %953

657:                                              ; preds = %91
  %658 = landingpad { ptr, i32 }
          cleanup
  %659 = extractvalue { ptr, i32 } %658, 0
  store ptr %659, ptr %4, align 8
  %660 = extractvalue { ptr, i32 } %658, 1
  store i32 %660, ptr %5, align 4
  br label %952

661:                                              ; preds = %93
  %662 = landingpad { ptr, i32 }
          cleanup
  %663 = extractvalue { ptr, i32 } %662, 0
  store ptr %663, ptr %4, align 8
  %664 = extractvalue { ptr, i32 } %662, 1
  store i32 %664, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  br label %952

665:                                              ; preds = %106, %101, %96
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %4, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %5, align 4
  br label %951

669:                                              ; preds = %98
  %670 = landingpad { ptr, i32 }
          cleanup
  %671 = extractvalue { ptr, i32 } %670, 0
  store ptr %671, ptr %4, align 8
  %672 = extractvalue { ptr, i32 } %670, 1
  store i32 %672, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  br label %951

673:                                              ; preds = %103
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %4, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #10
  br label %951

677:                                              ; preds = %108
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %4, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #10
  br label %951

681:                                              ; preds = %169, %165, %164, %160, %159, %155, %154, %150, %149, %145, %144, %140, %139, %135, %134, %130, %129, %125, %124, %120, %119, %115, %114, %111
  %682 = landingpad { ptr, i32 }
          cleanup
  %683 = extractvalue { ptr, i32 } %682, 0
  store ptr %683, ptr %4, align 8
  %684 = extractvalue { ptr, i32 } %682, 1
  store i32 %684, ptr %5, align 4
  br label %733

685:                                              ; preds = %113
  %686 = landingpad { ptr, i32 }
          cleanup
  %687 = extractvalue { ptr, i32 } %686, 0
  store ptr %687, ptr %4, align 8
  %688 = extractvalue { ptr, i32 } %686, 1
  store i32 %688, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %112) #10
  br label %733

689:                                              ; preds = %118
  %690 = landingpad { ptr, i32 }
          cleanup
  %691 = extractvalue { ptr, i32 } %690, 0
  store ptr %691, ptr %4, align 8
  %692 = extractvalue { ptr, i32 } %690, 1
  store i32 %692, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %117) #10
  br label %733

693:                                              ; preds = %123
  %694 = landingpad { ptr, i32 }
          cleanup
  %695 = extractvalue { ptr, i32 } %694, 0
  store ptr %695, ptr %4, align 8
  %696 = extractvalue { ptr, i32 } %694, 1
  store i32 %696, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %122) #10
  br label %733

697:                                              ; preds = %128
  %698 = landingpad { ptr, i32 }
          cleanup
  %699 = extractvalue { ptr, i32 } %698, 0
  store ptr %699, ptr %4, align 8
  %700 = extractvalue { ptr, i32 } %698, 1
  store i32 %700, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %127) #10
  br label %733

701:                                              ; preds = %133
  %702 = landingpad { ptr, i32 }
          cleanup
  %703 = extractvalue { ptr, i32 } %702, 0
  store ptr %703, ptr %4, align 8
  %704 = extractvalue { ptr, i32 } %702, 1
  store i32 %704, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %132) #10
  br label %733

705:                                              ; preds = %138
  %706 = landingpad { ptr, i32 }
          cleanup
  %707 = extractvalue { ptr, i32 } %706, 0
  store ptr %707, ptr %4, align 8
  %708 = extractvalue { ptr, i32 } %706, 1
  store i32 %708, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %137) #10
  br label %733

709:                                              ; preds = %143
  %710 = landingpad { ptr, i32 }
          cleanup
  %711 = extractvalue { ptr, i32 } %710, 0
  store ptr %711, ptr %4, align 8
  %712 = extractvalue { ptr, i32 } %710, 1
  store i32 %712, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %142) #10
  br label %733

713:                                              ; preds = %148
  %714 = landingpad { ptr, i32 }
          cleanup
  %715 = extractvalue { ptr, i32 } %714, 0
  store ptr %715, ptr %4, align 8
  %716 = extractvalue { ptr, i32 } %714, 1
  store i32 %716, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %147) #10
  br label %733

717:                                              ; preds = %153
  %718 = landingpad { ptr, i32 }
          cleanup
  %719 = extractvalue { ptr, i32 } %718, 0
  store ptr %719, ptr %4, align 8
  %720 = extractvalue { ptr, i32 } %718, 1
  store i32 %720, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %152) #10
  br label %733

721:                                              ; preds = %158
  %722 = landingpad { ptr, i32 }
          cleanup
  %723 = extractvalue { ptr, i32 } %722, 0
  store ptr %723, ptr %4, align 8
  %724 = extractvalue { ptr, i32 } %722, 1
  store i32 %724, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %157) #10
  br label %733

725:                                              ; preds = %163
  %726 = landingpad { ptr, i32 }
          cleanup
  %727 = extractvalue { ptr, i32 } %726, 0
  store ptr %727, ptr %4, align 8
  %728 = extractvalue { ptr, i32 } %726, 1
  store i32 %728, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %162) #10
  br label %733

729:                                              ; preds = %168
  %730 = landingpad { ptr, i32 }
          cleanup
  %731 = extractvalue { ptr, i32 } %730, 0
  store ptr %731, ptr %4, align 8
  %732 = extractvalue { ptr, i32 } %730, 1
  store i32 %732, ptr %5, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %167) #10
  br label %733

733:                                              ; preds = %729, %725, %721, %717, %713, %709, %705, %701, %697, %693, %689, %685, %681
  %734 = load ptr, ptr %26, align 8
  %735 = icmp eq ptr %25, %734
  br i1 %735, label %740, label %736

736:                                              ; preds = %736, %733
  %737 = phi ptr [ %734, %733 ], [ %738, %736 ]
  %738 = getelementptr inbounds %"class.JPH::Ref.0", ptr %737, i64 -1
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %738) #10
  %739 = icmp eq ptr %738, %25
  br i1 %739, label %740, label %736

740:                                              ; preds = %736, %733
  br label %950

741:                                              ; preds = %191, %189, %187, %185, %183, %181, %179, %177, %175, %173, %171, %170
  %742 = landingpad { ptr, i32 }
          cleanup
  %743 = extractvalue { ptr, i32 } %742, 0
  store ptr %743, ptr %4, align 8
  %744 = extractvalue { ptr, i32 } %742, 1
  store i32 %744, ptr %5, align 4
  br label %936

745:                                              ; preds = %379, %369, %359, %349, %337, %327, %315, %305, %293, %283, %271, %261, %251, %239, %229, %217, %207, %195, %193
  %746 = landingpad { ptr, i32 }
          cleanup
  %747 = extractvalue { ptr, i32 } %746, 0
  store ptr %747, ptr %4, align 8
  %748 = extractvalue { ptr, i32 } %746, 1
  store i32 %748, ptr %5, align 4
  br label %935

749:                                              ; preds = %424, %422, %420, %418, %416, %414, %412, %410, %408, %406, %398, %389
  %750 = landingpad { ptr, i32 }
          cleanup
  %751 = extractvalue { ptr, i32 } %750, 0
  store ptr %751, ptr %4, align 8
  %752 = extractvalue { ptr, i32 } %750, 1
  store i32 %752, ptr %5, align 4
  br label %934

753:                                              ; preds = %446, %437, %428, %426
  %754 = landingpad { ptr, i32 }
          cleanup
  %755 = extractvalue { ptr, i32 } %754, 0
  store ptr %755, ptr %4, align 8
  %756 = extractvalue { ptr, i32 } %754, 1
  store i32 %756, ptr %5, align 4
  br label %933

757:                                              ; preds = %472, %464, %455
  %758 = landingpad { ptr, i32 }
          cleanup
  %759 = extractvalue { ptr, i32 } %758, 0
  store ptr %759, ptr %4, align 8
  %760 = extractvalue { ptr, i32 } %758, 1
  store i32 %760, ptr %5, align 4
  br label %785

761:                                              ; preds = %498, %490, %481
  %762 = landingpad { ptr, i32 }
          cleanup
  %763 = extractvalue { ptr, i32 } %762, 0
  store ptr %763, ptr %4, align 8
  %764 = extractvalue { ptr, i32 } %762, 1
  store i32 %764, ptr %5, align 4
  br label %784

765:                                              ; preds = %516, %507
  %766 = landingpad { ptr, i32 }
          cleanup
  %767 = extractvalue { ptr, i32 } %766, 0
  store ptr %767, ptr %4, align 8
  %768 = extractvalue { ptr, i32 } %766, 1
  store i32 %768, ptr %5, align 4
  br label %783

769:                                              ; preds = %533, %524
  %770 = landingpad { ptr, i32 }
          cleanup
  %771 = extractvalue { ptr, i32 } %770, 0
  store ptr %771, ptr %4, align 8
  %772 = extractvalue { ptr, i32 } %770, 1
  store i32 %772, ptr %5, align 4
  br label %782

773:                                              ; preds = %550, %541
  %774 = landingpad { ptr, i32 }
          cleanup
  %775 = extractvalue { ptr, i32 } %774, 0
  store ptr %775, ptr %4, align 8
  %776 = extractvalue { ptr, i32 } %774, 1
  store i32 %776, ptr %5, align 4
  br label %781

777:                                              ; preds = %567, %558
  %778 = landingpad { ptr, i32 }
          cleanup
  %779 = extractvalue { ptr, i32 } %778, 0
  store ptr %779, ptr %4, align 8
  %780 = extractvalue { ptr, i32 } %778, 1
  store i32 %780, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  br label %781

781:                                              ; preds = %777, %773
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  br label %782

782:                                              ; preds = %781, %769
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #10
  br label %783

783:                                              ; preds = %782, %765
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  br label %784

784:                                              ; preds = %783, %761
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #10
  br label %785

785:                                              ; preds = %784, %757
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #10
  br label %933

786:                                              ; preds = %926, %924, %921, %594, %592, %588, %584, %575
  %787 = landingpad { ptr, i32 }
          cleanup
  %788 = extractvalue { ptr, i32 } %787, 0
  store ptr %788, ptr %4, align 8
  %789 = extractvalue { ptr, i32 } %787, 1
  store i32 %789, ptr %5, align 4
  br label %932

790:                                              ; preds = %583
  %791 = landingpad { ptr, i32 }
          cleanup
  %792 = extractvalue { ptr, i32 } %791, 0
  store ptr %792, ptr %4, align 8
  %793 = extractvalue { ptr, i32 } %791, 1
  store i32 %793, ptr %5, align 4
  call void @_ZN3JPH15RagdollSettingsdlEPv(ptr noundef %582) #10
  br label %932

794:                                              ; preds = %600, %597
  %795 = landingpad { ptr, i32 }
          cleanup
  %796 = extractvalue { ptr, i32 } %795, 0
  store ptr %796, ptr %4, align 8
  %797 = extractvalue { ptr, i32 } %795, 1
  store i32 %797, ptr %5, align 4
  br label %920

798:                                              ; preds = %602
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %799 = load ptr, ptr %47, align 8, !tbaa !9
  %800 = getelementptr inbounds %"class.JPH::RagdollSettings", ptr %799, i32 0, i32 2
  %801 = load i32, ptr %48, align 4, !tbaa !5
  %802 = sext i32 %801 to i64
  %803 = invoke noundef nonnull align 16 dereferenceable(264) ptr @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %800, i64 noundef %802)
          to label %804 unwind label %898

804:                                              ; preds = %798
  store ptr %803, ptr %49, align 8, !tbaa !9
  %805 = load ptr, ptr %49, align 8, !tbaa !9
  %806 = load i32, ptr %48, align 4, !tbaa !5
  %807 = sext i32 %806 to i64
  %808 = getelementptr inbounds [12 x %"class.JPH::Ref.0"], ptr %25, i64 0, i64 %807
  %809 = invoke noundef ptr @_ZNK3JPH3RefINS_5ShapeEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %808)
          to label %810 unwind label %898

810:                                              ; preds = %804
  invoke void @_ZN3JPH20BodyCreationSettings8SetShapeEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(256) %805, ptr noundef %809)
          to label %811 unwind label %898

811:                                              ; preds = %810
  %812 = load i32, ptr %48, align 4, !tbaa !5
  %813 = sext i32 %812 to i64
  %814 = getelementptr inbounds [12 x %"class.JPH::Vec3"], ptr %27, i64 0, i64 %813
  %815 = load ptr, ptr %49, align 8, !tbaa !9
  %816 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %815, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %816, ptr align 16 %814, i64 16, i1 false), !tbaa.struct !11
  %817 = load i32, ptr %48, align 4, !tbaa !5
  %818 = sext i32 %817 to i64
  %819 = getelementptr inbounds [12 x %"class.JPH::Quat"], ptr %28, i64 0, i64 %818
  %820 = load ptr, ptr %49, align 8, !tbaa !9
  %821 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %820, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %821, ptr align 16 %819, i64 16, i1 false), !tbaa.struct !11
  %822 = load ptr, ptr %49, align 8, !tbaa !9
  %823 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %822, i32 0, i32 7
  store i8 2, ptr %823, align 16, !tbaa !13
  %824 = load ptr, ptr %49, align 8, !tbaa !9
  %825 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %824, i32 0, i32 5
  store i16 1, ptr %825, align 8, !tbaa !32
  %826 = load i32, ptr %48, align 4, !tbaa !5
  %827 = icmp sgt i32 %826, 0
  br i1 %827, label %828, label %915

828:                                              ; preds = %811
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  %829 = invoke noundef ptr @_ZN3JPH28SwingTwistConstraintSettingsnwEm(i64 noundef 224)
          to label %830 unwind label %902

830:                                              ; preds = %828
  invoke void @_ZN3JPH28SwingTwistConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(224) %829)
          to label %831 unwind label %906

831:                                              ; preds = %830
  store ptr %829, ptr %50, align 8, !tbaa !9
  %832 = load ptr, ptr %50, align 8, !tbaa !9
  %833 = getelementptr inbounds %"class.JPH::ConstraintSettings", ptr %832, i32 0, i32 6
  store float 0x3FB99999A0000000, ptr %833, align 4, !tbaa !33
  %834 = load i32, ptr %48, align 4, !tbaa !5
  %835 = sext i32 %834 to i64
  %836 = getelementptr inbounds [12 x %"class.JPH::Vec3"], ptr %36, i64 0, i64 %835
  %837 = load ptr, ptr %50, align 8, !tbaa !9
  %838 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %837, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %838, ptr align 16 %836, i64 16, i1 false), !tbaa.struct !11
  %839 = load ptr, ptr %50, align 8, !tbaa !9
  %840 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %839, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %840, ptr align 16 %838, i64 16, i1 false), !tbaa.struct !11
  %841 = load i32, ptr %48, align 4, !tbaa !5
  %842 = sext i32 %841 to i64
  %843 = getelementptr inbounds [12 x %"class.JPH::Vec3"], ptr %37, i64 0, i64 %842
  %844 = load ptr, ptr %50, align 8, !tbaa !9
  %845 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %844, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %845, ptr align 16 %843, i64 16, i1 false), !tbaa.struct !11
  %846 = load ptr, ptr %50, align 8, !tbaa !9
  %847 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %846, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %847, ptr align 16 %845, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #10
  %848 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %849 unwind label %910

849:                                              ; preds = %831
  %850 = getelementptr inbounds %"class.JPH::Vec3", ptr %51, i32 0, i32 0
  %851 = getelementptr inbounds %union.anon, ptr %850, i32 0, i32 0
  %852 = getelementptr inbounds { double, double }, ptr %851, i32 0, i32 0
  %853 = extractvalue { double, double } %848, 0
  store double %853, ptr %852, align 16
  %854 = getelementptr inbounds { double, double }, ptr %851, i32 0, i32 1
  %855 = extractvalue { double, double } %848, 1
  store double %855, ptr %854, align 8
  %856 = load ptr, ptr %50, align 8, !tbaa !9
  %857 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %856, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %857, ptr align 16 %51, i64 16, i1 false), !tbaa.struct !11
  %858 = load ptr, ptr %50, align 8, !tbaa !9
  %859 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %858, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %859, ptr align 16 %857, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #10
  %860 = load i32, ptr %48, align 4, !tbaa !5
  %861 = sext i32 %860 to i64
  %862 = getelementptr inbounds [12 x float], ptr %44, i64 0, i64 %861
  %863 = load float, ptr %862, align 4, !tbaa !39
  %864 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %863)
          to label %865 unwind label %902

865:                                              ; preds = %849
  %866 = fneg float %864
  %867 = load ptr, ptr %50, align 8, !tbaa !9
  %868 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %867, i32 0, i32 11
  store float %866, ptr %868, align 4, !tbaa !40
  %869 = load i32, ptr %48, align 4, !tbaa !5
  %870 = sext i32 %869 to i64
  %871 = getelementptr inbounds [12 x float], ptr %44, i64 0, i64 %870
  %872 = load float, ptr %871, align 4, !tbaa !39
  %873 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %872)
          to label %874 unwind label %902

874:                                              ; preds = %865
  %875 = load ptr, ptr %50, align 8, !tbaa !9
  %876 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %875, i32 0, i32 12
  store float %873, ptr %876, align 16, !tbaa !48
  %877 = load i32, ptr %48, align 4, !tbaa !5
  %878 = sext i32 %877 to i64
  %879 = getelementptr inbounds [12 x float], ptr %45, i64 0, i64 %878
  %880 = load float, ptr %879, align 4, !tbaa !39
  %881 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %880)
          to label %882 unwind label %902

882:                                              ; preds = %874
  %883 = load ptr, ptr %50, align 8, !tbaa !9
  %884 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %883, i32 0, i32 9
  store float %881, ptr %884, align 4, !tbaa !49
  %885 = load i32, ptr %48, align 4, !tbaa !5
  %886 = sext i32 %885 to i64
  %887 = getelementptr inbounds [12 x float], ptr %46, i64 0, i64 %886
  %888 = load float, ptr %887, align 4, !tbaa !39
  %889 = invoke noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %888)
          to label %890 unwind label %902

890:                                              ; preds = %882
  %891 = load ptr, ptr %50, align 8, !tbaa !9
  %892 = getelementptr inbounds %"class.JPH::SwingTwistConstraintSettings", ptr %891, i32 0, i32 10
  store float %889, ptr %892, align 8, !tbaa !50
  %893 = load ptr, ptr %50, align 8, !tbaa !9
  %894 = load ptr, ptr %49, align 8, !tbaa !9
  %895 = getelementptr inbounds %"class.JPH::RagdollSettings::Part", ptr %894, i32 0, i32 1
  %896 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_25TwoBodyConstraintSettingsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %895, ptr noundef %893)
          to label %897 unwind label %902

897:                                              ; preds = %890
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  br label %915

898:                                              ; preds = %810, %804, %798
  %899 = landingpad { ptr, i32 }
          cleanup
  %900 = extractvalue { ptr, i32 } %899, 0
  store ptr %900, ptr %4, align 8
  %901 = extractvalue { ptr, i32 } %899, 1
  store i32 %901, ptr %5, align 4
  br label %919

902:                                              ; preds = %890, %882, %874, %865, %849, %828
  %903 = landingpad { ptr, i32 }
          cleanup
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %4, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %5, align 4
  br label %914

906:                                              ; preds = %830
  %907 = landingpad { ptr, i32 }
          cleanup
  %908 = extractvalue { ptr, i32 } %907, 0
  store ptr %908, ptr %4, align 8
  %909 = extractvalue { ptr, i32 } %907, 1
  store i32 %909, ptr %5, align 4
  call void @_ZN3JPH28SwingTwistConstraintSettingsdlEPv(ptr noundef %829) #10
  br label %914

910:                                              ; preds = %831
  %911 = landingpad { ptr, i32 }
          cleanup
  %912 = extractvalue { ptr, i32 } %911, 0
  store ptr %912, ptr %4, align 8
  %913 = extractvalue { ptr, i32 } %911, 1
  store i32 %913, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #10
  br label %914

914:                                              ; preds = %910, %906, %902
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  br label %919

915:                                              ; preds = %897, %811
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  br label %916

916:                                              ; preds = %915
  %917 = load i32, ptr %48, align 4, !tbaa !5
  %918 = add nsw i32 %917, 1
  store i32 %918, ptr %48, align 4, !tbaa !5
  br label %597, !llvm.loop !51

919:                                              ; preds = %914, %898
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  br label %920

920:                                              ; preds = %919, %794
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %932

921:                                              ; preds = %604
  %922 = load ptr, ptr %47, align 8, !tbaa !9
  %923 = invoke noundef zeroext i1 @_ZN3JPH15RagdollSettings9StabilizeEv(ptr noundef nonnull align 8 dereferenceable(112) %922)
          to label %924 unwind label %786

924:                                              ; preds = %921
  %925 = load ptr, ptr %47, align 8, !tbaa !9
  invoke void @_ZN3JPH15RagdollSettings28DisableParentChildCollisionsEPKNS_5Mat44Ef(ptr noundef nonnull align 8 dereferenceable(112) %925, ptr noundef null, float noundef 0.000000e+00)
          to label %926 unwind label %786

926:                                              ; preds = %924
  %927 = load ptr, ptr %47, align 8, !tbaa !9
  invoke void @_ZN3JPH15RagdollSettings35CalculateBodyIndexToConstraintIndexEv(ptr noundef nonnull align 8 dereferenceable(112) %927)
          to label %928 unwind label %786

928:                                              ; preds = %926
  %929 = load ptr, ptr %47, align 8, !tbaa !9
  store ptr %929, ptr %1, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %27) #10
  %930 = getelementptr inbounds [12 x %"class.JPH::Ref.0"], ptr %25, i32 0, i32 0
  %931 = getelementptr inbounds %"class.JPH::Ref.0", ptr %930, i64 12
  br label %939

932:                                              ; preds = %920, %790, %786
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #10
  br label %933

933:                                              ; preds = %932, %785, %753
  call void @llvm.lifetime.end.p0(i64 192, ptr %37) #10
  br label %934

934:                                              ; preds = %933, %749
  call void @llvm.lifetime.end.p0(i64 192, ptr %36) #10
  br label %935

935:                                              ; preds = %934, %745
  call void @llvm.lifetime.end.p0(i64 192, ptr %28) #10
  br label %936

936:                                              ; preds = %935, %741
  call void @llvm.lifetime.end.p0(i64 192, ptr %27) #10
  %937 = getelementptr inbounds [12 x %"class.JPH::Ref.0"], ptr %25, i32 0, i32 0
  %938 = getelementptr inbounds %"class.JPH::Ref.0", ptr %937, i64 12
  br label %945

939:                                              ; preds = %939, %928
  %940 = phi ptr [ %931, %928 ], [ %941, %939 ]
  %941 = getelementptr inbounds %"class.JPH::Ref.0", ptr %940, i64 -1
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %941) #10
  %942 = icmp eq ptr %941, %930
  br i1 %942, label %943, label %939

943:                                              ; preds = %939
  call void @llvm.lifetime.end.p0(i64 96, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  call void @_ZN3JPH3RefINS_8SkeletonEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  %944 = load ptr, ptr %1, align 8
  ret ptr %944

945:                                              ; preds = %945, %936
  %946 = phi ptr [ %938, %936 ], [ %947, %945 ]
  %947 = getelementptr inbounds %"class.JPH::Ref.0", ptr %946, i64 -1
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %947) #10
  %948 = icmp eq ptr %947, %937
  br i1 %948, label %949, label %945

949:                                              ; preds = %945
  br label %950

950:                                              ; preds = %949, %740
  call void @llvm.lifetime.end.p0(i64 96, ptr %25) #10
  br label %951

951:                                              ; preds = %950, %677, %673, %669, %665
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %952

952:                                              ; preds = %951, %661, %657
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %953

953:                                              ; preds = %952, %653, %649, %645, %641
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %954

954:                                              ; preds = %953, %637, %633
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  br label %955

955:                                              ; preds = %954, %629, %625, %621
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %956

956:                                              ; preds = %955, %617, %613
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  br label %957

957:                                              ; preds = %956, %609, %605
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  call void @_ZN3JPH3RefINS_8SkeletonEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  br label %958

958:                                              ; preds = %957
  %959 = load ptr, ptr %4, align 8
  %960 = load i32, ptr %5, align 4
  %961 = insertvalue { ptr, i32 } poison, ptr %959, 0
  %962 = insertvalue { ptr, i32 } %961, i32 %960, 1
  resume { ptr, i32 } %962
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double, double, float noundef) #2 align 2

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16)) #7 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) #8

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(264) ptr @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH28SwingTwistConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(224)) unnamed_addr #4 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef) #6

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

declare noundef zeroext i1 @_ZN3JPH15RagdollSettings9StabilizeEv(ptr noundef nonnull align 8 dereferenceable(112)) #9

declare void @_ZN3JPH15RagdollSettings28DisableParentChildCollisionsEPKNS_5Mat44Ef(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, float noundef) #9

declare void @_ZN3JPH15RagdollSettings35CalculateBodyIndexToConstraintIndexEv(ptr noundef nonnull align 8 dereferenceable(112)) #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH3RefINS_8SkeletonEED2Ev(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 = { 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 #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 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = { 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !22, i64 96}
!14 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !15, i64 0, !16, i64 16, !15, i64 32, !15, i64 48, !18, i64 64, !19, i64 72, !20, i64 80, !22, i64 96, !23, i64 97, !24, i64 98, !24, i64 99, !24, i64 100, !24, i64 101, !24, i64 102, !25, i64 103, !24, i64 104, !24, i64 105, !26, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !26, i64 124, !26, i64 128, !26, i64 132, !6, i64 136, !6, i64 140, !27, i64 144, !26, i64 148, !28, i64 160, !30, i64 240, !31, i64 248}
!15 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!16 = !{!"_ZTSN3JPH4QuatE", !17, i64 0}
!17 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTSN3JPH14CollisionGroupE", !21, i64 0, !6, i64 8, !6, i64 12}
!21 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !10, i64 0}
!22 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!23 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!28 = !{!"_ZTSN3JPH14MassPropertiesE", !26, i64 0, !29, i64 16}
!29 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!30 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !10, i64 0}
!31 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !10, i64 0}
!32 = !{!14, !19, i64 72}
!33 = !{!34, !26, i64 28}
!34 = !{!"_ZTSN3JPH18ConstraintSettingsE", !35, i64 0, !36, i64 8, !24, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !26, i64 28, !18, i64 32}
!35 = !{!"_ZTSN3JPH18SerializableObjectE"}
!36 = !{!"_ZTSN3JPH9RefTargetINS_18ConstraintSettingsEEE", !37, i64 0}
!37 = !{!"_ZTSSt6atomicIjE", !38, i64 0}
!38 = !{!"_ZTSSt13__atomic_baseIjE", !6, i64 0}
!39 = !{!26, !26, i64 0}
!40 = !{!41, !26, i64 156}
!41 = !{!"_ZTSN3JPH28SwingTwistConstraintSettingsE", !42, i64 0, !43, i64 40, !15, i64 48, !15, i64 64, !15, i64 80, !15, i64 96, !15, i64 112, !15, i64 128, !44, i64 144, !26, i64 148, !26, i64 152, !26, i64 156, !26, i64 160, !26, i64 164, !45, i64 168, !45, i64 196}
!42 = !{!"_ZTSN3JPH25TwoBodyConstraintSettingsE", !34, i64 0}
!43 = !{!"_ZTSN3JPH16EConstraintSpaceE", !7, i64 0}
!44 = !{!"_ZTSN3JPH10ESwingTypeE", !7, i64 0}
!45 = !{!"_ZTSN3JPH13MotorSettingsE", !46, i64 0, !26, i64 12, !26, i64 16, !26, i64 20, !26, i64 24}
!46 = !{!"_ZTSN3JPH14SpringSettingsE", !47, i64 0, !7, i64 4, !26, i64 8}
!47 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!48 = !{!41, !26, i64 160}
!49 = !{!41, !26, i64 148}
!50 = !{!41, !26, i64 152}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}


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

%"class.JPH::Ref" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.JPH::Ref.0" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.2 }
%union.anon.2 = type { <4 x float> }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@__const._ZN13RagdollLoader7sCreateEv.twist_angle = external hidden unnamed_addr constant [12 x float], align 16
@__const._ZN13RagdollLoader7sCreateEv.normal_angle = external hidden unnamed_addr constant [12 x float], align 16
@__const._ZN13RagdollLoader7sCreateEv.plane_angle = external hidden unnamed_addr constant [12 x float], align 16

; 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 noundef ptr @_ZN13RagdollLoader7sCreateEv() local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.JPH::Ref", align 8
  %2 = alloca %"class.std::basic_string_view", align 8
  %3 = alloca %"class.std::basic_string_view", align 8
  %4 = alloca %"class.std::basic_string_view", align 8
  %5 = alloca %"class.std::basic_string_view", align 8
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca %"class.std::basic_string_view", align 8
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca [12 x %"class.JPH::Ref.0"], align 16
  %16 = alloca [12 x %"class.JPH::Vec3"], align 16
  %17 = alloca [12 x %"class.JPH::Quat"], align 16
  %18 = alloca [12 x %"class.JPH::Vec3"], align 16
  %19 = alloca [12 x %"class.JPH::Vec3"], align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #11
  %26 = tail call noundef ptr @_ZN3JPH8SkeletonnwEm(i64 noundef 32)
  tail call void @_ZN3JPH8SkeletonC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN3JPH3RefINS_8SkeletonEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull %26)
  %27 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef @.str) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #11
  %28 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEES6_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %29 unwind label %396

29:                                               ; preds = %0
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #11
  %30 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef @.str.1) #11
  %31 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %28)
          to label %32 unwind label %398

32:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #11
  %33 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.2) #11
  %34 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef %31)
          to label %35 unwind label %400

35:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #11
  %36 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef @.str.3) #11
  %37 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %34)
          to label %38 unwind label %402

38:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  %39 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str.4) #11
  %40 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %34)
          to label %41 unwind label %404

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #11
  %42 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef @.str.5) #11
  %43 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %34)
          to label %44 unwind label %406

44:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #11
  %45 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef @.str.6) #11
  %46 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef %40)
          to label %47 unwind label %408

47:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  %48 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.7) #11
  %49 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef %43)
          to label %50 unwind label %410

50:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #11
  %51 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.8) #11
  %52 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %28)
          to label %53 unwind label %412

53:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #11
  %54 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.9) #11
  %55 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %28)
          to label %56 unwind label %414

56:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  %57 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.10) #11
  %58 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %52)
          to label %59 unwind label %416

59:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #11
  %60 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.11) #11
  %61 = invoke noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(16) %14, i32 noundef %55)
          to label %62 unwind label %418

62:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #11
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %15) #11
  %63 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %64 unwind label %443

64:                                               ; preds = %62
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %63, float noundef 0x3FC3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %65 unwind label %.thread

65:                                               ; preds = %64
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull %63)
          to label %66 unwind label %443

66:                                               ; preds = %65
  %67 = getelementptr inbounds i8, ptr %15, i64 8
  %68 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %69 unwind label %.thread148

69:                                               ; preds = %66
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %68, float noundef 0x3FC3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %70 unwind label %421

70:                                               ; preds = %69
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull %68)
          to label %71 unwind label %.thread148

71:                                               ; preds = %70
  %72 = getelementptr inbounds i8, ptr %15, i64 16
  %73 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %74 unwind label %.thread148

74:                                               ; preds = %71
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %73, float noundef 0x3FC3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %75 unwind label %423

75:                                               ; preds = %74
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull %73)
          to label %76 unwind label %.thread148

76:                                               ; preds = %75
  %77 = getelementptr inbounds i8, ptr %15, i64 24
  %78 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %79 unwind label %.thread148

79:                                               ; preds = %76
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %78, float noundef 0x3FB3333340000000, float noundef 0x3FB99999A0000000, ptr noundef null)
          to label %80 unwind label %425

80:                                               ; preds = %79
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull %78)
          to label %81 unwind label %.thread148

81:                                               ; preds = %80
  %82 = getelementptr inbounds i8, ptr %15, i64 32
  %83 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %84 unwind label %.thread148

84:                                               ; preds = %81
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %83, float noundef 0x3FC3333340000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %85 unwind label %427

85:                                               ; preds = %84
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull %83)
          to label %86 unwind label %.thread148

86:                                               ; preds = %85
  %87 = getelementptr inbounds i8, ptr %15, i64 40
  %88 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %89 unwind label %.thread148

89:                                               ; preds = %86
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %88, float noundef 0x3FC3333340000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %90 unwind label %429

90:                                               ; preds = %89
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull %88)
          to label %91 unwind label %.thread148

91:                                               ; preds = %90
  %92 = getelementptr inbounds i8, ptr %15, i64 48
  %93 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %94 unwind label %.thread148

94:                                               ; preds = %91
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %93, float noundef 0x3FC3333340000000, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %95 unwind label %431

95:                                               ; preds = %94
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull %93)
          to label %96 unwind label %.thread148

96:                                               ; preds = %95
  %97 = getelementptr inbounds i8, ptr %15, i64 56
  %98 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %99 unwind label %.thread148

99:                                               ; preds = %96
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %98, float noundef 0x3FC3333340000000, float noundef 0x3FA99999A0000000, ptr noundef null)
          to label %100 unwind label %433

100:                                              ; preds = %99
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull %98)
          to label %101 unwind label %.thread148

101:                                              ; preds = %100
  %102 = getelementptr inbounds i8, ptr %15, i64 64
  %103 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %104 unwind label %.thread148

104:                                              ; preds = %101
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %103, float noundef 0x3FC99999A0000000, float noundef 0x3FB3333340000000, ptr noundef null)
          to label %105 unwind label %435

105:                                              ; preds = %104
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull %103)
          to label %106 unwind label %.thread148

106:                                              ; preds = %105
  %107 = getelementptr inbounds i8, ptr %15, i64 72
  %108 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %109 unwind label %.thread148

109:                                              ; preds = %106
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %108, float noundef 0x3FC99999A0000000, float noundef 0x3FB3333340000000, ptr noundef null)
          to label %110 unwind label %437

110:                                              ; preds = %109
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull %108)
          to label %111 unwind label %.thread148

111:                                              ; preds = %110
  %112 = getelementptr inbounds i8, ptr %15, i64 80
  %113 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %114 unwind label %.thread148

114:                                              ; preds = %111
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %113, float noundef 0x3FC99999A0000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %115 unwind label %439

115:                                              ; preds = %114
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull %113)
          to label %116 unwind label %.thread148

116:                                              ; preds = %115
  %117 = getelementptr inbounds i8, ptr %15, i64 88
  %118 = invoke noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
          to label %119 unwind label %.thread148

119:                                              ; preds = %116
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %118, float noundef 0x3FC99999A0000000, float noundef 0x3FAEB851E0000000, ptr noundef null)
          to label %120 unwind label %441

120:                                              ; preds = %119
  invoke void @_ZN3JPH3RefINS_5ShapeEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull %118)
          to label %121 unwind label %.thread148

121:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %16) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef 0.000000e+00, float noundef 0x3FF2666660000000, float noundef 0.000000e+00)
          to label %122 unwind label %447

122:                                              ; preds = %121
  %123 = getelementptr inbounds i8, ptr %16, i64 16
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %123, float noundef 0.000000e+00, float noundef 0x3FF59999A0000000, float noundef 0.000000e+00)
          to label %124 unwind label %447

124:                                              ; preds = %122
  %125 = getelementptr inbounds i8, ptr %16, i64 32
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %125, float noundef 0.000000e+00, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %126 unwind label %447

126:                                              ; preds = %124
  %127 = getelementptr inbounds i8, ptr %16, i64 48
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %127, float noundef 0.000000e+00, float noundef 0x3FFD333340000000, float noundef 0.000000e+00)
          to label %128 unwind label %447

128:                                              ; preds = %126
  %129 = getelementptr inbounds i8, ptr %16, i64 64
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %129, float noundef 0xBFDB333340000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %130 unwind label %447

130:                                              ; preds = %128
  %131 = getelementptr inbounds i8, ptr %16, i64 80
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %131, float noundef 0x3FDB333340000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %132 unwind label %447

132:                                              ; preds = %130
  %133 = getelementptr inbounds i8, ptr %16, i64 96
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %133, float noundef 0xBFE99999A0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %134 unwind label %447

134:                                              ; preds = %132
  %135 = getelementptr inbounds i8, ptr %16, i64 112
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %135, float noundef 0x3FE99999A0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %136 unwind label %447

136:                                              ; preds = %134
  %137 = getelementptr inbounds i8, ptr %16, i64 128
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %137, float noundef 0xBFC3333340000000, float noundef 0x3FE99999A0000000, float noundef 0.000000e+00)
          to label %138 unwind label %447

138:                                              ; preds = %136
  %139 = getelementptr inbounds i8, ptr %16, i64 144
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %139, float noundef 0x3FC3333340000000, float noundef 0x3FE99999A0000000, float noundef 0.000000e+00)
          to label %140 unwind label %447

140:                                              ; preds = %138
  %141 = getelementptr inbounds i8, ptr %16, i64 160
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %141, float noundef 0xBFC3333340000000, float noundef 0x3FD3333340000000, float noundef 0.000000e+00)
          to label %142 unwind label %447

142:                                              ; preds = %140
  %143 = getelementptr inbounds i8, ptr %16, i64 176
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %143, float noundef 0x3FC3333340000000, float noundef 0x3FD3333340000000, float noundef 0.000000e+00)
          to label %144 unwind label %447

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %17) #11
  %145 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %146 unwind label %449

146:                                              ; preds = %144
  %147 = extractvalue { double, double } %145, 0
  %148 = extractvalue { double, double } %145, 1
  %149 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %147, double %148, float noundef 0x3FF921FB60000000)
          to label %150 unwind label %449

150:                                              ; preds = %146
  %151 = extractvalue { double, double } %149, 0
  store double %151, ptr %17, align 16
  %152 = getelementptr inbounds i8, ptr %17, i64 8
  %153 = extractvalue { double, double } %149, 1
  store double %153, ptr %152, align 8
  %154 = getelementptr inbounds i8, ptr %17, i64 16
  %155 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %156 unwind label %449

156:                                              ; preds = %150
  %157 = extractvalue { double, double } %155, 0
  %158 = extractvalue { double, double } %155, 1
  %159 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %157, double %158, float noundef 0x3FF921FB60000000)
          to label %160 unwind label %449

160:                                              ; preds = %156
  %161 = extractvalue { double, double } %159, 0
  store double %161, ptr %154, align 16
  %162 = getelementptr inbounds i8, ptr %17, i64 24
  %163 = extractvalue { double, double } %159, 1
  store double %163, ptr %162, align 8
  %164 = getelementptr inbounds i8, ptr %17, i64 32
  %165 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %166 unwind label %449

166:                                              ; preds = %160
  %167 = extractvalue { double, double } %165, 0
  %168 = extractvalue { double, double } %165, 1
  %169 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %167, double %168, float noundef 0x3FF921FB60000000)
          to label %170 unwind label %449

170:                                              ; preds = %166
  %171 = extractvalue { double, double } %169, 0
  store double %171, ptr %164, align 16
  %172 = getelementptr inbounds i8, ptr %17, i64 40
  %173 = extractvalue { double, double } %169, 1
  store double %173, ptr %172, align 8
  %174 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %175 unwind label %449

175:                                              ; preds = %170
  %176 = getelementptr inbounds i8, ptr %17, i64 48
  %177 = extractvalue { double, double } %174, 0
  store double %177, ptr %176, align 16
  %178 = getelementptr inbounds i8, ptr %17, i64 56
  %179 = extractvalue { double, double } %174, 1
  store double %179, ptr %178, align 8
  %180 = getelementptr inbounds i8, ptr %17, i64 64
  %181 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %182 unwind label %449

182:                                              ; preds = %175
  %183 = extractvalue { double, double } %181, 0
  %184 = extractvalue { double, double } %181, 1
  %185 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %183, double %184, float noundef 0x3FF921FB60000000)
          to label %186 unwind label %449

186:                                              ; preds = %182
  %187 = extractvalue { double, double } %185, 0
  store double %187, ptr %180, align 16
  %188 = getelementptr inbounds i8, ptr %17, i64 72
  %189 = extractvalue { double, double } %185, 1
  store double %189, ptr %188, align 8
  %190 = getelementptr inbounds i8, ptr %17, i64 80
  %191 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %192 unwind label %449

192:                                              ; preds = %186
  %193 = extractvalue { double, double } %191, 0
  %194 = extractvalue { double, double } %191, 1
  %195 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %193, double %194, float noundef 0x3FF921FB60000000)
          to label %196 unwind label %449

196:                                              ; preds = %192
  %197 = extractvalue { double, double } %195, 0
  store double %197, ptr %190, align 16
  %198 = getelementptr inbounds i8, ptr %17, i64 88
  %199 = extractvalue { double, double } %195, 1
  store double %199, ptr %198, align 8
  %200 = getelementptr inbounds i8, ptr %17, i64 96
  %201 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %202 unwind label %449

202:                                              ; preds = %196
  %203 = extractvalue { double, double } %201, 0
  %204 = extractvalue { double, double } %201, 1
  %205 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %203, double %204, float noundef 0x3FF921FB60000000)
          to label %206 unwind label %449

206:                                              ; preds = %202
  %207 = extractvalue { double, double } %205, 0
  store double %207, ptr %200, align 16
  %208 = getelementptr inbounds i8, ptr %17, i64 104
  %209 = extractvalue { double, double } %205, 1
  store double %209, ptr %208, align 8
  %210 = getelementptr inbounds i8, ptr %17, i64 112
  %211 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %212 unwind label %449

212:                                              ; preds = %206
  %213 = extractvalue { double, double } %211, 0
  %214 = extractvalue { double, double } %211, 1
  %215 = invoke { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %213, double %214, float noundef 0x3FF921FB60000000)
          to label %216 unwind label %449

216:                                              ; preds = %212
  %217 = extractvalue { double, double } %215, 0
  store double %217, ptr %210, align 16
  %218 = getelementptr inbounds i8, ptr %17, i64 120
  %219 = extractvalue { double, double } %215, 1
  store double %219, ptr %218, align 8
  %220 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %221 unwind label %449

221:                                              ; preds = %216
  %222 = getelementptr inbounds i8, ptr %17, i64 128
  %223 = extractvalue { double, double } %220, 0
  store double %223, ptr %222, align 16
  %224 = getelementptr inbounds i8, ptr %17, i64 136
  %225 = extractvalue { double, double } %220, 1
  store double %225, ptr %224, align 8
  %226 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %227 unwind label %449

227:                                              ; preds = %221
  %228 = getelementptr inbounds i8, ptr %17, i64 144
  %229 = extractvalue { double, double } %226, 0
  store double %229, ptr %228, align 16
  %230 = getelementptr inbounds i8, ptr %17, i64 152
  %231 = extractvalue { double, double } %226, 1
  store double %231, ptr %230, align 8
  %232 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %233 unwind label %449

233:                                              ; preds = %227
  %234 = getelementptr inbounds i8, ptr %17, i64 160
  %235 = extractvalue { double, double } %232, 0
  store double %235, ptr %234, align 16
  %236 = getelementptr inbounds i8, ptr %17, i64 168
  %237 = extractvalue { double, double } %232, 1
  store double %237, ptr %236, align 8
  %238 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %239 unwind label %449

239:                                              ; preds = %233
  %240 = getelementptr inbounds i8, ptr %17, i64 176
  %241 = extractvalue { double, double } %238, 0
  store double %241, ptr %240, align 16
  %242 = getelementptr inbounds i8, ptr %17, i64 184
  %243 = extractvalue { double, double } %238, 1
  store double %243, ptr %242, align 8
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %18) #11
  %244 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %245 unwind label %451

245:                                              ; preds = %239
  %246 = extractvalue { double, double } %244, 0
  store double %246, ptr %18, align 16
  %247 = getelementptr inbounds i8, ptr %18, i64 8
  %248 = extractvalue { double, double } %244, 1
  store double %248, ptr %247, align 8
  %249 = getelementptr inbounds i8, ptr %18, i64 16
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %249, float noundef 0.000000e+00, float noundef 1.250000e+00, float noundef 0.000000e+00)
          to label %250 unwind label %451

250:                                              ; preds = %245
  %251 = getelementptr inbounds i8, ptr %18, i64 32
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %251, float noundef 0.000000e+00, float noundef 0x3FF7333340000000, float noundef 0.000000e+00)
          to label %252 unwind label %451

252:                                              ; preds = %250
  %253 = getelementptr inbounds i8, ptr %18, i64 48
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %253, float noundef 0.000000e+00, float noundef 0x3FFA666660000000, float noundef 0.000000e+00)
          to label %254 unwind label %451

254:                                              ; preds = %252
  %255 = getelementptr inbounds i8, ptr %18, i64 64
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %255, float noundef 0xBFCCCCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %256 unwind label %451

256:                                              ; preds = %254
  %257 = getelementptr inbounds i8, ptr %18, i64 80
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %257, float noundef 0x3FCCCCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %258 unwind label %451

258:                                              ; preds = %256
  %259 = getelementptr inbounds i8, ptr %18, i64 96
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %259, float noundef 0xBFE4CCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %260 unwind label %451

260:                                              ; preds = %258
  %261 = getelementptr inbounds i8, ptr %18, i64 112
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %261, float noundef 0x3FE4CCCCC0000000, float noundef 0x3FF8CCCCC0000000, float noundef 0.000000e+00)
          to label %262 unwind label %451

262:                                              ; preds = %260
  %263 = getelementptr inbounds i8, ptr %18, i64 128
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %263, float noundef 0xBFC3333340000000, float noundef 0x3FF0CCCCC0000000, float noundef 0.000000e+00)
          to label %264 unwind label %451

264:                                              ; preds = %262
  %265 = getelementptr inbounds i8, ptr %18, i64 144
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %265, float noundef 0x3FC3333340000000, float noundef 0x3FF0CCCCC0000000, float noundef 0.000000e+00)
          to label %266 unwind label %451

266:                                              ; preds = %264
  %267 = getelementptr inbounds i8, ptr %18, i64 160
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %267, float noundef 0xBFC3333340000000, float noundef 0x3FE19999A0000000, float noundef 0.000000e+00)
          to label %268 unwind label %451

268:                                              ; preds = %266
  %269 = getelementptr inbounds i8, ptr %18, i64 176
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %269, float noundef 0x3FC3333340000000, float noundef 0x3FE19999A0000000, float noundef 0.000000e+00)
          to label %270 unwind label %451

270:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %19) #11
  %271 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %272 unwind label %453

272:                                              ; preds = %270
  %273 = extractvalue { double, double } %271, 0
  store double %273, ptr %19, align 16
  %274 = getelementptr inbounds i8, ptr %19, i64 8
  %275 = extractvalue { double, double } %271, 1
  store double %275, ptr %274, align 8
  %276 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %277 unwind label %453

277:                                              ; preds = %272
  %278 = getelementptr inbounds i8, ptr %19, i64 16
  %279 = extractvalue { double, double } %276, 0
  store double %279, ptr %278, align 16
  %280 = getelementptr inbounds i8, ptr %19, i64 24
  %281 = extractvalue { double, double } %276, 1
  store double %281, ptr %280, align 8
  %282 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %283 unwind label %453

283:                                              ; preds = %277
  %284 = getelementptr inbounds i8, ptr %19, i64 32
  %285 = extractvalue { double, double } %282, 0
  store double %285, ptr %284, align 16
  %286 = getelementptr inbounds i8, ptr %19, i64 40
  %287 = extractvalue { double, double } %282, 1
  store double %287, ptr %286, align 8
  %288 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %289 unwind label %453

289:                                              ; preds = %283
  %290 = getelementptr inbounds i8, ptr %19, i64 48
  %291 = extractvalue { double, double } %288, 0
  store double %291, ptr %290, align 16
  %292 = getelementptr inbounds i8, ptr %19, i64 56
  %293 = extractvalue { double, double } %288, 1
  store double %293, ptr %292, align 8
  %294 = getelementptr inbounds i8, ptr %19, i64 64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #11
  %295 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %296 unwind label %455

296:                                              ; preds = %289
  %297 = extractvalue { double, double } %295, 0
  store double %297, ptr %20, align 16
  %298 = getelementptr inbounds i8, ptr %20, i64 8
  %299 = extractvalue { double, double } %295, 1
  store double %299, ptr %298, align 8
  %300 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %20)
          to label %301 unwind label %455

301:                                              ; preds = %296
  %302 = extractvalue { double, double } %300, 0
  store double %302, ptr %294, align 16
  %303 = getelementptr inbounds i8, ptr %19, i64 72
  %304 = extractvalue { double, double } %300, 1
  store double %304, ptr %303, align 8
  %305 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %306 unwind label %455

306:                                              ; preds = %301
  %307 = getelementptr inbounds i8, ptr %19, i64 80
  %308 = extractvalue { double, double } %305, 0
  store double %308, ptr %307, align 16
  %309 = getelementptr inbounds i8, ptr %19, i64 88
  %310 = extractvalue { double, double } %305, 1
  store double %310, ptr %309, align 8
  %311 = getelementptr inbounds i8, ptr %19, i64 96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #11
  %312 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %313 unwind label %457

313:                                              ; preds = %306
  %314 = extractvalue { double, double } %312, 0
  store double %314, ptr %21, align 16
  %315 = getelementptr inbounds i8, ptr %21, i64 8
  %316 = extractvalue { double, double } %312, 1
  store double %316, ptr %315, align 8
  %317 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %21)
          to label %318 unwind label %457

318:                                              ; preds = %313
  %319 = extractvalue { double, double } %317, 0
  store double %319, ptr %311, align 16
  %320 = getelementptr inbounds i8, ptr %19, i64 104
  %321 = extractvalue { double, double } %317, 1
  store double %321, ptr %320, align 8
  %322 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %323 unwind label %457

323:                                              ; preds = %318
  %324 = getelementptr inbounds i8, ptr %19, i64 112
  %325 = extractvalue { double, double } %322, 0
  store double %325, ptr %324, align 16
  %326 = getelementptr inbounds i8, ptr %19, i64 120
  %327 = extractvalue { double, double } %322, 1
  store double %327, ptr %326, align 8
  %328 = getelementptr inbounds i8, ptr %19, i64 128
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #11
  %329 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %330 unwind label %459

330:                                              ; preds = %323
  %331 = extractvalue { double, double } %329, 0
  store double %331, ptr %22, align 16
  %332 = getelementptr inbounds i8, ptr %22, i64 8
  %333 = extractvalue { double, double } %329, 1
  store double %333, ptr %332, align 8
  %334 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %22)
          to label %335 unwind label %459

335:                                              ; preds = %330
  %336 = extractvalue { double, double } %334, 0
  store double %336, ptr %328, align 16
  %337 = getelementptr inbounds i8, ptr %19, i64 136
  %338 = extractvalue { double, double } %334, 1
  store double %338, ptr %337, align 8
  %339 = getelementptr inbounds i8, ptr %19, i64 144
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #11
  %340 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %341 unwind label %461

341:                                              ; preds = %335
  %342 = extractvalue { double, double } %340, 0
  store double %342, ptr %23, align 16
  %343 = getelementptr inbounds i8, ptr %23, i64 8
  %344 = extractvalue { double, double } %340, 1
  store double %344, ptr %343, align 8
  %345 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %23)
          to label %346 unwind label %461

346:                                              ; preds = %341
  %347 = extractvalue { double, double } %345, 0
  store double %347, ptr %339, align 16
  %348 = getelementptr inbounds i8, ptr %19, i64 152
  %349 = extractvalue { double, double } %345, 1
  store double %349, ptr %348, align 8
  %350 = getelementptr inbounds i8, ptr %19, i64 160
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #11
  %351 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %352 unwind label %463

352:                                              ; preds = %346
  %353 = extractvalue { double, double } %351, 0
  store double %353, ptr %24, align 16
  %354 = getelementptr inbounds i8, ptr %24, i64 8
  %355 = extractvalue { double, double } %351, 1
  store double %355, ptr %354, align 8
  %356 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %24)
          to label %357 unwind label %463

357:                                              ; preds = %352
  %358 = extractvalue { double, double } %356, 0
  store double %358, ptr %350, align 16
  %359 = getelementptr inbounds i8, ptr %19, i64 168
  %360 = extractvalue { double, double } %356, 1
  store double %360, ptr %359, align 8
  %361 = getelementptr inbounds i8, ptr %19, i64 176
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #11
  %362 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %363 unwind label %465

363:                                              ; preds = %357
  %364 = extractvalue { double, double } %362, 0
  store double %364, ptr %25, align 16
  %365 = getelementptr inbounds i8, ptr %25, i64 8
  %366 = extractvalue { double, double } %362, 1
  store double %366, ptr %365, align 8
  %367 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %25)
          to label %368 unwind label %465

368:                                              ; preds = %363
  %369 = extractvalue { double, double } %367, 0
  store double %369, ptr %361, align 16
  %370 = getelementptr inbounds i8, ptr %19, i64 184
  %371 = extractvalue { double, double } %367, 1
  store double %371, ptr %370, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #11
  %372 = invoke noundef ptr @_ZN3JPH15RagdollSettingsnwEm(i64 noundef 112)
          to label %373 unwind label %472

373:                                              ; preds = %368
  invoke void @_ZN3JPH15RagdollSettingsC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %372)
          to label %374 unwind label %474

374:                                              ; preds = %373
  %375 = getelementptr inbounds i8, ptr %372, i64 8
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_8SkeletonEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %375, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %377 unwind label %472

377:                                              ; preds = %374
  %378 = getelementptr inbounds i8, ptr %372, i64 16
  %379 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %380 = call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %379)
  %381 = sext i32 %380 to i64
  invoke void @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef %381)
          to label %.preheader unwind label %472

.preheader:                                       ; preds = %377
  %382 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %383 = call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %382)
  %384 = icmp sgt i32 %383, 0
  br i1 %384, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %385 = invoke noundef nonnull align 16 dereferenceable(264) ptr @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef 0)
          to label %386 unwind label %.loopexit.split-lp

386:                                              ; preds = %.lr.ph.preheader
  %387 = call noundef ptr @_ZNK3JPH3RefINS_5ShapeEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
  invoke void @_ZN3JPH20BodyCreationSettings8SetShapeEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(256) %385, ptr noundef %387)
          to label %388 unwind label %.loopexit.split-lp

388:                                              ; preds = %386
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %385, ptr noundef nonnull align 16 dereferenceable(16) %16, i64 16, i1 false), !tbaa.struct !5
  %389 = getelementptr inbounds i8, ptr %385, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %389, ptr noundef nonnull align 16 dereferenceable(16) %17, i64 16, i1 false), !tbaa.struct !5
  %390 = getelementptr inbounds i8, ptr %385, i64 96
  store i8 2, ptr %390, align 16, !tbaa !9
  %391 = getelementptr inbounds i8, ptr %385, i64 72
  store i16 1, ptr %391, align 8, !tbaa !30
  %392 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %393 = call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %392)
  %394 = icmp sgt i32 %393, 1
  br i1 %394, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %522, %388, %.preheader
  %395 = invoke noundef zeroext i1 @_ZN3JPH15RagdollSettings9StabilizeEv(ptr noundef nonnull align 8 dereferenceable(112) %372)
          to label %527 unwind label %472

396:                                              ; preds = %0
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #11
  br label %555

398:                                              ; preds = %29
  %399 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #11
  br label %555

400:                                              ; preds = %32
  %401 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #11
  br label %555

402:                                              ; preds = %35
  %403 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  br label %555

404:                                              ; preds = %38
  %405 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #11
  br label %555

406:                                              ; preds = %41
  %407 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #11
  br label %555

408:                                              ; preds = %44
  %409 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  br label %555

410:                                              ; preds = %47
  %411 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #11
  br label %555

412:                                              ; preds = %50
  %413 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #11
  br label %555

414:                                              ; preds = %53
  %415 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  br label %555

416:                                              ; preds = %56
  %417 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #11
  br label %555

418:                                              ; preds = %59
  %419 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #11
  br label %555

.thread:                                          ; preds = %64
  %420 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %63) #11
  br label %.loopexit

421:                                              ; preds = %69
  %422 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %68) #11
  br label %.preheader115.preheader

423:                                              ; preds = %74
  %424 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %73) #11
  br label %.preheader115.preheader

425:                                              ; preds = %79
  %426 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %78) #11
  br label %.preheader115.preheader

427:                                              ; preds = %84
  %428 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %83) #11
  br label %.preheader115.preheader

429:                                              ; preds = %89
  %430 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %88) #11
  br label %.preheader115.preheader

431:                                              ; preds = %94
  %432 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %93) #11
  br label %.preheader115.preheader

433:                                              ; preds = %99
  %434 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %98) #11
  br label %.preheader115.preheader

435:                                              ; preds = %104
  %436 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %103) #11
  br label %.preheader115.preheader

437:                                              ; preds = %109
  %438 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %108) #11
  br label %.preheader115.preheader

439:                                              ; preds = %114
  %440 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %113) #11
  br label %.preheader115.preheader

441:                                              ; preds = %119
  %442 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %118) #11
  br label %.preheader115.preheader

.thread148:                                       ; preds = %120, %116, %115, %111, %110, %106, %105, %101, %100, %96, %95, %91, %90, %86, %85, %81, %80, %76, %75, %71, %70, %66
  %.086.ph = phi ptr [ %67, %66 ], [ %67, %70 ], [ %72, %71 ], [ %72, %75 ], [ %77, %76 ], [ %77, %80 ], [ %82, %81 ], [ %82, %85 ], [ %87, %86 ], [ %87, %90 ], [ %92, %91 ], [ %92, %95 ], [ %97, %96 ], [ %97, %100 ], [ %102, %101 ], [ %102, %105 ], [ %107, %106 ], [ %107, %110 ], [ %112, %111 ], [ %112, %115 ], [ %117, %116 ], [ %117, %120 ]
  %lpad.thr_comm = landingpad { ptr, i32 }
          cleanup
  br label %.preheader115.preheader

443:                                              ; preds = %62, %65
  %lpad.thr_comm.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.preheader115.preheader:                          ; preds = %421, %423, %425, %427, %429, %431, %433, %435, %437, %439, %441, %.thread148
  %.pn145 = phi { ptr, i32 } [ %lpad.thr_comm, %.thread148 ], [ %422, %421 ], [ %424, %423 ], [ %426, %425 ], [ %428, %427 ], [ %430, %429 ], [ %432, %431 ], [ %434, %433 ], [ %436, %435 ], [ %438, %437 ], [ %440, %439 ], [ %442, %441 ]
  %.187144 = phi ptr [ %.086.ph, %.thread148 ], [ %67, %421 ], [ %72, %423 ], [ %77, %425 ], [ %82, %427 ], [ %87, %429 ], [ %92, %431 ], [ %97, %433 ], [ %102, %435 ], [ %107, %437 ], [ %112, %439 ], [ %117, %441 ]
  br label %.preheader115

.preheader115:                                    ; preds = %.preheader115.preheader, %.preheader115
  %444 = phi ptr [ %445, %.preheader115 ], [ %.187144, %.preheader115.preheader ]
  %445 = getelementptr inbounds i8, ptr %444, i64 -8
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %445) #11
  %446 = icmp eq ptr %445, %15
  br i1 %446, label %.loopexit, label %.preheader115

447:                                              ; preds = %142, %140, %138, %136, %134, %132, %130, %128, %126, %124, %122, %121
  %448 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

449:                                              ; preds = %233, %227, %221, %216, %212, %206, %202, %196, %192, %186, %182, %175, %170, %166, %160, %156, %150, %146, %144
  %450 = landingpad { ptr, i32 }
          cleanup
  br label %543

451:                                              ; preds = %268, %266, %264, %262, %260, %258, %256, %254, %252, %250, %245, %239
  %452 = landingpad { ptr, i32 }
          cleanup
  br label %542

453:                                              ; preds = %283, %277, %272, %270
  %454 = landingpad { ptr, i32 }
          cleanup
  br label %541

455:                                              ; preds = %301, %296, %289
  %456 = landingpad { ptr, i32 }
          cleanup
  br label %471

457:                                              ; preds = %318, %313, %306
  %458 = landingpad { ptr, i32 }
          cleanup
  br label %470

459:                                              ; preds = %330, %323
  %460 = landingpad { ptr, i32 }
          cleanup
  br label %469

461:                                              ; preds = %341, %335
  %462 = landingpad { ptr, i32 }
          cleanup
  br label %468

463:                                              ; preds = %352, %346
  %464 = landingpad { ptr, i32 }
          cleanup
  br label %467

465:                                              ; preds = %363, %357
  %466 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #11
  br label %467

467:                                              ; preds = %465, %463
  %.pn91 = phi { ptr, i32 } [ %466, %465 ], [ %464, %463 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #11
  br label %468

468:                                              ; preds = %467, %461
  %.pn91.pn = phi { ptr, i32 } [ %.pn91, %467 ], [ %462, %461 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #11
  br label %469

469:                                              ; preds = %468, %459
  %.pn91.pn.pn = phi { ptr, i32 } [ %.pn91.pn, %468 ], [ %460, %459 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #11
  br label %470

470:                                              ; preds = %469, %457
  %.pn91.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn, %469 ], [ %458, %457 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #11
  br label %471

471:                                              ; preds = %470, %455
  %.pn91.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn.pn, %470 ], [ %456, %455 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #11
  br label %541

472:                                              ; preds = %528, %527, %._crit_edge, %377, %374, %368
  %473 = landingpad { ptr, i32 }
          cleanup
  br label %541

474:                                              ; preds = %373
  %475 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH15RagdollSettingsdlEPv(ptr noundef %372) #11
  br label %541

.lr.ph:                                           ; preds = %388, %522
  %indvars.iv = phi i64 [ %indvars.iv.next, %522 ], [ 1, %388 ]
  %476 = invoke noundef nonnull align 16 dereferenceable(264) ptr @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef %indvars.iv)
          to label %477 unwind label %.loopexit123

477:                                              ; preds = %.lr.ph
  %478 = getelementptr inbounds [12 x %"class.JPH::Ref.0"], ptr %15, i64 0, i64 %indvars.iv
  %479 = call noundef ptr @_ZNK3JPH3RefINS_5ShapeEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %478)
  invoke void @_ZN3JPH20BodyCreationSettings8SetShapeEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(256) %476, ptr noundef %479)
          to label %480 unwind label %.loopexit123

480:                                              ; preds = %477
  %481 = getelementptr inbounds [12 x %"class.JPH::Vec3"], ptr %16, i64 0, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %476, ptr noundef nonnull align 16 dereferenceable(16) %481, i64 16, i1 false), !tbaa.struct !5
  %482 = getelementptr inbounds [12 x %"class.JPH::Quat"], ptr %17, i64 0, i64 %indvars.iv
  %483 = getelementptr inbounds i8, ptr %476, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %483, ptr noundef nonnull align 16 dereferenceable(16) %482, i64 16, i1 false), !tbaa.struct !5
  %484 = getelementptr inbounds i8, ptr %476, i64 96
  store i8 2, ptr %484, align 16, !tbaa !9
  %485 = getelementptr inbounds i8, ptr %476, i64 72
  store i16 1, ptr %485, align 8, !tbaa !30
  %486 = invoke noundef ptr @_ZN3JPH28SwingTwistConstraintSettingsnwEm(i64 noundef 224)
          to label %487 unwind label %519

487:                                              ; preds = %480
  invoke void @_ZN3JPH28SwingTwistConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(224) %486)
          to label %488 unwind label %520

488:                                              ; preds = %487
  %489 = getelementptr inbounds i8, ptr %486, i64 28
  store float 0x3FB99999A0000000, ptr %489, align 4, !tbaa !31
  %490 = getelementptr inbounds [12 x %"class.JPH::Vec3"], ptr %18, i64 0, i64 %indvars.iv
  %491 = getelementptr inbounds i8, ptr %486, i64 96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %491, ptr noundef nonnull align 16 dereferenceable(16) %490, i64 16, i1 false), !tbaa.struct !5
  %492 = getelementptr inbounds i8, ptr %486, i64 48
  call void @llvm.memmove.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %492, ptr noundef nonnull align 16 dereferenceable(16) %490, i64 16, i1 false)
  %493 = getelementptr inbounds [12 x %"class.JPH::Vec3"], ptr %19, i64 0, i64 %indvars.iv
  %494 = getelementptr inbounds i8, ptr %486, i64 112
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %494, ptr noundef nonnull align 16 dereferenceable(16) %493, i64 16, i1 false), !tbaa.struct !5
  %495 = getelementptr inbounds i8, ptr %486, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %495, ptr noundef nonnull align 16 dereferenceable(16) %493, i64 16, i1 false)
  %496 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %497 unwind label %521

497:                                              ; preds = %488
  %498 = extractvalue { double, double } %496, 0
  %499 = extractvalue { double, double } %496, 1
  %500 = getelementptr inbounds i8, ptr %486, i64 128
  store double %498, ptr %500, align 16
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %486, i64 136
  store double %499, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !6
  %501 = getelementptr inbounds i8, ptr %486, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %501, ptr noundef nonnull align 16 dereferenceable(16) %500, i64 16, i1 false), !tbaa.struct !5
  %502 = getelementptr inbounds [12 x float], ptr @__const._ZN13RagdollLoader7sCreateEv.twist_angle, i64 0, i64 %indvars.iv
  %503 = load float, ptr %502, align 4, !tbaa !37
  %504 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %503)
  %505 = fneg float %504
  %506 = getelementptr inbounds i8, ptr %486, i64 156
  store float %505, ptr %506, align 4, !tbaa !38
  %507 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %503)
  %508 = getelementptr inbounds i8, ptr %486, i64 160
  store float %507, ptr %508, align 16, !tbaa !46
  %509 = getelementptr inbounds [12 x float], ptr @__const._ZN13RagdollLoader7sCreateEv.normal_angle, i64 0, i64 %indvars.iv
  %510 = load float, ptr %509, align 4, !tbaa !37
  %511 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %510)
  %512 = getelementptr inbounds i8, ptr %486, i64 148
  store float %511, ptr %512, align 4, !tbaa !47
  %513 = getelementptr inbounds [12 x float], ptr @__const._ZN13RagdollLoader7sCreateEv.plane_angle, i64 0, i64 %indvars.iv
  %514 = load float, ptr %513, align 4, !tbaa !37
  %515 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef %514)
  %516 = getelementptr inbounds i8, ptr %486, i64 152
  store float %515, ptr %516, align 8, !tbaa !48
  %517 = getelementptr inbounds i8, ptr %476, i64 256
  %518 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_25TwoBodyConstraintSettingsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %517, ptr noundef nonnull %486)
          to label %522 unwind label %519

.loopexit123:                                     ; preds = %.lr.ph, %477
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %541

.loopexit.split-lp:                               ; preds = %.lr.ph.preheader, %386
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %541

519:                                              ; preds = %497, %480
  %lpad.loopexit126 = landingpad { ptr, i32 }
          cleanup
  br label %541

520:                                              ; preds = %487
  %lpad.loopexit131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH28SwingTwistConstraintSettingsdlEPv(ptr noundef %486) #11
  br label %541

521:                                              ; preds = %488
  %lpad.loopexit136 = landingpad { ptr, i32 }
          cleanup
  br label %541

522:                                              ; preds = %497
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %523 = call noundef ptr @_ZNK3JPH3RefINS_8SkeletonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %524 = call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %523)
  %525 = sext i32 %524 to i64
  %526 = icmp slt i64 %indvars.iv.next, %525
  br i1 %526, label %.lr.ph, label %._crit_edge, !llvm.loop !49

527:                                              ; preds = %._crit_edge
  invoke void @_ZN3JPH15RagdollSettings28DisableParentChildCollisionsEPKNS_5Mat44Ef(ptr noundef nonnull align 8 dereferenceable(112) %372, ptr noundef null, float noundef 0.000000e+00)
          to label %528 unwind label %472

528:                                              ; preds = %527
  invoke void @_ZN3JPH15RagdollSettings35CalculateBodyIndexToConstraintIndexEv(ptr noundef nonnull align 8 dereferenceable(112) %372)
          to label %529 unwind label %472

529:                                              ; preds = %528
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %16) #11
  %530 = getelementptr inbounds i8, ptr %15, i64 88
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %530) #11
  %531 = getelementptr inbounds i8, ptr %15, i64 80
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %531) #11
  %532 = getelementptr inbounds i8, ptr %15, i64 72
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %532) #11
  %533 = getelementptr inbounds i8, ptr %15, i64 64
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %533) #11
  %534 = getelementptr inbounds i8, ptr %15, i64 56
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %534) #11
  %535 = getelementptr inbounds i8, ptr %15, i64 48
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %535) #11
  %536 = getelementptr inbounds i8, ptr %15, i64 40
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %536) #11
  %537 = getelementptr inbounds i8, ptr %15, i64 32
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %537) #11
  %538 = getelementptr inbounds i8, ptr %15, i64 24
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %538) #11
  %539 = getelementptr inbounds i8, ptr %15, i64 16
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %539) #11
  %540 = getelementptr inbounds i8, ptr %15, i64 8
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %540) #11
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %15) #11
  call void @_ZN3JPH3RefINS_8SkeletonEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #11
  ret ptr %372

541:                                              ; preds = %.loopexit123, %.loopexit.split-lp, %472, %474, %519, %520, %521, %471, %453
  %.pn97.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn.pn.pn, %471 ], [ %454, %453 ], [ %473, %472 ], [ %475, %474 ], [ %lpad.loopexit126, %519 ], [ %lpad.loopexit136, %521 ], [ %lpad.loopexit131, %520 ], [ %lpad.loopexit, %.loopexit123 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %19) #11
  br label %542

542:                                              ; preds = %541, %451
  %.pn97.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn, %541 ], [ %452, %451 ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %18) #11
  br label %543

543:                                              ; preds = %542, %449
  %.pn97.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn.pn, %542 ], [ %450, %449 ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %17) #11
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %543, %447
  %.pn97.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn.pn.pn, %543 ], [ %448, %447 ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %16) #11
  %544 = getelementptr inbounds i8, ptr %15, i64 88
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %544) #11
  %545 = getelementptr inbounds i8, ptr %15, i64 80
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %545) #11
  %546 = getelementptr inbounds i8, ptr %15, i64 72
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %546) #11
  %547 = getelementptr inbounds i8, ptr %15, i64 64
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %547) #11
  %548 = getelementptr inbounds i8, ptr %15, i64 56
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %548) #11
  %549 = getelementptr inbounds i8, ptr %15, i64 48
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %549) #11
  %550 = getelementptr inbounds i8, ptr %15, i64 40
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %550) #11
  %551 = getelementptr inbounds i8, ptr %15, i64 32
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %551) #11
  %552 = getelementptr inbounds i8, ptr %15, i64 24
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %552) #11
  %553 = getelementptr inbounds i8, ptr %15, i64 16
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %553) #11
  %554 = getelementptr inbounds i8, ptr %15, i64 8
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %554) #11
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader115, %443, %.loopexit.loopexit, %.thread
  %.pn97.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %lpad.thr_comm.split-lp, %443 ], [ %420, %.thread ], [ %.pn97.pn.pn.pn.pn.pn.pn, %.loopexit.loopexit ], [ %.pn145, %.preheader115 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %15) #11
  br label %555

555:                                              ; preds = %398, %404, %412, %.loopexit, %418, %416, %414, %410, %408, %406, %402, %400, %396
  %.pn97.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %397, %396 ], [ %399, %398 ], [ %403, %402 ], [ %401, %400 ], [ %405, %404 ], [ %411, %410 ], [ %409, %408 ], [ %407, %406 ], [ %413, %412 ], [ %.pn97.pn.pn.pn.pn.pn.pn.pn, %.loopexit ], [ %419, %418 ], [ %417, %416 ], [ %415, %414 ]
  call void @_ZN3JPH3RefINS_8SkeletonEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #11
  resume { ptr, i32 } %.pn97.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3JPH8Skeleton8AddJointERKSt17basic_string_viewIcSt11char_traitsIcEEi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #7 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) #8

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(264) ptr @_ZN3JPH5ArrayINS_15RagdollSettings4PartENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH28SwingTwistConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(224)) unnamed_addr #4 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef) local_unnamed_addr #6

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

declare noundef zeroext i1 @_ZN3JPH15RagdollSettings9StabilizeEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #9

declare void @_ZN3JPH15RagdollSettings28DisableParentChildCollisionsEPKNS_5Mat44Ef(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, float noundef) local_unnamed_addr #9

declare void @_ZN3JPH15RagdollSettings35CalculateBodyIndexToConstraintIndexEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #9

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 16, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !20, i64 96}
!10 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !11, i64 0, !12, i64 16, !11, i64 32, !11, i64 48, !14, i64 64, !15, i64 72, !16, i64 80, !20, i64 96, !21, i64 97, !22, i64 98, !22, i64 99, !22, i64 100, !22, i64 101, !22, i64 102, !23, i64 103, !22, i64 104, !22, i64 105, !24, i64 108, !24, i64 112, !24, i64 116, !24, i64 120, !24, i64 124, !24, i64 128, !24, i64 132, !19, i64 136, !19, i64 140, !25, i64 144, !24, i64 148, !26, i64 160, !28, i64 240, !29, i64 248}
!11 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!12 = !{!"_ZTSN3JPH4QuatE", !13, i64 0}
!13 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN3JPH14CollisionGroupE", !17, i64 0, !19, i64 8, !19, i64 12}
!17 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!21 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!24 = !{!"float", !7, i64 0}
!25 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!26 = !{!"_ZTSN3JPH14MassPropertiesE", !24, i64 0, !27, i64 16}
!27 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!28 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !18, i64 0}
!29 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !18, i64 0}
!30 = !{!10, !15, i64 72}
!31 = !{!32, !24, i64 28}
!32 = !{!"_ZTSN3JPH18ConstraintSettingsE", !33, i64 0, !34, i64 8, !22, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !24, i64 28, !14, i64 32}
!33 = !{!"_ZTSN3JPH18SerializableObjectE"}
!34 = !{!"_ZTSN3JPH9RefTargetINS_18ConstraintSettingsEEE", !35, i64 0}
!35 = !{!"_ZTSSt6atomicIjE", !36, i64 0}
!36 = !{!"_ZTSSt13__atomic_baseIjE", !19, i64 0}
!37 = !{!24, !24, i64 0}
!38 = !{!39, !24, i64 156}
!39 = !{!"_ZTSN3JPH28SwingTwistConstraintSettingsE", !40, i64 0, !41, i64 40, !11, i64 48, !11, i64 64, !11, i64 80, !11, i64 96, !11, i64 112, !11, i64 128, !42, i64 144, !24, i64 148, !24, i64 152, !24, i64 156, !24, i64 160, !24, i64 164, !43, i64 168, !43, i64 196}
!40 = !{!"_ZTSN3JPH25TwoBodyConstraintSettingsE", !32, i64 0}
!41 = !{!"_ZTSN3JPH16EConstraintSpaceE", !7, i64 0}
!42 = !{!"_ZTSN3JPH10ESwingTypeE", !7, i64 0}
!43 = !{!"_ZTSN3JPH13MotorSettingsE", !44, i64 0, !24, i64 12, !24, i64 16, !24, i64 20, !24, i64 24}
!44 = !{!"_ZTSN3JPH14SpringSettingsE", !45, i64 0, !7, i64 4, !24, i64 8}
!45 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!46 = !{!39, !24, i64 160}
!47 = !{!39, !24, i64 148}
!48 = !{!39, !24, i64 152}
!49 = distinct !{!49, !50, !51}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass