; LLVM IR from zeux/meshoptimizer :: demo/nanite.ll (Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE)

; 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = 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 }
%struct.meshopt_Stream = type { ptr, i64, i64 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl" }
%"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl" = type { %"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.LODBounds = type { [3 x float], float, float }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.17" = type { i8 }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.25" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.27" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }
%struct.Vertex = type { float, float, float, float, float, float, float, float }
%struct.Cluster = type { %"class.std::vector.0", %struct.LODBounds, %struct.LODBounds }

@_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt = external hidden global ptr, align 8
@_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis = external hidden global ptr, align 8
@_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZL5METIS = external hidden global i32, align 4
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump = external hidden global ptr, align 8
@_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump = external hidden global i64, align 8
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__._Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE = external hidden unnamed_addr constant [76 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector.5", align 8
  %7 = alloca %"class.std::allocator.7", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca %"class.std::allocator.2", align 1
  %12 = alloca %struct.meshopt_Stream, align 8
  %13 = alloca %"class.std::vector.10", align 8
  %14 = alloca i64, align 8
  %15 = alloca %struct.LODBounds, align 4
  %16 = alloca %"class.std::vector.15", align 8
  %17 = alloca %"class.std::allocator.17", align 1
  %18 = alloca i64, align 8
  %19 = alloca %"class.std::vector.20", align 8
  %20 = alloca %"class.std::vector.15", align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.std::vector.0", align 8
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::vector.0", align 8
  %27 = alloca i64, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.25", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca float, align 4
  %36 = alloca %"class.std::vector.0", align 8
  %37 = alloca i64, align 8
  %38 = alloca %struct.LODBounds, align 4
  %39 = alloca %"class.std::vector.10", align 8
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca float, align 4
  %51 = alloca float, align 4
  %52 = alloca float, align 4
  %53 = alloca i64, align 8
  %54 = alloca float, align 4
  %55 = alloca float, align 4
  %56 = alloca float, align 4
  %57 = alloca float, align 4
  %58 = alloca float, align 4
  %59 = alloca float, align 4
  %60 = alloca float, align 4
  %61 = alloca %"class.std::vector.0", align 8
  %62 = alloca i64, align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator.25", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %66 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %68 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %69 = load atomic i8, ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt acquire, align 8
  %70 = icmp eq i8 %69, 0
  br i1 %70, label %71, label %76, !prof !9

71:                                               ; preds = %2
  %72 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt) #1
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %76

74:                                               ; preds = %71
  %75 = call ptr @getenv(ptr noundef @.str) #1
  store ptr %75, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt, align 8, !tbaa !5
  call void @__cxa_guard_release(ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt) #1
  br label %76

76:                                               ; preds = %74, %71, %2
  %77 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %86

79:                                               ; preds = %76
  %80 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt, align 8, !tbaa !5
  %81 = call i32 @atoi(ptr noundef %80) #11
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %86

83:                                               ; preds = %79
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z4clrtRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 8 dereferenceable(24) %85)
  br label %760

86:                                               ; preds = %79, %76
  %87 = load atomic i8, ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis acquire, align 8
  %88 = icmp eq i8 %87, 0
  br i1 %88, label %89, label %94, !prof !9

89:                                               ; preds = %86
  %90 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis) #1
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %94

92:                                               ; preds = %89
  %93 = call ptr @getenv(ptr noundef @.str.1) #1
  store ptr %93, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis, align 8, !tbaa !5
  call void @__cxa_guard_release(ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis) #1
  br label %94

94:                                               ; preds = %92, %89, %86
  %95 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis, align 8, !tbaa !5
  %96 = icmp ne ptr %95, null
  br i1 %96, label %97, label %100

97:                                               ; preds = %94
  %98 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis, align 8, !tbaa !5
  %99 = call i32 @atoi(ptr noundef %98) #11
  br label %101

100:                                              ; preds = %94
  br label %101

101:                                              ; preds = %100, %97
  %102 = phi i32 [ %99, %97 ], [ 0, %100 ]
  store i32 %102, ptr @_ZL5METIS, align 4, !tbaa !10
  %103 = load i32, ptr @_ZL5METIS, align 4, !tbaa !10
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %124

105:                                              ; preds = %101
  %106 = call noundef zeroext i1 @_ZL9loadMetisv()
  br i1 %106, label %107, label %121

107:                                              ; preds = %105
  %108 = load i32, ptr @_ZL5METIS, align 4, !tbaa !10
  %109 = and i32 %108, 3
  %110 = icmp eq i32 %109, 3
  br i1 %110, label %111, label %112

111:                                              ; preds = %107
  br label %118

112:                                              ; preds = %107
  %113 = load i32, ptr @_ZL5METIS, align 4, !tbaa !10
  %114 = and i32 %113, 1
  %115 = icmp ne i32 %114, 0
  %116 = zext i1 %115 to i64
  %117 = select i1 %115, ptr @.str.4, ptr @.str.5
  br label %118

118:                                              ; preds = %112, %111
  %119 = phi ptr [ @.str.3, %111 ], [ %117, %112 ]
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %119)
  br label %123

121:                                              ; preds = %105
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  store i32 0, ptr @_ZL5METIS, align 4, !tbaa !10
  br label %123

123:                                              ; preds = %121, %118
  br label %124

124:                                              ; preds = %123, %101
  %125 = load atomic i8, ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump acquire, align 8
  %126 = icmp eq i8 %125, 0
  br i1 %126, label %127, label %132, !prof !9

127:                                              ; preds = %124
  %128 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump) #1
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %132

130:                                              ; preds = %127
  %131 = call ptr @getenv(ptr noundef @.str.7) #1
  store ptr %131, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  call void @__cxa_guard_release(ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump) #1
  br label %132

132:                                              ; preds = %130, %127, %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #1
  store i32 0, ptr %5, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #1
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #1
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #1
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #1
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %134, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %135 unwind label %162

135:                                              ; preds = %132
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #1
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #1
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #1
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #1
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #1
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %137, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %138 unwind label %166

138:                                              ; preds = %135
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #1
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #1
  %139 = getelementptr inbounds %struct.meshopt_Stream, ptr %12, i32 0, i32 0
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef 0) #1
  %142 = getelementptr inbounds %struct.Vertex, ptr %141, i32 0, i32 0
  store ptr %142, ptr %139, align 8, !tbaa !12
  %143 = getelementptr inbounds %struct.meshopt_Stream, ptr %12, i32 0, i32 1
  store i64 12, ptr %143, align 8, !tbaa !15
  %144 = getelementptr inbounds %struct.meshopt_Stream, ptr %12, i32 0, i32 2
  store i64 32, ptr %144, align 8, !tbaa !16
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #1
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef 0) #1
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %148) #1
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #1
  %152 = invoke i64 @meshopt_generateVertexRemapMulti(ptr noundef %145, ptr noundef %147, i64 noundef %149, i64 noundef %151, ptr noundef %12, i64 noundef 1)
          to label %153 unwind label %170

153:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #1
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZL10clusterizeRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr dead_on_unwind writable sret(%"class.std::vector.10") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 8 dereferenceable(24) %155)
          to label %156 unwind label %174

156:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #1
  store i64 0, ptr %14, align 8, !tbaa !17
  br label %157

157:                                              ; preds = %187, %156
  %158 = load i64, ptr %14, align 8, !tbaa !17
  %159 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  %160 = icmp ult i64 %158, %159
  br i1 %160, label %178, label %161

161:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #1
  br label %194

162:                                              ; preds = %132
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %8, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #1
  br label %770

166:                                              ; preds = %135
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %8, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #1
  br label %769

170:                                              ; preds = %138
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %8, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %9, align 4
  br label %768

174:                                              ; preds = %153
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %8, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %9, align 4
  br label %767

178:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 20, ptr %15) #1
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = load i64, ptr %14, align 8, !tbaa !17
  %181 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %180) #1
  %182 = getelementptr inbounds %struct.Cluster, ptr %181, i32 0, i32 0
  invoke void @_ZL6boundsRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEf(ptr dead_on_unwind writable sret(%struct.LODBounds) align 4 %15, ptr noundef nonnull align 8 dereferenceable(24) %179, ptr noundef nonnull align 8 dereferenceable(24) %182, float noundef 0.000000e+00)
          to label %183 unwind label %190

183:                                              ; preds = %178
  %184 = load i64, ptr %14, align 8, !tbaa !17
  %185 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %184) #1
  %186 = getelementptr inbounds %struct.Cluster, ptr %185, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %186, ptr align 4 %15, i64 20, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 20, ptr %15) #1
  br label %187

187:                                              ; preds = %183
  %188 = load i64, ptr %14, align 8, !tbaa !17
  %189 = add i64 %188, 1
  store i64 %189, ptr %14, align 8, !tbaa !17
  br label %157, !llvm.loop !22

190:                                              ; preds = %178
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %8, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %15) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #1
  br label %766

194:                                              ; preds = %161
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #1
  %197 = udiv i64 %196, 3
  %198 = uitofp i64 %197 to double
  %199 = fdiv double %198, 1.280000e+02
  %200 = call double @log2(double noundef %199) #1
  %201 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %200)
          to label %202 unwind label %210

202:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #1
  %203 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #1
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #1
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %203, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %204 unwind label %214

204:                                              ; preds = %202
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #1
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #1
  store i64 0, ptr %18, align 8, !tbaa !17
  br label %205

205:                                              ; preds = %223, %204
  %206 = load i64, ptr %18, align 8, !tbaa !17
  %207 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  %208 = icmp ult i64 %206, %207
  br i1 %208, label %218, label %209

209:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #1
  br label %226

210:                                              ; preds = %194
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %8, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %9, align 4
  br label %766

214:                                              ; preds = %202
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %8, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #1
  br label %765

218:                                              ; preds = %205
  %219 = load i64, ptr %18, align 8, !tbaa !17
  %220 = trunc i64 %219 to i32
  %221 = load i64, ptr %18, align 8, !tbaa !17
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %221) #1
  store i32 %220, ptr %222, align 4, !tbaa !10
  br label %223

223:                                              ; preds = %218
  %224 = load i64, ptr %18, align 8, !tbaa !17
  %225 = add i64 %224, 1
  store i64 %225, ptr %18, align 8, !tbaa !17
  br label %205, !llvm.loop !24

226:                                              ; preds = %209
  br label %227

227:                                              ; preds = %528, %226
  %228 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #1
  %229 = icmp ugt i64 %228, 1
  br i1 %229, label %230, label %536

230:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #1
  invoke void @_ZL9partitionRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEERKS_IjSaIjEE(ptr dead_on_unwind writable sret(%"class.std::vector.20") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %231 unwind label %243

231:                                              ; preds = %230
  invoke void @_ZL12lockBoundaryRSt6vectorIhSaIhEERKS_IS_IiSaIiEESaIS4_EERKS_I7ClusterSaIS9_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %232 unwind label %247

232:                                              ; preds = %231
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #1
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #1
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #1
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #1
  store i64 0, ptr %21, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #1
  store i64 0, ptr %22, align 8, !tbaa !17
  %233 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  %234 = icmp ne ptr %233, null
  br i1 %234, label %235, label %255

235:                                              ; preds = %232
  %236 = load i32, ptr %5, align 4, !tbaa !10
  %237 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  %238 = call i32 @atoi(ptr noundef %237) #11
  %239 = icmp eq i32 %236, %238
  br i1 %239, label %240, label %255

240:                                              ; preds = %235
  %241 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #1
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #1
  invoke void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %241, ptr noundef nonnull align 8 dereferenceable(24) %23, i1 noundef zeroext false)
          to label %242 unwind label %251

242:                                              ; preds = %240
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #1
  br label %255

243:                                              ; preds = %230
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %8, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %9, align 4
  br label %535

247:                                              ; preds = %231
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %8, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %9, align 4
  br label %534

251:                                              ; preds = %240
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %8, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %9, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #1
  br label %533

255:                                              ; preds = %242, %235, %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #1
  store i64 0, ptr %24, align 8, !tbaa !17
  br label %256

256:                                              ; preds = %488, %255
  %257 = load i64, ptr %24, align 8, !tbaa !17
  %258 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #1
  %259 = icmp ult i64 %257, %258
  br i1 %259, label %261, label %260

260:                                              ; preds = %256
  store i32 10, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #1
  br label %496

261:                                              ; preds = %256
  %262 = load i64, ptr %24, align 8, !tbaa !17
  %263 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %262) #1
  %264 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %263) #1
  br i1 %264, label %265, label %266

265:                                              ; preds = %261
  br label %488

266:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #1
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #1
  store i64 0, ptr %27, align 8, !tbaa !17
  br label %267

267:                                              ; preds = %306, %266
  %268 = load i64, ptr %27, align 8, !tbaa !17
  %269 = load i64, ptr %24, align 8, !tbaa !17
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %269) #1
  %271 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %270) #1
  %272 = icmp ult i64 %268, %271
  br i1 %272, label %274, label %273

273:                                              ; preds = %267
  store i32 13, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #1
  br label %313

274:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #1
  %275 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  %276 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %275, ptr %276, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #1
  %277 = load i64, ptr %24, align 8, !tbaa !17
  %278 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %277) #1
  %279 = load i64, ptr %27, align 8, !tbaa !17
  %280 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %278, i64 noundef %279) #1
  %281 = load i32, ptr %280, align 4, !tbaa !10
  %282 = sext i32 %281 to i64
  %283 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %282) #1
  %284 = getelementptr inbounds %struct.Cluster, ptr %283, i32 0, i32 0
  %285 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %284) #1
  %286 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %285, ptr %286, align 8
  %287 = load i64, ptr %24, align 8, !tbaa !17
  %288 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %287) #1
  %289 = load i64, ptr %27, align 8, !tbaa !17
  %290 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %288, i64 noundef %289) #1
  %291 = load i32, ptr %290, align 4, !tbaa !10
  %292 = sext i32 %291 to i64
  %293 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %292) #1
  %294 = getelementptr inbounds %struct.Cluster, ptr %293, i32 0, i32 0
  %295 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %294) #1
  %296 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  store ptr %295, ptr %296, align 8
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.25", ptr %28, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8
  %299 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  %300 = load ptr, ptr %299, align 8
  %301 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  %302 = load ptr, ptr %301, align 8
  %303 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEvEES6_NS4_IPKjS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr %298, ptr %300, ptr %302)
          to label %304 unwind label %309

304:                                              ; preds = %274
  %305 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %32, i32 0, i32 0
  store ptr %303, ptr %305, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #1
  br label %306

306:                                              ; preds = %304
  %307 = load i64, ptr %27, align 8, !tbaa !17
  %308 = add i64 %307, 1
  store i64 %308, ptr %27, align 8, !tbaa !17
  br label %267, !llvm.loop !25

309:                                              ; preds = %274
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %8, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #1
  br label %495

313:                                              ; preds = %273
  %314 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  %315 = icmp ne ptr %314, null
  br i1 %315, label %316, label %352

316:                                              ; preds = %313
  %317 = load i32, ptr %5, align 4, !tbaa !10
  %318 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  %319 = call i32 @atoi(ptr noundef %318) #11
  %320 = icmp eq i32 %317, %319
  br i1 %320, label %321, label %352

321:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #1
  store i64 0, ptr %33, align 8, !tbaa !17
  br label %322

322:                                              ; preds = %339, %321
  %323 = load i64, ptr %33, align 8, !tbaa !17
  %324 = load i64, ptr %24, align 8, !tbaa !17
  %325 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %324) #1
  %326 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %325) #1
  %327 = icmp ult i64 %323, %326
  br i1 %327, label %329, label %328

328:                                              ; preds = %322
  store i32 16, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #1
  br label %346

329:                                              ; preds = %322
  %330 = load i64, ptr %24, align 8, !tbaa !17
  %331 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %330) #1
  %332 = load i64, ptr %33, align 8, !tbaa !17
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %331, i64 noundef %332) #1
  %334 = load i32, ptr %333, align 4, !tbaa !10
  %335 = sext i32 %334 to i64
  %336 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %335) #1
  %337 = getelementptr inbounds %struct.Cluster, ptr %336, i32 0, i32 0
  invoke void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef @.str.9, ptr noundef nonnull align 8 dereferenceable(24) %337)
          to label %338 unwind label %342

338:                                              ; preds = %329
  br label %339

339:                                              ; preds = %338
  %340 = load i64, ptr %33, align 8, !tbaa !17
  %341 = add i64 %340, 1
  store i64 %341, ptr %33, align 8, !tbaa !17
  br label %322, !llvm.loop !26

342:                                              ; preds = %329
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %8, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #1
  br label %495

346:                                              ; preds = %328
  invoke void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef @.str.10, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %347 unwind label %348

347:                                              ; preds = %346
  br label %352

348:                                              ; preds = %346
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %8, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %9, align 4
  br label %495

352:                                              ; preds = %347, %316, %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #1
  %353 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  %354 = udiv i64 %353, 3
  %355 = udiv i64 %354, 2
  %356 = mul i64 %355, 3
  store i64 %356, ptr %34, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #1
  store float 0.000000e+00, ptr %35, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #1
  %357 = load ptr, ptr %3, align 8, !tbaa !5
  %358 = load i64, ptr %34, align 8, !tbaa !17
  invoke void @_ZL8simplifyRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEPKS_IhSaIhEEmPf(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %36, ptr noundef nonnull align 8 dereferenceable(24) %357, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef %6, i64 noundef %358, ptr noundef %35)
          to label %359 unwind label %378

359:                                              ; preds = %352
  %360 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #1
  %361 = uitofp i64 %360 to float
  %362 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  %363 = uitofp i64 %362 to float
  %364 = fmul float %363, 0x3FEB333340000000
  %365 = fcmp ogt float %361, %364
  br i1 %365, label %366, label %396

366:                                              ; preds = %359
  %367 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  %368 = udiv i64 %367, 3
  %369 = load i64, ptr %22, align 8, !tbaa !17
  %370 = add i64 %369, %368
  store i64 %370, ptr %22, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #1
  store i64 0, ptr %37, align 8, !tbaa !17
  br label %371

371:                                              ; preds = %388, %366
  %372 = load i64, ptr %37, align 8, !tbaa !17
  %373 = load i64, ptr %24, align 8, !tbaa !17
  %374 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %373) #1
  %375 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %374) #1
  %376 = icmp ult i64 %372, %375
  br i1 %376, label %382, label %377

377:                                              ; preds = %371
  store i32 19, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #1
  br label %395

378:                                              ; preds = %352
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %8, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %9, align 4
  br label %494

382:                                              ; preds = %371
  %383 = load i64, ptr %24, align 8, !tbaa !17
  %384 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %383) #1
  %385 = load i64, ptr %37, align 8, !tbaa !17
  %386 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %384, i64 noundef %385) #1
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(4) %386)
          to label %387 unwind label %391

387:                                              ; preds = %382
  br label %388

388:                                              ; preds = %387
  %389 = load i64, ptr %37, align 8, !tbaa !17
  %390 = add i64 %389, 1
  store i64 %390, ptr %37, align 8, !tbaa !17
  br label %371, !llvm.loop !27

391:                                              ; preds = %382
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %8, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #1
  br label %493

395:                                              ; preds = %377
  store i32 12, ptr %25, align 4
  br label %485

396:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 20, ptr %38) #1
  %397 = load i64, ptr %24, align 8, !tbaa !17
  %398 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %397) #1
  invoke void @_ZL11boundsMergeRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEE(ptr dead_on_unwind writable sret(%struct.LODBounds) align 4 %38, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %398)
          to label %399 unwind label %413

399:                                              ; preds = %396
  %400 = load float, ptr %35, align 4, !tbaa !20
  %401 = getelementptr inbounds %struct.LODBounds, ptr %38, i32 0, i32 2
  %402 = load float, ptr %401, align 4, !tbaa !28
  %403 = fadd float %402, %400
  store float %403, ptr %401, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #1
  %404 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZL10clusterizeRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr dead_on_unwind writable sret(%"class.std::vector.10") align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %404, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %405 unwind label %417

405:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #1
  store i64 0, ptr %40, align 8, !tbaa !17
  br label %406

406:                                              ; preds = %445, %405
  %407 = load i64, ptr %40, align 8, !tbaa !17
  %408 = load i64, ptr %24, align 8, !tbaa !17
  %409 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %408) #1
  %410 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %409) #1
  %411 = icmp ult i64 %407, %410
  br i1 %411, label %421, label %412

412:                                              ; preds = %406
  store i32 22, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #1
  br label %448

413:                                              ; preds = %396
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %8, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %9, align 4
  br label %492

417:                                              ; preds = %399
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %8, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %9, align 4
  br label %491

421:                                              ; preds = %406
  %422 = load i64, ptr %24, align 8, !tbaa !17
  %423 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %422) #1
  %424 = load i64, ptr %40, align 8, !tbaa !17
  %425 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %423, i64 noundef %424) #1
  %426 = load i32, ptr %425, align 4, !tbaa !10
  %427 = sext i32 %426 to i64
  %428 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %427) #1
  %429 = getelementptr inbounds %struct.Cluster, ptr %428, i32 0, i32 2
  %430 = getelementptr inbounds %struct.LODBounds, ptr %429, i32 0, i32 2
  %431 = load float, ptr %430, align 4, !tbaa !30
  %432 = fcmp oeq float %431, 0x47EFFFFFE0000000
  br i1 %432, label %433, label %434

433:                                              ; preds = %421
  br label %436

434:                                              ; preds = %421
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 354, ptr noundef @__PRETTY_FUNCTION__._Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE) #12
  unreachable

435:                                              ; No predecessors!
  br label %436

436:                                              ; preds = %435, %433
  %437 = load i64, ptr %24, align 8, !tbaa !17
  %438 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %437) #1
  %439 = load i64, ptr %40, align 8, !tbaa !17
  %440 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %438, i64 noundef %439) #1
  %441 = load i32, ptr %440, align 4, !tbaa !10
  %442 = sext i32 %441 to i64
  %443 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %442) #1
  %444 = getelementptr inbounds %struct.Cluster, ptr %443, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %444, ptr align 4 %38, i64 20, i1 false), !tbaa.struct !18
  br label %445

445:                                              ; preds = %436
  %446 = load i64, ptr %40, align 8, !tbaa !17
  %447 = add i64 %446, 1
  store i64 %447, ptr %40, align 8, !tbaa !17
  br label %406, !llvm.loop !36

448:                                              ; preds = %412
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #1
  store i64 0, ptr %41, align 8, !tbaa !17
  br label %449

449:                                              ; preds = %472, %448
  %450 = load i64, ptr %41, align 8, !tbaa !17
  %451 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #1
  %452 = icmp ult i64 %450, %451
  br i1 %452, label %454, label %453

453:                                              ; preds = %449
  store i32 25, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #1
  br label %484

454:                                              ; preds = %449
  %455 = load i64, ptr %41, align 8, !tbaa !17
  %456 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %455) #1
  %457 = getelementptr inbounds %struct.Cluster, ptr %456, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %457, ptr align 4 %38, i64 20, i1 false), !tbaa.struct !18
  %458 = load i64, ptr %41, align 8, !tbaa !17
  %459 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %458) #1
  invoke void @_ZNSt6vectorI7ClusterSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(64) %459)
          to label %460 unwind label %475

460:                                              ; preds = %454
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #1
  %461 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  %462 = trunc i64 %461 to i32
  %463 = sub nsw i32 %462, 1
  store i32 %463, ptr %42, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %464 unwind label %479

464:                                              ; preds = %460
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #1
  %465 = load i64, ptr %41, align 8, !tbaa !17
  %466 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %465) #1
  %467 = getelementptr inbounds %struct.Cluster, ptr %466, i32 0, i32 0
  %468 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %467) #1
  %469 = udiv i64 %468, 3
  %470 = load i64, ptr %21, align 8, !tbaa !17
  %471 = add i64 %470, %469
  store i64 %471, ptr %21, align 8, !tbaa !17
  br label %472

472:                                              ; preds = %464
  %473 = load i64, ptr %41, align 8, !tbaa !17
  %474 = add i64 %473, 1
  store i64 %474, ptr %41, align 8, !tbaa !17
  br label %449, !llvm.loop !37

475:                                              ; preds = %454
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %8, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %9, align 4
  br label %483

479:                                              ; preds = %460
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %8, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #1
  br label %483

483:                                              ; preds = %479, %475
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #1
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #1
  br label %491

484:                                              ; preds = %453
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #1
  call void @llvm.lifetime.end.p0(i64 20, ptr %38) #1
  store i32 0, ptr %25, align 4
  br label %485

485:                                              ; preds = %484, %395
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #1
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #1
  %486 = load i32, ptr %25, align 4
  switch i32 %486, label %776 [
    i32 0, label %487
    i32 12, label %488
  ]

487:                                              ; preds = %485
  br label %488

488:                                              ; preds = %487, %485, %265
  %489 = load i64, ptr %24, align 8, !tbaa !17
  %490 = add i64 %489, 1
  store i64 %490, ptr %24, align 8, !tbaa !17
  br label %256, !llvm.loop !38

491:                                              ; preds = %483, %417
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #1
  br label %492

492:                                              ; preds = %491, %413
  call void @llvm.lifetime.end.p0(i64 20, ptr %38) #1
  br label %493

493:                                              ; preds = %492, %391
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #1
  br label %494

494:                                              ; preds = %493, %378
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #1
  br label %495

495:                                              ; preds = %494, %348, %342, %309
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #1
  br label %533

496:                                              ; preds = %260
  %497 = load i32, ptr %5, align 4, !tbaa !10
  invoke void @_ZL11dumpMetricsiRKSt6vectorI7ClusterSaIS0_EERKS_IS_IiSaIiEESaIS6_EERKS_IjSaIjEERKS_IhSaIhEERKS6_(i32 noundef %497, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %498 unwind label %506

498:                                              ; preds = %496
  %499 = load i32, ptr %5, align 4, !tbaa !10
  %500 = add nsw i32 %499, 1
  store i32 %500, ptr %5, align 4, !tbaa !10
  %501 = load i64, ptr %21, align 8, !tbaa !17
  %502 = load i64, ptr %22, align 8, !tbaa !17
  %503 = udiv i64 %502, 3
  %504 = icmp ult i64 %501, %503
  br i1 %504, label %505, label %510

505:                                              ; preds = %498
  store i32 9, ptr %25, align 4
  br label %526

506:                                              ; preds = %496
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %8, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %9, align 4
  br label %533

510:                                              ; preds = %498
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #1
  %511 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #1
  %512 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %44, i32 0, i32 0
  store ptr %511, ptr %512, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #1
  %513 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #1
  %514 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %45, i32 0, i32 0
  store ptr %513, ptr %514, align 8
  %515 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #1
  %516 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %46, i32 0, i32 0
  store ptr %515, ptr %516, align 8
  %517 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %43, i32 0, i32 0
  %518 = load ptr, ptr %517, align 8
  %519 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %45, i32 0, i32 0
  %520 = load ptr, ptr %519, align 8
  %521 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %46, i32 0, i32 0
  %522 = load ptr, ptr %521, align 8
  %523 = invoke ptr @_ZNSt6vectorIiSaIiEE6insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEvEES6_NS4_IPKiS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %518, ptr %520, ptr %522)
          to label %524 unwind label %529

524:                                              ; preds = %510
  %525 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %47, i32 0, i32 0
  store ptr %523, ptr %525, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #1
  store i32 0, ptr %25, align 4
  br label %526

526:                                              ; preds = %524, %505
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #1
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #1
  %527 = load i32, ptr %25, align 4
  switch i32 %527, label %776 [
    i32 0, label %528
    i32 9, label %536
  ]

528:                                              ; preds = %526
  br label %227, !llvm.loop !39

529:                                              ; preds = %510
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %8, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #1
  br label %533

533:                                              ; preds = %529, %506, %495, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #1
  br label %534

534:                                              ; preds = %533, %247
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #1
  br label %535

535:                                              ; preds = %534, %243
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #1
  br label %764

536:                                              ; preds = %526, %227
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #1
  store i64 0, ptr %48, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #1
  store i64 0, ptr %49, align 8, !tbaa !17
  br label %537

537:                                              ; preds = %558, %536
  %538 = load i64, ptr %49, align 8, !tbaa !17
  %539 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  %540 = icmp ult i64 %538, %539
  br i1 %540, label %542, label %541

541:                                              ; preds = %537
  store i32 28, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #1
  br label %561

542:                                              ; preds = %537
  %543 = load i64, ptr %49, align 8, !tbaa !17
  %544 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %543) #1
  %545 = getelementptr inbounds %struct.Cluster, ptr %544, i32 0, i32 2
  %546 = getelementptr inbounds %struct.LODBounds, ptr %545, i32 0, i32 2
  %547 = load float, ptr %546, align 4, !tbaa !30
  %548 = fcmp oeq float %547, 0x47EFFFFFE0000000
  br i1 %548, label %549, label %557

549:                                              ; preds = %542
  %550 = load i64, ptr %49, align 8, !tbaa !17
  %551 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %550) #1
  %552 = getelementptr inbounds %struct.Cluster, ptr %551, i32 0, i32 0
  %553 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %552) #1
  %554 = udiv i64 %553, 3
  %555 = load i64, ptr %48, align 8, !tbaa !17
  %556 = add i64 %555, %554
  store i64 %556, ptr %48, align 8, !tbaa !17
  br label %557

557:                                              ; preds = %549, %542
  br label %558

558:                                              ; preds = %557
  %559 = load i64, ptr %49, align 8, !tbaa !17
  %560 = add i64 %559, 1
  store i64 %560, ptr %49, align 8, !tbaa !17
  br label %537, !llvm.loop !40

561:                                              ; preds = %541
  %562 = load i64, ptr %48, align 8, !tbaa !17
  %563 = trunc i64 %562 to i32
  %564 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %563)
          to label %565 unwind label %572

565:                                              ; preds = %561
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #1
  store float 0.000000e+00, ptr %50, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #1
  store float 0.000000e+00, ptr %51, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #1
  store float 0.000000e+00, ptr %52, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #1
  store i64 0, ptr %53, align 8, !tbaa !17
  br label %566

566:                                              ; preds = %604, %565
  %567 = load i64, ptr %53, align 8, !tbaa !17
  %568 = load ptr, ptr %3, align 8, !tbaa !5
  %569 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %568) #1
  %570 = icmp ult i64 %567, %569
  br i1 %570, label %576, label %571

571:                                              ; preds = %566
  store i32 31, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #1
  br label %620

572:                                              ; preds = %561
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %8, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %9, align 4
  br label %763

576:                                              ; preds = %566
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #1
  %577 = load ptr, ptr %3, align 8, !tbaa !5
  %578 = load i64, ptr %53, align 8, !tbaa !17
  %579 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %577, i64 noundef %578) #1
  %580 = getelementptr inbounds %struct.Vertex, ptr %579, i32 0, i32 0
  %581 = load float, ptr %580, align 4, !tbaa !41
  %582 = fmul float %581, 2.000000e+00
  store float %582, ptr %54, align 4, !tbaa !20
  %583 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %584 unwind label %607

584:                                              ; preds = %576
  %585 = load float, ptr %583, align 4, !tbaa !20
  store float %585, ptr %50, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #1
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #1
  %586 = load ptr, ptr %3, align 8, !tbaa !5
  %587 = load i64, ptr %53, align 8, !tbaa !17
  %588 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %586, i64 noundef %587) #1
  %589 = getelementptr inbounds %struct.Vertex, ptr %588, i32 0, i32 1
  %590 = load float, ptr %589, align 4, !tbaa !43
  %591 = fmul float %590, 2.000000e+00
  store float %591, ptr %55, align 4, !tbaa !20
  %592 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %55)
          to label %593 unwind label %611

593:                                              ; preds = %584
  %594 = load float, ptr %592, align 4, !tbaa !20
  store float %594, ptr %51, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #1
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #1
  %595 = load ptr, ptr %3, align 8, !tbaa !5
  %596 = load i64, ptr %53, align 8, !tbaa !17
  %597 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %595, i64 noundef %596) #1
  %598 = getelementptr inbounds %struct.Vertex, ptr %597, i32 0, i32 2
  %599 = load float, ptr %598, align 4, !tbaa !44
  %600 = fmul float %599, 2.000000e+00
  store float %600, ptr %56, align 4, !tbaa !20
  %601 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %602 unwind label %615

602:                                              ; preds = %593
  %603 = load float, ptr %601, align 4, !tbaa !20
  store float %603, ptr %52, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #1
  br label %604

604:                                              ; preds = %602
  %605 = load i64, ptr %53, align 8, !tbaa !17
  %606 = add i64 %605, 1
  store i64 %606, ptr %53, align 8, !tbaa !17
  br label %566, !llvm.loop !45

607:                                              ; preds = %576
  %608 = landingpad { ptr, i32 }
          cleanup
  %609 = extractvalue { ptr, i32 } %608, 0
  store ptr %609, ptr %8, align 8
  %610 = extractvalue { ptr, i32 } %608, 1
  store i32 %610, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #1
  br label %619

611:                                              ; preds = %584
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %8, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #1
  br label %619

615:                                              ; preds = %593
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %8, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #1
  br label %619

619:                                              ; preds = %615, %611, %607
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #1
  br label %762

620:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #1
  store float 0x3F60624DE0000000, ptr %57, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #1
  store float 6.000000e+01, ptr %58, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #1
  store float 0x3F847AE140000000, ptr %59, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #1
  %621 = load float, ptr %58, align 4, !tbaa !20
  %622 = fmul float %621, 0x400921FB40000000
  %623 = fdiv float %622, 1.800000e+02
  %624 = fmul float %623, 5.000000e-01
  %625 = call float @tanf(float noundef %624) #1
  %626 = fdiv float 1.000000e+00, %625
  store float %626, ptr %60, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 24, ptr %61) #1
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #1
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #1
  store i64 0, ptr %62, align 8, !tbaa !17
  br label %627

627:                                              ; preds = %689, %620
  %628 = load i64, ptr %62, align 8, !tbaa !17
  %629 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  %630 = icmp ult i64 %628, %629
  br i1 %630, label %632, label %631

631:                                              ; preds = %627
  store i32 34, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #1
  br label %693

632:                                              ; preds = %627
  %633 = load i64, ptr %62, align 8, !tbaa !17
  %634 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %633) #1
  %635 = getelementptr inbounds %struct.Cluster, ptr %634, i32 0, i32 1
  %636 = load float, ptr %50, align 4, !tbaa !20
  %637 = load float, ptr %51, align 4, !tbaa !20
  %638 = load float, ptr %52, align 4, !tbaa !20
  %639 = load float, ptr %60, align 4, !tbaa !20
  %640 = load float, ptr %59, align 4, !tbaa !20
  %641 = invoke noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %635, float noundef %636, float noundef %637, float noundef %638, float noundef %639, float noundef %640)
          to label %642 unwind label %680

642:                                              ; preds = %632
  %643 = load float, ptr %57, align 4, !tbaa !20
  %644 = fcmp ole float %641, %643
  br i1 %644, label %645, label %688

645:                                              ; preds = %642
  %646 = load i64, ptr %62, align 8, !tbaa !17
  %647 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %646) #1
  %648 = getelementptr inbounds %struct.Cluster, ptr %647, i32 0, i32 2
  %649 = load float, ptr %50, align 4, !tbaa !20
  %650 = load float, ptr %51, align 4, !tbaa !20
  %651 = load float, ptr %52, align 4, !tbaa !20
  %652 = load float, ptr %60, align 4, !tbaa !20
  %653 = load float, ptr %59, align 4, !tbaa !20
  %654 = invoke noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %648, float noundef %649, float noundef %650, float noundef %651, float noundef %652, float noundef %653)
          to label %655 unwind label %680

655:                                              ; preds = %645
  %656 = load float, ptr %57, align 4, !tbaa !20
  %657 = fcmp ogt float %654, %656
  br i1 %657, label %658, label %688

658:                                              ; preds = %655
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #1
  %659 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #1
  %660 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %64, i32 0, i32 0
  store ptr %659, ptr %660, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %64) #1
  %661 = load i64, ptr %62, align 8, !tbaa !17
  %662 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %661) #1
  %663 = getelementptr inbounds %struct.Cluster, ptr %662, i32 0, i32 0
  %664 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %663) #1
  %665 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %65, i32 0, i32 0
  store ptr %664, ptr %665, align 8
  %666 = load i64, ptr %62, align 8, !tbaa !17
  %667 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %666) #1
  %668 = getelementptr inbounds %struct.Cluster, ptr %667, i32 0, i32 0
  %669 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %668) #1
  %670 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %66, i32 0, i32 0
  store ptr %669, ptr %670, align 8
  %671 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.25", ptr %63, i32 0, i32 0
  %672 = load ptr, ptr %671, align 8
  %673 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %65, i32 0, i32 0
  %674 = load ptr, ptr %673, align 8
  %675 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %66, i32 0, i32 0
  %676 = load ptr, ptr %675, align 8
  %677 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEvEES6_NS4_IPKjS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr %672, ptr %674, ptr %676)
          to label %678 unwind label %684

678:                                              ; preds = %658
  %679 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %67, i32 0, i32 0
  store ptr %677, ptr %679, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #1
  br label %688

680:                                              ; preds = %645, %632
  %681 = landingpad { ptr, i32 }
          cleanup
  %682 = extractvalue { ptr, i32 } %681, 0
  store ptr %682, ptr %8, align 8
  %683 = extractvalue { ptr, i32 } %681, 1
  store i32 %683, ptr %9, align 4
  br label %692

684:                                              ; preds = %658
  %685 = landingpad { ptr, i32 }
          cleanup
  %686 = extractvalue { ptr, i32 } %685, 0
  store ptr %686, ptr %8, align 8
  %687 = extractvalue { ptr, i32 } %685, 1
  store i32 %687, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #1
  br label %692

688:                                              ; preds = %678, %655, %642
  br label %689

689:                                              ; preds = %688
  %690 = load i64, ptr %62, align 8, !tbaa !17
  %691 = add i64 %690, 1
  store i64 %691, ptr %62, align 8, !tbaa !17
  br label %627, !llvm.loop !46

692:                                              ; preds = %684, %680
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #1
  br label %761

693:                                              ; preds = %631
  %694 = load float, ptr %57, align 4, !tbaa !20
  %695 = fpext float %694 to double
  %696 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #1
  %697 = udiv i64 %696, 3
  %698 = trunc i64 %697 to i32
  %699 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %695, i32 noundef %698)
          to label %700 unwind label %715

700:                                              ; preds = %693
  %701 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  %702 = icmp ne ptr %701, null
  br i1 %702, label %703, label %759

703:                                              ; preds = %700
  %704 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !5
  %705 = call i32 @atoi(ptr noundef %704) #11
  %706 = icmp eq i32 -1, %705
  br i1 %706, label %707, label %759

707:                                              ; preds = %703
  %708 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %708, ptr noundef nonnull align 8 dereferenceable(24) %61, i1 noundef zeroext false)
          to label %709 unwind label %715

709:                                              ; preds = %707
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #1
  store i64 0, ptr %68, align 8, !tbaa !17
  br label %710

710:                                              ; preds = %755, %709
  %711 = load i64, ptr %68, align 8, !tbaa !17
  %712 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  %713 = icmp ult i64 %711, %712
  br i1 %713, label %719, label %714

714:                                              ; preds = %710
  store i32 37, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #1
  br label %758

715:                                              ; preds = %707, %693
  %716 = landingpad { ptr, i32 }
          cleanup
  %717 = extractvalue { ptr, i32 } %716, 0
  store ptr %717, ptr %8, align 8
  %718 = extractvalue { ptr, i32 } %716, 1
  store i32 %718, ptr %9, align 4
  br label %761

719:                                              ; preds = %710
  %720 = load i64, ptr %68, align 8, !tbaa !17
  %721 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %720) #1
  %722 = getelementptr inbounds %struct.Cluster, ptr %721, i32 0, i32 1
  %723 = load float, ptr %50, align 4, !tbaa !20
  %724 = load float, ptr %51, align 4, !tbaa !20
  %725 = load float, ptr %52, align 4, !tbaa !20
  %726 = load float, ptr %60, align 4, !tbaa !20
  %727 = load float, ptr %59, align 4, !tbaa !20
  %728 = invoke noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %722, float noundef %723, float noundef %724, float noundef %725, float noundef %726, float noundef %727)
          to label %729 unwind label %750

729:                                              ; preds = %719
  %730 = load float, ptr %57, align 4, !tbaa !20
  %731 = fcmp ole float %728, %730
  br i1 %731, label %732, label %754

732:                                              ; preds = %729
  %733 = load i64, ptr %68, align 8, !tbaa !17
  %734 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %733) #1
  %735 = getelementptr inbounds %struct.Cluster, ptr %734, i32 0, i32 2
  %736 = load float, ptr %50, align 4, !tbaa !20
  %737 = load float, ptr %51, align 4, !tbaa !20
  %738 = load float, ptr %52, align 4, !tbaa !20
  %739 = load float, ptr %60, align 4, !tbaa !20
  %740 = load float, ptr %59, align 4, !tbaa !20
  %741 = invoke noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %735, float noundef %736, float noundef %737, float noundef %738, float noundef %739, float noundef %740)
          to label %742 unwind label %750

742:                                              ; preds = %732
  %743 = load float, ptr %57, align 4, !tbaa !20
  %744 = fcmp ogt float %741, %743
  br i1 %744, label %745, label %754

745:                                              ; preds = %742
  %746 = load i64, ptr %68, align 8, !tbaa !17
  %747 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %746) #1
  %748 = getelementptr inbounds %struct.Cluster, ptr %747, i32 0, i32 0
  invoke void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef @.str.9, ptr noundef nonnull align 8 dereferenceable(24) %748)
          to label %749 unwind label %750

749:                                              ; preds = %745
  br label %754

750:                                              ; preds = %745, %732, %719
  %751 = landingpad { ptr, i32 }
          cleanup
  %752 = extractvalue { ptr, i32 } %751, 0
  store ptr %752, ptr %8, align 8
  %753 = extractvalue { ptr, i32 } %751, 1
  store i32 %753, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #1
  br label %761

754:                                              ; preds = %749, %742, %729
  br label %755

755:                                              ; preds = %754
  %756 = load i64, ptr %68, align 8, !tbaa !17
  %757 = add i64 %756, 1
  store i64 %757, ptr %68, align 8, !tbaa !17
  br label %710, !llvm.loop !47

758:                                              ; preds = %714
  br label %759

759:                                              ; preds = %758, %703, %700
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #1
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #1
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #1
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #1
  br label %760

760:                                              ; preds = %759, %83
  ret void

761:                                              ; preds = %750, %715, %692
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #1
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #1
  br label %762

762:                                              ; preds = %761, %619
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #1
  br label %763

763:                                              ; preds = %762, %572
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #1
  br label %764

764:                                              ; preds = %763, %535
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #1
  br label %765

765:                                              ; preds = %764, %214
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #1
  br label %766

766:                                              ; preds = %765, %210, %190
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #1
  br label %767

767:                                              ; preds = %766, %174
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #1
  br label %768

768:                                              ; preds = %767, %170
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #1
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #1
  br label %769

769:                                              ; preds = %768, %166
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #1
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #1
  br label %770

770:                                              ; preds = %769, %162
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #1
  br label %771

771:                                              ; preds = %770
  %772 = load ptr, ptr %8, align 8
  %773 = load i32, ptr %9, align 4
  %774 = insertvalue { ptr, i32 } poison, ptr %772, 0
  %775 = insertvalue { ptr, i32 } %774, i32 %773, 1
  resume { ptr, i32 } %775

776:                                              ; preds = %526, %485
  unreachable
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #1

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #2

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #1

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9loadMetisv() #4

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare i64 @meshopt_generateVertexRemapMulti(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #5

; 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) #4 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) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10clusterizeRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.10") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL6boundsRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEf(ptr dead_on_unwind noalias writable sret(%struct.LODBounds) align 4, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), float noundef) #0

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

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

; Function Attrs: nounwind
declare double @log2(double noundef) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL9partitionRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEERKS_IjSaIjEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.20") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12lockBoundaryRSt6vectorIhSaIhEERKS_IS_IiSaIiEESaIS4_EERKS_I7ClusterSaIS9_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

declare void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #5

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

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

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

declare void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8simplifyRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEPKS_IhSaIhEEmPf(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11boundsMergeRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEE(ptr dead_on_unwind noalias writable sret(%struct.LODBounds) align 4, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7ClusterSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11dumpMetricsiRKSt6vectorI7ClusterSaIS0_EERKS_IS_IiSaIiEESaIS6_EERKS_IjSaIjEERKS_IhSaIhEERKS6_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #10

; Function Attrs: nounwind
declare float @tanf(float noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20), float noundef, float noundef, float noundef, float noundef, float noundef) #4

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

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

attributes #0 = { 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 #1 = { nounwind }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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 #10 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTS14meshopt_Stream", !6, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !14, i64 16}
!17 = !{!14, !14, i64 0}
!18 = !{i64 0, i64 12, !19, i64 12, i64 4, !20, i64 16, i64 4, !20}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
!27 = distinct !{!27, !23}
!28 = !{!29, !21, i64 16}
!29 = !{!"_ZTS9LODBounds", !7, i64 0, !21, i64 12, !21, i64 16}
!30 = !{!31, !21, i64 60}
!31 = !{!"_ZTS7Cluster", !32, i64 0, !29, i64 24, !29, i64 44}
!32 = !{!"_ZTSSt6vectorIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = distinct !{!36, !23}
!37 = distinct !{!37, !23}
!38 = distinct !{!38, !23}
!39 = distinct !{!39, !23}
!40 = distinct !{!40, !23}
!41 = !{!42, !21, i64 0}
!42 = !{!"_ZTS6Vertex", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28}
!43 = !{!42, !21, i64 4}
!44 = !{!42, !21, i64 8}
!45 = distinct !{!45, !23}
!46 = distinct !{!46, !23}
!47 = distinct !{!47, !23}


; 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = 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 }
%struct.meshopt_Stream = type { ptr, i64, i64 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl" }
%"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl" = type { %"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Cluster, std::allocator<Cluster>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.LODBounds = type { [3 x float], float, float }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.17" = type { i8 }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.25" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.27" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }

@_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt = external hidden local_unnamed_addr global ptr, align 8
@_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis = external hidden local_unnamed_addr global ptr, align 8
@_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZL5METIS = external hidden local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump = external hidden local_unnamed_addr global ptr, align 8
@_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump = external hidden global i64, align 8
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__._Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE = external hidden unnamed_addr constant [76 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.5", align 8
  %4 = alloca %"class.std::allocator.7", align 1
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = alloca %struct.meshopt_Stream, align 8
  %8 = alloca %"class.std::vector.10", align 8
  %9 = alloca %struct.LODBounds, align 4
  %10 = alloca %"class.std::vector.15", align 8
  %11 = alloca %"class.std::allocator.17", align 1
  %12 = alloca %"class.std::vector.20", align 8
  %13 = alloca %"class.std::vector.15", align 8
  %14 = alloca %"class.std::vector.0", align 8
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.25", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca float, align 4
  %19 = alloca %"class.std::vector.0", align 8
  %20 = alloca %struct.LODBounds, align 4
  %21 = alloca %"class.std::vector.10", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.25", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = load atomic i8, ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt acquire, align 8
  %35 = icmp eq i8 %34, 0
  br i1 %35, label %36, label %40, !prof !5

36:                                               ; preds = %2
  %37 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt) #13
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %40, label %38

38:                                               ; preds = %36
  %39 = tail call ptr @getenv(ptr noundef nonnull @.str) #13
  store ptr %39, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt, align 8, !tbaa !6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt) #13
  br label %40

40:                                               ; preds = %38, %36, %2
  %41 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4clrt, align 8, !tbaa !6
  %.not161 = icmp eq ptr %41, null
  br i1 %.not161, label %45, label %42

42:                                               ; preds = %40
  %43 = tail call i32 @atoi(ptr nocapture noundef %41) #14
  %.not162 = icmp eq i32 %43, 0
  br i1 %.not162, label %45, label %44

44:                                               ; preds = %42
  tail call void @_Z4clrtRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1)
  br label %402

45:                                               ; preds = %42, %40
  %46 = load atomic i8, ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis acquire, align 8
  %47 = icmp eq i8 %46, 0
  br i1 %47, label %48, label %52, !prof !5

48:                                               ; preds = %45
  %49 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis) #13
  %.not163 = icmp eq i32 %49, 0
  br i1 %.not163, label %52, label %50

50:                                               ; preds = %48
  %51 = tail call ptr @getenv(ptr noundef nonnull @.str.1) #13
  store ptr %51, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis, align 8, !tbaa !6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis) #13
  br label %52

52:                                               ; preds = %50, %48, %45
  %53 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE5metis, align 8, !tbaa !6
  %.not164 = icmp eq ptr %53, null
  br i1 %.not164, label %.thread, label %54

.thread:                                          ; preds = %52
  store i32 0, ptr @_ZL5METIS, align 4, !tbaa !10
  br label %68

54:                                               ; preds = %52
  %55 = tail call i32 @atoi(ptr nocapture noundef %53) #14
  store i32 %55, ptr @_ZL5METIS, align 4, !tbaa !10
  %.not165 = icmp eq i32 %55, 0
  br i1 %.not165, label %68, label %56

56:                                               ; preds = %54
  %57 = tail call noundef zeroext i1 @_ZL9loadMetisv()
  br i1 %57, label %58, label %66

58:                                               ; preds = %56
  %59 = load i32, ptr @_ZL5METIS, align 4, !tbaa !10
  %60 = and i32 %59, 3
  %61 = icmp eq i32 %60, 3
  %62 = and i32 %59, 1
  %.not166 = icmp eq i32 %62, 0
  %63 = select i1 %.not166, ptr @.str.5, ptr @.str.4
  %64 = select i1 %61, ptr @.str.3, ptr %63
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef nonnull %64)
  br label %68

66:                                               ; preds = %56
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  store i32 0, ptr @_ZL5METIS, align 4, !tbaa !10
  br label %68

68:                                               ; preds = %.thread, %58, %66, %54
  %69 = load atomic i8, ptr @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump acquire, align 8
  %70 = icmp eq i8 %69, 0
  br i1 %70, label %71, label %75, !prof !5

71:                                               ; preds = %68
  %72 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump) #13
  %.not167 = icmp eq i32 %72, 0
  br i1 %.not167, label %75, label %73

73:                                               ; preds = %71
  %74 = tail call ptr @getenv(ptr noundef nonnull @.str.7) #13
  store ptr %74, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump) #13
  br label %75

75:                                               ; preds = %73, %71, %68
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #13
  %76 = tail call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #13
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #13
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %76, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %77 unwind label %97

77:                                               ; preds = %75
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #13
  %78 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #13
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #13
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %78, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %79 unwind label %99

79:                                               ; preds = %77
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #13
  %80 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #13
  store ptr %80, ptr %7, align 8, !tbaa !12
  %81 = getelementptr inbounds i8, ptr %7, i64 8
  store i64 12, ptr %81, align 8, !tbaa !15
  %82 = getelementptr inbounds i8, ptr %7, i64 16
  store i64 32, ptr %82, align 8, !tbaa !16
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #13
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #13
  %85 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #13
  %86 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #13
  %87 = invoke i64 @meshopt_generateVertexRemapMulti(ptr noundef nonnull %83, ptr noundef nonnull %84, i64 noundef %85, i64 noundef %86, ptr noundef nonnull %7, i64 noundef 1)
          to label %88 unwind label %101

88:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #13
  invoke void @_ZL10clusterizeRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.10") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %.preheader200 unwind label %103

.preheader200:                                    ; preds = %88
  %89 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %.not270 = icmp eq i64 %89, 0
  br i1 %.not270, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %106, %.preheader200
  %90 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #13
  %91 = udiv i64 %90, 3
  %92 = uitofp nneg i64 %91 to double
  %93 = fmul double %92, 7.812500e-03
  %94 = call double @log2(double noundef %93) #13
  %95 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %94)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #13
  %96 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #13
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #13
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %96, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %114 unwind label %119

97:                                               ; preds = %75
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #13
  br label %410

99:                                               ; preds = %77
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #13
  br label %409

101:                                              ; preds = %79
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %408

103:                                              ; preds = %88
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %407

.lr.ph:                                           ; preds = %.preheader200, %106
  %.0136223 = phi i64 [ %109, %106 ], [ 0, %.preheader200 ]
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #13
  %105 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0136223) #13
  invoke void @_ZL6boundsRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEf(ptr dead_on_unwind nonnull writable sret(%struct.LODBounds) align 4 %9, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %105, float noundef 0.000000e+00)
          to label %106 unwind label %112

106:                                              ; preds = %.lr.ph
  %107 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0136223) #13
  %108 = getelementptr inbounds i8, ptr %107, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %108, ptr noundef nonnull align 4 dereferenceable(20) %9, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #13
  %109 = add nuw i64 %.0136223, 1
  %110 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %111 = icmp ult i64 %109, %110
  br i1 %111, label %.lr.ph, label %._crit_edge, !llvm.loop !21

112:                                              ; preds = %.lr.ph
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #13
  br label %406

114:                                              ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #13
  %115 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %.not271 = icmp eq i64 %115, 0
  br i1 %.not271, label %.preheader198, label %.lr.ph226

.preheader198:                                    ; preds = %.lr.ph226, %114
  %116 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #13
  %117 = icmp ugt i64 %116, 1
  br i1 %117, label %.lr.ph253, label %.loopexit199

.lr.ph253:                                        ; preds = %.preheader198
  %118 = getelementptr inbounds i8, ptr %20, i64 16
  br label %126

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

.lr.ph226:                                        ; preds = %114, %.lr.ph226
  %.0137224 = phi i64 [ %123, %.lr.ph226 ], [ 0, %114 ]
  %121 = trunc i64 %.0137224 to i32
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.0137224) #13
  store i32 %121, ptr %122, align 4, !tbaa !10
  %123 = add nuw i64 %.0137224, 1
  %124 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %125 = icmp ult i64 %123, %124
  br i1 %125, label %.lr.ph226, label %.preheader198, !llvm.loop !23

126:                                              ; preds = %.lr.ph253, %291
  %.0116252 = phi i32 [ 0, %.lr.ph253 ], [ %281, %291 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #13
  invoke void @_ZL9partitionRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEERKS_IjSaIjEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.20") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %127 unwind label %135

127:                                              ; preds = %126
  invoke void @_ZL12lockBoundaryRSt6vectorIhSaIhEERKS_IS_IiSaIiEESaIS4_EERKS_I7ClusterSaIS9_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %128 unwind label %137

128:                                              ; preds = %127
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #13
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  %129 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !6
  %.not168 = icmp eq ptr %129, null
  br i1 %.not168, label %141, label %130

130:                                              ; preds = %128
  %131 = call i32 @atoi(ptr nocapture noundef %129) #14
  %132 = icmp eq i32 %.0116252, %131
  br i1 %132, label %133, label %141

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #13
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %14, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #13
  invoke void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %14, i1 noundef zeroext false)
          to label %134 unwind label %139

134:                                              ; preds = %133
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #13
  br label %141

135:                                              ; preds = %126
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %298

137:                                              ; preds = %127
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %297

139:                                              ; preds = %133
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #13
  br label %296

141:                                              ; preds = %134, %130, %128
  %142 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #13
  %.not272 = icmp eq i64 %142, 0
  br i1 %.not272, label %._crit_edge249, label %.lr.ph248

._crit_edge249:                                   ; preds = %271, %141
  %.0142.lcssa = phi i64 [ 0, %141 ], [ %.2144, %271 ]
  %.0138.lcssa = phi i64 [ 0, %141 ], [ %.3141, %271 ]
  invoke void @_ZL11dumpMetricsiRKSt6vectorI7ClusterSaIS0_EERKS_IS_IiSaIiEESaIS6_EERKS_IjSaIjEERKS_IhSaIhEERKS6_(i32 noundef %.0116252, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %280 unwind label %283

.lr.ph248:                                        ; preds = %141, %271
  %.0138246 = phi i64 [ %.3141, %271 ], [ 0, %141 ]
  %.0142245 = phi i64 [ %.2144, %271 ], [ 0, %141 ]
  %.0149243 = phi i64 [ %272, %271 ], [ 0, %141 ]
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %144 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #13
  br i1 %144, label %271, label %145

145:                                              ; preds = %.lr.ph248
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #13
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %147 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #13
  %.not273 = icmp eq i64 %147, 0
  br i1 %.not273, label %._crit_edge230, label %.lr.ph229

._crit_edge230:                                   ; preds = %164, %145
  %148 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !6
  %.not171 = icmp eq ptr %148, null
  br i1 %.not171, label %190, label %171

.lr.ph229:                                        ; preds = %145, %164
  %.0151227 = phi i64 [ %165, %164 ], [ 0, %145 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #13
  %149 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  store ptr %149, ptr %17, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #13
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %.0151227) #13
  %152 = load i32, ptr %151, align 4, !tbaa !10
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %153) #13
  %155 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #13
  %156 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %156, i64 noundef %.0151227) #13
  %158 = load i32, ptr %157, align 4, !tbaa !10
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %159) #13
  %161 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %160) #13
  %162 = load ptr, ptr %16, align 8
  %163 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEvEES6_NS4_IPKjS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr %162, ptr %155, ptr %161)
          to label %164 unwind label %169

164:                                              ; preds = %.lr.ph229
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #13
  %165 = add nuw i64 %.0151227, 1
  %166 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %167 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %166) #13
  %168 = icmp ult i64 %165, %167
  br i1 %168, label %.lr.ph229, label %._crit_edge230, !llvm.loop !24

169:                                              ; preds = %.lr.ph229
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #13
  br label %279

171:                                              ; preds = %._crit_edge230
  %172 = call i32 @atoi(ptr nocapture noundef %148) #14
  %173 = icmp eq i32 %.0116252, %172
  br i1 %173, label %.preheader197, label %190

.preheader197:                                    ; preds = %171
  %174 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %175 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #13
  %.not274 = icmp eq i64 %175, 0
  br i1 %.not274, label %._crit_edge233, label %.lr.ph232

._crit_edge233:                                   ; preds = %181, %.preheader197
  invoke void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef nonnull @.str.10, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %190 unwind label %188

.lr.ph232:                                        ; preds = %.preheader197, %181
  %.0155231 = phi i64 [ %182, %181 ], [ 0, %.preheader197 ]
  %176 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %176, i64 noundef %.0155231) #13
  %178 = load i32, ptr %177, align 4, !tbaa !10
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %179) #13
  invoke void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef nonnull @.str.9, ptr noundef nonnull align 8 dereferenceable(24) %180)
          to label %181 unwind label %186

181:                                              ; preds = %.lr.ph232
  %182 = add nuw i64 %.0155231, 1
  %183 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %184 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %183) #13
  %185 = icmp ult i64 %182, %184
  br i1 %185, label %.lr.ph232, label %._crit_edge233, !llvm.loop !25

186:                                              ; preds = %.lr.ph232
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %279

188:                                              ; preds = %._crit_edge233
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %279

190:                                              ; preds = %._crit_edge233, %171, %._crit_edge230
  %191 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  %192 = udiv i64 %191, 6
  %193 = mul nuw nsw i64 %192, 3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #13
  store float 0.000000e+00, ptr %18, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #13
  invoke void @_ZL8simplifyRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEPKS_IhSaIhEEmPf(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull %3, i64 noundef %193, ptr noundef nonnull %18)
          to label %194 unwind label %207

194:                                              ; preds = %190
  %195 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #13
  %196 = uitofp i64 %195 to float
  %197 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  %198 = uitofp i64 %197 to float
  %199 = fmul float %198, 0x3FEB333340000000
  %200 = fcmp olt float %199, %196
  br i1 %200, label %201, label %218

201:                                              ; preds = %194
  %202 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  %203 = udiv i64 %202, 3
  %204 = add i64 %203, %.0142245
  %205 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %206 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #13
  %.not277 = icmp eq i64 %206, 0
  br i1 %.not277, label %.loopexit194, label %.lr.ph242

207:                                              ; preds = %190
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %278

.lr.ph242:                                        ; preds = %201, %211
  %.0154240 = phi i64 [ %212, %211 ], [ 0, %201 ]
  %209 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %.0154240) #13
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %210)
          to label %211 unwind label %216

211:                                              ; preds = %.lr.ph242
  %212 = add nuw i64 %.0154240, 1
  %213 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %214 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #13
  %215 = icmp ult i64 %212, %214
  br i1 %215, label %.lr.ph242, label %.loopexit194, !llvm.loop !26

216:                                              ; preds = %.lr.ph242
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %277

218:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %20) #13
  %219 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  invoke void @_ZL11boundsMergeRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEE(ptr dead_on_unwind nonnull writable sret(%struct.LODBounds) align 4 %20, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %219)
          to label %220 unwind label %227

220:                                              ; preds = %218
  %221 = load float, ptr %18, align 4, !tbaa !19
  %222 = load float, ptr %118, align 4, !tbaa !27
  %223 = fadd float %221, %222
  store float %223, ptr %118, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #13
  invoke void @_ZL10clusterizeRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.10") align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %.preheader196 unwind label %229

.preheader196:                                    ; preds = %220
  %224 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %225 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %224) #13
  %.not275 = icmp eq i64 %225, 0
  br i1 %.not275, label %.preheader195, label %.lr.ph235

.preheader195:                                    ; preds = %240, %.preheader196
  %226 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #13
  %.not276 = icmp eq i64 %226, 0
  br i1 %.not276, label %._crit_edge239, label %.lr.ph238

227:                                              ; preds = %218
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %276

229:                                              ; preds = %220
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %275

.lr.ph235:                                        ; preds = %.preheader196, %240
  %.0153234 = phi i64 [ %247, %240 ], [ 0, %.preheader196 ]
  %231 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %.0153234) #13
  %233 = load i32, ptr %232, align 4, !tbaa !10
  %234 = sext i32 %233 to i64
  %235 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %234) #13
  %236 = getelementptr inbounds i8, ptr %235, i64 60
  %237 = load float, ptr %236, align 4, !tbaa !29
  %238 = fcmp oeq float %237, 0x47EFFFFFE0000000
  br i1 %238, label %240, label %239

239:                                              ; preds = %.lr.ph235
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef 354, ptr noundef nonnull @__PRETTY_FUNCTION__._Z6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE) #15
  unreachable

240:                                              ; preds = %.lr.ph235
  %241 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %241, i64 noundef %.0153234) #13
  %243 = load i32, ptr %242, align 4, !tbaa !10
  %244 = sext i32 %243 to i64
  %245 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %244) #13
  %246 = getelementptr inbounds i8, ptr %245, i64 44
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %246, ptr noundef nonnull align 4 dereferenceable(20) %20, i64 20, i1 false), !tbaa.struct !17
  %247 = add nuw i64 %.0153234, 1
  %248 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0149243) #13
  %249 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %248) #13
  %250 = icmp ult i64 %247, %249
  br i1 %250, label %.lr.ph235, label %.preheader195, !llvm.loop !35

._crit_edge239:                                   ; preds = %258, %.preheader195
  %.1139.lcssa = phi i64 [ %.0138246, %.preheader195 ], [ %262, %258 ]
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #13
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %20) #13
  br label %.loopexit194

.lr.ph238:                                        ; preds = %.preheader195, %258
  %.1139237 = phi i64 [ %262, %258 ], [ %.0138246, %.preheader195 ]
  %.0152236 = phi i64 [ %263, %258 ], [ 0, %.preheader195 ]
  %251 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %.0152236) #13
  %252 = getelementptr inbounds i8, ptr %251, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %252, ptr noundef nonnull align 4 dereferenceable(20) %20, i64 20, i1 false), !tbaa.struct !17
  %253 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %.0152236) #13
  invoke void @_ZNSt6vectorI7ClusterSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(64) %253)
          to label %254 unwind label %266

254:                                              ; preds = %.lr.ph238
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #13
  %255 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %256 = trunc i64 %255 to i32
  %257 = add nsw i32 %256, -1
  store i32 %257, ptr %22, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %258 unwind label %268

258:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #13
  %259 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %.0152236) #13
  %260 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %259) #13
  %261 = udiv i64 %260, 3
  %262 = add i64 %261, %.1139237
  %263 = add nuw i64 %.0152236, 1
  %264 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #13
  %265 = icmp ult i64 %263, %264
  br i1 %265, label %.lr.ph238, label %._crit_edge239, !llvm.loop !36

266:                                              ; preds = %.lr.ph238
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %270

268:                                              ; preds = %254
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #13
  br label %270

270:                                              ; preds = %268, %266
  %.pn172 = phi { ptr, i32 } [ %269, %268 ], [ %267, %266 ]
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #13
  br label %275

.loopexit194:                                     ; preds = %211, %201, %._crit_edge239
  %.1143 = phi i64 [ %.0142245, %._crit_edge239 ], [ %204, %201 ], [ %204, %211 ]
  %.2140 = phi i64 [ %.1139.lcssa, %._crit_edge239 ], [ %.0138246, %201 ], [ %.0138246, %211 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #13
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #13
  br label %271

271:                                              ; preds = %.loopexit194, %.lr.ph248
  %.2144 = phi i64 [ %.0142245, %.lr.ph248 ], [ %.1143, %.loopexit194 ]
  %.3141 = phi i64 [ %.0138246, %.lr.ph248 ], [ %.2140, %.loopexit194 ]
  %272 = add nuw i64 %.0149243, 1
  %273 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #13
  %274 = icmp ult i64 %272, %273
  br i1 %274, label %.lr.ph248, label %._crit_edge249, !llvm.loop !37

275:                                              ; preds = %270, %229
  %.pn172.pn = phi { ptr, i32 } [ %.pn172, %270 ], [ %230, %229 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #13
  br label %276

276:                                              ; preds = %275, %227
  %.pn172.pn.pn = phi { ptr, i32 } [ %.pn172.pn, %275 ], [ %228, %227 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %20) #13
  br label %277

277:                                              ; preds = %276, %216
  %.pn176 = phi { ptr, i32 } [ %217, %216 ], [ %.pn172.pn.pn, %276 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #13
  br label %278

278:                                              ; preds = %277, %207
  %.pn176.pn = phi { ptr, i32 } [ %.pn176, %277 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #13
  br label %279

279:                                              ; preds = %278, %188, %186, %169
  %.pn179 = phi { ptr, i32 } [ %170, %169 ], [ %187, %186 ], [ %.pn176.pn, %278 ], [ %189, %188 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #13
  br label %296

280:                                              ; preds = %._crit_edge249
  %281 = add nuw nsw i32 %.0116252, 1
  %282 = udiv i64 %.0142.lcssa, 3
  %.not193 = icmp ult i64 %.0138.lcssa, %282
  br i1 %.not193, label %.critedge, label %285

283:                                              ; preds = %._crit_edge249
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %296

285:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #13
  %286 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #13
  store ptr %286, ptr %24, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #13
  %287 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  %288 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  %289 = load ptr, ptr %23, align 8
  %290 = invoke ptr @_ZNSt6vectorIiSaIiEE6insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEvEES6_NS4_IPKiS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %289, ptr %287, ptr %288)
          to label %291 unwind label %294

291:                                              ; preds = %285
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #13
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #13
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #13
  %292 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #13
  %293 = icmp ugt i64 %292, 1
  br i1 %293, label %126, label %.loopexit199

294:                                              ; preds = %285
  %295 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #13
  br label %296

296:                                              ; preds = %294, %283, %279, %139
  %.pn179.pn = phi { ptr, i32 } [ %.pn179, %279 ], [ %295, %294 ], [ %284, %283 ], [ %140, %139 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #13
  br label %297

297:                                              ; preds = %296, %137
  %.pn179.pn.pn = phi { ptr, i32 } [ %.pn179.pn, %296 ], [ %138, %137 ]
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #13
  br label %298

298:                                              ; preds = %297, %135
  %.pn179.pn.pn.pn = phi { ptr, i32 } [ %.pn179.pn.pn, %297 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #13
  br label %404

.critedge:                                        ; preds = %280
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #13
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #13
  br label %.loopexit199

.loopexit199:                                     ; preds = %291, %.preheader198, %.critedge
  %299 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %.not278 = icmp eq i64 %299, 0
  br i1 %.not278, label %._crit_edge258, label %.lr.ph257

._crit_edge258.loopexit:                          ; preds = %312
  %300 = trunc i64 %.1148 to i32
  br label %._crit_edge258

._crit_edge258:                                   ; preds = %._crit_edge258.loopexit, %.loopexit199
  %.0147.lcssa = phi i32 [ 0, %.loopexit199 ], [ %300, %._crit_edge258.loopexit ]
  %301 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %.0147.lcssa)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #13
  store float 0.000000e+00, ptr %25, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #13
  store float 0.000000e+00, ptr %26, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #13
  store float 0.000000e+00, ptr %27, align 4, !tbaa !19
  %302 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #13
  %.not279 = icmp eq i64 %302, 0
  br i1 %.not279, label %._crit_edge263, label %.lr.ph262

.lr.ph257:                                        ; preds = %.loopexit199, %312
  %.0146255 = phi i64 [ %313, %312 ], [ 0, %.loopexit199 ]
  %.0147254 = phi i64 [ %.1148, %312 ], [ 0, %.loopexit199 ]
  %303 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0146255) #13
  %304 = getelementptr inbounds i8, ptr %303, i64 60
  %305 = load float, ptr %304, align 4, !tbaa !29
  %306 = fcmp oeq float %305, 0x47EFFFFFE0000000
  br i1 %306, label %307, label %312

307:                                              ; preds = %.lr.ph257
  %308 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0146255) #13
  %309 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %308) #13
  %310 = udiv i64 %309, 3
  %311 = add i64 %310, %.0147254
  br label %312

312:                                              ; preds = %.lr.ph257, %307
  %.1148 = phi i64 [ %311, %307 ], [ %.0147254, %.lr.ph257 ]
  %313 = add nuw i64 %.0146255, 1
  %314 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %315 = icmp ult i64 %313, %314
  br i1 %315, label %.lr.ph257, label %._crit_edge258.loopexit, !llvm.loop !38

._crit_edge263:                                   ; preds = %.lr.ph262, %._crit_edge258
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #13
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #13
  %316 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %.not280 = icmp eq i64 %316, 0
  br i1 %.not280, label %._crit_edge267, label %.lr.ph266

.lr.ph262:                                        ; preds = %._crit_edge258, %.lr.ph262
  %.0145260 = phi i64 [ %334, %.lr.ph262 ], [ 0, %._crit_edge258 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #13
  %317 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.0145260) #13
  %318 = load float, ptr %317, align 4, !tbaa !39
  %319 = fmul float %318, 2.000000e+00
  store float %319, ptr %28, align 4, !tbaa !19
  %320 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %321 = load float, ptr %320, align 4, !tbaa !19
  store float %321, ptr %25, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #13
  %322 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.0145260) #13
  %323 = getelementptr inbounds i8, ptr %322, i64 4
  %324 = load float, ptr %323, align 4, !tbaa !41
  %325 = fmul float %324, 2.000000e+00
  store float %325, ptr %29, align 4, !tbaa !19
  %326 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %29)
  %327 = load float, ptr %326, align 4, !tbaa !19
  store float %327, ptr %26, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #13
  %328 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.0145260) #13
  %329 = getelementptr inbounds i8, ptr %328, i64 8
  %330 = load float, ptr %329, align 4, !tbaa !42
  %331 = fmul float %330, 2.000000e+00
  store float %331, ptr %30, align 4, !tbaa !19
  %332 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %333 = load float, ptr %332, align 4, !tbaa !19
  store float %333, ptr %27, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #13
  %334 = add nuw i64 %.0145260, 1
  %335 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #13
  %336 = icmp ult i64 %334, %335
  br i1 %336, label %.lr.ph262, label %._crit_edge263, !llvm.loop !43

._crit_edge267:                                   ; preds = %368, %._crit_edge263
  %337 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #13
  %338 = udiv i64 %337, 3
  %339 = trunc i64 %338 to i32
  %340 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef 0x3F60624DE0000000, i32 noundef %339)
  %341 = load ptr, ptr @_ZZ6naniteRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEE4dump, align 8, !tbaa !6
  %.not169 = icmp eq ptr %341, null
  br i1 %.not169, label %.loopexit, label %372

.lr.ph266:                                        ; preds = %._crit_edge263, %368
  %.0135264 = phi i64 [ %369, %368 ], [ 0, %._crit_edge263 ]
  %342 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0135264) #13
  %343 = getelementptr inbounds i8, ptr %342, i64 24
  %344 = load float, ptr %25, align 4, !tbaa !19
  %345 = load float, ptr %26, align 4, !tbaa !19
  %346 = load float, ptr %27, align 4, !tbaa !19
  %347 = call noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %343, float noundef %344, float noundef %345, float noundef %346, float noundef 0x3FFBB67B20000000, float noundef 0x3F847AE140000000)
  %348 = fcmp ugt float %347, 0x3F60624DE0000000
  br i1 %348, label %368, label %349

349:                                              ; preds = %.lr.ph266
  %350 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0135264) #13
  %351 = getelementptr inbounds i8, ptr %350, i64 44
  %352 = load float, ptr %25, align 4, !tbaa !19
  %353 = load float, ptr %26, align 4, !tbaa !19
  %354 = load float, ptr %27, align 4, !tbaa !19
  %355 = call noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %351, float noundef %352, float noundef %353, float noundef %354, float noundef 0x3FFBB67B20000000, float noundef 0x3F847AE140000000)
  %356 = fcmp ogt float %355, 0x3F60624DE0000000
  br i1 %356, label %357, label %368

357:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #13
  %358 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #13
  store ptr %358, ptr %33, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #13
  %359 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0135264) #13
  %360 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %359) #13
  %361 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0135264) #13
  %362 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %361) #13
  %363 = load ptr, ptr %32, align 8
  %364 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEvEES6_NS4_IPKjS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr %363, ptr %360, ptr %362)
          to label %365 unwind label %366

365:                                              ; preds = %357
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #13
  br label %368

366:                                              ; preds = %357
  %367 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #13
  br label %403

368:                                              ; preds = %.lr.ph266, %349, %365
  %369 = add nuw i64 %.0135264, 1
  %370 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %371 = icmp ult i64 %369, %370
  br i1 %371, label %.lr.ph266, label %._crit_edge267, !llvm.loop !44

372:                                              ; preds = %._crit_edge267
  %373 = call i32 @atoi(ptr nocapture noundef %341) #14
  %374 = icmp eq i32 %373, -1
  br i1 %374, label %375, label %.loopexit

375:                                              ; preds = %372
  invoke void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %31, i1 noundef zeroext false)
          to label %.preheader unwind label %377

.preheader:                                       ; preds = %375
  %376 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %.not281 = icmp eq i64 %376, 0
  br i1 %.not281, label %.loopexit, label %.lr.ph269

377:                                              ; preds = %375
  %378 = landingpad { ptr, i32 }
          cleanup
  br label %403

.lr.ph269:                                        ; preds = %.preheader, %398
  %.0268 = phi i64 [ %399, %398 ], [ 0, %.preheader ]
  %379 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0268) #13
  %380 = getelementptr inbounds i8, ptr %379, i64 24
  %381 = load float, ptr %25, align 4, !tbaa !19
  %382 = load float, ptr %26, align 4, !tbaa !19
  %383 = load float, ptr %27, align 4, !tbaa !19
  %384 = call noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %380, float noundef %381, float noundef %382, float noundef %383, float noundef 0x3FFBB67B20000000, float noundef 0x3F847AE140000000)
  %385 = fcmp ugt float %384, 0x3F60624DE0000000
  br i1 %385, label %398, label %386

386:                                              ; preds = %.lr.ph269
  %387 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0268) #13
  %388 = getelementptr inbounds i8, ptr %387, i64 44
  %389 = load float, ptr %25, align 4, !tbaa !19
  %390 = load float, ptr %26, align 4, !tbaa !19
  %391 = load float, ptr %27, align 4, !tbaa !19
  %392 = call noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20) %388, float noundef %389, float noundef %390, float noundef %391, float noundef 0x3FFBB67B20000000, float noundef 0x3F847AE140000000)
  %393 = fcmp ogt float %392, 0x3F60624DE0000000
  br i1 %393, label %394, label %398

394:                                              ; preds = %386
  %395 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI7ClusterSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0268) #13
  invoke void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef nonnull @.str.9, ptr noundef nonnull align 8 dereferenceable(24) %395)
          to label %398 unwind label %396

396:                                              ; preds = %394
  %397 = landingpad { ptr, i32 }
          cleanup
  br label %403

398:                                              ; preds = %.lr.ph269, %386, %394
  %399 = add nuw i64 %.0268, 1
  %400 = call noundef i64 @_ZNKSt6vectorI7ClusterSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  %401 = icmp ult i64 %399, %400
  br i1 %401, label %.lr.ph269, label %.loopexit, !llvm.loop !45

.loopexit:                                        ; preds = %398, %.preheader, %372, %._crit_edge267
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #13
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #13
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #13
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #13
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #13
  br label %402

402:                                              ; preds = %.loopexit, %44
  ret void

403:                                              ; preds = %396, %377, %366
  %.pn = phi { ptr, i32 } [ %367, %366 ], [ %397, %396 ], [ %378, %377 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #13
  br label %404

404:                                              ; preds = %403, %298
  %.pn179.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn179.pn.pn.pn, %298 ], [ %.pn, %403 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #13
  br label %405

405:                                              ; preds = %404, %119
  %.pn179.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn179.pn.pn.pn.pn, %404 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #13
  br label %406

406:                                              ; preds = %405, %112
  %.pn186 = phi { ptr, i32 } [ %113, %112 ], [ %.pn179.pn.pn.pn.pn.pn, %405 ]
  call void @_ZNSt6vectorI7ClusterSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #13
  br label %407

407:                                              ; preds = %406, %103
  %.pn186.pn = phi { ptr, i32 } [ %.pn186, %406 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #13
  br label %408

408:                                              ; preds = %407, %101
  %.pn186.pn.pn = phi { ptr, i32 } [ %.pn186.pn, %407 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #13
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #13
  br label %409

409:                                              ; preds = %408, %99
  %.pn186.pn.pn.pn = phi { ptr, i32 } [ %.pn186.pn.pn, %408 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #13
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #13
  br label %410

410:                                              ; preds = %409, %97
  %.pn186.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn186.pn.pn.pn, %409 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #13
  resume { ptr, i32 } %.pn186.pn.pn.pn.pn
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #1

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9loadMetisv() local_unnamed_addr #4

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare i64 @meshopt_generateVertexRemapMulti(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #7

; 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 #4 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 #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10clusterizeRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.10") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL6boundsRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEf(ptr dead_on_unwind noalias writable sret(%struct.LODBounds) align 4, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), float noundef) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL9partitionRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEERKS_IjSaIjEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.20") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12lockBoundaryRSt6vectorIhSaIhEERKS_IS_IiSaIiEESaIS4_EERKS_I7ClusterSaIS9_EERKS_IjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

declare void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #7

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE6insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEvEES6_NS4_IPKjS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr) local_unnamed_addr #0 align 2

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

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

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

declare void @_Z7dumpObjPKcRKSt6vectorIjSaIjEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8simplifyRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEPKS_IhSaIhEEmPf(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11boundsMergeRKSt6vectorI7ClusterSaIS0_EERKS_IiSaIiEE(ptr dead_on_unwind noalias writable sret(%struct.LODBounds) align 4, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7ClusterSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11dumpMetricsiRKSt6vectorI7ClusterSaIS0_EERKS_IS_IiSaIiEESaIS6_EERKS_IjSaIjEERKS_IhSaIhEERKS6_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE6insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEvEES6_NS4_IPKiS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr) local_unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #12

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef float @_ZL11boundsErrorRK9LODBoundsfffff(ptr noundef nonnull align 4 dereferenceable(20), float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #4

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

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

attributes #0 = { 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 #1 = { nofree nounwind }
attributes #2 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #11 = { 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 #12 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #13 = { nounwind }
attributes #14 = { nounwind willreturn memory(read) }
attributes #15 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"_ZTS14meshopt_Stream", !7, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !14, i64 16}
!17 = !{i64 0, i64 12, !18, i64 12, i64 4, !19, i64 16, i64 4, !19}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = !{!28, !20, i64 16}
!28 = !{!"_ZTS9LODBounds", !8, i64 0, !20, i64 12, !20, i64 16}
!29 = !{!30, !20, i64 60}
!30 = !{!"_ZTS7Cluster", !31, i64 0, !28, i64 24, !28, i64 44}
!31 = !{!"_ZTSSt6vectorIjSaIjEE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!35 = distinct !{!35, !22}
!36 = distinct !{!36, !22}
!37 = distinct !{!37, !22}
!38 = distinct !{!38, !22}
!39 = !{!40, !20, i64 0}
!40 = !{!"_ZTS6Vertex", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !20, i64 16, !20, i64 20, !20, i64 24, !20, i64 28}
!41 = !{!40, !20, i64 4}
!42 = !{!40, !20, i64 8}
!43 = distinct !{!43, !22}
!44 = distinct !{!44, !22}
!45 = distinct !{!45, !22}


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