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

; 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.12 }
%union.anon.12 = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::CapsuleShape" = type { %"class.JPH::ConvexShape.base", float, float, [4 x i8] }
%"class.JPH::ConvexShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::RefConst", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.11", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.11" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst" = type { ptr }

@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH12CapsuleShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56), double, double) unnamed_addr #1 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH12CapsuleShape17GetSupportingFaceERKNS_10SubShapeIDENS_4Vec3ES4_RKNS_5Mat44ERNS_11StaticArrayIS4_Lj32EEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, double %2, double %3, double %4, double %5, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(528) %7) unnamed_addr #1 align 2 {
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.JPH::AssertLastParam", align 1
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"struct.JPH::AssertLastParam", align 1
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca float, align 4
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca float, align 4
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca float, align 4
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca float, align 4
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %2, ptr %40, align 16
  %41 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %3, ptr %41, align 8
  %42 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %4, ptr %42, align 16
  %43 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %5, ptr %43, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %6, ptr %13, align 8, !tbaa !5
  store ptr %7, ptr %14, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8
  br label %45

45:                                               ; preds = %8
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = call noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(ptr noundef nonnull align 4 dereferenceable(4) %46)
  br i1 %47, label %51, label %48

48:                                               ; preds = %45
  %49 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef @.str.9, ptr noundef @.str.7, i32 noundef 178, ptr noundef @.str.10)
  br i1 %49, label %50, label %51

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

51:                                               ; preds = %50, %48, %45
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !10
  %54 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %55 = load double, ptr %54, align 16
  %56 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %57 = load double, ptr %56, align 8
  %58 = call noundef zeroext i1 @_ZNK3JPH12CapsuleShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56) %44, double %55, double %57)
  br i1 %58, label %62, label %59

59:                                               ; preds = %53
  %60 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 179)
  br i1 %60, label %61, label %62

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

62:                                               ; preds = %61, %59, %53
  br label %63

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !10
  call void @_ZN3JPH4Vec312SetComponentEjf(ptr noundef nonnull align 16 dereferenceable(16) %18, i32 noundef 1, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %64 = call noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  store float %64, ptr %19, align 4, !tbaa !13
  %65 = load float, ptr %19, align 4, !tbaa !13
  %66 = fcmp oeq float %65, 0.000000e+00
  br i1 %66, label %67, label %68

67:                                               ; preds = %63
  store i32 1, ptr %20, align 4
  br label %173

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  %69 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %70 = getelementptr inbounds %"class.JPH::Vec3", ptr %21, i32 0, i32 0
  %71 = getelementptr inbounds %union.anon.12, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %73 = extractvalue { double, double } %69, 0
  store double %73, ptr %72, align 16
  %74 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %75 = extractvalue { double, double } %69, 1
  store double %75, ptr %74, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %76 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %21)
  store float %76, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #9
  %77 = load float, ptr %22, align 4, !tbaa !13
  %78 = getelementptr inbounds %"class.JPH::CapsuleShape", ptr %44, i32 0, i32 2
  %79 = load float, ptr %78, align 8, !tbaa !15
  %80 = fmul float %77, %79
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 0.000000e+00, float noundef %80, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %81 = load float, ptr %22, align 4, !tbaa !13
  %82 = getelementptr inbounds %"class.JPH::CapsuleShape", ptr %44, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !27
  %84 = fmul float %81, %83
  store float %84, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #9
  %85 = load float, ptr %24, align 4, !tbaa !13
  %86 = load float, ptr %19, align 4, !tbaa !13
  %87 = fdiv float %85, %86
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %18, i64 16, i1 false), !tbaa.struct !10
  %88 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %89 = load double, ptr %88, align 16
  %90 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %91 = load double, ptr %90, align 8
  %92 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %87, double %89, double %91)
  %93 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %94 = getelementptr inbounds %union.anon.12, ptr %93, i32 0, i32 0
  %95 = getelementptr inbounds { double, double }, ptr %94, i32 0, i32 0
  %96 = extractvalue { double, double } %92, 0
  store double %96, ptr %95, align 16
  %97 = getelementptr inbounds { double, double }, ptr %94, i32 0, i32 1
  %98 = extractvalue { double, double } %92, 1
  store double %98, ptr %97, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %25, i64 16, i1 false), !tbaa.struct !10
  %99 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %100 = load double, ptr %99, align 16
  %101 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %102 = load double, ptr %101, align 8
  %103 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %23, double %100, double %102)
  %104 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %105 = getelementptr inbounds %union.anon.12, ptr %104, i32 0, i32 0
  %106 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 0
  %107 = extractvalue { double, double } %103, 0
  store double %107, ptr %106, align 16
  %108 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 1
  %109 = extractvalue { double, double } %103, 1
  store double %109, ptr %108, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #9
  %110 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %23)
  %111 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %112 = getelementptr inbounds %union.anon.12, ptr %111, i32 0, i32 0
  %113 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 0
  %114 = extractvalue { double, double } %110, 0
  store double %114, ptr %113, align 16
  %115 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 1
  %116 = extractvalue { double, double } %110, 1
  store double %116, ptr %115, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 %25, i64 16, i1 false), !tbaa.struct !10
  %117 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %118 = load double, ptr %117, align 16
  %119 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %120 = load double, ptr %119, align 8
  %121 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %118, double %120)
  %122 = getelementptr inbounds %"class.JPH::Vec3", ptr %29, i32 0, i32 0
  %123 = getelementptr inbounds %union.anon.12, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 0
  %125 = extractvalue { double, double } %121, 0
  store double %125, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 1
  %127 = extractvalue { double, double } %121, 1
  store double %127, ptr %126, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !10
  %128 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %129 = load double, ptr %128, align 16
  %130 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %131 = load double, ptr %130, align 8
  %132 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %129, double %131)
  store float %132, ptr %32, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !10
  %133 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %134 = load double, ptr %133, align 16
  %135 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %136 = load double, ptr %135, align 8
  %137 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %29, double %134, double %136)
  store float %137, ptr %34, align 4, !tbaa !13
  %138 = load float, ptr %32, align 4, !tbaa !13
  %139 = load float, ptr %34, align 4, !tbaa !13
  %140 = fsub float %138, %139
  %141 = call noundef float @_ZSt3absf(float noundef %140)
  %142 = call noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  %143 = fmul float 0x3F947AE140000000, %142
  %144 = fcmp olt float %141, %143
  br i1 %144, label %145, label %172

145:                                              ; preds = %68
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #9
  %147 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !10
  %148 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %149 = load double, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %151 = load double, ptr %150, align 8
  %152 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %147, double %149, double %151)
  %153 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %154 = getelementptr inbounds %union.anon.12, ptr %153, i32 0, i32 0
  %155 = getelementptr inbounds { double, double }, ptr %154, i32 0, i32 0
  %156 = extractvalue { double, double } %152, 0
  store double %156, ptr %155, align 16
  %157 = getelementptr inbounds { double, double }, ptr %154, i32 0, i32 1
  %158 = extractvalue { double, double } %152, 1
  store double %158, ptr %157, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %146, ptr noundef nonnull align 16 dereferenceable(16) %36)
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  %159 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #9
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 %29, i64 16, i1 false), !tbaa.struct !10
  %161 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %162 = load double, ptr %161, align 16
  %163 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %164 = load double, ptr %163, align 8
  %165 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %160, double %162, double %164)
  %166 = getelementptr inbounds %"class.JPH::Vec3", ptr %38, i32 0, i32 0
  %167 = getelementptr inbounds %union.anon.12, ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds { double, double }, ptr %167, i32 0, i32 0
  %169 = extractvalue { double, double } %165, 0
  store double %169, ptr %168, align 16
  %170 = getelementptr inbounds { double, double }, ptr %167, i32 0, i32 1
  %171 = extractvalue { double, double } %165, 1
  store double %171, ptr %170, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %159, ptr noundef nonnull align 16 dereferenceable(16) %38)
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #9
  br label %172

172:                                              ; preds = %145, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  store i32 0, ptr %20, align 4
  br label %173

173:                                              ; preds = %172, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  %174 = load i32, ptr %20, align 4
  switch i32 %174, label %176 [
    i32 0, label %175
    i32 1, label %175
  ]

175:                                              ; preds = %173, %173
  ret void

176:                                              ; preds = %173
  unreachable
}

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #4

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #8 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { alwaysinline mustprogress nounwind 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 #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 = { 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 #8 = { 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 #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 = !{i64 2157984240}
!10 = !{i64 0, i64 16, !11}
!11 = !{!7, !7, i64 0}
!12 = !{i64 2157984588}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !14, i64 48}
!16 = !{!"_ZTSN3JPH12CapsuleShapeE", !17, i64 0, !14, i64 44, !14, i64 48}
!17 = !{!"_ZTSN3JPH11ConvexShapeE", !18, i64 0, !26, i64 32, !14, i64 40}
!18 = !{!"_ZTSN3JPH5ShapeE", !19, i64 8, !23, i64 16, !24, i64 24, !25, i64 25}
!19 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !20, i64 0}
!20 = !{!"_ZTSSt6atomicIjE", !21, i64 0}
!21 = !{!"_ZTSSt13__atomic_baseIjE", !22, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN3JPH10EShapeTypeE", !7, i64 0}
!25 = !{!"_ZTSN3JPH13EShapeSubTypeE", !7, i64 0}
!26 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!27 = !{!16, !14, i64 44}


; 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::Vec3" = type { %union.anon.12 }
%union.anon.12 = type { <4 x float> }

@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [20 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

; 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 @_ZNK3JPH12CapsuleShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56), double, double) unnamed_addr #1 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH12CapsuleShape17GetSupportingFaceERKNS_10SubShapeIDENS_4Vec3ES4_RKNS_5Mat44ERNS_11StaticArrayIS4_Lj32EEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, double %2, double %3, double %4, double %5, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(528) %7) unnamed_addr #1 align 2 {
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  store double %2, ptr %9, align 16
  %19 = getelementptr inbounds i8, ptr %9, i64 8
  store double %3, ptr %19, align 8
  store double %4, ptr %10, align 16
  %20 = getelementptr inbounds i8, ptr %10, i64 8
  store double %5, ptr %20, align 8
  %21 = tail call noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(ptr noundef nonnull align 4 dereferenceable(4) %1)
  br i1 %21, label %25, label %22

22:                                               ; preds = %8
  %23 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7, i32 noundef 178, ptr noundef nonnull @.str.10)
  br i1 %23, label %24, label %25

24:                                               ; preds = %22
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !5
  br label %25

25:                                               ; preds = %24, %22, %8
  %26 = tail call noundef zeroext i1 @_ZNK3JPH12CapsuleShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56) %0, double %4, double %5)
  br i1 %26, label %30, label %27

27:                                               ; preds = %25
  %28 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef 179)
  br i1 %28, label %29, label %30

29:                                               ; preds = %27
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !6
  br label %30

30:                                               ; preds = %25, %27, %29
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %11, ptr noundef nonnull align 16 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !7
  call void @_ZN3JPH4Vec312SetComponentEjf(ptr noundef nonnull align 16 dereferenceable(16) %11, i32 noundef 1, float noundef 0.000000e+00)
  %31 = call noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %11)
  %32 = fcmp oeq float %31, 0.000000e+00
  br i1 %32, label %78, label %33

33:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  %34 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %35 = extractvalue { double, double } %34, 0
  store double %35, ptr %12, align 16
  %36 = getelementptr inbounds i8, ptr %12, i64 8
  %37 = extractvalue { double, double } %34, 1
  store double %37, ptr %36, align 8
  %38 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %39 = getelementptr inbounds i8, ptr %0, i64 48
  %40 = load float, ptr %39, align 8, !tbaa !11
  %41 = fmul float %38, %40
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 0.000000e+00, float noundef %41, float noundef 0.000000e+00)
  %42 = getelementptr inbounds i8, ptr %0, i64 44
  %43 = load float, ptr %42, align 4, !tbaa !25
  %44 = fmul float %38, %43
  %45 = fdiv float %44, %31
  %.sroa.012.0.copyload = load double, ptr %11, align 16
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !8
  %46 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %45, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload)
  %47 = extractvalue { double, double } %46, 0
  %48 = extractvalue { double, double } %46, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  %49 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %13, double %47, double %48)
  %50 = extractvalue { double, double } %49, 0
  store double %50, ptr %14, align 16
  %51 = getelementptr inbounds i8, ptr %14, i64 8
  %52 = extractvalue { double, double } %49, 1
  store double %52, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #9
  %53 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %13)
  %54 = extractvalue { double, double } %53, 0
  store double %54, ptr %16, align 16
  %55 = getelementptr inbounds i8, ptr %16, i64 8
  %56 = extractvalue { double, double } %53, 1
  store double %56, ptr %55, align 8
  %57 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %16, double %47, double %48)
  %58 = extractvalue { double, double } %57, 0
  store double %58, ptr %15, align 16
  %59 = getelementptr inbounds i8, ptr %15, i64 8
  %60 = extractvalue { double, double } %57, 1
  store double %60, ptr %59, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #9
  %61 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %14, double %2, double %3)
  %62 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %2, double %3)
  %63 = fsub float %61, %62
  %64 = call noundef float @_ZSt3absf(float noundef %63)
  %65 = call noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  %66 = fmul float %65, 0x3F947AE140000000
  %67 = fcmp olt float %64, %66
  br i1 %67, label %68, label %77

68:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %.sroa.01.0.copyload = load double, ptr %14, align 16
  %.sroa.22.0.copyload = load double, ptr %51, align 8, !tbaa !8
  %69 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %6, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload)
  %70 = extractvalue { double, double } %69, 0
  store double %70, ptr %17, align 16
  %71 = getelementptr inbounds i8, ptr %17, i64 8
  %72 = extractvalue { double, double } %69, 1
  store double %72, ptr %71, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #9
  %.sroa.0.0.copyload = load double, ptr %15, align 16
  %.sroa.2.0.copyload = load double, ptr %59, align 8, !tbaa !8
  %73 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %6, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %74 = extractvalue { double, double } %73, 0
  store double %74, ptr %18, align 16
  %75 = getelementptr inbounds i8, ptr %18, i64 8
  %76 = extractvalue { double, double } %73, 1
  store double %76, ptr %75, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %18)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  br label %77

77:                                               ; preds = %68, %33
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  br label %78

78:                                               ; preds = %30, %77
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(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_jS1_NS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { alwaysinline mustprogress nounwind 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 #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 = { 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 #8 = { 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 #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 = !{i64 2157984240}
!6 = !{i64 2157984588}
!7 = !{i64 0, i64 16, !8}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !24, i64 48}
!12 = !{!"_ZTSN3JPH12CapsuleShapeE", !13, i64 0, !24, i64 44, !24, i64 48}
!13 = !{!"_ZTSN3JPH11ConvexShapeE", !14, i64 0, !22, i64 32, !24, i64 40}
!14 = !{!"_ZTSN3JPH5ShapeE", !15, i64 8, !19, i64 16, !20, i64 24, !21, i64 25}
!15 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !16, i64 0}
!16 = !{!"_ZTSSt6atomicIjE", !17, i64 0}
!17 = !{!"_ZTSSt13__atomic_baseIjE", !18, i64 0}
!18 = !{!"int", !9, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!"_ZTSN3JPH10EShapeTypeE", !9, i64 0}
!21 = !{!"_ZTSN3JPH13EShapeSubTypeE", !9, i64 0}
!22 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !23, i64 0}
!23 = !{!"any pointer", !9, i64 0}
!24 = !{!"float", !9, i64 0}
!25 = !{!12, !24, i64 44}


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