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

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

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

@_ZN3JPHL20cTaperedCylinderFaceE = external hidden global [8 x %"class.JPH::Vec3"], align 16
@.str.9 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [62 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) 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 } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), double, double) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3JPH20TaperedCylinderShape16GetTrianglesNextERNS_5Shape19GetTrianglesContextEiPNS_6Float3EPPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(4288) %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #4 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.JPH::AssertLastParam", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %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
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %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 %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Vec3", align 16
  %45 = alloca %"class.JPH::Vec3", align 16
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca %"class.JPH::Vec3", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca ptr, align 8
  %54 = alloca ptr, align 8
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::Vec3", align 16
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Vec3", align 16
  %60 = alloca %"class.JPH::Vec3", align 16
  %61 = alloca %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Vec3", align 16
  %63 = alloca ptr, align 8
  %64 = alloca ptr, align 8
  %65 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %66 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 8, ptr %11, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %5
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = icmp sge i32 %68, 32
  br i1 %69, label %73, label %70

70:                                               ; preds = %67
  %71 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 555)
  br i1 %71, label %72, label %73

72:                                               ; preds = %70
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !11
  br label %73

73:                                               ; preds = %72, %70, %67
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %76, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %77 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 1
  %78 = load float, ptr %77, align 4, !tbaa !12
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef 0.000000e+00, float noundef %78, float noundef 0.000000e+00)
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 16, !tbaa !24
  %82 = and i32 %81, 1
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %217

84:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 3
  %88 = load float, ptr %87, align 4, !tbaa !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @_ZN3JPHL20cTaperedCylinderFaceE, i64 16, i1 false), !tbaa.struct !28
  %89 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %90 = load double, ptr %89, align 16
  %91 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %92 = load double, ptr %91, align 8
  %93 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %88, double %90, double %92)
  %94 = getelementptr inbounds %"class.JPH::Vec3", ptr %18, i32 0, i32 0
  %95 = getelementptr inbounds %union.anon, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds { double, double }, ptr %95, i32 0, i32 0
  %97 = extractvalue { double, double } %93, 0
  store double %97, ptr %96, align 16
  %98 = getelementptr inbounds { double, double }, ptr %95, i32 0, i32 1
  %99 = extractvalue { double, double } %93, 1
  store double %99, ptr %98, align 8
  %100 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %101 = load double, ptr %100, align 16
  %102 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %103 = load double, ptr %102, align 8
  %104 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %101, double %103)
  %105 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %106 = getelementptr inbounds %union.anon, ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 0
  %108 = extractvalue { double, double } %104, 0
  store double %108, ptr %107, align 16
  %109 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 1
  %110 = extractvalue { double, double } %104, 1
  store double %110, ptr %109, align 8
  %111 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %112 = load double, ptr %111, align 16
  %113 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %114 = load double, ptr %113, align 8
  %115 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %86, double %112, double %114)
  %116 = getelementptr inbounds %"class.JPH::Vec3", ptr %16, i32 0, i32 0
  %117 = getelementptr inbounds %union.anon, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds { double, double }, ptr %117, i32 0, i32 0
  %119 = extractvalue { double, double } %115, 0
  store double %119, ptr %118, align 16
  %120 = getelementptr inbounds { double, double }, ptr %117, i32 0, i32 1
  %121 = extractvalue { double, double } %115, 1
  store double %121, ptr %120, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 3
  %125 = load float, ptr %124, align 4, !tbaa !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 getelementptr inbounds ([8 x %"class.JPH::Vec3"], ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 0, i64 1), i64 16, i1 false), !tbaa.struct !28
  %126 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %127 = load double, ptr %126, align 16
  %128 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %129 = load double, ptr %128, align 8
  %130 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %125, double %127, double %129)
  %131 = getelementptr inbounds %"class.JPH::Vec3", ptr %22, i32 0, i32 0
  %132 = getelementptr inbounds %union.anon, ptr %131, i32 0, i32 0
  %133 = getelementptr inbounds { double, double }, ptr %132, i32 0, i32 0
  %134 = extractvalue { double, double } %130, 0
  store double %134, ptr %133, align 16
  %135 = getelementptr inbounds { double, double }, ptr %132, i32 0, i32 1
  %136 = extractvalue { double, double } %130, 1
  store double %136, ptr %135, align 8
  %137 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %138 = load double, ptr %137, align 16
  %139 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %140 = load double, ptr %139, align 8
  %141 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %138, double %140)
  %142 = getelementptr inbounds %"class.JPH::Vec3", ptr %21, 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 } %141, 0
  store double %145, ptr %144, align 16
  %146 = getelementptr inbounds { double, double }, ptr %143, i32 0, i32 1
  %147 = extractvalue { double, double } %141, 1
  store double %147, ptr %146, align 8
  %148 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %149 = load double, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %151 = load double, ptr %150, align 8
  %152 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %123, double %149, double %151)
  %153 = getelementptr inbounds %"class.JPH::Vec3", ptr %20, i32 0, i32 0
  %154 = getelementptr inbounds %union.anon, 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 @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  store ptr getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 2), ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  store ptr getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 8), ptr %25, align 8, !tbaa !5
  br label %159

159:                                              ; preds = %209, %84
  %160 = load ptr, ptr %24, align 8, !tbaa !5
  %161 = load ptr, ptr %25, align 8, !tbaa !5
  %162 = icmp ult ptr %160, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %212

164:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %165, i32 0, i32 0
  %167 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 3
  %168 = load float, ptr %167, align 4, !tbaa !27
  %169 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %169, i64 16, i1 false), !tbaa.struct !28
  %170 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %171 = load double, ptr %170, align 16
  %172 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %173 = load double, ptr %172, align 8
  %174 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %168, double %171, double %173)
  %175 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %176 = getelementptr inbounds %union.anon, ptr %175, i32 0, i32 0
  %177 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 0
  %178 = extractvalue { double, double } %174, 0
  store double %178, ptr %177, align 16
  %179 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 1
  %180 = extractvalue { double, double } %174, 1
  store double %180, ptr %179, align 8
  %181 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %182 = load double, ptr %181, align 16
  %183 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %184 = load double, ptr %183, align 8
  %185 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %182, double %184)
  %186 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %187 = getelementptr inbounds %union.anon, ptr %186, i32 0, i32 0
  %188 = getelementptr inbounds { double, double }, ptr %187, i32 0, i32 0
  %189 = extractvalue { double, double } %185, 0
  store double %189, ptr %188, align 16
  %190 = getelementptr inbounds { double, double }, ptr %187, i32 0, i32 1
  %191 = extractvalue { double, double } %185, 1
  store double %191, ptr %190, align 8
  %192 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %193 = load double, ptr %192, align 16
  %194 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %195 = load double, ptr %194, align 8
  %196 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %166, double %193, double %195)
  %197 = getelementptr inbounds %"class.JPH::Vec3", ptr %26, i32 0, i32 0
  %198 = getelementptr inbounds %union.anon, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds { double, double }, ptr %198, i32 0, i32 0
  %200 = extractvalue { double, double } %196, 0
  store double %200, ptr %199, align 16
  %201 = getelementptr inbounds { double, double }, ptr %198, i32 0, i32 1
  %202 = extractvalue { double, double } %196, 1
  store double %202, ptr %201, align 8
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  %204 = getelementptr inbounds %"class.JPH::Float3", ptr %203, i32 1
  store ptr %204, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef %203)
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds %"class.JPH::Float3", ptr %205, i32 1
  store ptr %206, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %20, ptr noundef %205)
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds %"class.JPH::Float3", ptr %207, i32 1
  store ptr %208, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %26, ptr noundef %207)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %26, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  br label %209

209:                                              ; preds = %164
  %210 = load ptr, ptr %24, align 8, !tbaa !5
  %211 = getelementptr inbounds %"class.JPH::Vec3", ptr %210, i32 1
  store ptr %211, ptr %24, align 8, !tbaa !5
  br label %159, !llvm.loop !30

212:                                              ; preds = %163
  store i32 6, ptr %14, align 4, !tbaa !9
  %213 = load ptr, ptr %13, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %213, i32 0, i32 1
  %215 = load i32, ptr %214, align 16, !tbaa !24
  %216 = or i32 %215, 1
  store i32 %216, ptr %214, align 16, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  br label %217

217:                                              ; preds = %212, %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  %218 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 2
  %219 = load float, ptr %218, align 8, !tbaa !32
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef 0.000000e+00, float noundef %219, float noundef 0.000000e+00)
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %220, i32 0, i32 1
  %222 = load i32, ptr %221, align 16, !tbaa !24
  %223 = and i32 %222, 2
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %225, label %366

225:                                              ; preds = %217
  %226 = load i32, ptr %14, align 4, !tbaa !9
  %227 = add nsw i32 %226, 8
  %228 = sub nsw i32 %227, 2
  %229 = load i32, ptr %8, align 4, !tbaa !9
  %230 = icmp slt i32 %228, %229
  br i1 %230, label %231, label %366

231:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #5
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 4
  %235 = load float, ptr %234, align 8, !tbaa !33
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %34, ptr align 16 @_ZN3JPHL20cTaperedCylinderFaceE, i64 16, i1 false), !tbaa.struct !28
  %236 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %237 = load double, ptr %236, align 16
  %238 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %239 = load double, ptr %238, align 8
  %240 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %235, double %237, double %239)
  %241 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %242 = getelementptr inbounds %union.anon, ptr %241, i32 0, i32 0
  %243 = getelementptr inbounds { double, double }, ptr %242, i32 0, i32 0
  %244 = extractvalue { double, double } %240, 0
  store double %244, ptr %243, align 16
  %245 = getelementptr inbounds { double, double }, ptr %242, i32 0, i32 1
  %246 = extractvalue { double, double } %240, 1
  store double %246, ptr %245, align 8
  %247 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %248 = load double, ptr %247, align 16
  %249 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %250 = load double, ptr %249, align 8
  %251 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %248, double %250)
  %252 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %253 = getelementptr inbounds %union.anon, ptr %252, i32 0, i32 0
  %254 = getelementptr inbounds { double, double }, ptr %253, i32 0, i32 0
  %255 = extractvalue { double, double } %251, 0
  store double %255, ptr %254, align 16
  %256 = getelementptr inbounds { double, double }, ptr %253, i32 0, i32 1
  %257 = extractvalue { double, double } %251, 1
  store double %257, ptr %256, align 8
  %258 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %259 = load double, ptr %258, align 16
  %260 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %261 = load double, ptr %260, align 8
  %262 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %233, double %259, double %261)
  %263 = getelementptr inbounds %"class.JPH::Vec3", ptr %31, i32 0, i32 0
  %264 = getelementptr inbounds %union.anon, ptr %263, i32 0, i32 0
  %265 = getelementptr inbounds { double, double }, ptr %264, i32 0, i32 0
  %266 = extractvalue { double, double } %262, 0
  store double %266, ptr %265, align 16
  %267 = getelementptr inbounds { double, double }, ptr %264, i32 0, i32 1
  %268 = extractvalue { double, double } %262, 1
  store double %268, ptr %267, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #5
  %269 = load ptr, ptr %13, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %269, i32 0, i32 0
  %271 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 4
  %272 = load float, ptr %271, align 8, !tbaa !33
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 getelementptr inbounds ([8 x %"class.JPH::Vec3"], ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 0, i64 1), i64 16, i1 false), !tbaa.struct !28
  %273 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %274 = load double, ptr %273, align 16
  %275 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %276 = load double, ptr %275, align 8
  %277 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %272, double %274, double %276)
  %278 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i32 0, i32 0
  %279 = getelementptr inbounds %union.anon, ptr %278, i32 0, i32 0
  %280 = getelementptr inbounds { double, double }, ptr %279, i32 0, i32 0
  %281 = extractvalue { double, double } %277, 0
  store double %281, ptr %280, align 16
  %282 = getelementptr inbounds { double, double }, ptr %279, i32 0, i32 1
  %283 = extractvalue { double, double } %277, 1
  store double %283, ptr %282, align 8
  %284 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %285 = load double, ptr %284, align 16
  %286 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %287 = load double, ptr %286, align 8
  %288 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %285, double %287)
  %289 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %290 = getelementptr inbounds %union.anon, ptr %289, i32 0, i32 0
  %291 = getelementptr inbounds { double, double }, ptr %290, i32 0, i32 0
  %292 = extractvalue { double, double } %288, 0
  store double %292, ptr %291, align 16
  %293 = getelementptr inbounds { double, double }, ptr %290, i32 0, i32 1
  %294 = extractvalue { double, double } %288, 1
  store double %294, ptr %293, align 8
  %295 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %296 = load double, ptr %295, align 16
  %297 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %298 = load double, ptr %297, align 8
  %299 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %270, double %296, double %298)
  %300 = getelementptr inbounds %"class.JPH::Vec3", ptr %35, i32 0, i32 0
  %301 = getelementptr inbounds %union.anon, ptr %300, i32 0, i32 0
  %302 = getelementptr inbounds { double, double }, ptr %301, i32 0, i32 0
  %303 = extractvalue { double, double } %299, 0
  store double %303, ptr %302, align 16
  %304 = getelementptr inbounds { double, double }, ptr %301, i32 0, i32 1
  %305 = extractvalue { double, double } %299, 1
  store double %305, ptr %304, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  store ptr getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 2), ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  store ptr getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 8), ptr %40, align 8, !tbaa !5
  br label %306

306:                                              ; preds = %356, %231
  %307 = load ptr, ptr %39, align 8, !tbaa !5
  %308 = load ptr, ptr %40, align 8, !tbaa !5
  %309 = icmp ult ptr %307, %308
  br i1 %309, label %311, label %310

310:                                              ; preds = %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %359

311:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #5
  %312 = load ptr, ptr %13, align 8, !tbaa !5
  %313 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %312, i32 0, i32 0
  %314 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 4
  %315 = load float, ptr %314, align 8, !tbaa !33
  %316 = load ptr, ptr %39, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %316, i64 16, i1 false), !tbaa.struct !28
  %317 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %318 = load double, ptr %317, align 16
  %319 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %320 = load double, ptr %319, align 8
  %321 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %315, double %318, double %320)
  %322 = getelementptr inbounds %"class.JPH::Vec3", ptr %43, i32 0, i32 0
  %323 = getelementptr inbounds %union.anon, ptr %322, i32 0, i32 0
  %324 = getelementptr inbounds { double, double }, ptr %323, i32 0, i32 0
  %325 = extractvalue { double, double } %321, 0
  store double %325, ptr %324, align 16
  %326 = getelementptr inbounds { double, double }, ptr %323, i32 0, i32 1
  %327 = extractvalue { double, double } %321, 1
  store double %327, ptr %326, align 8
  %328 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %329 = load double, ptr %328, align 16
  %330 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %331 = load double, ptr %330, align 8
  %332 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %329, double %331)
  %333 = getelementptr inbounds %"class.JPH::Vec3", ptr %42, i32 0, i32 0
  %334 = getelementptr inbounds %union.anon, ptr %333, i32 0, i32 0
  %335 = getelementptr inbounds { double, double }, ptr %334, i32 0, i32 0
  %336 = extractvalue { double, double } %332, 0
  store double %336, ptr %335, align 16
  %337 = getelementptr inbounds { double, double }, ptr %334, i32 0, i32 1
  %338 = extractvalue { double, double } %332, 1
  store double %338, ptr %337, align 8
  %339 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %340 = load double, ptr %339, align 16
  %341 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %342 = load double, ptr %341, align 8
  %343 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %313, double %340, double %342)
  %344 = getelementptr inbounds %"class.JPH::Vec3", ptr %41, i32 0, i32 0
  %345 = getelementptr inbounds %union.anon, ptr %344, i32 0, i32 0
  %346 = getelementptr inbounds { double, double }, ptr %345, i32 0, i32 0
  %347 = extractvalue { double, double } %343, 0
  store double %347, ptr %346, align 16
  %348 = getelementptr inbounds { double, double }, ptr %345, i32 0, i32 1
  %349 = extractvalue { double, double } %343, 1
  store double %349, ptr %348, align 8
  %350 = load ptr, ptr %9, align 8, !tbaa !5
  %351 = getelementptr inbounds %"class.JPH::Float3", ptr %350, i32 1
  store ptr %351, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %31, ptr noundef %350)
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = getelementptr inbounds %"class.JPH::Float3", ptr %352, i32 1
  store ptr %353, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %41, ptr noundef %352)
  %354 = load ptr, ptr %9, align 8, !tbaa !5
  %355 = getelementptr inbounds %"class.JPH::Float3", ptr %354, i32 1
  store ptr %355, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %35, ptr noundef %354)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %41, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  br label %356

356:                                              ; preds = %311
  %357 = load ptr, ptr %39, align 8, !tbaa !5
  %358 = getelementptr inbounds %"class.JPH::Vec3", ptr %357, i32 1
  store ptr %358, ptr %39, align 8, !tbaa !5
  br label %306, !llvm.loop !34

359:                                              ; preds = %310
  %360 = load i32, ptr %14, align 4, !tbaa !9
  %361 = add nsw i32 %360, 6
  store i32 %361, ptr %14, align 4, !tbaa !9
  %362 = load ptr, ptr %13, align 8, !tbaa !5
  %363 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %362, i32 0, i32 1
  %364 = load i32, ptr %363, align 16, !tbaa !24
  %365 = or i32 %364, 2
  store i32 %365, ptr %363, align 16, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  br label %366

366:                                              ; preds = %359, %225, %217
  %367 = load ptr, ptr %13, align 8, !tbaa !5
  %368 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %367, i32 0, i32 1
  %369 = load i32, ptr %368, align 16, !tbaa !24
  %370 = and i32 %369, 4
  %371 = icmp eq i32 %370, 0
  br i1 %371, label %372, label %556

372:                                              ; preds = %366
  %373 = load i32, ptr %14, align 4, !tbaa !9
  %374 = add nsw i32 %373, 16
  %375 = load i32, ptr %8, align 4, !tbaa !9
  %376 = icmp slt i32 %374, %375
  br i1 %376, label %377, label %556

377:                                              ; preds = %372
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #5
  %378 = load ptr, ptr %13, align 8, !tbaa !5
  %379 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %378, i32 0, i32 0
  %380 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 3
  %381 = load float, ptr %380, align 4, !tbaa !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 getelementptr inbounds ([8 x %"class.JPH::Vec3"], ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 0, i64 7), i64 16, i1 false), !tbaa.struct !28
  %382 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %383 = load double, ptr %382, align 16
  %384 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %385 = load double, ptr %384, align 8
  %386 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %381, double %383, double %385)
  %387 = getelementptr inbounds %"class.JPH::Vec3", ptr %47, i32 0, i32 0
  %388 = getelementptr inbounds %union.anon, ptr %387, i32 0, i32 0
  %389 = getelementptr inbounds { double, double }, ptr %388, i32 0, i32 0
  %390 = extractvalue { double, double } %386, 0
  store double %390, ptr %389, align 16
  %391 = getelementptr inbounds { double, double }, ptr %388, i32 0, i32 1
  %392 = extractvalue { double, double } %386, 1
  store double %392, ptr %391, align 8
  %393 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %394 = load double, ptr %393, align 16
  %395 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %396 = load double, ptr %395, align 8
  %397 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %394, double %396)
  %398 = getelementptr inbounds %"class.JPH::Vec3", ptr %46, i32 0, i32 0
  %399 = getelementptr inbounds %union.anon, ptr %398, i32 0, i32 0
  %400 = getelementptr inbounds { double, double }, ptr %399, i32 0, i32 0
  %401 = extractvalue { double, double } %397, 0
  store double %401, ptr %400, align 16
  %402 = getelementptr inbounds { double, double }, ptr %399, i32 0, i32 1
  %403 = extractvalue { double, double } %397, 1
  store double %403, ptr %402, align 8
  %404 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %405 = load double, ptr %404, align 16
  %406 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %407 = load double, ptr %406, align 8
  %408 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %379, double %405, double %407)
  %409 = getelementptr inbounds %"class.JPH::Vec3", ptr %45, i32 0, i32 0
  %410 = getelementptr inbounds %union.anon, ptr %409, i32 0, i32 0
  %411 = getelementptr inbounds { double, double }, ptr %410, i32 0, i32 0
  %412 = extractvalue { double, double } %408, 0
  store double %412, ptr %411, align 16
  %413 = getelementptr inbounds { double, double }, ptr %410, i32 0, i32 1
  %414 = extractvalue { double, double } %408, 1
  store double %414, ptr %413, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #5
  %415 = load ptr, ptr %13, align 8, !tbaa !5
  %416 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %415, i32 0, i32 0
  %417 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 4
  %418 = load float, ptr %417, align 8, !tbaa !33
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %52, ptr align 16 getelementptr inbounds ([8 x %"class.JPH::Vec3"], ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 0, i64 7), i64 16, i1 false), !tbaa.struct !28
  %419 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %420 = load double, ptr %419, align 16
  %421 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %422 = load double, ptr %421, align 8
  %423 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %418, double %420, double %422)
  %424 = getelementptr inbounds %"class.JPH::Vec3", ptr %51, i32 0, i32 0
  %425 = getelementptr inbounds %union.anon, ptr %424, i32 0, i32 0
  %426 = getelementptr inbounds { double, double }, ptr %425, i32 0, i32 0
  %427 = extractvalue { double, double } %423, 0
  store double %427, ptr %426, align 16
  %428 = getelementptr inbounds { double, double }, ptr %425, i32 0, i32 1
  %429 = extractvalue { double, double } %423, 1
  store double %429, ptr %428, align 8
  %430 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %431 = load double, ptr %430, align 16
  %432 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %433 = load double, ptr %432, align 8
  %434 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %431, double %433)
  %435 = getelementptr inbounds %"class.JPH::Vec3", ptr %50, i32 0, i32 0
  %436 = getelementptr inbounds %union.anon, ptr %435, i32 0, i32 0
  %437 = getelementptr inbounds { double, double }, ptr %436, i32 0, i32 0
  %438 = extractvalue { double, double } %434, 0
  store double %438, ptr %437, align 16
  %439 = getelementptr inbounds { double, double }, ptr %436, i32 0, i32 1
  %440 = extractvalue { double, double } %434, 1
  store double %440, ptr %439, align 8
  %441 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %442 = load double, ptr %441, align 16
  %443 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %444 = load double, ptr %443, align 8
  %445 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %416, double %442, double %444)
  %446 = getelementptr inbounds %"class.JPH::Vec3", ptr %49, i32 0, i32 0
  %447 = getelementptr inbounds %union.anon, ptr %446, i32 0, i32 0
  %448 = getelementptr inbounds { double, double }, ptr %447, i32 0, i32 0
  %449 = extractvalue { double, double } %445, 0
  store double %449, ptr %448, align 16
  %450 = getelementptr inbounds { double, double }, ptr %447, i32 0, i32 1
  %451 = extractvalue { double, double } %445, 1
  store double %451, ptr %450, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  store ptr @_ZN3JPHL20cTaperedCylinderFaceE, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  store ptr getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 8), ptr %54, align 8, !tbaa !5
  br label %452

452:                                              ; preds = %546, %377
  %453 = load ptr, ptr %53, align 8, !tbaa !5
  %454 = load ptr, ptr %54, align 8, !tbaa !5
  %455 = icmp ult ptr %453, %454
  br i1 %455, label %457, label %456

456:                                              ; preds = %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  br label %549

457:                                              ; preds = %452
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #5
  %458 = load ptr, ptr %13, align 8, !tbaa !5
  %459 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %458, i32 0, i32 0
  %460 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 3
  %461 = load float, ptr %460, align 4, !tbaa !27
  %462 = load ptr, ptr %53, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %58, ptr align 16 %462, i64 16, i1 false), !tbaa.struct !28
  %463 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %464 = load double, ptr %463, align 16
  %465 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %466 = load double, ptr %465, align 8
  %467 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %461, double %464, double %466)
  %468 = getelementptr inbounds %"class.JPH::Vec3", ptr %57, i32 0, i32 0
  %469 = getelementptr inbounds %union.anon, ptr %468, i32 0, i32 0
  %470 = getelementptr inbounds { double, double }, ptr %469, i32 0, i32 0
  %471 = extractvalue { double, double } %467, 0
  store double %471, ptr %470, align 16
  %472 = getelementptr inbounds { double, double }, ptr %469, i32 0, i32 1
  %473 = extractvalue { double, double } %467, 1
  store double %473, ptr %472, align 8
  %474 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 0
  %475 = load double, ptr %474, align 16
  %476 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 1
  %477 = load double, ptr %476, align 8
  %478 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %475, double %477)
  %479 = getelementptr inbounds %"class.JPH::Vec3", ptr %56, i32 0, i32 0
  %480 = getelementptr inbounds %union.anon, ptr %479, i32 0, i32 0
  %481 = getelementptr inbounds { double, double }, ptr %480, i32 0, i32 0
  %482 = extractvalue { double, double } %478, 0
  store double %482, ptr %481, align 16
  %483 = getelementptr inbounds { double, double }, ptr %480, i32 0, i32 1
  %484 = extractvalue { double, double } %478, 1
  store double %484, ptr %483, align 8
  %485 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %486 = load double, ptr %485, align 16
  %487 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %488 = load double, ptr %487, align 8
  %489 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %459, double %486, double %488)
  %490 = getelementptr inbounds %"class.JPH::Vec3", ptr %55, i32 0, i32 0
  %491 = getelementptr inbounds %union.anon, ptr %490, i32 0, i32 0
  %492 = getelementptr inbounds { double, double }, ptr %491, i32 0, i32 0
  %493 = extractvalue { double, double } %489, 0
  store double %493, ptr %492, align 16
  %494 = getelementptr inbounds { double, double }, ptr %491, i32 0, i32 1
  %495 = extractvalue { double, double } %489, 1
  store double %495, ptr %494, align 8
  %496 = load ptr, ptr %9, align 8, !tbaa !5
  %497 = getelementptr inbounds %"class.JPH::Float3", ptr %496, i32 1
  store ptr %497, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %45, ptr noundef %496)
  %498 = load ptr, ptr %9, align 8, !tbaa !5
  %499 = getelementptr inbounds %"class.JPH::Float3", ptr %498, i32 1
  store ptr %499, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %49, ptr noundef %498)
  %500 = load ptr, ptr %9, align 8, !tbaa !5
  %501 = getelementptr inbounds %"class.JPH::Float3", ptr %500, i32 1
  store ptr %501, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %55, ptr noundef %500)
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #5
  %502 = load ptr, ptr %13, align 8, !tbaa !5
  %503 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %502, i32 0, i32 0
  %504 = getelementptr inbounds %"class.JPH::TaperedCylinderShape", ptr %66, i32 0, i32 4
  %505 = load float, ptr %504, align 8, !tbaa !33
  %506 = load ptr, ptr %53, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %62, ptr align 16 %506, i64 16, i1 false), !tbaa.struct !28
  %507 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %508 = load double, ptr %507, align 16
  %509 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %510 = load double, ptr %509, align 8
  %511 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %505, double %508, double %510)
  %512 = getelementptr inbounds %"class.JPH::Vec3", ptr %61, i32 0, i32 0
  %513 = getelementptr inbounds %union.anon, ptr %512, i32 0, i32 0
  %514 = getelementptr inbounds { double, double }, ptr %513, i32 0, i32 0
  %515 = extractvalue { double, double } %511, 0
  store double %515, ptr %514, align 16
  %516 = getelementptr inbounds { double, double }, ptr %513, i32 0, i32 1
  %517 = extractvalue { double, double } %511, 1
  store double %517, ptr %516, align 8
  %518 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %519 = load double, ptr %518, align 16
  %520 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %521 = load double, ptr %520, align 8
  %522 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %519, double %521)
  %523 = getelementptr inbounds %"class.JPH::Vec3", ptr %60, i32 0, i32 0
  %524 = getelementptr inbounds %union.anon, ptr %523, i32 0, i32 0
  %525 = getelementptr inbounds { double, double }, ptr %524, i32 0, i32 0
  %526 = extractvalue { double, double } %522, 0
  store double %526, ptr %525, align 16
  %527 = getelementptr inbounds { double, double }, ptr %524, i32 0, i32 1
  %528 = extractvalue { double, double } %522, 1
  store double %528, ptr %527, align 8
  %529 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 0
  %530 = load double, ptr %529, align 16
  %531 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 1
  %532 = load double, ptr %531, align 8
  %533 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %503, double %530, double %532)
  %534 = getelementptr inbounds %"class.JPH::Vec3", ptr %59, i32 0, i32 0
  %535 = getelementptr inbounds %union.anon, ptr %534, i32 0, i32 0
  %536 = getelementptr inbounds { double, double }, ptr %535, i32 0, i32 0
  %537 = extractvalue { double, double } %533, 0
  store double %537, ptr %536, align 16
  %538 = getelementptr inbounds { double, double }, ptr %535, i32 0, i32 1
  %539 = extractvalue { double, double } %533, 1
  store double %539, ptr %538, align 8
  %540 = load ptr, ptr %9, align 8, !tbaa !5
  %541 = getelementptr inbounds %"class.JPH::Float3", ptr %540, i32 1
  store ptr %541, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %55, ptr noundef %540)
  %542 = load ptr, ptr %9, align 8, !tbaa !5
  %543 = getelementptr inbounds %"class.JPH::Float3", ptr %542, i32 1
  store ptr %543, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %49, ptr noundef %542)
  %544 = load ptr, ptr %9, align 8, !tbaa !5
  %545 = getelementptr inbounds %"class.JPH::Float3", ptr %544, i32 1
  store ptr %545, ptr %9, align 8, !tbaa !5
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %59, ptr noundef %544)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 %55, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %59, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #5
  br label %546

546:                                              ; preds = %457
  %547 = load ptr, ptr %53, align 8, !tbaa !5
  %548 = getelementptr inbounds %"class.JPH::Vec3", ptr %547, i32 1
  store ptr %548, ptr %53, align 8, !tbaa !5
  br label %452, !llvm.loop !35

549:                                              ; preds = %456
  %550 = load i32, ptr %14, align 4, !tbaa !9
  %551 = add nsw i32 %550, 16
  store i32 %551, ptr %14, align 4, !tbaa !9
  %552 = load ptr, ptr %13, align 8, !tbaa !5
  %553 = getelementptr inbounds %"class.JPH::TaperedCylinderShape::TCSGetTrianglesContext", ptr %552, i32 0, i32 1
  %554 = load i32, ptr %553, align 16, !tbaa !24
  %555 = or i32 %554, 4
  store i32 %555, ptr %553, align 16, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #5
  br label %556

556:                                              ; preds = %549, %372, %366
  %557 = load ptr, ptr %10, align 8, !tbaa !5
  %558 = icmp ne ptr %557, null
  br i1 %558, label %559, label %578

559:                                              ; preds = %556
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #5
  %560 = call noundef ptr @_ZNK3JPH11ConvexShape11GetMaterialEv(ptr noundef nonnull align 8 dereferenceable(44) %66)
  store ptr %560, ptr %63, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #5
  %561 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %561, ptr %64, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  %562 = load ptr, ptr %10, align 8, !tbaa !5
  %563 = load i32, ptr %14, align 4, !tbaa !9
  %564 = sext i32 %563 to i64
  %565 = getelementptr inbounds ptr, ptr %562, i64 %564
  store ptr %565, ptr %65, align 8, !tbaa !5
  br label %566

566:                                              ; preds = %574, %559
  %567 = load ptr, ptr %64, align 8, !tbaa !5
  %568 = load ptr, ptr %65, align 8, !tbaa !5
  %569 = icmp ult ptr %567, %568
  br i1 %569, label %571, label %570

570:                                              ; preds = %566
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #5
  br label %577

571:                                              ; preds = %566
  %572 = load ptr, ptr %63, align 8, !tbaa !5
  %573 = load ptr, ptr %64, align 8, !tbaa !5
  store ptr %572, ptr %573, align 8, !tbaa !5
  br label %574

574:                                              ; preds = %571
  %575 = load ptr, ptr %64, align 8, !tbaa !5
  %576 = getelementptr inbounds ptr, ptr %575, i32 1
  store ptr %576, ptr %64, align 8, !tbaa !5
  br label %566, !llvm.loop !36

577:                                              ; preds = %570
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  br label %578

578:                                              ; preds = %577, %556
  %579 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i32 %579
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{i64 2157862129}
!12 = !{!13, !23, i64 44}
!13 = !{!"_ZTSN3JPH20TaperedCylinderShapeE", !14, i64 0, !23, i64 44, !23, i64 48, !23, i64 52, !23, i64 56, !23, i64 60}
!14 = !{!"_ZTSN3JPH11ConvexShapeE", !15, i64 0, !22, i64 32, !23, i64 40}
!15 = !{!"_ZTSN3JPH5ShapeE", !16, i64 8, !19, i64 16, !20, i64 24, !21, i64 25}
!16 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !17, i64 0}
!17 = !{!"_ZTSSt6atomicIjE", !18, i64 0}
!18 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN3JPH10EShapeTypeE", !7, i64 0}
!21 = !{!"_ZTSN3JPH13EShapeSubTypeE", !7, i64 0}
!22 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!23 = !{!"float", !7, i64 0}
!24 = !{!25, !10, i64 64}
!25 = !{!"_ZTSN3JPH20TaperedCylinderShape22TCSGetTrianglesContextE", !26, i64 0, !10, i64 64}
!26 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!27 = !{!13, !23, i64 52}
!28 = !{i64 0, i64 16, !29}
!29 = !{!7, !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!13, !23, i64 48}
!33 = !{!13, !23, i64 56}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !31}


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

@_ZN3JPHL20cTaperedCylinderFaceE = external hidden local_unnamed_addr global [8 x %"class.JPH::Vec3"], align 16
@.str.9 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [62 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) 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 } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), double, double) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 29) i32 @_ZNK3JPH20TaperedCylinderShape16GetTrianglesNextERNS_5Shape19GetTrianglesContextEiPNS_6Float3EPPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(4288) %1, i32 noundef %2, ptr noundef %3, ptr noundef writeonly %4) unnamed_addr #4 align 2 {
  %6 = ptrtoint ptr %4 to i64
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %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
  %19 = icmp sgt i32 %2, 31
  br i1 %19, label %23, label %20

20:                                               ; preds = %5
  %21 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.9, i32 noundef 555)
  br i1 %21, label %22, label %23

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

23:                                               ; preds = %22, %20, %5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 44
  %25 = load float, ptr %24, align 4, !tbaa !6
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 0.000000e+00, float noundef %25, float noundef 0.000000e+00)
  %26 = getelementptr inbounds i8, ptr %1, i64 64
  %27 = load i32, ptr %26, align 16, !tbaa !22
  %28 = and i32 %27, 1
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %135

30:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %31 = getelementptr inbounds i8, ptr %0, i64 52
  %32 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.070.0.copyload = load double, ptr @_ZN3JPHL20cTaperedCylinderFaceE, align 16
  %.sroa.271.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 8), align 8, !tbaa !26
  %33 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %32, double %.sroa.070.0.copyload, double %.sroa.271.0.copyload)
  %34 = extractvalue { double, double } %33, 0
  %35 = extractvalue { double, double } %33, 1
  %36 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %34, double %35)
  %37 = extractvalue { double, double } %36, 0
  %38 = extractvalue { double, double } %36, 1
  %39 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %37, double %38)
  %40 = extractvalue { double, double } %39, 0
  store double %40, ptr %8, align 16
  %41 = getelementptr inbounds i8, ptr %8, i64 8
  %42 = extractvalue { double, double } %39, 1
  store double %42, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %43 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.064.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 16), align 16
  %.sroa.265.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 24), align 8, !tbaa !26
  %44 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %43, double %.sroa.064.0.copyload, double %.sroa.265.0.copyload)
  %45 = extractvalue { double, double } %44, 0
  %46 = extractvalue { double, double } %44, 1
  %47 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %45, double %46)
  %48 = extractvalue { double, double } %47, 0
  %49 = extractvalue { double, double } %47, 1
  %50 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %48, double %49)
  %51 = extractvalue { double, double } %50, 0
  store double %51, ptr %9, align 16
  %52 = getelementptr inbounds i8, ptr %9, i64 8
  %53 = extractvalue { double, double } %50, 1
  store double %53, ptr %52, align 8
  %54 = getelementptr inbounds i8, ptr %10, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %55 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.054.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 32), align 16
  %.sroa.255.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 40), align 8, !tbaa !26
  %56 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %55, double %.sroa.054.0.copyload, double %.sroa.255.0.copyload)
  %57 = extractvalue { double, double } %56, 0
  %58 = extractvalue { double, double } %56, 1
  %59 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %57, double %58)
  %60 = extractvalue { double, double } %59, 0
  %61 = extractvalue { double, double } %59, 1
  %62 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %60, double %61)
  %63 = extractvalue { double, double } %62, 0
  store double %63, ptr %10, align 16
  %64 = extractvalue { double, double } %62, 1
  store double %64, ptr %54, align 8
  %65 = getelementptr inbounds i8, ptr %3, i64 12
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef %3)
  %66 = getelementptr inbounds i8, ptr %3, i64 24
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull %65)
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull %66)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  %67 = getelementptr inbounds i8, ptr %3, i64 36
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %68 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.054.0.copyload.1 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 48), align 16
  %.sroa.255.0.copyload.1 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 56), align 8, !tbaa !26
  %69 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %68, double %.sroa.054.0.copyload.1, double %.sroa.255.0.copyload.1)
  %70 = extractvalue { double, double } %69, 0
  %71 = extractvalue { double, double } %69, 1
  %72 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %70, double %71)
  %73 = extractvalue { double, double } %72, 0
  %74 = extractvalue { double, double } %72, 1
  %75 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %73, double %74)
  %76 = extractvalue { double, double } %75, 0
  store double %76, ptr %10, align 16
  %77 = extractvalue { double, double } %75, 1
  store double %77, ptr %54, align 8
  %78 = getelementptr inbounds i8, ptr %3, i64 48
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull %67)
  %79 = getelementptr inbounds i8, ptr %3, i64 60
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull %78)
  %80 = getelementptr inbounds i8, ptr %3, i64 72
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull %79)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %81 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.054.0.copyload.2 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 64), align 16
  %.sroa.255.0.copyload.2 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 72), align 8, !tbaa !26
  %82 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %81, double %.sroa.054.0.copyload.2, double %.sroa.255.0.copyload.2)
  %83 = extractvalue { double, double } %82, 0
  %84 = extractvalue { double, double } %82, 1
  %85 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %83, double %84)
  %86 = extractvalue { double, double } %85, 0
  %87 = extractvalue { double, double } %85, 1
  %88 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %86, double %87)
  %89 = extractvalue { double, double } %88, 0
  store double %89, ptr %10, align 16
  %90 = extractvalue { double, double } %88, 1
  store double %90, ptr %54, align 8
  %91 = getelementptr inbounds i8, ptr %3, i64 84
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull %80)
  %92 = getelementptr inbounds i8, ptr %3, i64 96
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull %91)
  %93 = getelementptr inbounds i8, ptr %3, i64 108
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull %92)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %94 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.054.0.copyload.3 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 80), align 16
  %.sroa.255.0.copyload.3 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 88), align 8, !tbaa !26
  %95 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %94, double %.sroa.054.0.copyload.3, double %.sroa.255.0.copyload.3)
  %96 = extractvalue { double, double } %95, 0
  %97 = extractvalue { double, double } %95, 1
  %98 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %96, double %97)
  %99 = extractvalue { double, double } %98, 0
  %100 = extractvalue { double, double } %98, 1
  %101 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %99, double %100)
  %102 = extractvalue { double, double } %101, 0
  store double %102, ptr %10, align 16
  %103 = extractvalue { double, double } %101, 1
  store double %103, ptr %54, align 8
  %104 = getelementptr inbounds i8, ptr %3, i64 120
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull %93)
  %105 = getelementptr inbounds i8, ptr %3, i64 132
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull %104)
  %106 = getelementptr inbounds i8, ptr %3, i64 144
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull %105)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %107 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.054.0.copyload.4 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 96), align 16
  %.sroa.255.0.copyload.4 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 104), align 8, !tbaa !26
  %108 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %107, double %.sroa.054.0.copyload.4, double %.sroa.255.0.copyload.4)
  %109 = extractvalue { double, double } %108, 0
  %110 = extractvalue { double, double } %108, 1
  %111 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %109, double %110)
  %112 = extractvalue { double, double } %111, 0
  %113 = extractvalue { double, double } %111, 1
  %114 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %112, double %113)
  %115 = extractvalue { double, double } %114, 0
  store double %115, ptr %10, align 16
  %116 = extractvalue { double, double } %114, 1
  store double %116, ptr %54, align 8
  %117 = getelementptr inbounds i8, ptr %3, i64 156
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull %106)
  %118 = getelementptr inbounds i8, ptr %3, i64 168
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull %117)
  %119 = getelementptr inbounds i8, ptr %3, i64 180
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull %118)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %120 = load float, ptr %31, align 4, !tbaa !25
  %.sroa.054.0.copyload.5 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 112), align 16
  %.sroa.255.0.copyload.5 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 120), align 8, !tbaa !26
  %121 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %120, double %.sroa.054.0.copyload.5, double %.sroa.255.0.copyload.5)
  %122 = extractvalue { double, double } %121, 0
  %123 = extractvalue { double, double } %121, 1
  %124 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %122, double %123)
  %125 = extractvalue { double, double } %124, 0
  %126 = extractvalue { double, double } %124, 1
  %127 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %125, double %126)
  %128 = extractvalue { double, double } %127, 0
  store double %128, ptr %10, align 16
  %129 = extractvalue { double, double } %127, 1
  store double %129, ptr %54, align 8
  %130 = getelementptr inbounds i8, ptr %3, i64 192
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull %119)
  %131 = getelementptr inbounds i8, ptr %3, i64 204
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull %130)
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull %131)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  %132 = getelementptr inbounds i8, ptr %3, i64 216
  %133 = load i32, ptr %26, align 16, !tbaa !22
  %134 = or i32 %133, 1
  store i32 %134, ptr %26, align 16, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %135

135:                                              ; preds = %30, %23
  %.0118 = phi i32 [ 6, %30 ], [ 0, %23 ]
  %.1 = phi ptr [ %132, %30 ], [ %3, %23 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %136 = getelementptr inbounds i8, ptr %0, i64 48
  %137 = load float, ptr %136, align 8, !tbaa !28
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 0.000000e+00, float noundef %137, float noundef 0.000000e+00)
  %138 = load i32, ptr %26, align 16, !tbaa !22
  %139 = and i32 %138, 2
  %140 = icmp eq i32 %139, 0
  %141 = add nuw nsw i32 %.0118, 6
  %142 = icmp slt i32 %141, %2
  %or.cond = select i1 %140, i1 %142, i1 false
  br i1 %or.cond, label %143, label %248

143:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %144 = getelementptr inbounds i8, ptr %0, i64 56
  %145 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.048.0.copyload = load double, ptr @_ZN3JPHL20cTaperedCylinderFaceE, align 16
  %.sroa.249.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 8), align 8, !tbaa !26
  %146 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %145, double %.sroa.048.0.copyload, double %.sroa.249.0.copyload)
  %147 = extractvalue { double, double } %146, 0
  %148 = extractvalue { double, double } %146, 1
  %149 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %147, double %148)
  %150 = extractvalue { double, double } %149, 0
  %151 = extractvalue { double, double } %149, 1
  %152 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %150, double %151)
  %153 = extractvalue { double, double } %152, 0
  store double %153, ptr %12, align 16
  %154 = getelementptr inbounds i8, ptr %12, i64 8
  %155 = extractvalue { double, double } %152, 1
  store double %155, ptr %154, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  %156 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.042.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 16), align 16
  %.sroa.243.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 24), align 8, !tbaa !26
  %157 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %156, double %.sroa.042.0.copyload, double %.sroa.243.0.copyload)
  %158 = extractvalue { double, double } %157, 0
  %159 = extractvalue { double, double } %157, 1
  %160 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %158, double %159)
  %161 = extractvalue { double, double } %160, 0
  %162 = extractvalue { double, double } %160, 1
  %163 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %161, double %162)
  %164 = extractvalue { double, double } %163, 0
  store double %164, ptr %13, align 16
  %165 = getelementptr inbounds i8, ptr %13, i64 8
  %166 = extractvalue { double, double } %163, 1
  store double %166, ptr %165, align 8
  %167 = getelementptr inbounds i8, ptr %14, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %168 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.032.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 32), align 16
  %.sroa.233.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 40), align 8, !tbaa !26
  %169 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %168, double %.sroa.032.0.copyload, double %.sroa.233.0.copyload)
  %170 = extractvalue { double, double } %169, 0
  %171 = extractvalue { double, double } %169, 1
  %172 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %170, double %171)
  %173 = extractvalue { double, double } %172, 0
  %174 = extractvalue { double, double } %172, 1
  %175 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %173, double %174)
  %176 = extractvalue { double, double } %175, 0
  store double %176, ptr %14, align 16
  %177 = extractvalue { double, double } %175, 1
  store double %177, ptr %167, align 8
  %178 = getelementptr inbounds i8, ptr %.1, i64 12
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef %.1)
  %179 = getelementptr inbounds i8, ptr %.1, i64 24
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %178)
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull %179)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  %180 = getelementptr inbounds i8, ptr %.1, i64 36
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %181 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.032.0.copyload.1 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 48), align 16
  %.sroa.233.0.copyload.1 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 56), align 8, !tbaa !26
  %182 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %181, double %.sroa.032.0.copyload.1, double %.sroa.233.0.copyload.1)
  %183 = extractvalue { double, double } %182, 0
  %184 = extractvalue { double, double } %182, 1
  %185 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %183, double %184)
  %186 = extractvalue { double, double } %185, 0
  %187 = extractvalue { double, double } %185, 1
  %188 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %186, double %187)
  %189 = extractvalue { double, double } %188, 0
  store double %189, ptr %14, align 16
  %190 = extractvalue { double, double } %188, 1
  store double %190, ptr %167, align 8
  %191 = getelementptr inbounds i8, ptr %.1, i64 48
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull %180)
  %192 = getelementptr inbounds i8, ptr %.1, i64 60
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %191)
  %193 = getelementptr inbounds i8, ptr %.1, i64 72
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull %192)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %194 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.032.0.copyload.2 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 64), align 16
  %.sroa.233.0.copyload.2 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 72), align 8, !tbaa !26
  %195 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %194, double %.sroa.032.0.copyload.2, double %.sroa.233.0.copyload.2)
  %196 = extractvalue { double, double } %195, 0
  %197 = extractvalue { double, double } %195, 1
  %198 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %196, double %197)
  %199 = extractvalue { double, double } %198, 0
  %200 = extractvalue { double, double } %198, 1
  %201 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %199, double %200)
  %202 = extractvalue { double, double } %201, 0
  store double %202, ptr %14, align 16
  %203 = extractvalue { double, double } %201, 1
  store double %203, ptr %167, align 8
  %204 = getelementptr inbounds i8, ptr %.1, i64 84
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull %193)
  %205 = getelementptr inbounds i8, ptr %.1, i64 96
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %204)
  %206 = getelementptr inbounds i8, ptr %.1, i64 108
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull %205)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %207 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.032.0.copyload.3 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 80), align 16
  %.sroa.233.0.copyload.3 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 88), align 8, !tbaa !26
  %208 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %207, double %.sroa.032.0.copyload.3, double %.sroa.233.0.copyload.3)
  %209 = extractvalue { double, double } %208, 0
  %210 = extractvalue { double, double } %208, 1
  %211 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %209, double %210)
  %212 = extractvalue { double, double } %211, 0
  %213 = extractvalue { double, double } %211, 1
  %214 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %212, double %213)
  %215 = extractvalue { double, double } %214, 0
  store double %215, ptr %14, align 16
  %216 = extractvalue { double, double } %214, 1
  store double %216, ptr %167, align 8
  %217 = getelementptr inbounds i8, ptr %.1, i64 120
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull %206)
  %218 = getelementptr inbounds i8, ptr %.1, i64 132
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %217)
  %219 = getelementptr inbounds i8, ptr %.1, i64 144
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull %218)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %220 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.032.0.copyload.4 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 96), align 16
  %.sroa.233.0.copyload.4 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 104), align 8, !tbaa !26
  %221 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %220, double %.sroa.032.0.copyload.4, double %.sroa.233.0.copyload.4)
  %222 = extractvalue { double, double } %221, 0
  %223 = extractvalue { double, double } %221, 1
  %224 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %222, double %223)
  %225 = extractvalue { double, double } %224, 0
  %226 = extractvalue { double, double } %224, 1
  %227 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %225, double %226)
  %228 = extractvalue { double, double } %227, 0
  store double %228, ptr %14, align 16
  %229 = extractvalue { double, double } %227, 1
  store double %229, ptr %167, align 8
  %230 = getelementptr inbounds i8, ptr %.1, i64 156
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull %219)
  %231 = getelementptr inbounds i8, ptr %.1, i64 168
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %230)
  %232 = getelementptr inbounds i8, ptr %.1, i64 180
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull %231)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %233 = load float, ptr %144, align 8, !tbaa !29
  %.sroa.032.0.copyload.5 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 112), align 16
  %.sroa.233.0.copyload.5 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 120), align 8, !tbaa !26
  %234 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %233, double %.sroa.032.0.copyload.5, double %.sroa.233.0.copyload.5)
  %235 = extractvalue { double, double } %234, 0
  %236 = extractvalue { double, double } %234, 1
  %237 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %235, double %236)
  %238 = extractvalue { double, double } %237, 0
  %239 = extractvalue { double, double } %237, 1
  %240 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %238, double %239)
  %241 = extractvalue { double, double } %240, 0
  store double %241, ptr %14, align 16
  %242 = extractvalue { double, double } %240, 1
  store double %242, ptr %167, align 8
  %243 = getelementptr inbounds i8, ptr %.1, i64 192
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull %232)
  %244 = getelementptr inbounds i8, ptr %.1, i64 204
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %243)
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull %244)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  %245 = getelementptr inbounds i8, ptr %.1, i64 216
  %246 = load i32, ptr %26, align 16, !tbaa !22
  %247 = or i32 %246, 2
  store i32 %247, ptr %26, align 16, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %248

248:                                              ; preds = %143, %135
  %249 = phi i32 [ %247, %143 ], [ %138, %135 ]
  %.1119 = phi i32 [ %141, %143 ], [ %.0118, %135 ]
  %.3 = phi ptr [ %245, %143 ], [ %.1, %135 ]
  %250 = and i32 %249, 4
  %251 = icmp eq i32 %250, 0
  br i1 %251, label %252, label %313

252:                                              ; preds = %248
  %253 = add nuw nsw i32 %.1119, 16
  %254 = icmp slt i32 %253, %2
  br i1 %254, label %255, label %313

255:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  %256 = getelementptr inbounds i8, ptr %0, i64 52
  %257 = load float, ptr %256, align 4, !tbaa !25
  %.sroa.026.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 112), align 16
  %.sroa.227.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 120), align 8, !tbaa !26
  %258 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %257, double %.sroa.026.0.copyload, double %.sroa.227.0.copyload)
  %259 = extractvalue { double, double } %258, 0
  %260 = extractvalue { double, double } %258, 1
  %261 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %259, double %260)
  %262 = extractvalue { double, double } %261, 0
  %263 = extractvalue { double, double } %261, 1
  %264 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %262, double %263)
  %265 = extractvalue { double, double } %264, 0
  store double %265, ptr %15, align 16
  %266 = getelementptr inbounds i8, ptr %15, i64 8
  %267 = extractvalue { double, double } %264, 1
  store double %267, ptr %266, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %268 = getelementptr inbounds i8, ptr %0, i64 56
  %269 = load float, ptr %268, align 8, !tbaa !29
  %.sroa.020.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 112), align 16
  %.sroa.221.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 120), align 8, !tbaa !26
  %270 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %269, double %.sroa.020.0.copyload, double %.sroa.221.0.copyload)
  %271 = extractvalue { double, double } %270, 0
  %272 = extractvalue { double, double } %270, 1
  %273 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %271, double %272)
  %274 = extractvalue { double, double } %273, 0
  %275 = extractvalue { double, double } %273, 1
  %276 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %274, double %275)
  %277 = extractvalue { double, double } %276, 0
  store double %277, ptr %16, align 16
  %278 = getelementptr inbounds i8, ptr %16, i64 8
  %279 = extractvalue { double, double } %276, 1
  store double %279, ptr %278, align 8
  %280 = getelementptr inbounds i8, ptr %17, i64 8
  %281 = getelementptr inbounds i8, ptr %18, i64 8
  br label %285

282:                                              ; preds = %285
  %283 = load i32, ptr %26, align 16, !tbaa !22
  %284 = or i32 %283, 4
  store i32 %284, ptr %26, align 16, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %313

285:                                              ; preds = %255, %285
  %.4132 = phi ptr [ %.3, %255 ], [ %311, %285 ]
  %.0123.idx131 = phi i64 [ 0, %255 ], [ %.0123.add, %285 ]
  %.0123.ptr = getelementptr inbounds i8, ptr @_ZN3JPHL20cTaperedCylinderFaceE, i64 %.0123.idx131
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  %286 = load float, ptr %256, align 4, !tbaa !25
  %.sroa.09.0.copyload = load double, ptr %.0123.ptr, align 16
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %.0123.ptr, i64 8
  %.sroa.210.0.copyload = load double, ptr %.sroa.210.0..sroa_idx, align 8, !tbaa !26
  %287 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %286, double %.sroa.09.0.copyload, double %.sroa.210.0.copyload)
  %288 = extractvalue { double, double } %287, 0
  %289 = extractvalue { double, double } %287, 1
  %290 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %288, double %289)
  %291 = extractvalue { double, double } %290, 0
  %292 = extractvalue { double, double } %290, 1
  %293 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %291, double %292)
  %294 = extractvalue { double, double } %293, 0
  store double %294, ptr %17, align 16
  %295 = extractvalue { double, double } %293, 1
  store double %295, ptr %280, align 8
  %296 = getelementptr inbounds i8, ptr %.4132, i64 12
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %15, ptr noundef %.4132)
  %297 = getelementptr inbounds i8, ptr %.4132, i64 24
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull %296)
  %298 = getelementptr inbounds i8, ptr %.4132, i64 36
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef nonnull %297)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #6
  %299 = load float, ptr %268, align 8, !tbaa !29
  %.sroa.0.0.copyload = load double, ptr %.0123.ptr, align 16
  %.sroa.2.0.copyload = load double, ptr %.sroa.210.0..sroa_idx, align 8, !tbaa !26
  %300 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %299, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %301 = extractvalue { double, double } %300, 0
  %302 = extractvalue { double, double } %300, 1
  %303 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %301, double %302)
  %304 = extractvalue { double, double } %303, 0
  %305 = extractvalue { double, double } %303, 1
  %306 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %304, double %305)
  %307 = extractvalue { double, double } %306, 0
  store double %307, ptr %18, align 16
  %308 = extractvalue { double, double } %306, 1
  store double %308, ptr %281, align 8
  %309 = getelementptr inbounds i8, ptr %.4132, i64 48
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef nonnull %298)
  %310 = getelementptr inbounds i8, ptr %.4132, i64 60
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull %309)
  %311 = getelementptr inbounds i8, ptr %.4132, i64 72
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %18, ptr noundef nonnull %310)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %15, ptr noundef nonnull align 16 dereferenceable(16) %17, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull align 16 dereferenceable(16) %18, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  %.0123.add = add nuw nsw i64 %.0123.idx131, 16
  %312 = icmp ult i64 %.0123.idx131, 112
  br i1 %312, label %285, label %282, !llvm.loop !30

313:                                              ; preds = %282, %252, %248
  %.2120 = phi i32 [ %253, %282 ], [ %.1119, %252 ], [ %.1119, %248 ]
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %.loopexit, label %314

314:                                              ; preds = %313
  %315 = call noundef ptr @_ZNK3JPH11ConvexShape11GetMaterialEv(ptr noundef nonnull align 8 dereferenceable(44) %0)
  %316 = zext i32 %.2120 to i64
  %317 = getelementptr inbounds ptr, ptr %4, i64 %316
  %.not134 = icmp eq i32 %.2120, 0
  br i1 %.not134, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %314
  %318 = shl nuw nsw i64 %316, 3
  %319 = add i64 %318, %6
  %320 = add i64 %6, 8
  %umax = call i64 @llvm.umax.i64(i64 %319, i64 %320)
  %321 = xor i64 %6, -1
  %322 = add i64 %umax, %321
  %323 = lshr i64 %322, 3
  %324 = add nuw nsw i64 %323, 1
  %min.iters.check = icmp ult i64 %322, 24
  br i1 %min.iters.check, label %.lr.ph.preheader138, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %324, 4611686018427387900
  %325 = shl i64 %n.vec, 3
  %ind.end = getelementptr i8, ptr %4, i64 %325
  %broadcast.splatinsert = insertelement <2 x ptr> poison, ptr %315, i64 0
  %broadcast.splat = shufflevector <2 x ptr> %broadcast.splatinsert, <2 x ptr> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 3
  %next.gep = getelementptr i8, ptr %4, i64 %offset.idx
  %326 = getelementptr i8, ptr %next.gep, i64 16
  store <2 x ptr> %broadcast.splat, ptr %next.gep, align 8, !tbaa !32
  store <2 x ptr> %broadcast.splat, ptr %326, align 8, !tbaa !32
  %index.next = add nuw i64 %index, 4
  %327 = icmp eq i64 %index.next, %n.vec
  br i1 %327, label %middle.block, label %vector.body, !llvm.loop !33

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %324, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph.preheader138

.lr.ph.preheader138:                              ; preds = %middle.block, %.lr.ph.preheader
  %.0117133.ph = phi ptr [ %4, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader138, %.lr.ph
  %.0117133 = phi ptr [ %328, %.lr.ph ], [ %.0117133.ph, %.lr.ph.preheader138 ]
  store ptr %315, ptr %.0117133, align 8, !tbaa !32
  %328 = getelementptr inbounds i8, ptr %.0117133, i64 8
  %329 = icmp ult ptr %328, %317
  br i1 %329, label %.lr.ph, label %.loopexit, !llvm.loop !36

.loopexit:                                        ; preds = %.lr.ph, %middle.block, %314, %313
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  ret i32 %.2120
}

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 2157862129}
!6 = !{!7, !21, i64 44}
!7 = !{!"_ZTSN3JPH20TaperedCylinderShapeE", !8, i64 0, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !21, i64 60}
!8 = !{!"_ZTSN3JPH11ConvexShapeE", !9, i64 0, !19, i64 32, !21, i64 40}
!9 = !{!"_ZTSN3JPH5ShapeE", !10, i64 8, !16, i64 16, !17, i64 24, !18, i64 25}
!10 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !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 = !{!"_ZTSN3JPH10EShapeTypeE", !14, i64 0}
!18 = !{!"_ZTSN3JPH13EShapeSubTypeE", !14, i64 0}
!19 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !20, i64 0}
!20 = !{!"any pointer", !14, i64 0}
!21 = !{!"float", !14, i64 0}
!22 = !{!23, !13, i64 64}
!23 = !{!"_ZTSN3JPH20TaperedCylinderShape22TCSGetTrianglesContextE", !24, i64 0, !13, i64 64}
!24 = !{!"_ZTSN3JPH5Mat44E", !14, i64 0}
!25 = !{!7, !21, i64 52}
!26 = !{!14, !14, i64 0}
!27 = !{i64 0, i64 16, !26}
!28 = !{!7, !21, i64 48}
!29 = !{!7, !21, i64 56}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!20, !20, i64 0}
!33 = distinct !{!33, !31, !34, !35}
!34 = !{!"llvm.loop.isvectorized", i32 1}
!35 = !{!"llvm.loop.unroll.runtime.disable"}
!36 = distinct !{!36, !31, !35, !34}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass