; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Collision/Shape (TaperedCapsuleShape)

; 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::Result" = type <{ %union.anon, i8, [7 x i8] }>
%union.anon = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.2 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.2 = type { i64, [8 x i8] }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::RotatedTranslatedShapeSettings" = type { %"class.JPH::DecoratedShapeSettings", %"class.JPH::Vec3", %"class.JPH::Quat" }
%"class.JPH::DecoratedShapeSettings" = type { %"class.JPH::ShapeSettings", %"class.JPH::RefConst.4", %"class.JPH::RefConst.5" }
%"class.JPH::ShapeSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget", i64, %"class.JPH::Result" }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst.4" = type { ptr }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.7 }
%union.anon.7 = type { <4 x float> }
%"class.JPH::TaperedCapsuleShapeSettings" = type { %"class.JPH::ConvexShapeSettings.base", float, float, float }
%"class.JPH::ConvexShapeSettings.base" = type <{ %"class.JPH::ShapeSettings", %"class.JPH::RefConst", float }>
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::ConvexShapeSettings" = type <{ %"class.JPH::ShapeSettings", %"class.JPH::RefConst", float, [4 x i8] }>

; 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
declare dso_local noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings8IsSphereEv(ptr noundef nonnull align 8 dereferenceable(88)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH27TaperedCapsuleShapeSettings6CreateEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Result") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.JPH::Ref", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca %"class.JPH::RotatedTranslatedShapeSettings", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Quat", align 16
  %13 = alloca %"class.JPH::Result", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  %15 = getelementptr inbounds %"class.JPH::ShapeSettings", ptr %14, i32 0, i32 3
  %16 = call noundef zeroext i1 @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(33) %15)
  br i1 %16, label %17, label %119

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  call void @_ZN3JPH3RefINS_5ShapeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %18 = invoke noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings7IsValidEv(ptr noundef nonnull align 8 dereferenceable(88) %14)
          to label %19 unwind label %34

19:                                               ; preds = %17
  br i1 %18, label %20, label %106

20:                                               ; preds = %19
  %21 = invoke noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings8IsSphereEv(ptr noundef nonnull align 8 dereferenceable(88) %14)
          to label %22 unwind label %34

22:                                               ; preds = %20
  br i1 %21, label %23, label %106

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %24 = getelementptr inbounds %"class.JPH::TaperedCapsuleShapeSettings", ptr %14, i32 0, i32 2
  %25 = load float, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.JPH::TaperedCapsuleShapeSettings", ptr %14, i32 0, i32 3
  %27 = load float, ptr %26, align 4, !tbaa !23
  %28 = fcmp ogt float %25, %27
  br i1 %28, label %29, label %38

29:                                               ; preds = %23
  %30 = getelementptr inbounds %"class.JPH::TaperedCapsuleShapeSettings", ptr %14, i32 0, i32 2
  %31 = load float, ptr %30, align 8, !tbaa !9
  store float %31, ptr %8, align 4, !tbaa !24
  %32 = getelementptr inbounds %"class.JPH::TaperedCapsuleShapeSettings", ptr %14, i32 0, i32 1
  %33 = load float, ptr %32, align 4, !tbaa !25
  store float %33, ptr %9, align 4, !tbaa !24
  br label %44

34:                                               ; preds = %110, %106, %20, %17
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %6, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %7, align 4
  br label %118

38:                                               ; preds = %23
  %39 = getelementptr inbounds %"class.JPH::TaperedCapsuleShapeSettings", ptr %14, i32 0, i32 3
  %40 = load float, ptr %39, align 4, !tbaa !23
  store float %40, ptr %8, align 4, !tbaa !24
  %41 = getelementptr inbounds %"class.JPH::TaperedCapsuleShapeSettings", ptr %14, i32 0, i32 1
  %42 = load float, ptr %41, align 4, !tbaa !25
  %43 = fneg float %42
  store float %43, ptr %9, align 4, !tbaa !24
  br label %44

44:                                               ; preds = %38, %29
  %45 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %46 unwind label %84

46:                                               ; preds = %44
  %47 = load float, ptr %8, align 4, !tbaa !24
  %48 = getelementptr inbounds %"class.JPH::ConvexShapeSettings", ptr %14, i32 0, i32 1
  %49 = invoke noundef ptr @_ZNK3JPH8RefConstINS_15PhysicsMaterialEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %50 unwind label %88

50:                                               ; preds = %46
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %45, float noundef %47, ptr noundef %49)
          to label %51 unwind label %88

51:                                               ; preds = %50
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_5ShapeEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %45)
          to label %53 unwind label %84

53:                                               ; preds = %51
  %54 = load float, ptr %9, align 4, !tbaa !24
  %55 = invoke noundef float @_ZSt3absf(float noundef %54)
          to label %56 unwind label %84

56:                                               ; preds = %53
  %57 = fcmp ogt float %55, 0x3EB0C6F7A0000000
  br i1 %57, label %58, label %101

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 112, ptr %10) #9
  %59 = load float, ptr %9, align 4, !tbaa !24
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 0.000000e+00, float noundef %59, float noundef 0.000000e+00)
          to label %60 unwind label %92

60:                                               ; preds = %58
  %61 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %62 unwind label %92

62:                                               ; preds = %60
  %63 = getelementptr inbounds %"class.JPH::Quat", ptr %12, i32 0, i32 0
  %64 = getelementptr inbounds %"class.JPH::Vec4", ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %union.anon.7, ptr %64, i32 0, i32 0
  %66 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %67 = extractvalue { double, double } %61, 0
  store double %67, ptr %66, align 16
  %68 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %69 = extractvalue { double, double } %61, 1
  store double %69, ptr %68, align 8
  %70 = invoke noundef ptr @_ZNK3JPH3RefINS_5ShapeEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %71 unwind label %92

71:                                               ; preds = %62
  %72 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %73 = load double, ptr %72, align 16
  %74 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %75 = load double, ptr %74, align 8
  %76 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %77 = load double, ptr %76, align 16
  %78 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %79 = load double, ptr %78, align 8
  invoke void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112) %10, double %73, double %75, double %77, double %79, ptr noundef %70)
          to label %80 unwind label %92

80:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #9
  invoke void @_ZNK3JPH30RotatedTranslatedShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8 %13, ptr noundef nonnull align 16 dereferenceable(112) %10)
          to label %81 unwind label %96

81:                                               ; preds = %80
  %82 = getelementptr inbounds %"class.JPH::ShapeSettings", ptr %14, i32 0, i32 3
  %83 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(33) %82, ptr noundef nonnull align 8 dereferenceable(33) %13) #9
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %13) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #9
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %10) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #9
  br label %104

84:                                               ; preds = %101, %53, %51, %44
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %6, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %7, align 4
  br label %105

88:                                               ; preds = %50, %46
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %6, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %7, align 4
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %45) #9
  br label %105

92:                                               ; preds = %71, %62, %60, %58
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %6, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %7, align 4
  br label %100

96:                                               ; preds = %80
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %6, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #9
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %10) #9
  br label %100

100:                                              ; preds = %96, %92
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #9
  br label %105

101:                                              ; preds = %56
  %102 = getelementptr inbounds %"class.JPH::ShapeSettings", ptr %14, i32 0, i32 3
  invoke void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEE3SetERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %102, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %103 unwind label %84

103:                                              ; preds = %101
  br label %104

104:                                              ; preds = %103, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %117

105:                                              ; preds = %100, %88, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %118

106:                                              ; preds = %22, %19
  %107 = invoke noundef ptr @_ZN3JPH19TaperedCapsuleShapenwEm(i64 noundef 96)
          to label %108 unwind label %34

108:                                              ; preds = %106
  %109 = getelementptr inbounds %"class.JPH::ShapeSettings", ptr %14, i32 0, i32 3
  invoke void @_ZN3JPH19TaperedCapsuleShapeC1ERKNS_27TaperedCapsuleShapeSettingsERNS_6ResultINS_3RefINS_5ShapeEEEEE(ptr noundef nonnull align 16 dereferenceable(96) %107, ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(33) %109)
          to label %110 unwind label %113

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_5ShapeEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %107)
          to label %112 unwind label %34

112:                                              ; preds = %110
  br label %117

113:                                              ; preds = %108
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %6, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %7, align 4
  call void @_ZN3JPH19TaperedCapsuleShapedlEPv(ptr noundef %107) #9
  br label %118

117:                                              ; preds = %112, %104
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  br label %119

118:                                              ; preds = %113, %105, %34
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  br label %121

119:                                              ; preds = %117, %2
  %120 = getelementptr inbounds %"class.JPH::ShapeSettings", ptr %14, i32 0, i32 3
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %0, ptr noundef nonnull align 8 dereferenceable(33) %120)
  ret void

121:                                              ; preds = %118
  %122 = load ptr, ptr %6, align 8
  %123 = load i32, ptr %7, align 4
  %124 = insertvalue { ptr, i32 } poison, ptr %122, 0
  %125 = insertvalue { ptr, i32 } %124, i32 %123, 1
  resume { ptr, i32 } %125
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(33)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings7IsValidEv(ptr noundef nonnull align 8 dereferenceable(88)) #2 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) #3

; 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 } @_ZN3JPH4Quat9sIdentityEv() #4 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: mustprogress uwtable
declare dso_local void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112), double, double, double, double, ptr noundef) unnamed_addr #1 align 2

declare void @_ZNK3JPH30RotatedTranslatedShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8, ptr noundef nonnull align 16 dereferenceable(112)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33)) #2 align 2

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH19TaperedCapsuleShapedlEPv(ptr noundef) #5 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: mustprogress uwtable
declare dso_local void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #1 align 2

declare void @_ZN3JPH19TaperedCapsuleShapeC1ERKNS_27TaperedCapsuleShapeSettingsERNS_6ResultINS_3RefINS_5ShapeEEEEE(ptr, ptr, ptr)

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 = { 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 #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 = { 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 #5 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !22, i64 80}
!10 = !{!"_ZTSN3JPH27TaperedCapsuleShapeSettingsE", !11, i64 0, !22, i64 76, !22, i64 80, !22, i64 84}
!11 = !{!"_ZTSN3JPH19ConvexShapeSettingsE", !12, i64 0, !21, i64 64, !22, i64 72}
!12 = !{!"_ZTSN3JPH13ShapeSettingsE", !13, i64 0, !14, i64 8, !18, i64 16, !19, i64 24}
!13 = !{!"_ZTSN3JPH18SerializableObjectE"}
!14 = !{!"_ZTSN3JPH9RefTargetINS_13ShapeSettingsEEE", !15, i64 0}
!15 = !{!"_ZTSSt6atomicIjE", !16, i64 0}
!16 = !{!"_ZTSSt13__atomic_baseIjE", !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN3JPH6ResultINS_3RefINS_5ShapeEEEEE", !7, i64 0, !20, i64 32}
!20 = !{!"_ZTSN3JPH6ResultINS_3RefINS_5ShapeEEEE6EStateE", !7, i64 0}
!21 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!10, !22, i64 84}
!24 = !{!22, !22, i64 0}
!25 = !{!10, !22, i64 76}


; 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::Result" = type <{ %union.anon, i8, [7 x i8] }>
%union.anon = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.2 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.2 = type { i64, [8 x i8] }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::RotatedTranslatedShapeSettings" = type { %"class.JPH::DecoratedShapeSettings", %"class.JPH::Vec3", %"class.JPH::Quat" }
%"class.JPH::DecoratedShapeSettings" = type { %"class.JPH::ShapeSettings", %"class.JPH::RefConst.4", %"class.JPH::RefConst.5" }
%"class.JPH::ShapeSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget", i64, %"class.JPH::Result" }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst.4" = type { ptr }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.7 }
%union.anon.7 = type { <4 x float> }

; 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
declare dso_local noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings8IsSphereEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH27TaperedCapsuleShapeSettings6CreateEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Result") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.JPH::Ref", align 8
  %4 = alloca %"class.JPH::RotatedTranslatedShapeSettings", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Result", align 8
  %7 = getelementptr inbounds i8, ptr %1, i64 24
  %8 = tail call noundef zeroext i1 @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(33) %7)
  br i1 %8, label %9, label %66

9:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  call void @_ZN3JPH3RefINS_5ShapeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %10 = call noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings7IsValidEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  br i1 %10, label %11, label %57

11:                                               ; preds = %9
  %12 = invoke noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings8IsSphereEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %13 unwind label %24

13:                                               ; preds = %11
  br i1 %12, label %14, label %57

14:                                               ; preds = %13
  %15 = getelementptr inbounds i8, ptr %1, i64 80
  %16 = load float, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %1, i64 84
  %18 = load float, ptr %17, align 4, !tbaa !22
  %19 = fcmp ogt float %16, %18
  %20 = getelementptr inbounds i8, ptr %1, i64 76
  %21 = load float, ptr %20, align 4
  %22 = fneg float %21
  %.08 = select i1 %19, float %21, float %22
  %23 = invoke noundef ptr @_ZN3JPH11SphereShapenwEm(i64 noundef 48)
          to label %26 unwind label %47

24:                                               ; preds = %60, %57, %11
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %65

26:                                               ; preds = %14
  %.09 = select i1 %19, float %16, float %18
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  %28 = call noundef ptr @_ZNK3JPH8RefConstINS_15PhysicsMaterialEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %27)
  invoke void @_ZN3JPH11SphereShapeC2EfPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(48) %23, float noundef %.09, ptr noundef %28)
          to label %29 unwind label %49

29:                                               ; preds = %26
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_5ShapeEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %23)
          to label %31 unwind label %47

31:                                               ; preds = %29
  %32 = call noundef float @_ZSt3absf(float noundef %.08)
  %33 = fcmp ogt float %32, 0x3EB0C6F7A0000000
  br i1 %33, label %34, label %56

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %4) #9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef 0.000000e+00, float noundef %.08, float noundef 0.000000e+00)
          to label %35 unwind label %51

35:                                               ; preds = %34
  %36 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %37 unwind label %51

37:                                               ; preds = %35
  %38 = extractvalue { double, double } %36, 0
  %39 = extractvalue { double, double } %36, 1
  %40 = call noundef ptr @_ZNK3JPH3RefINS_5ShapeEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %41 = load double, ptr %5, align 16
  %42 = getelementptr inbounds i8, ptr %5, i64 8
  %43 = load double, ptr %42, align 8
  invoke void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112) %4, double %41, double %43, double %38, double %39, ptr noundef %40)
          to label %44 unwind label %51

44:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #9
  invoke void @_ZNK3JPH30RotatedTranslatedShapeSettings6CreateEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Result") align 8 %6, ptr noundef nonnull align 16 dereferenceable(112) %4)
          to label %45 unwind label %53

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(33) %6) #9
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #9
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %4) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %4) #9
  br label %64

47:                                               ; preds = %56, %29, %14
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %65

49:                                               ; preds = %26
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH11SphereShapedlEPv(ptr noundef %23) #9
  br label %65

51:                                               ; preds = %37, %35, %34
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %44
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #9
  call void @_ZN3JPH22DecoratedShapeSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %4) #9
  br label %55

55:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %4) #9
  br label %65

56:                                               ; preds = %31
  invoke void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEE3SetERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %64 unwind label %47

57:                                               ; preds = %13, %9
  %58 = invoke noundef ptr @_ZN3JPH19TaperedCapsuleShapenwEm(i64 noundef 96)
          to label %59 unwind label %24

59:                                               ; preds = %57
  invoke void @_ZN3JPH19TaperedCapsuleShapeC1ERKNS_27TaperedCapsuleShapeSettingsERNS_6ResultINS_3RefINS_5ShapeEEEEE(ptr noundef nonnull align 16 dereferenceable(96) %58, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(33) %7)
          to label %60 unwind label %62

60:                                               ; preds = %59
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_5ShapeEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %58)
          to label %64 unwind label %24

62:                                               ; preds = %59
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH19TaperedCapsuleShapedlEPv(ptr noundef %58) #9
  br label %65

64:                                               ; preds = %45, %56, %60
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %66

65:                                               ; preds = %47, %49, %55, %62, %24
  %.pn.pn.pn = phi { ptr, i32 } [ %25, %24 ], [ %63, %62 ], [ %.pn, %55 ], [ %48, %47 ], [ %50, %49 ]
  call void @_ZN3JPH3RefINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn.pn.pn

66:                                               ; preds = %64, %2
  call void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %0, ptr noundef nonnull align 8 dereferenceable(33) %7)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH6ResultINS_3RefINS_5ShapeEEEE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH27TaperedCapsuleShapeSettings7IsValidEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_5ShapeEEaSEPS1_(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 float @_ZSt3absf(float noundef) local_unnamed_addr #3

; 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 } @_ZN3JPH4Quat9sIdentityEv() local_unnamed_addr #4 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: mustprogress uwtable
declare dso_local void @_ZN3JPH30RotatedTranslatedShapeSettingsC2ENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr noundef nonnull align 16 dereferenceable(112), double, double, double, double, ptr noundef) unnamed_addr #1 align 2

declare void @_ZNK3JPH30RotatedTranslatedShapeSettings6CreateEv(ptr dead_on_unwind writable sret(%"class.JPH::Result") align 8, ptr noundef nonnull align 16 dereferenceable(112)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH19TaperedCapsuleShapedlEPv(ptr noundef) local_unnamed_addr #5 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: mustprogress uwtable
declare dso_local void @_ZN3JPH6ResultINS_3RefINS_5ShapeEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #1 align 2

declare void @_ZN3JPH19TaperedCapsuleShapeC1ERKNS_27TaperedCapsuleShapeSettingsERNS_6ResultINS_3RefINS_5ShapeEEEEE(ptr, ptr, ptr) local_unnamed_addr

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 = { 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 #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 = { 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 #5 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !21, i64 80}
!6 = !{!"_ZTSN3JPH27TaperedCapsuleShapeSettingsE", !7, i64 0, !21, i64 76, !21, i64 80, !21, i64 84}
!7 = !{!"_ZTSN3JPH19ConvexShapeSettingsE", !8, i64 0, !19, i64 64, !21, i64 72}
!8 = !{!"_ZTSN3JPH13ShapeSettingsE", !9, i64 0, !10, i64 8, !16, i64 16, !17, i64 24}
!9 = !{!"_ZTSN3JPH18SerializableObjectE"}
!10 = !{!"_ZTSN3JPH9RefTargetINS_13ShapeSettingsEEE", !11, i64 0}
!11 = !{!"_ZTSSt6atomicIjE", !12, i64 0}
!12 = !{!"_ZTSSt13__atomic_baseIjE", !13, i64 0}
!13 = !{!"int", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"long", !14, i64 0}
!17 = !{!"_ZTSN3JPH6ResultINS_3RefINS_5ShapeEEEEE", !14, i64 0, !18, i64 32}
!18 = !{!"_ZTSN3JPH6ResultINS_3RefINS_5ShapeEEEE6EStateE", !14, i64 0}
!19 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !20, i64 0}
!20 = !{!"any pointer", !14, i64 0}
!21 = !{!"float", !14, i64 0}
!22 = !{!6, !21, i64 84}


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