; LLVM IR from jasonlmfong/Model-Modifier :: Model-Modifier/src/scene/surface/Surface_DooSabin.ll (ZN7Surface8DooSabinEv)

; 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.Object = type { %"struct.glm::vec", %"struct.glm::vec", %"class.std::vector", %"class.std::vector.2", %"class.std::vector.2", %"class.std::unordered_map" }
%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.14" = type { i8 }
%"class.std::unordered_map.17" = type { %"class.std::_Hashtable.18" }
%"class.std::_Hashtable.18" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.FaceRecord = type { %"struct.glm::vec", %"class.std::vector.80", %"class.std::unordered_map.85", %"class.std::vector.80" }
%"class.std::unordered_map.85" = type { %"class.std::_Hashtable.86" }
%"class.std::_Hashtable.86" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = 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.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.EdgeRecord = type { i32, i32, %"struct.glm::vec", %"class.std::vector.80" }
%class.Surface = type { %"class.std::vector.51", %"class.std::vector.56", %"class.std::vector.61", %"struct.glm::vec", %"struct.glm::vec", %"class.std::unordered_map.66" }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = type { %"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.66" = type { %"class.std::_Hashtable.67" }
%"class.std::_Hashtable.67" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.VertexRecord = type { %"struct.glm::vec", %"class.std::vector.80", %"class.std::vector.80" }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Surface11DSOutputOBJESt6vectorIS0_IN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESaIS6_EESt13unordered_mapIjS6_St4hashIjESt8equal_toIjESaISt4pairIKjS6_EEESI_(ptr dead_on_unwind noalias writable sret(%class.Object) align 8, ptr noundef nonnull align 8 dereferenceable(152), ptr noundef, ptr noundef, ptr noundef) #0 align 2

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

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

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

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

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) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Surface8DooSabinEv(ptr dead_on_unwind noalias writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %1) #0 align 2 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.12", align 8
  %7 = alloca %"class.std::allocator.14", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::unordered_map.17", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.FaceRecord, 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 %"struct.glm::vec", align 4
  %19 = alloca %"struct.glm::vec", align 4
  %20 = alloca %"struct.glm::vec", align 4
  %21 = alloca %"struct.glm::vec", align 4
  %22 = alloca { <2 x float>, float }, align 8
  %23 = alloca { <2 x float>, float }, align 8
  %24 = alloca { <2 x float>, float }, align 8
  %25 = alloca { <2 x float>, float }, align 8
  %26 = alloca %"class.std::unordered_map.17", align 8
  %27 = alloca i32, align 4
  %28 = alloca %struct.EdgeRecord, align 8
  %29 = alloca %struct.FaceRecord, align 8
  %30 = alloca %struct.FaceRecord, align 8
  %31 = alloca %"struct.glm::vec", align 4
  %32 = alloca %"struct.glm::vec", align 4
  %33 = alloca %"struct.glm::vec", align 4
  %34 = alloca %"struct.glm::vec", align 4
  %35 = alloca { <2 x float>, float }, align 8
  %36 = alloca { <2 x float>, float }, align 8
  %37 = alloca { <2 x float>, float }, align 8
  %38 = alloca { <2 x float>, float }, align 8
  %39 = alloca %"struct.glm::vec", align 4
  %40 = alloca %"struct.glm::vec", align 4
  %41 = alloca %"struct.glm::vec", align 4
  %42 = alloca %"struct.glm::vec", align 4
  %43 = alloca { <2 x float>, float }, align 8
  %44 = alloca { <2 x float>, float }, align 8
  %45 = alloca { <2 x float>, float }, align 8
  %46 = alloca { <2 x float>, float }, align 8
  %47 = alloca %"struct.glm::vec", align 4
  %48 = alloca %"struct.glm::vec", align 4
  %49 = alloca %"struct.glm::vec", align 4
  %50 = alloca %"struct.glm::vec", align 4
  %51 = alloca { <2 x float>, float }, align 8
  %52 = alloca { <2 x float>, float }, align 8
  %53 = alloca { <2 x float>, float }, align 8
  %54 = alloca { <2 x float>, float }, align 8
  %55 = alloca %"struct.glm::vec", align 4
  %56 = alloca %"struct.glm::vec", align 4
  %57 = alloca %"struct.glm::vec", align 4
  %58 = alloca %"struct.glm::vec", align 4
  %59 = alloca { <2 x float>, float }, align 8
  %60 = alloca { <2 x float>, float }, align 8
  %61 = alloca { <2 x float>, float }, align 8
  %62 = alloca { <2 x float>, float }, align 8
  %63 = alloca %"class.std::vector.12", align 8
  %64 = alloca %"class.std::unordered_map.17", align 8
  %65 = alloca %"class.std::unordered_map.17", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %66 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %67 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 2
  %68 = call noundef i64 @_ZNKSt6vectorI10FaceRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #7
  %69 = trunc i64 %68 to i32
  store i32 %69, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  %70 = load i32, ptr %5, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  call void @_ZNSaISt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %71, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %72 unwind label %78

72:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorISt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #7
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %156, %72
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = icmp ult i32 %74, %75
  br i1 %76, label %82, label %77

77:                                               ; preds = %73
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %160

78:                                               ; preds = %2
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %8, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %9, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %412

82:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 120, ptr %13) #7
  %83 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 2
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %85) #7
  invoke void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %13, ptr noundef nonnull align 8 dereferenceable(120) %86)
          to label %87 unwind label %98

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %88 = getelementptr inbounds %struct.FaceRecord, ptr %13, i32 0, i32 1
  store ptr %88, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #7
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  %93 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  %94 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %93, ptr %94, align 8
  br label %95

95:                                               ; preds = %144, %87
  %96 = 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) #7
  br i1 %96, label %102, label %97

97:                                               ; preds = %95
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %155

98:                                               ; preds = %82
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %8, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %9, align 4
  br label %159

102:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %104 = load i32, ptr %103, align 4, !tbaa !9
  store i32 %104, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #7
  %105 = getelementptr inbounds %struct.FaceRecord, ptr %13, i32 0, i32 0
  %106 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 0
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %108) #7
  %110 = getelementptr inbounds %struct.VertexRecord, ptr %109, i32 0, i32 0
  %111 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %105, ptr noundef nonnull align 4 dereferenceable(12) %110)
          to label %112 unwind label %146

112:                                              ; preds = %102
  store { <2 x float>, float } %111, ptr %22, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 8 %22, i64 12, i1 false)
  %113 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %114 = getelementptr inbounds %struct.FaceRecord, ptr %13, i32 0, i32 2
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %114, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %116 unwind label %146

116:                                              ; preds = %112
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef 0) #7
  %118 = load i32, ptr %117, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %119) #7
  %121 = getelementptr inbounds %struct.EdgeRecord, ptr %120, i32 0, i32 2
  %122 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %121)
          to label %123 unwind label %146

123:                                              ; preds = %116
  store { <2 x float>, float } %122, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %23, i64 12, i1 false)
  %124 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %125 = getelementptr inbounds %struct.FaceRecord, ptr %13, i32 0, i32 2
  %126 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %125, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %127 unwind label %146

127:                                              ; preds = %123
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef 1) #7
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %130) #7
  %132 = getelementptr inbounds %struct.EdgeRecord, ptr %131, i32 0, i32 2
  %133 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %132)
          to label %134 unwind label %146

134:                                              ; preds = %127
  store { <2 x float>, float } %133, ptr %24, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 8 %24, i64 12, i1 false)
  %135 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %19)
          to label %136 unwind label %146

136:                                              ; preds = %134
  store { <2 x float>, float } %135, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %25, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #7
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %138) #7
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %139, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %140 unwind label %150

140:                                              ; preds = %136
  %141 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %142 unwind label %150

142:                                              ; preds = %140
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %141, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %143 unwind label %150

143:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %144

144:                                              ; preds = %143
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br label %95

146:                                              ; preds = %134, %127, %123, %116, %112, %102
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %8, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #7
  br label %154

150:                                              ; preds = %142, %140, %136
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %8, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %9, align 4
  br label %154

154:                                              ; preds = %150, %146
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %13) #7
  br label %159

155:                                              ; preds = %97
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %13) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %13) #7
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %11, align 4, !tbaa !9
  %158 = add i32 %157, 1
  store i32 %158, ptr %11, align 4, !tbaa !9
  br label %73, !llvm.loop !11

159:                                              ; preds = %154, %98
  call void @llvm.lifetime.end.p0(i64 120, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %411

160:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 56, ptr %26) #7
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %383, %160
  %162 = load i32, ptr %27, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %165 = call noundef i64 @_ZNKSt6vectorI10EdgeRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %164) #7
  %166 = icmp ult i64 %163, %165
  br i1 %166, label %168, label %167

167:                                              ; preds = %161
  store i32 7, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %387

168:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #7
  %169 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %170 = load i32, ptr %27, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %171) #7
  invoke void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(48) %172)
          to label %173 unwind label %347

173:                                              ; preds = %168
  %174 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 3
  %175 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #7
  %176 = icmp eq i64 %175, 2
  br i1 %176, label %177, label %382

177:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 120, ptr %29) #7
  %178 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 2
  %179 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 3
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef 0) #7
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %182) #7
  invoke void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %29, ptr noundef nonnull align 8 dereferenceable(120) %183)
          to label %184 unwind label %351

184:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 120, ptr %30) #7
  %185 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 2
  %186 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 3
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef 1) #7
  %188 = load i32, ptr %187, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %189) #7
  invoke void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %30, ptr noundef nonnull align 8 dereferenceable(120) %190)
          to label %191 unwind label %355

191:                                              ; preds = %184
  %192 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %193 unwind label %359

193:                                              ; preds = %191
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef 4)
          to label %194 unwind label %359

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #7
  %195 = getelementptr inbounds %struct.FaceRecord, ptr %29, i32 0, i32 0
  %196 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 0
  %197 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 0
  %198 = load i32, ptr %197, align 8, !tbaa !13
  %199 = zext i32 %198 to i64
  %200 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %199) #7
  %201 = getelementptr inbounds %struct.VertexRecord, ptr %200, i32 0, i32 0
  %202 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %195, ptr noundef nonnull align 4 dereferenceable(12) %201)
          to label %203 unwind label %363

203:                                              ; preds = %194
  store { <2 x float>, float } %202, ptr %35, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %35, i64 12, i1 false)
  %204 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %205 = getelementptr inbounds %struct.FaceRecord, ptr %29, i32 0, i32 2
  %206 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 0
  %207 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %205, ptr noundef nonnull align 4 dereferenceable(4) %206)
          to label %208 unwind label %363

208:                                              ; preds = %203
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef 0) #7
  %210 = load i32, ptr %209, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef %211) #7
  %213 = getelementptr inbounds %struct.EdgeRecord, ptr %212, i32 0, i32 2
  %214 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %34, ptr noundef nonnull align 4 dereferenceable(12) %213)
          to label %215 unwind label %363

215:                                              ; preds = %208
  store { <2 x float>, float } %214, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 8 %36, i64 12, i1 false)
  %216 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %217 = getelementptr inbounds %struct.FaceRecord, ptr %29, i32 0, i32 2
  %218 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 0
  %219 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %217, ptr noundef nonnull align 4 dereferenceable(4) %218)
          to label %220 unwind label %363

220:                                              ; preds = %215
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef 1) #7
  %222 = load i32, ptr %221, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %216, i64 noundef %223) #7
  %225 = getelementptr inbounds %struct.EdgeRecord, ptr %224, i32 0, i32 2
  %226 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %225)
          to label %227 unwind label %363

227:                                              ; preds = %220
  store { <2 x float>, float } %226, ptr %37, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %37, i64 12, i1 false)
  %228 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %32)
          to label %229 unwind label %363

229:                                              ; preds = %227
  store { <2 x float>, float } %228, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 8 %38, i64 12, i1 false)
  %230 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %231 unwind label %363

231:                                              ; preds = %229
  %232 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %232, ptr align 4 %31, i64 12, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #7
  %233 = getelementptr inbounds %struct.FaceRecord, ptr %29, i32 0, i32 0
  %234 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 0
  %235 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 1
  %236 = load i32, ptr %235, align 4, !tbaa !22
  %237 = zext i32 %236 to i64
  %238 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %234, i64 noundef %237) #7
  %239 = getelementptr inbounds %struct.VertexRecord, ptr %238, i32 0, i32 0
  %240 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %233, ptr noundef nonnull align 4 dereferenceable(12) %239)
          to label %241 unwind label %367

241:                                              ; preds = %231
  store { <2 x float>, float } %240, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %43, i64 12, i1 false)
  %242 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %243 = getelementptr inbounds %struct.FaceRecord, ptr %29, i32 0, i32 2
  %244 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 1
  %245 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %243, ptr noundef nonnull align 4 dereferenceable(4) %244)
          to label %246 unwind label %367

246:                                              ; preds = %241
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef 0) #7
  %248 = load i32, ptr %247, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %249) #7
  %251 = getelementptr inbounds %struct.EdgeRecord, ptr %250, i32 0, i32 2
  %252 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %251)
          to label %253 unwind label %367

253:                                              ; preds = %246
  store { <2 x float>, float } %252, ptr %44, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %44, i64 12, i1 false)
  %254 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %255 = getelementptr inbounds %struct.FaceRecord, ptr %29, i32 0, i32 2
  %256 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 1
  %257 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %255, ptr noundef nonnull align 4 dereferenceable(4) %256)
          to label %258 unwind label %367

258:                                              ; preds = %253
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef 1) #7
  %260 = load i32, ptr %259, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %261) #7
  %263 = getelementptr inbounds %struct.EdgeRecord, ptr %262, i32 0, i32 2
  %264 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %263)
          to label %265 unwind label %367

265:                                              ; preds = %258
  store { <2 x float>, float } %264, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 8 %45, i64 12, i1 false)
  %266 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %40)
          to label %267 unwind label %367

267:                                              ; preds = %265
  store { <2 x float>, float } %266, ptr %46, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 8 %46, i64 12, i1 false)
  %268 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %269 unwind label %367

269:                                              ; preds = %267
  %270 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef 1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %270, ptr align 4 %39, i64 12, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %48) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #7
  %271 = getelementptr inbounds %struct.FaceRecord, ptr %30, i32 0, i32 0
  %272 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 0
  %273 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !22
  %275 = zext i32 %274 to i64
  %276 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %275) #7
  %277 = getelementptr inbounds %struct.VertexRecord, ptr %276, i32 0, i32 0
  %278 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %271, ptr noundef nonnull align 4 dereferenceable(12) %277)
          to label %279 unwind label %371

279:                                              ; preds = %269
  store { <2 x float>, float } %278, ptr %51, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %51, i64 12, i1 false)
  %280 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %281 = getelementptr inbounds %struct.FaceRecord, ptr %30, i32 0, i32 2
  %282 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 1
  %283 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %281, ptr noundef nonnull align 4 dereferenceable(4) %282)
          to label %284 unwind label %371

284:                                              ; preds = %279
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %283, i64 noundef 0) #7
  %286 = load i32, ptr %285, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef %287) #7
  %289 = getelementptr inbounds %struct.EdgeRecord, ptr %288, i32 0, i32 2
  %290 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(12) %289)
          to label %291 unwind label %371

291:                                              ; preds = %284
  store { <2 x float>, float } %290, ptr %52, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 8 %52, i64 12, i1 false)
  %292 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %293 = getelementptr inbounds %struct.FaceRecord, ptr %30, i32 0, i32 2
  %294 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 1
  %295 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %293, ptr noundef nonnull align 4 dereferenceable(4) %294)
          to label %296 unwind label %371

296:                                              ; preds = %291
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef 1) #7
  %298 = load i32, ptr %297, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %292, i64 noundef %299) #7
  %301 = getelementptr inbounds %struct.EdgeRecord, ptr %300, i32 0, i32 2
  %302 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(12) %301)
          to label %303 unwind label %371

303:                                              ; preds = %296
  store { <2 x float>, float } %302, ptr %53, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 8 %53, i64 12, i1 false)
  %304 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %48)
          to label %305 unwind label %371

305:                                              ; preds = %303
  store { <2 x float>, float } %304, ptr %54, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 8 %54, i64 12, i1 false)
  %306 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %307 unwind label %371

307:                                              ; preds = %305
  %308 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %306, i64 noundef 2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %308, ptr align 4 %47, i64 12, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %55) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %57) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %58) #7
  %309 = getelementptr inbounds %struct.FaceRecord, ptr %30, i32 0, i32 0
  %310 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 0
  %311 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 0
  %312 = load i32, ptr %311, align 8, !tbaa !13
  %313 = zext i32 %312 to i64
  %314 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %310, i64 noundef %313) #7
  %315 = getelementptr inbounds %struct.VertexRecord, ptr %314, i32 0, i32 0
  %316 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %309, ptr noundef nonnull align 4 dereferenceable(12) %315)
          to label %317 unwind label %375

317:                                              ; preds = %307
  store { <2 x float>, float } %316, ptr %59, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 8 %59, i64 12, i1 false)
  %318 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %319 = getelementptr inbounds %struct.FaceRecord, ptr %30, i32 0, i32 2
  %320 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 0
  %321 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %319, ptr noundef nonnull align 4 dereferenceable(4) %320)
          to label %322 unwind label %375

322:                                              ; preds = %317
  %323 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %321, i64 noundef 0) #7
  %324 = load i32, ptr %323, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %318, i64 noundef %325) #7
  %327 = getelementptr inbounds %struct.EdgeRecord, ptr %326, i32 0, i32 2
  %328 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %58, ptr noundef nonnull align 4 dereferenceable(12) %327)
          to label %329 unwind label %375

329:                                              ; preds = %322
  store { <2 x float>, float } %328, ptr %60, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 8 %60, i64 12, i1 false)
  %330 = getelementptr inbounds %class.Surface, ptr %66, i32 0, i32 1
  %331 = getelementptr inbounds %struct.FaceRecord, ptr %30, i32 0, i32 2
  %332 = getelementptr inbounds %struct.EdgeRecord, ptr %28, i32 0, i32 0
  %333 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %331, ptr noundef nonnull align 4 dereferenceable(4) %332)
          to label %334 unwind label %375

334:                                              ; preds = %329
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %333, i64 noundef 1) #7
  %336 = load i32, ptr %335, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %330, i64 noundef %337) #7
  %339 = getelementptr inbounds %struct.EdgeRecord, ptr %338, i32 0, i32 2
  %340 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %339)
          to label %341 unwind label %375

341:                                              ; preds = %334
  store { <2 x float>, float } %340, ptr %61, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 8 %61, i64 12, i1 false)
  %342 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %56)
          to label %343 unwind label %375

343:                                              ; preds = %341
  store { <2 x float>, float } %342, ptr %62, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 8 %62, i64 12, i1 false)
  %344 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %345 unwind label %375

345:                                              ; preds = %343
  %346 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %344, i64 noundef 3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %346, ptr align 4 %55, i64 12, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #7
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %30) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %30) #7
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %29) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %29) #7
  br label %382

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

351:                                              ; preds = %177
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %8, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %9, align 4
  br label %381

355:                                              ; preds = %184
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %8, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %9, align 4
  br label %380

359:                                              ; preds = %193, %191
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %8, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %9, align 4
  br label %379

363:                                              ; preds = %229, %227, %220, %215, %208, %203, %194
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %8, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  br label %379

367:                                              ; preds = %267, %265, %258, %253, %246, %241, %231
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %8, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #7
  br label %379

371:                                              ; preds = %305, %303, %296, %291, %284, %279, %269
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %8, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #7
  br label %379

375:                                              ; preds = %343, %341, %334, %329, %322, %317, %307
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %8, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #7
  br label %379

379:                                              ; preds = %375, %371, %367, %363, %359
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %30) #7
  br label %380

380:                                              ; preds = %379, %355
  call void @llvm.lifetime.end.p0(i64 120, ptr %30) #7
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %29) #7
  br label %381

381:                                              ; preds = %380, %351
  call void @llvm.lifetime.end.p0(i64 120, ptr %29) #7
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  br label %386

382:                                              ; preds = %345, %173
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #7
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr %27, align 4, !tbaa !9
  %385 = add i32 %384, 1
  store i32 %385, ptr %27, align 4, !tbaa !9
  br label %161, !llvm.loop !23

386:                                              ; preds = %381, %347
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %410

387:                                              ; preds = %167
  invoke void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %388 unwind label %392

388:                                              ; preds = %387
  invoke void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2ERKSF_(ptr noundef nonnull align 8 dereferenceable(56) %64, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %389 unwind label %396

389:                                              ; preds = %388
  invoke void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2ERKSF_(ptr noundef nonnull align 8 dereferenceable(56) %65, ptr noundef nonnull align 8 dereferenceable(56) %26)
          to label %390 unwind label %400

390:                                              ; preds = %389
  invoke void @_ZN7Surface11DSOutputOBJESt6vectorIS0_IN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESaIS6_EESt13unordered_mapIjS6_St4hashIjESt8equal_toIjESaISt4pairIKjS6_EEESI_(ptr dead_on_unwind writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %66, ptr noundef %63, ptr noundef %64, ptr noundef %65)
          to label %391 unwind label %404

391:                                              ; preds = %390
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #7
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #7
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #7
  store i32 1, ptr %12, align 4
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %26) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #7
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #7
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret void

392:                                              ; preds = %387
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %8, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %9, align 4
  br label %410

396:                                              ; preds = %388
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %8, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %9, align 4
  br label %409

400:                                              ; preds = %389
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %8, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %9, align 4
  br label %408

404:                                              ; preds = %390
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %8, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %9, align 4
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #7
  br label %408

408:                                              ; preds = %404, %400
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #7
  br label %409

409:                                              ; preds = %408, %396
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #7
  br label %410

410:                                              ; preds = %409, %392, %386
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %26) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #7
  br label %411

411:                                              ; preds = %410, %159
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #7
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %412

412:                                              ; preds = %411, %78
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %413

413:                                              ; preds = %412
  %414 = load ptr, ptr %8, align 8
  %415 = load i32, ptr %9, align 4
  %416 = insertvalue { ptr, i32 } poison, ptr %414, 0
  %417 = insertvalue { ptr, i32 } %416, i32 %415, 1
  resume { ptr, i32 } %417
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2ERKSF_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 align 2

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

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

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

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

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

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


; 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.Object = type { %"struct.glm::vec", %"struct.glm::vec", %"class.std::vector", %"class.std::vector.2", %"class.std::vector.2", %"class.std::unordered_map" }
%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<glm::vec<3, float>>, std::allocator<std::vector<glm::vec<3, float>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.14" = type { i8 }
%"class.std::unordered_map.17" = type { %"class.std::_Hashtable.18" }
%"class.std::_Hashtable.18" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.FaceRecord = type { %"struct.glm::vec", %"class.std::vector.80", %"class.std::unordered_map.85", %"class.std::vector.80" }
%"class.std::unordered_map.85" = type { %"class.std::_Hashtable.86" }
%"class.std::_Hashtable.86" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = 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.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.EdgeRecord = type { i32, i32, %"struct.glm::vec", %"class.std::vector.80" }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Surface11DSOutputOBJESt6vectorIS0_IN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESaIS6_EESt13unordered_mapIjS6_St4hashIjESt8equal_toIjESaISt4pairIKjS6_EEESI_(ptr dead_on_unwind noalias writable sret(%class.Object) align 8, ptr noundef nonnull align 8 dereferenceable(152), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Surface8DooSabinEv(ptr dead_on_unwind noalias writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.12", align 8
  %4 = alloca %"class.std::allocator.14", align 1
  %5 = alloca %"class.std::unordered_map.17", align 8
  %6 = alloca %struct.FaceRecord, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.glm::vec", align 8
  %11 = alloca %"struct.glm::vec", align 8
  %12 = alloca %"struct.glm::vec", align 8
  %13 = alloca %"struct.glm::vec", align 8
  %14 = alloca %"class.std::unordered_map.17", align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.EdgeRecord, align 8
  %17 = alloca %struct.FaceRecord, align 8
  %18 = alloca %struct.FaceRecord, align 8
  %19 = alloca %"struct.glm::vec", align 8
  %20 = alloca %"struct.glm::vec", align 8
  %21 = alloca %"struct.glm::vec", align 8
  %22 = alloca %"struct.glm::vec", align 8
  %23 = alloca %"struct.glm::vec", align 8
  %24 = alloca %"struct.glm::vec", align 8
  %25 = alloca %"struct.glm::vec", align 8
  %26 = alloca %"struct.glm::vec", align 8
  %27 = alloca %"struct.glm::vec", align 8
  %28 = alloca %"struct.glm::vec", align 8
  %29 = alloca %"struct.glm::vec", align 8
  %30 = alloca %"struct.glm::vec", align 8
  %31 = alloca %"class.std::vector.12", align 8
  %32 = alloca %"class.std::unordered_map.17", align 8
  %33 = alloca %"class.std::unordered_map.17", align 8
  %34 = getelementptr inbounds i8, ptr %1, i64 48
  %35 = tail call noundef i64 @_ZNKSt6vectorI10FaceRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %36 = and i64 %35, 4294967295
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaISt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %36, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %37 unwind label %48

37:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorISt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #6
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #6
  %38 = and i64 %35, 4294967295
  %.not = icmp eq i64 %38, 0
  br i1 %.not, label %._crit_edge121, label %.lr.ph120

.lr.ph120:                                        ; preds = %37
  %39 = getelementptr inbounds i8, ptr %6, i64 16
  %.sroa.283.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  %40 = getelementptr inbounds i8, ptr %1, i64 24
  %41 = getelementptr inbounds i8, ptr %6, i64 40
  %.sroa.279.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.275.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.271.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %wide.trip.count = and i64 %35, 4294967295
  br label %50

._crit_edge121:                                   ; preds = %._crit_edge, %37
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %14) #6
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  %42 = getelementptr inbounds i8, ptr %1, i64 24
  store i32 0, ptr %15, align 4, !tbaa !5
  %43 = call noundef i64 @_ZNKSt6vectorI10EdgeRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %.not125 = icmp eq i64 %43, 0
  br i1 %.not125, label %._crit_edge124, label %.lr.ph123

.lr.ph123:                                        ; preds = %._crit_edge121
  %44 = getelementptr inbounds i8, ptr %16, i64 24
  %.sroa.265.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %45 = getelementptr inbounds i8, ptr %17, i64 40
  %.sroa.261.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  %.sroa.257.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  %46 = getelementptr inbounds i8, ptr %16, i64 4
  %.sroa.247.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  %.sroa.243.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  %.sroa.239.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  %.sroa.229.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  %47 = getelementptr inbounds i8, ptr %18, i64 40
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %25, i64 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  br label %97

48:                                               ; preds = %2
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %272

50:                                               ; preds = %.lr.ph120, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.lr.ph120 ], [ %indvars.iv.next, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %6) #6
  %51 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv) #6
  invoke void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %6, ptr noundef nonnull align 8 dereferenceable(120) %51)
          to label %52 unwind label %56

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %53 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  store ptr %53, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %54 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  store ptr %54, ptr %8, align 8
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %55, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %88, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %6) #6
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %6) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge121, label %50, !llvm.loop !9

56:                                               ; preds = %50
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %96

.lr.ph:                                           ; preds = %52, %88
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %59 = load i32, ptr %58, align 4, !tbaa !5
  store i32 %59, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  %60 = zext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %60) #6
  %62 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %61)
          to label %63 unwind label %91

63:                                               ; preds = %.lr.ph
  %.fca.0.extract80 = extractvalue { <2 x float>, float } %62, 0
  %.fca.1.extract81 = extractvalue { <2 x float>, float } %62, 1
  store <2 x float> %.fca.0.extract80, ptr %13, align 8
  store float %.fca.1.extract81, ptr %.sroa.283.0..sroa_idx, align 8
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %65 unwind label %91

65:                                               ; preds = %63
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef 0) #6
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = zext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %68) #6
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %70)
          to label %72 unwind label %91

72:                                               ; preds = %65
  %.fca.0.extract76 = extractvalue { <2 x float>, float } %71, 0
  %.fca.1.extract77 = extractvalue { <2 x float>, float } %71, 1
  store <2 x float> %.fca.0.extract76, ptr %12, align 8
  store float %.fca.1.extract77, ptr %.sroa.279.0..sroa_idx, align 8
  %73 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %74 unwind label %91

74:                                               ; preds = %72
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef 1) #6
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = zext i32 %76 to i64
  %78 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %77) #6
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %79)
          to label %81 unwind label %91

81:                                               ; preds = %74
  %.fca.0.extract72 = extractvalue { <2 x float>, float } %80, 0
  %.fca.1.extract73 = extractvalue { <2 x float>, float } %80, 1
  store <2 x float> %.fca.0.extract72, ptr %11, align 8
  store float %.fca.1.extract73, ptr %.sroa.275.0..sroa_idx, align 8
  %82 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %83 unwind label %91

83:                                               ; preds = %81
  %.fca.0.extract68 = extractvalue { <2 x float>, float } %82, 0
  %.fca.1.extract69 = extractvalue { <2 x float>, float } %82, 1
  store <2 x float> %.fca.0.extract68, ptr %10, align 8
  store float %.fca.1.extract69, ptr %.sroa.271.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #6
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 4 dereferenceable(12) %10)
          to label %85 unwind label %93

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %87 unwind label %93

87:                                               ; preds = %85
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 4 dereferenceable(12) %10)
          to label %88 unwind label %93

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %90 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %90, label %.lr.ph, label %._crit_edge

91:                                               ; preds = %81, %74, %72, %65, %63, %.lr.ph
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  br label %95

93:                                               ; preds = %87, %85, %83
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %95

95:                                               ; preds = %93, %91
  %.pn113 = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %6) #6
  br label %96

96:                                               ; preds = %95, %56
  %.pn113.pn = phi { ptr, i32 } [ %.pn113, %95 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %6) #6
  br label %271

._crit_edge124:                                   ; preds = %249, %._crit_edge121
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  invoke void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %256 unwind label %260

97:                                               ; preds = %.lr.ph123, %249
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #6
  %98 = load i32, ptr %15, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %99) #6
  invoke void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(48) %100)
          to label %101 unwind label %230

101:                                              ; preds = %97
  %102 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  %103 = icmp eq i64 %102, 2
  br i1 %103, label %104, label %249

104:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %17) #6
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #6
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %107) #6
  invoke void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %17, ptr noundef nonnull align 8 dereferenceable(120) %108)
          to label %109 unwind label %232

109:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %18) #6
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 1) #6
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = zext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %112) #6
  invoke void @_ZN10FaceRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %18, ptr noundef nonnull align 8 dereferenceable(120) %113)
          to label %114 unwind label %234

114:                                              ; preds = %109
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %116 unwind label %236

116:                                              ; preds = %114
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef 4)
          to label %117 unwind label %236

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #6
  %118 = load i32, ptr %16, align 8, !tbaa !11
  %119 = zext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %119) #6
  %121 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %120)
          to label %122 unwind label %238

122:                                              ; preds = %117
  %.fca.0.extract62 = extractvalue { <2 x float>, float } %121, 0
  %.fca.1.extract63 = extractvalue { <2 x float>, float } %121, 1
  store <2 x float> %.fca.0.extract62, ptr %21, align 8
  store float %.fca.1.extract63, ptr %.sroa.265.0..sroa_idx, align 8
  %123 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %124 unwind label %238

124:                                              ; preds = %122
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef 0) #6
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = zext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %127) #6
  %129 = getelementptr inbounds i8, ptr %128, i64 8
  %130 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %129)
          to label %131 unwind label %238

131:                                              ; preds = %124
  %.fca.0.extract58 = extractvalue { <2 x float>, float } %130, 0
  %.fca.1.extract59 = extractvalue { <2 x float>, float } %130, 1
  store <2 x float> %.fca.0.extract58, ptr %20, align 8
  store float %.fca.1.extract59, ptr %.sroa.261.0..sroa_idx, align 8
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %133 unwind label %238

133:                                              ; preds = %131
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef 1) #6
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = zext i32 %135 to i64
  %137 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %136) #6
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  %139 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %138)
          to label %140 unwind label %238

140:                                              ; preds = %133
  %.fca.0.extract54 = extractvalue { <2 x float>, float } %139, 0
  %.fca.1.extract55 = extractvalue { <2 x float>, float } %139, 1
  store <2 x float> %.fca.0.extract54, ptr %19, align 8
  store float %.fca.1.extract55, ptr %.sroa.257.0..sroa_idx, align 8
  %141 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %19)
          to label %142 unwind label %238

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %144 unwind label %238

144:                                              ; preds = %142
  %.fca.1.extract51 = extractvalue { <2 x float>, float } %141, 1
  %.fca.0.extract50 = extractvalue { <2 x float>, float } %141, 0
  %145 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef 0) #6
  store <2 x float> %.fca.0.extract50, ptr %145, align 4
  %.sroa.567.0..sroa_idx = getelementptr inbounds i8, ptr %145, i64 8
  store float %.fca.1.extract51, ptr %.sroa.567.0..sroa_idx, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  %146 = load i32, ptr %46, align 4, !tbaa !20
  %147 = zext i32 %146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %147) #6
  %149 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %148)
          to label %150 unwind label %240

150:                                              ; preds = %144
  %.fca.0.extract44 = extractvalue { <2 x float>, float } %149, 0
  %.fca.1.extract45 = extractvalue { <2 x float>, float } %149, 1
  store <2 x float> %.fca.0.extract44, ptr %24, align 8
  store float %.fca.1.extract45, ptr %.sroa.247.0..sroa_idx, align 8
  %151 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %152 unwind label %240

152:                                              ; preds = %150
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef 0) #6
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = zext i32 %154 to i64
  %156 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %155) #6
  %157 = getelementptr inbounds i8, ptr %156, i64 8
  %158 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %157)
          to label %159 unwind label %240

159:                                              ; preds = %152
  %.fca.0.extract40 = extractvalue { <2 x float>, float } %158, 0
  %.fca.1.extract41 = extractvalue { <2 x float>, float } %158, 1
  store <2 x float> %.fca.0.extract40, ptr %23, align 8
  store float %.fca.1.extract41, ptr %.sroa.243.0..sroa_idx, align 8
  %160 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %161 unwind label %240

161:                                              ; preds = %159
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef 1) #6
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = zext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %164) #6
  %166 = getelementptr inbounds i8, ptr %165, i64 8
  %167 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %166)
          to label %168 unwind label %240

168:                                              ; preds = %161
  %.fca.0.extract36 = extractvalue { <2 x float>, float } %167, 0
  %.fca.1.extract37 = extractvalue { <2 x float>, float } %167, 1
  store <2 x float> %.fca.0.extract36, ptr %22, align 8
  store float %.fca.1.extract37, ptr %.sroa.239.0..sroa_idx, align 8
  %169 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %22)
          to label %170 unwind label %240

170:                                              ; preds = %168
  %171 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %172 unwind label %240

172:                                              ; preds = %170
  %.fca.1.extract33 = extractvalue { <2 x float>, float } %169, 1
  %.fca.0.extract32 = extractvalue { <2 x float>, float } %169, 0
  %173 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef 1) #6
  store <2 x float> %.fca.0.extract32, ptr %173, align 4
  %.sroa.549.0..sroa_idx = getelementptr inbounds i8, ptr %173, i64 8
  store float %.fca.1.extract33, ptr %.sroa.549.0..sroa_idx, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %174 = load i32, ptr %46, align 4, !tbaa !20
  %175 = zext i32 %174 to i64
  %176 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %175) #6
  %177 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %176)
          to label %178 unwind label %242

178:                                              ; preds = %172
  %.fca.0.extract26 = extractvalue { <2 x float>, float } %177, 0
  %.fca.1.extract27 = extractvalue { <2 x float>, float } %177, 1
  store <2 x float> %.fca.0.extract26, ptr %27, align 8
  store float %.fca.1.extract27, ptr %.sroa.229.0..sroa_idx, align 8
  %179 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %180 unwind label %242

180:                                              ; preds = %178
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef 0) #6
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = zext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %183) #6
  %185 = getelementptr inbounds i8, ptr %184, i64 8
  %186 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %185)
          to label %187 unwind label %242

187:                                              ; preds = %180
  %.fca.0.extract22 = extractvalue { <2 x float>, float } %186, 0
  %.fca.1.extract23 = extractvalue { <2 x float>, float } %186, 1
  store <2 x float> %.fca.0.extract22, ptr %26, align 8
  store float %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  %188 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %189 unwind label %242

189:                                              ; preds = %187
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %188, i64 noundef 1) #6
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = zext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %192) #6
  %194 = getelementptr inbounds i8, ptr %193, i64 8
  %195 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %194)
          to label %196 unwind label %242

196:                                              ; preds = %189
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %195, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %195, 1
  store <2 x float> %.fca.0.extract18, ptr %25, align 8
  store float %.fca.1.extract19, ptr %.sroa.221.0..sroa_idx, align 8
  %197 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %198 unwind label %242

198:                                              ; preds = %196
  %199 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %200 unwind label %242

200:                                              ; preds = %198
  %.fca.1.extract15 = extractvalue { <2 x float>, float } %197, 1
  %.fca.0.extract14 = extractvalue { <2 x float>, float } %197, 0
  %201 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef 2) #6
  store <2 x float> %.fca.0.extract14, ptr %201, align 4
  %.sroa.531.0..sroa_idx = getelementptr inbounds i8, ptr %201, i64 8
  store float %.fca.1.extract15, ptr %.sroa.531.0..sroa_idx, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #6
  %202 = load i32, ptr %16, align 8, !tbaa !11
  %203 = zext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %203) #6
  %205 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %204)
          to label %206 unwind label %244

206:                                              ; preds = %200
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %205, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %205, 1
  store <2 x float> %.fca.0.extract9, ptr %30, align 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  %207 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %208 unwind label %244

208:                                              ; preds = %206
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef 0) #6
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = zext i32 %210 to i64
  %212 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %211) #6
  %213 = getelementptr inbounds i8, ptr %212, i64 8
  %214 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %213)
          to label %215 unwind label %244

215:                                              ; preds = %208
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %214, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %214, 1
  store <2 x float> %.fca.0.extract5, ptr %29, align 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  %216 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIjSaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %217 unwind label %244

217:                                              ; preds = %215
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %216, i64 noundef 1) #6
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = zext i32 %219 to i64
  %221 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %220) #6
  %222 = getelementptr inbounds i8, ptr %221, i64 8
  %223 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %222)
          to label %224 unwind label %244

224:                                              ; preds = %217
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %223, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %223, 1
  store <2 x float> %.fca.0.extract1, ptr %28, align 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %225 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %28)
          to label %226 unwind label %244

226:                                              ; preds = %224
  %227 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %228 unwind label %244

228:                                              ; preds = %226
  %.fca.1.extract = extractvalue { <2 x float>, float } %225, 1
  %.fca.0.extract = extractvalue { <2 x float>, float } %225, 0
  %229 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef 3) #6
  store <2 x float> %.fca.0.extract, ptr %229, align 4
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %229, i64 8
  store float %.fca.1.extract, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #6
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %18) #6
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %17) #6
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %17) #6
  br label %249

230:                                              ; preds = %97
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %255

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

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

236:                                              ; preds = %116, %114
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %246

238:                                              ; preds = %142, %140, %133, %131, %124, %122, %117
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #6
  br label %246

240:                                              ; preds = %170, %168, %161, %159, %152, %150, %144
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #6
  br label %246

242:                                              ; preds = %198, %196, %189, %187, %180, %178, %172
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  br label %246

244:                                              ; preds = %226, %224, %217, %215, %208, %206, %200
  %245 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  br label %246

246:                                              ; preds = %244, %242, %240, %238, %236
  %.pn107 = phi { ptr, i32 } [ %245, %244 ], [ %243, %242 ], [ %241, %240 ], [ %239, %238 ], [ %237, %236 ]
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #6
  br label %247

247:                                              ; preds = %246, %234
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %246 ], [ %235, %234 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %18) #6
  call void @_ZN10FaceRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %17) #6
  br label %248

248:                                              ; preds = %247, %232
  %.pn107.pn.pn = phi { ptr, i32 } [ %.pn107.pn, %247 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %17) #6
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  br label %255

249:                                              ; preds = %228, %101
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  %250 = load i32, ptr %15, align 4, !tbaa !5
  %251 = add i32 %250, 1
  store i32 %251, ptr %15, align 4, !tbaa !5
  %252 = zext i32 %251 to i64
  %253 = call noundef i64 @_ZNKSt6vectorI10EdgeRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %254 = icmp ugt i64 %253, %252
  br i1 %254, label %97, label %._crit_edge124, !llvm.loop !21

255:                                              ; preds = %248, %230
  %.pn107.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn, %248 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %270

256:                                              ; preds = %._crit_edge124
  invoke void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2ERKSF_(ptr noundef nonnull align 8 dereferenceable(56) %32, ptr noundef nonnull align 8 dereferenceable(56) %5)
          to label %257 unwind label %262

257:                                              ; preds = %256
  invoke void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2ERKSF_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(56) %14)
          to label %258 unwind label %264

258:                                              ; preds = %257
  invoke void @_ZN7Surface11DSOutputOBJESt6vectorIS0_IN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESaIS6_EESt13unordered_mapIjS6_St4hashIjESt8equal_toIjESaISt4pairIKjS6_EEESI_(ptr dead_on_unwind writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %1, ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef nonnull %33)
          to label %259 unwind label %266

259:                                              ; preds = %258
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #6
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #6
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %14) #6
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #6
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void

260:                                              ; preds = %._crit_edge124
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %270

262:                                              ; preds = %256
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %269

264:                                              ; preds = %257
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %268

266:                                              ; preds = %258
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #6
  br label %268

268:                                              ; preds = %266, %264
  %.pn = phi { ptr, i32 } [ %267, %266 ], [ %265, %264 ]
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #6
  br label %269

269:                                              ; preds = %268, %262
  %.pn.pn = phi { ptr, i32 } [ %.pn, %268 ], [ %263, %262 ]
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  br label %270

270:                                              ; preds = %269, %260, %255
  %.pn107.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn, %255 ], [ %.pn.pn, %269 ], [ %261, %260 ]
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %14) #6
  br label %271

271:                                              ; preds = %270, %96
  %.pn113.pn.pn = phi { ptr, i32 } [ %.pn113.pn, %96 ], [ %.pn107.pn.pn.pn.pn, %270 ]
  call void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #6
  call void @_ZNSt6vectorIS_IN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %272

272:                                              ; preds = %271, %48
  %.pn113.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn, %271 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn113.pn.pn.pn
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapIjSt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EESt4hashIjESt8equal_toIjESaISt4pairIKjS6_EEEC2ERKSF_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

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

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

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

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

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

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


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