; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Character (CharacterVirtual)

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

%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.9", %"class.JPH::RefConst" }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.8", i32, i32 }
%"class.JPH::RefConst.8" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.9" = type { ptr }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::CharacterVirtual" = type <{ %"class.JPH::CharacterBase", %"class.JPH::CharacterID", [4 x i8], ptr, ptr, i8, [3 x i8], float, i32, i32, float, float, float, i32, float, float, i8, [3 x i8], float, float, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Array.2", i32, [4 x i8], %"class.JPH::UnorderedMap", float, i8, [3 x i8], i64, %"class.JPH::BodyID", [12 x i8] }>
%"class.JPH::CharacterBase" = type { ptr, %"class.JPH::RefTarget", ptr, %"class.JPH::RefConst", %"class.JPH::Vec3", %"class.JPH::Plane", float, i32, %"class.JPH::BodyID", %"class.JPH::SubShapeID", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::RefConst.1", i64 }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::RefConst.1" = type { ptr }
%"class.JPH::CharacterID" = type { i32 }
%"class.JPH::Array.2" = type { i64, i64, ptr }
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::CharacterVirtualSettings" = type <{ %"class.JPH::CharacterBaseSettings", %"class.JPH::CharacterID", float, float, [4 x i8], %"class.JPH::Vec3", i8, [3 x i8], float, i32, i32, float, float, float, i32, float, float, %"class.JPH::RefConst", %"class.JPH::BodyID", i16, [10 x i8] }>
%"class.JPH::CharacterBaseSettings" = type { ptr, %"class.JPH::RefTarget.7", %"class.JPH::Vec3", %"class.JPH::Plane", float, i8, %"class.JPH::RefConst" }
%"class.JPH::RefTarget.7" = type { %"struct.std::atomic" }

@_ZTVN3JPH16CharacterVirtualE = external dso_local unnamed_addr constant { [6 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1

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

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: 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16CharacterVirtualC2EPKNS_24CharacterVirtualSettingsENS_4Vec3ENS_4QuatEmPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(372) %0, ptr noundef %1, double %2, double %3, double %4, double %5, i64 noundef %6, ptr noundef %7) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Quat", align 16
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.JPH::AssertLastParam", align 1
  %18 = alloca %"class.JPH::BodyCreationSettings", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Quat", align 16
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %2, ptr %23, align 16
  %24 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %3, ptr %24, align 8
  %25 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %4, ptr %25, align 16
  %26 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %5, ptr %26, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store i64 %6, ptr %13, align 8, !tbaa !9
  store ptr %7, ptr %14, align 8, !tbaa !5
  %27 = load ptr, ptr %11, align 8
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN3JPH13CharacterBaseC2EPKNS_21CharacterBaseSettingsEPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(144) %27, ptr noundef %28, ptr noundef %29)
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr] }, ptr @_ZTVN3JPH16CharacterVirtualE, i32 0, i32 0, i32 2), ptr %27, align 16, !tbaa !11
  %30 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 1
  %31 = load ptr, ptr %12, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %31, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %30, ptr align 16 %32, i64 4, i1 false), !tbaa.struct !13
  %33 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 3
  store ptr null, ptr %33, align 8, !tbaa !16
  %34 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 4
  store ptr null, ptr %34, align 16, !tbaa !38
  %35 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %36, i32 0, i32 6
  %38 = load i8, ptr %37, align 16, !tbaa !39
  store i8 %38, ptr %35, align 8, !tbaa !44
  %39 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 7
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %40, i32 0, i32 8
  %42 = load float, ptr %41, align 4, !tbaa !45
  store float %42, ptr %39, align 4, !tbaa !46
  %43 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 8
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %44, i32 0, i32 9
  %46 = load i32, ptr %45, align 8, !tbaa !47
  store i32 %46, ptr %43, align 16, !tbaa !48
  %47 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 9
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %48, i32 0, i32 10
  %50 = load i32, ptr %49, align 4, !tbaa !49
  store i32 %50, ptr %47, align 4, !tbaa !50
  %51 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 10
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %52, i32 0, i32 11
  %54 = load float, ptr %53, align 16, !tbaa !51
  store float %54, ptr %51, align 8, !tbaa !52
  %55 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 11
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %56, i32 0, i32 12
  %58 = load float, ptr %57, align 4, !tbaa !53
  store float %58, ptr %55, align 4, !tbaa !54
  %59 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 12
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %60, i32 0, i32 13
  %62 = load float, ptr %61, align 8, !tbaa !55
  store float %62, ptr %59, align 16, !tbaa !56
  %63 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 13
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %64, i32 0, i32 14
  %66 = load i32, ptr %65, align 4, !tbaa !57
  store i32 %66, ptr %63, align 4, !tbaa !58
  %67 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 14
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %68, i32 0, i32 15
  %70 = load float, ptr %69, align 16, !tbaa !59
  store float %70, ptr %67, align 8, !tbaa !60
  %71 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 15
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %72, i32 0, i32 16
  %74 = load float, ptr %73, align 4, !tbaa !61
  store float %74, ptr %71, align 4, !tbaa !62
  %75 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 16
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.JPH::CharacterBaseSettings", ptr %76, i32 0, i32 5
  %78 = load i8, ptr %77, align 4, !tbaa !63, !range !64, !noundef !65
  %79 = trunc i8 %78 to i1
  %80 = zext i1 %79 to i8
  store i8 %80, ptr %75, align 16, !tbaa !66
  %81 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 21
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %82, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %81, ptr align 16 %83, i64 16, i1 false), !tbaa.struct !67
  %84 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 22
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %84, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !67
  %85 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %85, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !67
  %86 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 24
  %87 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %88 unwind label %112

88:                                               ; preds = %8
  %89 = getelementptr inbounds %"class.JPH::Vec3", ptr %86, i32 0, i32 0
  %90 = getelementptr inbounds %union.anon, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 0
  %92 = extractvalue { double, double } %87, 0
  store double %92, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 1
  %94 = extractvalue { double, double } %87, 1
  store double %94, ptr %93, align 8
  %95 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 25
  call void @_ZN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %95) #8
  %96 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 26
  store i32 0, ptr %96, align 8, !tbaa !69
  %97 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 28
  call void @_ZN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %97) #8
  %98 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 29
  store float 0x3F91111120000000, ptr %98, align 16, !tbaa !70
  %99 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 30
  store i8 0, ptr %99, align 4, !tbaa !71
  %100 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 32
  %101 = load i64, ptr %13, align 8, !tbaa !9
  store i64 %101, ptr %100, align 8, !tbaa !72
  %102 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 33
  invoke void @_ZN3JPH6BodyIDC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %102)
          to label %103 unwind label %116

103:                                              ; preds = %88
  br label %104

104:                                              ; preds = %103
  %105 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 1
  %106 = invoke noundef zeroext i1 @_ZNK3JPH11CharacterID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4) %105)
          to label %107 unwind label %116

107:                                              ; preds = %104
  br i1 %106, label %108, label %120

108:                                              ; preds = %107
  %109 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 129)
          to label %110 unwind label %116

110:                                              ; preds = %108
  br i1 %109, label %111, label %120

111:                                              ; preds = %110
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !73
  br label %120

112:                                              ; preds = %8
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %15, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %16, align 4
  br label %204

116:                                              ; preds = %130, %126, %122, %108, %104, %88
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %15, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %16, align 4
  br label %203

120:                                              ; preds = %111, %110, %107
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %123, i32 0, i32 3
  %125 = load float, ptr %124, align 8, !tbaa !74
  invoke void @_ZN3JPH16CharacterVirtual14SetMaxStrengthEf(ptr noundef nonnull align 16 dereferenceable(372) %27, float noundef %125)
          to label %126 unwind label %116

126:                                              ; preds = %122
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %127, i32 0, i32 2
  %129 = load float, ptr %128, align 4, !tbaa !75
  invoke void @_ZN3JPH16CharacterVirtual7SetMassEf(ptr noundef nonnull align 16 dereferenceable(372) %27, float noundef %129)
          to label %130 unwind label %116

130:                                              ; preds = %126
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %131, i32 0, i32 17
  %133 = invoke noundef zeroext i1 @_ZNK3JPH8RefConstINS_5ShapeEEneEPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef null)
          to label %134 unwind label %116

134:                                              ; preds = %130
  br i1 %133, label %135, label %202

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 256, ptr %18) #8
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %136, i32 0, i32 17
  %138 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %137)
          to label %139 unwind label %175

139:                                              ; preds = %135
  %140 = invoke { double, double } @_ZNK3JPH16CharacterVirtual20GetInnerBodyPositionEv(ptr noundef nonnull align 16 dereferenceable(372) %27)
          to label %141 unwind label %175

141:                                              ; preds = %139
  %142 = getelementptr inbounds %"class.JPH::Vec3", ptr %19, i32 0, i32 0
  %143 = getelementptr inbounds %union.anon, ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds { double, double }, ptr %143, i32 0, i32 0
  %145 = extractvalue { double, double } %140, 0
  store double %145, ptr %144, align 16
  %146 = getelementptr inbounds { double, double }, ptr %143, i32 0, i32 1
  %147 = extractvalue { double, double } %140, 1
  store double %147, ptr %146, align 8
  %148 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %148, i64 16, i1 false), !tbaa.struct !67
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %149, i32 0, i32 19
  %151 = load i16, ptr %150, align 4, !tbaa !76
  %152 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %153 = load double, ptr %152, align 16
  %154 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %155 = load double, ptr %154, align 8
  %156 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %157 = load double, ptr %156, align 16
  %158 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %159 = load double, ptr %158, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %18, ptr noundef %138, double %153, double %155, double %157, double %159, i8 noundef zeroext 1, i16 noundef zeroext %151)
          to label %160 unwind label %175

160:                                              ; preds = %141
  %161 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %18, i32 0, i32 16
  store i8 0, ptr %161, align 1, !tbaa !77
  %162 = load i64, ptr %13, align 8, !tbaa !9
  %163 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %18, i32 0, i32 4
  store i64 %162, ptr %163, align 16, !tbaa !88
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %164 = load ptr, ptr %14, align 8, !tbaa !5
  %165 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %164)
          to label %166 unwind label %179

166:                                              ; preds = %160
  store ptr %165, ptr %22, align 8, !tbaa !5
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %167, i32 0, i32 18
  %169 = invoke noundef zeroext i1 @_ZNK3JPH6BodyID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4) %168)
          to label %170 unwind label %179

170:                                              ; preds = %166
  br i1 %169, label %171, label %183

171:                                              ; preds = %170
  %172 = load ptr, ptr %22, align 8, !tbaa !5
  %173 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %172, ptr noundef nonnull align 16 dereferenceable(256) %18)
          to label %174 unwind label %179

174:                                              ; preds = %171
  store ptr %173, ptr %21, align 8, !tbaa !5
  br label %189

175:                                              ; preds = %141, %139, %135
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %15, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %16, align 4
  br label %201

179:                                              ; preds = %195, %192, %183, %171, %166, %160
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %15, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %18) #8
  br label %201

183:                                              ; preds = %170
  %184 = load ptr, ptr %22, align 8, !tbaa !5
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  %186 = getelementptr inbounds %"class.JPH::CharacterVirtualSettings", ptr %185, i32 0, i32 18
  %187 = invoke noundef ptr @_ZN3JPH13BodyInterface16CreateBodyWithIDERKNS_6BodyIDERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %184, ptr noundef nonnull align 4 dereferenceable(4) %186, ptr noundef nonnull align 16 dereferenceable(256) %18)
          to label %188 unwind label %179

188:                                              ; preds = %183
  store ptr %187, ptr %21, align 8, !tbaa !5
  br label %189

189:                                              ; preds = %188, %174
  %190 = load ptr, ptr %21, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %192, label %200

192:                                              ; preds = %189
  %193 = load ptr, ptr %21, align 8, !tbaa !5
  %194 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %193)
          to label %195 unwind label %179

195:                                              ; preds = %192
  %196 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 33
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %196, ptr align 4 %194, i64 4, i1 false), !tbaa.struct !13
  %197 = load ptr, ptr %22, align 8, !tbaa !5
  %198 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %27, i32 0, i32 33
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %197, ptr noundef nonnull align 4 dereferenceable(4) %198, i32 noundef 0)
          to label %199 unwind label %179

199:                                              ; preds = %195
  br label %200

200:                                              ; preds = %199, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %18) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %18) #8
  br label %202

201:                                              ; preds = %179, %175
  call void @llvm.lifetime.end.p0(i64 256, ptr %18) #8
  br label %203

202:                                              ; preds = %200, %134
  ret void

203:                                              ; preds = %201, %116
  call void @_ZN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(28) %97) #8
  call void @_ZN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %95) #8
  br label %204

204:                                              ; preds = %203, %112
  call void @_ZN3JPH13CharacterBaseD2Ev(ptr noundef nonnull align 16 dereferenceable(144) %27) #8
  br label %205

205:                                              ; preds = %204
  %206 = load ptr, ptr %15, align 8
  %207 = load i32, ptr %16, align 4
  %208 = insertvalue { ptr, i32 } poison, ptr %206, 0
  %209 = insertvalue { ptr, i32 } %208, i32 %207, 1
  resume { ptr, i32 } %209
}

declare void @_ZN3JPH13CharacterBaseC2EPKNS_21CharacterBaseSettingsEPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(144), ptr noundef, ptr noundef) unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual14SetMaxStrengthEf(ptr noundef nonnull align 16 dereferenceable(372), float noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual7SetMassEf(ptr noundef nonnull align 16 dereferenceable(372), float noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH8RefConstINS_5ShapeEEneEPKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH16CharacterVirtual20GetInnerBodyPositionEv(ptr noundef nonnull align 16 dereferenceable(372)) #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172)) #5 align 2

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

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

declare noundef ptr @_ZN3JPH13BodyInterface16CreateBodyWithIDERKNS_6BodyIDERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(256)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) #6 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{i64 0, i64 4, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !6, i64 152}
!17 = !{!"_ZTSN3JPH16CharacterVirtualE", !18, i64 0, !31, i64 144, !6, i64 152, !6, i64 160, !32, i64 168, !26, i64 172, !15, i64 176, !15, i64 180, !26, i64 184, !26, i64 188, !26, i64 192, !15, i64 196, !26, i64 200, !26, i64 204, !33, i64 208, !26, i64 212, !26, i64 216, !23, i64 224, !23, i64 240, !34, i64 256, !23, i64 272, !35, i64 288, !15, i64 312, !36, i64 320, !26, i64 352, !33, i64 356, !10, i64 360, !28, i64 368}
!18 = !{!"_ZTSN3JPH13CharacterBaseE", !19, i64 8, !6, i64 16, !22, i64 24, !23, i64 32, !24, i64 48, !26, i64 64, !27, i64 68, !28, i64 72, !29, i64 76, !23, i64 80, !23, i64 96, !23, i64 112, !30, i64 128, !10, i64 136}
!19 = !{!"_ZTSN3JPH9RefTargetINS_13CharacterBaseEEE", !20, i64 0}
!20 = !{!"_ZTSSt6atomicIjE", !21, i64 0}
!21 = !{!"_ZTSSt13__atomic_baseIjE", !15, i64 0}
!22 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !6, i64 0}
!23 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!24 = !{!"_ZTSN3JPH5PlaneE", !25, i64 0}
!25 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTSN3JPH13CharacterBase12EGroundStateE", !7, i64 0}
!28 = !{!"_ZTSN3JPH6BodyIDE", !15, i64 0}
!29 = !{!"_ZTSN3JPH10SubShapeIDE", !15, i64 0}
!30 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!31 = !{!"_ZTSN3JPH11CharacterIDE", !15, i64 0}
!32 = !{!"_ZTSN3JPH13EBackFaceModeE", !7, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{!"_ZTSN3JPH4QuatE", !25, i64 0}
!35 = !{!"_ZTSN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEE", !10, i64 0, !10, i64 8, !6, i64 16}
!36 = !{!"_ZTSN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEE", !37, i64 0}
!37 = !{!"_ZTSN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24}
!38 = !{!17, !6, i64 160}
!39 = !{!40, !32, i64 96}
!40 = !{!"_ZTSN3JPH24CharacterVirtualSettingsE", !41, i64 0, !31, i64 64, !26, i64 68, !26, i64 72, !23, i64 80, !32, i64 96, !26, i64 100, !15, i64 104, !15, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !15, i64 124, !26, i64 128, !26, i64 132, !22, i64 136, !28, i64 144, !43, i64 148}
!41 = !{!"_ZTSN3JPH21CharacterBaseSettingsE", !42, i64 8, !23, i64 16, !24, i64 32, !26, i64 48, !33, i64 52, !22, i64 56}
!42 = !{!"_ZTSN3JPH9RefTargetINS_21CharacterBaseSettingsEEE", !20, i64 0}
!43 = !{!"short", !7, i64 0}
!44 = !{!17, !32, i64 168}
!45 = !{!40, !26, i64 100}
!46 = !{!17, !26, i64 172}
!47 = !{!40, !15, i64 104}
!48 = !{!17, !15, i64 176}
!49 = !{!40, !15, i64 108}
!50 = !{!17, !15, i64 180}
!51 = !{!40, !26, i64 112}
!52 = !{!17, !26, i64 184}
!53 = !{!40, !26, i64 116}
!54 = !{!17, !26, i64 188}
!55 = !{!40, !26, i64 120}
!56 = !{!17, !26, i64 192}
!57 = !{!40, !15, i64 124}
!58 = !{!17, !15, i64 196}
!59 = !{!40, !26, i64 128}
!60 = !{!17, !26, i64 200}
!61 = !{!40, !26, i64 132}
!62 = !{!17, !26, i64 204}
!63 = !{!41, !33, i64 52}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!17, !33, i64 208}
!67 = !{i64 0, i64 16, !68}
!68 = !{!7, !7, i64 0}
!69 = !{!17, !15, i64 312}
!70 = !{!17, !26, i64 352}
!71 = !{!17, !33, i64 356}
!72 = !{!17, !10, i64 360}
!73 = !{i64 2159828104}
!74 = !{!40, !26, i64 72}
!75 = !{!40, !26, i64 68}
!76 = !{!40, !43, i64 148}
!77 = !{!78, !33, i64 105}
!78 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !23, i64 0, !34, i64 16, !23, i64 32, !23, i64 48, !10, i64 64, !43, i64 72, !79, i64 80, !81, i64 96, !82, i64 97, !33, i64 98, !33, i64 99, !33, i64 100, !33, i64 101, !33, i64 102, !83, i64 103, !33, i64 104, !33, i64 105, !26, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !26, i64 124, !26, i64 128, !26, i64 132, !15, i64 136, !15, i64 140, !84, i64 144, !26, i64 148, !85, i64 160, !87, i64 240, !22, i64 248}
!79 = !{!"_ZTSN3JPH14CollisionGroupE", !80, i64 0, !15, i64 8, !15, i64 12}
!80 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !6, i64 0}
!81 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!82 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!83 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!84 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!85 = !{!"_ZTSN3JPH14MassPropertiesE", !26, i64 0, !86, i64 16}
!86 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!87 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !6, i64 0}
!88 = !{!78, !10, i64 64}


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

@_ZTVN3JPH16CharacterVirtualE = external dso_local unnamed_addr constant { [6 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1

; 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 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16CharacterVirtualC2EPKNS_24CharacterVirtualSettingsENS_4Vec3ENS_4QuatEmPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(372) %0, ptr noundef %1, double %2, double %3, double %4, double %5, i64 noundef %6, ptr noundef %7) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"class.JPH::BodyCreationSettings", align 16
  tail call void @_ZN3JPH13CharacterBaseC2EPKNS_21CharacterBaseSettingsEPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(144) %0, ptr noundef %1, ptr noundef %7)
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTVN3JPH16CharacterVirtualE, i64 16), ptr %0, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 144
  %11 = getelementptr inbounds i8, ptr %1, i64 64
  %12 = load i32, ptr %11, align 16, !tbaa !8
  store i32 %12, ptr %10, align 16, !tbaa !8
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  %14 = getelementptr inbounds i8, ptr %0, i64 168
  %15 = getelementptr inbounds i8, ptr %1, i64 96
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, i8 0, i64 16, i1 false)
  %16 = load i8, ptr %15, align 16, !tbaa !11
  store i8 %16, ptr %14, align 8, !tbaa !28
  %17 = getelementptr inbounds i8, ptr %0, i64 172
  %18 = getelementptr inbounds i8, ptr %1, i64 100
  %19 = load float, ptr %18, align 4, !tbaa !40
  store float %19, ptr %17, align 4, !tbaa !41
  %20 = getelementptr inbounds i8, ptr %0, i64 176
  %21 = getelementptr inbounds i8, ptr %1, i64 104
  %22 = load <2 x i32>, ptr %21, align 8, !tbaa !8
  store <2 x i32> %22, ptr %20, align 16, !tbaa !8
  %23 = getelementptr inbounds i8, ptr %0, i64 184
  %24 = getelementptr inbounds i8, ptr %1, i64 112
  %25 = load <2 x float>, ptr %24, align 16, !tbaa !42
  store <2 x float> %25, ptr %23, align 8, !tbaa !42
  %26 = getelementptr inbounds i8, ptr %0, i64 192
  %27 = getelementptr inbounds i8, ptr %1, i64 120
  %28 = load float, ptr %27, align 8, !tbaa !43
  store float %28, ptr %26, align 16, !tbaa !44
  %29 = getelementptr inbounds i8, ptr %0, i64 196
  %30 = getelementptr inbounds i8, ptr %1, i64 124
  %31 = load i32, ptr %30, align 4, !tbaa !45
  store i32 %31, ptr %29, align 4, !tbaa !46
  %32 = getelementptr inbounds i8, ptr %0, i64 200
  %33 = getelementptr inbounds i8, ptr %1, i64 128
  %34 = load <2 x float>, ptr %33, align 16, !tbaa !42
  store <2 x float> %34, ptr %32, align 8, !tbaa !42
  %35 = getelementptr inbounds i8, ptr %0, i64 208
  %36 = getelementptr inbounds i8, ptr %1, i64 52
  %37 = load i8, ptr %36, align 4, !tbaa !47, !range !48, !noundef !49
  store i8 %37, ptr %35, align 16, !tbaa !50
  %38 = getelementptr inbounds i8, ptr %0, i64 224
  %39 = getelementptr inbounds i8, ptr %1, i64 80
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %38, ptr noundef nonnull align 16 dereferenceable(16) %39, i64 16, i1 false), !tbaa.struct !51
  %40 = getelementptr inbounds i8, ptr %0, i64 240
  store double %2, ptr %40, align 16
  %.sroa.237.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 248
  store double %3, ptr %.sroa.237.0..sroa_idx, align 8, !tbaa !52
  %41 = getelementptr inbounds i8, ptr %0, i64 256
  store double %4, ptr %41, align 16
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 264
  store double %5, ptr %.sroa.235.0..sroa_idx, align 8, !tbaa !52
  %42 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %43 unwind label %60

43:                                               ; preds = %8
  %44 = getelementptr inbounds i8, ptr %0, i64 272
  %45 = extractvalue { double, double } %42, 0
  store double %45, ptr %44, align 16
  %46 = getelementptr inbounds i8, ptr %0, i64 280
  %47 = extractvalue { double, double } %42, 1
  store double %47, ptr %46, align 8
  %48 = getelementptr inbounds i8, ptr %0, i64 288
  tail call void @_ZN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #9
  %49 = getelementptr inbounds i8, ptr %0, i64 312
  store i32 0, ptr %49, align 8, !tbaa !53
  %50 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %50) #9
  %51 = getelementptr inbounds i8, ptr %0, i64 352
  store float 0x3F91111120000000, ptr %51, align 16, !tbaa !54
  %52 = getelementptr inbounds i8, ptr %0, i64 356
  store i8 0, ptr %52, align 4, !tbaa !55
  %53 = getelementptr inbounds i8, ptr %0, i64 360
  store i64 %6, ptr %53, align 8, !tbaa !56
  %54 = getelementptr inbounds i8, ptr %0, i64 368
  tail call void @_ZN3JPH6BodyIDC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %54)
  %55 = tail call noundef zeroext i1 @_ZNK3JPH11CharacterID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4) %10)
  br i1 %55, label %56, label %64

56:                                               ; preds = %43
  %57 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 129)
          to label %58 unwind label %62

58:                                               ; preds = %56
  br i1 %57, label %59, label %64

59:                                               ; preds = %58
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !57
  br label %64

60:                                               ; preds = %8
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %101

62:                                               ; preds = %56
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %100

64:                                               ; preds = %59, %58, %43
  %65 = getelementptr inbounds i8, ptr %1, i64 72
  %66 = load float, ptr %65, align 8, !tbaa !58
  tail call void @_ZN3JPH16CharacterVirtual14SetMaxStrengthEf(ptr noundef nonnull align 16 dereferenceable(372) %0, float noundef %66)
  %67 = getelementptr inbounds i8, ptr %1, i64 68
  %68 = load float, ptr %67, align 4, !tbaa !59
  tail call void @_ZN3JPH16CharacterVirtual7SetMassEf(ptr noundef nonnull align 16 dereferenceable(372) %0, float noundef %68)
  %69 = getelementptr inbounds i8, ptr %1, i64 136
  %70 = tail call noundef zeroext i1 @_ZNK3JPH8RefConstINS_5ShapeEEneEPKS1_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef null)
  br i1 %70, label %71, label %99

71:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %9) #9
  %72 = tail call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %69)
  %73 = invoke { double, double } @_ZNK3JPH16CharacterVirtual20GetInnerBodyPositionEv(ptr noundef nonnull align 16 dereferenceable(372) %0)
          to label %74 unwind label %87

74:                                               ; preds = %71
  %75 = extractvalue { double, double } %73, 0
  %76 = extractvalue { double, double } %73, 1
  %.sroa.0.0.copyload = load double, ptr %41, align 16
  %.sroa.2.0.copyload = load double, ptr %.sroa.235.0..sroa_idx, align 8, !tbaa !52
  %77 = getelementptr inbounds i8, ptr %1, i64 148
  %78 = load i16, ptr %77, align 4, !tbaa !60
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %9, ptr noundef %72, double %75, double %76, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload, i8 noundef zeroext 1, i16 noundef zeroext %78)
          to label %79 unwind label %87

79:                                               ; preds = %74
  %80 = getelementptr inbounds i8, ptr %9, i64 105
  store i8 0, ptr %80, align 1, !tbaa !61
  %81 = getelementptr inbounds i8, ptr %9, i64 64
  store i64 %6, ptr %81, align 16, !tbaa !72
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %7)
  %83 = getelementptr inbounds i8, ptr %1, i64 144
  %84 = call noundef zeroext i1 @_ZNK3JPH6BodyID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4) %83)
  br i1 %84, label %85, label %91

85:                                               ; preds = %79
  %86 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 16 dereferenceable(256) %9)
          to label %93 unwind label %89

87:                                               ; preds = %74, %71
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %98

89:                                               ; preds = %94, %91, %85
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #9
  br label %98

91:                                               ; preds = %79
  %92 = invoke noundef ptr @_ZN3JPH13BodyInterface16CreateBodyWithIDERKNS_6BodyIDERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 16 dereferenceable(256) %9)
          to label %93 unwind label %89

93:                                               ; preds = %91, %85
  %.038 = phi ptr [ %86, %85 ], [ %92, %91 ]
  %.not = icmp eq ptr %.038, null
  br i1 %.not, label %97, label %94

94:                                               ; preds = %93
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %.038)
  %96 = load i32, ptr %95, align 4, !tbaa !8
  store i32 %96, ptr %54, align 16, !tbaa !8
  invoke void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 4 dereferenceable(4) %54, i32 noundef 0)
          to label %97 unwind label %89

97:                                               ; preds = %94, %93
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %9) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %9) #9
  br label %99

98:                                               ; preds = %89, %87
  %.pn = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %9) #9
  br label %100

99:                                               ; preds = %97, %64
  ret void

100:                                              ; preds = %98, %62
  %.pn.pn = phi { ptr, i32 } [ %.pn, %98 ], [ %63, %62 ]
  call void @_ZN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(28) %50) #9
  call void @_ZN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #9
  br label %101

101:                                              ; preds = %100, %60
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %100 ], [ %61, %60 ]
  call void @_ZN3JPH13CharacterBaseD2Ev(ptr noundef nonnull align 16 dereferenceable(144) %0) #9
  resume { ptr, i32 } %.pn.pn.pn
}

declare void @_ZN3JPH13CharacterBaseC2EPKNS_21CharacterBaseSettingsEPNS_13PhysicsSystemE(ptr noundef nonnull align 16 dereferenceable(144), ptr noundef, ptr noundef) unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual14SetMaxStrengthEf(ptr noundef nonnull align 16 dereferenceable(372), float noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual7SetMassEf(ptr noundef nonnull align 16 dereferenceable(372), float noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH8RefConstINS_5ShapeEEneEPKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH16CharacterVirtual20GetInnerBodyPositionEv(ptr noundef nonnull align 16 dereferenceable(372)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172)) local_unnamed_addr #5 align 2

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

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

declare noundef ptr @_ZN3JPH13BodyInterface16CreateBodyWithIDERKNS_6BodyIDERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(256)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #6 align 2

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !25, i64 96}
!12 = !{!"_ZTSN3JPH24CharacterVirtualSettingsE", !13, i64 0, !24, i64 64, !20, i64 68, !20, i64 72, !17, i64 80, !25, i64 96, !20, i64 100, !9, i64 104, !9, i64 108, !20, i64 112, !20, i64 116, !20, i64 120, !9, i64 124, !20, i64 128, !20, i64 132, !22, i64 136, !26, i64 144, !27, i64 148}
!13 = !{!"_ZTSN3JPH21CharacterBaseSettingsE", !14, i64 8, !17, i64 16, !18, i64 32, !20, i64 48, !21, i64 52, !22, i64 56}
!14 = !{!"_ZTSN3JPH9RefTargetINS_21CharacterBaseSettingsEEE", !15, i64 0}
!15 = !{!"_ZTSSt6atomicIjE", !16, i64 0}
!16 = !{!"_ZTSSt13__atomic_baseIjE", !9, i64 0}
!17 = !{!"_ZTSN3JPH4Vec3E", !10, i64 0}
!18 = !{!"_ZTSN3JPH5PlaneE", !19, i64 0}
!19 = !{!"_ZTSN3JPH4Vec4E", !10, i64 0}
!20 = !{!"float", !10, i64 0}
!21 = !{!"bool", !10, i64 0}
!22 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !23, i64 0}
!23 = !{!"any pointer", !10, i64 0}
!24 = !{!"_ZTSN3JPH11CharacterIDE", !9, i64 0}
!25 = !{!"_ZTSN3JPH13EBackFaceModeE", !10, i64 0}
!26 = !{!"_ZTSN3JPH6BodyIDE", !9, i64 0}
!27 = !{!"short", !10, i64 0}
!28 = !{!29, !25, i64 168}
!29 = !{!"_ZTSN3JPH16CharacterVirtualE", !30, i64 0, !24, i64 144, !23, i64 152, !23, i64 160, !25, i64 168, !20, i64 172, !9, i64 176, !9, i64 180, !20, i64 184, !20, i64 188, !20, i64 192, !9, i64 196, !20, i64 200, !20, i64 204, !21, i64 208, !20, i64 212, !20, i64 216, !17, i64 224, !17, i64 240, !36, i64 256, !17, i64 272, !37, i64 288, !9, i64 312, !38, i64 320, !20, i64 352, !21, i64 356, !35, i64 360, !26, i64 368}
!30 = !{!"_ZTSN3JPH13CharacterBaseE", !31, i64 8, !23, i64 16, !22, i64 24, !17, i64 32, !18, i64 48, !20, i64 64, !32, i64 68, !26, i64 72, !33, i64 76, !17, i64 80, !17, i64 96, !17, i64 112, !34, i64 128, !35, i64 136}
!31 = !{!"_ZTSN3JPH9RefTargetINS_13CharacterBaseEEE", !15, i64 0}
!32 = !{!"_ZTSN3JPH13CharacterBase12EGroundStateE", !10, i64 0}
!33 = !{!"_ZTSN3JPH10SubShapeIDE", !9, i64 0}
!34 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !23, i64 0}
!35 = !{!"long", !10, i64 0}
!36 = !{!"_ZTSN3JPH4QuatE", !19, i64 0}
!37 = !{!"_ZTSN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEE", !35, i64 0, !35, i64 8, !23, i64 16}
!38 = !{!"_ZTSN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEE", !39, i64 0}
!39 = !{!"_ZTSN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EEE", !23, i64 0, !23, i64 8, !9, i64 16, !9, i64 20, !9, i64 24}
!40 = !{!12, !20, i64 100}
!41 = !{!29, !20, i64 172}
!42 = !{!20, !20, i64 0}
!43 = !{!12, !20, i64 120}
!44 = !{!29, !20, i64 192}
!45 = !{!12, !9, i64 124}
!46 = !{!29, !9, i64 196}
!47 = !{!13, !21, i64 52}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = !{!29, !21, i64 208}
!51 = !{i64 0, i64 16, !52}
!52 = !{!10, !10, i64 0}
!53 = !{!29, !9, i64 312}
!54 = !{!29, !20, i64 352}
!55 = !{!29, !21, i64 356}
!56 = !{!29, !35, i64 360}
!57 = !{i64 2159828104}
!58 = !{!12, !20, i64 72}
!59 = !{!12, !20, i64 68}
!60 = !{!12, !27, i64 148}
!61 = !{!62, !21, i64 105}
!62 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !17, i64 0, !36, i64 16, !17, i64 32, !17, i64 48, !35, i64 64, !27, i64 72, !63, i64 80, !65, i64 96, !66, i64 97, !21, i64 98, !21, i64 99, !21, i64 100, !21, i64 101, !21, i64 102, !67, i64 103, !21, i64 104, !21, i64 105, !20, i64 108, !20, i64 112, !20, i64 116, !20, i64 120, !20, i64 124, !20, i64 128, !20, i64 132, !9, i64 136, !9, i64 140, !68, i64 144, !20, i64 148, !69, i64 160, !71, i64 240, !22, i64 248}
!63 = !{!"_ZTSN3JPH14CollisionGroupE", !64, i64 0, !9, i64 8, !9, i64 12}
!64 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !23, i64 0}
!65 = !{!"_ZTSN3JPH11EMotionTypeE", !10, i64 0}
!66 = !{!"_ZTSN3JPH12EAllowedDOFsE", !10, i64 0}
!67 = !{!"_ZTSN3JPH14EMotionQualityE", !10, i64 0}
!68 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !10, i64 0}
!69 = !{!"_ZTSN3JPH14MassPropertiesE", !20, i64 0, !70, i64 16}
!70 = !{!"_ZTSN3JPH5Mat44E", !10, i64 0}
!71 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !23, i64 0}
!72 = !{!62, !35, i64 64}


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