; LLVM IR from zeux/meshoptimizer :: demo/main.ll (Z8meshletsRK4Meshbbbbb)

; 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.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl" }
%"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl" = type { %"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.27" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.22" = type { i8 }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.32" = type { i8 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%struct.meshopt_Bounds = type { [3 x float], float, [3 x float], [3 x float], float, [3 x i8], i8 }
%struct.Mesh = type { %"class.std::vector", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Vertex, std::allocator<Vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<Vertex, std::allocator<Vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vertex, std::allocator<Vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vertex, std::allocator<Vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Vertex = type { float, float, float, float, float, float, float, float }
%struct.meshopt_Meshlet = type { i32, i32, i32, i32 }

@.str.18 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [11 x i8], align 1
@__PRETTY_FUNCTION__._Z8meshletsRK4Meshbbbbb = external hidden unnamed_addr constant [58 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [130 x i8], align 1
@__const._Z8meshletsRK4Meshbbbbb.camera = external hidden unnamed_addr constant [3 x float], align 4
@.str.32 = external hidden unnamed_addr constant [138 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z9timestampv() #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

declare i32 @printf(ptr noundef, ...) #3

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

declare i32 @__gxx_personality_v0(...)

; 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) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

declare i64 @meshopt_buildMeshletsBound(i64 noundef, i64 noundef, i64 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

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

declare i64 @meshopt_buildMeshlets(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, float noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE9push_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 @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8meshletsRK4Meshbbbbb(ptr noundef nonnull align 8 dereferenceable(48) %0, i1 noundef zeroext %1, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext %4, i1 noundef zeroext %5) #6 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca double, align 8
  %19 = alloca i64, align 8
  %20 = alloca %"class.std::vector.25", align 8
  %21 = alloca %"class.std::allocator.27", align 1
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca %"class.std::allocator.2", align 1
  %26 = alloca %"class.std::vector.20", align 8
  %27 = alloca %"class.std::allocator.22", align 1
  %28 = alloca i64, align 8
  %29 = alloca ptr, align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca i64, align 8
  %37 = alloca %"class.std::vector.30", align 8
  %38 = alloca %"class.std::allocator.32", align 1
  %39 = alloca i64, align 8
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.std::vector.0", align 8
  %44 = alloca i64, align 8
  %45 = alloca ptr, align 8
  %46 = alloca i32, align 4
  %47 = alloca [32 x i8], align 16
  %48 = alloca i32, align 4
  %49 = alloca [256 x i32], align 16
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca [3 x float], align 4
  %57 = alloca i64, align 8
  %58 = alloca i64, align 8
  %59 = alloca double, align 8
  %60 = alloca double, align 8
  %61 = alloca %"class.std::vector.5", align 8
  %62 = alloca %"class.std::allocator.7", align 1
  %63 = alloca %"class.std::vector.5", align 8
  %64 = alloca %"class.std::allocator.7", align 1
  %65 = alloca double, align 8
  %66 = alloca i64, align 8
  %67 = alloca ptr, align 8
  %68 = alloca %struct.meshopt_Bounds, align 4
  %69 = alloca [3 x float], align 4
  %70 = alloca float, align 4
  %71 = alloca double, align 8
  %72 = alloca double, align 8
  %73 = alloca i64, align 8
  %74 = alloca double, align 8
  %75 = alloca i64, align 8
  %76 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  %77 = zext i1 %1 to i8
  store i8 %77, ptr %8, align 1, !tbaa !9
  %78 = zext i1 %2 to i8
  store i8 %78, ptr %9, align 1, !tbaa !9
  %79 = zext i1 %3 to i8
  store i8 %79, ptr %10, align 1, !tbaa !9
  %80 = zext i1 %4 to i8
  store i8 %80, ptr %11, align 1, !tbaa !9
  %81 = zext i1 %5 to i8
  store i8 %81, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store i64 64, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %82 = load i8, ptr %9, align 1, !tbaa !9, !range !13, !noundef !14
  %83 = trunc i8 %82 to i1
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, i32 64, i32 124
  %86 = sext i32 %85 to i64
  store i64 %86, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %87 = load i8, ptr %11, align 1, !tbaa !9, !range !13, !noundef !14
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %90

89:                                               ; preds = %6
  br label %95

90:                                               ; preds = %6
  %91 = load i8, ptr %9, align 1, !tbaa !9, !range !13, !noundef !14
  %92 = trunc i8 %91 to i1
  %93 = zext i1 %92 to i64
  %94 = select i1 %92, i32 24, i32 32
  br label %95

95:                                               ; preds = %90, %89
  %96 = phi i32 [ 16, %89 ], [ %94, %90 ]
  %97 = sext i32 %96 to i64
  store i64 %97, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %98 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %99 = trunc i8 %98 to i1
  %100 = zext i1 %99 to i64
  %101 = select i1 %99, float -1.000000e+00, float 2.500000e-01
  store float %101, ptr %16, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %102 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %103 = trunc i8 %102 to i1
  %104 = zext i1 %103 to i64
  %105 = select i1 %103, float 2.000000e+00, float 0.000000e+00
  store float %105, ptr %17, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %106 = call noundef double @_Z9timestampv()
  store double %106, ptr %18, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.Mesh, ptr %107, i32 0, i32 1
  %109 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #9
  %110 = load i64, ptr %15, align 8, !tbaa !11
  %111 = call i64 @meshopt_buildMeshletsBound(i64 noundef %109, i64 noundef 64, i64 noundef %110)
  store i64 %111, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #9
  %112 = load i64, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #9
  call void @_ZNSaI15meshopt_MeshletEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #9
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %112, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %113 unwind label %141

113:                                              ; preds = %95
  call void @_ZNSt15__new_allocatorI15meshopt_MeshletED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #9
  %114 = load i64, ptr %19, align 8, !tbaa !11
  %115 = mul i64 %114, 64
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %115, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %116 unwind label %145

116:                                              ; preds = %113
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #9
  %117 = load i64, ptr %19, align 8, !tbaa !11
  %118 = load i64, ptr %14, align 8, !tbaa !11
  %119 = mul i64 %117, %118
  %120 = mul i64 %119, 3
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %120, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %121 unwind label %149

121:                                              ; preds = %116
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  %122 = load i8, ptr %8, align 1, !tbaa !9, !range !13, !noundef !14
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %157

124:                                              ; preds = %121
  %125 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  %127 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #9
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.Mesh, ptr %128, i32 0, i32 1
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef 0) #9
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.Mesh, ptr %131, i32 0, i32 1
  %133 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #9
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.Mesh, ptr %134, i32 0, i32 0
  %136 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  %137 = load i64, ptr %14, align 8, !tbaa !11
  %138 = invoke i64 @meshopt_buildMeshletsScan(ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %130, i64 noundef %133, i64 noundef %136, i64 noundef 64, i64 noundef %137)
          to label %139 unwind label %153

139:                                              ; preds = %124
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %138)
          to label %140 unwind label %153

140:                                              ; preds = %139
  br label %233

141:                                              ; preds = %95
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %22, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %23, align 4
  call void @_ZNSt15__new_allocatorI15meshopt_MeshletED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #9
  br label %883

145:                                              ; preds = %113
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %22, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %23, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  br label %882

149:                                              ; preds = %116
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %22, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %23, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  br label %881

153:                                              ; preds = %229, %209, %207, %187, %182, %160, %139, %124
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %22, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %23, align 4
  br label %880

157:                                              ; preds = %121
  %158 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %159 = trunc i8 %158 to i1
  br i1 %159, label %160, label %184

160:                                              ; preds = %157
  %161 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  %163 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #9
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.Mesh, ptr %164, i32 0, i32 1
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef 0) #9
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.Mesh, ptr %167, i32 0, i32 1
  %169 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %168) #9
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.Mesh, ptr %170, i32 0, i32 0
  %172 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef 0) #9
  %173 = getelementptr inbounds %struct.Vertex, ptr %172, i32 0, i32 0
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.Mesh, ptr %174, i32 0, i32 0
  %176 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #9
  %177 = load i64, ptr %15, align 8, !tbaa !11
  %178 = load i64, ptr %14, align 8, !tbaa !11
  %179 = load float, ptr %16, align 4, !tbaa !15
  %180 = load float, ptr %17, align 4, !tbaa !15
  %181 = invoke i64 @meshopt_buildMeshletsFlex(ptr noundef %161, ptr noundef %162, ptr noundef %163, ptr noundef %166, i64 noundef %169, ptr noundef %173, i64 noundef %176, i64 noundef 32, i64 noundef 64, i64 noundef %177, i64 noundef %178, float noundef %179, float noundef %180)
          to label %182 unwind label %153

182:                                              ; preds = %160
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %181)
          to label %183 unwind label %153

183:                                              ; preds = %182
  br label %232

184:                                              ; preds = %157
  %185 = load i8, ptr %11, align 1, !tbaa !9, !range !13, !noundef !14
  %186 = trunc i8 %185 to i1
  br i1 %186, label %187, label %209

187:                                              ; preds = %184
  %188 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  %190 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #9
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.Mesh, ptr %191, i32 0, i32 1
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef 0) #9
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.Mesh, ptr %194, i32 0, i32 1
  %196 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #9
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.Mesh, ptr %197, i32 0, i32 0
  %199 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef 0) #9
  %200 = getelementptr inbounds %struct.Vertex, ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.Mesh, ptr %201, i32 0, i32 0
  %203 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %202) #9
  %204 = load i64, ptr %15, align 8, !tbaa !11
  %205 = load i64, ptr %14, align 8, !tbaa !11
  %206 = invoke i64 @meshopt_buildMeshletsSplit(ptr noundef %188, ptr noundef %189, ptr noundef %190, ptr noundef %193, i64 noundef %196, ptr noundef %200, i64 noundef %203, i64 noundef 32, i64 noundef 64, i64 noundef %204, i64 noundef %205, float noundef 0.000000e+00)
          to label %207 unwind label %153

207:                                              ; preds = %187
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %206)
          to label %208 unwind label %153

208:                                              ; preds = %207
  br label %231

209:                                              ; preds = %184
  %210 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  %212 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #9
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.Mesh, ptr %213, i32 0, i32 1
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef 0) #9
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.Mesh, ptr %216, i32 0, i32 1
  %218 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #9
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.Mesh, ptr %219, i32 0, i32 0
  %221 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %220, i64 noundef 0) #9
  %222 = getelementptr inbounds %struct.Vertex, ptr %221, i32 0, i32 0
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.Mesh, ptr %223, i32 0, i32 0
  %225 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %224) #9
  %226 = load i64, ptr %14, align 8, !tbaa !11
  %227 = load float, ptr %16, align 4, !tbaa !15
  %228 = invoke i64 @meshopt_buildMeshlets(ptr noundef %210, ptr noundef %211, ptr noundef %212, ptr noundef %215, i64 noundef %218, ptr noundef %222, i64 noundef %225, i64 noundef 32, i64 noundef 64, i64 noundef %226, float noundef %227)
          to label %229 unwind label %153

229:                                              ; preds = %209
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %228)
          to label %230 unwind label %153

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230, %208
  br label %232

232:                                              ; preds = %231, %183
  br label %233

233:                                              ; preds = %232, %140
  %234 = load i8, ptr %12, align 1, !tbaa !9, !range !13, !noundef !14
  %235 = trunc i8 %234 to i1
  br i1 %235, label %274, label %236

236:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %237

237:                                              ; preds = %266, %236
  %238 = load i64, ptr %28, align 8, !tbaa !11
  %239 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %240 = icmp ult i64 %238, %239
  br i1 %240, label %242, label %241

241:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %273

242:                                              ; preds = %237
  %243 = load i64, ptr %28, align 8, !tbaa !11
  %244 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %243) #9
  %245 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %244, i32 0, i32 0
  %246 = load i32, ptr %245, align 4, !tbaa !19
  %247 = zext i32 %246 to i64
  %248 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %247) #9
  %249 = load i64, ptr %28, align 8, !tbaa !11
  %250 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %249) #9
  %251 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %250, i32 0, i32 1
  %252 = load i32, ptr %251, align 4, !tbaa !22
  %253 = zext i32 %252 to i64
  %254 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %253) #9
  %255 = load i64, ptr %28, align 8, !tbaa !11
  %256 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %255) #9
  %257 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %256, i32 0, i32 3
  %258 = load i32, ptr %257, align 4, !tbaa !23
  %259 = zext i32 %258 to i64
  %260 = load i64, ptr %28, align 8, !tbaa !11
  %261 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %260) #9
  %262 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %261, i32 0, i32 2
  %263 = load i32, ptr %262, align 4, !tbaa !24
  %264 = zext i32 %263 to i64
  invoke void @meshopt_optimizeMeshlet(ptr noundef %248, ptr noundef %254, i64 noundef %259, i64 noundef %264)
          to label %265 unwind label %269

265:                                              ; preds = %242
  br label %266

266:                                              ; preds = %265
  %267 = load i64, ptr %28, align 8, !tbaa !11
  %268 = add i64 %267, 1
  store i64 %268, ptr %28, align 8, !tbaa !11
  br label %237, !llvm.loop !25

269:                                              ; preds = %242
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %22, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %880

273:                                              ; preds = %241
  br label %274

274:                                              ; preds = %273, %233
  %275 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %276 = icmp ne i64 %275, 0
  br i1 %276, label %277, label %304

277:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %278 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  store ptr %278, ptr %29, align 8, !tbaa !5
  %279 = load ptr, ptr %29, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %279, i32 0, i32 0
  %281 = load i32, ptr %280, align 4, !tbaa !19
  %282 = load ptr, ptr %29, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %282, i32 0, i32 2
  %284 = load i32, ptr %283, align 4, !tbaa !24
  %285 = add i32 %281, %284
  %286 = zext i32 %285 to i64
  invoke void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %286)
          to label %287 unwind label %300

287:                                              ; preds = %277
  %288 = load ptr, ptr %29, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %288, i32 0, i32 1
  %290 = load i32, ptr %289, align 4, !tbaa !22
  %291 = load ptr, ptr %29, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %291, i32 0, i32 3
  %293 = load i32, ptr %292, align 4, !tbaa !23
  %294 = mul i32 %293, 3
  %295 = add i32 %294, 3
  %296 = and i32 %295, -4
  %297 = add i32 %290, %296
  %298 = zext i32 %297 to i64
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %298)
          to label %299 unwind label %300

299:                                              ; preds = %287
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %304

300:                                              ; preds = %287, %277
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %22, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %880

304:                                              ; preds = %299, %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %305 = call noundef double @_Z9timestampv()
  store double %305, ptr %30, align 8, !tbaa !17
  %306 = load i8, ptr %12, align 1, !tbaa !9, !range !13, !noundef !14
  %307 = trunc i8 %306 to i1
  br i1 %307, label %308, label %316

308:                                              ; preds = %304
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.Mesh, ptr %309, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #9
  call void @llvm.memset.p0.i64(ptr align 8 %31, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  invoke void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %310, ptr noundef nonnull align 8 dereferenceable(24) %31, i1 noundef zeroext false)
          to label %311 unwind label %312

311:                                              ; preds = %308
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  br label %316

312:                                              ; preds = %308
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %22, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %23, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  br label %879

316:                                              ; preds = %311, %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  store double 0.000000e+00, ptr %32, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  store double 0.000000e+00, ptr %33, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  store double 0.000000e+00, ptr %34, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  store double 0.000000e+00, ptr %35, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store i64 0, ptr %36, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #9
  %317 = load ptr, ptr %7, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.Mesh, ptr %317, i32 0, i32 0
  %319 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %318) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %319, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %320 unwind label %326

320:                                              ; preds = %316
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  store i64 0, ptr %39, align 8, !tbaa !11
  br label %321

321:                                              ; preds = %357, %320
  %322 = load i64, ptr %39, align 8, !tbaa !11
  %323 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %324 = icmp ult i64 %322, %323
  br i1 %324, label %330, label %325

325:                                              ; preds = %321
  store i32 5, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %360

326:                                              ; preds = %316
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %22, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %23, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #9
  br label %878

330:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %331 = load i64, ptr %39, align 8, !tbaa !11
  %332 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %331) #9
  store ptr %332, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 0, ptr %42, align 4, !tbaa !27
  br label %333

333:                                              ; preds = %353, %330
  %334 = load i32, ptr %42, align 4, !tbaa !27
  %335 = load ptr, ptr %41, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %335, i32 0, i32 2
  %337 = load i32, ptr %336, align 4, !tbaa !24
  %338 = icmp ult i32 %334, %337
  br i1 %338, label %340, label %339

339:                                              ; preds = %333
  store i32 8, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %356

340:                                              ; preds = %333
  %341 = load ptr, ptr %41, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %341, i32 0, i32 0
  %343 = load i32, ptr %342, align 4, !tbaa !19
  %344 = load i32, ptr %42, align 4, !tbaa !27
  %345 = add i32 %343, %344
  %346 = zext i32 %345 to i64
  %347 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %346) #9
  %348 = load i32, ptr %347, align 4, !tbaa !27
  %349 = zext i32 %348 to i64
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %349) #9
  %351 = load i32, ptr %350, align 4, !tbaa !27
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %350, align 4, !tbaa !27
  br label %353

353:                                              ; preds = %340
  %354 = load i32, ptr %42, align 4, !tbaa !27
  %355 = add i32 %354, 1
  store i32 %355, ptr %42, align 4, !tbaa !27
  br label %333, !llvm.loop !28

356:                                              ; preds = %339
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  br label %357

357:                                              ; preds = %356
  %358 = load i64, ptr %39, align 8, !tbaa !11
  %359 = add i64 %358, 1
  store i64 %359, ptr %39, align 8, !tbaa !11
  br label %321, !llvm.loop !29

360:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #9
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  store i64 0, ptr %44, align 8, !tbaa !11
  br label %361

361:                                              ; preds = %575, %360
  %362 = load i64, ptr %44, align 8, !tbaa !11
  %363 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %364 = icmp ult i64 %362, %363
  br i1 %364, label %366, label %365

365:                                              ; preds = %361
  store i32 11, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %580

366:                                              ; preds = %361
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %367 = load i64, ptr %44, align 8, !tbaa !11
  %368 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %367) #9
  store ptr %368, ptr %45, align 8, !tbaa !5
  %369 = load i8, ptr %12, align 1, !tbaa !9, !range !13, !noundef !14
  %370 = trunc i8 %369 to i1
  br i1 %370, label %371, label %410

371:                                              ; preds = %366
  call void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  store i32 0, ptr %46, align 4, !tbaa !27
  br label %372

372:                                              ; preds = %397, %371
  %373 = load i32, ptr %46, align 4, !tbaa !27
  %374 = load ptr, ptr %45, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %374, i32 0, i32 3
  %376 = load i32, ptr %375, align 4, !tbaa !23
  %377 = mul i32 %376, 3
  %378 = icmp ult i32 %373, %377
  br i1 %378, label %380, label %379

379:                                              ; preds = %372
  store i32 14, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %404

380:                                              ; preds = %372
  %381 = load ptr, ptr %45, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %381, i32 0, i32 0
  %383 = load i32, ptr %382, align 4, !tbaa !19
  %384 = load ptr, ptr %45, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %384, i32 0, i32 1
  %386 = load i32, ptr %385, align 4, !tbaa !22
  %387 = load i32, ptr %46, align 4, !tbaa !27
  %388 = add i32 %386, %387
  %389 = zext i32 %388 to i64
  %390 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %389) #9
  %391 = load i8, ptr %390, align 1, !tbaa !30
  %392 = zext i8 %391 to i32
  %393 = add i32 %383, %392
  %394 = zext i32 %393 to i64
  %395 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %394) #9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 4 dereferenceable(4) %395)
          to label %396 unwind label %400

396:                                              ; preds = %380
  br label %397

397:                                              ; preds = %396
  %398 = load i32, ptr %46, align 4, !tbaa !27
  %399 = add i32 %398, 1
  store i32 %399, ptr %46, align 4, !tbaa !27
  br label %372, !llvm.loop !31

400:                                              ; preds = %380
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %22, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %579

404:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #9
  %405 = getelementptr inbounds [32 x i8], ptr %47, i64 0, i64 0
  %406 = load i64, ptr %44, align 8, !tbaa !11
  %407 = trunc i64 %406 to i32
  %408 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %405, i64 noundef 32, ptr noundef @.str.29, i32 noundef %407) #9
  %409 = getelementptr inbounds [32 x i8], ptr %47, i64 0, i64 0
  call void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef %409, ptr noundef nonnull align 8 dereferenceable(24) %43)
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  br label %410

410:                                              ; preds = %404, %366
  %411 = load ptr, ptr %45, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %411, i32 0, i32 2
  %413 = load i32, ptr %412, align 4, !tbaa !24
  %414 = uitofp i32 %413 to double
  %415 = load double, ptr %32, align 8, !tbaa !17
  %416 = fadd double %415, %414
  store double %416, ptr %32, align 8, !tbaa !17
  %417 = load ptr, ptr %45, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %417, i32 0, i32 3
  %419 = load i32, ptr %418, align 4, !tbaa !23
  %420 = uitofp i32 %419 to double
  %421 = load double, ptr %33, align 8, !tbaa !17
  %422 = fadd double %421, %420
  store double %422, ptr %33, align 8, !tbaa !17
  %423 = load i8, ptr %9, align 1, !tbaa !9, !range !13, !noundef !14
  %424 = trunc i8 %423 to i1
  br i1 %424, label %425, label %432

425:                                              ; preds = %410
  %426 = load ptr, ptr %45, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %426, i32 0, i32 3
  %428 = load i32, ptr %427, align 4, !tbaa !23
  %429 = zext i32 %428 to i64
  %430 = load i64, ptr %14, align 8, !tbaa !11
  %431 = icmp ult i64 %429, %430
  br label %438

432:                                              ; preds = %410
  %433 = load ptr, ptr %45, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %433, i32 0, i32 2
  %435 = load i32, ptr %434, align 4, !tbaa !24
  %436 = zext i32 %435 to i64
  %437 = icmp ult i64 %436, 64
  br label %438

438:                                              ; preds = %432, %425
  %439 = phi i1 [ %431, %425 ], [ %437, %432 ]
  %440 = zext i1 %439 to i64
  %441 = load i64, ptr %36, align 8, !tbaa !11
  %442 = add i64 %441, %440
  store i64 %442, ptr %36, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #9
  store i32 0, ptr %48, align 4, !tbaa !27
  br label %443

443:                                              ; preds = %467, %438
  %444 = load i32, ptr %48, align 4, !tbaa !27
  %445 = load ptr, ptr %45, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %445, i32 0, i32 2
  %447 = load i32, ptr %446, align 4, !tbaa !24
  %448 = icmp ult i32 %444, %447
  br i1 %448, label %450, label %449

449:                                              ; preds = %443
  store i32 17, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  br label %470

450:                                              ; preds = %443
  %451 = load ptr, ptr %45, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %451, i32 0, i32 0
  %453 = load i32, ptr %452, align 4, !tbaa !19
  %454 = load i32, ptr %48, align 4, !tbaa !27
  %455 = add i32 %453, %454
  %456 = zext i32 %455 to i64
  %457 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %456) #9
  %458 = load i32, ptr %457, align 4, !tbaa !27
  %459 = zext i32 %458 to i64
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %459) #9
  %461 = load i32, ptr %460, align 4, !tbaa !27
  %462 = icmp sgt i32 %461, 1
  br i1 %462, label %463, label %466

463:                                              ; preds = %450
  %464 = load double, ptr %34, align 8, !tbaa !17
  %465 = fadd double %464, 1.000000e+00
  store double %465, ptr %34, align 8, !tbaa !17
  br label %466

466:                                              ; preds = %463, %450
  br label %467

467:                                              ; preds = %466
  %468 = load i32, ptr %48, align 4, !tbaa !27
  %469 = add i32 %468, 1
  store i32 %469, ptr %48, align 4, !tbaa !27
  br label %443, !llvm.loop !32

470:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 1024, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #9
  store i32 0, ptr %50, align 4, !tbaa !27
  br label %471

471:                                              ; preds = %483, %470
  %472 = load i32, ptr %50, align 4, !tbaa !27
  %473 = load ptr, ptr %45, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %473, i32 0, i32 2
  %475 = load i32, ptr %474, align 4, !tbaa !24
  %476 = icmp ult i32 %472, %475
  br i1 %476, label %478, label %477

477:                                              ; preds = %471
  store i32 20, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  br label %486

478:                                              ; preds = %471
  %479 = load i32, ptr %50, align 4, !tbaa !27
  %480 = load i32, ptr %50, align 4, !tbaa !27
  %481 = zext i32 %480 to i64
  %482 = getelementptr inbounds [256 x i32], ptr %49, i64 0, i64 %481
  store i32 %479, ptr %482, align 4, !tbaa !27
  br label %483

483:                                              ; preds = %478
  %484 = load i32, ptr %50, align 4, !tbaa !27
  %485 = add i32 %484, 1
  store i32 %485, ptr %50, align 4, !tbaa !27
  br label %471, !llvm.loop !33

486:                                              ; preds = %477
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #9
  store i32 0, ptr %51, align 4, !tbaa !27
  br label %487

487:                                              ; preds = %532, %486
  %488 = load i32, ptr %51, align 4, !tbaa !27
  %489 = load ptr, ptr %45, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %489, i32 0, i32 3
  %491 = load i32, ptr %490, align 4, !tbaa !23
  %492 = mul i32 %491, 3
  %493 = icmp ult i32 %488, %492
  br i1 %493, label %495, label %494

494:                                              ; preds = %487
  store i32 23, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #9
  br label %539

495:                                              ; preds = %487
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  %496 = load ptr, ptr %45, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %496, i32 0, i32 1
  %498 = load i32, ptr %497, align 4, !tbaa !22
  %499 = load i32, ptr %51, align 4, !tbaa !27
  %500 = add i32 %498, %499
  %501 = zext i32 %500 to i64
  %502 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %501) #9
  %503 = load i8, ptr %502, align 1, !tbaa !30
  %504 = zext i8 %503 to i32
  store i32 %504, ptr %52, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #9
  %505 = load ptr, ptr %45, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %505, i32 0, i32 1
  %507 = load i32, ptr %506, align 4, !tbaa !22
  %508 = load i32, ptr %51, align 4, !tbaa !27
  %509 = add i32 %507, %508
  %510 = load i32, ptr %51, align 4, !tbaa !27
  %511 = urem i32 %510, 3
  %512 = icmp eq i32 %511, 2
  %513 = zext i1 %512 to i64
  %514 = select i1 %512, i32 -2, i32 1
  %515 = add i32 %509, %514
  %516 = zext i32 %515 to i64
  %517 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %516) #9
  %518 = load i8, ptr %517, align 1, !tbaa !30
  %519 = zext i8 %518 to i32
  store i32 %519, ptr %53, align 4, !tbaa !27
  %520 = getelementptr inbounds [256 x i32], ptr %49, i64 0, i64 0
  %521 = load i32, ptr %52, align 4, !tbaa !27
  %522 = invoke noundef i32 @_ZL6followPii(ptr noundef %520, i32 noundef %521)
          to label %523 unwind label %535

523:                                              ; preds = %495
  store i32 %522, ptr %52, align 4, !tbaa !27
  %524 = getelementptr inbounds [256 x i32], ptr %49, i64 0, i64 0
  %525 = load i32, ptr %53, align 4, !tbaa !27
  %526 = invoke noundef i32 @_ZL6followPii(ptr noundef %524, i32 noundef %525)
          to label %527 unwind label %535

527:                                              ; preds = %523
  store i32 %526, ptr %53, align 4, !tbaa !27
  %528 = load i32, ptr %53, align 4, !tbaa !27
  %529 = load i32, ptr %52, align 4, !tbaa !27
  %530 = sext i32 %529 to i64
  %531 = getelementptr inbounds [256 x i32], ptr %49, i64 0, i64 %530
  store i32 %528, ptr %531, align 4, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  br label %532

532:                                              ; preds = %527
  %533 = load i32, ptr %51, align 4, !tbaa !27
  %534 = add i32 %533, 1
  store i32 %534, ptr %51, align 4, !tbaa !27
  br label %487, !llvm.loop !34

535:                                              ; preds = %523, %495
  %536 = landingpad { ptr, i32 }
          cleanup
  %537 = extractvalue { ptr, i32 } %536, 0
  store ptr %537, ptr %22, align 8
  %538 = extractvalue { ptr, i32 } %536, 1
  store i32 %538, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #9
  br label %578

539:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #9
  store i32 0, ptr %54, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #9
  store i32 0, ptr %55, align 4, !tbaa !27
  br label %540

540:                                              ; preds = %557, %539
  %541 = load i32, ptr %55, align 4, !tbaa !27
  %542 = load ptr, ptr %45, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %542, i32 0, i32 2
  %544 = load i32, ptr %543, align 4, !tbaa !24
  %545 = icmp ult i32 %541, %544
  br i1 %545, label %547, label %546

546:                                              ; preds = %540
  store i32 26, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #9
  br label %564

547:                                              ; preds = %540
  %548 = getelementptr inbounds [256 x i32], ptr %49, i64 0, i64 0
  %549 = load i32, ptr %55, align 4, !tbaa !27
  %550 = invoke noundef i32 @_ZL6followPii(ptr noundef %548, i32 noundef %549)
          to label %551 unwind label %560

551:                                              ; preds = %547
  %552 = load i32, ptr %55, align 4, !tbaa !27
  %553 = icmp eq i32 %550, %552
  %554 = zext i1 %553 to i32
  %555 = load i32, ptr %54, align 4, !tbaa !27
  %556 = add nsw i32 %555, %554
  store i32 %556, ptr %54, align 4, !tbaa !27
  br label %557

557:                                              ; preds = %551
  %558 = load i32, ptr %55, align 4, !tbaa !27
  %559 = add i32 %558, 1
  store i32 %559, ptr %55, align 4, !tbaa !27
  br label %540, !llvm.loop !35

560:                                              ; preds = %547
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %22, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  br label %578

564:                                              ; preds = %546
  %565 = load i32, ptr %54, align 4, !tbaa !27
  %566 = icmp ne i32 %565, 0
  br i1 %566, label %567, label %568

567:                                              ; preds = %564
  br label %570

568:                                              ; preds = %564
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.18, i32 noundef 1105, ptr noundef @__PRETTY_FUNCTION__._Z8meshletsRK4Meshbbbbb) #10
  unreachable

569:                                              ; No predecessors!
  br label %570

570:                                              ; preds = %569, %567
  %571 = load i32, ptr %54, align 4, !tbaa !27
  %572 = sitofp i32 %571 to double
  %573 = load double, ptr %35, align 8, !tbaa !17
  %574 = fadd double %573, %572
  store double %574, ptr %35, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  br label %575

575:                                              ; preds = %570
  %576 = load i64, ptr %44, align 8, !tbaa !11
  %577 = add i64 %576, 1
  store i64 %577, ptr %44, align 8, !tbaa !11
  br label %361, !llvm.loop !36

578:                                              ; preds = %560, %535
  call void @llvm.lifetime.end.p0(i64 1024, ptr %49) #9
  br label %579

579:                                              ; preds = %578, %400
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %877

580:                                              ; preds = %365
  %581 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %582 = uitofp i64 %581 to double
  %583 = load double, ptr %32, align 8, !tbaa !17
  %584 = fdiv double %583, %582
  store double %584, ptr %32, align 8, !tbaa !17
  %585 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %586 = uitofp i64 %585 to double
  %587 = load double, ptr %33, align 8, !tbaa !17
  %588 = fdiv double %587, %586
  store double %588, ptr %33, align 8, !tbaa !17
  %589 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %590 = uitofp i64 %589 to double
  %591 = load double, ptr %34, align 8, !tbaa !17
  %592 = fdiv double %591, %590
  store double %592, ptr %34, align 8, !tbaa !17
  %593 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %594 = uitofp i64 %593 to double
  %595 = load double, ptr %35, align 8, !tbaa !17
  %596 = fdiv double %595, %594
  store double %596, ptr %35, align 8, !tbaa !17
  %597 = load i8, ptr %8, align 1, !tbaa !9, !range !13, !noundef !14
  %598 = trunc i8 %597 to i1
  br i1 %598, label %599, label %600

599:                                              ; preds = %580
  br label %617

600:                                              ; preds = %580
  %601 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %602 = trunc i8 %601 to i1
  br i1 %602, label %603, label %604

603:                                              ; preds = %600
  br label %615

604:                                              ; preds = %600
  %605 = load i8, ptr %11, align 1, !tbaa !9, !range !13, !noundef !14
  %606 = trunc i8 %605 to i1
  br i1 %606, label %607, label %608

607:                                              ; preds = %604
  br label %613

608:                                              ; preds = %604
  %609 = load i8, ptr %9, align 1, !tbaa !9, !range !13, !noundef !14
  %610 = trunc i8 %609 to i1
  %611 = zext i1 %610 to i64
  %612 = select i1 %610, i8 85, i8 32
  br label %613

613:                                              ; preds = %608, %607
  %614 = phi i8 [ 88, %607 ], [ %612, %608 ]
  br label %615

615:                                              ; preds = %613, %603
  %616 = phi i8 [ 70, %603 ], [ %614, %613 ]
  br label %617

617:                                              ; preds = %615, %599
  %618 = phi i8 [ 83, %599 ], [ %616, %615 ]
  %619 = sext i8 %618 to i32
  %620 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %621 = trunc i64 %620 to i32
  %622 = load double, ptr %32, align 8, !tbaa !17
  %623 = load double, ptr %33, align 8, !tbaa !17
  %624 = load double, ptr %34, align 8, !tbaa !17
  %625 = load double, ptr %35, align 8, !tbaa !17
  %626 = load i64, ptr %36, align 8, !tbaa !11
  %627 = trunc i64 %626 to i32
  %628 = load double, ptr %30, align 8, !tbaa !17
  %629 = load double, ptr %18, align 8, !tbaa !17
  %630 = fsub double %628, %629
  %631 = fmul double %630, 1.000000e+03
  %632 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.31, i32 noundef %619, i32 noundef %621, double noundef %622, double noundef %623, double noundef %624, double noundef %625, i32 noundef %627, double noundef %631)
          to label %633 unwind label %644

633:                                              ; preds = %617
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 @__const._Z8meshletsRK4Meshbbbbb.camera, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #9
  store i64 0, ptr %57, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  store i64 0, ptr %58, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  store double 0.000000e+00, ptr %59, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #9
  store double 0.000000e+00, ptr %60, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %61) #9
  %634 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %634, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %635 unwind label %648

635:                                              ; preds = %633
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #9
  %636 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %636, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %637 unwind label %652

637:                                              ; preds = %635
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #9
  %638 = call noundef double @_Z9timestampv()
  store double %638, ptr %65, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #9
  store i64 0, ptr %66, align 8, !tbaa !11
  br label %639

639:                                              ; preds = %774, %637
  %640 = load i64, ptr %66, align 8, !tbaa !11
  %641 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %642 = icmp ult i64 %640, %641
  br i1 %642, label %656, label %643

643:                                              ; preds = %639
  store i32 29, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #9
  br label %781

644:                                              ; preds = %617
  %645 = landingpad { ptr, i32 }
          cleanup
  %646 = extractvalue { ptr, i32 } %645, 0
  store ptr %646, ptr %22, align 8
  %647 = extractvalue { ptr, i32 } %645, 1
  store i32 %647, ptr %23, align 4
  br label %877

648:                                              ; preds = %633
  %649 = landingpad { ptr, i32 }
          cleanup
  %650 = extractvalue { ptr, i32 } %649, 0
  store ptr %650, ptr %22, align 8
  %651 = extractvalue { ptr, i32 } %649, 1
  store i32 %651, ptr %23, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #9
  br label %876

652:                                              ; preds = %635
  %653 = landingpad { ptr, i32 }
          cleanup
  %654 = extractvalue { ptr, i32 } %653, 0
  store ptr %654, ptr %22, align 8
  %655 = extractvalue { ptr, i32 } %653, 1
  store i32 %655, ptr %23, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #9
  br label %875

656:                                              ; preds = %639
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #9
  %657 = load i64, ptr %66, align 8, !tbaa !11
  %658 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %657) #9
  store ptr %658, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %68) #9
  %659 = load ptr, ptr %67, align 8, !tbaa !5
  %660 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %659, i32 0, i32 0
  %661 = load i32, ptr %660, align 4, !tbaa !19
  %662 = zext i32 %661 to i64
  %663 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %662) #9
  %664 = load ptr, ptr %67, align 8, !tbaa !5
  %665 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %664, i32 0, i32 1
  %666 = load i32, ptr %665, align 4, !tbaa !22
  %667 = zext i32 %666 to i64
  %668 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %667) #9
  %669 = load ptr, ptr %67, align 8, !tbaa !5
  %670 = getelementptr inbounds %struct.meshopt_Meshlet, ptr %669, i32 0, i32 3
  %671 = load i32, ptr %670, align 4, !tbaa !23
  %672 = zext i32 %671 to i64
  %673 = load ptr, ptr %7, align 8, !tbaa !5
  %674 = getelementptr inbounds %struct.Mesh, ptr %673, i32 0, i32 0
  %675 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %674, i64 noundef 0) #9
  %676 = getelementptr inbounds %struct.Vertex, ptr %675, i32 0, i32 0
  %677 = load ptr, ptr %7, align 8, !tbaa !5
  %678 = getelementptr inbounds %struct.Mesh, ptr %677, i32 0, i32 0
  %679 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %678) #9
  invoke void @meshopt_computeMeshletBounds(ptr dead_on_unwind writable sret(%struct.meshopt_Bounds) align 4 %68, ptr noundef %663, ptr noundef %668, i64 noundef %672, ptr noundef %676, i64 noundef %679, i64 noundef 32)
          to label %680 unwind label %777

680:                                              ; preds = %656
  %681 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 1
  %682 = load float, ptr %681, align 4, !tbaa !37
  %683 = load i64, ptr %66, align 8, !tbaa !11
  %684 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %683) #9
  store float %682, ptr %684, align 4, !tbaa !15
  %685 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 4
  %686 = load float, ptr %685, align 4, !tbaa !39
  %687 = call float @acosf(float noundef %686) #9
  %688 = fneg float %687
  %689 = call float @llvm.fmuladd.f32(float %688, float 0x404CA5DC40000000, float 9.000000e+01)
  %690 = load i64, ptr %66, align 8, !tbaa !11
  %691 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %690) #9
  store float %689, ptr %691, align 4, !tbaa !15
  %692 = load i64, ptr %66, align 8, !tbaa !11
  %693 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %692) #9
  %694 = load float, ptr %693, align 4, !tbaa !15
  %695 = fpext float %694 to double
  %696 = load double, ptr %59, align 8, !tbaa !17
  %697 = fadd double %696, %695
  store double %697, ptr %59, align 8, !tbaa !17
  %698 = load i64, ptr %66, align 8, !tbaa !11
  %699 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %698) #9
  %700 = load float, ptr %699, align 4, !tbaa !15
  %701 = fpext float %700 to double
  %702 = load double, ptr %60, align 8, !tbaa !17
  %703 = fadd double %702, %701
  store double %703, ptr %60, align 8, !tbaa !17
  %704 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 4
  %705 = load float, ptr %704, align 4, !tbaa !39
  %706 = fcmp oge float %705, 1.000000e+00
  %707 = zext i1 %706 to i64
  %708 = load i64, ptr %58, align 8, !tbaa !11
  %709 = add i64 %708, %707
  store i64 %709, ptr %58, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %69) #9
  %710 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 0
  %711 = getelementptr inbounds [3 x float], ptr %710, i64 0, i64 0
  %712 = load float, ptr %711, align 4, !tbaa !15
  %713 = getelementptr inbounds [3 x float], ptr %56, i64 0, i64 0
  %714 = load float, ptr %713, align 4, !tbaa !15
  %715 = fsub float %712, %714
  store float %715, ptr %69, align 4, !tbaa !15
  %716 = getelementptr inbounds float, ptr %69, i64 1
  %717 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 0
  %718 = getelementptr inbounds [3 x float], ptr %717, i64 0, i64 1
  %719 = load float, ptr %718, align 4, !tbaa !15
  %720 = getelementptr inbounds [3 x float], ptr %56, i64 0, i64 1
  %721 = load float, ptr %720, align 4, !tbaa !15
  %722 = fsub float %719, %721
  store float %722, ptr %716, align 4, !tbaa !15
  %723 = getelementptr inbounds float, ptr %69, i64 2
  %724 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 0
  %725 = getelementptr inbounds [3 x float], ptr %724, i64 0, i64 2
  %726 = load float, ptr %725, align 4, !tbaa !15
  %727 = getelementptr inbounds [3 x float], ptr %56, i64 0, i64 2
  %728 = load float, ptr %727, align 4, !tbaa !15
  %729 = fsub float %726, %728
  store float %729, ptr %723, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #9
  %730 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 0
  %731 = load float, ptr %730, align 4, !tbaa !15
  %732 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 0
  %733 = load float, ptr %732, align 4, !tbaa !15
  %734 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 1
  %735 = load float, ptr %734, align 4, !tbaa !15
  %736 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 1
  %737 = load float, ptr %736, align 4, !tbaa !15
  %738 = fmul float %735, %737
  %739 = call float @llvm.fmuladd.f32(float %731, float %733, float %738)
  %740 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 2
  %741 = load float, ptr %740, align 4, !tbaa !15
  %742 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 2
  %743 = load float, ptr %742, align 4, !tbaa !15
  %744 = call float @llvm.fmuladd.f32(float %741, float %743, float %739)
  %745 = call float @sqrtf(float noundef %744) #9
  store float %745, ptr %70, align 4, !tbaa !15
  %746 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 0
  %747 = load float, ptr %746, align 4, !tbaa !15
  %748 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 3
  %749 = getelementptr inbounds [3 x float], ptr %748, i64 0, i64 0
  %750 = load float, ptr %749, align 4, !tbaa !15
  %751 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 1
  %752 = load float, ptr %751, align 4, !tbaa !15
  %753 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 3
  %754 = getelementptr inbounds [3 x float], ptr %753, i64 0, i64 1
  %755 = load float, ptr %754, align 4, !tbaa !15
  %756 = fmul float %752, %755
  %757 = call float @llvm.fmuladd.f32(float %747, float %750, float %756)
  %758 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 2
  %759 = load float, ptr %758, align 4, !tbaa !15
  %760 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 3
  %761 = getelementptr inbounds [3 x float], ptr %760, i64 0, i64 2
  %762 = load float, ptr %761, align 4, !tbaa !15
  %763 = call float @llvm.fmuladd.f32(float %759, float %762, float %757)
  %764 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 4
  %765 = load float, ptr %764, align 4, !tbaa !39
  %766 = load float, ptr %70, align 4, !tbaa !15
  %767 = getelementptr inbounds %struct.meshopt_Bounds, ptr %68, i32 0, i32 1
  %768 = load float, ptr %767, align 4, !tbaa !37
  %769 = call float @llvm.fmuladd.f32(float %765, float %766, float %768)
  %770 = fcmp oge float %763, %769
  %771 = zext i1 %770 to i64
  %772 = load i64, ptr %57, align 8, !tbaa !11
  %773 = add i64 %772, %771
  store i64 %773, ptr %57, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  br label %774

774:                                              ; preds = %680
  %775 = load i64, ptr %66, align 8, !tbaa !11
  %776 = add i64 %775, 1
  store i64 %776, ptr %66, align 8, !tbaa !11
  br label %639, !llvm.loop !40

777:                                              ; preds = %656
  %778 = landingpad { ptr, i32 }
          cleanup
  %779 = extractvalue { ptr, i32 } %778, 0
  store ptr %779, ptr %22, align 8
  %780 = extractvalue { ptr, i32 } %778, 1
  store i32 %780, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #9
  br label %874

781:                                              ; preds = %643
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #9
  %782 = call noundef double @_Z9timestampv()
  store double %782, ptr %71, align 8, !tbaa !17
  %783 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %784 = uitofp i64 %783 to double
  %785 = load double, ptr %59, align 8, !tbaa !17
  %786 = fdiv double %785, %784
  store double %786, ptr %59, align 8, !tbaa !17
  %787 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %788 = uitofp i64 %787 to double
  %789 = load double, ptr %60, align 8, !tbaa !17
  %790 = fdiv double %789, %788
  store double %790, ptr %60, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #9
  store double 0.000000e+00, ptr %72, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #9
  store i64 0, ptr %73, align 8, !tbaa !11
  br label %791

791:                                              ; preds = %811, %781
  %792 = load i64, ptr %73, align 8, !tbaa !11
  %793 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %794 = icmp ult i64 %792, %793
  br i1 %794, label %796, label %795

795:                                              ; preds = %791
  store i32 32, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #9
  br label %814

796:                                              ; preds = %791
  %797 = load i64, ptr %73, align 8, !tbaa !11
  %798 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %797) #9
  %799 = load float, ptr %798, align 4, !tbaa !15
  %800 = fpext float %799 to double
  %801 = load double, ptr %59, align 8, !tbaa !17
  %802 = fsub double %800, %801
  %803 = load i64, ptr %73, align 8, !tbaa !11
  %804 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %803) #9
  %805 = load float, ptr %804, align 4, !tbaa !15
  %806 = fpext float %805 to double
  %807 = load double, ptr %59, align 8, !tbaa !17
  %808 = fsub double %806, %807
  %809 = load double, ptr %72, align 8, !tbaa !17
  %810 = call double @llvm.fmuladd.f64(double %802, double %808, double %809)
  store double %810, ptr %72, align 8, !tbaa !17
  br label %811

811:                                              ; preds = %796
  %812 = load i64, ptr %73, align 8, !tbaa !11
  %813 = add i64 %812, 1
  store i64 %813, ptr %73, align 8, !tbaa !11
  br label %791, !llvm.loop !41

814:                                              ; preds = %795
  %815 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %816 = sub i64 %815, 1
  %817 = uitofp i64 %816 to double
  %818 = load double, ptr %72, align 8, !tbaa !17
  %819 = fdiv double %818, %817
  store double %819, ptr %72, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #9
  %820 = load double, ptr %72, align 8, !tbaa !17
  %821 = call double @sqrt(double noundef %820) #9
  store double %821, ptr %74, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #9
  store i64 0, ptr %75, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #9
  store i64 0, ptr %76, align 8, !tbaa !11
  br label %822

822:                                              ; preds = %839, %814
  %823 = load i64, ptr %76, align 8, !tbaa !11
  %824 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %825 = icmp ult i64 %823, %824
  br i1 %825, label %827, label %826

826:                                              ; preds = %822
  store i32 35, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #9
  br label %842

827:                                              ; preds = %822
  %828 = load i64, ptr %76, align 8, !tbaa !11
  %829 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %828) #9
  %830 = load float, ptr %829, align 4, !tbaa !15
  %831 = fpext float %830 to double
  %832 = load double, ptr %59, align 8, !tbaa !17
  %833 = load double, ptr %74, align 8, !tbaa !17
  %834 = fadd double %832, %833
  %835 = fcmp olt double %831, %834
  %836 = zext i1 %835 to i64
  %837 = load i64, ptr %75, align 8, !tbaa !11
  %838 = add i64 %837, %836
  store i64 %838, ptr %75, align 8, !tbaa !11
  br label %839

839:                                              ; preds = %827
  %840 = load i64, ptr %76, align 8, !tbaa !11
  %841 = add i64 %840, 1
  store i64 %841, ptr %76, align 8, !tbaa !11
  br label %822, !llvm.loop !42

842:                                              ; preds = %826
  %843 = load double, ptr %59, align 8, !tbaa !17
  %844 = load double, ptr %74, align 8, !tbaa !17
  %845 = load i64, ptr %75, align 8, !tbaa !11
  %846 = uitofp i64 %845 to double
  %847 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %848 = uitofp i64 %847 to double
  %849 = fdiv double %846, %848
  %850 = fmul double %849, 1.000000e+02
  %851 = load double, ptr %60, align 8, !tbaa !17
  %852 = load i64, ptr %57, align 8, !tbaa !11
  %853 = uitofp i64 %852 to double
  %854 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %855 = uitofp i64 %854 to double
  %856 = fdiv double %853, %855
  %857 = fmul double %856, 1.000000e+02
  %858 = load i64, ptr %58, align 8, !tbaa !11
  %859 = uitofp i64 %858 to double
  %860 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %861 = uitofp i64 %860 to double
  %862 = fdiv double %859, %861
  %863 = fmul double %862, 1.000000e+02
  %864 = load double, ptr %71, align 8, !tbaa !17
  %865 = load double, ptr %65, align 8, !tbaa !17
  %866 = fsub double %864, %865
  %867 = fmul double %866, 1.000000e+03
  %868 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.32, double noundef %843, double noundef %844, double noundef %850, double noundef %851, double noundef %857, double noundef %863, double noundef %867)
          to label %869 unwind label %870

869:                                              ; preds = %842
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #9
  call void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  ret void

870:                                              ; preds = %842
  %871 = landingpad { ptr, i32 }
          cleanup
  %872 = extractvalue { ptr, i32 } %871, 0
  store ptr %872, ptr %22, align 8
  %873 = extractvalue { ptr, i32 } %871, 1
  store i32 %873, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  br label %874

874:                                              ; preds = %870, %777
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #9
  br label %875

875:                                              ; preds = %874, %652
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  br label %876

876:                                              ; preds = %875, %648
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #9
  br label %877

877:                                              ; preds = %876, %644, %579
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #9
  br label %878

878:                                              ; preds = %877, %326
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %879

879:                                              ; preds = %878, %312
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %880

880:                                              ; preds = %879, %300, %269, %153
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  br label %881

881:                                              ; preds = %880, %149
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  br label %882

882:                                              ; preds = %881, %145
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #9
  call void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  br label %883

883:                                              ; preds = %882, %141
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %884

884:                                              ; preds = %883
  %885 = load ptr, ptr %22, align 8
  %886 = load i32, ptr %23, align 4
  %887 = insertvalue { ptr, i32 } poison, ptr %885, 0
  %888 = insertvalue { ptr, i32 } %887, i32 %886, 1
  resume { ptr, i32 } %888
}

declare i64 @meshopt_buildMeshletsScan(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #3

declare i64 @meshopt_buildMeshletsFlex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, float noundef, float noundef) #3

declare i64 @meshopt_buildMeshletsSplit(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, float noundef) #3

declare void @meshopt_optimizeMeshlet(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

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

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #7

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL6followPii(ptr noundef, i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

declare void @meshopt_computeMeshletBounds(ptr dead_on_unwind writable sret(%struct.meshopt_Bounds) align 4, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #3

; Function Attrs: nounwind
declare float @acosf(float noundef) #7

; Function Attrs: nounwind
declare double @sqrt(double noundef) #7

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!20, !21, i64 0}
!20 = !{!"_ZTS15meshopt_Meshlet", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!21 = !{!"int", !7, i64 0}
!22 = !{!20, !21, i64 4}
!23 = !{!20, !21, i64 12}
!24 = !{!20, !21, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!21, !21, i64 0}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = !{!7, !7, i64 0}
!31 = distinct !{!31, !26}
!32 = distinct !{!32, !26}
!33 = distinct !{!33, !26}
!34 = distinct !{!34, !26}
!35 = distinct !{!35, !26}
!36 = distinct !{!36, !26}
!37 = !{!38, !16, i64 12}
!38 = !{!"_ZTS14meshopt_Bounds", !7, i64 0, !16, i64 12, !7, i64 16, !7, i64 28, !16, i64 40, !7, i64 44, !7, i64 47}
!39 = !{!38, !16, i64 40}
!40 = distinct !{!40, !26}
!41 = distinct !{!41, !26}
!42 = distinct !{!42, !26}


; 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.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl" }
%"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl" = type { %"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<meshopt_Meshlet, std::allocator<meshopt_Meshlet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.27" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.22" = type { i8 }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.32" = type { i8 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%struct.meshopt_Bounds = type { [3 x float], float, [3 x float], [3 x float], float, [3 x i8], i8 }

@.str.18 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [11 x i8], align 1
@__PRETTY_FUNCTION__._Z8meshletsRK4Meshbbbbb = external hidden unnamed_addr constant [58 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [130 x i8], align 1
@__const._Z8meshletsRK4Meshbbbbb.camera = external hidden unnamed_addr constant [3 x float], align 4
@.str.32 = external hidden unnamed_addr constant [138 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z9timestampv() local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

declare i64 @meshopt_buildMeshletsBound(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

declare i64 @meshopt_buildMeshlets(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8meshletsRK4Meshbbbbb(ptr noundef nonnull align 8 dereferenceable(48) %0, i1 noundef zeroext %1, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext %4, i1 noundef zeroext %5) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::vector.25", align 8
  %8 = alloca %"class.std::allocator.27", align 1
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca %"class.std::allocator.2", align 1
  %11 = alloca %"class.std::vector.20", align 8
  %12 = alloca %"class.std::allocator.22", align 1
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca %"class.std::vector.30", align 8
  %15 = alloca %"class.std::allocator.32", align 1
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca [32 x i8], align 16
  %18 = alloca [256 x i32], align 16
  %19 = alloca %"class.std::vector.5", align 8
  %20 = alloca %"class.std::allocator.7", align 1
  %21 = alloca %"class.std::vector.5", align 8
  %22 = alloca %"class.std::allocator.7", align 1
  %23 = alloca %struct.meshopt_Bounds, align 4
  %24 = select i1 %2, i64 64, i64 124
  %25 = select i1 %2, i64 24, i64 32
  %spec.select = select i1 %4, i64 16, i64 %25
  %26 = tail call noundef double @_Z9timestampv()
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  %29 = tail call i64 @meshopt_buildMeshletsBound(i64 noundef %28, i64 noundef 64, i64 noundef %spec.select)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #10
  call void @_ZNSaI15meshopt_MeshletEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %29, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %30 unwind label %44

30:                                               ; preds = %6
  call void @_ZNSt15__new_allocatorI15meshopt_MeshletED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #10
  %31 = shl i64 %29, 6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %32 unwind label %46

32:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #10
  %33 = mul nuw nsw i64 %24, 3
  %34 = mul i64 %33, %29
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #10
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %35 unwind label %48

35:                                               ; preds = %32
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #10
  %36 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #10
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #10
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #10
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0) #10
  %40 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  br i1 %1, label %41, label %52

41:                                               ; preds = %35
  %42 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #10
  %43 = invoke i64 @meshopt_buildMeshletsScan(ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull %39, i64 noundef %40, i64 noundef %42, i64 noundef 64, i64 noundef %24)
          to label %.invoke unwind label %50

44:                                               ; preds = %6
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI15meshopt_MeshletED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #10
  br label %403

46:                                               ; preds = %30
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  br label %402

48:                                               ; preds = %32
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #10
  br label %401

50:                                               ; preds = %.invoke, %60, %58, %55, %41
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %400

52:                                               ; preds = %35
  %53 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #10
  %54 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #10
  br i1 %3, label %55, label %57

55:                                               ; preds = %52
  %56 = invoke i64 @meshopt_buildMeshletsFlex(ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull %39, i64 noundef %40, ptr noundef nonnull %53, i64 noundef %54, i64 noundef 32, i64 noundef 64, i64 noundef %spec.select, i64 noundef %24, float noundef -1.000000e+00, float noundef 2.000000e+00)
          to label %.invoke unwind label %50

57:                                               ; preds = %52
  br i1 %4, label %58, label %60

58:                                               ; preds = %57
  %59 = invoke i64 @meshopt_buildMeshletsSplit(ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull %39, i64 noundef %40, ptr noundef nonnull %53, i64 noundef %54, i64 noundef 32, i64 noundef 64, i64 noundef 16, i64 noundef %24, float noundef 0.000000e+00)
          to label %.invoke unwind label %50

60:                                               ; preds = %57
  %61 = invoke i64 @meshopt_buildMeshlets(ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull %39, i64 noundef %40, ptr noundef nonnull %53, i64 noundef %54, i64 noundef 32, i64 noundef 64, i64 noundef %24, float noundef 2.500000e-01)
          to label %.invoke unwind label %50

.invoke:                                          ; preds = %41, %60, %58, %55
  %62 = phi i64 [ %56, %55 ], [ %59, %58 ], [ %61, %60 ], [ %43, %41 ]
  invoke void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %62)
          to label %63 unwind label %50

63:                                               ; preds = %.invoke
  br i1 %5, label %.loopexit, label %.preheader226

.preheader226:                                    ; preds = %63
  %64 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not305 = icmp eq i64 %64, 0
  br i1 %.not305, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader226, %82
  %.0191241 = phi i64 [ %83, %82 ], [ 0, %.preheader226 ]
  %65 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0191241) #10
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = zext i32 %66 to i64
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %67) #10
  %69 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0191241) #10
  %70 = getelementptr inbounds i8, ptr %69, i64 4
  %71 = load i32, ptr %70, align 4, !tbaa !10
  %72 = zext i32 %71 to i64
  %73 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %72) #10
  %74 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0191241) #10
  %75 = getelementptr inbounds i8, ptr %74, i64 12
  %76 = load i32, ptr %75, align 4, !tbaa !11
  %77 = zext i32 %76 to i64
  %78 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0191241) #10
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load i32, ptr %79, align 4, !tbaa !12
  %81 = zext i32 %80 to i64
  invoke void @meshopt_optimizeMeshlet(ptr noundef nonnull %68, ptr noundef nonnull %73, i64 noundef %77, i64 noundef %81)
          to label %82 unwind label %86

82:                                               ; preds = %.lr.ph
  %83 = add nuw i64 %.0191241, 1
  %84 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %85 = icmp ult i64 %83, %84
  br i1 %85, label %.lr.ph, label %.loopexit, !llvm.loop !13

86:                                               ; preds = %.lr.ph
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %400

.loopexit:                                        ; preds = %82, %.preheader226, %63
  %88 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not = icmp eq i64 %88, 0
  br i1 %.not, label %108, label %89

89:                                               ; preds = %.loopexit
  %90 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %90, i64 8
  %93 = load i32, ptr %92, align 4, !tbaa !12
  %94 = add i32 %93, %91
  %95 = zext i32 %94 to i64
  invoke void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %95)
          to label %96 unwind label %106

96:                                               ; preds = %89
  %97 = getelementptr inbounds i8, ptr %90, i64 4
  %98 = load i32, ptr %97, align 4, !tbaa !10
  %99 = getelementptr inbounds i8, ptr %90, i64 12
  %100 = load i32, ptr %99, align 4, !tbaa !11
  %101 = mul i32 %100, 3
  %102 = add i32 %101, 3
  %103 = and i32 %102, -4
  %104 = add i32 %103, %98
  %105 = zext i32 %104 to i64
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %105)
          to label %108 unwind label %106

106:                                              ; preds = %96, %89
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %400

108:                                              ; preds = %96, %.loopexit
  %109 = call noundef double @_Z9timestampv()
  br i1 %5, label %110, label %114

110:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %13, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  invoke void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %13, i1 noundef zeroext false)
          to label %111 unwind label %112

111:                                              ; preds = %110
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #10
  br label %114

112:                                              ; preds = %110
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #10
  br label %400

114:                                              ; preds = %111, %108
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  %115 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #10
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %115, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %116 unwind label %119

116:                                              ; preds = %114
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  %117 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not306 = icmp eq i64 %117, 0
  br i1 %.not306, label %._crit_edge247, label %.lr.ph246

._crit_edge247:                                   ; preds = %._crit_edge, %116
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #10
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  %118 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not308 = icmp eq i64 %118, 0
  br i1 %.not308, label %._crit_edge275, label %.lr.ph274

119:                                              ; preds = %114
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  br label %399

.lr.ph246:                                        ; preds = %116, %._crit_edge
  %.0204244 = phi i64 [ %124, %._crit_edge ], [ 0, %116 ]
  %121 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0204244) #10
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = load i32, ptr %122, align 4, !tbaa !12
  %.not307 = icmp eq i32 %123, 0
  br i1 %.not307, label %._crit_edge, label %.lr.ph243

._crit_edge:                                      ; preds = %.lr.ph243, %.lr.ph246
  %124 = add nuw i64 %.0204244, 1
  %125 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %126 = icmp ult i64 %124, %125
  br i1 %126, label %.lr.ph246, label %._crit_edge247, !llvm.loop !15

.lr.ph243:                                        ; preds = %.lr.ph246, %.lr.ph243
  %.0205242 = phi i32 [ %136, %.lr.ph243 ], [ 0, %.lr.ph246 ]
  %127 = load i32, ptr %121, align 4, !tbaa !5
  %128 = add i32 %127, %.0205242
  %129 = zext i32 %128 to i64
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %129) #10
  %131 = load i32, ptr %130, align 4, !tbaa !16
  %132 = zext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %132) #10
  %134 = load i32, ptr %133, align 4, !tbaa !16
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %133, align 4, !tbaa !16
  %136 = add nuw i32 %.0205242, 1
  %137 = load i32, ptr %122, align 4, !tbaa !12
  %138 = icmp ult i32 %136, %137
  br i1 %138, label %.lr.ph243, label %._crit_edge, !llvm.loop !17

._crit_edge275:                                   ; preds = %253, %._crit_edge247
  %.0199.lcssa = phi i32 [ 0, %._crit_edge247 ], [ %198, %253 ]
  %.0197.lcssa = phi double [ 0.000000e+00, %._crit_edge247 ], [ %255, %253 ]
  %.0194.lcssa = phi double [ 0.000000e+00, %._crit_edge247 ], [ %.1195.lcssa334, %253 ]
  %.0193.lcssa = phi double [ 0.000000e+00, %._crit_edge247 ], [ %192, %253 ]
  %.0192.lcssa = phi double [ 0.000000e+00, %._crit_edge247 ], [ %188, %253 ]
  %139 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %140 = uitofp i64 %139 to double
  %141 = fdiv double %.0192.lcssa, %140
  %142 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %143 = uitofp i64 %142 to double
  %144 = fdiv double %.0193.lcssa, %143
  %145 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %146 = uitofp i64 %145 to double
  %147 = fdiv double %.0194.lcssa, %146
  %148 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %149 = uitofp i64 %148 to double
  %150 = fdiv double %.0197.lcssa, %149
  %151 = select i1 %2, i32 85, i32 32
  %spec.select224 = select i1 %4, i32 88, i32 %151
  %.mux = select i1 %3, i32 70, i32 %spec.select224
  %152 = select i1 %1, i32 83, i32 %.mux
  %153 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %154 = trunc i64 %153 to i32
  %155 = fsub double %109, %26
  %156 = fmul double %155, 1.000000e+03
  %157 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, i32 noundef %152, i32 noundef %154, double noundef %141, double noundef %144, double noundef %147, double noundef %150, i32 noundef %.0199.lcssa, double noundef %156)
  %.sroa.045.0.copyload = load float, ptr @__const._Z8meshletsRK4Meshbbbbb.camera, align 4
  %.sroa.5.0.copyload = load float, ptr getelementptr inbounds (i8, ptr @__const._Z8meshletsRK4Meshbbbbb.camera, i64 4), align 4
  %.sroa.646.0.copyload = load float, ptr getelementptr inbounds (i8, ptr @__const._Z8meshletsRK4Meshbbbbb.camera, i64 8), align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  %158 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #10
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %158, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %259 unwind label %281

.lr.ph274:                                        ; preds = %._crit_edge247, %253
  %.0192272 = phi double [ %188, %253 ], [ 0.000000e+00, %._crit_edge247 ]
  %.0193271 = phi double [ %192, %253 ], [ 0.000000e+00, %._crit_edge247 ]
  %.0194270 = phi double [ %.1195.lcssa334, %253 ], [ 0.000000e+00, %._crit_edge247 ]
  %.0197269 = phi double [ %255, %253 ], [ 0.000000e+00, %._crit_edge247 ]
  %.0199268 = phi i32 [ %198, %253 ], [ 0, %._crit_edge247 ]
  %.0208267 = phi i64 [ %256, %253 ], [ 0, %._crit_edge247 ]
  %159 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0208267) #10
  br i1 %5, label %160, label %184

160:                                              ; preds = %.lr.ph274
  call void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  %161 = getelementptr inbounds i8, ptr %159, i64 12
  %162 = load i32, ptr %161, align 4, !tbaa !11
  %.not309 = icmp eq i32 %162, 0
  br i1 %.not309, label %._crit_edge251, label %.lr.ph250

.lr.ph250:                                        ; preds = %160
  %163 = getelementptr inbounds i8, ptr %159, i64 4
  br label %166

._crit_edge251:                                   ; preds = %177, %160
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #10
  %164 = trunc i64 %.0208267 to i32
  %165 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %17, i64 noundef 32, ptr noundef nonnull @.str.29, i32 noundef %164) #10
  call void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef nonnull %17, ptr noundef nonnull align 8 dereferenceable(24) %16)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  br label %184

166:                                              ; preds = %.lr.ph250, %177
  %.0209248 = phi i32 [ 0, %.lr.ph250 ], [ %178, %177 ]
  %167 = load i32, ptr %159, align 4, !tbaa !5
  %168 = load i32, ptr %163, align 4, !tbaa !10
  %169 = add i32 %168, %.0209248
  %170 = zext i32 %169 to i64
  %171 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %170) #10
  %172 = load i8, ptr %171, align 1, !tbaa !18
  %173 = zext i8 %172 to i32
  %174 = add i32 %167, %173
  %175 = zext i32 %174 to i64
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %175) #10
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %176)
          to label %177 unwind label %182

177:                                              ; preds = %166
  %178 = add nuw i32 %.0209248, 1
  %179 = load i32, ptr %161, align 4, !tbaa !11
  %180 = mul i32 %179, 3
  %181 = icmp ult i32 %178, %180
  br i1 %181, label %166, label %._crit_edge251, !llvm.loop !19

182:                                              ; preds = %166
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %398

184:                                              ; preds = %._crit_edge251, %.lr.ph274
  %185 = getelementptr inbounds i8, ptr %159, i64 8
  %186 = load i32, ptr %185, align 4, !tbaa !12
  %187 = uitofp i32 %186 to double
  %188 = fadd double %.0192272, %187
  %189 = getelementptr inbounds i8, ptr %159, i64 12
  %190 = load i32, ptr %189, align 4, !tbaa !11
  %191 = uitofp i32 %190 to double
  %192 = fadd double %.0193271, %191
  %193 = zext i32 %190 to i64
  %194 = icmp ugt i64 %24, %193
  %195 = icmp ult i32 %186, 64
  %196 = select i1 %2, i1 %194, i1 %195
  %197 = zext i1 %196 to i32
  %198 = add i32 %.0199268, %197
  %.not310 = icmp eq i32 %186, 0
  br i1 %.not310, label %._crit_edge256.thread, label %.lr.ph255

._crit_edge256.thread:                            ; preds = %184
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %18) #10
  br label %.preheader225

._crit_edge256:                                   ; preds = %.lr.ph255
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %18) #10
  %.not311 = icmp eq i32 %210, 0
  br i1 %.not311, label %.preheader225, label %.lr.ph259

.lr.ph255:                                        ; preds = %184, %.lr.ph255
  %.1195253 = phi double [ %.2196, %.lr.ph255 ], [ %.0194270, %184 ]
  %.0212252 = phi i32 [ %209, %.lr.ph255 ], [ 0, %184 ]
  %199 = load i32, ptr %159, align 4, !tbaa !5
  %200 = add i32 %199, %.0212252
  %201 = zext i32 %200 to i64
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %201) #10
  %203 = load i32, ptr %202, align 4, !tbaa !16
  %204 = zext i32 %203 to i64
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %204) #10
  %206 = load i32, ptr %205, align 4, !tbaa !16
  %207 = icmp sgt i32 %206, 1
  %208 = fadd double %.1195253, 1.000000e+00
  %.2196 = select i1 %207, double %208, double %.1195253
  %209 = add nuw i32 %.0212252, 1
  %210 = load i32, ptr %185, align 4, !tbaa !12
  %211 = icmp ult i32 %209, %210
  br i1 %211, label %.lr.ph255, label %._crit_edge256, !llvm.loop !20

.preheader225:                                    ; preds = %.lr.ph259, %._crit_edge256.thread, %._crit_edge256
  %.1195.lcssa334 = phi double [ %.2196, %._crit_edge256 ], [ %.0194270, %._crit_edge256.thread ], [ %.2196, %.lr.ph259 ]
  %212 = phi i32 [ 0, %._crit_edge256 ], [ 0, %._crit_edge256.thread ], [ %217, %.lr.ph259 ]
  %213 = load i32, ptr %189, align 4, !tbaa !11
  %.not312 = icmp eq i32 %213, 0
  br i1 %.not312, label %.preheader, label %.lr.ph261

.lr.ph261:                                        ; preds = %.preheader225
  %214 = getelementptr inbounds i8, ptr %159, i64 4
  br label %221

.lr.ph259:                                        ; preds = %._crit_edge256, %.lr.ph259
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph259 ], [ 0, %._crit_edge256 ]
  %215 = getelementptr inbounds [256 x i32], ptr %18, i64 0, i64 %indvars.iv
  %216 = trunc nuw i64 %indvars.iv to i32
  store i32 %216, ptr %215, align 4, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %217 = load i32, ptr %185, align 4, !tbaa !12
  %218 = zext i32 %217 to i64
  %219 = icmp ult i64 %indvars.iv.next, %218
  br i1 %219, label %.lr.ph259, label %.preheader225, !llvm.loop !21

.preheader.loopexit:                              ; preds = %221
  %.pre = load i32, ptr %185, align 4, !tbaa !12
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader225
  %220 = phi i32 [ %.pre, %.preheader.loopexit ], [ %212, %.preheader225 ]
  %.not313 = icmp eq i32 %220, 0
  br i1 %.not313, label %._crit_edge265.thread, label %.lr.ph264

221:                                              ; preds = %.lr.ph261, %221
  %.0210260 = phi i32 [ 0, %.lr.ph261 ], [ %242, %221 ]
  %222 = load i32, ptr %214, align 4, !tbaa !10
  %223 = add i32 %222, %.0210260
  %224 = zext i32 %223 to i64
  %225 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %224) #10
  %226 = load i8, ptr %225, align 1, !tbaa !18
  %227 = zext i8 %226 to i32
  %228 = load i32, ptr %214, align 4, !tbaa !10
  %229 = urem i32 %.0210260, 3
  %230 = icmp eq i32 %229, 2
  %231 = select i1 %230, i32 -2, i32 1
  %232 = add i32 %231, %.0210260
  %233 = add i32 %232, %228
  %234 = zext i32 %233 to i64
  %235 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %234) #10
  %236 = load i8, ptr %235, align 1, !tbaa !18
  %237 = zext i8 %236 to i32
  %238 = call noundef i32 @_ZL6followPii(ptr noundef nonnull %18, i32 noundef %227)
  %239 = call noundef i32 @_ZL6followPii(ptr noundef nonnull %18, i32 noundef %237)
  %240 = sext i32 %238 to i64
  %241 = getelementptr inbounds [256 x i32], ptr %18, i64 0, i64 %240
  store i32 %239, ptr %241, align 4, !tbaa !16
  %242 = add nuw i32 %.0210260, 1
  %243 = load i32, ptr %189, align 4, !tbaa !11
  %244 = mul i32 %243, 3
  %245 = icmp ult i32 %242, %244
  br i1 %245, label %221, label %.preheader.loopexit, !llvm.loop !22

._crit_edge265:                                   ; preds = %.lr.ph264
  %.not215 = icmp eq i32 %249, 0
  br i1 %.not215, label %._crit_edge265.thread, label %253

.lr.ph264:                                        ; preds = %.preheader, %.lr.ph264
  %.0206263 = phi i32 [ %250, %.lr.ph264 ], [ 0, %.preheader ]
  %.0207262 = phi i32 [ %249, %.lr.ph264 ], [ 0, %.preheader ]
  %246 = call noundef i32 @_ZL6followPii(ptr noundef nonnull %18, i32 noundef %.0206263)
  %247 = icmp eq i32 %246, %.0206263
  %248 = zext i1 %247 to i32
  %249 = add nuw nsw i32 %.0207262, %248
  %250 = add nuw i32 %.0206263, 1
  %251 = load i32, ptr %185, align 4, !tbaa !12
  %252 = icmp ult i32 %250, %251
  br i1 %252, label %.lr.ph264, label %._crit_edge265, !llvm.loop !23

._crit_edge265.thread:                            ; preds = %.preheader, %._crit_edge265
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.18, i32 noundef 1105, ptr noundef nonnull @__PRETTY_FUNCTION__._Z8meshletsRK4Meshbbbbb) #11
  unreachable

253:                                              ; preds = %._crit_edge265
  %254 = uitofp nneg i32 %249 to double
  %255 = fadd double %.0197269, %254
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %18) #10
  %256 = add nuw i64 %.0208267, 1
  %257 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %258 = icmp ult i64 %256, %257
  br i1 %258, label %.lr.ph274, label %._crit_edge275, !llvm.loop !24

259:                                              ; preds = %._crit_edge275
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #10
  %260 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #10
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %260, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %261 unwind label %283

261:                                              ; preds = %259
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #10
  %262 = call noundef double @_Z9timestampv()
  %263 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not314 = icmp eq i64 %263, 0
  br i1 %.not314, label %._crit_edge288, label %.lr.ph287

.lr.ph287:                                        ; preds = %261
  %264 = getelementptr inbounds i8, ptr %23, i64 12
  %265 = getelementptr inbounds i8, ptr %23, i64 40
  %266 = getelementptr inbounds i8, ptr %23, i64 4
  %267 = getelementptr inbounds i8, ptr %23, i64 8
  %268 = getelementptr inbounds i8, ptr %23, i64 28
  %269 = getelementptr inbounds i8, ptr %23, i64 32
  %270 = getelementptr inbounds i8, ptr %23, i64 36
  br label %285

._crit_edge288.loopexit:                          ; preds = %301
  %271 = uitofp <2 x i64> %340 to <2 x double>
  br label %._crit_edge288

._crit_edge288:                                   ; preds = %._crit_edge288.loopexit, %261
  %272 = phi <2 x double> [ zeroinitializer, %261 ], [ %271, %._crit_edge288.loopexit ]
  %273 = phi <2 x double> [ zeroinitializer, %261 ], [ %316, %._crit_edge288.loopexit ]
  %274 = call noundef double @_Z9timestampv()
  %275 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %276 = uitofp i64 %275 to double
  %277 = extractelement <2 x double> %273, i64 0
  %278 = fdiv double %277, %276
  %279 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %280 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not315 = icmp eq i64 %280, 0
  br i1 %.not315, label %._crit_edge297, label %.lr.ph296

281:                                              ; preds = %._crit_edge275
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  br label %397

283:                                              ; preds = %259
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #10
  br label %396

285:                                              ; preds = %.lr.ph287, %301
  %.0198285 = phi i64 [ 0, %.lr.ph287 ], [ %341, %301 ]
  %286 = phi <2 x i64> [ zeroinitializer, %.lr.ph287 ], [ %340, %301 ]
  %287 = phi <2 x double> [ zeroinitializer, %.lr.ph287 ], [ %316, %301 ]
  %288 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0198285) #10
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %23) #10
  %289 = load i32, ptr %288, align 4, !tbaa !5
  %290 = zext i32 %289 to i64
  %291 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %290) #10
  %292 = getelementptr inbounds i8, ptr %288, i64 4
  %293 = load i32, ptr %292, align 4, !tbaa !10
  %294 = zext i32 %293 to i64
  %295 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %294) #10
  %296 = getelementptr inbounds i8, ptr %288, i64 12
  %297 = load i32, ptr %296, align 4, !tbaa !11
  %298 = zext i32 %297 to i64
  %299 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #10
  %300 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #10
  invoke void @meshopt_computeMeshletBounds(ptr dead_on_unwind nonnull writable sret(%struct.meshopt_Bounds) align 4 %23, ptr noundef nonnull %291, ptr noundef nonnull %295, i64 noundef %298, ptr noundef nonnull %299, i64 noundef %300, i64 noundef 32)
          to label %301 unwind label %344

301:                                              ; preds = %285
  %302 = load float, ptr %264, align 4, !tbaa !25
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0198285) #10
  store float %302, ptr %303, align 4, !tbaa !28
  %304 = load float, ptr %265, align 4, !tbaa !29
  %305 = call float @acosf(float noundef %304) #10
  %306 = fneg float %305
  %307 = call float @llvm.fmuladd.f32(float %306, float 0x404CA5DC40000000, float 9.000000e+01)
  %308 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %.0198285) #10
  store float %307, ptr %308, align 4, !tbaa !28
  %309 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0198285) #10
  %310 = load float, ptr %309, align 4, !tbaa !28
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %.0198285) #10
  %312 = load float, ptr %311, align 4, !tbaa !28
  %313 = insertelement <2 x float> poison, float %310, i64 0
  %314 = insertelement <2 x float> %313, float %312, i64 1
  %315 = fpext <2 x float> %314 to <2 x double>
  %316 = fadd <2 x double> %287, %315
  %317 = load float, ptr %265, align 4, !tbaa !29
  %318 = load float, ptr %23, align 4, !tbaa !28
  %319 = fsub float %318, %.sroa.045.0.copyload
  %320 = load float, ptr %266, align 4, !tbaa !28
  %321 = fsub float %320, %.sroa.5.0.copyload
  %322 = load float, ptr %267, align 4, !tbaa !28
  %323 = fsub float %322, %.sroa.646.0.copyload
  %324 = fmul float %321, %321
  %325 = call float @llvm.fmuladd.f32(float %319, float %319, float %324)
  %326 = call float @llvm.fmuladd.f32(float %323, float %323, float %325)
  %sqrt = call float @llvm.sqrt.f32(float %326)
  %327 = load float, ptr %268, align 4, !tbaa !28
  %328 = load float, ptr %269, align 4, !tbaa !28
  %329 = fmul float %321, %328
  %330 = call float @llvm.fmuladd.f32(float %319, float %327, float %329)
  %331 = load float, ptr %270, align 4, !tbaa !28
  %332 = call float @llvm.fmuladd.f32(float %323, float %331, float %330)
  %333 = load float, ptr %264, align 4, !tbaa !25
  %334 = call float @llvm.fmuladd.f32(float %317, float %sqrt, float %333)
  %335 = insertelement <2 x float> poison, float %332, i64 0
  %336 = insertelement <2 x float> %335, float %317, i64 1
  %337 = insertelement <2 x float> <float poison, float 1.000000e+00>, float %334, i64 0
  %338 = fcmp oge <2 x float> %336, %337
  %339 = zext <2 x i1> %338 to <2 x i64>
  %340 = add <2 x i64> %286, %339
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #10
  %341 = add nuw i64 %.0198285, 1
  %342 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %343 = icmp ult i64 %341, %342
  br i1 %343, label %285, label %._crit_edge288.loopexit, !llvm.loop !30

344:                                              ; preds = %285
  %345 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #10
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  br label %396

._crit_edge297:                                   ; preds = %.lr.ph296, %._crit_edge288
  %.0181.lcssa = phi double [ 0.000000e+00, %._crit_edge288 ], [ %361, %.lr.ph296 ]
  %346 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %347 = add i64 %346, -1
  %348 = uitofp i64 %347 to double
  %349 = fdiv double %.0181.lcssa, %348
  %350 = call double @sqrt(double noundef %349) #10
  %351 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not316 = icmp eq i64 %351, 0
  br i1 %.not316, label %._crit_edge303, label %.lr.ph302

.lr.ph302:                                        ; preds = %._crit_edge297
  %352 = fadd double %278, %350
  br label %386

.lr.ph296:                                        ; preds = %._crit_edge288, %.lr.ph296
  %.0180294 = phi i64 [ %362, %.lr.ph296 ], [ 0, %._crit_edge288 ]
  %.0181293 = phi double [ %361, %.lr.ph296 ], [ 0.000000e+00, %._crit_edge288 ]
  %353 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0180294) #10
  %354 = load float, ptr %353, align 4, !tbaa !28
  %355 = fpext float %354 to double
  %356 = fsub double %355, %278
  %357 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0180294) #10
  %358 = load float, ptr %357, align 4, !tbaa !28
  %359 = fpext float %358 to double
  %360 = fsub double %359, %278
  %361 = call double @llvm.fmuladd.f64(double %356, double %360, double %.0181293)
  %362 = add nuw i64 %.0180294, 1
  %363 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %364 = icmp ult i64 %362, %363
  br i1 %364, label %.lr.ph296, label %._crit_edge297, !llvm.loop !31

._crit_edge303.loopexit:                          ; preds = %386
  %365 = uitofp i64 %392 to double
  br label %._crit_edge303

._crit_edge303:                                   ; preds = %._crit_edge303.loopexit, %._crit_edge297
  %.0178.lcssa = phi double [ 0.000000e+00, %._crit_edge297 ], [ %365, %._crit_edge303.loopexit ]
  %366 = uitofp i64 %279 to double
  %367 = extractelement <2 x double> %273, i64 1
  %368 = fdiv double %367, %366
  %369 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %370 = uitofp i64 %369 to double
  %371 = fdiv double %.0178.lcssa, %370
  %372 = fmul double %371, 1.000000e+02
  %373 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %374 = uitofp i64 %373 to double
  %375 = extractelement <2 x double> %272, i64 0
  %376 = fdiv double %375, %374
  %377 = fmul double %376, 1.000000e+02
  %378 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %379 = uitofp i64 %378 to double
  %380 = extractelement <2 x double> %272, i64 1
  %381 = fdiv double %380, %379
  %382 = fmul double %381, 1.000000e+02
  %383 = fsub double %274, %262
  %384 = fmul double %383, 1.000000e+03
  %385 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, double noundef %278, double noundef %350, double noundef %372, double noundef %368, double noundef %377, double noundef %382, double noundef %384)
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #10
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  call void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  ret void

386:                                              ; preds = %.lr.ph302, %386
  %.0300 = phi i64 [ 0, %.lr.ph302 ], [ %393, %386 ]
  %.0178299 = phi i64 [ 0, %.lr.ph302 ], [ %392, %386 ]
  %387 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0300) #10
  %388 = load float, ptr %387, align 4, !tbaa !28
  %389 = fpext float %388 to double
  %390 = fcmp ogt double %352, %389
  %391 = zext i1 %390 to i64
  %392 = add i64 %.0178299, %391
  %393 = add nuw i64 %.0300, 1
  %394 = call noundef i64 @_ZNKSt6vectorI15meshopt_MeshletSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %395 = icmp ult i64 %393, %394
  br i1 %395, label %386, label %._crit_edge303.loopexit, !llvm.loop !32

396:                                              ; preds = %344, %283
  %.pn = phi { ptr, i32 } [ %345, %344 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #10
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #10
  br label %397

397:                                              ; preds = %396, %281
  %.pn.pn = phi { ptr, i32 } [ %.pn, %396 ], [ %282, %281 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  br label %398

398:                                              ; preds = %397, %182
  %.pn216 = phi { ptr, i32 } [ %183, %182 ], [ %.pn.pn, %397 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  br label %399

399:                                              ; preds = %398, %119
  %.pn216.pn = phi { ptr, i32 } [ %.pn216, %398 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br label %400

400:                                              ; preds = %112, %399, %106, %86, %50
  %.pn216.pn.pn.pn = phi { ptr, i32 } [ %107, %106 ], [ %87, %86 ], [ %51, %50 ], [ %.pn216.pn, %399 ], [ %113, %112 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #10
  br label %401

401:                                              ; preds = %400, %48
  %.pn216.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn216.pn.pn.pn, %400 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  br label %402

402:                                              ; preds = %401, %46
  %.pn216.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn216.pn.pn.pn.pn, %401 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  call void @_ZNSt6vectorI15meshopt_MeshletSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  br label %403

403:                                              ; preds = %402, %44
  %.pn216.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn216.pn.pn.pn.pn.pn, %402 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  resume { ptr, i32 } %.pn216.pn.pn.pn.pn.pn.pn
}

declare i64 @meshopt_buildMeshletsScan(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #6

declare i64 @meshopt_buildMeshletsFlex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, float noundef, float noundef) local_unnamed_addr #6

declare i64 @meshopt_buildMeshletsSplit(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, float noundef) local_unnamed_addr #6

declare void @meshopt_optimizeMeshlet(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI15meshopt_MeshletSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL6followPii(ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

declare void @meshopt_computeMeshletBounds(ptr dead_on_unwind writable sret(%struct.meshopt_Bounds) align 4, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @acosf(float noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #8

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.sqrt.f32(float) #9

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


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass