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

; 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::Color" = type { %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.JPH::Ref.17" = type { ptr }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Array.14" = type { i64, i64, ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%class.anon = type { i8 }
%"class.JPH::DebugRenderer::LOD" = type <{ %"class.JPH::Ref.17", float, [4 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.JPH::Float2" = type { float, float }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::DebugRenderer::Vertex" = type { %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float2", %"class.JPH::Color" }
%"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 }>
%"class.JPH::DebugRenderer::Geometry" = type { %"class.JPH::RefTarget", %"class.JPH::Array.18", %"class.JPH::AABox" }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Array.18" = type { i64, i64, ptr }

@_ZN3JPH5Color6sWhiteE = external global %"class.JPH::Color", align 4
@_ZN3JPHL20sLODDistanceForLevelE = external hidden constant [4 x float], align 16

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(36)) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double, double, double, double, double, double, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, i32 noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer14CreateCylinderEffffi(ptr dead_on_unwind noalias writable sret(%"class.JPH::Ref.17") align 8, ptr noundef nonnull align 8 dereferenceable(320), float noundef, float noundef, float noundef, float noundef, i32 noundef) #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH3SinEf(float noundef) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH3CosEf(float noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind noalias writable sret(%"class.JPH::Ref.17") align 8, ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double, double, double, double, double, double, double, double) #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH13DebugRenderer10InitializeEv(ptr noundef nonnull align 8 dereferenceable(320) %0) #7 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.JPH::Array", align 8
  %4 = alloca %"class.JPH::Array.14", align 8
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Ref.17", align 8
  %40 = alloca %"class.JPH::AABox", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca i1, align 1
  %44 = alloca %class.anon, align 1
  %45 = alloca %"class.JPH::AABox", align 16
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca i1, align 1
  %49 = alloca %"class.JPH::AABox", align 16
  %50 = alloca %"class.JPH::Vec3", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca i1, align 1
  %53 = alloca %"class.JPH::AABox", align 16
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = alloca i1, align 1
  %57 = alloca %"class.JPH::AABox", align 16
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Vec3", align 16
  %60 = alloca i1, align 1
  %61 = alloca %"class.JPH::AABox", align 16
  %62 = alloca %"class.JPH::Vec3", align 16
  %63 = alloca %"class.JPH::Vec3", align 16
  %64 = alloca i1, align 1
  %65 = alloca %"class.JPH::AABox", align 16
  %66 = alloca %"class.JPH::Vec3", align 16
  %67 = alloca %"class.JPH::Vec3", align 16
  %68 = alloca i1, align 1
  %69 = alloca i32, align 4
  %70 = alloca i32, align 4
  %71 = alloca float, align 4
  %72 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %73 = alloca %"class.std::function", align 8
  %74 = alloca %"class.JPH::Array", align 8
  %75 = alloca %"class.JPH::Array.14", align 8
  %76 = alloca %"class.JPH::Vec3", align 16
  %77 = alloca %"class.JPH::Vec3", align 16
  %78 = alloca %"class.JPH::Vec3", align 16
  %79 = alloca %"class.JPH::Vec3", align 16
  %80 = alloca %"class.JPH::Vec3", align 16
  %81 = alloca %"class.JPH::Float2", align 4
  %82 = alloca %"class.std::function", align 8
  %83 = alloca %"class.JPH::Vec3", align 16
  %84 = alloca %"class.JPH::Vec3", align 16
  %85 = alloca %"class.JPH::Vec3", align 16
  %86 = alloca %"class.JPH::Vec3", align 16
  %87 = alloca %"class.JPH::Float2", align 4
  %88 = alloca %"class.std::function", align 8
  %89 = alloca %"class.JPH::Vec3", align 16
  %90 = alloca %"class.JPH::Vec3", align 16
  %91 = alloca %"class.JPH::Vec3", align 16
  %92 = alloca %"class.JPH::Vec3", align 16
  %93 = alloca %"class.JPH::Vec3", align 16
  %94 = alloca %"class.JPH::Float2", align 4
  %95 = alloca %"class.std::function", align 8
  %96 = alloca %"class.JPH::Vec3", align 16
  %97 = alloca %"class.JPH::Vec3", align 16
  %98 = alloca %"class.JPH::Vec3", align 16
  %99 = alloca %"class.JPH::Vec3", align 16
  %100 = alloca %"class.JPH::Vec3", align 16
  %101 = alloca %"class.JPH::Vec3", align 16
  %102 = alloca %"class.JPH::Float2", align 4
  %103 = alloca %"class.std::function", align 8
  %104 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %105 = alloca %"class.JPH::Array", align 8
  %106 = alloca %"class.JPH::Array.14", align 8
  %107 = alloca %"class.JPH::Vec3", align 16
  %108 = alloca %"class.JPH::Vec3", align 16
  %109 = alloca %"class.JPH::Vec3", align 16
  %110 = alloca %"class.JPH::Float2", align 4
  %111 = alloca %"class.std::function", align 8
  %112 = alloca %"class.JPH::Vec3", align 16
  %113 = alloca %"class.JPH::Vec3", align 16
  %114 = alloca %"class.JPH::Vec3", align 16
  %115 = alloca %"class.JPH::Vec3", align 16
  %116 = alloca %"class.JPH::Float2", align 4
  %117 = alloca %"class.std::function", align 8
  %118 = alloca %"class.JPH::Vec3", align 16
  %119 = alloca %"class.JPH::Vec3", align 16
  %120 = alloca %"class.JPH::Vec3", align 16
  %121 = alloca %"class.JPH::Vec3", align 16
  %122 = alloca %"class.JPH::Float2", align 4
  %123 = alloca %"class.std::function", align 8
  %124 = alloca %"class.JPH::Vec3", align 16
  %125 = alloca %"class.JPH::Vec3", align 16
  %126 = alloca %"class.JPH::Vec3", align 16
  %127 = alloca %"class.JPH::Vec3", align 16
  %128 = alloca %"class.JPH::Vec3", align 16
  %129 = alloca %"class.JPH::Float2", align 4
  %130 = alloca %"class.std::function", align 8
  %131 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %132 = alloca %"class.JPH::Array", align 8
  %133 = alloca %"class.JPH::Array.14", align 8
  %134 = alloca i32, align 4
  %135 = alloca %"class.JPH::Float2", align 4
  %136 = alloca i32, align 4
  %137 = alloca i32, align 4
  %138 = alloca i32, align 4
  %139 = alloca float, align 4
  %140 = alloca float, align 4
  %141 = alloca float, align 4
  %142 = alloca %"class.JPH::Float3", align 4
  %143 = alloca %"class.JPH::Float3", align 4
  %144 = alloca %"class.JPH::Float3", align 4
  %145 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %146 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %147 = alloca i32, align 4
  %148 = alloca i32, align 4
  %149 = alloca i32, align 4
  %150 = alloca i32, align 4
  %151 = alloca i32, align 4
  %152 = alloca i32, align 4
  %153 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %154 = alloca %"class.JPH::Array", align 8
  %155 = alloca %"class.JPH::Array.14", align 8
  %156 = alloca i32, align 4
  %157 = alloca %"class.JPH::Float2", align 4
  %158 = alloca i32, align 4
  %159 = alloca i32, align 4
  %160 = alloca %"class.JPH::Float3", align 4
  %161 = alloca i32, align 4
  %162 = alloca float, align 4
  %163 = alloca float, align 4
  %164 = alloca float, align 4
  %165 = alloca %"class.JPH::Float3", align 4
  %166 = alloca %"class.JPH::Vec3", align 16
  %167 = alloca %"class.JPH::Vec3", align 16
  %168 = alloca %"class.JPH::Float3", align 4
  %169 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %170 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %171 = alloca i32, align 4
  %172 = alloca i32, align 4
  %173 = alloca i32, align 4
  %174 = alloca i32, align 4
  %175 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %176 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %177 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00)
          to label %178 unwind label %406

178:                                              ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00)
          to label %179 unwind label %410

179:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %180 unwind label %414

180:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %181 unwind label %418

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %182 unwind label %422

182:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %183 unwind label %426

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %184 unwind label %430

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %185 unwind label %434

185:                                              ; preds = %184
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  %186 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %187 = load double, ptr %186, align 16
  %188 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %189 = load double, ptr %188, align 8
  %190 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %191 = load double, ptr %190, align 16
  %192 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %193 = load double, ptr %192, align 8
  %194 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %195 = load double, ptr %194, align 16
  %196 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %197 = load double, ptr %196, align 8
  %198 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %199 = load double, ptr %198, align 16
  %200 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %201 = load double, ptr %200, align 8
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double %187, double %189, double %191, double %193, double %195, double %197, double %199, double %201)
          to label %202 unwind label %434

202:                                              ; preds = %185
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %13, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %14, i64 16, i1 false), !tbaa.struct !9
  %203 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %204 = load double, ptr %203, align 16
  %205 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %206 = load double, ptr %205, align 8
  %207 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %208 = load double, ptr %207, align 16
  %209 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %210 = load double, ptr %209, align 8
  %211 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %212 = load double, ptr %211, align 16
  %213 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %214 = load double, ptr %213, align 8
  %215 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %216 = load double, ptr %215, align 16
  %217 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %218 = load double, ptr %217, align 8
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double %204, double %206, double %208, double %210, double %212, double %214, double %216, double %218)
          to label %219 unwind label %434

219:                                              ; preds = %202
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %14, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  %220 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %221 = load double, ptr %220, align 16
  %222 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %223 = load double, ptr %222, align 8
  %224 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %225 = load double, ptr %224, align 16
  %226 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %227 = load double, ptr %226, align 8
  %228 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %229 = load double, ptr %228, align 16
  %230 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %231 = load double, ptr %230, align 8
  %232 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %233 = load double, ptr %232, align 16
  %234 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %235 = load double, ptr %234, align 8
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double %221, double %223, double %225, double %227, double %229, double %231, double %233, double %235)
          to label %236 unwind label %434

236:                                              ; preds = %219
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %13, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %30, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  %237 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %238 = load double, ptr %237, align 16
  %239 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %240 = load double, ptr %239, align 8
  %241 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %242 = load double, ptr %241, align 16
  %243 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %244 = load double, ptr %243, align 8
  %245 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %246 = load double, ptr %245, align 16
  %247 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %248 = load double, ptr %247, align 8
  %249 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %250 = load double, ptr %249, align 16
  %251 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %252 = load double, ptr %251, align 8
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double %238, double %240, double %242, double %244, double %246, double %248, double %250, double %252)
          to label %253 unwind label %434

253:                                              ; preds = %236
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 %14, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 16 %13, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %34, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  %254 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %255 = load double, ptr %254, align 16
  %256 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %257 = load double, ptr %256, align 8
  %258 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %259 = load double, ptr %258, align 16
  %260 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %261 = load double, ptr %260, align 8
  %262 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %263 = load double, ptr %262, align 16
  %264 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %265 = load double, ptr %264, align 8
  %266 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %267 = load double, ptr %266, align 16
  %268 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %269 = load double, ptr %268, align 8
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double %255, double %257, double %259, double %261, double %263, double %265, double %267, double %269)
          to label %270 unwind label %434

270:                                              ; preds = %253
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !9
  %271 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %272 = load double, ptr %271, align 16
  %273 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %274 = load double, ptr %273, align 8
  %275 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %276 = load double, ptr %275, align 16
  %277 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %278 = load double, ptr %277, align 8
  %279 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %280 = load double, ptr %279, align 16
  %281 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %282 = load double, ptr %281, align 8
  %283 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %284 = load double, ptr %283, align 16
  %285 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %286 = load double, ptr %285, align 8
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double %272, double %274, double %276, double %278, double %280, double %282, double %284, double %286)
          to label %287 unwind label %434

287:                                              ; preds = %270
  %288 = invoke noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
          to label %289 unwind label %434

289:                                              ; preds = %287
  store i1 true, ptr %43, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %39, ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %290 unwind label %438

290:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %41, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %291 unwind label %442

291:                                              ; preds = %290
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %42, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %292 unwind label %442

292:                                              ; preds = %291
  %293 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %294 = load double, ptr %293, align 16
  %295 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %296 = load double, ptr %295, align 8
  %297 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %298 = load double, ptr %297, align 16
  %299 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %300 = load double, ptr %299, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %40, double %294, double %296, double %298, double %300)
          to label %301 unwind label %442

301:                                              ; preds = %292
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_3RefINS_16RefTargetVirtualEEERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %288, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 16 dereferenceable(32) %40)
          to label %302 unwind label %442

302:                                              ; preds = %301
  store i1 false, ptr %43, align 1
  %303 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 1
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %303, ptr noundef %288)
          to label %305 unwind label %442

305:                                              ; preds = %302
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #10
  call void @_ZN3JPH3RefINS_16RefTargetVirtualEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #10
  %306 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  store i1 true, ptr %48, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %307 unwind label %458

307:                                              ; preds = %305
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %308 unwind label %458

308:                                              ; preds = %307
  %309 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %310 = load double, ptr %309, align 16
  %311 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %312 = load double, ptr %311, align 8
  %313 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %314 = load double, ptr %313, align 16
  %315 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %316 = load double, ptr %315, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %45, double %310, double %312, double %314, double %316)
          to label %317 unwind label %458

317:                                              ; preds = %308
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %306, ptr noundef nonnull align 16 dereferenceable(32) %45)
          to label %318 unwind label %458

318:                                              ; preds = %317
  store i1 false, ptr %48, align 1
  %319 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 2
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %319, ptr noundef %306)
          to label %321 unwind label %458

321:                                              ; preds = %318
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #10
  %322 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  store i1 true, ptr %52, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %50, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %323 unwind label %465

323:                                              ; preds = %321
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %51, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %324 unwind label %465

324:                                              ; preds = %323
  %325 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %326 = load double, ptr %325, align 16
  %327 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %328 = load double, ptr %327, align 8
  %329 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %330 = load double, ptr %329, align 16
  %331 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %332 = load double, ptr %331, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %49, double %326, double %328, double %330, double %332)
          to label %333 unwind label %465

333:                                              ; preds = %324
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %322, ptr noundef nonnull align 16 dereferenceable(32) %49)
          to label %334 unwind label %465

334:                                              ; preds = %333
  store i1 false, ptr %52, align 1
  %335 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 5
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %335, ptr noundef %322)
          to label %337 unwind label %465

337:                                              ; preds = %334
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #10
  %338 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  store i1 true, ptr %56, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %54, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
          to label %339 unwind label %472

339:                                              ; preds = %337
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %55, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %340 unwind label %472

340:                                              ; preds = %339
  %341 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %342 = load double, ptr %341, align 16
  %343 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %344 = load double, ptr %343, align 8
  %345 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %346 = load double, ptr %345, align 16
  %347 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %348 = load double, ptr %347, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %53, double %342, double %344, double %346, double %348)
          to label %349 unwind label %472

349:                                              ; preds = %340
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %338, ptr noundef nonnull align 16 dereferenceable(32) %53)
          to label %350 unwind label %472

350:                                              ; preds = %349
  store i1 false, ptr %56, align 1
  %351 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 3
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %351, ptr noundef %338)
          to label %353 unwind label %472

353:                                              ; preds = %350
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #10
  %354 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  store i1 true, ptr %60, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %58, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %355 unwind label %479

355:                                              ; preds = %353
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %59, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %356 unwind label %479

356:                                              ; preds = %355
  %357 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %358 = load double, ptr %357, align 16
  %359 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %360 = load double, ptr %359, align 8
  %361 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 0
  %362 = load double, ptr %361, align 16
  %363 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 1
  %364 = load double, ptr %363, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %57, double %358, double %360, double %362, double %364)
          to label %365 unwind label %479

365:                                              ; preds = %356
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %354, ptr noundef nonnull align 16 dereferenceable(32) %57)
          to label %366 unwind label %479

366:                                              ; preds = %365
  store i1 false, ptr %60, align 1
  %367 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 4
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %367, ptr noundef %354)
          to label %369 unwind label %479

369:                                              ; preds = %366
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #10
  %370 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  store i1 true, ptr %64, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %62, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
          to label %371 unwind label %486

371:                                              ; preds = %369
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %63, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %372 unwind label %486

372:                                              ; preds = %371
  %373 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %374 = load double, ptr %373, align 16
  %375 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %376 = load double, ptr %375, align 8
  %377 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 0
  %378 = load double, ptr %377, align 16
  %379 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 1
  %380 = load double, ptr %379, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %61, double %374, double %376, double %378, double %380)
          to label %381 unwind label %486

381:                                              ; preds = %372
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %370, ptr noundef nonnull align 16 dereferenceable(32) %61)
          to label %382 unwind label %486

382:                                              ; preds = %381
  store i1 false, ptr %64, align 1
  %383 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 6
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %383, ptr noundef %370)
          to label %385 unwind label %486

385:                                              ; preds = %382
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #10
  %386 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  store i1 true, ptr %68, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #10
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %66, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %387 unwind label %493

387:                                              ; preds = %385
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %67, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %388 unwind label %493

388:                                              ; preds = %387
  %389 = getelementptr inbounds { double, double }, ptr %66, i32 0, i32 0
  %390 = load double, ptr %389, align 16
  %391 = getelementptr inbounds { double, double }, ptr %66, i32 0, i32 1
  %392 = load double, ptr %391, align 8
  %393 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 0
  %394 = load double, ptr %393, align 16
  %395 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 1
  %396 = load double, ptr %395, align 8
  invoke void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %65, double %390, double %392, double %394, double %396)
          to label %397 unwind label %493

397:                                              ; preds = %388
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %386, ptr noundef nonnull align 16 dereferenceable(32) %65)
          to label %398 unwind label %493

398:                                              ; preds = %397
  store i1 false, ptr %68, align 1
  %399 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 7
  %400 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %399, ptr noundef %386)
          to label %401 unwind label %493

401:                                              ; preds = %398
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #10
  store i32 4, ptr %69, align 4, !tbaa !11
  br label %402

402:                                              ; preds = %1467, %401
  %403 = load i32, ptr %69, align 4, !tbaa !11
  %404 = icmp sge i32 %403, 1
  br i1 %404, label %500, label %405

405:                                              ; preds = %402
  store i32 2, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #10
  br label %1489

406:                                              ; preds = %1
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %6, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %7, align 4
  br label %457

410:                                              ; preds = %178
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %6, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %7, align 4
  br label %456

414:                                              ; preds = %179
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %6, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %7, align 4
  br label %455

418:                                              ; preds = %180
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %6, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %7, align 4
  br label %454

422:                                              ; preds = %181
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %6, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %7, align 4
  br label %453

426:                                              ; preds = %182
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %6, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %7, align 4
  br label %452

430:                                              ; preds = %183
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %6, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %7, align 4
  br label %451

434:                                              ; preds = %287, %270, %253, %236, %219, %202, %185, %184
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %6, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %7, align 4
  br label %450

438:                                              ; preds = %289
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %6, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %7, align 4
  br label %446

442:                                              ; preds = %302, %301, %292, %291, %290
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %6, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #10
  call void @_ZN3JPH3RefINS_16RefTargetVirtualEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #10
  br label %446

446:                                              ; preds = %442, %438
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  %447 = load i1, ptr %43, align 1
  br i1 %447, label %448, label %449

448:                                              ; preds = %446
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %288) #10
  br label %449

449:                                              ; preds = %448, %446
  br label %450

450:                                              ; preds = %449, %434
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  br label %451

451:                                              ; preds = %450, %430
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #10
  br label %452

452:                                              ; preds = %451, %426
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  br label %453

453:                                              ; preds = %452, %422
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  br label %454

454:                                              ; preds = %453, %418
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  br label %455

455:                                              ; preds = %454, %414
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  br label %456

456:                                              ; preds = %455, %410
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  br label %457

457:                                              ; preds = %456, %406
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #10
  br label %1491

458:                                              ; preds = %318, %317, %308, %307, %305
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %6, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #10
  %462 = load i1, ptr %48, align 1
  br i1 %462, label %463, label %464

463:                                              ; preds = %458
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %306) #10
  br label %464

464:                                              ; preds = %463, %458
  br label %1490

465:                                              ; preds = %334, %333, %324, %323, %321
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %6, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #10
  %469 = load i1, ptr %52, align 1
  br i1 %469, label %470, label %471

470:                                              ; preds = %465
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %322) #10
  br label %471

471:                                              ; preds = %470, %465
  br label %1490

472:                                              ; preds = %350, %349, %340, %339, %337
  %473 = landingpad { ptr, i32 }
          cleanup
  %474 = extractvalue { ptr, i32 } %473, 0
  store ptr %474, ptr %6, align 8
  %475 = extractvalue { ptr, i32 } %473, 1
  store i32 %475, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #10
  %476 = load i1, ptr %56, align 1
  br i1 %476, label %477, label %478

477:                                              ; preds = %472
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %338) #10
  br label %478

478:                                              ; preds = %477, %472
  br label %1490

479:                                              ; preds = %366, %365, %356, %355, %353
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %6, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #10
  %483 = load i1, ptr %60, align 1
  br i1 %483, label %484, label %485

484:                                              ; preds = %479
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %354) #10
  br label %485

485:                                              ; preds = %484, %479
  br label %1490

486:                                              ; preds = %382, %381, %372, %371, %369
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %6, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #10
  %490 = load i1, ptr %64, align 1
  br i1 %490, label %491, label %492

491:                                              ; preds = %486
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %370) #10
  br label %492

492:                                              ; preds = %491, %486
  br label %1490

493:                                              ; preds = %398, %397, %388, %387, %385
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %6, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #10
  %497 = load i1, ptr %68, align 1
  br i1 %497, label %498, label %499

498:                                              ; preds = %493
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %386) #10
  br label %499

499:                                              ; preds = %498, %493
  br label %1490

500:                                              ; preds = %402
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #10
  %501 = load i32, ptr %69, align 4, !tbaa !11
  %502 = sub nsw i32 4, %501
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds [4 x float], ptr @_ZN3JPHL20sLODDistanceForLevelE, i64 0, i64 %503
  %505 = load float, ptr %504, align 4, !tbaa !13
  store float %505, ptr %71, align 4, !tbaa !13
  %506 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 2
  %507 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %506)
  %508 = getelementptr inbounds %"class.JPH::DebugRenderer::Geometry", ptr %507, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %72) #10
  %509 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %72, i32 0, i32 0
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %510 = load i32, ptr %69, align 4, !tbaa !11
  invoke void @_ZN3JPH13DebugRenderer28CreateTriangleBatchForConvexESt8functionIFNS_4Vec3ES2_EEiPNS_5AABoxE(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %509, ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef %73, i32 noundef %510, ptr noundef null)
          to label %511 unwind label %945

511:                                              ; preds = %500
  %512 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %72, i32 0, i32 1
  %513 = load float, ptr %71, align 4, !tbaa !13
  store float %513, ptr %512, align 8, !tbaa !15
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %508, ptr noundef nonnull align 8 dereferenceable(12) %72)
          to label %514 unwind label %949

514:                                              ; preds = %511
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %72) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %72) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %74) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %75) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %77) #10
  %515 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %516 unwind label %954

516:                                              ; preds = %514
  %517 = getelementptr inbounds %"class.JPH::Vec3", ptr %77, i32 0, i32 0
  %518 = getelementptr inbounds %union.anon, ptr %517, i32 0, i32 0
  %519 = getelementptr inbounds { double, double }, ptr %518, i32 0, i32 0
  %520 = extractvalue { double, double } %515, 0
  store double %520, ptr %519, align 16
  %521 = getelementptr inbounds { double, double }, ptr %518, i32 0, i32 1
  %522 = extractvalue { double, double } %515, 1
  store double %522, ptr %521, align 8
  %523 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %77)
          to label %524 unwind label %954

524:                                              ; preds = %516
  %525 = getelementptr inbounds %"class.JPH::Vec3", ptr %76, i32 0, i32 0
  %526 = getelementptr inbounds %union.anon, ptr %525, i32 0, i32 0
  %527 = getelementptr inbounds { double, double }, ptr %526, i32 0, i32 0
  %528 = extractvalue { double, double } %523, 0
  store double %528, ptr %527, align 16
  %529 = getelementptr inbounds { double, double }, ptr %526, i32 0, i32 1
  %530 = extractvalue { double, double } %523, 1
  store double %530, ptr %529, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %79) #10
  %531 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %532 unwind label %958

532:                                              ; preds = %524
  %533 = getelementptr inbounds %"class.JPH::Vec3", ptr %79, i32 0, i32 0
  %534 = getelementptr inbounds %union.anon, ptr %533, i32 0, i32 0
  %535 = getelementptr inbounds { double, double }, ptr %534, i32 0, i32 0
  %536 = extractvalue { double, double } %531, 0
  store double %536, ptr %535, align 16
  %537 = getelementptr inbounds { double, double }, ptr %534, i32 0, i32 1
  %538 = extractvalue { double, double } %531, 1
  store double %538, ptr %537, align 8
  %539 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %79)
          to label %540 unwind label %958

540:                                              ; preds = %532
  %541 = getelementptr inbounds %"class.JPH::Vec3", ptr %78, i32 0, i32 0
  %542 = getelementptr inbounds %union.anon, ptr %541, i32 0, i32 0
  %543 = getelementptr inbounds { double, double }, ptr %542, i32 0, i32 0
  %544 = extractvalue { double, double } %539, 0
  store double %544, ptr %543, align 16
  %545 = getelementptr inbounds { double, double }, ptr %542, i32 0, i32 1
  %546 = extractvalue { double, double } %539, 1
  store double %546, ptr %545, align 8
  %547 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %548 unwind label %958

548:                                              ; preds = %540
  %549 = getelementptr inbounds %"class.JPH::Vec3", ptr %80, i32 0, i32 0
  %550 = getelementptr inbounds %union.anon, ptr %549, i32 0, i32 0
  %551 = getelementptr inbounds { double, double }, ptr %550, i32 0, i32 0
  %552 = extractvalue { double, double } %547, 0
  store double %552, ptr %551, align 16
  %553 = getelementptr inbounds { double, double }, ptr %550, i32 0, i32 1
  %554 = extractvalue { double, double } %547, 1
  store double %554, ptr %553, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %81, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %555 unwind label %962

555:                                              ; preds = %548
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %556 = load i32, ptr %69, align 4, !tbaa !11
  %557 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 0
  %558 = load double, ptr %557, align 16
  %559 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 1
  %560 = load double, ptr %559, align 8
  %561 = getelementptr inbounds { double, double }, ptr %78, i32 0, i32 0
  %562 = load double, ptr %561, align 16
  %563 = getelementptr inbounds { double, double }, ptr %78, i32 0, i32 1
  %564 = load double, ptr %563, align 8
  %565 = getelementptr inbounds { double, double }, ptr %80, i32 0, i32 0
  %566 = load double, ptr %565, align 16
  %567 = getelementptr inbounds { double, double }, ptr %80, i32 0, i32 1
  %568 = load double, ptr %567, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %74, double %558, double %560, double %562, double %564, double %566, double %568, ptr noundef nonnull align 4 dereferenceable(8) %81, ptr noundef %82, i32 noundef %556)
          to label %569 unwind label %966

569:                                              ; preds = %555
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %77) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %84) #10
  %570 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %571 unwind label %973

571:                                              ; preds = %569
  %572 = getelementptr inbounds %"class.JPH::Vec3", ptr %84, i32 0, i32 0
  %573 = getelementptr inbounds %union.anon, ptr %572, i32 0, i32 0
  %574 = getelementptr inbounds { double, double }, ptr %573, i32 0, i32 0
  %575 = extractvalue { double, double } %570, 0
  store double %575, ptr %574, align 16
  %576 = getelementptr inbounds { double, double }, ptr %573, i32 0, i32 1
  %577 = extractvalue { double, double } %570, 1
  store double %577, ptr %576, align 8
  %578 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %84)
          to label %579 unwind label %973

579:                                              ; preds = %571
  %580 = getelementptr inbounds %"class.JPH::Vec3", ptr %83, i32 0, i32 0
  %581 = getelementptr inbounds %union.anon, ptr %580, i32 0, i32 0
  %582 = getelementptr inbounds { double, double }, ptr %581, i32 0, i32 0
  %583 = extractvalue { double, double } %578, 0
  store double %583, ptr %582, align 16
  %584 = getelementptr inbounds { double, double }, ptr %581, i32 0, i32 1
  %585 = extractvalue { double, double } %578, 1
  store double %585, ptr %584, align 8
  %586 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %587 unwind label %973

587:                                              ; preds = %579
  %588 = getelementptr inbounds %"class.JPH::Vec3", ptr %85, i32 0, i32 0
  %589 = getelementptr inbounds %union.anon, ptr %588, i32 0, i32 0
  %590 = getelementptr inbounds { double, double }, ptr %589, i32 0, i32 0
  %591 = extractvalue { double, double } %586, 0
  store double %591, ptr %590, align 16
  %592 = getelementptr inbounds { double, double }, ptr %589, i32 0, i32 1
  %593 = extractvalue { double, double } %586, 1
  store double %593, ptr %592, align 8
  %594 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %595 unwind label %973

595:                                              ; preds = %587
  %596 = getelementptr inbounds %"class.JPH::Vec3", ptr %86, i32 0, i32 0
  %597 = getelementptr inbounds %union.anon, ptr %596, i32 0, i32 0
  %598 = getelementptr inbounds { double, double }, ptr %597, i32 0, i32 0
  %599 = extractvalue { double, double } %594, 0
  store double %599, ptr %598, align 16
  %600 = getelementptr inbounds { double, double }, ptr %597, i32 0, i32 1
  %601 = extractvalue { double, double } %594, 1
  store double %601, ptr %600, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %87, float noundef 2.500000e-01, float noundef 7.500000e-01)
          to label %602 unwind label %977

602:                                              ; preds = %595
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %603 = load i32, ptr %69, align 4, !tbaa !11
  %604 = getelementptr inbounds { double, double }, ptr %83, i32 0, i32 0
  %605 = load double, ptr %604, align 16
  %606 = getelementptr inbounds { double, double }, ptr %83, i32 0, i32 1
  %607 = load double, ptr %606, align 8
  %608 = getelementptr inbounds { double, double }, ptr %85, i32 0, i32 0
  %609 = load double, ptr %608, align 16
  %610 = getelementptr inbounds { double, double }, ptr %85, i32 0, i32 1
  %611 = load double, ptr %610, align 8
  %612 = getelementptr inbounds { double, double }, ptr %86, i32 0, i32 0
  %613 = load double, ptr %612, align 16
  %614 = getelementptr inbounds { double, double }, ptr %86, i32 0, i32 1
  %615 = load double, ptr %614, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %74, double %605, double %607, double %609, double %611, double %613, double %615, ptr noundef nonnull align 4 dereferenceable(8) %87, ptr noundef %88, i32 noundef %603)
          to label %616 unwind label %981

616:                                              ; preds = %602
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %84) #10
  %617 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %618 unwind label %987

618:                                              ; preds = %616
  %619 = getelementptr inbounds %"class.JPH::Vec3", ptr %89, i32 0, i32 0
  %620 = getelementptr inbounds %union.anon, ptr %619, i32 0, i32 0
  %621 = getelementptr inbounds { double, double }, ptr %620, i32 0, i32 0
  %622 = extractvalue { double, double } %617, 0
  store double %622, ptr %621, align 16
  %623 = getelementptr inbounds { double, double }, ptr %620, i32 0, i32 1
  %624 = extractvalue { double, double } %617, 1
  store double %624, ptr %623, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %91) #10
  %625 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %626 unwind label %991

626:                                              ; preds = %618
  %627 = getelementptr inbounds %"class.JPH::Vec3", ptr %91, i32 0, i32 0
  %628 = getelementptr inbounds %union.anon, ptr %627, i32 0, i32 0
  %629 = getelementptr inbounds { double, double }, ptr %628, i32 0, i32 0
  %630 = extractvalue { double, double } %625, 0
  store double %630, ptr %629, align 16
  %631 = getelementptr inbounds { double, double }, ptr %628, i32 0, i32 1
  %632 = extractvalue { double, double } %625, 1
  store double %632, ptr %631, align 8
  %633 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %91)
          to label %634 unwind label %991

634:                                              ; preds = %626
  %635 = getelementptr inbounds %"class.JPH::Vec3", ptr %90, i32 0, i32 0
  %636 = getelementptr inbounds %union.anon, ptr %635, i32 0, i32 0
  %637 = getelementptr inbounds { double, double }, ptr %636, i32 0, i32 0
  %638 = extractvalue { double, double } %633, 0
  store double %638, ptr %637, align 16
  %639 = getelementptr inbounds { double, double }, ptr %636, i32 0, i32 1
  %640 = extractvalue { double, double } %633, 1
  store double %640, ptr %639, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %93) #10
  %641 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %642 unwind label %995

642:                                              ; preds = %634
  %643 = getelementptr inbounds %"class.JPH::Vec3", ptr %93, i32 0, i32 0
  %644 = getelementptr inbounds %union.anon, ptr %643, i32 0, i32 0
  %645 = getelementptr inbounds { double, double }, ptr %644, i32 0, i32 0
  %646 = extractvalue { double, double } %641, 0
  store double %646, ptr %645, align 16
  %647 = getelementptr inbounds { double, double }, ptr %644, i32 0, i32 1
  %648 = extractvalue { double, double } %641, 1
  store double %648, ptr %647, align 8
  %649 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %93)
          to label %650 unwind label %995

650:                                              ; preds = %642
  %651 = getelementptr inbounds %"class.JPH::Vec3", ptr %92, i32 0, i32 0
  %652 = getelementptr inbounds %union.anon, ptr %651, i32 0, i32 0
  %653 = getelementptr inbounds { double, double }, ptr %652, i32 0, i32 0
  %654 = extractvalue { double, double } %649, 0
  store double %654, ptr %653, align 16
  %655 = getelementptr inbounds { double, double }, ptr %652, i32 0, i32 1
  %656 = extractvalue { double, double } %649, 1
  store double %656, ptr %655, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %94, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %657 unwind label %999

657:                                              ; preds = %650
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %658 = load i32, ptr %69, align 4, !tbaa !11
  %659 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 0
  %660 = load double, ptr %659, align 16
  %661 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 1
  %662 = load double, ptr %661, align 8
  %663 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 0
  %664 = load double, ptr %663, align 16
  %665 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 1
  %666 = load double, ptr %665, align 8
  %667 = getelementptr inbounds { double, double }, ptr %92, i32 0, i32 0
  %668 = load double, ptr %667, align 16
  %669 = getelementptr inbounds { double, double }, ptr %92, i32 0, i32 1
  %670 = load double, ptr %669, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %74, double %660, double %662, double %664, double %666, double %668, double %670, ptr noundef nonnull align 4 dereferenceable(8) %94, ptr noundef %95, i32 noundef %658)
          to label %671 unwind label %1003

671:                                              ; preds = %657
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %93) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %91) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %97) #10
  %672 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %673 unwind label %1010

673:                                              ; preds = %671
  %674 = getelementptr inbounds %"class.JPH::Vec3", ptr %97, i32 0, i32 0
  %675 = getelementptr inbounds %union.anon, ptr %674, i32 0, i32 0
  %676 = getelementptr inbounds { double, double }, ptr %675, i32 0, i32 0
  %677 = extractvalue { double, double } %672, 0
  store double %677, ptr %676, align 16
  %678 = getelementptr inbounds { double, double }, ptr %675, i32 0, i32 1
  %679 = extractvalue { double, double } %672, 1
  store double %679, ptr %678, align 8
  %680 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %97)
          to label %681 unwind label %1010

681:                                              ; preds = %673
  %682 = getelementptr inbounds %"class.JPH::Vec3", ptr %96, i32 0, i32 0
  %683 = getelementptr inbounds %union.anon, ptr %682, i32 0, i32 0
  %684 = getelementptr inbounds { double, double }, ptr %683, i32 0, i32 0
  %685 = extractvalue { double, double } %680, 0
  store double %685, ptr %684, align 16
  %686 = getelementptr inbounds { double, double }, ptr %683, i32 0, i32 1
  %687 = extractvalue { double, double } %680, 1
  store double %687, ptr %686, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %99) #10
  %688 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %689 unwind label %1014

689:                                              ; preds = %681
  %690 = getelementptr inbounds %"class.JPH::Vec3", ptr %99, i32 0, i32 0
  %691 = getelementptr inbounds %union.anon, ptr %690, i32 0, i32 0
  %692 = getelementptr inbounds { double, double }, ptr %691, i32 0, i32 0
  %693 = extractvalue { double, double } %688, 0
  store double %693, ptr %692, align 16
  %694 = getelementptr inbounds { double, double }, ptr %691, i32 0, i32 1
  %695 = extractvalue { double, double } %688, 1
  store double %695, ptr %694, align 8
  %696 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %99)
          to label %697 unwind label %1014

697:                                              ; preds = %689
  %698 = getelementptr inbounds %"class.JPH::Vec3", ptr %98, i32 0, i32 0
  %699 = getelementptr inbounds %union.anon, ptr %698, i32 0, i32 0
  %700 = getelementptr inbounds { double, double }, ptr %699, i32 0, i32 0
  %701 = extractvalue { double, double } %696, 0
  store double %701, ptr %700, align 16
  %702 = getelementptr inbounds { double, double }, ptr %699, i32 0, i32 1
  %703 = extractvalue { double, double } %696, 1
  store double %703, ptr %702, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %101) #10
  %704 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %705 unwind label %1018

705:                                              ; preds = %697
  %706 = getelementptr inbounds %"class.JPH::Vec3", ptr %101, i32 0, i32 0
  %707 = getelementptr inbounds %union.anon, ptr %706, i32 0, i32 0
  %708 = getelementptr inbounds { double, double }, ptr %707, i32 0, i32 0
  %709 = extractvalue { double, double } %704, 0
  store double %709, ptr %708, align 16
  %710 = getelementptr inbounds { double, double }, ptr %707, i32 0, i32 1
  %711 = extractvalue { double, double } %704, 1
  store double %711, ptr %710, align 8
  %712 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %101)
          to label %713 unwind label %1018

713:                                              ; preds = %705
  %714 = getelementptr inbounds %"class.JPH::Vec3", ptr %100, i32 0, i32 0
  %715 = getelementptr inbounds %union.anon, ptr %714, i32 0, i32 0
  %716 = getelementptr inbounds { double, double }, ptr %715, i32 0, i32 0
  %717 = extractvalue { double, double } %712, 0
  store double %717, ptr %716, align 16
  %718 = getelementptr inbounds { double, double }, ptr %715, i32 0, i32 1
  %719 = extractvalue { double, double } %712, 1
  store double %719, ptr %718, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %102, float noundef 2.500000e-01, float noundef 7.500000e-01)
          to label %720 unwind label %1022

720:                                              ; preds = %713
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %103, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %721 = load i32, ptr %69, align 4, !tbaa !11
  %722 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 0
  %723 = load double, ptr %722, align 16
  %724 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 1
  %725 = load double, ptr %724, align 8
  %726 = getelementptr inbounds { double, double }, ptr %98, i32 0, i32 0
  %727 = load double, ptr %726, align 16
  %728 = getelementptr inbounds { double, double }, ptr %98, i32 0, i32 1
  %729 = load double, ptr %728, align 8
  %730 = getelementptr inbounds { double, double }, ptr %100, i32 0, i32 0
  %731 = load double, ptr %730, align 16
  %732 = getelementptr inbounds { double, double }, ptr %100, i32 0, i32 1
  %733 = load double, ptr %732, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %74, double %723, double %725, double %727, double %729, double %731, double %733, ptr noundef nonnull align 4 dereferenceable(8) %102, ptr noundef %103, i32 noundef %721)
          to label %734 unwind label %1026

734:                                              ; preds = %720
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %101) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %99) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %97) #10
  %735 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 5
  %736 = invoke noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %735)
          to label %737 unwind label %987

737:                                              ; preds = %734
  %738 = getelementptr inbounds %"class.JPH::DebugRenderer::Geometry", ptr %736, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %104) #10
  %739 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %104, i32 0, i32 0
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %739, ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %75)
          to label %740 unwind label %1034

740:                                              ; preds = %737
  %741 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %104, i32 0, i32 1
  %742 = load float, ptr %71, align 4, !tbaa !13
  store float %742, ptr %741, align 8, !tbaa !15
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %738, ptr noundef nonnull align 8 dereferenceable(12) %104)
          to label %743 unwind label %1038

743:                                              ; preds = %740
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %104) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %104) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %75) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %74) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %105) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %106) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #10
  %744 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %745 unwind label %1044

745:                                              ; preds = %743
  %746 = getelementptr inbounds %"class.JPH::Vec3", ptr %107, i32 0, i32 0
  %747 = getelementptr inbounds %union.anon, ptr %746, i32 0, i32 0
  %748 = getelementptr inbounds { double, double }, ptr %747, i32 0, i32 0
  %749 = extractvalue { double, double } %744, 0
  store double %749, ptr %748, align 16
  %750 = getelementptr inbounds { double, double }, ptr %747, i32 0, i32 1
  %751 = extractvalue { double, double } %744, 1
  store double %751, ptr %750, align 8
  %752 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %753 unwind label %1044

753:                                              ; preds = %745
  %754 = getelementptr inbounds %"class.JPH::Vec3", ptr %108, i32 0, i32 0
  %755 = getelementptr inbounds %union.anon, ptr %754, i32 0, i32 0
  %756 = getelementptr inbounds { double, double }, ptr %755, i32 0, i32 0
  %757 = extractvalue { double, double } %752, 0
  store double %757, ptr %756, align 16
  %758 = getelementptr inbounds { double, double }, ptr %755, i32 0, i32 1
  %759 = extractvalue { double, double } %752, 1
  store double %759, ptr %758, align 8
  %760 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %761 unwind label %1044

761:                                              ; preds = %753
  %762 = getelementptr inbounds %"class.JPH::Vec3", ptr %109, i32 0, i32 0
  %763 = getelementptr inbounds %union.anon, ptr %762, i32 0, i32 0
  %764 = getelementptr inbounds { double, double }, ptr %763, i32 0, i32 0
  %765 = extractvalue { double, double } %760, 0
  store double %765, ptr %764, align 16
  %766 = getelementptr inbounds { double, double }, ptr %763, i32 0, i32 1
  %767 = extractvalue { double, double } %760, 1
  store double %767, ptr %766, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %110, float noundef 2.500000e-01, float noundef 7.500000e-01)
          to label %768 unwind label %1048

768:                                              ; preds = %761
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %111, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %769 = load i32, ptr %69, align 4, !tbaa !11
  %770 = getelementptr inbounds { double, double }, ptr %107, i32 0, i32 0
  %771 = load double, ptr %770, align 16
  %772 = getelementptr inbounds { double, double }, ptr %107, i32 0, i32 1
  %773 = load double, ptr %772, align 8
  %774 = getelementptr inbounds { double, double }, ptr %108, i32 0, i32 0
  %775 = load double, ptr %774, align 16
  %776 = getelementptr inbounds { double, double }, ptr %108, i32 0, i32 1
  %777 = load double, ptr %776, align 8
  %778 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 0
  %779 = load double, ptr %778, align 16
  %780 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 1
  %781 = load double, ptr %780, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %105, double %771, double %773, double %775, double %777, double %779, double %781, ptr noundef nonnull align 4 dereferenceable(8) %110, ptr noundef %111, i32 noundef %769)
          to label %782 unwind label %1052

782:                                              ; preds = %768
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %111) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #10
  %783 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %784 unwind label %1044

784:                                              ; preds = %782
  %785 = getelementptr inbounds %"class.JPH::Vec3", ptr %112, i32 0, i32 0
  %786 = getelementptr inbounds %union.anon, ptr %785, i32 0, i32 0
  %787 = getelementptr inbounds { double, double }, ptr %786, i32 0, i32 0
  %788 = extractvalue { double, double } %783, 0
  store double %788, ptr %787, align 16
  %789 = getelementptr inbounds { double, double }, ptr %786, i32 0, i32 1
  %790 = extractvalue { double, double } %783, 1
  store double %790, ptr %789, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %114) #10
  %791 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %792 unwind label %1057

792:                                              ; preds = %784
  %793 = getelementptr inbounds %"class.JPH::Vec3", ptr %114, i32 0, i32 0
  %794 = getelementptr inbounds %union.anon, ptr %793, i32 0, i32 0
  %795 = getelementptr inbounds { double, double }, ptr %794, i32 0, i32 0
  %796 = extractvalue { double, double } %791, 0
  store double %796, ptr %795, align 16
  %797 = getelementptr inbounds { double, double }, ptr %794, i32 0, i32 1
  %798 = extractvalue { double, double } %791, 1
  store double %798, ptr %797, align 8
  %799 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %114)
          to label %800 unwind label %1057

800:                                              ; preds = %792
  %801 = getelementptr inbounds %"class.JPH::Vec3", ptr %113, i32 0, i32 0
  %802 = getelementptr inbounds %union.anon, ptr %801, i32 0, i32 0
  %803 = getelementptr inbounds { double, double }, ptr %802, i32 0, i32 0
  %804 = extractvalue { double, double } %799, 0
  store double %804, ptr %803, align 16
  %805 = getelementptr inbounds { double, double }, ptr %802, i32 0, i32 1
  %806 = extractvalue { double, double } %799, 1
  store double %806, ptr %805, align 8
  %807 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %808 unwind label %1057

808:                                              ; preds = %800
  %809 = getelementptr inbounds %"class.JPH::Vec3", ptr %115, i32 0, i32 0
  %810 = getelementptr inbounds %union.anon, ptr %809, i32 0, i32 0
  %811 = getelementptr inbounds { double, double }, ptr %810, i32 0, i32 0
  %812 = extractvalue { double, double } %807, 0
  store double %812, ptr %811, align 16
  %813 = getelementptr inbounds { double, double }, ptr %810, i32 0, i32 1
  %814 = extractvalue { double, double } %807, 1
  store double %814, ptr %813, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %116) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %116, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %815 unwind label %1061

815:                                              ; preds = %808
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %117, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %816 = load i32, ptr %69, align 4, !tbaa !11
  %817 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 0
  %818 = load double, ptr %817, align 16
  %819 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 1
  %820 = load double, ptr %819, align 8
  %821 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 0
  %822 = load double, ptr %821, align 16
  %823 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 1
  %824 = load double, ptr %823, align 8
  %825 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 0
  %826 = load double, ptr %825, align 16
  %827 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 1
  %828 = load double, ptr %827, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %105, double %818, double %820, double %822, double %824, double %826, double %828, ptr noundef nonnull align 4 dereferenceable(8) %116, ptr noundef %117, i32 noundef %816)
          to label %829 unwind label %1065

829:                                              ; preds = %815
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %117) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %114) #10
  %830 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %831 unwind label %1044

831:                                              ; preds = %829
  %832 = getelementptr inbounds %"class.JPH::Vec3", ptr %118, i32 0, i32 0
  %833 = getelementptr inbounds %union.anon, ptr %832, i32 0, i32 0
  %834 = getelementptr inbounds { double, double }, ptr %833, i32 0, i32 0
  %835 = extractvalue { double, double } %830, 0
  store double %835, ptr %834, align 16
  %836 = getelementptr inbounds { double, double }, ptr %833, i32 0, i32 1
  %837 = extractvalue { double, double } %830, 1
  store double %837, ptr %836, align 8
  %838 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %839 unwind label %1044

839:                                              ; preds = %831
  %840 = getelementptr inbounds %"class.JPH::Vec3", ptr %119, i32 0, i32 0
  %841 = getelementptr inbounds %union.anon, ptr %840, i32 0, i32 0
  %842 = getelementptr inbounds { double, double }, ptr %841, i32 0, i32 0
  %843 = extractvalue { double, double } %838, 0
  store double %843, ptr %842, align 16
  %844 = getelementptr inbounds { double, double }, ptr %841, i32 0, i32 1
  %845 = extractvalue { double, double } %838, 1
  store double %845, ptr %844, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %121) #10
  %846 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %847 unwind label %1071

847:                                              ; preds = %839
  %848 = getelementptr inbounds %"class.JPH::Vec3", ptr %121, i32 0, i32 0
  %849 = getelementptr inbounds %union.anon, ptr %848, i32 0, i32 0
  %850 = getelementptr inbounds { double, double }, ptr %849, i32 0, i32 0
  %851 = extractvalue { double, double } %846, 0
  store double %851, ptr %850, align 16
  %852 = getelementptr inbounds { double, double }, ptr %849, i32 0, i32 1
  %853 = extractvalue { double, double } %846, 1
  store double %853, ptr %852, align 8
  %854 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %121)
          to label %855 unwind label %1071

855:                                              ; preds = %847
  %856 = getelementptr inbounds %"class.JPH::Vec3", ptr %120, i32 0, i32 0
  %857 = getelementptr inbounds %union.anon, ptr %856, i32 0, i32 0
  %858 = getelementptr inbounds { double, double }, ptr %857, i32 0, i32 0
  %859 = extractvalue { double, double } %854, 0
  store double %859, ptr %858, align 16
  %860 = getelementptr inbounds { double, double }, ptr %857, i32 0, i32 1
  %861 = extractvalue { double, double } %854, 1
  store double %861, ptr %860, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %122) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %122, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %862 unwind label %1075

862:                                              ; preds = %855
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %123, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %863 = load i32, ptr %69, align 4, !tbaa !11
  %864 = getelementptr inbounds { double, double }, ptr %118, i32 0, i32 0
  %865 = load double, ptr %864, align 16
  %866 = getelementptr inbounds { double, double }, ptr %118, i32 0, i32 1
  %867 = load double, ptr %866, align 8
  %868 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 0
  %869 = load double, ptr %868, align 16
  %870 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 1
  %871 = load double, ptr %870, align 8
  %872 = getelementptr inbounds { double, double }, ptr %120, i32 0, i32 0
  %873 = load double, ptr %872, align 16
  %874 = getelementptr inbounds { double, double }, ptr %120, i32 0, i32 1
  %875 = load double, ptr %874, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %105, double %865, double %867, double %869, double %871, double %873, double %875, ptr noundef nonnull align 4 dereferenceable(8) %122, ptr noundef %123, i32 noundef %863)
          to label %876 unwind label %1079

876:                                              ; preds = %862
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %123) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %121) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %125) #10
  %877 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %878 unwind label %1085

878:                                              ; preds = %876
  %879 = getelementptr inbounds %"class.JPH::Vec3", ptr %125, i32 0, i32 0
  %880 = getelementptr inbounds %union.anon, ptr %879, i32 0, i32 0
  %881 = getelementptr inbounds { double, double }, ptr %880, i32 0, i32 0
  %882 = extractvalue { double, double } %877, 0
  store double %882, ptr %881, align 16
  %883 = getelementptr inbounds { double, double }, ptr %880, i32 0, i32 1
  %884 = extractvalue { double, double } %877, 1
  store double %884, ptr %883, align 8
  %885 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %125)
          to label %886 unwind label %1085

886:                                              ; preds = %878
  %887 = getelementptr inbounds %"class.JPH::Vec3", ptr %124, i32 0, i32 0
  %888 = getelementptr inbounds %union.anon, ptr %887, i32 0, i32 0
  %889 = getelementptr inbounds { double, double }, ptr %888, i32 0, i32 0
  %890 = extractvalue { double, double } %885, 0
  store double %890, ptr %889, align 16
  %891 = getelementptr inbounds { double, double }, ptr %888, i32 0, i32 1
  %892 = extractvalue { double, double } %885, 1
  store double %892, ptr %891, align 8
  %893 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %894 unwind label %1085

894:                                              ; preds = %886
  %895 = getelementptr inbounds %"class.JPH::Vec3", ptr %126, i32 0, i32 0
  %896 = getelementptr inbounds %union.anon, ptr %895, i32 0, i32 0
  %897 = getelementptr inbounds { double, double }, ptr %896, i32 0, i32 0
  %898 = extractvalue { double, double } %893, 0
  store double %898, ptr %897, align 16
  %899 = getelementptr inbounds { double, double }, ptr %896, i32 0, i32 1
  %900 = extractvalue { double, double } %893, 1
  store double %900, ptr %899, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %128) #10
  %901 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %902 unwind label %1089

902:                                              ; preds = %894
  %903 = getelementptr inbounds %"class.JPH::Vec3", ptr %128, i32 0, i32 0
  %904 = getelementptr inbounds %union.anon, ptr %903, i32 0, i32 0
  %905 = getelementptr inbounds { double, double }, ptr %904, i32 0, i32 0
  %906 = extractvalue { double, double } %901, 0
  store double %906, ptr %905, align 16
  %907 = getelementptr inbounds { double, double }, ptr %904, i32 0, i32 1
  %908 = extractvalue { double, double } %901, 1
  store double %908, ptr %907, align 8
  %909 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %128)
          to label %910 unwind label %1089

910:                                              ; preds = %902
  %911 = getelementptr inbounds %"class.JPH::Vec3", ptr %127, i32 0, i32 0
  %912 = getelementptr inbounds %union.anon, ptr %911, i32 0, i32 0
  %913 = getelementptr inbounds { double, double }, ptr %912, i32 0, i32 0
  %914 = extractvalue { double, double } %909, 0
  store double %914, ptr %913, align 16
  %915 = getelementptr inbounds { double, double }, ptr %912, i32 0, i32 1
  %916 = extractvalue { double, double } %909, 1
  store double %916, ptr %915, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %129) #10
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %129, float noundef 2.500000e-01, float noundef 7.500000e-01)
          to label %917 unwind label %1093

917:                                              ; preds = %910
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %130, ptr noundef nonnull align 1 dereferenceable(1) %44) #10
  %918 = load i32, ptr %69, align 4, !tbaa !11
  %919 = getelementptr inbounds { double, double }, ptr %124, i32 0, i32 0
  %920 = load double, ptr %919, align 16
  %921 = getelementptr inbounds { double, double }, ptr %124, i32 0, i32 1
  %922 = load double, ptr %921, align 8
  %923 = getelementptr inbounds { double, double }, ptr %126, i32 0, i32 0
  %924 = load double, ptr %923, align 16
  %925 = getelementptr inbounds { double, double }, ptr %126, i32 0, i32 1
  %926 = load double, ptr %925, align 8
  %927 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 0
  %928 = load double, ptr %927, align 16
  %929 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 1
  %930 = load double, ptr %929, align 8
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %105, double %920, double %922, double %924, double %926, double %928, double %930, ptr noundef nonnull align 4 dereferenceable(8) %129, ptr noundef %130, i32 noundef %918)
          to label %931 unwind label %1097

931:                                              ; preds = %917
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %130) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %128) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %125) #10
  %932 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 3
  %933 = invoke noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %932)
          to label %934 unwind label %1044

934:                                              ; preds = %931
  %935 = getelementptr inbounds %"class.JPH::DebugRenderer::Geometry", ptr %933, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %131) #10
  %936 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %131, i32 0, i32 0
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %936, ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef nonnull align 8 dereferenceable(24) %106)
          to label %937 unwind label %1104

937:                                              ; preds = %934
  %938 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %131, i32 0, i32 1
  %939 = load float, ptr %71, align 4, !tbaa !13
  store float %939, ptr %938, align 8, !tbaa !15
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %935, ptr noundef nonnull align 8 dereferenceable(12) %131)
          to label %940 unwind label %1108

940:                                              ; preds = %937
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %131) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %131) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %106) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %105) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %132) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %132) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %133) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %134) #10
  store i32 0, ptr %134, align 4, !tbaa !11
  br label %941

941:                                              ; preds = %1262, %940
  %942 = load i32, ptr %134, align 4, !tbaa !11
  %943 = icmp slt i32 %942, 4
  br i1 %943, label %1114, label %944

944:                                              ; preds = %941
  store i32 5, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %134) #10
  br label %1268

945:                                              ; preds = %500
  %946 = landingpad { ptr, i32 }
          cleanup
  %947 = extractvalue { ptr, i32 } %946, 0
  store ptr %947, ptr %6, align 8
  %948 = extractvalue { ptr, i32 } %946, 1
  store i32 %948, ptr %7, align 4
  br label %953

949:                                              ; preds = %511
  %950 = landingpad { ptr, i32 }
          cleanup
  %951 = extractvalue { ptr, i32 } %950, 0
  store ptr %951, ptr %6, align 8
  %952 = extractvalue { ptr, i32 } %950, 1
  store i32 %952, ptr %7, align 4
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %72) #10
  br label %953

953:                                              ; preds = %949, %945
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %72) #10
  br label %1488

954:                                              ; preds = %516, %514
  %955 = landingpad { ptr, i32 }
          cleanup
  %956 = extractvalue { ptr, i32 } %955, 0
  store ptr %956, ptr %6, align 8
  %957 = extractvalue { ptr, i32 } %955, 1
  store i32 %957, ptr %7, align 4
  br label %972

958:                                              ; preds = %540, %532, %524
  %959 = landingpad { ptr, i32 }
          cleanup
  %960 = extractvalue { ptr, i32 } %959, 0
  store ptr %960, ptr %6, align 8
  %961 = extractvalue { ptr, i32 } %959, 1
  store i32 %961, ptr %7, align 4
  br label %971

962:                                              ; preds = %548
  %963 = landingpad { ptr, i32 }
          cleanup
  %964 = extractvalue { ptr, i32 } %963, 0
  store ptr %964, ptr %6, align 8
  %965 = extractvalue { ptr, i32 } %963, 1
  store i32 %965, ptr %7, align 4
  br label %970

966:                                              ; preds = %555
  %967 = landingpad { ptr, i32 }
          cleanup
  %968 = extractvalue { ptr, i32 } %967, 0
  store ptr %968, ptr %6, align 8
  %969 = extractvalue { ptr, i32 } %967, 1
  store i32 %969, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #10
  br label %970

970:                                              ; preds = %966, %962
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #10
  br label %971

971:                                              ; preds = %970, %958
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #10
  br label %972

972:                                              ; preds = %971, %954
  call void @llvm.lifetime.end.p0(i64 16, ptr %77) #10
  br label %1043

973:                                              ; preds = %587, %579, %571, %569
  %974 = landingpad { ptr, i32 }
          cleanup
  %975 = extractvalue { ptr, i32 } %974, 0
  store ptr %975, ptr %6, align 8
  %976 = extractvalue { ptr, i32 } %974, 1
  store i32 %976, ptr %7, align 4
  br label %986

977:                                              ; preds = %595
  %978 = landingpad { ptr, i32 }
          cleanup
  %979 = extractvalue { ptr, i32 } %978, 0
  store ptr %979, ptr %6, align 8
  %980 = extractvalue { ptr, i32 } %978, 1
  store i32 %980, ptr %7, align 4
  br label %985

981:                                              ; preds = %602
  %982 = landingpad { ptr, i32 }
          cleanup
  %983 = extractvalue { ptr, i32 } %982, 0
  store ptr %983, ptr %6, align 8
  %984 = extractvalue { ptr, i32 } %982, 1
  store i32 %984, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #10
  br label %985

985:                                              ; preds = %981, %977
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #10
  br label %986

986:                                              ; preds = %985, %973
  call void @llvm.lifetime.end.p0(i64 16, ptr %84) #10
  br label %1043

987:                                              ; preds = %734, %616
  %988 = landingpad { ptr, i32 }
          cleanup
  %989 = extractvalue { ptr, i32 } %988, 0
  store ptr %989, ptr %6, align 8
  %990 = extractvalue { ptr, i32 } %988, 1
  store i32 %990, ptr %7, align 4
  br label %1043

991:                                              ; preds = %626, %618
  %992 = landingpad { ptr, i32 }
          cleanup
  %993 = extractvalue { ptr, i32 } %992, 0
  store ptr %993, ptr %6, align 8
  %994 = extractvalue { ptr, i32 } %992, 1
  store i32 %994, ptr %7, align 4
  br label %1009

995:                                              ; preds = %642, %634
  %996 = landingpad { ptr, i32 }
          cleanup
  %997 = extractvalue { ptr, i32 } %996, 0
  store ptr %997, ptr %6, align 8
  %998 = extractvalue { ptr, i32 } %996, 1
  store i32 %998, ptr %7, align 4
  br label %1008

999:                                              ; preds = %650
  %1000 = landingpad { ptr, i32 }
          cleanup
  %1001 = extractvalue { ptr, i32 } %1000, 0
  store ptr %1001, ptr %6, align 8
  %1002 = extractvalue { ptr, i32 } %1000, 1
  store i32 %1002, ptr %7, align 4
  br label %1007

1003:                                             ; preds = %657
  %1004 = landingpad { ptr, i32 }
          cleanup
  %1005 = extractvalue { ptr, i32 } %1004, 0
  store ptr %1005, ptr %6, align 8
  %1006 = extractvalue { ptr, i32 } %1004, 1
  store i32 %1006, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #10
  br label %1007

1007:                                             ; preds = %1003, %999
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #10
  br label %1008

1008:                                             ; preds = %1007, %995
  call void @llvm.lifetime.end.p0(i64 16, ptr %93) #10
  br label %1009

1009:                                             ; preds = %1008, %991
  call void @llvm.lifetime.end.p0(i64 16, ptr %91) #10
  br label %1043

1010:                                             ; preds = %673, %671
  %1011 = landingpad { ptr, i32 }
          cleanup
  %1012 = extractvalue { ptr, i32 } %1011, 0
  store ptr %1012, ptr %6, align 8
  %1013 = extractvalue { ptr, i32 } %1011, 1
  store i32 %1013, ptr %7, align 4
  br label %1033

1014:                                             ; preds = %689, %681
  %1015 = landingpad { ptr, i32 }
          cleanup
  %1016 = extractvalue { ptr, i32 } %1015, 0
  store ptr %1016, ptr %6, align 8
  %1017 = extractvalue { ptr, i32 } %1015, 1
  store i32 %1017, ptr %7, align 4
  br label %1032

1018:                                             ; preds = %705, %697
  %1019 = landingpad { ptr, i32 }
          cleanup
  %1020 = extractvalue { ptr, i32 } %1019, 0
  store ptr %1020, ptr %6, align 8
  %1021 = extractvalue { ptr, i32 } %1019, 1
  store i32 %1021, ptr %7, align 4
  br label %1031

1022:                                             ; preds = %713
  %1023 = landingpad { ptr, i32 }
          cleanup
  %1024 = extractvalue { ptr, i32 } %1023, 0
  store ptr %1024, ptr %6, align 8
  %1025 = extractvalue { ptr, i32 } %1023, 1
  store i32 %1025, ptr %7, align 4
  br label %1030

1026:                                             ; preds = %720
  %1027 = landingpad { ptr, i32 }
          cleanup
  %1028 = extractvalue { ptr, i32 } %1027, 0
  store ptr %1028, ptr %6, align 8
  %1029 = extractvalue { ptr, i32 } %1027, 1
  store i32 %1029, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #10
  br label %1030

1030:                                             ; preds = %1026, %1022
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #10
  br label %1031

1031:                                             ; preds = %1030, %1018
  call void @llvm.lifetime.end.p0(i64 16, ptr %101) #10
  br label %1032

1032:                                             ; preds = %1031, %1014
  call void @llvm.lifetime.end.p0(i64 16, ptr %99) #10
  br label %1033

1033:                                             ; preds = %1032, %1010
  call void @llvm.lifetime.end.p0(i64 16, ptr %97) #10
  br label %1043

1034:                                             ; preds = %737
  %1035 = landingpad { ptr, i32 }
          cleanup
  %1036 = extractvalue { ptr, i32 } %1035, 0
  store ptr %1036, ptr %6, align 8
  %1037 = extractvalue { ptr, i32 } %1035, 1
  store i32 %1037, ptr %7, align 4
  br label %1042

1038:                                             ; preds = %740
  %1039 = landingpad { ptr, i32 }
          cleanup
  %1040 = extractvalue { ptr, i32 } %1039, 0
  store ptr %1040, ptr %6, align 8
  %1041 = extractvalue { ptr, i32 } %1039, 1
  store i32 %1041, ptr %7, align 4
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %104) #10
  br label %1042

1042:                                             ; preds = %1038, %1034
  call void @llvm.lifetime.end.p0(i64 16, ptr %104) #10
  br label %1043

1043:                                             ; preds = %1042, %1033, %1009, %987, %986, %972
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %75) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %74) #10
  br label %1488

1044:                                             ; preds = %931, %831, %829, %782, %753, %745, %743
  %1045 = landingpad { ptr, i32 }
          cleanup
  %1046 = extractvalue { ptr, i32 } %1045, 0
  store ptr %1046, ptr %6, align 8
  %1047 = extractvalue { ptr, i32 } %1045, 1
  store i32 %1047, ptr %7, align 4
  br label %1113

1048:                                             ; preds = %761
  %1049 = landingpad { ptr, i32 }
          cleanup
  %1050 = extractvalue { ptr, i32 } %1049, 0
  store ptr %1050, ptr %6, align 8
  %1051 = extractvalue { ptr, i32 } %1049, 1
  store i32 %1051, ptr %7, align 4
  br label %1056

1052:                                             ; preds = %768
  %1053 = landingpad { ptr, i32 }
          cleanup
  %1054 = extractvalue { ptr, i32 } %1053, 0
  store ptr %1054, ptr %6, align 8
  %1055 = extractvalue { ptr, i32 } %1053, 1
  store i32 %1055, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %111) #10
  br label %1056

1056:                                             ; preds = %1052, %1048
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #10
  br label %1113

1057:                                             ; preds = %800, %792, %784
  %1058 = landingpad { ptr, i32 }
          cleanup
  %1059 = extractvalue { ptr, i32 } %1058, 0
  store ptr %1059, ptr %6, align 8
  %1060 = extractvalue { ptr, i32 } %1058, 1
  store i32 %1060, ptr %7, align 4
  br label %1070

1061:                                             ; preds = %808
  %1062 = landingpad { ptr, i32 }
          cleanup
  %1063 = extractvalue { ptr, i32 } %1062, 0
  store ptr %1063, ptr %6, align 8
  %1064 = extractvalue { ptr, i32 } %1062, 1
  store i32 %1064, ptr %7, align 4
  br label %1069

1065:                                             ; preds = %815
  %1066 = landingpad { ptr, i32 }
          cleanup
  %1067 = extractvalue { ptr, i32 } %1066, 0
  store ptr %1067, ptr %6, align 8
  %1068 = extractvalue { ptr, i32 } %1066, 1
  store i32 %1068, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %117) #10
  br label %1069

1069:                                             ; preds = %1065, %1061
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #10
  br label %1070

1070:                                             ; preds = %1069, %1057
  call void @llvm.lifetime.end.p0(i64 16, ptr %114) #10
  br label %1113

1071:                                             ; preds = %847, %839
  %1072 = landingpad { ptr, i32 }
          cleanup
  %1073 = extractvalue { ptr, i32 } %1072, 0
  store ptr %1073, ptr %6, align 8
  %1074 = extractvalue { ptr, i32 } %1072, 1
  store i32 %1074, ptr %7, align 4
  br label %1084

1075:                                             ; preds = %855
  %1076 = landingpad { ptr, i32 }
          cleanup
  %1077 = extractvalue { ptr, i32 } %1076, 0
  store ptr %1077, ptr %6, align 8
  %1078 = extractvalue { ptr, i32 } %1076, 1
  store i32 %1078, ptr %7, align 4
  br label %1083

1079:                                             ; preds = %862
  %1080 = landingpad { ptr, i32 }
          cleanup
  %1081 = extractvalue { ptr, i32 } %1080, 0
  store ptr %1081, ptr %6, align 8
  %1082 = extractvalue { ptr, i32 } %1080, 1
  store i32 %1082, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %123) #10
  br label %1083

1083:                                             ; preds = %1079, %1075
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #10
  br label %1084

1084:                                             ; preds = %1083, %1071
  call void @llvm.lifetime.end.p0(i64 16, ptr %121) #10
  br label %1113

1085:                                             ; preds = %886, %878, %876
  %1086 = landingpad { ptr, i32 }
          cleanup
  %1087 = extractvalue { ptr, i32 } %1086, 0
  store ptr %1087, ptr %6, align 8
  %1088 = extractvalue { ptr, i32 } %1086, 1
  store i32 %1088, ptr %7, align 4
  br label %1103

1089:                                             ; preds = %902, %894
  %1090 = landingpad { ptr, i32 }
          cleanup
  %1091 = extractvalue { ptr, i32 } %1090, 0
  store ptr %1091, ptr %6, align 8
  %1092 = extractvalue { ptr, i32 } %1090, 1
  store i32 %1092, ptr %7, align 4
  br label %1102

1093:                                             ; preds = %910
  %1094 = landingpad { ptr, i32 }
          cleanup
  %1095 = extractvalue { ptr, i32 } %1094, 0
  store ptr %1095, ptr %6, align 8
  %1096 = extractvalue { ptr, i32 } %1094, 1
  store i32 %1096, ptr %7, align 4
  br label %1101

1097:                                             ; preds = %917
  %1098 = landingpad { ptr, i32 }
          cleanup
  %1099 = extractvalue { ptr, i32 } %1098, 0
  store ptr %1099, ptr %6, align 8
  %1100 = extractvalue { ptr, i32 } %1098, 1
  store i32 %1100, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %130) #10
  br label %1101

1101:                                             ; preds = %1097, %1093
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #10
  br label %1102

1102:                                             ; preds = %1101, %1089
  call void @llvm.lifetime.end.p0(i64 16, ptr %128) #10
  br label %1103

1103:                                             ; preds = %1102, %1085
  call void @llvm.lifetime.end.p0(i64 16, ptr %125) #10
  br label %1113

1104:                                             ; preds = %934
  %1105 = landingpad { ptr, i32 }
          cleanup
  %1106 = extractvalue { ptr, i32 } %1105, 0
  store ptr %1106, ptr %6, align 8
  %1107 = extractvalue { ptr, i32 } %1105, 1
  store i32 %1107, ptr %7, align 4
  br label %1112

1108:                                             ; preds = %937
  %1109 = landingpad { ptr, i32 }
          cleanup
  %1110 = extractvalue { ptr, i32 } %1109, 0
  store ptr %1110, ptr %6, align 8
  %1111 = extractvalue { ptr, i32 } %1109, 1
  store i32 %1111, ptr %7, align 4
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %131) #10
  br label %1112

1112:                                             ; preds = %1108, %1104
  call void @llvm.lifetime.end.p0(i64 16, ptr %131) #10
  br label %1113

1113:                                             ; preds = %1112, %1103, %1084, %1070, %1056, %1044
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %106) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %105) #10
  br label %1488

1114:                                             ; preds = %941
  call void @llvm.lifetime.start.p0(i64 8, ptr %135) #10
  %1115 = load i32, ptr %134, align 4, !tbaa !11
  %1116 = and i32 %1115, 1
  %1117 = icmp eq i32 %1116, 0
  br i1 %1117, label %1118, label %1120

1118:                                             ; preds = %1114
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %135, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %1119 unwind label %1133

1119:                                             ; preds = %1118
  br label %1122

1120:                                             ; preds = %1114
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %135, float noundef 2.500000e-01, float noundef 7.500000e-01)
          to label %1121 unwind label %1133

1121:                                             ; preds = %1120
  br label %1122

1122:                                             ; preds = %1121, %1119
  call void @llvm.lifetime.start.p0(i64 4, ptr %136) #10
  %1123 = invoke noundef i64 @_ZNK3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %132)
          to label %1124 unwind label %1137

1124:                                             ; preds = %1122
  %1125 = trunc i64 %1123 to i32
  store i32 %1125, ptr %136, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %137) #10
  %1126 = load i32, ptr %69, align 4, !tbaa !11
  %1127 = shl i32 1, %1126
  store i32 %1127, ptr %137, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %138) #10
  store i32 0, ptr %138, align 4, !tbaa !11
  br label %1128

1128:                                             ; preds = %1176, %1124
  %1129 = load i32, ptr %138, align 4, !tbaa !11
  %1130 = load i32, ptr %137, align 4, !tbaa !11
  %1131 = icmp sle i32 %1129, %1130
  br i1 %1131, label %1141, label %1132

1132:                                             ; preds = %1128
  store i32 8, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %138) #10
  br label %1212

1133:                                             ; preds = %1120, %1118
  %1134 = landingpad { ptr, i32 }
          cleanup
  %1135 = extractvalue { ptr, i32 } %1134, 0
  store ptr %1135, ptr %6, align 8
  %1136 = extractvalue { ptr, i32 } %1134, 1
  store i32 %1136, ptr %7, align 4
  br label %1267

1137:                                             ; preds = %1122
  %1138 = landingpad { ptr, i32 }
          cleanup
  %1139 = extractvalue { ptr, i32 } %1138, 0
  store ptr %1139, ptr %6, align 8
  %1140 = extractvalue { ptr, i32 } %1138, 1
  store i32 %1140, ptr %7, align 4
  br label %1266

1141:                                             ; preds = %1128
  call void @llvm.lifetime.start.p0(i64 4, ptr %139) #10
  %1142 = load i32, ptr %134, align 4, !tbaa !11
  %1143 = sitofp i32 %1142 to float
  %1144 = load i32, ptr %138, align 4, !tbaa !11
  %1145 = sitofp i32 %1144 to float
  %1146 = load i32, ptr %137, align 4, !tbaa !11
  %1147 = sitofp i32 %1146 to float
  %1148 = fdiv float %1145, %1147
  %1149 = fadd float %1143, %1148
  %1150 = fmul float 0x3FF921FB60000000, %1149
  store float %1150, ptr %139, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %140) #10
  %1151 = load float, ptr %139, align 4, !tbaa !13
  %1152 = invoke noundef float @_ZN3JPH3SinEf(float noundef %1151)
          to label %1153 unwind label %1179

1153:                                             ; preds = %1141
  store float %1152, ptr %140, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %141) #10
  %1154 = load float, ptr %139, align 4, !tbaa !13
  %1155 = invoke noundef float @_ZN3JPH3CosEf(float noundef %1154)
          to label %1156 unwind label %1183

1156:                                             ; preds = %1153
  store float %1155, ptr %141, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %142) #10
  %1157 = load float, ptr %140, align 4, !tbaa !13
  %1158 = load float, ptr %141, align 4, !tbaa !13
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %142, float noundef %1157, float noundef 1.000000e+00, float noundef %1158)
          to label %1159 unwind label %1187

1159:                                             ; preds = %1156
  call void @llvm.lifetime.start.p0(i64 12, ptr %143) #10
  %1160 = load float, ptr %140, align 4, !tbaa !13
  %1161 = load float, ptr %141, align 4, !tbaa !13
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %143, float noundef %1160, float noundef -1.000000e+00, float noundef %1161)
          to label %1162 unwind label %1191

1162:                                             ; preds = %1159
  call void @llvm.lifetime.start.p0(i64 12, ptr %144) #10
  %1163 = load float, ptr %140, align 4, !tbaa !13
  %1164 = load float, ptr %141, align 4, !tbaa !13
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %144, float noundef %1163, float noundef 0.000000e+00, float noundef %1164)
          to label %1165 unwind label %1195

1165:                                             ; preds = %1162
  call void @llvm.lifetime.start.p0(i64 36, ptr %145) #10
  %1166 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %145, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1166, ptr align 4 %142, i64 12, i1 false), !tbaa.struct !18
  %1167 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %145, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1167, ptr align 4 %144, i64 12, i1 false), !tbaa.struct !18
  %1168 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %145, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1168, ptr align 4 %135, i64 8, i1 false), !tbaa.struct !19
  %1169 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %145, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1169, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef nonnull align 4 dereferenceable(36) %145)
          to label %1170 unwind label %1199

1170:                                             ; preds = %1165
  call void @llvm.lifetime.end.p0(i64 36, ptr %145) #10
  call void @llvm.lifetime.start.p0(i64 36, ptr %146) #10
  %1171 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %146, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1171, ptr align 4 %143, i64 12, i1 false), !tbaa.struct !18
  %1172 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %146, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1172, ptr align 4 %144, i64 12, i1 false), !tbaa.struct !18
  %1173 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %146, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1173, ptr align 4 %135, i64 8, i1 false), !tbaa.struct !19
  %1174 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %146, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1174, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef nonnull align 4 dereferenceable(36) %146)
          to label %1175 unwind label %1203

1175:                                             ; preds = %1170
  call void @llvm.lifetime.end.p0(i64 36, ptr %146) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %144) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %143) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %142) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %141) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %140) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %139) #10
  br label %1176

1176:                                             ; preds = %1175
  %1177 = load i32, ptr %138, align 4, !tbaa !11
  %1178 = add nsw i32 %1177, 1
  store i32 %1178, ptr %138, align 4, !tbaa !11
  br label %1128, !llvm.loop !21

1179:                                             ; preds = %1141
  %1180 = landingpad { ptr, i32 }
          cleanup
  %1181 = extractvalue { ptr, i32 } %1180, 0
  store ptr %1181, ptr %6, align 8
  %1182 = extractvalue { ptr, i32 } %1180, 1
  store i32 %1182, ptr %7, align 4
  br label %1211

1183:                                             ; preds = %1153
  %1184 = landingpad { ptr, i32 }
          cleanup
  %1185 = extractvalue { ptr, i32 } %1184, 0
  store ptr %1185, ptr %6, align 8
  %1186 = extractvalue { ptr, i32 } %1184, 1
  store i32 %1186, ptr %7, align 4
  br label %1210

1187:                                             ; preds = %1156
  %1188 = landingpad { ptr, i32 }
          cleanup
  %1189 = extractvalue { ptr, i32 } %1188, 0
  store ptr %1189, ptr %6, align 8
  %1190 = extractvalue { ptr, i32 } %1188, 1
  store i32 %1190, ptr %7, align 4
  br label %1209

1191:                                             ; preds = %1159
  %1192 = landingpad { ptr, i32 }
          cleanup
  %1193 = extractvalue { ptr, i32 } %1192, 0
  store ptr %1193, ptr %6, align 8
  %1194 = extractvalue { ptr, i32 } %1192, 1
  store i32 %1194, ptr %7, align 4
  br label %1208

1195:                                             ; preds = %1162
  %1196 = landingpad { ptr, i32 }
          cleanup
  %1197 = extractvalue { ptr, i32 } %1196, 0
  store ptr %1197, ptr %6, align 8
  %1198 = extractvalue { ptr, i32 } %1196, 1
  store i32 %1198, ptr %7, align 4
  br label %1207

1199:                                             ; preds = %1165
  %1200 = landingpad { ptr, i32 }
          cleanup
  %1201 = extractvalue { ptr, i32 } %1200, 0
  store ptr %1201, ptr %6, align 8
  %1202 = extractvalue { ptr, i32 } %1200, 1
  store i32 %1202, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %145) #10
  br label %1207

1203:                                             ; preds = %1170
  %1204 = landingpad { ptr, i32 }
          cleanup
  %1205 = extractvalue { ptr, i32 } %1204, 0
  store ptr %1205, ptr %6, align 8
  %1206 = extractvalue { ptr, i32 } %1204, 1
  store i32 %1206, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %146) #10
  br label %1207

1207:                                             ; preds = %1203, %1199, %1195
  call void @llvm.lifetime.end.p0(i64 12, ptr %144) #10
  br label %1208

1208:                                             ; preds = %1207, %1191
  call void @llvm.lifetime.end.p0(i64 12, ptr %143) #10
  br label %1209

1209:                                             ; preds = %1208, %1187
  call void @llvm.lifetime.end.p0(i64 12, ptr %142) #10
  br label %1210

1210:                                             ; preds = %1209, %1183
  call void @llvm.lifetime.end.p0(i64 4, ptr %141) #10
  br label %1211

1211:                                             ; preds = %1210, %1179
  call void @llvm.lifetime.end.p0(i64 4, ptr %140) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %139) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %138) #10
  br label %1265

1212:                                             ; preds = %1132
  call void @llvm.lifetime.start.p0(i64 4, ptr %147) #10
  store i32 0, ptr %147, align 4, !tbaa !11
  br label %1213

1213:                                             ; preds = %1237, %1212
  %1214 = load i32, ptr %147, align 4, !tbaa !11
  %1215 = load i32, ptr %137, align 4, !tbaa !11
  %1216 = icmp slt i32 %1214, %1215
  br i1 %1216, label %1218, label %1217

1217:                                             ; preds = %1213
  store i32 11, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %147) #10
  br label %1261

1218:                                             ; preds = %1213
  call void @llvm.lifetime.start.p0(i64 4, ptr %148) #10
  %1219 = load i32, ptr %136, align 4, !tbaa !11
  %1220 = load i32, ptr %147, align 4, !tbaa !11
  %1221 = mul nsw i32 2, %1220
  %1222 = add i32 %1219, %1221
  store i32 %1222, ptr %148, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 4 dereferenceable(4) %148)
          to label %1223 unwind label %1240

1223:                                             ; preds = %1218
  call void @llvm.lifetime.start.p0(i64 4, ptr %149) #10
  %1224 = load i32, ptr %148, align 4, !tbaa !11
  %1225 = add i32 %1224, 1
  store i32 %1225, ptr %149, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 4 dereferenceable(4) %149)
          to label %1226 unwind label %1244

1226:                                             ; preds = %1223
  call void @llvm.lifetime.end.p0(i64 4, ptr %149) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %150) #10
  %1227 = load i32, ptr %148, align 4, !tbaa !11
  %1228 = add i32 %1227, 3
  store i32 %1228, ptr %150, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 4 dereferenceable(4) %150)
          to label %1229 unwind label %1248

1229:                                             ; preds = %1226
  call void @llvm.lifetime.end.p0(i64 4, ptr %150) #10
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 4 dereferenceable(4) %148)
          to label %1230 unwind label %1240

1230:                                             ; preds = %1229
  call void @llvm.lifetime.start.p0(i64 4, ptr %151) #10
  %1231 = load i32, ptr %148, align 4, !tbaa !11
  %1232 = add i32 %1231, 3
  store i32 %1232, ptr %151, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 4 dereferenceable(4) %151)
          to label %1233 unwind label %1252

1233:                                             ; preds = %1230
  call void @llvm.lifetime.end.p0(i64 4, ptr %151) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %152) #10
  %1234 = load i32, ptr %148, align 4, !tbaa !11
  %1235 = add i32 %1234, 2
  store i32 %1235, ptr %152, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 4 dereferenceable(4) %152)
          to label %1236 unwind label %1256

1236:                                             ; preds = %1233
  call void @llvm.lifetime.end.p0(i64 4, ptr %152) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %148) #10
  br label %1237

1237:                                             ; preds = %1236
  %1238 = load i32, ptr %147, align 4, !tbaa !11
  %1239 = add nsw i32 %1238, 1
  store i32 %1239, ptr %147, align 4, !tbaa !11
  br label %1213, !llvm.loop !23

1240:                                             ; preds = %1229, %1218
  %1241 = landingpad { ptr, i32 }
          cleanup
  %1242 = extractvalue { ptr, i32 } %1241, 0
  store ptr %1242, ptr %6, align 8
  %1243 = extractvalue { ptr, i32 } %1241, 1
  store i32 %1243, ptr %7, align 4
  br label %1260

1244:                                             ; preds = %1223
  %1245 = landingpad { ptr, i32 }
          cleanup
  %1246 = extractvalue { ptr, i32 } %1245, 0
  store ptr %1246, ptr %6, align 8
  %1247 = extractvalue { ptr, i32 } %1245, 1
  store i32 %1247, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %149) #10
  br label %1260

1248:                                             ; preds = %1226
  %1249 = landingpad { ptr, i32 }
          cleanup
  %1250 = extractvalue { ptr, i32 } %1249, 0
  store ptr %1250, ptr %6, align 8
  %1251 = extractvalue { ptr, i32 } %1249, 1
  store i32 %1251, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %150) #10
  br label %1260

1252:                                             ; preds = %1230
  %1253 = landingpad { ptr, i32 }
          cleanup
  %1254 = extractvalue { ptr, i32 } %1253, 0
  store ptr %1254, ptr %6, align 8
  %1255 = extractvalue { ptr, i32 } %1253, 1
  store i32 %1255, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %151) #10
  br label %1260

1256:                                             ; preds = %1233
  %1257 = landingpad { ptr, i32 }
          cleanup
  %1258 = extractvalue { ptr, i32 } %1257, 0
  store ptr %1258, ptr %6, align 8
  %1259 = extractvalue { ptr, i32 } %1257, 1
  store i32 %1259, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %152) #10
  br label %1260

1260:                                             ; preds = %1256, %1252, %1248, %1244, %1240
  call void @llvm.lifetime.end.p0(i64 4, ptr %148) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %147) #10
  br label %1265

1261:                                             ; preds = %1217
  call void @llvm.lifetime.end.p0(i64 4, ptr %137) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %136) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %135) #10
  br label %1262

1262:                                             ; preds = %1261
  %1263 = load i32, ptr %134, align 4, !tbaa !11
  %1264 = add nsw i32 %1263, 1
  store i32 %1264, ptr %134, align 4, !tbaa !11
  br label %941, !llvm.loop !24

1265:                                             ; preds = %1260, %1211
  call void @llvm.lifetime.end.p0(i64 4, ptr %137) #10
  br label %1266

1266:                                             ; preds = %1265, %1137
  call void @llvm.lifetime.end.p0(i64 4, ptr %136) #10
  br label %1267

1267:                                             ; preds = %1266, %1133
  call void @llvm.lifetime.end.p0(i64 8, ptr %135) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %134) #10
  br label %1295

1268:                                             ; preds = %944
  %1269 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 4
  %1270 = invoke noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1269)
          to label %1271 unwind label %1282

1271:                                             ; preds = %1268
  %1272 = getelementptr inbounds %"class.JPH::DebugRenderer::Geometry", ptr %1270, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %153) #10
  %1273 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %153, i32 0, i32 0
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %1273, ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef nonnull align 8 dereferenceable(24) %133)
          to label %1274 unwind label %1286

1274:                                             ; preds = %1271
  %1275 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %153, i32 0, i32 1
  %1276 = load float, ptr %71, align 4, !tbaa !13
  store float %1276, ptr %1275, align 8, !tbaa !15
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %1272, ptr noundef nonnull align 8 dereferenceable(12) %153)
          to label %1277 unwind label %1290

1277:                                             ; preds = %1274
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %153) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %153) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %133) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %132) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %132) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %154) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %154) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %155) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %155) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %156) #10
  store i32 0, ptr %156, align 4, !tbaa !11
  br label %1278

1278:                                             ; preds = %1443, %1277
  %1279 = load i32, ptr %156, align 4, !tbaa !11
  %1280 = icmp slt i32 %1279, 4
  br i1 %1280, label %1296, label %1281

1281:                                             ; preds = %1278
  store i32 14, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %156) #10
  br label %1449

1282:                                             ; preds = %1268
  %1283 = landingpad { ptr, i32 }
          cleanup
  %1284 = extractvalue { ptr, i32 } %1283, 0
  store ptr %1284, ptr %6, align 8
  %1285 = extractvalue { ptr, i32 } %1283, 1
  store i32 %1285, ptr %7, align 4
  br label %1295

1286:                                             ; preds = %1271
  %1287 = landingpad { ptr, i32 }
          cleanup
  %1288 = extractvalue { ptr, i32 } %1287, 0
  store ptr %1288, ptr %6, align 8
  %1289 = extractvalue { ptr, i32 } %1287, 1
  store i32 %1289, ptr %7, align 4
  br label %1294

1290:                                             ; preds = %1274
  %1291 = landingpad { ptr, i32 }
          cleanup
  %1292 = extractvalue { ptr, i32 } %1291, 0
  store ptr %1292, ptr %6, align 8
  %1293 = extractvalue { ptr, i32 } %1291, 1
  store i32 %1293, ptr %7, align 4
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %153) #10
  br label %1294

1294:                                             ; preds = %1290, %1286
  call void @llvm.lifetime.end.p0(i64 16, ptr %153) #10
  br label %1295

1295:                                             ; preds = %1294, %1282, %1267
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %133) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %132) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %132) #10
  br label %1488

1296:                                             ; preds = %1278
  call void @llvm.lifetime.start.p0(i64 8, ptr %157) #10
  %1297 = load i32, ptr %156, align 4, !tbaa !11
  %1298 = and i32 %1297, 1
  %1299 = icmp eq i32 %1298, 0
  br i1 %1299, label %1300, label %1302

1300:                                             ; preds = %1296
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %157, float noundef 2.500000e-01, float noundef 2.500000e-01)
          to label %1301 unwind label %1315

1301:                                             ; preds = %1300
  br label %1304

1302:                                             ; preds = %1296
  invoke void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %157, float noundef 2.500000e-01, float noundef 7.500000e-01)
          to label %1303 unwind label %1315

1303:                                             ; preds = %1302
  br label %1304

1304:                                             ; preds = %1303, %1301
  call void @llvm.lifetime.start.p0(i64 4, ptr %158) #10
  %1305 = invoke noundef i64 @_ZNK3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %154)
          to label %1306 unwind label %1319

1306:                                             ; preds = %1304
  %1307 = trunc i64 %1305 to i32
  store i32 %1307, ptr %158, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %159) #10
  %1308 = load i32, ptr %69, align 4, !tbaa !11
  %1309 = shl i32 2, %1308
  store i32 %1309, ptr %159, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %160) #10
  call void @llvm.memset.p0.i64(ptr align 4 %160, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %161) #10
  store i32 0, ptr %161, align 4, !tbaa !11
  br label %1310

1310:                                             ; preds = %1372, %1306
  %1311 = load i32, ptr %161, align 4, !tbaa !11
  %1312 = load i32, ptr %159, align 4, !tbaa !11
  %1313 = icmp sle i32 %1311, %1312
  br i1 %1313, label %1323, label %1314

1314:                                             ; preds = %1310
  store i32 17, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %161) #10
  br label %1408

1315:                                             ; preds = %1302, %1300
  %1316 = landingpad { ptr, i32 }
          cleanup
  %1317 = extractvalue { ptr, i32 } %1316, 0
  store ptr %1317, ptr %6, align 8
  %1318 = extractvalue { ptr, i32 } %1316, 1
  store i32 %1318, ptr %7, align 4
  br label %1448

1319:                                             ; preds = %1304
  %1320 = landingpad { ptr, i32 }
          cleanup
  %1321 = extractvalue { ptr, i32 } %1320, 0
  store ptr %1321, ptr %6, align 8
  %1322 = extractvalue { ptr, i32 } %1320, 1
  store i32 %1322, ptr %7, align 4
  br label %1447

1323:                                             ; preds = %1310
  call void @llvm.lifetime.start.p0(i64 4, ptr %162) #10
  %1324 = load i32, ptr %156, align 4, !tbaa !11
  %1325 = sitofp i32 %1324 to float
  %1326 = load i32, ptr %161, align 4, !tbaa !11
  %1327 = sitofp i32 %1326 to float
  %1328 = load i32, ptr %159, align 4, !tbaa !11
  %1329 = sitofp i32 %1328 to float
  %1330 = fdiv float %1327, %1329
  %1331 = fadd float %1325, %1330
  %1332 = fmul float 0x3FF921FB60000000, %1331
  store float %1332, ptr %162, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %163) #10
  %1333 = load float, ptr %162, align 4, !tbaa !13
  %1334 = invoke noundef float @_ZN3JPH3SinEf(float noundef %1333)
          to label %1335 unwind label %1375

1335:                                             ; preds = %1323
  store float %1334, ptr %163, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %164) #10
  %1336 = load float, ptr %162, align 4, !tbaa !13
  %1337 = invoke noundef float @_ZN3JPH3CosEf(float noundef %1336)
          to label %1338 unwind label %1379

1338:                                             ; preds = %1335
  store float %1337, ptr %164, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %165) #10
  %1339 = load float, ptr %163, align 4, !tbaa !13
  %1340 = load float, ptr %164, align 4, !tbaa !13
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %165, float noundef %1339, float noundef 1.000000e+00, float noundef %1340)
          to label %1341 unwind label %1383

1341:                                             ; preds = %1338
  call void @llvm.lifetime.start.p0(i64 16, ptr %166) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %167) #10
  %1342 = load float, ptr %163, align 4, !tbaa !13
  %1343 = load float, ptr %163, align 4, !tbaa !13
  %1344 = invoke noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %1343)
          to label %1345 unwind label %1387

1345:                                             ; preds = %1341
  %1346 = fneg float %1344
  %1347 = load float, ptr %164, align 4, !tbaa !13
  %1348 = invoke noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %1347)
          to label %1349 unwind label %1387

1349:                                             ; preds = %1345
  %1350 = fsub float %1346, %1348
  %1351 = load float, ptr %164, align 4, !tbaa !13
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %167, float noundef %1342, float noundef %1350, float noundef %1351)
          to label %1352 unwind label %1387

1352:                                             ; preds = %1349
  %1353 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %167)
          to label %1354 unwind label %1387

1354:                                             ; preds = %1352
  %1355 = getelementptr inbounds %"class.JPH::Vec3", ptr %166, i32 0, i32 0
  %1356 = getelementptr inbounds %union.anon, ptr %1355, i32 0, i32 0
  %1357 = getelementptr inbounds { double, double }, ptr %1356, i32 0, i32 0
  %1358 = extractvalue { double, double } %1353, 0
  store double %1358, ptr %1357, align 16
  %1359 = getelementptr inbounds { double, double }, ptr %1356, i32 0, i32 1
  %1360 = extractvalue { double, double } %1353, 1
  store double %1360, ptr %1359, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %167) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %168) #10
  invoke void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %166, ptr noundef %168)
          to label %1361 unwind label %1391

1361:                                             ; preds = %1354
  call void @llvm.lifetime.start.p0(i64 36, ptr %169) #10
  %1362 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %169, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1362, ptr align 4 %160, i64 12, i1 false), !tbaa.struct !18
  %1363 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %169, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1363, ptr align 4 %168, i64 12, i1 false), !tbaa.struct !18
  %1364 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %169, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1364, ptr align 4 %157, i64 8, i1 false), !tbaa.struct !19
  %1365 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %169, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1365, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 4 dereferenceable(36) %169)
          to label %1366 unwind label %1395

1366:                                             ; preds = %1361
  call void @llvm.lifetime.end.p0(i64 36, ptr %169) #10
  call void @llvm.lifetime.start.p0(i64 36, ptr %170) #10
  %1367 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %170, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1367, ptr align 4 %165, i64 12, i1 false), !tbaa.struct !18
  %1368 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %170, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1368, ptr align 4 %168, i64 12, i1 false), !tbaa.struct !18
  %1369 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %170, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1369, ptr align 4 %157, i64 8, i1 false), !tbaa.struct !19
  %1370 = getelementptr inbounds %"class.JPH::DebugRenderer::Vertex", ptr %170, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1370, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 4 dereferenceable(36) %170)
          to label %1371 unwind label %1399

1371:                                             ; preds = %1366
  call void @llvm.lifetime.end.p0(i64 36, ptr %170) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %168) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %166) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %165) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %164) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %163) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %162) #10
  br label %1372

1372:                                             ; preds = %1371
  %1373 = load i32, ptr %161, align 4, !tbaa !11
  %1374 = add nsw i32 %1373, 1
  store i32 %1374, ptr %161, align 4, !tbaa !11
  br label %1310, !llvm.loop !25

1375:                                             ; preds = %1323
  %1376 = landingpad { ptr, i32 }
          cleanup
  %1377 = extractvalue { ptr, i32 } %1376, 0
  store ptr %1377, ptr %6, align 8
  %1378 = extractvalue { ptr, i32 } %1376, 1
  store i32 %1378, ptr %7, align 4
  br label %1407

1379:                                             ; preds = %1335
  %1380 = landingpad { ptr, i32 }
          cleanup
  %1381 = extractvalue { ptr, i32 } %1380, 0
  store ptr %1381, ptr %6, align 8
  %1382 = extractvalue { ptr, i32 } %1380, 1
  store i32 %1382, ptr %7, align 4
  br label %1406

1383:                                             ; preds = %1338
  %1384 = landingpad { ptr, i32 }
          cleanup
  %1385 = extractvalue { ptr, i32 } %1384, 0
  store ptr %1385, ptr %6, align 8
  %1386 = extractvalue { ptr, i32 } %1384, 1
  store i32 %1386, ptr %7, align 4
  br label %1405

1387:                                             ; preds = %1352, %1349, %1345, %1341
  %1388 = landingpad { ptr, i32 }
          cleanup
  %1389 = extractvalue { ptr, i32 } %1388, 0
  store ptr %1389, ptr %6, align 8
  %1390 = extractvalue { ptr, i32 } %1388, 1
  store i32 %1390, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %167) #10
  br label %1404

1391:                                             ; preds = %1354
  %1392 = landingpad { ptr, i32 }
          cleanup
  %1393 = extractvalue { ptr, i32 } %1392, 0
  store ptr %1393, ptr %6, align 8
  %1394 = extractvalue { ptr, i32 } %1392, 1
  store i32 %1394, ptr %7, align 4
  br label %1403

1395:                                             ; preds = %1361
  %1396 = landingpad { ptr, i32 }
          cleanup
  %1397 = extractvalue { ptr, i32 } %1396, 0
  store ptr %1397, ptr %6, align 8
  %1398 = extractvalue { ptr, i32 } %1396, 1
  store i32 %1398, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %169) #10
  br label %1403

1399:                                             ; preds = %1366
  %1400 = landingpad { ptr, i32 }
          cleanup
  %1401 = extractvalue { ptr, i32 } %1400, 0
  store ptr %1401, ptr %6, align 8
  %1402 = extractvalue { ptr, i32 } %1400, 1
  store i32 %1402, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %170) #10
  br label %1403

1403:                                             ; preds = %1399, %1395, %1391
  call void @llvm.lifetime.end.p0(i64 12, ptr %168) #10
  br label %1404

1404:                                             ; preds = %1403, %1387
  call void @llvm.lifetime.end.p0(i64 16, ptr %166) #10
  br label %1405

1405:                                             ; preds = %1404, %1383
  call void @llvm.lifetime.end.p0(i64 12, ptr %165) #10
  br label %1406

1406:                                             ; preds = %1405, %1379
  call void @llvm.lifetime.end.p0(i64 4, ptr %164) #10
  br label %1407

1407:                                             ; preds = %1406, %1375
  call void @llvm.lifetime.end.p0(i64 4, ptr %163) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %162) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %161) #10
  br label %1446

1408:                                             ; preds = %1314
  call void @llvm.lifetime.start.p0(i64 4, ptr %171) #10
  store i32 0, ptr %171, align 4, !tbaa !11
  br label %1409

1409:                                             ; preds = %1426, %1408
  %1410 = load i32, ptr %171, align 4, !tbaa !11
  %1411 = load i32, ptr %159, align 4, !tbaa !11
  %1412 = icmp slt i32 %1410, %1411
  br i1 %1412, label %1414, label %1413

1413:                                             ; preds = %1409
  store i32 20, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %171) #10
  br label %1442

1414:                                             ; preds = %1409
  call void @llvm.lifetime.start.p0(i64 4, ptr %172) #10
  %1415 = load i32, ptr %158, align 4, !tbaa !11
  %1416 = load i32, ptr %171, align 4, !tbaa !11
  %1417 = mul nsw i32 2, %1416
  %1418 = add i32 %1415, %1417
  store i32 %1418, ptr %172, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 4 dereferenceable(4) %172)
          to label %1419 unwind label %1429

1419:                                             ; preds = %1414
  call void @llvm.lifetime.start.p0(i64 4, ptr %173) #10
  %1420 = load i32, ptr %172, align 4, !tbaa !11
  %1421 = add i32 %1420, 1
  store i32 %1421, ptr %173, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 4 dereferenceable(4) %173)
          to label %1422 unwind label %1433

1422:                                             ; preds = %1419
  call void @llvm.lifetime.end.p0(i64 4, ptr %173) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %174) #10
  %1423 = load i32, ptr %172, align 4, !tbaa !11
  %1424 = add i32 %1423, 3
  store i32 %1424, ptr %174, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 4 dereferenceable(4) %174)
          to label %1425 unwind label %1437

1425:                                             ; preds = %1422
  call void @llvm.lifetime.end.p0(i64 4, ptr %174) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %172) #10
  br label %1426

1426:                                             ; preds = %1425
  %1427 = load i32, ptr %171, align 4, !tbaa !11
  %1428 = add nsw i32 %1427, 1
  store i32 %1428, ptr %171, align 4, !tbaa !11
  br label %1409, !llvm.loop !26

1429:                                             ; preds = %1414
  %1430 = landingpad { ptr, i32 }
          cleanup
  %1431 = extractvalue { ptr, i32 } %1430, 0
  store ptr %1431, ptr %6, align 8
  %1432 = extractvalue { ptr, i32 } %1430, 1
  store i32 %1432, ptr %7, align 4
  br label %1441

1433:                                             ; preds = %1419
  %1434 = landingpad { ptr, i32 }
          cleanup
  %1435 = extractvalue { ptr, i32 } %1434, 0
  store ptr %1435, ptr %6, align 8
  %1436 = extractvalue { ptr, i32 } %1434, 1
  store i32 %1436, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %173) #10
  br label %1441

1437:                                             ; preds = %1422
  %1438 = landingpad { ptr, i32 }
          cleanup
  %1439 = extractvalue { ptr, i32 } %1438, 0
  store ptr %1439, ptr %6, align 8
  %1440 = extractvalue { ptr, i32 } %1438, 1
  store i32 %1440, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %174) #10
  br label %1441

1441:                                             ; preds = %1437, %1433, %1429
  call void @llvm.lifetime.end.p0(i64 4, ptr %172) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %171) #10
  br label %1446

1442:                                             ; preds = %1413
  call void @llvm.lifetime.end.p0(i64 12, ptr %160) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %159) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %158) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %157) #10
  br label %1443

1443:                                             ; preds = %1442
  %1444 = load i32, ptr %156, align 4, !tbaa !11
  %1445 = add nsw i32 %1444, 1
  store i32 %1445, ptr %156, align 4, !tbaa !11
  br label %1278, !llvm.loop !27

1446:                                             ; preds = %1441, %1407
  call void @llvm.lifetime.end.p0(i64 12, ptr %160) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %159) #10
  br label %1447

1447:                                             ; preds = %1446, %1319
  call void @llvm.lifetime.end.p0(i64 4, ptr %158) #10
  br label %1448

1448:                                             ; preds = %1447, %1315
  call void @llvm.lifetime.end.p0(i64 8, ptr %157) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %156) #10
  br label %1483

1449:                                             ; preds = %1281
  %1450 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 6
  %1451 = invoke noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1450)
          to label %1452 unwind label %1470

1452:                                             ; preds = %1449
  %1453 = getelementptr inbounds %"class.JPH::DebugRenderer::Geometry", ptr %1451, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %175) #10
  %1454 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %175, i32 0, i32 0
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %1454, ptr noundef nonnull align 8 dereferenceable(320) %177, ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 8 dereferenceable(24) %155)
          to label %1455 unwind label %1474

1455:                                             ; preds = %1452
  %1456 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %175, i32 0, i32 1
  %1457 = load float, ptr %71, align 4, !tbaa !13
  store float %1457, ptr %1456, align 8, !tbaa !15
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %1453, ptr noundef nonnull align 8 dereferenceable(12) %175)
          to label %1458 unwind label %1478

1458:                                             ; preds = %1455
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %175) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %175) #10
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %155) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %155) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %154) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %154) #10
  %1459 = getelementptr inbounds %"class.JPH::DebugRenderer", ptr %177, i32 0, i32 7
  %1460 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1459)
  %1461 = getelementptr inbounds %"class.JPH::DebugRenderer::Geometry", ptr %1460, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %176) #10
  %1462 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %176, i32 0, i32 0
  %1463 = load i32, ptr %69, align 4, !tbaa !11
  call void @_ZN3JPH13DebugRenderer14CreateCylinderEffffi(ptr dead_on_unwind writable sret(%"class.JPH::Ref.17") align 8 %1462, ptr noundef nonnull align 8 dereferenceable(320) %177, float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, i32 noundef %1463)
  %1464 = getelementptr inbounds %"class.JPH::DebugRenderer::LOD", ptr %176, i32 0, i32 1
  %1465 = load float, ptr %71, align 4, !tbaa !13
  store float %1465, ptr %1464, align 8, !tbaa !15
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %1461, ptr noundef nonnull align 8 dereferenceable(12) %176)
          to label %1466 unwind label %1484

1466:                                             ; preds = %1458
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %176) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %176) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #10
  br label %1467

1467:                                             ; preds = %1466
  %1468 = load i32, ptr %69, align 4, !tbaa !11
  %1469 = add nsw i32 %1468, -1
  store i32 %1469, ptr %69, align 4, !tbaa !11
  br label %402, !llvm.loop !28

1470:                                             ; preds = %1449
  %1471 = landingpad { ptr, i32 }
          cleanup
  %1472 = extractvalue { ptr, i32 } %1471, 0
  store ptr %1472, ptr %6, align 8
  %1473 = extractvalue { ptr, i32 } %1471, 1
  store i32 %1473, ptr %7, align 4
  br label %1483

1474:                                             ; preds = %1452
  %1475 = landingpad { ptr, i32 }
          cleanup
  %1476 = extractvalue { ptr, i32 } %1475, 0
  store ptr %1476, ptr %6, align 8
  %1477 = extractvalue { ptr, i32 } %1475, 1
  store i32 %1477, ptr %7, align 4
  br label %1482

1478:                                             ; preds = %1455
  %1479 = landingpad { ptr, i32 }
          cleanup
  %1480 = extractvalue { ptr, i32 } %1479, 0
  store ptr %1480, ptr %6, align 8
  %1481 = extractvalue { ptr, i32 } %1479, 1
  store i32 %1481, ptr %7, align 4
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %175) #10
  br label %1482

1482:                                             ; preds = %1478, %1474
  call void @llvm.lifetime.end.p0(i64 16, ptr %175) #10
  br label %1483

1483:                                             ; preds = %1482, %1470, %1448
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %155) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %155) #10
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %154) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %154) #10
  br label %1488

1484:                                             ; preds = %1458
  %1485 = landingpad { ptr, i32 }
          cleanup
  %1486 = extractvalue { ptr, i32 } %1485, 0
  store ptr %1486, ptr %6, align 8
  %1487 = extractvalue { ptr, i32 } %1485, 1
  store i32 %1487, ptr %7, align 4
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %176) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %176) #10
  br label %1488

1488:                                             ; preds = %1484, %1483, %1295, %1113, %1043, %953
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #10
  br label %1490

1489:                                             ; preds = %405
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #10
  ret void

1490:                                             ; preds = %1488, %499, %492, %485, %478, %471, %464
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #10
  br label %1491

1491:                                             ; preds = %1490, %457
  %1492 = load ptr, ptr %6, align 8
  %1493 = load i32, ptr %7, align 4
  %1494 = insertvalue { ptr, i32 } poison, ptr %1492, 0
  %1495 = insertvalue { ptr, i32 } %1494, i32 %1493, 1
  resume { ptr, i32 } %1495
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32), double, double, double, double) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_3RefINS_16RefTargetVirtualEEERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 16 dereferenceable(32)) unnamed_addr #7 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) #6 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer28CreateTriangleBatchForConvexESt8functionIFNS_4Vec3ES2_EEiPNS_5AABoxE(ptr dead_on_unwind noalias writable sret(%"class.JPH::Ref.17") align 8, ptr noundef nonnull align 8 dereferenceable(320), ptr noundef, i32 noundef, ptr noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef) #8

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 16, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"_ZTSN3JPH13DebugRenderer3LODE", !17, i64 0, !14, i64 8}
!17 = !{!"_ZTSN3JPH3RefINS_16RefTargetVirtualEEE", !6, i64 0}
!18 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13}
!19 = !{i64 0, i64 4, !13, i64 4, i64 4, !13}
!20 = !{i64 0, i64 4, !10}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !22}
!28 = distinct !{!28, !22}


; 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::Color" = type { %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.JPH::Ref.17" = type { ptr }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Array.14" = type { i64, i64, ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%class.anon = type { i8 }
%"class.JPH::DebugRenderer::LOD" = type <{ %"class.JPH::Ref.17", float, [4 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.JPH::Float2" = type { float, float }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::DebugRenderer::Vertex" = type { %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float2", %"class.JPH::Color" }

@_ZN3JPH5Color6sWhiteE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPHL20sLODDistanceForLevelE = external hidden local_unnamed_addr constant [4 x float], align 16

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double, double, double, double, double, double, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, i32 noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer14CreateCylinderEffffi(ptr dead_on_unwind noalias writable sret(%"class.JPH::Ref.17") align 8, ptr noundef nonnull align 8 dereferenceable(320), float noundef, float noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH3SinEf(float noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH3CosEf(float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind noalias writable sret(%"class.JPH::Ref.17") align 8, ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double, double, double, double, double, double, double, double) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH13DebugRenderer10InitializeEv(ptr noundef nonnull align 8 dereferenceable(320) %0) local_unnamed_addr #7 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::Array", align 8
  %3 = alloca %"class.JPH::Array.14", align 8
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Ref.17", align 8
  %13 = alloca %"class.JPH::AABox", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %class.anon, align 1
  %17 = alloca %"class.JPH::AABox", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::AABox", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::AABox", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::AABox", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::AABox", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::AABox", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %36 = alloca %"class.std::function", align 8
  %37 = alloca %"class.JPH::Array", align 8
  %38 = alloca %"class.JPH::Array.14", align 8
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Float2", align 4
  %42 = alloca %"class.std::function", align 8
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Float2", align 4
  %45 = alloca %"class.std::function", align 8
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Float2", align 4
  %49 = alloca %"class.std::function", align 8
  %50 = alloca %"class.JPH::Vec3", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Float2", align 4
  %54 = alloca %"class.std::function", align 8
  %55 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %56 = alloca %"class.JPH::Array", align 8
  %57 = alloca %"class.JPH::Array.14", align 8
  %58 = alloca %"class.JPH::Float2", align 4
  %59 = alloca %"class.std::function", align 8
  %60 = alloca %"class.JPH::Vec3", align 16
  %61 = alloca %"class.JPH::Float2", align 4
  %62 = alloca %"class.std::function", align 8
  %63 = alloca %"class.JPH::Vec3", align 16
  %64 = alloca %"class.JPH::Float2", align 4
  %65 = alloca %"class.std::function", align 8
  %66 = alloca %"class.JPH::Vec3", align 16
  %67 = alloca %"class.JPH::Vec3", align 16
  %68 = alloca %"class.JPH::Float2", align 4
  %69 = alloca %"class.std::function", align 8
  %70 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %71 = alloca %"class.JPH::Array", align 8
  %72 = alloca %"class.JPH::Array.14", align 8
  %73 = alloca %"class.JPH::Float2", align 8
  %74 = alloca %"class.JPH::Float3", align 4
  %75 = alloca %"class.JPH::Float3", align 4
  %76 = alloca %"class.JPH::Float3", align 4
  %77 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %78 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %79 = alloca i32, align 4
  %80 = alloca i32, align 4
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca i32, align 4
  %84 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %85 = alloca %"class.JPH::Array", align 8
  %86 = alloca %"class.JPH::Array.14", align 8
  %87 = alloca %"class.JPH::Float2", align 8
  %88 = alloca %"class.JPH::Float3", align 4
  %89 = alloca %"class.JPH::Vec3", align 16
  %90 = alloca %"class.JPH::Vec3", align 16
  %91 = alloca %"class.JPH::Float3", align 4
  %92 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %93 = alloca %"class.JPH::DebugRenderer::Vertex", align 4
  %94 = alloca i32, align 4
  %95 = alloca i32, align 4
  %96 = alloca i32, align 4
  %97 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  %98 = alloca %"class.JPH::DebugRenderer::LOD", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00)
          to label %99 unwind label %232

99:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00)
          to label %100 unwind label %234

100:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %101 unwind label %236

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %102 unwind label %238

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %103 unwind label %240

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %104 unwind label %242

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %105 unwind label %244

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %106 unwind label %246

106:                                              ; preds = %105
  %.sroa.0163.0.copyload = load double, ptr %4, align 16
  %.sroa.2164.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.2164.0.copyload = load double, ptr %.sroa.2164.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0161.0.copyload = load double, ptr %7, align 16
  %.sroa.2162.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.2162.0.copyload = load double, ptr %.sroa.2162.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0159.0.copyload = load double, ptr %6, align 16
  %.sroa.2160.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.2160.0.copyload = load double, ptr %.sroa.2160.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0157.0.copyload = load double, ptr %5, align 16
  %.sroa.2158.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.2158.0.copyload = load double, ptr %.sroa.2158.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2, double %.sroa.0163.0.copyload, double %.sroa.2164.0.copyload, double %.sroa.0161.0.copyload, double %.sroa.2162.0.copyload, double %.sroa.0159.0.copyload, double %.sroa.2160.0.copyload, double %.sroa.0157.0.copyload, double %.sroa.2158.0.copyload)
          to label %107 unwind label %246

107:                                              ; preds = %106
  %.sroa.0155.0.copyload = load double, ptr %8, align 16
  %.sroa.2156.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.2156.0.copyload = load double, ptr %.sroa.2156.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0153.0.copyload = load double, ptr %9, align 16
  %.sroa.2154.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %.sroa.2154.0.copyload = load double, ptr %.sroa.2154.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0151.0.copyload = load double, ptr %10, align 16
  %.sroa.2152.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %.sroa.2152.0.copyload = load double, ptr %.sroa.2152.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0149.0.copyload = load double, ptr %11, align 16
  %.sroa.2150.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.2150.0.copyload = load double, ptr %.sroa.2150.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2, double %.sroa.0155.0.copyload, double %.sroa.2156.0.copyload, double %.sroa.0153.0.copyload, double %.sroa.2154.0.copyload, double %.sroa.0151.0.copyload, double %.sroa.2152.0.copyload, double %.sroa.0149.0.copyload, double %.sroa.2150.0.copyload)
          to label %108 unwind label %246

108:                                              ; preds = %107
  %.sroa.0147.0.copyload = load double, ptr %4, align 16
  %.sroa.2148.0.copyload = load double, ptr %.sroa.2164.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0145.0.copyload = load double, ptr %8, align 16
  %.sroa.2146.0.copyload = load double, ptr %.sroa.2156.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0143.0.copyload = load double, ptr %11, align 16
  %.sroa.2144.0.copyload = load double, ptr %.sroa.2150.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0141.0.copyload = load double, ptr %7, align 16
  %.sroa.2142.0.copyload = load double, ptr %.sroa.2162.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2, double %.sroa.0147.0.copyload, double %.sroa.2148.0.copyload, double %.sroa.0145.0.copyload, double %.sroa.2146.0.copyload, double %.sroa.0143.0.copyload, double %.sroa.2144.0.copyload, double %.sroa.0141.0.copyload, double %.sroa.2142.0.copyload)
          to label %109 unwind label %246

109:                                              ; preds = %108
  %.sroa.0139.0.copyload = load double, ptr %6, align 16
  %.sroa.2140.0.copyload = load double, ptr %.sroa.2160.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0137.0.copyload = load double, ptr %10, align 16
  %.sroa.2138.0.copyload = load double, ptr %.sroa.2152.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0135.0.copyload = load double, ptr %9, align 16
  %.sroa.2136.0.copyload = load double, ptr %.sroa.2154.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0133.0.copyload = load double, ptr %5, align 16
  %.sroa.2134.0.copyload = load double, ptr %.sroa.2158.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2, double %.sroa.0139.0.copyload, double %.sroa.2140.0.copyload, double %.sroa.0137.0.copyload, double %.sroa.2138.0.copyload, double %.sroa.0135.0.copyload, double %.sroa.2136.0.copyload, double %.sroa.0133.0.copyload, double %.sroa.2134.0.copyload)
          to label %110 unwind label %246

110:                                              ; preds = %109
  %.sroa.0131.0.copyload = load double, ptr %7, align 16
  %.sroa.2132.0.copyload = load double, ptr %.sroa.2162.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0129.0.copyload = load double, ptr %11, align 16
  %.sroa.2130.0.copyload = load double, ptr %.sroa.2150.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0127.0.copyload = load double, ptr %10, align 16
  %.sroa.2128.0.copyload = load double, ptr %.sroa.2152.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0125.0.copyload = load double, ptr %6, align 16
  %.sroa.2126.0.copyload = load double, ptr %.sroa.2160.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2, double %.sroa.0131.0.copyload, double %.sroa.2132.0.copyload, double %.sroa.0129.0.copyload, double %.sroa.2130.0.copyload, double %.sroa.0127.0.copyload, double %.sroa.2128.0.copyload, double %.sroa.0125.0.copyload, double %.sroa.2126.0.copyload)
          to label %111 unwind label %246

111:                                              ; preds = %110
  %.sroa.0123.0.copyload = load double, ptr %4, align 16
  %.sroa.2124.0.copyload = load double, ptr %.sroa.2164.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0121.0.copyload = load double, ptr %5, align 16
  %.sroa.2122.0.copyload = load double, ptr %.sroa.2158.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0119.0.copyload = load double, ptr %9, align 16
  %.sroa.2120.0.copyload = load double, ptr %.sroa.2154.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0117.0.copyload = load double, ptr %8, align 16
  %.sroa.2118.0.copyload = load double, ptr %.sroa.2156.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN3JPH13DebugRenderer10CreateQuadERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_SA_(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2, double %.sroa.0123.0.copyload, double %.sroa.2124.0.copyload, double %.sroa.0121.0.copyload, double %.sroa.2122.0.copyload, double %.sroa.0119.0.copyload, double %.sroa.2120.0.copyload, double %.sroa.0117.0.copyload, double %.sroa.2118.0.copyload)
          to label %112 unwind label %246

112:                                              ; preds = %111
  %113 = invoke noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
          to label %114 unwind label %246

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %12, ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %115 unwind label %.thread

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %116 unwind label %.thread295

116:                                              ; preds = %115
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %117 unwind label %.thread295

117:                                              ; preds = %116
  %118 = load double, ptr %14, align 16
  %119 = getelementptr inbounds i8, ptr %14, i64 8
  %120 = load double, ptr %119, align 8
  %121 = load double, ptr %15, align 16
  %122 = getelementptr inbounds i8, ptr %15, i64 8
  %123 = load double, ptr %122, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %13, double %118, double %120, double %121, double %123)
  invoke void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_3RefINS_16RefTargetVirtualEEERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %113, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 16 dereferenceable(32) %13)
          to label %124 unwind label %.thread295

124:                                              ; preds = %117
  %125 = getelementptr inbounds i8, ptr %0, i64 8
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull %113)
          to label %127 unwind label %249

127:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @_ZN3JPH3RefINS_16RefTargetVirtualEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #11
  %128 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %129 unwind label %260

129:                                              ; preds = %127
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %130 unwind label %260

130:                                              ; preds = %129
  %131 = load double, ptr %18, align 16
  %132 = getelementptr inbounds i8, ptr %18, i64 8
  %133 = load double, ptr %132, align 8
  %134 = load double, ptr %19, align 16
  %135 = getelementptr inbounds i8, ptr %19, i64 8
  %136 = load double, ptr %135, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %17, double %131, double %133, double %134, double %136)
  call void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %128, ptr noundef nonnull align 16 dereferenceable(32) %17)
  %137 = getelementptr inbounds i8, ptr %0, i64 16
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull %128)
          to label %139 unwind label %259

139:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  %140 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %141 unwind label %262

141:                                              ; preds = %139
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %22, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %142 unwind label %262

142:                                              ; preds = %141
  %143 = load double, ptr %21, align 16
  %144 = getelementptr inbounds i8, ptr %21, i64 8
  %145 = load double, ptr %144, align 8
  %146 = load double, ptr %22, align 16
  %147 = getelementptr inbounds i8, ptr %22, i64 8
  %148 = load double, ptr %147, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %20, double %143, double %145, double %146, double %148)
  call void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %140, ptr noundef nonnull align 16 dereferenceable(32) %20)
  %149 = getelementptr inbounds i8, ptr %0, i64 40
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull %140)
          to label %151 unwind label %261

151:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #11
  %152 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
          to label %153 unwind label %264

153:                                              ; preds = %151
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %154 unwind label %264

154:                                              ; preds = %153
  %155 = load double, ptr %24, align 16
  %156 = getelementptr inbounds i8, ptr %24, i64 8
  %157 = load double, ptr %156, align 8
  %158 = load double, ptr %25, align 16
  %159 = getelementptr inbounds i8, ptr %25, i64 8
  %160 = load double, ptr %159, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %23, double %155, double %157, double %158, double %160)
  call void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %152, ptr noundef nonnull align 16 dereferenceable(32) %23)
  %161 = getelementptr inbounds i8, ptr %0, i64 24
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull %152)
          to label %163 unwind label %263

163:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #11
  %164 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %165 unwind label %266

165:                                              ; preds = %163
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %166 unwind label %266

166:                                              ; preds = %165
  %167 = load double, ptr %27, align 16
  %168 = getelementptr inbounds i8, ptr %27, i64 8
  %169 = load double, ptr %168, align 8
  %170 = load double, ptr %28, align 16
  %171 = getelementptr inbounds i8, ptr %28, i64 8
  %172 = load double, ptr %171, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %26, double %167, double %169, double %170, double %172)
  call void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %164, ptr noundef nonnull align 16 dereferenceable(32) %26)
  %173 = getelementptr inbounds i8, ptr %0, i64 32
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull %164)
          to label %175 unwind label %265

175:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #11
  %176 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
          to label %177 unwind label %268

177:                                              ; preds = %175
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %31, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %178 unwind label %268

178:                                              ; preds = %177
  %179 = load double, ptr %30, align 16
  %180 = getelementptr inbounds i8, ptr %30, i64 8
  %181 = load double, ptr %180, align 8
  %182 = load double, ptr %31, align 16
  %183 = getelementptr inbounds i8, ptr %31, i64 8
  %184 = load double, ptr %183, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %29, double %179, double %181, double %182, double %184)
  call void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %176, ptr noundef nonnull align 16 dereferenceable(32) %29)
  %185 = getelementptr inbounds i8, ptr %0, i64 48
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull %176)
          to label %187 unwind label %267

187:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #11
  %188 = call noundef ptr @_ZN3JPH13DebugRenderer8GeometrynwEm(i64 noundef 64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #11
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %189 unwind label %270

189:                                              ; preds = %187
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %190 unwind label %270

190:                                              ; preds = %189
  %191 = load double, ptr %33, align 16
  %192 = getelementptr inbounds i8, ptr %33, i64 8
  %193 = load double, ptr %192, align 8
  %194 = load double, ptr %34, align 16
  %195 = getelementptr inbounds i8, ptr %34, i64 8
  %196 = load double, ptr %195, align 8
  call void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32) %32, double %191, double %193, double %194, double %196)
  call void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64) %188, ptr noundef nonnull align 16 dereferenceable(32) %32)
  %197 = getelementptr inbounds i8, ptr %0, i64 56
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH3RefINS_13DebugRenderer8GeometryEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull %188)
          to label %199 unwind label %269

199:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #11
  %200 = getelementptr inbounds i8, ptr %35, i64 8
  %201 = getelementptr inbounds i8, ptr %39, i64 8
  %202 = getelementptr inbounds i8, ptr %40, i64 8
  %203 = getelementptr inbounds i8, ptr %43, i64 8
  %204 = getelementptr inbounds i8, ptr %46, i64 8
  %205 = getelementptr inbounds i8, ptr %47, i64 8
  %206 = getelementptr inbounds i8, ptr %50, i64 8
  %207 = getelementptr inbounds i8, ptr %51, i64 8
  %208 = getelementptr inbounds i8, ptr %52, i64 8
  %209 = getelementptr inbounds i8, ptr %55, i64 8
  %210 = getelementptr inbounds i8, ptr %60, i64 8
  %211 = getelementptr inbounds i8, ptr %63, i64 8
  %212 = getelementptr inbounds i8, ptr %66, i64 8
  %213 = getelementptr inbounds i8, ptr %67, i64 8
  %214 = getelementptr inbounds i8, ptr %70, i64 8
  %215 = getelementptr inbounds i8, ptr %77, i64 12
  %216 = getelementptr inbounds i8, ptr %77, i64 24
  %217 = getelementptr inbounds i8, ptr %77, i64 32
  %218 = getelementptr inbounds i8, ptr %78, i64 12
  %219 = getelementptr inbounds i8, ptr %78, i64 24
  %220 = getelementptr inbounds i8, ptr %78, i64 32
  %221 = getelementptr inbounds i8, ptr %84, i64 8
  %222 = getelementptr inbounds i8, ptr %89, i64 8
  %223 = getelementptr inbounds i8, ptr %92, i64 12
  %224 = getelementptr inbounds i8, ptr %92, i64 24
  %225 = getelementptr inbounds i8, ptr %92, i64 32
  %226 = getelementptr inbounds i8, ptr %93, i64 12
  %227 = getelementptr inbounds i8, ptr %93, i64 24
  %228 = getelementptr inbounds i8, ptr %93, i64 32
  %229 = getelementptr inbounds i8, ptr %97, i64 8
  %230 = getelementptr inbounds i8, ptr %98, i64 8
  br label %271

231:                                              ; preds = %661
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #11
  ret void

232:                                              ; preds = %1
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %258

234:                                              ; preds = %99
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %257

236:                                              ; preds = %100
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %256

238:                                              ; preds = %101
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %255

240:                                              ; preds = %102
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %254

242:                                              ; preds = %103
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %253

244:                                              ; preds = %104
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %252

246:                                              ; preds = %112, %111, %110, %109, %108, %107, %106, %105
  %247 = landingpad { ptr, i32 }
          cleanup
  br label %251

.thread:                                          ; preds = %114
  %248 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %250

.thread295:                                       ; preds = %117, %116, %115
  %lpad.thr_comm = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @_ZN3JPH3RefINS_16RefTargetVirtualEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %250

249:                                              ; preds = %124
  %lpad.thr_comm.split-lp = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @_ZN3JPH3RefINS_16RefTargetVirtualEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %251

250:                                              ; preds = %.thread295, %.thread
  %.pn294 = phi { ptr, i32 } [ %248, %.thread ], [ %lpad.thr_comm, %.thread295 ]
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %113) #11
  br label %251

251:                                              ; preds = %249, %250, %246
  %.pn.pn = phi { ptr, i32 } [ %.pn294, %250 ], [ %lpad.thr_comm.split-lp, %249 ], [ %247, %246 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #11
  br label %252

252:                                              ; preds = %251, %244
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %251 ], [ %245, %244 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #11
  br label %253

253:                                              ; preds = %252, %242
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %252 ], [ %243, %242 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  br label %254

254:                                              ; preds = %253, %240
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %253 ], [ %241, %240 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #11
  br label %255

255:                                              ; preds = %254, %238
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %254 ], [ %239, %238 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #11
  br label %256

256:                                              ; preds = %255, %236
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %255 ], [ %237, %236 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  br label %257

257:                                              ; preds = %256, %234
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %256 ], [ %235, %234 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #11
  br label %258

258:                                              ; preds = %257, %232
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %257 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #11
  br label %672

259:                                              ; preds = %130
  %lpad.thr_comm.split-lp301 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  br label %671

260:                                              ; preds = %129, %127
  %lpad.thr_comm300 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %128) #11
  br label %671

261:                                              ; preds = %142
  %lpad.thr_comm.split-lp309 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #11
  br label %671

262:                                              ; preds = %141, %139
  %lpad.thr_comm308 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #11
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %140) #11
  br label %671

263:                                              ; preds = %154
  %lpad.thr_comm.split-lp317 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #11
  br label %671

264:                                              ; preds = %153, %151
  %lpad.thr_comm316 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #11
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %152) #11
  br label %671

265:                                              ; preds = %166
  %lpad.thr_comm.split-lp325 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #11
  br label %671

266:                                              ; preds = %165, %163
  %lpad.thr_comm324 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #11
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %164) #11
  br label %671

267:                                              ; preds = %178
  %lpad.thr_comm.split-lp333 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #11
  br label %671

268:                                              ; preds = %177, %175
  %lpad.thr_comm332 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #11
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %176) #11
  br label %671

269:                                              ; preds = %190
  %lpad.thr_comm.split-lp341 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #11
  br label %671

270:                                              ; preds = %189, %187
  %lpad.thr_comm340 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #11
  call void @_ZN3JPH13DebugRenderer8GeometrydlEPv(ptr noundef %188) #11
  br label %671

271:                                              ; preds = %199, %661
  %indvars.iv = phi i64 [ 4, %199 ], [ %indvars.iv.next, %661 ]
  %272 = sub nuw nsw i64 4, %indvars.iv
  %273 = getelementptr inbounds [4 x float], ptr @_ZN3JPHL20sLODDistanceForLevelE, i64 0, i64 %272
  %274 = load float, ptr %273, align 4, !tbaa !8
  %275 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %137)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #11
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  %276 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void @_ZN3JPH13DebugRenderer28CreateTriangleBatchForConvexESt8functionIFNS_4Vec3ES2_EEiPNS_5AABoxE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %35, ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull %36, i32 noundef %276, ptr noundef null)
          to label %277 unwind label %444

277:                                              ; preds = %271
  %278 = getelementptr inbounds i8, ptr %275, i64 8
  store float %274, ptr %200, align 8, !tbaa !10
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %278, ptr noundef nonnull align 8 dereferenceable(12) %35)
          to label %279 unwind label %446

279:                                              ; preds = %277
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %35) #11
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #11
  %280 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %281 unwind label %449

281:                                              ; preds = %279
  %282 = extractvalue { double, double } %280, 0
  store double %282, ptr %39, align 16
  %283 = extractvalue { double, double } %280, 1
  store double %283, ptr %201, align 8
  %284 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %39)
          to label %285 unwind label %449

285:                                              ; preds = %281
  %286 = extractvalue { double, double } %284, 0
  %287 = extractvalue { double, double } %284, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #11
  %288 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %289 unwind label %451

289:                                              ; preds = %285
  %290 = extractvalue { double, double } %288, 0
  store double %290, ptr %40, align 16
  %291 = extractvalue { double, double } %288, 1
  store double %291, ptr %202, align 8
  %292 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %40)
          to label %293 unwind label %451

293:                                              ; preds = %289
  %294 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %295 unwind label %451

295:                                              ; preds = %293
  %296 = extractvalue { double, double } %292, 1
  %297 = extractvalue { double, double } %292, 0
  %298 = extractvalue { double, double } %294, 0
  %299 = extractvalue { double, double } %294, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 2.500000e-01, float noundef 2.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %37, double %286, double %287, double %297, double %296, double %298, double %299, ptr noundef nonnull align 4 dereferenceable(8) %41, ptr noundef nonnull %42, i32 noundef %276)
          to label %300 unwind label %453

300:                                              ; preds = %295
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #11
  %301 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %302 unwind label %457

302:                                              ; preds = %300
  %303 = extractvalue { double, double } %301, 0
  store double %303, ptr %43, align 16
  %304 = extractvalue { double, double } %301, 1
  store double %304, ptr %203, align 8
  %305 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %43)
          to label %306 unwind label %457

306:                                              ; preds = %302
  %307 = extractvalue { double, double } %305, 0
  %308 = extractvalue { double, double } %305, 1
  %309 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %310 unwind label %457

310:                                              ; preds = %306
  %311 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %312 unwind label %457

312:                                              ; preds = %310
  %313 = extractvalue { double, double } %309, 1
  %314 = extractvalue { double, double } %309, 0
  %315 = extractvalue { double, double } %311, 0
  %316 = extractvalue { double, double } %311, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef 2.500000e-01, float noundef 7.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %37, double %307, double %308, double %314, double %313, double %315, double %316, ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull %45, i32 noundef %276)
          to label %317 unwind label %459

317:                                              ; preds = %312
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #11
  %318 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %319 unwind label %462

319:                                              ; preds = %317
  %320 = extractvalue { double, double } %318, 0
  %321 = extractvalue { double, double } %318, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #11
  %322 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %323 unwind label %464

323:                                              ; preds = %319
  %324 = extractvalue { double, double } %322, 0
  store double %324, ptr %46, align 16
  %325 = extractvalue { double, double } %322, 1
  store double %325, ptr %204, align 8
  %326 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %46)
          to label %327 unwind label %464

327:                                              ; preds = %323
  %328 = extractvalue { double, double } %326, 0
  %329 = extractvalue { double, double } %326, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #11
  %330 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %331 unwind label %466

331:                                              ; preds = %327
  %332 = extractvalue { double, double } %330, 0
  store double %332, ptr %47, align 16
  %333 = extractvalue { double, double } %330, 1
  store double %333, ptr %205, align 8
  %334 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %47)
          to label %335 unwind label %466

335:                                              ; preds = %331
  %336 = extractvalue { double, double } %334, 0
  %337 = extractvalue { double, double } %334, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef 2.500000e-01, float noundef 2.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %37, double %320, double %321, double %328, double %329, double %336, double %337, ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull %49, i32 noundef %276)
          to label %338 unwind label %468

338:                                              ; preds = %335
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %50) #11
  %339 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %340 unwind label %472

340:                                              ; preds = %338
  %341 = extractvalue { double, double } %339, 0
  store double %341, ptr %50, align 16
  %342 = extractvalue { double, double } %339, 1
  store double %342, ptr %206, align 8
  %343 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %50)
          to label %344 unwind label %472

344:                                              ; preds = %340
  %345 = extractvalue { double, double } %343, 0
  %346 = extractvalue { double, double } %343, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %51) #11
  %347 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %348 unwind label %474

348:                                              ; preds = %344
  %349 = extractvalue { double, double } %347, 0
  store double %349, ptr %51, align 16
  %350 = extractvalue { double, double } %347, 1
  store double %350, ptr %207, align 8
  %351 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %51)
          to label %352 unwind label %474

352:                                              ; preds = %348
  %353 = extractvalue { double, double } %351, 0
  %354 = extractvalue { double, double } %351, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %52) #11
  %355 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %356 unwind label %476

356:                                              ; preds = %352
  %357 = extractvalue { double, double } %355, 0
  store double %357, ptr %52, align 16
  %358 = extractvalue { double, double } %355, 1
  store double %358, ptr %208, align 8
  %359 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %52)
          to label %360 unwind label %476

360:                                              ; preds = %356
  %361 = extractvalue { double, double } %359, 0
  %362 = extractvalue { double, double } %359, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %53) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %53, float noundef 2.500000e-01, float noundef 7.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %37, double %345, double %346, double %353, double %354, double %361, double %362, ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull %54, i32 noundef %276)
          to label %363 unwind label %478

363:                                              ; preds = %360
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %52) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %51) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #11
  %364 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %149)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %55) #11
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %55, ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %365 unwind label %483

365:                                              ; preds = %363
  %366 = getelementptr inbounds i8, ptr %364, i64 8
  store float %274, ptr %209, align 8, !tbaa !10
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %366, ptr noundef nonnull align 8 dereferenceable(12) %55)
          to label %367 unwind label %485

367:                                              ; preds = %365
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %55) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %56) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %57) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #11
  %368 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %369 unwind label %489

369:                                              ; preds = %367
  %370 = extractvalue { double, double } %368, 0
  %371 = extractvalue { double, double } %368, 1
  %372 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %373 unwind label %489

373:                                              ; preds = %369
  %374 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %375 unwind label %489

375:                                              ; preds = %373
  %376 = extractvalue { double, double } %372, 1
  %377 = extractvalue { double, double } %372, 0
  %378 = extractvalue { double, double } %374, 0
  %379 = extractvalue { double, double } %374, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %58) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef 2.500000e-01, float noundef 7.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %56, double %370, double %371, double %377, double %376, double %378, double %379, ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull %59, i32 noundef %276)
          to label %380 unwind label %491

380:                                              ; preds = %375
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #11
  %381 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %382 unwind label %489

382:                                              ; preds = %380
  %383 = extractvalue { double, double } %381, 0
  %384 = extractvalue { double, double } %381, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %60) #11
  %385 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %386 unwind label %493

386:                                              ; preds = %382
  %387 = extractvalue { double, double } %385, 0
  store double %387, ptr %60, align 16
  %388 = extractvalue { double, double } %385, 1
  store double %388, ptr %210, align 8
  %389 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %60)
          to label %390 unwind label %493

390:                                              ; preds = %386
  %391 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %392 unwind label %493

392:                                              ; preds = %390
  %393 = extractvalue { double, double } %389, 1
  %394 = extractvalue { double, double } %389, 0
  %395 = extractvalue { double, double } %391, 0
  %396 = extractvalue { double, double } %391, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %61) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %61, float noundef 2.500000e-01, float noundef 2.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %56, double %383, double %384, double %394, double %393, double %395, double %396, ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull %62, i32 noundef %276)
          to label %397 unwind label %495

397:                                              ; preds = %392
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %60) #11
  %398 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %399 unwind label %489

399:                                              ; preds = %397
  %400 = extractvalue { double, double } %398, 0
  %401 = extractvalue { double, double } %398, 1
  %402 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %403 unwind label %489

403:                                              ; preds = %399
  %404 = extractvalue { double, double } %402, 0
  %405 = extractvalue { double, double } %402, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %63) #11
  %406 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %407 unwind label %498

407:                                              ; preds = %403
  %408 = extractvalue { double, double } %406, 0
  store double %408, ptr %63, align 16
  %409 = extractvalue { double, double } %406, 1
  store double %409, ptr %211, align 8
  %410 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %63)
          to label %411 unwind label %498

411:                                              ; preds = %407
  %412 = extractvalue { double, double } %410, 0
  %413 = extractvalue { double, double } %410, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %64) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %64, float noundef 2.500000e-01, float noundef 2.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %56, double %400, double %401, double %404, double %405, double %412, double %413, ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull %65, i32 noundef %276)
          to label %414 unwind label %500

414:                                              ; preds = %411
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %64) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %63) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %66) #11
  %415 = invoke { double, double } @_ZN3JPH4Vec36sAxisXEv()
          to label %416 unwind label %503

416:                                              ; preds = %414
  %417 = extractvalue { double, double } %415, 0
  store double %417, ptr %66, align 16
  %418 = extractvalue { double, double } %415, 1
  store double %418, ptr %212, align 8
  %419 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %66)
          to label %420 unwind label %503

420:                                              ; preds = %416
  %421 = extractvalue { double, double } %419, 0
  %422 = extractvalue { double, double } %419, 1
  %423 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %424 unwind label %503

424:                                              ; preds = %420
  %425 = extractvalue { double, double } %423, 0
  %426 = extractvalue { double, double } %423, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %67) #11
  %427 = invoke { double, double } @_ZN3JPH4Vec36sAxisZEv()
          to label %428 unwind label %505

428:                                              ; preds = %424
  %429 = extractvalue { double, double } %427, 0
  store double %429, ptr %67, align 16
  %430 = extractvalue { double, double } %427, 1
  store double %430, ptr %213, align 8
  %431 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %67)
          to label %432 unwind label %505

432:                                              ; preds = %428
  %433 = extractvalue { double, double } %431, 0
  %434 = extractvalue { double, double } %431, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %68) #11
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %68, float noundef 2.500000e-01, float noundef 7.500000e-01)
  call void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZN3JPH13DebugRenderer15Create8thSphereERNS_5ArrayIjNS_12STLAllocatorIjEEEERNS1_INS0_6VertexENS2_IS6_EEEENS_4Vec3ESA_SA_RKNS_6Float2ESt8functionIFSA_SA_EEi(ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %56, double %421, double %422, double %425, double %426, double %433, double %434, ptr noundef nonnull align 4 dereferenceable(8) %68, ptr noundef nonnull %69, i32 noundef %276)
          to label %435 unwind label %507

435:                                              ; preds = %432
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %68) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %67) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %66) #11
  %436 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %161)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %70) #11
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %70, ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %437 unwind label %511

437:                                              ; preds = %435
  %438 = getelementptr inbounds i8, ptr %436, i64 8
  store float %274, ptr %214, align 8, !tbaa !10
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %438, ptr noundef nonnull align 8 dereferenceable(12) %70)
          to label %439 unwind label %513

439:                                              ; preds = %437
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %70) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %70) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %57) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %71) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %72) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %72) #11
  %440 = shl nuw i32 1, %276
  %441 = sitofp i32 %440 to float
  %smax = call i32 @llvm.smax.i32(i32 %440, i32 0)
  %smax362 = call i32 @llvm.smax.i32(i32 %440, i32 1)
  br label %.lr.ph

442:                                              ; preds = %._crit_edge
  %443 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %173)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %84) #11
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %84, ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %577 unwind label %585

444:                                              ; preds = %271
  %445 = landingpad { ptr, i32 }
          cleanup
  br label %448

446:                                              ; preds = %277
  %447 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %35) #11
  br label %448

448:                                              ; preds = %446, %444
  %.pn240 = phi { ptr, i32 } [ %447, %446 ], [ %445, %444 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #11
  br label %671

449:                                              ; preds = %281, %279
  %450 = landingpad { ptr, i32 }
          cleanup
  br label %456

451:                                              ; preds = %293, %289, %285
  %452 = landingpad { ptr, i32 }
          cleanup
  br label %455

453:                                              ; preds = %295
  %454 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #11
  br label %455

455:                                              ; preds = %453, %451
  %.pn242 = phi { ptr, i32 } [ %454, %453 ], [ %452, %451 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #11
  br label %456

456:                                              ; preds = %455, %449
  %.pn242.pn = phi { ptr, i32 } [ %.pn242, %455 ], [ %450, %449 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #11
  br label %488

457:                                              ; preds = %310, %306, %302, %300
  %458 = landingpad { ptr, i32 }
          cleanup
  br label %461

459:                                              ; preds = %312
  %460 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #11
  br label %461

461:                                              ; preds = %459, %457
  %.pn245 = phi { ptr, i32 } [ %460, %459 ], [ %458, %457 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #11
  br label %488

462:                                              ; preds = %317
  %463 = landingpad { ptr, i32 }
          cleanup
  br label %488

464:                                              ; preds = %323, %319
  %465 = landingpad { ptr, i32 }
          cleanup
  br label %471

466:                                              ; preds = %331, %327
  %467 = landingpad { ptr, i32 }
          cleanup
  br label %470

468:                                              ; preds = %335
  %469 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #11
  br label %470

470:                                              ; preds = %468, %466
  %.pn247 = phi { ptr, i32 } [ %469, %468 ], [ %467, %466 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #11
  br label %471

471:                                              ; preds = %470, %464
  %.pn247.pn = phi { ptr, i32 } [ %.pn247, %470 ], [ %465, %464 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #11
  br label %488

472:                                              ; preds = %340, %338
  %473 = landingpad { ptr, i32 }
          cleanup
  br label %482

474:                                              ; preds = %348, %344
  %475 = landingpad { ptr, i32 }
          cleanup
  br label %481

476:                                              ; preds = %356, %352
  %477 = landingpad { ptr, i32 }
          cleanup
  br label %480

478:                                              ; preds = %360
  %479 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #11
  br label %480

480:                                              ; preds = %478, %476
  %.pn250 = phi { ptr, i32 } [ %479, %478 ], [ %477, %476 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %52) #11
  br label %481

481:                                              ; preds = %480, %474
  %.pn250.pn = phi { ptr, i32 } [ %.pn250, %480 ], [ %475, %474 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %51) #11
  br label %482

482:                                              ; preds = %481, %472
  %.pn250.pn.pn = phi { ptr, i32 } [ %.pn250.pn, %481 ], [ %473, %472 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #11
  br label %488

483:                                              ; preds = %363
  %484 = landingpad { ptr, i32 }
          cleanup
  br label %487

485:                                              ; preds = %365
  %486 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %55) #11
  br label %487

487:                                              ; preds = %485, %483
  %.pn254 = phi { ptr, i32 } [ %486, %485 ], [ %484, %483 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #11
  br label %488

488:                                              ; preds = %487, %482, %471, %462, %461, %456
  %.pn254.pn = phi { ptr, i32 } [ %.pn254, %487 ], [ %.pn250.pn.pn, %482 ], [ %.pn247.pn, %471 ], [ %463, %462 ], [ %.pn245, %461 ], [ %.pn242.pn, %456 ]
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #11
  br label %671

489:                                              ; preds = %399, %397, %380, %373, %369, %367
  %490 = landingpad { ptr, i32 }
          cleanup
  br label %516

491:                                              ; preds = %375
  %492 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #11
  br label %516

493:                                              ; preds = %390, %386, %382
  %494 = landingpad { ptr, i32 }
          cleanup
  br label %497

495:                                              ; preds = %392
  %496 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #11
  br label %497

497:                                              ; preds = %495, %493
  %.pn257 = phi { ptr, i32 } [ %496, %495 ], [ %494, %493 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %60) #11
  br label %516

498:                                              ; preds = %407, %403
  %499 = landingpad { ptr, i32 }
          cleanup
  br label %502

500:                                              ; preds = %411
  %501 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %64) #11
  br label %502

502:                                              ; preds = %500, %498
  %.pn259 = phi { ptr, i32 } [ %501, %500 ], [ %499, %498 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %63) #11
  br label %516

503:                                              ; preds = %420, %416, %414
  %504 = landingpad { ptr, i32 }
          cleanup
  br label %510

505:                                              ; preds = %428, %424
  %506 = landingpad { ptr, i32 }
          cleanup
  br label %509

507:                                              ; preds = %432
  %508 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %68) #11
  br label %509

509:                                              ; preds = %507, %505
  %.pn261 = phi { ptr, i32 } [ %508, %507 ], [ %506, %505 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %67) #11
  br label %510

510:                                              ; preds = %509, %503
  %.pn261.pn = phi { ptr, i32 } [ %.pn261, %509 ], [ %504, %503 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %66) #11
  br label %516

511:                                              ; preds = %435
  %512 = landingpad { ptr, i32 }
          cleanup
  br label %515

513:                                              ; preds = %437
  %514 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %70) #11
  br label %515

515:                                              ; preds = %513, %511
  %.pn264 = phi { ptr, i32 } [ %514, %513 ], [ %512, %511 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %70) #11
  br label %516

516:                                              ; preds = %515, %510, %502, %497, %491, %489
  %.pn264.pn = phi { ptr, i32 } [ %.pn264, %515 ], [ %.pn261.pn, %510 ], [ %.pn259, %502 ], [ %490, %489 ], [ %.pn257, %497 ], [ %492, %491 ]
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %57) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #11
  br label %671

.lr.ph:                                           ; preds = %439, %._crit_edge
  %.0226351 = phi i32 [ 0, %439 ], [ %547, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %73) #11
  %517 = and i32 %.0226351, 1
  %518 = icmp eq i32 %517, 0
  %. = select i1 %518, float 2.500000e-01, float 7.500000e-01
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %73, float noundef 2.500000e-01, float noundef %.)
  %519 = call noundef i64 @_ZNK3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %71)
  %520 = trunc i64 %519 to i32
  %521 = uitofp nneg i32 %.0226351 to float
  br label %522

522:                                              ; preds = %.lr.ph, %536
  %.0223348 = phi i32 [ 0, %.lr.ph ], [ %537, %536 ]
  %523 = uitofp nneg i32 %.0223348 to float
  %524 = fdiv float %523, %441
  %525 = fadd float %524, %521
  %526 = fmul float %525, 0x3FF921FB60000000
  %527 = invoke noundef float @_ZN3JPH3SinEf(float noundef %526)
          to label %528 unwind label %538

528:                                              ; preds = %522
  %529 = invoke noundef float @_ZN3JPH3CosEf(float noundef %526)
          to label %530 unwind label %540

530:                                              ; preds = %528
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %74) #11
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %74, float noundef %527, float noundef 1.000000e+00, float noundef %529)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %75) #11
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %75, float noundef %527, float noundef -1.000000e+00, float noundef %529)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %76) #11
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %76, float noundef %527, float noundef 0.000000e+00, float noundef %529)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %77) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %77, ptr noundef nonnull align 4 dereferenceable(12) %74, i64 12, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %215, ptr noundef nonnull align 4 dereferenceable(12) %76, i64 12, i1 false), !tbaa.struct !14
  %531 = load i64, ptr %73, align 8
  store i64 %531, ptr %216, align 4
  %532 = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !5
  store i32 %532, ptr %217, align 4, !tbaa !5
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 4 dereferenceable(36) %77)
          to label %533 unwind label %542

533:                                              ; preds = %530
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %77) #11
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %78) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %78, ptr noundef nonnull align 4 dereferenceable(12) %75, i64 12, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %218, ptr noundef nonnull align 4 dereferenceable(12) %76, i64 12, i1 false), !tbaa.struct !14
  %534 = load i64, ptr %73, align 8
  store i64 %534, ptr %219, align 4
  %535 = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !5
  store i32 %535, ptr %220, align 4, !tbaa !5
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 4 dereferenceable(36) %78)
          to label %536 unwind label %544

536:                                              ; preds = %533
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %78) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %76) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %75) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %74) #11
  %537 = add nuw i32 %.0223348, 1
  %exitcond.not = icmp eq i32 %.0223348, %smax
  br i1 %exitcond.not, label %.lr.ph350, label %522, !llvm.loop !15

538:                                              ; preds = %522
  %539 = landingpad { ptr, i32 }
          cleanup
  br label %576

540:                                              ; preds = %528
  %541 = landingpad { ptr, i32 }
          cleanup
  br label %576

542:                                              ; preds = %530
  %543 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %77) #11
  br label %546

544:                                              ; preds = %533
  %545 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %78) #11
  br label %546

546:                                              ; preds = %544, %542
  %.pn283 = phi { ptr, i32 } [ %545, %544 ], [ %543, %542 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %76) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %75) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %74) #11
  br label %576

._crit_edge:                                      ; preds = %563
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %73) #11
  %547 = add nuw nsw i32 %.0226351, 1
  %exitcond364.not = icmp eq i32 %547, 4
  br i1 %exitcond364.not, label %442, label %.lr.ph, !llvm.loop !17

.lr.ph350:                                        ; preds = %536, %563
  %.0219349 = phi i32 [ %564, %563 ], [ 0, %536 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %79) #11
  %548 = shl nuw nsw i32 %.0219349, 1
  %549 = add i32 %548, %520
  store i32 %549, ptr %79, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %79)
          to label %550 unwind label %565

550:                                              ; preds = %.lr.ph350
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %80) #11
  %551 = load i32, ptr %79, align 4, !tbaa !18
  %552 = add i32 %551, 1
  store i32 %552, ptr %80, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %80)
          to label %553 unwind label %567

553:                                              ; preds = %550
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %81) #11
  %554 = load i32, ptr %79, align 4, !tbaa !18
  %555 = add i32 %554, 3
  store i32 %555, ptr %81, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %81)
          to label %556 unwind label %569

556:                                              ; preds = %553
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %81) #11
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %79)
          to label %557 unwind label %565

557:                                              ; preds = %556
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %82) #11
  %558 = load i32, ptr %79, align 4, !tbaa !18
  %559 = add i32 %558, 3
  store i32 %559, ptr %82, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %560 unwind label %571

560:                                              ; preds = %557
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %82) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %83) #11
  %561 = load i32, ptr %79, align 4, !tbaa !18
  %562 = add i32 %561, 2
  store i32 %562, ptr %83, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %83)
          to label %563 unwind label %573

563:                                              ; preds = %560
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %83) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %79) #11
  %564 = add nuw nsw i32 %.0219349, 1
  %exitcond363.not = icmp eq i32 %564, %smax362
  br i1 %exitcond363.not, label %._crit_edge, label %.lr.ph350, !llvm.loop !20

565:                                              ; preds = %556, %.lr.ph350
  %566 = landingpad { ptr, i32 }
          cleanup
  br label %575

567:                                              ; preds = %550
  %568 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #11
  br label %575

569:                                              ; preds = %553
  %570 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %81) #11
  br label %575

571:                                              ; preds = %557
  %572 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %82) #11
  br label %575

573:                                              ; preds = %560
  %574 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %83) #11
  br label %575

575:                                              ; preds = %573, %571, %569, %567, %565
  %.pn281 = phi { ptr, i32 } [ %574, %573 ], [ %572, %571 ], [ %566, %565 ], [ %570, %569 ], [ %568, %567 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %79) #11
  br label %576

576:                                              ; preds = %538, %546, %540, %575
  %.pn283.pn.pn.pn = phi { ptr, i32 } [ %.pn281, %575 ], [ %539, %538 ], [ %.pn283, %546 ], [ %541, %540 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %73) #11
  br label %590

577:                                              ; preds = %442
  %578 = getelementptr inbounds i8, ptr %443, i64 8
  store float %274, ptr %221, align 8, !tbaa !10
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %578, ptr noundef nonnull align 8 dereferenceable(12) %84)
          to label %579 unwind label %587

579:                                              ; preds = %577
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %84) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %84) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %72) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %72) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %71) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %85) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %86) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #11
  %580 = shl i32 2, %276
  %.not352 = icmp slt i32 %580, 0
  %581 = sitofp i32 %580 to float
  %582 = icmp sgt i32 %580, 0
  br label %591

583:                                              ; preds = %._crit_edge358
  %584 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %185)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %97) #11
  invoke void @_ZN3JPH13DebugRenderer19CreateTriangleBatchERKNS_5ArrayINS0_6VertexENS_12STLAllocatorIS2_EEEERKNS1_IjNS3_IjEEEE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %97, ptr noundef nonnull align 8 dereferenceable(320) %0, ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 8 dereferenceable(24) %86)
          to label %656 unwind label %663

585:                                              ; preds = %442
  %586 = landingpad { ptr, i32 }
          cleanup
  br label %589

587:                                              ; preds = %577
  %588 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %84) #11
  br label %589

589:                                              ; preds = %587, %585
  %.pn267 = phi { ptr, i32 } [ %588, %587 ], [ %586, %585 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %84) #11
  br label %590

590:                                              ; preds = %589, %576
  %.pn283.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn283.pn.pn.pn, %576 ], [ %.pn267, %589 ]
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %72) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %72) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %71) #11
  br label %671

591:                                              ; preds = %579, %._crit_edge358
  %.0218359 = phi i32 [ 0, %579 ], [ %637, %._crit_edge358 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %87) #11
  %592 = and i32 %.0218359, 1
  %593 = icmp eq i32 %592, 0
  %.370 = select i1 %593, float 2.500000e-01, float 7.500000e-01
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %87, float noundef 2.500000e-01, float noundef %.370)
  %594 = call noundef i64 @_ZNK3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85)
  %595 = trunc i64 %594 to i32
  br i1 %.not352, label %._crit_edge358, label %.lr.ph355

.lr.ph355:                                        ; preds = %591
  %596 = uitofp nneg i32 %.0218359 to float
  br label %597

.preheader:                                       ; preds = %621
  br i1 %582, label %.lr.ph357, label %._crit_edge358

597:                                              ; preds = %.lr.ph355, %621
  %.0215353 = phi i32 [ 0, %.lr.ph355 ], [ %622, %621 ]
  %598 = uitofp nneg i32 %.0215353 to float
  %599 = fdiv float %598, %581
  %600 = fadd float %599, %596
  %601 = fmul float %600, 0x3FF921FB60000000
  %602 = invoke noundef float @_ZN3JPH3SinEf(float noundef %601)
          to label %603 unwind label %623

603:                                              ; preds = %597
  %604 = invoke noundef float @_ZN3JPH3CosEf(float noundef %601)
          to label %605 unwind label %625

605:                                              ; preds = %603
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %88) #11
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %88, float noundef %602, float noundef 1.000000e+00, float noundef %604)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %89) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %90) #11
  %606 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %602)
  %607 = fneg float %606
  %608 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %604)
  %609 = fsub float %607, %608
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %90, float noundef %602, float noundef %609, float noundef %604)
          to label %610 unwind label %627

610:                                              ; preds = %605
  %611 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %90)
          to label %612 unwind label %627

612:                                              ; preds = %610
  %613 = extractvalue { double, double } %611, 0
  store double %613, ptr %89, align 16
  %614 = extractvalue { double, double } %611, 1
  store double %614, ptr %222, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %90) #11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %91) #11
  invoke void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %89, ptr noundef nonnull %91)
          to label %615 unwind label %629

615:                                              ; preds = %612
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %92) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %92, i8 0, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %223, ptr noundef nonnull align 4 dereferenceable(12) %91, i64 12, i1 false), !tbaa.struct !14
  %616 = load i64, ptr %87, align 8
  store i64 %616, ptr %224, align 4
  %617 = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !5
  store i32 %617, ptr %225, align 4, !tbaa !5
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 4 dereferenceable(36) %92)
          to label %618 unwind label %631

618:                                              ; preds = %615
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %92) #11
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %93) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %93, ptr noundef nonnull align 4 dereferenceable(12) %88, i64 12, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %226, ptr noundef nonnull align 4 dereferenceable(12) %91, i64 12, i1 false), !tbaa.struct !14
  %619 = load i64, ptr %87, align 8
  store i64 %619, ptr %227, align 4
  %620 = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !5
  store i32 %620, ptr %228, align 4, !tbaa !5
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 4 dereferenceable(36) %93)
          to label %621 unwind label %633

621:                                              ; preds = %618
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %93) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %91) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %89) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %88) #11
  %622 = add nuw nsw i32 %.0215353, 1
  %exitcond365.not = icmp eq i32 %.0215353, %580
  br i1 %exitcond365.not, label %.preheader, label %597, !llvm.loop !21

623:                                              ; preds = %597
  %624 = landingpad { ptr, i32 }
          cleanup
  br label %655

625:                                              ; preds = %603
  %626 = landingpad { ptr, i32 }
          cleanup
  br label %655

627:                                              ; preds = %610, %605
  %628 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %90) #11
  br label %636

629:                                              ; preds = %612
  %630 = landingpad { ptr, i32 }
          cleanup
  br label %635

631:                                              ; preds = %615
  %632 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %92) #11
  br label %635

633:                                              ; preds = %618
  %634 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %93) #11
  br label %635

635:                                              ; preds = %633, %631, %629
  %.pn273 = phi { ptr, i32 } [ %634, %633 ], [ %632, %631 ], [ %630, %629 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %91) #11
  br label %636

636:                                              ; preds = %635, %627
  %.pn273.pn = phi { ptr, i32 } [ %.pn273, %635 ], [ %628, %627 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %89) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %88) #11
  br label %655

._crit_edge358:                                   ; preds = %646, %591, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %87) #11
  %637 = add nuw nsw i32 %.0218359, 1
  %exitcond367.not = icmp eq i32 %637, 4
  br i1 %exitcond367.not, label %583, label %591, !llvm.loop !22

.lr.ph357:                                        ; preds = %.preheader, %646
  %.0356 = phi i32 [ %647, %646 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %94) #11
  %638 = shl nuw nsw i32 %.0356, 1
  %639 = add i32 %638, %595
  store i32 %639, ptr %94, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 4 dereferenceable(4) %94)
          to label %640 unwind label %648

640:                                              ; preds = %.lr.ph357
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %95) #11
  %641 = load i32, ptr %94, align 4, !tbaa !18
  %642 = add i32 %641, 1
  store i32 %642, ptr %95, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 4 dereferenceable(4) %95)
          to label %643 unwind label %650

643:                                              ; preds = %640
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %95) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %96) #11
  %644 = load i32, ptr %94, align 4, !tbaa !18
  %645 = add i32 %644, 3
  store i32 %645, ptr %96, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 4 dereferenceable(4) %96)
          to label %646 unwind label %652

646:                                              ; preds = %643
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %96) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %94) #11
  %647 = add nuw nsw i32 %.0356, 1
  %exitcond366.not = icmp eq i32 %647, %580
  br i1 %exitcond366.not, label %._crit_edge358, label %.lr.ph357, !llvm.loop !23

648:                                              ; preds = %.lr.ph357
  %649 = landingpad { ptr, i32 }
          cleanup
  br label %654

650:                                              ; preds = %640
  %651 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %95) #11
  br label %654

652:                                              ; preds = %643
  %653 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %96) #11
  br label %654

654:                                              ; preds = %652, %650, %648
  %.pn271 = phi { ptr, i32 } [ %653, %652 ], [ %651, %650 ], [ %649, %648 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %94) #11
  br label %655

655:                                              ; preds = %623, %636, %625, %654
  %.pn273.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn271, %654 ], [ %624, %623 ], [ %.pn273.pn, %636 ], [ %626, %625 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %87) #11
  br label %668

656:                                              ; preds = %583
  %657 = getelementptr inbounds i8, ptr %584, i64 8
  store float %274, ptr %229, align 8, !tbaa !10
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %657, ptr noundef nonnull align 8 dereferenceable(12) %97)
          to label %658 unwind label %665

658:                                              ; preds = %656
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %97) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %97) #11
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %86) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %85) #11
  %659 = call noundef ptr @_ZNK3JPH3RefINS_13DebugRenderer8GeometryEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %197)
  %660 = getelementptr inbounds i8, ptr %659, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %98) #11
  call void @_ZN3JPH13DebugRenderer14CreateCylinderEffffi(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.17") align 8 %98, ptr noundef nonnull align 8 dereferenceable(320) %0, float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, i32 noundef %276)
  store float %274, ptr %230, align 8, !tbaa !10
  invoke void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %660, ptr noundef nonnull align 8 dereferenceable(12) %98)
          to label %661 unwind label %669

661:                                              ; preds = %658
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %98) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %98) #11
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %662 = icmp ugt i64 %indvars.iv, 1
  br i1 %662, label %271, label %231, !llvm.loop !24

663:                                              ; preds = %583
  %664 = landingpad { ptr, i32 }
          cleanup
  br label %667

665:                                              ; preds = %656
  %666 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %97) #11
  br label %667

667:                                              ; preds = %665, %663
  %.pn269 = phi { ptr, i32 } [ %666, %665 ], [ %664, %663 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %97) #11
  br label %668

668:                                              ; preds = %667, %655
  %.pn273.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn273.pn.pn.pn.pn, %655 ], [ %.pn269, %667 ]
  call void @_ZN3JPH5ArrayIjNS_12STLAllocatorIjEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %86) #11
  call void @_ZN3JPH5ArrayINS_13DebugRenderer6VertexENS_12STLAllocatorIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %85) #11
  br label %671

669:                                              ; preds = %658
  %670 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH13DebugRenderer3LODD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %98) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %98) #11
  br label %671

671:                                              ; preds = %269, %267, %265, %263, %261, %259, %448, %488, %516, %590, %668, %669, %270, %268, %266, %264, %262, %260
  %.pn283.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %lpad.thr_comm340, %270 ], [ %lpad.thr_comm.split-lp341, %269 ], [ %lpad.thr_comm332, %268 ], [ %lpad.thr_comm.split-lp333, %267 ], [ %lpad.thr_comm324, %266 ], [ %lpad.thr_comm.split-lp325, %265 ], [ %lpad.thr_comm316, %264 ], [ %lpad.thr_comm.split-lp317, %263 ], [ %lpad.thr_comm308, %262 ], [ %lpad.thr_comm.split-lp309, %261 ], [ %lpad.thr_comm300, %260 ], [ %lpad.thr_comm.split-lp301, %259 ], [ %.pn283.pn.pn.pn.pn, %590 ], [ %.pn273.pn.pn.pn.pn.pn, %668 ], [ %670, %669 ], [ %.pn264.pn, %516 ], [ %.pn254.pn, %488 ], [ %.pn240, %448 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #11
  br label %672

672:                                              ; preds = %671, %258
  %.pn283.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn283.pn.pn.pn.pn.pn.pn, %671 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %258 ]
  resume { ptr, i32 } %.pn283.pn.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5AABoxC2ENS_4Vec3ES1_(ptr noundef nonnull align 16 dereferenceable(32), double, double, double, double) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_3RefINS_16RefTargetVirtualEEERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 16 dereferenceable(32)) unnamed_addr #7 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 #6 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH13DebugRenderer8GeometryC2ERKNS_5AABoxE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINS_13DebugRenderer3LODENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13DebugRenderer28CreateTriangleBatchForConvexESt8functionIFNS_4Vec3ES2_EEiPNS_5AABoxE(ptr dead_on_unwind noalias writable sret(%"class.JPH::Ref.17") align 8, ptr noundef nonnull align 8 dereferenceable(320), ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFN3JPH4Vec3ES1_EEC2IRZNS0_13DebugRenderer10InitializeEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef) local_unnamed_addr #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #10

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !6, i64 0}
!10 = !{!11, !9, i64 8}
!11 = !{!"_ZTSN3JPH13DebugRenderer3LODE", !12, i64 0, !9, i64 8}
!12 = !{!"_ZTSN3JPH3RefINS_16RefTargetVirtualEEE", !13, i64 0}
!13 = !{!"any pointer", !6, i64 0}
!14 = !{i64 0, i64 4, !8, i64 4, i64 4, !8, i64 8, i64 4, !8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !6, i64 0}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass