; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Renderer (DebugRendererImp)

; 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::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.13 }
%union.anon.13 = type { <4 x float> }
%"class.JPH::Color" = type { %union.anon.0 }
%union.anon.0 = type { i32 }
%"struct.JPH::AssertLastParam" = type { i8 }
%"struct.JPH::DebugRenderer::SwingPyramidLimits" = type { float, float, float, float }
%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator" = type { %"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::IteratorBase.base", [4 x i8] }
%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::IteratorBase.base" = type <{ ptr, i32 }>
%class.anon.29 = type { i8 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::DebugRenderer" = type { ptr, %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::UnorderedMap", %"class.JPH::UnorderedMap", %"class.JPH::UnorderedMap.1", %"class.JPH::UnorderedMap.1", %"class.JPH::UnorderedMap.5", %"class.JPH::UnorderedMap.5", %"class.JPH::UnorderedMap.9", %"class.JPH::UnorderedMap.9" }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.1" = type { %"class.JPH::HashTable.base.3", [4 x i8] }
%"class.JPH::HashTable.base.3" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.5" = type { %"class.JPH::HashTable.base.7", [4 x i8] }
%"class.JPH::HashTable.base.7" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.9" = type { %"class.JPH::HashTable.base.11", [4 x i8] }
%"class.JPH::HashTable.base.11" = type <{ ptr, ptr, i32, i32, i32 }>
%"struct.std::pair.27" = type { %"struct.JPH::DebugRenderer::SwingPyramidLimits", %"class.JPH::Ref" }

@.str.1 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [77 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat446sScaleEf(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, float noundef) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer12DrawGeometryERKNS_5Mat44ENS_5ColorERKNS_3RefINS0_8GeometryEEENS0_9ECullModeENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 16 dereferenceable(64), i32, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 %7, i32 noundef %8, i32 noundef %9) #6 align 2 {
  %11 = alloca %"class.JPH::Color", align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"struct.JPH::AssertLastParam", align 1
  %22 = alloca %"struct.JPH::AssertLastParam", align 1
  %23 = alloca %"struct.JPH::DebugRenderer::SwingPyramidLimits", align 4
  %24 = alloca ptr, align 8
  %25 = alloca %"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator", align 8
  %26 = alloca %"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator", align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %class.anon.29, align 1
  %30 = alloca [64 x %"class.JPH::Vec3"], align 16
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca i32, align 4
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca i32, align 4
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca i32, align 4
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Mat44", align 16
  %41 = alloca %"class.JPH::Mat44", align 16
  %42 = alloca %"class.JPH::Color", align 4
  %43 = getelementptr inbounds %"class.JPH::Color", ptr %11, i32 0, i32 0
  %44 = getelementptr inbounds %union.anon.0, ptr %43, i32 0, i32 0
  store i32 %7, ptr %44, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store float %2, ptr %14, align 4, !tbaa !9
  store float %3, ptr %15, align 4, !tbaa !9
  store float %4, ptr %16, align 4, !tbaa !9
  store float %5, ptr %17, align 4, !tbaa !9
  store float %6, ptr %18, align 4, !tbaa !9
  store i32 %8, ptr %19, align 4, !tbaa !11
  store i32 %9, ptr %20, align 4, !tbaa !13
  %45 = load ptr, ptr %12, align 8
  br label %46

46:                                               ; preds = %10
  %47 = load float, ptr %14, align 4, !tbaa !9
  %48 = load float, ptr %15, align 4, !tbaa !9
  %49 = fcmp ole float %47, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %46
  %51 = load float, ptr %16, align 4, !tbaa !9
  %52 = load float, ptr %17, align 4, !tbaa !9
  %53 = fcmp ole float %51, %52
  br i1 %53, label %57, label %54

54:                                               ; preds = %50, %46
  %55 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 955)
  br i1 %55, label %56, label %57

56:                                               ; preds = %54
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !15
  br label %57

57:                                               ; preds = %56, %54, %50
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  %60 = load float, ptr %18, align 4, !tbaa !9
  %61 = fcmp ogt float %60, 0.000000e+00
  br i1 %61, label %65, label %62

62:                                               ; preds = %59
  %63 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 956)
  br i1 %63, label %64, label %65

64:                                               ; preds = %62
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !16
  br label %65

65:                                               ; preds = %64, %62, %59
  br label %66

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  %67 = getelementptr inbounds %"struct.JPH::DebugRenderer::SwingPyramidLimits", ptr %23, i32 0, i32 0
  %68 = load float, ptr %14, align 4, !tbaa !9
  store float %68, ptr %67, align 4, !tbaa !17
  %69 = getelementptr inbounds %"struct.JPH::DebugRenderer::SwingPyramidLimits", ptr %23, i32 0, i32 1
  %70 = load float, ptr %15, align 4, !tbaa !9
  store float %70, ptr %69, align 4, !tbaa !19
  %71 = getelementptr inbounds %"struct.JPH::DebugRenderer::SwingPyramidLimits", ptr %23, i32 0, i32 2
  %72 = load float, ptr %16, align 4, !tbaa !9
  store float %72, ptr %71, align 4, !tbaa !20
  %73 = getelementptr inbounds %"struct.JPH::DebugRenderer::SwingPyramidLimits", ptr %23, i32 0, i32 3
  %74 = load float, ptr %17, align 4, !tbaa !9
  store float %74, ptr %73, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %75 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %45, i32 0, i32 10
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEixERKS2_(ptr noundef nonnull align 8 dereferenceable(28) %75, ptr noundef nonnull align 4 dereferenceable(16) %23)
  store ptr %76, ptr %24, align 8, !tbaa !5
  %77 = load ptr, ptr %24, align 8, !tbaa !5
  %78 = call noundef zeroext i1 @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEeqEPKS2_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef null)
  br i1 %78, label %79, label %89

79:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %80 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %45, i32 0, i32 11
  call void @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE4findERKS2_(ptr dead_on_unwind writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(28) %80, ptr noundef nonnull align 4 dereferenceable(16) %23)
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %81 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %45, i32 0, i32 11
  call void @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE3endEv(ptr dead_on_unwind writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(28) %81)
  %82 = call noundef zeroext i1 @_ZNK3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE12IteratorBaseISD_NSD_8iteratorEEneERKSF_(ptr noundef nonnull align 8 dereferenceable(12) %25, ptr noundef nonnull align 8 dereferenceable(12) %26)
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  br i1 %82, label %83, label %88

83:                                               ; preds = %79
  %84 = call noundef ptr @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE8iteratorptEv(ptr noundef nonnull align 8 dereferenceable(12) %25)
  %85 = getelementptr inbounds %"struct.std::pair.27", ptr %84, i32 0, i32 1
  %86 = load ptr, ptr %24, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 8 dereferenceable(8) %85)
  br label %88

88:                                               ; preds = %83, %79
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %89

89:                                               ; preds = %88, %66
  %90 = load ptr, ptr %24, align 8, !tbaa !5
  %91 = call noundef zeroext i1 @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEeqEPKS2_(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef null)
  br i1 %91, label %92, label %229

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 64, ptr %27, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 16, ptr %28, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 1024, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  store i32 0, ptr %32, align 4, !tbaa !22
  br label %93

93:                                               ; preds = %122, %92
  %94 = load i32, ptr %32, align 4, !tbaa !22
  %95 = load i32, ptr %28, align 4, !tbaa !22
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %125

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %99 = load float, ptr %14, align 4, !tbaa !9
  %100 = load float, ptr %17, align 4, !tbaa !9
  %101 = load float, ptr %17, align 4, !tbaa !9
  %102 = load float, ptr %16, align 4, !tbaa !9
  %103 = fsub float %101, %102
  %104 = load i32, ptr %32, align 4, !tbaa !22
  %105 = sitofp i32 %104 to float
  %106 = fmul float %103, %105
  %107 = load i32, ptr %28, align 4, !tbaa !22
  %108 = sitofp i32 %107 to float
  %109 = fdiv float %106, %108
  %110 = fsub float %100, %109
  %111 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %29, float noundef %99, float noundef %110)
  %112 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %113 = getelementptr inbounds %union.anon, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 0
  %115 = extractvalue { double, double } %111, 0
  store double %115, ptr %114, align 16
  %116 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 1
  %117 = extractvalue { double, double } %111, 1
  store double %117, ptr %116, align 8
  %118 = load i32, ptr %31, align 4, !tbaa !22
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %31, align 4, !tbaa !22
  %120 = sext i32 %118 to i64
  %121 = getelementptr inbounds [64 x %"class.JPH::Vec3"], ptr %30, i64 0, i64 %120
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %121, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  br label %122

122:                                              ; preds = %98
  %123 = load i32, ptr %32, align 4, !tbaa !22
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %32, align 4, !tbaa !22
  br label %93, !llvm.loop !26

125:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  store i32 0, ptr %34, align 4, !tbaa !22
  br label %126

126:                                              ; preds = %155, %125
  %127 = load i32, ptr %34, align 4, !tbaa !22
  %128 = load i32, ptr %28, align 4, !tbaa !22
  %129 = icmp slt i32 %127, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %158

131:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  %132 = load float, ptr %14, align 4, !tbaa !9
  %133 = load float, ptr %15, align 4, !tbaa !9
  %134 = load float, ptr %14, align 4, !tbaa !9
  %135 = fsub float %133, %134
  %136 = load i32, ptr %34, align 4, !tbaa !22
  %137 = sitofp i32 %136 to float
  %138 = fmul float %135, %137
  %139 = load i32, ptr %28, align 4, !tbaa !22
  %140 = sitofp i32 %139 to float
  %141 = fdiv float %138, %140
  %142 = fadd float %132, %141
  %143 = load float, ptr %16, align 4, !tbaa !9
  %144 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %29, float noundef %142, float noundef %143)
  %145 = getelementptr inbounds %"class.JPH::Vec3", ptr %35, i32 0, i32 0
  %146 = getelementptr inbounds %union.anon, ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds { double, double }, ptr %146, i32 0, i32 0
  %148 = extractvalue { double, double } %144, 0
  store double %148, ptr %147, align 16
  %149 = getelementptr inbounds { double, double }, ptr %146, i32 0, i32 1
  %150 = extractvalue { double, double } %144, 1
  store double %150, ptr %149, align 8
  %151 = load i32, ptr %31, align 4, !tbaa !22
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %31, align 4, !tbaa !22
  %153 = sext i32 %151 to i64
  %154 = getelementptr inbounds [64 x %"class.JPH::Vec3"], ptr %30, i64 0, i64 %153
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %154, ptr align 16 %35, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  br label %155

155:                                              ; preds = %131
  %156 = load i32, ptr %34, align 4, !tbaa !22
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %34, align 4, !tbaa !22
  br label %126, !llvm.loop !28

158:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  store i32 0, ptr %36, align 4, !tbaa !22
  br label %159

159:                                              ; preds = %188, %158
  %160 = load i32, ptr %36, align 4, !tbaa !22
  %161 = load i32, ptr %28, align 4, !tbaa !22
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  br label %191

164:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #7
  %165 = load float, ptr %15, align 4, !tbaa !9
  %166 = load float, ptr %16, align 4, !tbaa !9
  %167 = load float, ptr %17, align 4, !tbaa !9
  %168 = load float, ptr %16, align 4, !tbaa !9
  %169 = fsub float %167, %168
  %170 = load i32, ptr %36, align 4, !tbaa !22
  %171 = sitofp i32 %170 to float
  %172 = fmul float %169, %171
  %173 = load i32, ptr %28, align 4, !tbaa !22
  %174 = sitofp i32 %173 to float
  %175 = fdiv float %172, %174
  %176 = fadd float %166, %175
  %177 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %29, float noundef %165, float noundef %176)
  %178 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i32 0, i32 0
  %179 = getelementptr inbounds %union.anon, ptr %178, i32 0, i32 0
  %180 = getelementptr inbounds { double, double }, ptr %179, i32 0, i32 0
  %181 = extractvalue { double, double } %177, 0
  store double %181, ptr %180, align 16
  %182 = getelementptr inbounds { double, double }, ptr %179, i32 0, i32 1
  %183 = extractvalue { double, double } %177, 1
  store double %183, ptr %182, align 8
  %184 = load i32, ptr %31, align 4, !tbaa !22
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %31, align 4, !tbaa !22
  %186 = sext i32 %184 to i64
  %187 = getelementptr inbounds [64 x %"class.JPH::Vec3"], ptr %30, i64 0, i64 %186
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %187, ptr align 16 %37, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #7
  br label %188

188:                                              ; preds = %164
  %189 = load i32, ptr %36, align 4, !tbaa !22
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %36, align 4, !tbaa !22
  br label %159, !llvm.loop !29

191:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 0, ptr %38, align 4, !tbaa !22
  br label %192

192:                                              ; preds = %221, %191
  %193 = load i32, ptr %38, align 4, !tbaa !22
  %194 = load i32, ptr %28, align 4, !tbaa !22
  %195 = icmp slt i32 %193, %194
  br i1 %195, label %197, label %196

196:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %224

197:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  %198 = load float, ptr %15, align 4, !tbaa !9
  %199 = load float, ptr %15, align 4, !tbaa !9
  %200 = load float, ptr %14, align 4, !tbaa !9
  %201 = fsub float %199, %200
  %202 = load i32, ptr %38, align 4, !tbaa !22
  %203 = sitofp i32 %202 to float
  %204 = fmul float %201, %203
  %205 = load i32, ptr %28, align 4, !tbaa !22
  %206 = sitofp i32 %205 to float
  %207 = fdiv float %204, %206
  %208 = fsub float %198, %207
  %209 = load float, ptr %17, align 4, !tbaa !9
  %210 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %29, float noundef %208, float noundef %209)
  %211 = getelementptr inbounds %"class.JPH::Vec3", ptr %39, i32 0, i32 0
  %212 = getelementptr inbounds %union.anon, ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds { double, double }, ptr %212, i32 0, i32 0
  %214 = extractvalue { double, double } %210, 0
  store double %214, ptr %213, align 16
  %215 = getelementptr inbounds { double, double }, ptr %212, i32 0, i32 1
  %216 = extractvalue { double, double } %210, 1
  store double %216, ptr %215, align 8
  %217 = load i32, ptr %31, align 4, !tbaa !22
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %31, align 4, !tbaa !22
  %219 = sext i32 %217 to i64
  %220 = getelementptr inbounds [64 x %"class.JPH::Vec3"], ptr %30, i64 0, i64 %219
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %220, ptr align 16 %39, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  br label %221

221:                                              ; preds = %197
  %222 = load i32, ptr %38, align 4, !tbaa !22
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %38, align 4, !tbaa !22
  br label %192, !llvm.loop !30

224:                                              ; preds = %196
  %225 = getelementptr inbounds [64 x %"class.JPH::Vec3"], ptr %30, i64 0, i64 0
  %226 = call noundef ptr @_ZN3JPH13DebugRenderer24CreateSwingLimitGeometryEiPKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(320) %45, i32 noundef 64, ptr noundef %225)
  %227 = load ptr, ptr %24, align 8, !tbaa !5
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef %226)
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %229

229:                                              ; preds = %224, %89
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #7
  %230 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #7
  %231 = load float, ptr %18, align 4, !tbaa !9
  call void @_ZN3JPH5Mat446sScaleEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %41, float noundef %231)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %40, ptr noundef nonnull align 16 dereferenceable(64) %230, ptr noundef nonnull align 16 dereferenceable(64) %41)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %11, i64 4, i1 false), !tbaa.struct !31
  %232 = load ptr, ptr %24, align 8, !tbaa !5
  %233 = load i32, ptr %19, align 4, !tbaa !11
  %234 = load i32, ptr %20, align 4, !tbaa !13
  %235 = getelementptr inbounds %"class.JPH::Color", ptr %42, i32 0, i32 0
  %236 = getelementptr inbounds %union.anon.0, ptr %235, i32 0, i32 0
  %237 = load i32, ptr %236, align 4
  call void @_ZN3JPH13DebugRenderer12DrawGeometryERKNS_5Mat44ENS_5ColorERKNS_3RefINS0_8GeometryEEENS0_9ECullModeENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %45, ptr noundef nonnull align 16 dereferenceable(64) %40, i32 %237, ptr noundef nonnull align 8 dereferenceable(8) %232, i32 noundef 2, i32 noundef %233, i32 noundef %234)
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEixERKS2_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(16)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE4findERKS2_(ptr dead_on_unwind noalias writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(16)) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(28)) #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1), float noundef, float noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN3JPH13DebugRenderer11ECastShadowE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN3JPH13DebugRenderer9EDrawModeE", !7, i64 0}
!15 = !{i64 2158314594}
!16 = !{i64 2158314924}
!17 = !{!18, !10, i64 0}
!18 = !{!"_ZTSN3JPH13DebugRenderer18SwingPyramidLimitsE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!19 = !{!18, !10, i64 4}
!20 = !{!18, !10, i64 8}
!21 = !{!18, !10, i64 12}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{i64 0, i64 16, !25}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !27}
!31 = !{i64 0, i64 4, !25}


; 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::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.13 }
%union.anon.13 = type { <4 x float> }
%"struct.JPH::DebugRenderer::SwingPyramidLimits" = type { float, float, float, float }
%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator" = type { %"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::IteratorBase.base", [4 x i8] }
%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::IteratorBase.base" = type <{ ptr, i32 }>
%class.anon.29 = type { i8 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }

@.str.1 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [77 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: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat446sScaleEf(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, float noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer12DrawGeometryERKNS_5Mat44ENS_5ColorERKNS_3RefINS0_8GeometryEEENS0_9ECullModeENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 16 dereferenceable(64), i32, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH13DebugRenderer24CreateSwingLimitGeometryEiPKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(320), i32 noundef, ptr noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 %7, i32 noundef %8, i32 noundef %9) local_unnamed_addr #5 align 2 {
  %11 = alloca %"struct.JPH::DebugRenderer::SwingPyramidLimits", align 4
  %12 = alloca %"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator", align 8
  %13 = alloca %"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator", align 8
  %14 = alloca %class.anon.29, align 1
  %15 = alloca [64 x %"class.JPH::Vec3"], align 16
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca %"class.JPH::Mat44", align 16
  %18 = fcmp ugt float %2, %3
  %19 = fcmp ugt float %4, %5
  %or.cond = or i1 %18, %19
  br i1 %or.cond, label %20, label %23

20:                                               ; preds = %10
  %21 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 955)
  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 = %10, %22, %20
  %24 = fcmp ogt float %6, 0.000000e+00
  br i1 %24, label %28, label %25

25:                                               ; preds = %23
  %26 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 956)
  br i1 %26, label %27, label %28

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

28:                                               ; preds = %23, %25, %27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  store float %2, ptr %11, align 4, !tbaa !7
  %29 = getelementptr inbounds i8, ptr %11, i64 4
  store float %3, ptr %29, align 4, !tbaa !12
  %30 = getelementptr inbounds i8, ptr %11, i64 8
  store float %4, ptr %30, align 4, !tbaa !13
  %31 = getelementptr inbounds i8, ptr %11, i64 12
  store float %5, ptr %31, align 4, !tbaa !14
  %32 = getelementptr inbounds i8, ptr %0, i64 128
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEixERKS2_(ptr noundef nonnull align 8 dereferenceable(28) %32, ptr noundef nonnull align 4 dereferenceable(16) %11)
  %34 = call noundef zeroext i1 @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEeqEPKS2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef null)
  br i1 %34, label %35, label %43

35:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %36 = getelementptr inbounds i8, ptr %0, i64 160
  call void @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE4findERKS2_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8 %12, ptr noundef nonnull align 8 dereferenceable(28) %36, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(28) %36)
  %37 = call noundef zeroext i1 @_ZNK3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE12IteratorBaseISD_NSD_8iteratorEEneERKSF_(ptr noundef nonnull align 8 dereferenceable(12) %12, ptr noundef nonnull align 8 dereferenceable(12) %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br i1 %37, label %38, label %42

38:                                               ; preds = %35
  %39 = call noundef ptr @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE8iteratorptEv(ptr noundef nonnull align 8 dereferenceable(12) %12)
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %40)
  br label %42

42:                                               ; preds = %38, %35
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %43

43:                                               ; preds = %42, %28
  %44 = call noundef zeroext i1 @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEeqEPKS2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef null)
  br i1 %44, label %.preheader71, label %430

.preheader71:                                     ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %15) #6
  %45 = fsub float %5, %4
  %46 = fmul float %45, 0.000000e+00
  %47 = fmul float %46, 6.250000e-02
  %48 = fsub float %5, %47
  %49 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %48)
  %50 = extractvalue { double, double } %49, 0
  %51 = extractvalue { double, double } %49, 1
  store double %50, ptr %15, align 16
  %.sroa.415.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  store double %51, ptr %.sroa.415.0..sroa_idx, align 8, !tbaa !15
  %52 = fmul float %45, 6.250000e-02
  %53 = fsub float %5, %52
  %54 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %53)
  %55 = extractvalue { double, double } %54, 0
  %56 = extractvalue { double, double } %54, 1
  %57 = getelementptr inbounds i8, ptr %15, i64 16
  store double %55, ptr %57, align 16
  %.sroa.415.0..sroa_idx.1 = getelementptr inbounds i8, ptr %15, i64 24
  store double %56, ptr %.sroa.415.0..sroa_idx.1, align 8, !tbaa !15
  %58 = fmul float %45, 2.000000e+00
  %59 = fmul float %58, 6.250000e-02
  %60 = fsub float %5, %59
  %61 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %60)
  %62 = extractvalue { double, double } %61, 0
  %63 = extractvalue { double, double } %61, 1
  %64 = getelementptr inbounds i8, ptr %15, i64 32
  store double %62, ptr %64, align 16
  %.sroa.415.0..sroa_idx.2 = getelementptr inbounds i8, ptr %15, i64 40
  store double %63, ptr %.sroa.415.0..sroa_idx.2, align 8, !tbaa !15
  %65 = fmul float %45, 3.000000e+00
  %66 = fmul float %65, 6.250000e-02
  %67 = fsub float %5, %66
  %68 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %67)
  %69 = extractvalue { double, double } %68, 0
  %70 = extractvalue { double, double } %68, 1
  %71 = getelementptr inbounds i8, ptr %15, i64 48
  store double %69, ptr %71, align 16
  %.sroa.415.0..sroa_idx.3 = getelementptr inbounds i8, ptr %15, i64 56
  store double %70, ptr %.sroa.415.0..sroa_idx.3, align 8, !tbaa !15
  %72 = fmul float %45, 4.000000e+00
  %73 = fmul float %72, 6.250000e-02
  %74 = fsub float %5, %73
  %75 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %74)
  %76 = extractvalue { double, double } %75, 0
  %77 = extractvalue { double, double } %75, 1
  %78 = getelementptr inbounds i8, ptr %15, i64 64
  store double %76, ptr %78, align 16
  %.sroa.415.0..sroa_idx.4 = getelementptr inbounds i8, ptr %15, i64 72
  store double %77, ptr %.sroa.415.0..sroa_idx.4, align 8, !tbaa !15
  %79 = fmul float %45, 5.000000e+00
  %80 = fmul float %79, 6.250000e-02
  %81 = fsub float %5, %80
  %82 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %81)
  %83 = extractvalue { double, double } %82, 0
  %84 = extractvalue { double, double } %82, 1
  %85 = getelementptr inbounds i8, ptr %15, i64 80
  store double %83, ptr %85, align 16
  %.sroa.415.0..sroa_idx.5 = getelementptr inbounds i8, ptr %15, i64 88
  store double %84, ptr %.sroa.415.0..sroa_idx.5, align 8, !tbaa !15
  %86 = fmul float %45, 6.000000e+00
  %87 = fmul float %86, 6.250000e-02
  %88 = fsub float %5, %87
  %89 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %88)
  %90 = extractvalue { double, double } %89, 0
  %91 = extractvalue { double, double } %89, 1
  %92 = getelementptr inbounds i8, ptr %15, i64 96
  store double %90, ptr %92, align 16
  %.sroa.415.0..sroa_idx.6 = getelementptr inbounds i8, ptr %15, i64 104
  store double %91, ptr %.sroa.415.0..sroa_idx.6, align 8, !tbaa !15
  %93 = fmul float %45, 7.000000e+00
  %94 = fmul float %93, 6.250000e-02
  %95 = fsub float %5, %94
  %96 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %95)
  %97 = extractvalue { double, double } %96, 0
  %98 = extractvalue { double, double } %96, 1
  %99 = getelementptr inbounds i8, ptr %15, i64 112
  store double %97, ptr %99, align 16
  %.sroa.415.0..sroa_idx.7 = getelementptr inbounds i8, ptr %15, i64 120
  store double %98, ptr %.sroa.415.0..sroa_idx.7, align 8, !tbaa !15
  %100 = fmul float %45, 8.000000e+00
  %101 = fmul float %100, 6.250000e-02
  %102 = fsub float %5, %101
  %103 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %102)
  %104 = extractvalue { double, double } %103, 0
  %105 = extractvalue { double, double } %103, 1
  %106 = getelementptr inbounds i8, ptr %15, i64 128
  store double %104, ptr %106, align 16
  %.sroa.415.0..sroa_idx.8 = getelementptr inbounds i8, ptr %15, i64 136
  store double %105, ptr %.sroa.415.0..sroa_idx.8, align 8, !tbaa !15
  %107 = fmul float %45, 9.000000e+00
  %108 = fmul float %107, 6.250000e-02
  %109 = fsub float %5, %108
  %110 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %109)
  %111 = extractvalue { double, double } %110, 0
  %112 = extractvalue { double, double } %110, 1
  %113 = getelementptr inbounds i8, ptr %15, i64 144
  store double %111, ptr %113, align 16
  %.sroa.415.0..sroa_idx.9 = getelementptr inbounds i8, ptr %15, i64 152
  store double %112, ptr %.sroa.415.0..sroa_idx.9, align 8, !tbaa !15
  %114 = fmul float %45, 1.000000e+01
  %115 = fmul float %114, 6.250000e-02
  %116 = fsub float %5, %115
  %117 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %116)
  %118 = extractvalue { double, double } %117, 0
  %119 = extractvalue { double, double } %117, 1
  %120 = getelementptr inbounds i8, ptr %15, i64 160
  store double %118, ptr %120, align 16
  %.sroa.415.0..sroa_idx.10 = getelementptr inbounds i8, ptr %15, i64 168
  store double %119, ptr %.sroa.415.0..sroa_idx.10, align 8, !tbaa !15
  %121 = fmul float %45, 1.100000e+01
  %122 = fmul float %121, 6.250000e-02
  %123 = fsub float %5, %122
  %124 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %123)
  %125 = extractvalue { double, double } %124, 0
  %126 = extractvalue { double, double } %124, 1
  %127 = getelementptr inbounds i8, ptr %15, i64 176
  store double %125, ptr %127, align 16
  %.sroa.415.0..sroa_idx.11 = getelementptr inbounds i8, ptr %15, i64 184
  store double %126, ptr %.sroa.415.0..sroa_idx.11, align 8, !tbaa !15
  %128 = fmul float %45, 1.200000e+01
  %129 = fmul float %128, 6.250000e-02
  %130 = fsub float %5, %129
  %131 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %130)
  %132 = extractvalue { double, double } %131, 0
  %133 = extractvalue { double, double } %131, 1
  %134 = getelementptr inbounds i8, ptr %15, i64 192
  store double %132, ptr %134, align 16
  %.sroa.415.0..sroa_idx.12 = getelementptr inbounds i8, ptr %15, i64 200
  store double %133, ptr %.sroa.415.0..sroa_idx.12, align 8, !tbaa !15
  %135 = fmul float %45, 1.300000e+01
  %136 = fmul float %135, 6.250000e-02
  %137 = fsub float %5, %136
  %138 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %137)
  %139 = extractvalue { double, double } %138, 0
  %140 = extractvalue { double, double } %138, 1
  %141 = getelementptr inbounds i8, ptr %15, i64 208
  store double %139, ptr %141, align 16
  %.sroa.415.0..sroa_idx.13 = getelementptr inbounds i8, ptr %15, i64 216
  store double %140, ptr %.sroa.415.0..sroa_idx.13, align 8, !tbaa !15
  %142 = fmul float %45, 1.400000e+01
  %143 = fmul float %142, 6.250000e-02
  %144 = fsub float %5, %143
  %145 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %144)
  %146 = extractvalue { double, double } %145, 0
  %147 = extractvalue { double, double } %145, 1
  %148 = getelementptr inbounds i8, ptr %15, i64 224
  store double %146, ptr %148, align 16
  %.sroa.415.0..sroa_idx.14 = getelementptr inbounds i8, ptr %15, i64 232
  store double %147, ptr %.sroa.415.0..sroa_idx.14, align 8, !tbaa !15
  %149 = fmul float %45, 1.500000e+01
  %150 = fmul float %149, 6.250000e-02
  %151 = fsub float %5, %150
  %152 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %2, float noundef %151)
  %153 = extractvalue { double, double } %152, 0
  %154 = extractvalue { double, double } %152, 1
  %155 = getelementptr inbounds i8, ptr %15, i64 240
  store double %153, ptr %155, align 16
  %.sroa.415.0..sroa_idx.15 = getelementptr inbounds i8, ptr %15, i64 248
  store double %154, ptr %.sroa.415.0..sroa_idx.15, align 8, !tbaa !15
  %156 = fsub float %3, %2
  %157 = fmul float %156, 0.000000e+00
  %158 = fmul float %157, 6.250000e-02
  %159 = fadd float %158, %2
  %160 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %159, float noundef %4)
  %161 = extractvalue { double, double } %160, 0
  %162 = extractvalue { double, double } %160, 1
  %163 = getelementptr inbounds i8, ptr %15, i64 256
  store double %161, ptr %163, align 16
  %.sroa.410.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 264
  store double %162, ptr %.sroa.410.0..sroa_idx, align 8, !tbaa !15
  %164 = fmul float %156, 6.250000e-02
  %165 = fadd float %164, %2
  %166 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %165, float noundef %4)
  %167 = extractvalue { double, double } %166, 0
  %168 = extractvalue { double, double } %166, 1
  %169 = getelementptr inbounds i8, ptr %15, i64 272
  store double %167, ptr %169, align 16
  %.sroa.410.0..sroa_idx.1 = getelementptr inbounds i8, ptr %15, i64 280
  store double %168, ptr %.sroa.410.0..sroa_idx.1, align 8, !tbaa !15
  %170 = fmul float %156, 2.000000e+00
  %171 = fmul float %170, 6.250000e-02
  %172 = fadd float %171, %2
  %173 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %172, float noundef %4)
  %174 = extractvalue { double, double } %173, 0
  %175 = extractvalue { double, double } %173, 1
  %176 = getelementptr inbounds i8, ptr %15, i64 288
  store double %174, ptr %176, align 16
  %.sroa.410.0..sroa_idx.2 = getelementptr inbounds i8, ptr %15, i64 296
  store double %175, ptr %.sroa.410.0..sroa_idx.2, align 8, !tbaa !15
  %177 = fmul float %156, 3.000000e+00
  %178 = fmul float %177, 6.250000e-02
  %179 = fadd float %178, %2
  %180 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %179, float noundef %4)
  %181 = extractvalue { double, double } %180, 0
  %182 = extractvalue { double, double } %180, 1
  %183 = getelementptr inbounds i8, ptr %15, i64 304
  store double %181, ptr %183, align 16
  %.sroa.410.0..sroa_idx.3 = getelementptr inbounds i8, ptr %15, i64 312
  store double %182, ptr %.sroa.410.0..sroa_idx.3, align 8, !tbaa !15
  %184 = fmul float %156, 4.000000e+00
  %185 = fmul float %184, 6.250000e-02
  %186 = fadd float %185, %2
  %187 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %186, float noundef %4)
  %188 = extractvalue { double, double } %187, 0
  %189 = extractvalue { double, double } %187, 1
  %190 = getelementptr inbounds i8, ptr %15, i64 320
  store double %188, ptr %190, align 16
  %.sroa.410.0..sroa_idx.4 = getelementptr inbounds i8, ptr %15, i64 328
  store double %189, ptr %.sroa.410.0..sroa_idx.4, align 8, !tbaa !15
  %191 = fmul float %156, 5.000000e+00
  %192 = fmul float %191, 6.250000e-02
  %193 = fadd float %192, %2
  %194 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %193, float noundef %4)
  %195 = extractvalue { double, double } %194, 0
  %196 = extractvalue { double, double } %194, 1
  %197 = getelementptr inbounds i8, ptr %15, i64 336
  store double %195, ptr %197, align 16
  %.sroa.410.0..sroa_idx.5 = getelementptr inbounds i8, ptr %15, i64 344
  store double %196, ptr %.sroa.410.0..sroa_idx.5, align 8, !tbaa !15
  %198 = fmul float %156, 6.000000e+00
  %199 = fmul float %198, 6.250000e-02
  %200 = fadd float %199, %2
  %201 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %200, float noundef %4)
  %202 = extractvalue { double, double } %201, 0
  %203 = extractvalue { double, double } %201, 1
  %204 = getelementptr inbounds i8, ptr %15, i64 352
  store double %202, ptr %204, align 16
  %.sroa.410.0..sroa_idx.6 = getelementptr inbounds i8, ptr %15, i64 360
  store double %203, ptr %.sroa.410.0..sroa_idx.6, align 8, !tbaa !15
  %205 = fmul float %156, 7.000000e+00
  %206 = fmul float %205, 6.250000e-02
  %207 = fadd float %206, %2
  %208 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %207, float noundef %4)
  %209 = extractvalue { double, double } %208, 0
  %210 = extractvalue { double, double } %208, 1
  %211 = getelementptr inbounds i8, ptr %15, i64 368
  store double %209, ptr %211, align 16
  %.sroa.410.0..sroa_idx.7 = getelementptr inbounds i8, ptr %15, i64 376
  store double %210, ptr %.sroa.410.0..sroa_idx.7, align 8, !tbaa !15
  %212 = fmul float %156, 8.000000e+00
  %213 = fmul float %212, 6.250000e-02
  %214 = fadd float %213, %2
  %215 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %214, float noundef %4)
  %216 = extractvalue { double, double } %215, 0
  %217 = extractvalue { double, double } %215, 1
  %218 = getelementptr inbounds i8, ptr %15, i64 384
  store double %216, ptr %218, align 16
  %.sroa.410.0..sroa_idx.8 = getelementptr inbounds i8, ptr %15, i64 392
  store double %217, ptr %.sroa.410.0..sroa_idx.8, align 8, !tbaa !15
  %219 = fmul float %156, 9.000000e+00
  %220 = fmul float %219, 6.250000e-02
  %221 = fadd float %220, %2
  %222 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %221, float noundef %4)
  %223 = extractvalue { double, double } %222, 0
  %224 = extractvalue { double, double } %222, 1
  %225 = getelementptr inbounds i8, ptr %15, i64 400
  store double %223, ptr %225, align 16
  %.sroa.410.0..sroa_idx.9 = getelementptr inbounds i8, ptr %15, i64 408
  store double %224, ptr %.sroa.410.0..sroa_idx.9, align 8, !tbaa !15
  %226 = fmul float %156, 1.000000e+01
  %227 = fmul float %226, 6.250000e-02
  %228 = fadd float %227, %2
  %229 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %228, float noundef %4)
  %230 = extractvalue { double, double } %229, 0
  %231 = extractvalue { double, double } %229, 1
  %232 = getelementptr inbounds i8, ptr %15, i64 416
  store double %230, ptr %232, align 16
  %.sroa.410.0..sroa_idx.10 = getelementptr inbounds i8, ptr %15, i64 424
  store double %231, ptr %.sroa.410.0..sroa_idx.10, align 8, !tbaa !15
  %233 = fmul float %156, 1.100000e+01
  %234 = fmul float %233, 6.250000e-02
  %235 = fadd float %234, %2
  %236 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %235, float noundef %4)
  %237 = extractvalue { double, double } %236, 0
  %238 = extractvalue { double, double } %236, 1
  %239 = getelementptr inbounds i8, ptr %15, i64 432
  store double %237, ptr %239, align 16
  %.sroa.410.0..sroa_idx.11 = getelementptr inbounds i8, ptr %15, i64 440
  store double %238, ptr %.sroa.410.0..sroa_idx.11, align 8, !tbaa !15
  %240 = fmul float %156, 1.200000e+01
  %241 = fmul float %240, 6.250000e-02
  %242 = fadd float %241, %2
  %243 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %242, float noundef %4)
  %244 = extractvalue { double, double } %243, 0
  %245 = extractvalue { double, double } %243, 1
  %246 = getelementptr inbounds i8, ptr %15, i64 448
  store double %244, ptr %246, align 16
  %.sroa.410.0..sroa_idx.12 = getelementptr inbounds i8, ptr %15, i64 456
  store double %245, ptr %.sroa.410.0..sroa_idx.12, align 8, !tbaa !15
  %247 = fmul float %156, 1.300000e+01
  %248 = fmul float %247, 6.250000e-02
  %249 = fadd float %248, %2
  %250 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %249, float noundef %4)
  %251 = extractvalue { double, double } %250, 0
  %252 = extractvalue { double, double } %250, 1
  %253 = getelementptr inbounds i8, ptr %15, i64 464
  store double %251, ptr %253, align 16
  %.sroa.410.0..sroa_idx.13 = getelementptr inbounds i8, ptr %15, i64 472
  store double %252, ptr %.sroa.410.0..sroa_idx.13, align 8, !tbaa !15
  %254 = fmul float %156, 1.400000e+01
  %255 = fmul float %254, 6.250000e-02
  %256 = fadd float %255, %2
  %257 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %256, float noundef %4)
  %258 = extractvalue { double, double } %257, 0
  %259 = extractvalue { double, double } %257, 1
  %260 = getelementptr inbounds i8, ptr %15, i64 480
  store double %258, ptr %260, align 16
  %.sroa.410.0..sroa_idx.14 = getelementptr inbounds i8, ptr %15, i64 488
  store double %259, ptr %.sroa.410.0..sroa_idx.14, align 8, !tbaa !15
  %261 = fmul float %156, 1.500000e+01
  %262 = fmul float %261, 6.250000e-02
  %263 = fadd float %262, %2
  %264 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %263, float noundef %4)
  %265 = extractvalue { double, double } %264, 0
  %266 = extractvalue { double, double } %264, 1
  %267 = getelementptr inbounds i8, ptr %15, i64 496
  store double %265, ptr %267, align 16
  %.sroa.410.0..sroa_idx.15 = getelementptr inbounds i8, ptr %15, i64 504
  store double %266, ptr %.sroa.410.0..sroa_idx.15, align 8, !tbaa !15
  %268 = fadd float %47, %4
  %269 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %268)
  %270 = extractvalue { double, double } %269, 0
  %271 = extractvalue { double, double } %269, 1
  %272 = getelementptr inbounds i8, ptr %15, i64 512
  store double %270, ptr %272, align 16
  %.sroa.45.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 520
  store double %271, ptr %.sroa.45.0..sroa_idx, align 8, !tbaa !15
  %273 = fadd float %52, %4
  %274 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %273)
  %275 = extractvalue { double, double } %274, 0
  %276 = extractvalue { double, double } %274, 1
  %277 = getelementptr inbounds i8, ptr %15, i64 528
  store double %275, ptr %277, align 16
  %.sroa.45.0..sroa_idx.1 = getelementptr inbounds i8, ptr %15, i64 536
  store double %276, ptr %.sroa.45.0..sroa_idx.1, align 8, !tbaa !15
  %278 = fadd float %59, %4
  %279 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %278)
  %280 = extractvalue { double, double } %279, 0
  %281 = extractvalue { double, double } %279, 1
  %282 = getelementptr inbounds i8, ptr %15, i64 544
  store double %280, ptr %282, align 16
  %.sroa.45.0..sroa_idx.2 = getelementptr inbounds i8, ptr %15, i64 552
  store double %281, ptr %.sroa.45.0..sroa_idx.2, align 8, !tbaa !15
  %283 = fadd float %66, %4
  %284 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %283)
  %285 = extractvalue { double, double } %284, 0
  %286 = extractvalue { double, double } %284, 1
  %287 = getelementptr inbounds i8, ptr %15, i64 560
  store double %285, ptr %287, align 16
  %.sroa.45.0..sroa_idx.3 = getelementptr inbounds i8, ptr %15, i64 568
  store double %286, ptr %.sroa.45.0..sroa_idx.3, align 8, !tbaa !15
  %288 = fadd float %73, %4
  %289 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %288)
  %290 = extractvalue { double, double } %289, 0
  %291 = extractvalue { double, double } %289, 1
  %292 = getelementptr inbounds i8, ptr %15, i64 576
  store double %290, ptr %292, align 16
  %.sroa.45.0..sroa_idx.4 = getelementptr inbounds i8, ptr %15, i64 584
  store double %291, ptr %.sroa.45.0..sroa_idx.4, align 8, !tbaa !15
  %293 = fadd float %80, %4
  %294 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %293)
  %295 = extractvalue { double, double } %294, 0
  %296 = extractvalue { double, double } %294, 1
  %297 = getelementptr inbounds i8, ptr %15, i64 592
  store double %295, ptr %297, align 16
  %.sroa.45.0..sroa_idx.5 = getelementptr inbounds i8, ptr %15, i64 600
  store double %296, ptr %.sroa.45.0..sroa_idx.5, align 8, !tbaa !15
  %298 = fadd float %87, %4
  %299 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %298)
  %300 = extractvalue { double, double } %299, 0
  %301 = extractvalue { double, double } %299, 1
  %302 = getelementptr inbounds i8, ptr %15, i64 608
  store double %300, ptr %302, align 16
  %.sroa.45.0..sroa_idx.6 = getelementptr inbounds i8, ptr %15, i64 616
  store double %301, ptr %.sroa.45.0..sroa_idx.6, align 8, !tbaa !15
  %303 = fadd float %94, %4
  %304 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %303)
  %305 = extractvalue { double, double } %304, 0
  %306 = extractvalue { double, double } %304, 1
  %307 = getelementptr inbounds i8, ptr %15, i64 624
  store double %305, ptr %307, align 16
  %.sroa.45.0..sroa_idx.7 = getelementptr inbounds i8, ptr %15, i64 632
  store double %306, ptr %.sroa.45.0..sroa_idx.7, align 8, !tbaa !15
  %308 = fadd float %101, %4
  %309 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %308)
  %310 = extractvalue { double, double } %309, 0
  %311 = extractvalue { double, double } %309, 1
  %312 = getelementptr inbounds i8, ptr %15, i64 640
  store double %310, ptr %312, align 16
  %.sroa.45.0..sroa_idx.8 = getelementptr inbounds i8, ptr %15, i64 648
  store double %311, ptr %.sroa.45.0..sroa_idx.8, align 8, !tbaa !15
  %313 = fadd float %108, %4
  %314 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %313)
  %315 = extractvalue { double, double } %314, 0
  %316 = extractvalue { double, double } %314, 1
  %317 = getelementptr inbounds i8, ptr %15, i64 656
  store double %315, ptr %317, align 16
  %.sroa.45.0..sroa_idx.9 = getelementptr inbounds i8, ptr %15, i64 664
  store double %316, ptr %.sroa.45.0..sroa_idx.9, align 8, !tbaa !15
  %318 = fadd float %115, %4
  %319 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %318)
  %320 = extractvalue { double, double } %319, 0
  %321 = extractvalue { double, double } %319, 1
  %322 = getelementptr inbounds i8, ptr %15, i64 672
  store double %320, ptr %322, align 16
  %.sroa.45.0..sroa_idx.10 = getelementptr inbounds i8, ptr %15, i64 680
  store double %321, ptr %.sroa.45.0..sroa_idx.10, align 8, !tbaa !15
  %323 = fadd float %122, %4
  %324 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %323)
  %325 = extractvalue { double, double } %324, 0
  %326 = extractvalue { double, double } %324, 1
  %327 = getelementptr inbounds i8, ptr %15, i64 688
  store double %325, ptr %327, align 16
  %.sroa.45.0..sroa_idx.11 = getelementptr inbounds i8, ptr %15, i64 696
  store double %326, ptr %.sroa.45.0..sroa_idx.11, align 8, !tbaa !15
  %328 = fadd float %129, %4
  %329 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %328)
  %330 = extractvalue { double, double } %329, 0
  %331 = extractvalue { double, double } %329, 1
  %332 = getelementptr inbounds i8, ptr %15, i64 704
  store double %330, ptr %332, align 16
  %.sroa.45.0..sroa_idx.12 = getelementptr inbounds i8, ptr %15, i64 712
  store double %331, ptr %.sroa.45.0..sroa_idx.12, align 8, !tbaa !15
  %333 = fadd float %136, %4
  %334 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %333)
  %335 = extractvalue { double, double } %334, 0
  %336 = extractvalue { double, double } %334, 1
  %337 = getelementptr inbounds i8, ptr %15, i64 720
  store double %335, ptr %337, align 16
  %.sroa.45.0..sroa_idx.13 = getelementptr inbounds i8, ptr %15, i64 728
  store double %336, ptr %.sroa.45.0..sroa_idx.13, align 8, !tbaa !15
  %338 = fadd float %143, %4
  %339 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %338)
  %340 = extractvalue { double, double } %339, 0
  %341 = extractvalue { double, double } %339, 1
  %342 = getelementptr inbounds i8, ptr %15, i64 736
  store double %340, ptr %342, align 16
  %.sroa.45.0..sroa_idx.14 = getelementptr inbounds i8, ptr %15, i64 744
  store double %341, ptr %.sroa.45.0..sroa_idx.14, align 8, !tbaa !15
  %343 = fadd float %150, %4
  %344 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %3, float noundef %343)
  %345 = extractvalue { double, double } %344, 0
  %346 = extractvalue { double, double } %344, 1
  %347 = getelementptr inbounds i8, ptr %15, i64 752
  store double %345, ptr %347, align 16
  %.sroa.45.0..sroa_idx.15 = getelementptr inbounds i8, ptr %15, i64 760
  store double %346, ptr %.sroa.45.0..sroa_idx.15, align 8, !tbaa !15
  %348 = fsub float %3, %158
  %349 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %348, float noundef %5)
  %350 = extractvalue { double, double } %349, 0
  %351 = extractvalue { double, double } %349, 1
  %352 = getelementptr inbounds i8, ptr %15, i64 768
  store double %350, ptr %352, align 16
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 776
  store double %351, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !15
  %353 = fsub float %3, %164
  %354 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %353, float noundef %5)
  %355 = extractvalue { double, double } %354, 0
  %356 = extractvalue { double, double } %354, 1
  %357 = getelementptr inbounds i8, ptr %15, i64 784
  store double %355, ptr %357, align 16
  %.sroa.4.0..sroa_idx.1 = getelementptr inbounds i8, ptr %15, i64 792
  store double %356, ptr %.sroa.4.0..sroa_idx.1, align 8, !tbaa !15
  %358 = fsub float %3, %171
  %359 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %358, float noundef %5)
  %360 = extractvalue { double, double } %359, 0
  %361 = extractvalue { double, double } %359, 1
  %362 = getelementptr inbounds i8, ptr %15, i64 800
  store double %360, ptr %362, align 16
  %.sroa.4.0..sroa_idx.2 = getelementptr inbounds i8, ptr %15, i64 808
  store double %361, ptr %.sroa.4.0..sroa_idx.2, align 8, !tbaa !15
  %363 = fsub float %3, %178
  %364 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %363, float noundef %5)
  %365 = extractvalue { double, double } %364, 0
  %366 = extractvalue { double, double } %364, 1
  %367 = getelementptr inbounds i8, ptr %15, i64 816
  store double %365, ptr %367, align 16
  %.sroa.4.0..sroa_idx.3 = getelementptr inbounds i8, ptr %15, i64 824
  store double %366, ptr %.sroa.4.0..sroa_idx.3, align 8, !tbaa !15
  %368 = fsub float %3, %185
  %369 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %368, float noundef %5)
  %370 = extractvalue { double, double } %369, 0
  %371 = extractvalue { double, double } %369, 1
  %372 = getelementptr inbounds i8, ptr %15, i64 832
  store double %370, ptr %372, align 16
  %.sroa.4.0..sroa_idx.4 = getelementptr inbounds i8, ptr %15, i64 840
  store double %371, ptr %.sroa.4.0..sroa_idx.4, align 8, !tbaa !15
  %373 = fsub float %3, %192
  %374 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %373, float noundef %5)
  %375 = extractvalue { double, double } %374, 0
  %376 = extractvalue { double, double } %374, 1
  %377 = getelementptr inbounds i8, ptr %15, i64 848
  store double %375, ptr %377, align 16
  %.sroa.4.0..sroa_idx.5 = getelementptr inbounds i8, ptr %15, i64 856
  store double %376, ptr %.sroa.4.0..sroa_idx.5, align 8, !tbaa !15
  %378 = fsub float %3, %199
  %379 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %378, float noundef %5)
  %380 = extractvalue { double, double } %379, 0
  %381 = extractvalue { double, double } %379, 1
  %382 = getelementptr inbounds i8, ptr %15, i64 864
  store double %380, ptr %382, align 16
  %.sroa.4.0..sroa_idx.6 = getelementptr inbounds i8, ptr %15, i64 872
  store double %381, ptr %.sroa.4.0..sroa_idx.6, align 8, !tbaa !15
  %383 = fsub float %3, %206
  %384 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %383, float noundef %5)
  %385 = extractvalue { double, double } %384, 0
  %386 = extractvalue { double, double } %384, 1
  %387 = getelementptr inbounds i8, ptr %15, i64 880
  store double %385, ptr %387, align 16
  %.sroa.4.0..sroa_idx.7 = getelementptr inbounds i8, ptr %15, i64 888
  store double %386, ptr %.sroa.4.0..sroa_idx.7, align 8, !tbaa !15
  %388 = fsub float %3, %213
  %389 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %388, float noundef %5)
  %390 = extractvalue { double, double } %389, 0
  %391 = extractvalue { double, double } %389, 1
  %392 = getelementptr inbounds i8, ptr %15, i64 896
  store double %390, ptr %392, align 16
  %.sroa.4.0..sroa_idx.8 = getelementptr inbounds i8, ptr %15, i64 904
  store double %391, ptr %.sroa.4.0..sroa_idx.8, align 8, !tbaa !15
  %393 = fsub float %3, %220
  %394 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %393, float noundef %5)
  %395 = extractvalue { double, double } %394, 0
  %396 = extractvalue { double, double } %394, 1
  %397 = getelementptr inbounds i8, ptr %15, i64 912
  store double %395, ptr %397, align 16
  %.sroa.4.0..sroa_idx.9 = getelementptr inbounds i8, ptr %15, i64 920
  store double %396, ptr %.sroa.4.0..sroa_idx.9, align 8, !tbaa !15
  %398 = fsub float %3, %227
  %399 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %398, float noundef %5)
  %400 = extractvalue { double, double } %399, 0
  %401 = extractvalue { double, double } %399, 1
  %402 = getelementptr inbounds i8, ptr %15, i64 928
  store double %400, ptr %402, align 16
  %.sroa.4.0..sroa_idx.10 = getelementptr inbounds i8, ptr %15, i64 936
  store double %401, ptr %.sroa.4.0..sroa_idx.10, align 8, !tbaa !15
  %403 = fsub float %3, %234
  %404 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %403, float noundef %5)
  %405 = extractvalue { double, double } %404, 0
  %406 = extractvalue { double, double } %404, 1
  %407 = getelementptr inbounds i8, ptr %15, i64 944
  store double %405, ptr %407, align 16
  %.sroa.4.0..sroa_idx.11 = getelementptr inbounds i8, ptr %15, i64 952
  store double %406, ptr %.sroa.4.0..sroa_idx.11, align 8, !tbaa !15
  %408 = fsub float %3, %241
  %409 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %408, float noundef %5)
  %410 = extractvalue { double, double } %409, 0
  %411 = extractvalue { double, double } %409, 1
  %412 = getelementptr inbounds i8, ptr %15, i64 960
  store double %410, ptr %412, align 16
  %.sroa.4.0..sroa_idx.12 = getelementptr inbounds i8, ptr %15, i64 968
  store double %411, ptr %.sroa.4.0..sroa_idx.12, align 8, !tbaa !15
  %413 = fsub float %3, %248
  %414 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %413, float noundef %5)
  %415 = extractvalue { double, double } %414, 0
  %416 = extractvalue { double, double } %414, 1
  %417 = getelementptr inbounds i8, ptr %15, i64 976
  store double %415, ptr %417, align 16
  %.sroa.4.0..sroa_idx.13 = getelementptr inbounds i8, ptr %15, i64 984
  store double %416, ptr %.sroa.4.0..sroa_idx.13, align 8, !tbaa !15
  %418 = fsub float %3, %255
  %419 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %418, float noundef %5)
  %420 = extractvalue { double, double } %419, 0
  %421 = extractvalue { double, double } %419, 1
  %422 = getelementptr inbounds i8, ptr %15, i64 992
  store double %420, ptr %422, align 16
  %.sroa.4.0..sroa_idx.14 = getelementptr inbounds i8, ptr %15, i64 1000
  store double %421, ptr %.sroa.4.0..sroa_idx.14, align 8, !tbaa !15
  %423 = fsub float %3, %262
  %424 = call { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1) %14, float noundef %423, float noundef %5)
  %425 = extractvalue { double, double } %424, 0
  %426 = extractvalue { double, double } %424, 1
  %427 = getelementptr inbounds i8, ptr %15, i64 1008
  store double %425, ptr %427, align 16
  %.sroa.4.0..sroa_idx.15 = getelementptr inbounds i8, ptr %15, i64 1016
  store double %426, ptr %.sroa.4.0..sroa_idx.15, align 8, !tbaa !15
  %428 = call noundef ptr @_ZN3JPH13DebugRenderer24CreateSwingLimitGeometryEiPKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(320) %0, i32 noundef 64, ptr noundef nonnull %15)
  %429 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef %428)
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %430

430:                                              ; preds = %.preheader71, %43
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #6
  call void @_ZN3JPH5Mat446sScaleEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %17, float noundef %6)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull align 16 dereferenceable(64) %17)
  call void @_ZN3JPH13DebugRenderer12DrawGeometryERKNS_5Mat44ENS_5ColorERKNS_3RefINS0_8GeometryEEENS0_9ECullModeENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 16 dereferenceable(64) %16, i32 %7, ptr noundef nonnull align 8 dereferenceable(8) %33, i32 noundef 2, i32 noundef %8, i32 noundef %9)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEixERKS2_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE4findERKS2_(ptr dead_on_unwind noalias writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE12IteratorBaseISD_NSD_8iteratorEEneERKSF_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::HashTable<JPH::DebugRenderer::SwingPyramidLimits, std::pair<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::UnorderedMapDetail<JPH::DebugRenderer::SwingPyramidLimits, JPH::Ref<JPH::DebugRenderer::Geometry>>, JPH::DebugRenderer::SwingPyramidLimitsHasher, std::equal_to<JPH::DebugRenderer::SwingPyramidLimits>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EE8iteratorptEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @"_ZZN3JPH13DebugRenderer22DrawSwingPyramidLimitsERKNS_5Mat44EfffffNS_5ColorENS0_11ECastShadowENS0_9EDrawModeEENK3$_0clEff"(ptr noundef nonnull align 1 dereferenceable(1), float noundef, float noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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 2158314594}
!6 = !{i64 2158314924}
!7 = !{!8, !9, i64 0}
!8 = !{!"_ZTSN3JPH13DebugRenderer18SwingPyramidLimitsE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!8, !9, i64 4}
!13 = !{!8, !9, i64 8}
!14 = !{!8, !9, i64 12}
!15 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass