; LLVM IR from Slingshot-Physics/slingshot-community :: common/geometry/src/gauss_map.ll (ZN8geometry4mesh8gaussMapERKNS_5types14triangleMesh_tE)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.geometry::types::gaussMapMesh_t" = type { i32, i32, i32, [1000 x %"struct.geometry::types::leanNeighborTriangle_t"], [500 x %class.Vector3], [1000 x %"struct.geometry::types::gaussMapFace_t"] }
%"struct.geometry::types::leanNeighborTriangle_t" = type { [3 x i32], [3 x i32] }
%class.Vector3 = type { [3 x float] }
%"struct.geometry::types::gaussMapFace_t" = type { %class.Vector3, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl" }
%"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.8" = type { ptr }
%"class.geometry::mesh::TriangleGraphMesh" = type { i32, [1000 x %"struct.geometry::types::leanNeighborTriangle_t"] }
%"struct.geometry::types::triangleMesh_t" = type { i32, i32, [1000 x %"struct.geometry::types::meshTriangle_t"], [500 x %class.Vector3] }
%"struct.geometry::types::meshTriangle_t" = type { [3 x i32], %class.Vector3 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [64 x i8], align 1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry5types14gaussMapMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(50012)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry4mesh8gaussMapERKNS_5types14triangleMesh_tE(ptr dead_on_unwind noalias writable sret(%"struct.geometry::types::gaussMapMesh_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(30008) %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector.3", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.geometry::types::gaussMapFace_t", align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.8", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.geometry::mesh::TriangleGraphMesh", align 4
  %30 = alloca ptr, align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %47, %2
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %40, i32 0, i32 0
  %42 = load i32, ptr %41, align 4, !tbaa !11
  %43 = icmp ult i32 %39, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %54

45:                                               ; preds = %38
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %46 unwind label %50

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = load i32, ptr %6, align 4, !tbaa !9
  %49 = add i32 %48, 1
  store i32 %49, ptr %6, align 4, !tbaa !9
  br label %38, !llvm.loop !13

50:                                               ; preds = %45
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %7, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %313

54:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %55

55:                                               ; preds = %159, %54
  %56 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %57 = icmp ugt i64 %56, 0
  br i1 %57, label %58, label %162

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %59 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %60 = trunc i64 %59 to i32
  store i32 %60, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 20, ptr %12) #6
  %61 = getelementptr inbounds %"struct.geometry::types::gaussMapFace_t", ptr %12, i32 0, i32 0
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %62, i32 0, i32 2
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %63, i64 0, i64 %66
  %68 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %67, i32 0, i32 1
  invoke void @_ZN7Vector3C2ERKS_(ptr noundef nonnull align 4 dereferenceable(12) %61, ptr noundef nonnull align 4 dereferenceable(12) %68)
          to label %69 unwind label %84

69:                                               ; preds = %58
  %70 = getelementptr inbounds %"struct.geometry::types::gaussMapFace_t", ptr %12, i32 0, i32 1
  %71 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %71, ptr %70, align 4, !tbaa !15
  %72 = getelementptr inbounds %"struct.geometry::types::gaussMapFace_t", ptr %12, i32 0, i32 2
  store i32 0, ptr %72, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %73 = getelementptr inbounds %"struct.geometry::types::gaussMapFace_t", ptr %12, i32 0, i32 2
  store ptr %73, ptr %13, align 8, !tbaa !5
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 0, ptr %74, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store ptr %5, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #6
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %80 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  br label %81

81:                                               ; preds = %112, %69
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %82, label %88, label %83

83:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %114

84:                                               ; preds = %58
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %161

88:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %90 = load i32, ptr %89, align 4, !tbaa !9
  store i32 %90, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %91, i32 0, i32 2
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %92, i64 0, i64 %94
  store ptr %95, ptr %18, align 8, !tbaa !5
  %96 = load ptr, ptr %18, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %96, i32 0, i32 1
  %98 = getelementptr inbounds %"struct.geometry::types::gaussMapFace_t", ptr %12, i32 0, i32 0
  %99 = invoke noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %97, ptr noundef nonnull align 4 dereferenceable(12) %98)
          to label %100 unwind label %107

100:                                              ; preds = %88
  %101 = fcmp oge float %99, 0x3FEFFFEB00000000
  br i1 %101, label %102, label %111

102:                                              ; preds = %100
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %103 unwind label %107

103:                                              ; preds = %102
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = add i32 %105, 1
  store i32 %106, ptr %104, align 4, !tbaa !9
  br label %111

107:                                              ; preds = %102, %88
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %7, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %160

111:                                              ; preds = %103, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %112

112:                                              ; preds = %111
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %81

114:                                              ; preds = %83
  invoke void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(20) %12)
          to label %115 unwind label %125

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store ptr %9, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %116 = load ptr, ptr %19, align 8, !tbaa !5
  %117 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %116) #6
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %117, ptr %118, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #6
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  br label %122

122:                                              ; preds = %157, %115
  %123 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %123, label %129, label %124

124:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %159

125:                                              ; preds = %114
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %7, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %8, align 4
  br label %160

129:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  %131 = load i32, ptr %130, align 4, !tbaa !9
  store i32 %131, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %132 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  %134 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8
  %140 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEjET_S7_S7_RKT0_(ptr %137, ptr %139, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %141 unwind label %152

141:                                              ; preds = %129
  %142 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %140, ptr %142, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %143 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %144 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  %145 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br i1 %145, label %146, label %156

146:                                              ; preds = %141
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %147 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.8", ptr %27, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8
  %149 = invoke ptr @_ZNSt6vectorIjSaIjEE5eraseEN9__gnu_cxx17__normal_iteratorIPKjS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr %148)
          to label %150 unwind label %152

150:                                              ; preds = %146
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %149, ptr %151, align 8
  br label %156

152:                                              ; preds = %146, %129
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %160

156:                                              ; preds = %150, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %157

157:                                              ; preds = %156
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br label %122

159:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %55, !llvm.loop !19

160:                                              ; preds = %152, %125, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %161

161:                                              ; preds = %160, %84
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %312

162:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 24004, ptr %29) #6
  invoke void @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEC2Ev(ptr noundef nonnull align 4 dereferenceable(24004) %29)
          to label %163 unwind label %177

163:                                              ; preds = %162
  invoke void @_ZN8geometry5types14gaussMapMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(50012) %0)
          to label %164 unwind label %177

164:                                              ; preds = %163
  %165 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 2
  store i32 0, ptr %165, align 4, !tbaa !20
  %166 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 0
  store i32 0, ptr %166, align 4, !tbaa !22
  %167 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 1
  store i32 0, ptr %167, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store ptr %9, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %168 = load ptr, ptr %30, align 8, !tbaa !5
  %169 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %168) #6
  %170 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  store ptr %169, ptr %170, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %171 = load ptr, ptr %30, align 8, !tbaa !5
  %172 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %171) #6
  %173 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %32, i32 0, i32 0
  store ptr %172, ptr %173, align 8
  br label %174

174:                                              ; preds = %210, %164
  %175 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  br i1 %175, label %181, label %176

176:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %216

177:                                              ; preds = %223, %163, %162
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %7, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %8, align 4
  br label %311

181:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  %183 = load i32, ptr %182, align 4, !tbaa !9
  store i32 %183, ptr %33, align 4, !tbaa !9
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %184, i32 0, i32 2
  %186 = load i32, ptr %33, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %185, i64 0, i64 %187
  %189 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %188, i32 0, i32 0
  %190 = getelementptr inbounds [3 x i32], ptr %189, i64 0, i64 0
  %191 = load i32, ptr %190, align 4, !tbaa !9
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %192, i32 0, i32 2
  %194 = load i32, ptr %33, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %193, i64 0, i64 %195
  %197 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %196, i32 0, i32 0
  %198 = getelementptr inbounds [3 x i32], ptr %197, i64 0, i64 1
  %199 = load i32, ptr %198, align 4, !tbaa !9
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %200, i32 0, i32 2
  %202 = load i32, ptr %33, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %201, i64 0, i64 %203
  %205 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds [3 x i32], ptr %205, i64 0, i64 2
  %207 = load i32, ptr %206, align 4, !tbaa !9
  %208 = invoke noundef i32 @_ZN8geometry4mesh17TriangleGraphMeshILj1000EE12add_triangleEiii(ptr noundef nonnull align 4 dereferenceable(24004) %29, i32 noundef %191, i32 noundef %199, i32 noundef %207)
          to label %209 unwind label %212

209:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %210

210:                                              ; preds = %209
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  br label %174

212:                                              ; preds = %181
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %7, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %311

216:                                              ; preds = %176
  %217 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %218, i32 0, i32 0
  %220 = load i32, ptr %219, align 4, !tbaa !11
  %221 = zext i32 %220 to i64
  %222 = icmp ne i64 %217, %221
  br i1 %222, label %223, label %226

223:                                              ; preds = %216
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %225 unwind label %177

225:                                              ; preds = %223
  store i32 1, ptr %34, align 4
  br label %310

226:                                              ; preds = %216
  %227 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %228 = trunc i64 %227 to i32
  %229 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 0
  store i32 %228, ptr %229, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %248, %226
  %231 = load i32, ptr %35, align 4, !tbaa !9
  %232 = invoke noundef i32 @_ZNK8geometry4mesh17TriangleGraphMeshILj1000EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(24004) %29)
          to label %233 unwind label %236

233:                                              ; preds = %230
  %234 = icmp ult i32 %231, %232
  br i1 %234, label %240, label %235

235:                                              ; preds = %233
  store i32 13, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %251

236:                                              ; preds = %240, %230
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %7, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %311

240:                                              ; preds = %233
  %241 = load i32, ptr %35, align 4, !tbaa !9
  %242 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEixEj(ptr noundef nonnull align 4 dereferenceable(24004) %29, i32 noundef %241)
          to label %243 unwind label %236

243:                                              ; preds = %240
  %244 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 3
  %245 = load i32, ptr %35, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = getelementptr inbounds [1000 x %"struct.geometry::types::leanNeighborTriangle_t"], ptr %244, i64 0, i64 %246
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %247, ptr align 4 %242, i64 24, i1 false), !tbaa.struct !24
  br label %248

248:                                              ; preds = %243
  %249 = load i32, ptr %35, align 4, !tbaa !9
  %250 = add i32 %249, 1
  store i32 %250, ptr %35, align 4, !tbaa !9
  br label %230, !llvm.loop !26

251:                                              ; preds = %235
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %252, i32 0, i32 1
  %254 = load i32, ptr %253, align 4, !tbaa !27
  %255 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 1
  store i32 %254, ptr %255, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %275, %251
  %257 = load i32, ptr %36, align 4, !tbaa !9
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %258, i32 0, i32 1
  %260 = load i32, ptr %259, align 4, !tbaa !27
  %261 = icmp ult i32 %257, %260
  br i1 %261, label %263, label %262

262:                                              ; preds = %256
  store i32 16, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %282

263:                                              ; preds = %256
  %264 = load ptr, ptr %4, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %264, i32 0, i32 3
  %266 = load i32, ptr %36, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds [500 x %class.Vector3], ptr %265, i64 0, i64 %267
  %269 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 4
  %270 = load i32, ptr %36, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds [500 x %class.Vector3], ptr %269, i64 0, i64 %271
  %273 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %272, ptr noundef nonnull align 4 dereferenceable(12) %268)
          to label %274 unwind label %278

274:                                              ; preds = %263
  br label %275

275:                                              ; preds = %274
  %276 = load i32, ptr %36, align 4, !tbaa !9
  %277 = add i32 %276, 1
  store i32 %277, ptr %36, align 4, !tbaa !9
  br label %256, !llvm.loop !28

278:                                              ; preds = %263
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %7, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %311

282:                                              ; preds = %262
  %283 = call noundef i64 @_ZNKSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %284 = trunc i64 %283 to i32
  %285 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 2
  store i32 %284, ptr %285, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %286

286:                                              ; preds = %302, %282
  %287 = load i32, ptr %37, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = call noundef i64 @_ZNKSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %290 = icmp ult i64 %288, %289
  br i1 %290, label %292, label %291

291:                                              ; preds = %286
  store i32 19, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %309

292:                                              ; preds = %286
  %293 = load i32, ptr %37, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %294) #6
  %296 = getelementptr inbounds %"struct.geometry::types::gaussMapMesh_t", ptr %0, i32 0, i32 5
  %297 = load i32, ptr %37, align 4, !tbaa !9
  %298 = zext i32 %297 to i64
  %299 = getelementptr inbounds [1000 x %"struct.geometry::types::gaussMapFace_t"], ptr %296, i64 0, i64 %298
  %300 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN8geometry5types14gaussMapFace_taSERKS1_(ptr noundef nonnull align 4 dereferenceable(20) %299, ptr noundef nonnull align 4 dereferenceable(20) %295)
          to label %301 unwind label %305

301:                                              ; preds = %292
  br label %302

302:                                              ; preds = %301
  %303 = load i32, ptr %37, align 4, !tbaa !9
  %304 = add i32 %303, 1
  store i32 %304, ptr %37, align 4, !tbaa !9
  br label %286, !llvm.loop !29

305:                                              ; preds = %292
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %7, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %311

309:                                              ; preds = %291
  store i32 1, ptr %34, align 4
  br label %310

310:                                              ; preds = %309, %225
  call void @llvm.lifetime.end.p0(i64 24004, ptr %29) #6
  call void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  ret void

311:                                              ; preds = %305, %278, %236, %212, %177
  call void @llvm.lifetime.end.p0(i64 24004, ptr %29) #6
  br label %312

312:                                              ; preds = %311, %161
  call void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br label %313

313:                                              ; preds = %312, %50
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  br label %314

314:                                              ; preds = %313
  %315 = load ptr, ptr %7, align 8
  %316 = load i32, ptr %8, align 4
  %317 = insertvalue { ptr, i32 } poison, ptr %315, 0
  %318 = insertvalue { ptr, i32 } %317, i32 %316, 1
  resume { ptr, i32 } %318
}

; 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 uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Vector3C2ERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) 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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE5eraseEN9__gnu_cxx17__normal_iteratorIPKjS1_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr) #3 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 void @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEC2Ev(ptr noundef nonnull align 4 dereferenceable(24004)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8geometry4mesh17TriangleGraphMeshILj1000EE12add_triangleEiii(ptr noundef nonnull align 4 dereferenceable(24004), i32 noundef, i32 noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8geometry4mesh17TriangleGraphMeshILj1000EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(24004)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(24) ptr @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEixEj(ptr noundef nonnull align 4 dereferenceable(24004), i32 noundef) #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EED2Ev(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

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

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

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


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.geometry::types::gaussMapMesh_t" = type { i32, i32, i32, [1000 x %"struct.geometry::types::leanNeighborTriangle_t"], [500 x %class.Vector3], [1000 x %"struct.geometry::types::gaussMapFace_t"] }
%"struct.geometry::types::leanNeighborTriangle_t" = type { [3 x i32], [3 x i32] }
%class.Vector3 = type { [3 x float] }
%"struct.geometry::types::gaussMapFace_t" = type { %class.Vector3, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl" }
%"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<geometry::types::gaussMapFace_t, std::allocator<geometry::types::gaussMapFace_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.8" = type { ptr }
%"class.geometry::mesh::TriangleGraphMesh" = type { i32, [1000 x %"struct.geometry::types::leanNeighborTriangle_t"] }
%"struct.geometry::types::meshTriangle_t" = type { [3 x i32], %class.Vector3 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [64 x i8], align 1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry5types14gaussMapMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(50012)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry4mesh8gaussMapERKNS_5types14triangleMesh_tE(ptr dead_on_unwind noalias writable sret(%"struct.geometry::types::gaussMapMesh_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(30008) %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector.3", align 8
  %7 = alloca %"struct.geometry::types::gaussMapFace_t", align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.8", align 8
  %17 = alloca %"class.geometry::mesh::TriangleGraphMesh", align 4
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  %20 = load i32, ptr %1, align 4, !tbaa !9
  %.not77 = icmp eq i32 %20, 0
  br i1 %.not77, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %25, %2
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %21 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %.not59 = icmp eq i64 %21, 0
  br i1 %.not59, label %._crit_edge62, label %.lr.ph61

.lr.ph61:                                         ; preds = %._crit_edge
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = getelementptr inbounds i8, ptr %7, i64 12
  %24 = getelementptr inbounds i8, ptr %7, i64 16
  br label %32

.lr.ph:                                           ; preds = %2, %25
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %25 unwind label %30

25:                                               ; preds = %.lr.ph
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = add i32 %26, 1
  store i32 %27, ptr %4, align 4, !tbaa !5
  %28 = load i32, ptr %1, align 4, !tbaa !9
  %29 = icmp ult i32 %27, %28
  br i1 %29, label %.lr.ph, label %._crit_edge, !llvm.loop !11

30:                                               ; preds = %.lr.ph
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %155

32:                                               ; preds = %.lr.ph61, %._crit_edge58
  %33 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %34 = trunc i64 %33 to i32
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %7) #6
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %22, i64 0, i64 %37, i32 1
  call void @_ZN7Vector3C2ERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %38)
  store i32 %34, ptr %23, align 4, !tbaa !13
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %39 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %39, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %40 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %40, ptr %9, align 8
  %41 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %41, label %.lr.ph54, label %._crit_edge55

._crit_edge55:                                    ; preds = %54, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  invoke void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(20) %7)
          to label %57 unwind label %62

.lr.ph54:                                         ; preds = %32, %54
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %43 = load i32, ptr %42, align 4, !tbaa !5
  store i32 %43, ptr %10, align 4, !tbaa !5
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %22, i64 0, i64 %44, i32 1
  %46 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %47 = fcmp ult float %46, 0x3FEFFFEB00000000
  br i1 %47, label %54, label %48

48:                                               ; preds = %.lr.ph54
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %49 unwind label %52

49:                                               ; preds = %48
  %50 = load i32, ptr %24, align 4, !tbaa !5
  %51 = add i32 %50, 1
  store i32 %51, ptr %24, align 4, !tbaa !5
  br label %54

52:                                               ; preds = %48
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %80

54:                                               ; preds = %49, %.lr.ph54
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %56, label %.lr.ph54, label %._crit_edge55

57:                                               ; preds = %._crit_edge55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %58 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %58, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %59 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %59, ptr %12, align 8
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %60, label %.lr.ph57, label %._crit_edge58

._crit_edge58:                                    ; preds = %77, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #6
  %61 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %.not = icmp eq i64 %61, 0
  br i1 %.not, label %._crit_edge62, label %32, !llvm.loop !16

62:                                               ; preds = %._crit_edge55
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %80

.lr.ph57:                                         ; preds = %57, %77
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %65 = load i32, ptr %64, align 4, !tbaa !5
  store i32 %65, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %66 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %67 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %68 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEjET_S7_S7_RKT0_(ptr %66, ptr %67, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %69 unwind label %75

69:                                               ; preds = %.lr.ph57
  store ptr %68, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %70 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %70, ptr %15, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %71, label %72, label %77

72:                                               ; preds = %69
  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) %14) #6
  %73 = load ptr, ptr %16, align 8
  %74 = invoke ptr @_ZNSt6vectorIjSaIjEE5eraseEN9__gnu_cxx17__normal_iteratorIPKjS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr %73)
          to label %77 unwind label %75

75:                                               ; preds = %72, %.lr.ph57
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %80

77:                                               ; preds = %72, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %79, label %.lr.ph57, label %._crit_edge58

80:                                               ; preds = %75, %62, %52
  %.pn48 = phi { ptr, i32 } [ %53, %52 ], [ %76, %75 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #6
  br label %154

._crit_edge62:                                    ; preds = %._crit_edge58, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24004, ptr nonnull %17) #6
  call void @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEC2Ev(ptr noundef nonnull align 4 dereferenceable(24004) %17)
  invoke void @_ZN8geometry5types14gaussMapMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(50012) %0)
          to label %81 unwind label %91

81:                                               ; preds = %._crit_edge62
  %82 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 0, ptr %82, align 4, !tbaa !17
  store i32 0, ptr %0, align 4, !tbaa !19
  %83 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 0, ptr %83, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %84 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %84, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %85 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %85, ptr %19, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %86, label %.lr.ph64, label %._crit_edge65

.lr.ph64:                                         ; preds = %81
  %87 = getelementptr inbounds i8, ptr %1, i64 8
  br label %93

._crit_edge65:                                    ; preds = %104, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  %88 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %89 = load i32, ptr %1, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %.not46 = icmp eq i64 %88, %90
  br i1 %.not46, label %111, label %109

91:                                               ; preds = %109, %._crit_edge62
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %153

93:                                               ; preds = %.lr.ph64, %104
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %87, i64 0, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %97, i64 4
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %97, i64 8
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = invoke noundef i32 @_ZN8geometry4mesh17TriangleGraphMeshILj1000EE12add_triangleEiii(ptr noundef nonnull align 4 dereferenceable(24004) %17, i32 noundef %98, i32 noundef %100, i32 noundef %102)
          to label %104 unwind label %107

104:                                              ; preds = %93
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %106, label %93, label %._crit_edge65

107:                                              ; preds = %93
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %153

109:                                              ; preds = %._crit_edge65
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %.loopexit unwind label %91

111:                                              ; preds = %._crit_edge65
  %112 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %113 = trunc i64 %112 to i32
  store i32 %113, ptr %0, align 4, !tbaa !19
  %114 = call noundef i32 @_ZNK8geometry4mesh17TriangleGraphMeshILj1000EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(24004) %17)
  %.not78 = icmp eq i32 %114, 0
  br i1 %.not78, label %._crit_edge69, label %.lr.ph68

.lr.ph68:                                         ; preds = %111
  %115 = getelementptr inbounds i8, ptr %0, i64 12
  br label %120

._crit_edge69:                                    ; preds = %120, %111
  %116 = getelementptr inbounds i8, ptr %1, i64 4
  %117 = load i32, ptr %116, align 4, !tbaa !21
  store i32 %117, ptr %83, align 4, !tbaa !20
  %.not79 = icmp eq i32 %117, 0
  br i1 %.not79, label %._crit_edge73, label %.lr.ph72

.lr.ph72:                                         ; preds = %._crit_edge69
  %118 = getelementptr inbounds i8, ptr %1, i64 24008
  %119 = getelementptr inbounds i8, ptr %0, i64 24012
  br label %131

120:                                              ; preds = %.lr.ph68, %120
  %indvars.iv = phi i64 [ 0, %.lr.ph68 ], [ %indvars.iv.next, %120 ]
  %121 = trunc nuw i64 %indvars.iv to i32
  %122 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEixEj(ptr noundef nonnull align 4 dereferenceable(24004) %17, i32 noundef %121)
  %123 = getelementptr inbounds [1000 x %"struct.geometry::types::leanNeighborTriangle_t"], ptr %115, i64 0, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %123, ptr noundef nonnull align 4 dereferenceable(24) %122, i64 24, i1 false), !tbaa.struct !22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %124 = call noundef i32 @_ZNK8geometry4mesh17TriangleGraphMeshILj1000EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(24004) %17)
  %125 = zext i32 %124 to i64
  %126 = icmp ult i64 %indvars.iv.next, %125
  br i1 %126, label %120, label %._crit_edge69, !llvm.loop !24

._crit_edge73:                                    ; preds = %135, %._crit_edge69
  %127 = call noundef i64 @_ZNKSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %128 = trunc i64 %127 to i32
  store i32 %128, ptr %82, align 4, !tbaa !17
  %129 = call noundef i64 @_ZNKSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %.not80 = icmp eq i64 %129, 0
  br i1 %.not80, label %.loopexit, label %.lr.ph76

.lr.ph76:                                         ; preds = %._crit_edge73
  %130 = getelementptr inbounds i8, ptr %0, i64 30012
  br label %141

131:                                              ; preds = %.lr.ph72, %135
  %indvars.iv82 = phi i64 [ 0, %.lr.ph72 ], [ %indvars.iv.next83, %135 ]
  %132 = getelementptr inbounds [500 x %class.Vector3], ptr %118, i64 0, i64 %indvars.iv82
  %133 = getelementptr inbounds [500 x %class.Vector3], ptr %119, i64 0, i64 %indvars.iv82
  %134 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %133, ptr noundef nonnull align 4 dereferenceable(12) %132)
          to label %135 unwind label %139

135:                                              ; preds = %131
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %136 = load i32, ptr %116, align 4, !tbaa !21
  %137 = zext i32 %136 to i64
  %138 = icmp ult i64 %indvars.iv.next83, %137
  br i1 %138, label %131, label %._crit_edge73, !llvm.loop !25

139:                                              ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %153

141:                                              ; preds = %.lr.ph76, %146
  %142 = phi i64 [ 0, %.lr.ph76 ], [ %148, %146 ]
  %.074 = phi i32 [ 0, %.lr.ph76 ], [ %147, %146 ]
  %143 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %142) #6
  %144 = getelementptr inbounds [1000 x %"struct.geometry::types::gaussMapFace_t"], ptr %130, i64 0, i64 %142
  %145 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN8geometry5types14gaussMapFace_taSERKS1_(ptr noundef nonnull align 4 dereferenceable(20) %144, ptr noundef nonnull align 4 dereferenceable(20) %143)
          to label %146 unwind label %151

146:                                              ; preds = %141
  %147 = add i32 %.074, 1
  %148 = zext i32 %147 to i64
  %149 = call noundef i64 @_ZNKSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %150 = icmp ugt i64 %149, %148
  br i1 %150, label %141, label %.loopexit, !llvm.loop !26

151:                                              ; preds = %141
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %153

.loopexit:                                        ; preds = %146, %._crit_edge73, %109
  call void @llvm.lifetime.end.p0(i64 24004, ptr nonnull %17) #6
  call void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void

153:                                              ; preds = %151, %139, %107, %91
  %.pn = phi { ptr, i32 } [ %108, %107 ], [ %92, %91 ], [ %140, %139 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 24004, ptr nonnull %17) #6
  br label %154

154:                                              ; preds = %153, %80
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %80 ], [ %.pn, %153 ]
  call void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %155

155:                                              ; preds = %154, %30
  %.pn51 = phi { ptr, i32 } [ %31, %30 ], [ %.pn48.pn, %154 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn51
}

; 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 uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Vector3C2ERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) 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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE5eraseEN9__gnu_cxx17__normal_iteratorIPKjS1_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr) local_unnamed_addr #3 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 void @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEC2Ev(ptr noundef nonnull align 4 dereferenceable(24004)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8geometry4mesh17TriangleGraphMeshILj1000EE12add_triangleEiii(ptr noundef nonnull align 4 dereferenceable(24004), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8geometry4mesh17TriangleGraphMeshILj1000EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(24004)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(24) ptr @_ZN8geometry4mesh17TriangleGraphMeshILj1000EEixEj(ptr noundef nonnull align 4 dereferenceable(24004), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_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 4 dereferenceable(20) ptr @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN8geometry5types14gaussMapFace_taSERKS1_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5types14gaussMapFace_tESaIS2_EED2Ev(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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass