; LLVM IR from bldeng/AASolver :: AndersonOpt/external/OpenMesh/Core/IO/reader (OBJReader)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.OpenMesh::IO::Options" = type { i32 }
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.18 }
%union.anon.18 = type { i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.OpenMesh::VectorT.47" = type { %"struct.std::array.48" }
%"struct.std::array.48" = type { [3 x i8] }
%"class.__gnu_cxx::__normal_iterator.49" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.OpenMesh::IO::_OBJReader_" = type { %"class.OpenMesh::IO::BaseReader", %"class.std::map", %"class.std::__cxx11::basic_string" }
%"class.OpenMesh::IO::BaseReader" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.OpenMesh::IO::_OBJReader_::Material" }
%"class.OpenMesh::IO::_OBJReader_::Material" = type <{ %"class.OpenMesh::VectorT", i8, [3 x i8], %"class.OpenMesh::VectorT", i8, [3 x i8], %"class.OpenMesh::VectorT", i8, [3 x i8], float, i8, [3 x i8], %"class.std::__cxx11::basic_string", i32, i8, [3 x i8] }>
%"class.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [107 x i8], align 1
@__PRETTY_FUNCTION__._ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE = external hidden unnamed_addr constant [88 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #5

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

declare noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv() #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_materialERSt13basic_fstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3badEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #6

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_verticesERSiRNS0_12BaseImporterERNS0_7OptionsERSt6vectorINS_7VectorTIfLi3EEESaIS9_EESC_SC_RS7_INS8_IfLi2EEESaISD_EERS7_INS_12VertexHandleESaISH_EES6_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::vector.30", align 8
  %13 = alloca %"class.std::vector.30", align 8
  %14 = alloca %"class.std::vector.30", align 8
  %15 = alloca %"class.std::vector.35", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector.30", align 8
  %19 = alloca %"class.std::vector.35", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %25 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %26 = alloca %"class.OpenMesh::IO::Options", align 4
  %27 = alloca %"class.OpenMesh::IO::Options", align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::basic_fstream", align 8
  %35 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %36 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %39 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %45 = alloca %"class.std::vector", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca i64, align 8
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %53 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %54 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %55 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %56 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %57 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %58 = alloca i64, align 8
  %59 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %60 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %61 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %62 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %63 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %64 = alloca %"class.std::vector.42", align 8
  %65 = alloca i64, align 8
  %66 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %67 = alloca ptr, align 8
  %68 = alloca %"class.OpenMesh::VectorT.47", align 1
  %69 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %70 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %71 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %72 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %73 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %74 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %75 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %76 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %77 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %78 = alloca %"class.std::vector.42", align 8
  %79 = alloca i64, align 8
  %80 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %81 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %82 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %83 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %84 = alloca i32, align 4
  %85 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %86 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %87 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %88 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %89 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %90 = alloca %"struct.OpenMesh::VertexHandle", align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %91 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  call void @llvm.lifetime.start.p0(i64 392, ptr %21) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
          to label %92 unwind label %104

92:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 392, ptr %24) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %24)
          to label %93 unwind label %108

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 392, ptr %25) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %25)
          to label %94 unwind label %112

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO7OptionsC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %95)
          to label %96 unwind label %116

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  invoke void @_ZN8OpenMesh2IO7OptionsC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %97 unwind label %120

97:                                               ; preds = %96
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_verticesERSiRNS0_12BaseImporterERNS0_7OptionsERSt6vectorINS_7VectorTIfLi3EEESaIS9_EESC_SC_RS7_INS8_IfLi2EEESaISD_EERS7_INS_12VertexHandleESaISH_EES6_(ptr noundef nonnull align 8 dereferenceable(88) %91, ptr noundef nonnull align 8 dereferenceable(16) %98, ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 4 dereferenceable(4) %100, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %102 unwind label %124

102:                                              ; preds = %97
  br i1 %101, label %128, label %103

103:                                              ; preds = %102
  store i1 false, ptr %5, align 1
  store i32 1, ptr %28, align 4
  br label %1103

104:                                              ; preds = %4
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %22, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %23, align 4
  br label %1110

108:                                              ; preds = %92
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %22, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %23, align 4
  br label %1109

112:                                              ; preds = %93
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %22, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %23, align 4
  br label %1108

116:                                              ; preds = %94
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %22, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %23, align 4
  br label %1107

120:                                              ; preds = %96
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %22, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %23, align 4
  br label %1106

124:                                              ; preds = %134, %128, %97
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %22, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %23, align 4
  br label %1105

128:                                              ; preds = %102
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = load ptr, ptr %129, align 8, !tbaa !9
  %131 = getelementptr i8, ptr %130, i64 -24
  %132 = load i64, ptr %131, align 8
  %133 = getelementptr inbounds i8, ptr %129, i64 %132
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %133, i32 noundef 0)
          to label %134 unwind label %124

134:                                              ; preds = %128
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %135, i64 noundef 0, i32 noundef 0)
          to label %137 unwind label %124

137:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  store i32 0, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store i32 0, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  store i32 0, ptr %31, align 4, !tbaa !11
  br label %138

138:                                              ; preds = %990, %194, %137
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = load ptr, ptr %139, align 8, !tbaa !9
  %141 = getelementptr i8, ptr %140, i64 -24
  %142 = load i64, ptr %141, align 8
  %143 = getelementptr inbounds i8, ptr %139, i64 %142
  %144 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %143)
          to label %145 unwind label %173

145:                                              ; preds = %138
  br i1 %144, label %146, label %155

146:                                              ; preds = %145
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load ptr, ptr %147, align 8, !tbaa !9
  %149 = getelementptr i8, ptr %148, i64 -24
  %150 = load i64, ptr %149, align 8
  %151 = getelementptr inbounds i8, ptr %147, i64 %150
  %152 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %151)
          to label %153 unwind label %173

153:                                              ; preds = %146
  %154 = xor i1 %152, true
  br label %155

155:                                              ; preds = %153, %145
  %156 = phi i1 [ false, %145 ], [ %154, %153 ]
  br i1 %156, label %157, label %991

157:                                              ; preds = %155
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %158, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %160 unwind label %173

160:                                              ; preds = %157
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  %163 = getelementptr i8, ptr %162, i64 -24
  %164 = load i64, ptr %163, align 8
  %165 = getelementptr inbounds i8, ptr %161, i64 %164
  %166 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3badEv(ptr noundef nonnull align 8 dereferenceable(264) %165)
          to label %167 unwind label %173

167:                                              ; preds = %160
  br i1 %166, label %168, label %177

168:                                              ; preds = %167
  %169 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %170 unwind label %173

170:                                              ; preds = %168
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %169, ptr noundef @.str.5)
          to label %172 unwind label %173

172:                                              ; preds = %170
  store i1 false, ptr %5, align 1
  store i32 1, ptr %28, align 4
  br label %1101

173:                                              ; preds = %1097, %991, %351, %345, %339, %333, %325, %323, %321, %319, %317, %306, %303, %203, %201, %196, %195, %187, %181, %177, %170, %168, %160, %157, %146, %138
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %22, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %23, align 4
  br label %1102

177:                                              ; preds = %167
  invoke void @_ZN8OpenMesh2IO10trimStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %178 unwind label %173

178:                                              ; preds = %177
  %179 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  %180 = icmp eq i64 %179, 0
  br i1 %180, label %194, label %181

181:                                              ; preds = %178
  %182 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %10, i64 noundef 0)
          to label %183 unwind label %173

183:                                              ; preds = %181
  %184 = load i8, ptr %182, align 1, !tbaa !13
  %185 = sext i8 %184 to i32
  %186 = icmp eq i32 %185, 35
  br i1 %186, label %194, label %187

187:                                              ; preds = %183
  %188 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %10, i64 noundef 0)
          to label %189 unwind label %173

189:                                              ; preds = %187
  %190 = load i8, ptr %188, align 1, !tbaa !13
  %191 = sext i8 %190 to i32
  %192 = call i32 @isspace(i32 noundef %191) #10
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %195

194:                                              ; preds = %189, %183, %178
  br label %138, !llvm.loop !14

195:                                              ; preds = %189
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %21, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %196 unwind label %173

196:                                              ; preds = %195
  %197 = load ptr, ptr %21, align 8, !tbaa !9
  %198 = getelementptr i8, ptr %197, i64 -24
  %199 = load i64, ptr %198, align 8
  %200 = getelementptr inbounds i8, ptr %21, i64 %199
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %200, i32 noundef 0)
          to label %201 unwind label %173

201:                                              ; preds = %196
  %202 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %203 unwind label %173

203:                                              ; preds = %201
  %204 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.19)
          to label %205 unwind label %173

205:                                              ; preds = %203
  br i1 %204, label %206, label %303

206:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  %207 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %208 unwind label %229

208:                                              ; preds = %206
  invoke void @_ZN8OpenMesh2IO10trimStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %209 unwind label %229

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #9
  %210 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %91, i32 0, i32 2
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef nonnull align 8 dereferenceable(32) %210, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %211 unwind label %233

211:                                              ; preds = %209
  %212 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.start.p0(i64 528, ptr %34) #9
  %213 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264) %34, ptr noundef %213, i32 noundef 8)
          to label %214 unwind label %237

214:                                              ; preds = %211
  %215 = load ptr, ptr %34, align 8, !tbaa !9
  %216 = getelementptr i8, ptr %215, i64 -24
  %217 = load i64, ptr %216, align 8
  %218 = getelementptr inbounds i8, ptr %34, i64 %217
  %219 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %218)
          to label %220 unwind label %241

220:                                              ; preds = %214
  br i1 %219, label %221, label %247

221:                                              ; preds = %220
  %222 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_materialERSt13basic_fstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(88) %91, ptr noundef nonnull align 8 dereferenceable(264) %34)
          to label %223 unwind label %241

223:                                              ; preds = %221
  br i1 %222, label %245, label %224

224:                                              ; preds = %223
  %225 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %226 unwind label %241

226:                                              ; preds = %224
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef @.str.5)
          to label %228 unwind label %241

228:                                              ; preds = %226
  br label %245

229:                                              ; preds = %208, %206
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %22, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %23, align 4
  br label %302

233:                                              ; preds = %209
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %22, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  br label %302

237:                                              ; preds = %211
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %22, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %23, align 4
  br label %301

241:                                              ; preds = %253, %251, %249, %247, %245, %226, %224, %221, %214
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %22, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %23, align 4
  br label %300

245:                                              ; preds = %228, %223
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264) %34)
          to label %246 unwind label %241

246:                                              ; preds = %245
  br label %256

247:                                              ; preds = %220
  %248 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %249 unwind label %241

249:                                              ; preds = %247
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %248, ptr noundef @.str.20)
          to label %251 unwind label %241

251:                                              ; preds = %249
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %250, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %253 unwind label %241

253:                                              ; preds = %251
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %252, ptr noundef @.str.21)
          to label %255 unwind label %241

255:                                              ; preds = %253
  br label %256

256:                                              ; preds = %255, %246
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %257 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %91, i32 0, i32 1
  %258 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %257) #9
  %259 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %35, i32 0, i32 0
  store ptr %258, ptr %259, align 8
  br label %260

260:                                              ; preds = %296, %256
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %261 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %91, i32 0, i32 1
  %262 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %261) #9
  %263 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %36, i32 0, i32 0
  store ptr %262, ptr %263, align 8
  %264 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br i1 %264, label %266, label %265

265:                                              ; preds = %260
  store i32 4, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %299

266:                                              ; preds = %260
  %267 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  %268 = getelementptr inbounds %"struct.std::pair", ptr %267, i32 0, i32 1
  %269 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_8Material10has_map_KdEv(ptr noundef nonnull align 8 dereferenceable(93) %268)
          to label %270 unwind label %287

270:                                              ; preds = %266
  br i1 %269, label %271, label %295

271:                                              ; preds = %270
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  %274 = getelementptr inbounds %"struct.std::pair", ptr %273, i32 0, i32 1
  %275 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO11_OBJReader_8Material12map_Kd_indexEv(ptr noundef nonnull align 8 dereferenceable(93) %274)
          to label %276 unwind label %287

276:                                              ; preds = %271
  %277 = load i32, ptr %275, align 4, !tbaa !11
  %278 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  %279 = getelementptr inbounds %"struct.std::pair", ptr %278, i32 0, i32 1
  %280 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8OpenMesh2IO11_OBJReader_8Material6map_KdB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(93) %279)
          to label %281 unwind label %287

281:                                              ; preds = %276
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %280)
          to label %282 unwind label %287

282:                                              ; preds = %281
  %283 = load ptr, ptr %272, align 8, !tbaa !9
  %284 = getelementptr inbounds ptr, ptr %283, i64 27
  %285 = load ptr, ptr %284, align 8
  invoke void %285(ptr noundef nonnull align 8 dereferenceable(8) %272, i32 noundef %277, ptr noundef %37)
          to label %286 unwind label %291

286:                                              ; preds = %282
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %295

287:                                              ; preds = %281, %276, %271, %266
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %22, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %23, align 4
  br label %298

291:                                              ; preds = %282
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %22, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %298

295:                                              ; preds = %286, %270
  br label %296

296:                                              ; preds = %295
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  br label %260, !llvm.loop !16

298:                                              ; preds = %291, %287
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %300

299:                                              ; preds = %265
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %34) #9
  call void @llvm.lifetime.end.p0(i64 528, ptr %34) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %990

300:                                              ; preds = %298, %241
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %34) #9
  br label %301

301:                                              ; preds = %300, %237
  call void @llvm.lifetime.end.p0(i64 528, ptr %34) #9
  br label %302

302:                                              ; preds = %301, %233, %229
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %1102

303:                                              ; preds = %205
  %304 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.22)
          to label %305 unwind label %173

305:                                              ; preds = %303
  br i1 %304, label %306, label %333

306:                                              ; preds = %305
  %307 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %308 unwind label %173

308:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %309 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %91, i32 0, i32 1
  %310 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %309, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %311 unwind label %328

311:                                              ; preds = %308
  %312 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %38, i32 0, i32 0
  store ptr %310, ptr %312, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %313 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %91, i32 0, i32 1
  %314 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %313) #9
  %315 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %39, i32 0, i32 0
  store ptr %314, ptr %315, align 8
  %316 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br i1 %316, label %317, label %332

317:                                              ; preds = %311
  %318 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %319 unwind label %173

319:                                              ; preds = %317
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %318, ptr noundef @.str.23)
          to label %321 unwind label %173

321:                                              ; preds = %319
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %323 unwind label %173

323:                                              ; preds = %321
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %322, ptr noundef @.str.24)
          to label %325 unwind label %173

325:                                              ; preds = %323
  %326 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.1)
          to label %327 unwind label %173

327:                                              ; preds = %325
  br label %332

328:                                              ; preds = %308
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %22, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %1102

332:                                              ; preds = %327, %311
  br label %989

333:                                              ; preds = %305
  %334 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.13)
          to label %335 unwind label %173

335:                                              ; preds = %333
  br i1 %334, label %336, label %339

336:                                              ; preds = %335
  %337 = load i32, ptr %29, align 4, !tbaa !11
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %29, align 4, !tbaa !11
  br label %988

339:                                              ; preds = %335
  %340 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.14)
          to label %341 unwind label %173

341:                                              ; preds = %339
  br i1 %340, label %342, label %345

342:                                              ; preds = %341
  %343 = load i32, ptr %30, align 4, !tbaa !11
  %344 = add nsw i32 %343, 1
  store i32 %344, ptr %30, align 4, !tbaa !11
  br label %987

345:                                              ; preds = %341
  %346 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.18)
          to label %347 unwind label %173

347:                                              ; preds = %345
  br i1 %346, label %348, label %351

348:                                              ; preds = %347
  %349 = load i32, ptr %31, align 4, !tbaa !11
  %350 = add nsw i32 %349, 1
  store i32 %350, ptr %31, align 4, !tbaa !11
  br label %986

351:                                              ; preds = %347
  %352 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.25)
          to label %353 unwind label %173

353:                                              ; preds = %351
  br i1 %352, label %354, label %985

354:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  store i32 0, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  store i32 0, ptr %41, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  %355 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %356 unwind label %398

356:                                              ; preds = %354
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %24, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %357 unwind label %398

357:                                              ; preds = %356
  %358 = load ptr, ptr %24, align 8, !tbaa !9
  %359 = getelementptr i8, ptr %358, i64 -24
  %360 = load i64, ptr %359, align 8
  %361 = getelementptr inbounds i8, ptr %24, i64 %360
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %361, i32 noundef 0)
          to label %362 unwind label %398

362:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %44, i32 noundef -1)
          to label %363 unwind label %402

363:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  br label %364

364:                                              ; preds = %693, %363
  %365 = load ptr, ptr %24, align 8, !tbaa !9
  %366 = getelementptr i8, ptr %365, i64 -24
  %367 = load i64, ptr %366, align 8
  %368 = getelementptr inbounds i8, ptr %24, i64 %367
  %369 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %368)
          to label %370 unwind label %406

370:                                              ; preds = %364
  %371 = xor i1 %369, true
  br i1 %371, label %372, label %698

372:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  %373 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %374 unwind label %410

374:                                              ; preds = %372
  br label %375

375:                                              ; preds = %690, %374
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  %376 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef @.str.3, i64 noundef 0) #9
  store i64 %376, ptr %47, align 8, !tbaa !17
  %377 = load i64, ptr %47, align 8, !tbaa !17
  %378 = icmp ne i64 %377, -1
  br i1 %378, label %379, label %446

379:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #9
  %380 = load i64, ptr %47, align 8, !tbaa !17
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %46, i64 noundef 0, i64 noundef %380)
          to label %381 unwind label %414

381:                                              ; preds = %379
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %25, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %382 unwind label %418

382:                                              ; preds = %381
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  %383 = load ptr, ptr %25, align 8, !tbaa !9
  %384 = getelementptr i8, ptr %383, i64 -24
  %385 = load i64, ptr %384, align 8
  %386 = getelementptr inbounds i8, ptr %25, i64 %385
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %386, i32 noundef 0)
          to label %387 unwind label %423

387:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #9
  %388 = load i64, ptr %47, align 8, !tbaa !17
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %49, ptr noundef nonnull align 8 dereferenceable(32) %46, i64 noundef 0, i64 noundef %388)
          to label %389 unwind label %427

389:                                              ; preds = %387
  %390 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br i1 %390, label %391, label %435

391:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #9
  %392 = load i64, ptr %47, align 8, !tbaa !17
  %393 = add i64 %392, 1
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %50, ptr noundef nonnull align 8 dereferenceable(32) %46, i64 noundef %393, i64 noundef -1)
          to label %394 unwind label %431

394:                                              ; preds = %391
  %395 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  %396 = load i32, ptr %40, align 4, !tbaa !11
  %397 = add nsw i32 %396, 1
  store i32 %397, ptr %40, align 4, !tbaa !11
  store i32 10, ptr %28, align 4
  br label %687

398:                                              ; preds = %357, %356, %354
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %22, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %23, align 4
  br label %984

402:                                              ; preds = %362
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %22, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %23, align 4
  br label %983

406:                                              ; preds = %364
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %22, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %23, align 4
  br label %982

410:                                              ; preds = %372
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %22, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %23, align 4
  br label %697

414:                                              ; preds = %379
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %22, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %23, align 4
  br label %422

418:                                              ; preds = %381
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %22, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %422

422:                                              ; preds = %418, %414
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  br label %696

423:                                              ; preds = %679, %677, %675, %661, %646, %633, %631, %629, %622, %609, %598, %595, %591, %589, %587, %572, %551, %540, %537, %518, %516, %514, %492, %483, %456, %454, %452, %447, %446, %435, %382
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %22, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %23, align 4
  br label %696

427:                                              ; preds = %387
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %22, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br label %696

431:                                              ; preds = %391
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %22, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  br label %696

435:                                              ; preds = %389
  %436 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %437 unwind label %423

437:                                              ; preds = %435
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #9
  %438 = load i64, ptr %47, align 8, !tbaa !17
  %439 = add i64 %438, 1
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %46, i64 noundef %439, i64 noundef -1)
          to label %440 unwind label %442

440:                                              ; preds = %437
  %441 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #9
  br label %465

442:                                              ; preds = %437
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %22, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #9
  br label %696

446:                                              ; preds = %375
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %25, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %447 unwind label %423

447:                                              ; preds = %446
  %448 = load ptr, ptr %25, align 8, !tbaa !9
  %449 = getelementptr i8, ptr %448, i64 -24
  %450 = load i64, ptr %449, align 8
  %451 = getelementptr inbounds i8, ptr %25, i64 %450
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %451, i32 noundef 0)
          to label %452 unwind label %423

452:                                              ; preds = %447
  %453 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %454 unwind label %423

454:                                              ; preds = %452
  %455 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef @.str.1)
          to label %456 unwind label %423

456:                                              ; preds = %454
  %457 = load ptr, ptr %25, align 8, !tbaa !9
  %458 = getelementptr i8, ptr %457, i64 -24
  %459 = load i64, ptr %458, align 8
  %460 = getelementptr inbounds i8, ptr %25, i64 %459
  %461 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %460)
          to label %462 unwind label %423

462:                                              ; preds = %456
  br i1 %461, label %463, label %464

463:                                              ; preds = %462
  store i32 10, ptr %28, align 4
  br label %687

464:                                              ; preds = %462
  br label %465

465:                                              ; preds = %464, %440
  %466 = load i32, ptr %40, align 4, !tbaa !11
  switch i32 %466, label %684 [
    i32 0, label %467
    i32 1, label %523
    i32 2, label %638
  ]

467:                                              ; preds = %465
  %468 = load i32, ptr %42, align 4, !tbaa !11
  %469 = icmp slt i32 %468, 0
  br i1 %469, label %470, label %475

470:                                              ; preds = %467
  %471 = load i32, ptr %29, align 4, !tbaa !11
  %472 = load i32, ptr %42, align 4, !tbaa !11
  %473 = add nsw i32 %471, %472
  %474 = add nsw i32 %473, 1
  store i32 %474, ptr %42, align 4, !tbaa !11
  br label %475

475:                                              ; preds = %470, %467
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  %476 = load i32, ptr %42, align 4, !tbaa !11
  %477 = sub nsw i32 %476, 1
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %52, i32 noundef %477)
          to label %478 unwind label %506

478:                                              ; preds = %475
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %52)
          to label %479 unwind label %506

479:                                              ; preds = %478
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #9
  %480 = load i32, ptr %42, align 4, !tbaa !11
  %481 = sub nsw i32 %480, 1
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %53, i32 noundef %481)
          to label %482 unwind label %510

482:                                              ; preds = %479
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 4 dereferenceable(4) %53)
          to label %483 unwind label %510

483:                                              ; preds = %482
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  %484 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %485 unwind label %423

485:                                              ; preds = %483
  br i1 %484, label %486, label %522

486:                                              ; preds = %485
  %487 = load i32, ptr %42, align 4, !tbaa !11
  %488 = sub nsw i32 %487, 1
  %489 = zext i32 %488 to i64
  %490 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %491 = icmp ult i64 %489, %490
  br i1 %491, label %492, label %514

492:                                              ; preds = %486
  %493 = load ptr, ptr %8, align 8, !tbaa !5
  %494 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %494, i64 4, i1 false)
  %495 = load i32, ptr %42, align 4, !tbaa !11
  %496 = sub nsw i32 %495, 1
  %497 = sext i32 %496 to i64
  %498 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %497) #9
  %499 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %54, i32 0, i32 0
  %500 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %499, i32 0, i32 0
  %501 = load i32, ptr %500, align 4
  %502 = load ptr, ptr %493, align 8, !tbaa !9
  %503 = getelementptr inbounds ptr, ptr %502, i64 12
  %504 = load ptr, ptr %503, align 8
  invoke void %504(ptr noundef nonnull align 8 dereferenceable(8) %493, i32 %501, ptr noundef nonnull align 4 dereferenceable(12) %498)
          to label %505 unwind label %423

505:                                              ; preds = %492
  br label %521

506:                                              ; preds = %478, %475
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %22, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  br label %696

510:                                              ; preds = %482, %479
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %22, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  br label %696

514:                                              ; preds = %486
  %515 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %516 unwind label %423

516:                                              ; preds = %514
  %517 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %515, ptr noundef @.str.26)
          to label %518 unwind label %423

518:                                              ; preds = %516
  %519 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %517, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %520 unwind label %423

520:                                              ; preds = %518
  br label %521

521:                                              ; preds = %520, %505
  br label %522

522:                                              ; preds = %521, %485
  br label %684

523:                                              ; preds = %465
  %524 = load i32, ptr %42, align 4, !tbaa !11
  %525 = icmp slt i32 %524, 0
  br i1 %525, label %526, label %531

526:                                              ; preds = %523
  %527 = load i32, ptr %30, align 4, !tbaa !11
  %528 = load i32, ptr %42, align 4, !tbaa !11
  %529 = add nsw i32 %527, %528
  %530 = add nsw i32 %529, 1
  store i32 %530, ptr %42, align 4, !tbaa !11
  br label %531

531:                                              ; preds = %526, %523
  %532 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  %533 = xor i1 %532, true
  br i1 %533, label %534, label %535

534:                                              ; preds = %531
  br label %537

535:                                              ; preds = %531
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.28, i32 noundef 636, ptr noundef @__PRETTY_FUNCTION__._ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE) #11
  unreachable

536:                                              ; No predecessors!
  br label %537

537:                                              ; preds = %536, %534
  %538 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %539 unwind label %423

539:                                              ; preds = %537
  br i1 %538, label %540, label %595

540:                                              ; preds = %539
  %541 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %542 unwind label %423

542:                                              ; preds = %540
  br i1 %541, label %543, label %595

543:                                              ; preds = %542
  %544 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br i1 %544, label %587, label %545

545:                                              ; preds = %543
  %546 = load i32, ptr %42, align 4, !tbaa !11
  %547 = sub nsw i32 %546, 1
  %548 = zext i32 %547 to i64
  %549 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  %550 = icmp ult i64 %548, %549
  br i1 %550, label %551, label %587

551:                                              ; preds = %545
  %552 = load ptr, ptr %8, align 8, !tbaa !5
  %553 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %553, i64 4, i1 false)
  %554 = load i32, ptr %42, align 4, !tbaa !11
  %555 = sub nsw i32 %554, 1
  %556 = sext i32 %555 to i64
  %557 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %556) #9
  %558 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %55, i32 0, i32 0
  %559 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %558, i32 0, i32 0
  %560 = load i32, ptr %559, align 4
  %561 = load ptr, ptr %552, align 8, !tbaa !9
  %562 = getelementptr inbounds ptr, ptr %561, i64 14
  %563 = load ptr, ptr %562, align 8
  invoke void %563(ptr noundef nonnull align 8 dereferenceable(8) %552, i32 %560, ptr noundef nonnull align 4 dereferenceable(8) %557)
          to label %564 unwind label %423

564:                                              ; preds = %551
  %565 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  br i1 %565, label %586, label %566

566:                                              ; preds = %564
  %567 = load i32, ptr %42, align 4, !tbaa !11
  %568 = sub nsw i32 %567, 1
  %569 = zext i32 %568 to i64
  %570 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %571 = icmp ult i64 %569, %570
  br i1 %571, label %572, label %586

572:                                              ; preds = %566
  %573 = load ptr, ptr %8, align 8, !tbaa !5
  %574 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %574, i64 4, i1 false)
  %575 = load i32, ptr %42, align 4, !tbaa !11
  %576 = sub nsw i32 %575, 1
  %577 = sext i32 %576 to i64
  %578 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %577) #9
  %579 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %56, i32 0, i32 0
  %580 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %579, i32 0, i32 0
  %581 = load i32, ptr %580, align 4
  %582 = load ptr, ptr %573, align 8, !tbaa !9
  %583 = getelementptr inbounds ptr, ptr %582, i64 16
  %584 = load ptr, ptr %583, align 8
  invoke void %584(ptr noundef nonnull align 8 dereferenceable(8) %573, i32 %581, ptr noundef nonnull align 4 dereferenceable(12) %578)
          to label %585 unwind label %423

585:                                              ; preds = %572
  br label %586

586:                                              ; preds = %585, %566, %564
  br label %594

587:                                              ; preds = %545, %543
  %588 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %589 unwind label %423

589:                                              ; preds = %587
  %590 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %588, ptr noundef @.str.29)
          to label %591 unwind label %423

591:                                              ; preds = %589
  %592 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %590, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %593 unwind label %423

593:                                              ; preds = %591
  br label %594

594:                                              ; preds = %593, %586
  br label %595

595:                                              ; preds = %594, %542, %539
  %596 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %597 unwind label %423

597:                                              ; preds = %595
  br i1 %596, label %598, label %637

598:                                              ; preds = %597
  %599 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %600 unwind label %423

600:                                              ; preds = %598
  br i1 %599, label %601, label %637

601:                                              ; preds = %600
  %602 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br i1 %602, label %629, label %603

603:                                              ; preds = %601
  %604 = load i32, ptr %42, align 4, !tbaa !11
  %605 = sub nsw i32 %604, 1
  %606 = zext i32 %605 to i64
  %607 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  %608 = icmp ult i64 %606, %607
  br i1 %608, label %609, label %629

609:                                              ; preds = %603
  %610 = load i32, ptr %42, align 4, !tbaa !11
  %611 = sub nsw i32 %610, 1
  %612 = sext i32 %611 to i64
  %613 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %612) #9
  invoke void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 4 dereferenceable(8) %613)
          to label %614 unwind label %423

614:                                              ; preds = %609
  %615 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  br i1 %615, label %628, label %616

616:                                              ; preds = %614
  %617 = load i32, ptr %42, align 4, !tbaa !11
  %618 = sub nsw i32 %617, 1
  %619 = zext i32 %618 to i64
  %620 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %621 = icmp ult i64 %619, %620
  br i1 %621, label %622, label %628

622:                                              ; preds = %616
  %623 = load i32, ptr %42, align 4, !tbaa !11
  %624 = sub nsw i32 %623, 1
  %625 = sext i32 %624 to i64
  %626 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %625) #9
  invoke void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(12) %626)
          to label %627 unwind label %423

627:                                              ; preds = %622
  br label %628

628:                                              ; preds = %627, %616, %614
  br label %636

629:                                              ; preds = %603, %601
  %630 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %631 unwind label %423

631:                                              ; preds = %629
  %632 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %630, ptr noundef @.str.29)
          to label %633 unwind label %423

633:                                              ; preds = %631
  %634 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %632, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %635 unwind label %423

635:                                              ; preds = %633
  br label %636

636:                                              ; preds = %635, %628
  br label %637

637:                                              ; preds = %636, %600, %597
  br label %684

638:                                              ; preds = %465
  %639 = load i32, ptr %42, align 4, !tbaa !11
  %640 = icmp slt i32 %639, 0
  br i1 %640, label %641, label %646

641:                                              ; preds = %638
  %642 = load i32, ptr %31, align 4, !tbaa !11
  %643 = load i32, ptr %42, align 4, !tbaa !11
  %644 = add nsw i32 %642, %643
  %645 = add nsw i32 %644, 1
  store i32 %645, ptr %42, align 4, !tbaa !11
  br label %646

646:                                              ; preds = %641, %638
  %647 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %648 unwind label %423

648:                                              ; preds = %646
  br i1 %647, label %649, label %683

649:                                              ; preds = %648
  %650 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  %651 = xor i1 %650, true
  br i1 %651, label %652, label %653

652:                                              ; preds = %649
  br label %655

653:                                              ; preds = %649
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.28, i32 noundef 676, ptr noundef @__PRETTY_FUNCTION__._ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE) #11
  unreachable

654:                                              ; No predecessors!
  br label %655

655:                                              ; preds = %654, %652
  %656 = load i32, ptr %42, align 4, !tbaa !11
  %657 = sub nsw i32 %656, 1
  %658 = zext i32 %657 to i64
  %659 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %660 = icmp ult i64 %658, %659
  br i1 %660, label %661, label %675

661:                                              ; preds = %655
  %662 = load ptr, ptr %8, align 8, !tbaa !5
  %663 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %663, i64 4, i1 false)
  %664 = load i32, ptr %42, align 4, !tbaa !11
  %665 = sub nsw i32 %664, 1
  %666 = sext i32 %665 to i64
  %667 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %666) #9
  %668 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %57, i32 0, i32 0
  %669 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %668, i32 0, i32 0
  %670 = load i32, ptr %669, align 4
  %671 = load ptr, ptr %662, align 8, !tbaa !9
  %672 = getelementptr inbounds ptr, ptr %671, i64 9
  %673 = load ptr, ptr %672, align 8
  invoke void %673(ptr noundef nonnull align 8 dereferenceable(8) %662, i32 %670, ptr noundef nonnull align 4 dereferenceable(12) %667)
          to label %674 unwind label %423

674:                                              ; preds = %661
  br label %682

675:                                              ; preds = %655
  %676 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %677 unwind label %423

677:                                              ; preds = %675
  %678 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %676, ptr noundef @.str.30)
          to label %679 unwind label %423

679:                                              ; preds = %677
  %680 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %678, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %681 unwind label %423

681:                                              ; preds = %679
  br label %682

682:                                              ; preds = %681, %674
  br label %683

683:                                              ; preds = %682, %648
  br label %684

684:                                              ; preds = %683, %637, %522, %465
  %685 = load i32, ptr %40, align 4, !tbaa !11
  %686 = add nsw i32 %685, 1
  store i32 %686, ptr %40, align 4, !tbaa !11
  store i32 0, ptr %28, align 4
  br label %687

687:                                              ; preds = %684, %463, %394
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  %688 = load i32, ptr %28, align 4
  switch i32 %688, label %1116 [
    i32 0, label %689
    i32 10, label %690
  ]

689:                                              ; preds = %687
  br label %690

690:                                              ; preds = %689, %687
  %691 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  %692 = xor i1 %691, true
  br i1 %692, label %375, label %693, !llvm.loop !19

693:                                              ; preds = %690
  store i32 0, ptr %40, align 4, !tbaa !11
  %694 = load i32, ptr %41, align 4, !tbaa !11
  %695 = add nsw i32 %694, 1
  store i32 %695, ptr %41, align 4, !tbaa !11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br label %364, !llvm.loop !20

696:                                              ; preds = %510, %506, %442, %431, %427, %423, %422
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  br label %697

697:                                              ; preds = %696, %410
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br label %982

698:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  %699 = load ptr, ptr %8, align 8, !tbaa !5
  %700 = load ptr, ptr %699, align 8, !tbaa !9
  %701 = getelementptr inbounds ptr, ptr %700, i64 32
  %702 = load ptr, ptr %701, align 8
  %703 = invoke noundef i64 %702(ptr noundef nonnull align 8 dereferenceable(8) %699)
          to label %704 unwind label %717

704:                                              ; preds = %698
  store i64 %703, ptr %58, align 8, !tbaa !17
  invoke void @_ZN8OpenMesh2IO26remove_duplicated_verticesERSt6vectorINS_12VertexHandleESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %705 unwind label %717

705:                                              ; preds = %704
  %706 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  %707 = icmp ugt i64 %706, 2
  br i1 %707, label %708, label %725

708:                                              ; preds = %705
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #9
  %709 = load ptr, ptr %8, align 8, !tbaa !5
  %710 = load ptr, ptr %709, align 8, !tbaa !9
  %711 = getelementptr inbounds ptr, ptr %710, i64 4
  %712 = load ptr, ptr %711, align 8
  %713 = invoke i32 %712(ptr noundef nonnull align 8 dereferenceable(8) %709, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %714 unwind label %721

714:                                              ; preds = %708
  %715 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %59, i32 0, i32 0
  %716 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %715, i32 0, i32 0
  store i32 %713, ptr %716, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %59, i64 4, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %725

717:                                              ; preds = %742, %730, %727, %704, %698
  %718 = landingpad { ptr, i32 }
          cleanup
  %719 = extractvalue { ptr, i32 } %718, 0
  store ptr %719, ptr %22, align 8
  %720 = extractvalue { ptr, i32 } %718, 1
  store i32 %720, ptr %23, align 4
  br label %981

721:                                              ; preds = %708
  %722 = landingpad { ptr, i32 }
          cleanup
  %723 = extractvalue { ptr, i32 } %722, 0
  store ptr %723, ptr %22, align 8
  %724 = extractvalue { ptr, i32 } %722, 1
  store i32 %724, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %981

725:                                              ; preds = %714, %705
  %726 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  br i1 %726, label %755, label %727

727:                                              ; preds = %725
  %728 = invoke noundef zeroext i1 @_ZNK8OpenMesh10BaseHandle8is_validEv(ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %729 unwind label %717

729:                                              ; preds = %727
  br i1 %728, label %730, label %755

730:                                              ; preds = %729
  %731 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %44, i64 4, i1 false)
  %732 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %732, i64 4, i1 false)
  %733 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %60, i32 0, i32 0
  %734 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %733, i32 0, i32 0
  %735 = load i32, ptr %734, align 4
  %736 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %61, i32 0, i32 0
  %737 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %736, i32 0, i32 0
  %738 = load i32, ptr %737, align 4
  %739 = load ptr, ptr %731, align 8, !tbaa !9
  %740 = getelementptr inbounds ptr, ptr %739, i64 5
  %741 = load ptr, ptr %740, align 8
  invoke void %741(ptr noundef nonnull align 8 dereferenceable(8) %731, i32 %735, i32 %738, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %742 unwind label %717

742:                                              ; preds = %730
  %743 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %44, i64 4, i1 false)
  %744 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %744, i64 4, i1 false)
  %745 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %62, i32 0, i32 0
  %746 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %745, i32 0, i32 0
  %747 = load i32, ptr %746, align 4
  %748 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %63, i32 0, i32 0
  %749 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %748, i32 0, i32 0
  %750 = load i32, ptr %749, align 4
  %751 = load ptr, ptr %743, align 8, !tbaa !9
  %752 = getelementptr inbounds ptr, ptr %751, i64 6
  %753 = load ptr, ptr %752, align 8
  invoke void %753(ptr noundef nonnull align 8 dereferenceable(8) %743, i32 %747, i32 %750, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %754 unwind label %717

754:                                              ; preds = %742
  br label %755

755:                                              ; preds = %754, %729, %725
  %756 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br i1 %756, label %914, label %757

757:                                              ; preds = %755
  call void @llvm.lifetime.start.p0(i64 24, ptr %64) #9
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #9
  store i64 0, ptr %65, align 8, !tbaa !17
  br label %758

758:                                              ; preds = %781, %757
  %759 = load i64, ptr %65, align 8, !tbaa !17
  %760 = load ptr, ptr %8, align 8, !tbaa !5
  %761 = load ptr, ptr %760, align 8, !tbaa !9
  %762 = getelementptr inbounds ptr, ptr %761, i64 32
  %763 = load ptr, ptr %762, align 8
  %764 = invoke noundef i64 %763(ptr noundef nonnull align 8 dereferenceable(8) %760)
          to label %765 unwind label %770

765:                                              ; preds = %758
  %766 = load i64, ptr %58, align 8, !tbaa !17
  %767 = sub i64 %764, %766
  %768 = icmp ult i64 %759, %767
  br i1 %768, label %774, label %769

769:                                              ; preds = %765
  store i32 12, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  br label %789

770:                                              ; preds = %758
  %771 = landingpad { ptr, i32 }
          cleanup
  %772 = extractvalue { ptr, i32 } %771, 0
  store ptr %772, ptr %22, align 8
  %773 = extractvalue { ptr, i32 } %771, 1
  store i32 %773, ptr %23, align 4
  br label %788

774:                                              ; preds = %765
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #9
  %775 = load i64, ptr %58, align 8, !tbaa !17
  %776 = load i64, ptr %65, align 8, !tbaa !17
  %777 = add i64 %775, %776
  %778 = trunc i64 %777 to i32
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %66, i32 noundef %778)
          to label %779 unwind label %784

779:                                              ; preds = %774
  invoke void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 4 dereferenceable(4) %66)
          to label %780 unwind label %784

780:                                              ; preds = %779
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  br label %781

781:                                              ; preds = %780
  %782 = load i64, ptr %65, align 8, !tbaa !17
  %783 = add i64 %782, 1
  store i64 %783, ptr %65, align 8, !tbaa !17
  br label %758, !llvm.loop !21

784:                                              ; preds = %779, %774
  %785 = landingpad { ptr, i32 }
          cleanup
  %786 = extractvalue { ptr, i32 } %785, 0
  store ptr %786, ptr %22, align 8
  %787 = extractvalue { ptr, i32 } %785, 1
  store i32 %787, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  br label %788

788:                                              ; preds = %784, %770
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  br label %913

789:                                              ; preds = %769
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #9
  %790 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %91, i32 0, i32 1
  %791 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %790, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %792 unwind label %814

792:                                              ; preds = %789
  store ptr %791, ptr %67, align 8, !tbaa !5
  %793 = load ptr, ptr %67, align 8, !tbaa !5
  %794 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_8Material6has_KdEv(ptr noundef nonnull align 8 dereferenceable(93) %793)
          to label %795 unwind label %814

795:                                              ; preds = %792
  br i1 %794, label %796, label %843

796:                                              ; preds = %795
  call void @llvm.lifetime.start.p0(i64 3, ptr %68) #9
  %797 = load ptr, ptr %67, align 8, !tbaa !5
  %798 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK8OpenMesh2IO11_OBJReader_8Material2KdEv(ptr noundef nonnull align 8 dereferenceable(93) %797)
          to label %799 unwind label %818

799:                                              ; preds = %796
  %800 = invoke i24 @_ZN8OpenMesh10color_castINS_7VectorTIhLi3EEENS1_IfLi3EEEEENS_12color_casterIT_T0_E11return_typeERKS6_(ptr noundef nonnull align 4 dereferenceable(12) %798)
          to label %801 unwind label %818

801:                                              ; preds = %799
  %802 = getelementptr inbounds %"class.OpenMesh::VectorT.47", ptr %68, i32 0, i32 0
  %803 = getelementptr inbounds %"struct.std::array.48", ptr %802, i32 0, i32 0
  store i24 %800, ptr %803, align 1
  %804 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14face_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %805 unwind label %818

805:                                              ; preds = %801
  br i1 %804, label %806, label %841

806:                                              ; preds = %805
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #9
  %807 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  %808 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %69, i32 0, i32 0
  store ptr %807, ptr %808, align 8
  br label %809

809:                                              ; preds = %832, %806
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #9
  %810 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  %811 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %70, i32 0, i32 0
  store ptr %810, ptr %811, align 8
  %812 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #9
  br i1 %812, label %822, label %813

813:                                              ; preds = %809
  store i32 15, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #9
  br label %838

814:                                              ; preds = %882, %878, %847, %843, %792, %789
  %815 = landingpad { ptr, i32 }
          cleanup
  %816 = extractvalue { ptr, i32 } %815, 0
  store ptr %816, ptr %22, align 8
  %817 = extractvalue { ptr, i32 } %815, 1
  store i32 %817, ptr %23, align 4
  br label %912

818:                                              ; preds = %838, %801, %799, %796
  %819 = landingpad { ptr, i32 }
          cleanup
  %820 = extractvalue { ptr, i32 } %819, 0
  store ptr %820, ptr %22, align 8
  %821 = extractvalue { ptr, i32 } %819, 1
  store i32 %821, ptr %23, align 4
  br label %842

822:                                              ; preds = %809
  %823 = load ptr, ptr %8, align 8, !tbaa !5
  %824 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %824, i64 4, i1 false)
  %825 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %71, i32 0, i32 0
  %826 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %825, i32 0, i32 0
  %827 = load i32, ptr %826, align 4
  %828 = load ptr, ptr %823, align 8, !tbaa !9
  %829 = getelementptr inbounds ptr, ptr %828, i64 23
  %830 = load ptr, ptr %829, align 8
  invoke void %830(ptr noundef nonnull align 8 dereferenceable(8) %823, i32 %827, ptr noundef nonnull align 1 dereferenceable(3) %68)
          to label %831 unwind label %834

831:                                              ; preds = %822
  br label %832

832:                                              ; preds = %831
  %833 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #9
  br label %809, !llvm.loop !22

834:                                              ; preds = %822
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %22, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #9
  br label %842

838:                                              ; preds = %813
  %839 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef 512)
          to label %840 unwind label %818

840:                                              ; preds = %838
  br label %841

841:                                              ; preds = %840, %805
  call void @llvm.lifetime.end.p0(i64 3, ptr %68) #9
  br label %843

842:                                              ; preds = %834, %818
  call void @llvm.lifetime.end.p0(i64 3, ptr %68) #9
  br label %912

843:                                              ; preds = %841, %795
  %844 = load ptr, ptr %67, align 8, !tbaa !5
  %845 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_8Material10has_map_KdEv(ptr noundef nonnull align 8 dereferenceable(93) %844)
          to label %846 unwind label %814

846:                                              ; preds = %843
  br i1 %845, label %847, label %882

847:                                              ; preds = %846
  %848 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %849 unwind label %814

849:                                              ; preds = %847
  br i1 %848, label %850, label %881

850:                                              ; preds = %849
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #9
  %851 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  %852 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %72, i32 0, i32 0
  store ptr %851, ptr %852, align 8
  br label %853

853:                                              ; preds = %872, %850
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #9
  %854 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  %855 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %73, i32 0, i32 0
  store ptr %854, ptr %855, align 8
  %856 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %73) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #9
  br i1 %856, label %858, label %857

857:                                              ; preds = %853
  store i32 18, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  br label %878

858:                                              ; preds = %853
  %859 = load ptr, ptr %8, align 8, !tbaa !5
  %860 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %72) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %860, i64 4, i1 false)
  %861 = load ptr, ptr %67, align 8, !tbaa !5
  %862 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO11_OBJReader_8Material12map_Kd_indexEv(ptr noundef nonnull align 8 dereferenceable(93) %861)
          to label %863 unwind label %874

863:                                              ; preds = %858
  %864 = load i32, ptr %862, align 4, !tbaa !11
  %865 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %74, i32 0, i32 0
  %866 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %865, i32 0, i32 0
  %867 = load i32, ptr %866, align 4
  %868 = load ptr, ptr %859, align 8, !tbaa !9
  %869 = getelementptr inbounds ptr, ptr %868, i64 7
  %870 = load ptr, ptr %869, align 8
  invoke void %870(ptr noundef nonnull align 8 dereferenceable(8) %859, i32 %867, i32 noundef %864)
          to label %871 unwind label %874

871:                                              ; preds = %863
  br label %872

872:                                              ; preds = %871
  %873 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %72) #9
  br label %853, !llvm.loop !23

874:                                              ; preds = %863, %858
  %875 = landingpad { ptr, i32 }
          cleanup
  %876 = extractvalue { ptr, i32 } %875, 0
  store ptr %876, ptr %22, align 8
  %877 = extractvalue { ptr, i32 } %875, 1
  store i32 %877, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  br label %912

878:                                              ; preds = %857
  %879 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef 1024)
          to label %880 unwind label %814

880:                                              ; preds = %878
  br label %881

881:                                              ; preds = %880, %849
  br label %911

882:                                              ; preds = %846
  %883 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %884 unwind label %814

884:                                              ; preds = %882
  br i1 %883, label %885, label %910

885:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #9
  %886 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  %887 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %75, i32 0, i32 0
  store ptr %886, ptr %887, align 8
  br label %888

888:                                              ; preds = %903, %885
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #9
  %889 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  %890 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %76, i32 0, i32 0
  store ptr %889, ptr %890, align 8
  %891 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 8 dereferenceable(8) %76) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #9
  br i1 %891, label %893, label %892

892:                                              ; preds = %888
  store i32 21, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #9
  br label %909

893:                                              ; preds = %888
  %894 = load ptr, ptr %8, align 8, !tbaa !5
  %895 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %75) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %895, i64 4, i1 false)
  %896 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %77, i32 0, i32 0
  %897 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %896, i32 0, i32 0
  %898 = load i32, ptr %897, align 4
  %899 = load ptr, ptr %894, align 8, !tbaa !9
  %900 = getelementptr inbounds ptr, ptr %899, i64 7
  %901 = load ptr, ptr %900, align 8
  invoke void %901(ptr noundef nonnull align 8 dereferenceable(8) %894, i32 %898, i32 noundef 0)
          to label %902 unwind label %905

902:                                              ; preds = %893
  br label %903

903:                                              ; preds = %902
  %904 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %75) #9
  br label %888, !llvm.loop !24

905:                                              ; preds = %893
  %906 = landingpad { ptr, i32 }
          cleanup
  %907 = extractvalue { ptr, i32 } %906, 0
  store ptr %907, ptr %22, align 8
  %908 = extractvalue { ptr, i32 } %906, 1
  store i32 %908, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #9
  br label %912

909:                                              ; preds = %892
  br label %910

910:                                              ; preds = %909, %884
  br label %911

911:                                              ; preds = %910, %881
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #9
  br label %980

912:                                              ; preds = %905, %874, %842, %814
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  br label %913

913:                                              ; preds = %912, %788
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #9
  br label %981

914:                                              ; preds = %755
  call void @llvm.lifetime.start.p0(i64 24, ptr %78) #9
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #9
  store i64 0, ptr %79, align 8, !tbaa !17
  br label %915

915:                                              ; preds = %938, %914
  %916 = load i64, ptr %79, align 8, !tbaa !17
  %917 = load ptr, ptr %8, align 8, !tbaa !5
  %918 = load ptr, ptr %917, align 8, !tbaa !9
  %919 = getelementptr inbounds ptr, ptr %918, i64 32
  %920 = load ptr, ptr %919, align 8
  %921 = invoke noundef i64 %920(ptr noundef nonnull align 8 dereferenceable(8) %917)
          to label %922 unwind label %927

922:                                              ; preds = %915
  %923 = load i64, ptr %58, align 8, !tbaa !17
  %924 = sub i64 %921, %923
  %925 = icmp ult i64 %916, %924
  br i1 %925, label %931, label %926

926:                                              ; preds = %922
  store i32 24, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #9
  br label %946

927:                                              ; preds = %915
  %928 = landingpad { ptr, i32 }
          cleanup
  %929 = extractvalue { ptr, i32 } %928, 0
  store ptr %929, ptr %22, align 8
  %930 = extractvalue { ptr, i32 } %928, 1
  store i32 %930, ptr %23, align 4
  br label %945

931:                                              ; preds = %922
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #9
  %932 = load i64, ptr %58, align 8, !tbaa !17
  %933 = load i64, ptr %79, align 8, !tbaa !17
  %934 = add i64 %932, %933
  %935 = trunc i64 %934 to i32
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %80, i32 noundef %935)
          to label %936 unwind label %941

936:                                              ; preds = %931
  invoke void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) %80)
          to label %937 unwind label %941

937:                                              ; preds = %936
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #9
  br label %938

938:                                              ; preds = %937
  %939 = load i64, ptr %79, align 8, !tbaa !17
  %940 = add i64 %939, 1
  store i64 %940, ptr %79, align 8, !tbaa !17
  br label %915, !llvm.loop !25

941:                                              ; preds = %936, %931
  %942 = landingpad { ptr, i32 }
          cleanup
  %943 = extractvalue { ptr, i32 } %942, 0
  store ptr %943, ptr %22, align 8
  %944 = extractvalue { ptr, i32 } %942, 1
  store i32 %944, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #9
  br label %945

945:                                              ; preds = %941, %927
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #9
  br label %979

946:                                              ; preds = %926
  %947 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %948 unwind label %957

948:                                              ; preds = %946
  br i1 %947, label %949, label %978

949:                                              ; preds = %948
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #9
  %950 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  %951 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %81, i32 0, i32 0
  store ptr %950, ptr %951, align 8
  br label %952

952:                                              ; preds = %971, %949
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #9
  %953 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  %954 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %82, i32 0, i32 0
  store ptr %953, ptr %954, align 8
  %955 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %82) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #9
  br i1 %955, label %961, label %956

956:                                              ; preds = %952
  store i32 27, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #9
  br label %977

957:                                              ; preds = %946
  %958 = landingpad { ptr, i32 }
          cleanup
  %959 = extractvalue { ptr, i32 } %958, 0
  store ptr %959, ptr %22, align 8
  %960 = extractvalue { ptr, i32 } %958, 1
  store i32 %960, ptr %23, align 4
  br label %979

961:                                              ; preds = %952
  %962 = load ptr, ptr %8, align 8, !tbaa !5
  %963 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %81) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %963, i64 4, i1 false)
  %964 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %83, i32 0, i32 0
  %965 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %964, i32 0, i32 0
  %966 = load i32, ptr %965, align 4
  %967 = load ptr, ptr %962, align 8, !tbaa !9
  %968 = getelementptr inbounds ptr, ptr %967, i64 7
  %969 = load ptr, ptr %968, align 8
  invoke void %969(ptr noundef nonnull align 8 dereferenceable(8) %962, i32 %966, i32 noundef 0)
          to label %970 unwind label %973

970:                                              ; preds = %961
  br label %971

971:                                              ; preds = %970
  %972 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %81) #9
  br label %952, !llvm.loop !26

973:                                              ; preds = %961
  %974 = landingpad { ptr, i32 }
          cleanup
  %975 = extractvalue { ptr, i32 } %974, 0
  store ptr %975, ptr %22, align 8
  %976 = extractvalue { ptr, i32 } %974, 1
  store i32 %976, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #9
  br label %979

977:                                              ; preds = %956
  br label %978

978:                                              ; preds = %977, %948
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #9
  br label %980

979:                                              ; preds = %973, %957, %945
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #9
  br label %981

980:                                              ; preds = %978, %911
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %985

981:                                              ; preds = %979, %913, %721, %717
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  br label %982

982:                                              ; preds = %981, %697, %406
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #9
  br label %983

983:                                              ; preds = %982, %402
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %984

984:                                              ; preds = %983, %398
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %1102

985:                                              ; preds = %980, %353
  br label %986

986:                                              ; preds = %985, %348
  br label %987

987:                                              ; preds = %986, %342
  br label %988

988:                                              ; preds = %987, %336
  br label %989

989:                                              ; preds = %988, %332
  br label %990

990:                                              ; preds = %989, %299
  br label %138, !llvm.loop !14

991:                                              ; preds = %155
  %992 = load ptr, ptr %8, align 8, !tbaa !5
  %993 = load ptr, ptr %992, align 8, !tbaa !9
  %994 = getelementptr inbounds ptr, ptr %993, i64 32
  %995 = load ptr, ptr %994, align 8
  %996 = invoke noundef i64 %995(ptr noundef nonnull align 8 dereferenceable(8) %992)
          to label %997 unwind label %173

997:                                              ; preds = %991
  %998 = icmp eq i64 %996, 0
  br i1 %998, label %999, label %1097

999:                                              ; preds = %997
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #9
  store i32 0, ptr %84, align 4, !tbaa !11
  %1000 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %1001 = load ptr, ptr %8, align 8, !tbaa !5
  %1002 = load ptr, ptr %1001, align 8, !tbaa !9
  %1003 = getelementptr inbounds ptr, ptr %1002, i64 31
  %1004 = load ptr, ptr %1003, align 8
  %1005 = invoke noundef i64 %1004(ptr noundef nonnull align 8 dereferenceable(8) %1001)
          to label %1006 unwind label %1022

1006:                                             ; preds = %999
  %1007 = icmp eq i64 %1000, %1005
  br i1 %1007, label %1008, label %1049

1008:                                             ; preds = %1006
  %1009 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %1010 unwind label %1022

1010:                                             ; preds = %1008
  br i1 %1009, label %1011, label %1048

1011:                                             ; preds = %1010
  %1012 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %1013 unwind label %1022

1013:                                             ; preds = %1011
  br i1 %1012, label %1014, label %1048

1014:                                             ; preds = %1013
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #9
  %1015 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %1016 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %85, i32 0, i32 0
  store ptr %1015, ptr %1016, align 8
  br label %1017

1017:                                             ; preds = %1039, %1014
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #9
  %1018 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %1019 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %86, i32 0, i32 0
  store ptr %1018, ptr %1019, align 8
  %1020 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(8) %86) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #9
  br i1 %1020, label %1026, label %1021

1021:                                             ; preds = %1017
  store i32 30, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #9
  br label %1047

1022:                                             ; preds = %1061, %1058, %1049, %1011, %1008, %999
  %1023 = landingpad { ptr, i32 }
          cleanup
  %1024 = extractvalue { ptr, i32 } %1023, 0
  store ptr %1024, ptr %22, align 8
  %1025 = extractvalue { ptr, i32 } %1023, 1
  store i32 %1025, ptr %23, align 4
  br label %1096

1026:                                             ; preds = %1017
  %1027 = load ptr, ptr %8, align 8, !tbaa !5
  %1028 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %85) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %1028, i64 4, i1 false)
  %1029 = load i32, ptr %84, align 4, !tbaa !11
  %1030 = sext i32 %1029 to i64
  %1031 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %1030) #9
  %1032 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %87, i32 0, i32 0
  %1033 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %1032, i32 0, i32 0
  %1034 = load i32, ptr %1033, align 4
  %1035 = load ptr, ptr %1027, align 8, !tbaa !9
  %1036 = getelementptr inbounds ptr, ptr %1035, i64 9
  %1037 = load ptr, ptr %1036, align 8
  invoke void %1037(ptr noundef nonnull align 8 dereferenceable(8) %1027, i32 %1034, ptr noundef nonnull align 4 dereferenceable(12) %1031)
          to label %1038 unwind label %1043

1038:                                             ; preds = %1026
  br label %1039

1039:                                             ; preds = %1038
  %1040 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %85) #9
  %1041 = load i32, ptr %84, align 4, !tbaa !11
  %1042 = add nsw i32 %1041, 1
  store i32 %1042, ptr %84, align 4, !tbaa !11
  br label %1017, !llvm.loop !27

1043:                                             ; preds = %1026
  %1044 = landingpad { ptr, i32 }
          cleanup
  %1045 = extractvalue { ptr, i32 } %1044, 0
  store ptr %1045, ptr %22, align 8
  %1046 = extractvalue { ptr, i32 } %1044, 1
  store i32 %1046, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #9
  br label %1096

1047:                                             ; preds = %1021
  br label %1048

1048:                                             ; preds = %1047, %1013, %1010
  br label %1049

1049:                                             ; preds = %1048, %1006
  store i32 0, ptr %84, align 4, !tbaa !11
  %1050 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %1051 = load ptr, ptr %8, align 8, !tbaa !5
  %1052 = load ptr, ptr %1051, align 8, !tbaa !9
  %1053 = getelementptr inbounds ptr, ptr %1052, i64 31
  %1054 = load ptr, ptr %1053, align 8
  %1055 = invoke noundef i64 %1054(ptr noundef nonnull align 8 dereferenceable(8) %1051)
          to label %1056 unwind label %1022

1056:                                             ; preds = %1049
  %1057 = icmp uge i64 %1050, %1055
  br i1 %1057, label %1058, label %1095

1058:                                             ; preds = %1056
  %1059 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %1060 unwind label %1022

1060:                                             ; preds = %1058
  br i1 %1059, label %1061, label %1094

1061:                                             ; preds = %1060
  %1062 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %1063 unwind label %1022

1063:                                             ; preds = %1061
  br i1 %1062, label %1064, label %1094

1064:                                             ; preds = %1063
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #9
  %1065 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %1066 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %88, i32 0, i32 0
  store ptr %1065, ptr %1066, align 8
  br label %1067

1067:                                             ; preds = %1085, %1064
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #9
  %1068 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %1069 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %89, i32 0, i32 0
  store ptr %1068, ptr %1069, align 8
  %1070 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %89) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #9
  br i1 %1070, label %1072, label %1071

1071:                                             ; preds = %1067
  store i32 33, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #9
  br label %1093

1072:                                             ; preds = %1067
  %1073 = load ptr, ptr %8, align 8, !tbaa !5
  %1074 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %90, ptr align 4 %1074, i64 4, i1 false)
  %1075 = load i32, ptr %84, align 4, !tbaa !11
  %1076 = sext i32 %1075 to i64
  %1077 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %1076) #9
  %1078 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %90, i32 0, i32 0
  %1079 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %1078, i32 0, i32 0
  %1080 = load i32, ptr %1079, align 4
  %1081 = load ptr, ptr %1073, align 8, !tbaa !9
  %1082 = getelementptr inbounds ptr, ptr %1081, i64 12
  %1083 = load ptr, ptr %1082, align 8
  invoke void %1083(ptr noundef nonnull align 8 dereferenceable(8) %1073, i32 %1080, ptr noundef nonnull align 4 dereferenceable(12) %1077)
          to label %1084 unwind label %1089

1084:                                             ; preds = %1072
  br label %1085

1085:                                             ; preds = %1084
  %1086 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #9
  %1087 = load i32, ptr %84, align 4, !tbaa !11
  %1088 = add nsw i32 %1087, 1
  store i32 %1088, ptr %84, align 4, !tbaa !11
  br label %1067, !llvm.loop !28

1089:                                             ; preds = %1072
  %1090 = landingpad { ptr, i32 }
          cleanup
  %1091 = extractvalue { ptr, i32 } %1090, 0
  store ptr %1091, ptr %22, align 8
  %1092 = extractvalue { ptr, i32 } %1090, 1
  store i32 %1092, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #9
  br label %1096

1093:                                             ; preds = %1071
  br label %1094

1094:                                             ; preds = %1093, %1063, %1060
  br label %1095

1095:                                             ; preds = %1094, %1056
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #9
  br label %1097

1096:                                             ; preds = %1089, %1043, %1022
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #9
  br label %1102

1097:                                             ; preds = %1095, %997
  %1098 = load ptr, ptr %9, align 8, !tbaa !5
  %1099 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionsaSERKS1_(ptr noundef nonnull align 4 dereferenceable(4) %1098, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %1100 unwind label %173

1100:                                             ; preds = %1097
  store i1 true, ptr %5, align 1
  store i32 1, ptr %28, align 4
  br label %1101

1101:                                             ; preds = %1100, %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %1103

1102:                                             ; preds = %1096, %984, %328, %302, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %1105

1103:                                             ; preds = %1101, %103
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %25) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %25) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %24) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %24) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  %1104 = load i1, ptr %5, align 1
  ret i1 %1104

1105:                                             ; preds = %1102, %124
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %27) #9
  br label %1106

1106:                                             ; preds = %1105, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %26) #9
  br label %1107

1107:                                             ; preds = %1106, %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %25) #9
  br label %1108

1108:                                             ; preds = %1107, %112
  call void @llvm.lifetime.end.p0(i64 392, ptr %25) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %24) #9
  br label %1109

1109:                                             ; preds = %1108, %108
  call void @llvm.lifetime.end.p0(i64 392, ptr %24) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21) #9
  br label %1110

1110:                                             ; preds = %1109, %104
  call void @llvm.lifetime.end.p0(i64 392, ptr %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #9
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  br label %1111

1111:                                             ; preds = %1110
  %1112 = load ptr, ptr %22, align 8
  %1113 = load i32, ptr %23, align 4
  %1114 = insertvalue { ptr, i32 } poison, ptr %1112, 0
  %1115 = insertvalue { ptr, i32 } %1114, i32 %1113, 1
  resume { ptr, i32 } %1115

1116:                                             ; preds = %687
  unreachable
}

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #0

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN8OpenMesh10color_castINS_7VectorTIhLi3EEENS1_IfLi3EEEEENS_12color_casterIT_T0_E11return_typeERKS6_(ptr noundef nonnull align 4 dereferenceable(12)) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 3>, std::allocator<OpenMesh::VectorT<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VectorT<float, 2>, std::allocator<OpenMesh::VectorT<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.OpenMesh::IO::Options" = type { i32 }
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.18 }
%union.anon.18 = type { i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::FaceHandle, std::allocator<OpenMesh::FaceHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.OpenMesh::VectorT.47" = type { %"struct.std::array.48" }
%"struct.std::array.48" = type { [3 x i8] }
%"class.__gnu_cxx::__normal_iterator.49" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [107 x i8], align 1
@__PRETTY_FUNCTION__._ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE = external hidden unnamed_addr constant [88 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1

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

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #0 align 2

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

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

; 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 uwtable
declare dso_local void @_ZN8OpenMesh2IO26remove_duplicated_verticesERSt6vectorINS_12VertexHandleESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5beginEv(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_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef, i32 noundef) unnamed_addr #0 align 2

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

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

declare noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv() local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_materialERSt13basic_fstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3badEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_verticesERSiRNS0_12BaseImporterERNS0_7OptionsERSt6vectorINS_7VectorTIfLi3EEESaIS9_EESC_SC_RS7_INS8_IfLi2EEESaISD_EERS7_INS_12VertexHandleESaISH_EES6_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::vector.30", align 8
  %8 = alloca %"class.std::vector.30", align 8
  %9 = alloca %"class.std::vector.30", align 8
  %10 = alloca %"class.std::vector.35", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector.30", align 8
  %14 = alloca %"class.std::vector.35", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %17 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %18 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %19 = alloca %"class.OpenMesh::IO::Options", align 4
  %20 = alloca %"class.OpenMesh::IO::Options", align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::basic_fstream", align 8
  %24 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %39 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %40 = alloca %"class.std::vector.42", align 8
  %41 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %42 = alloca %"class.OpenMesh::VectorT.47", align 4
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %49 = alloca %"class.std::vector.42", align 8
  %50 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %54 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %55 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %16) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16)
          to label %57 unwind label %62

57:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %17) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17)
          to label %58 unwind label %64

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %18) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18)
          to label %59 unwind label %66

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  call void @_ZN8OpenMesh2IO7OptionsC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  call void @_ZN8OpenMesh2IO7OptionsC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %60 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_verticesERSiRNS0_12BaseImporterERNS0_7OptionsERSt6vectorINS_7VectorTIfLi3EEESaIS9_EESC_SC_RS7_INS8_IfLi2EEESaISD_EERS7_INS_12VertexHandleESaISH_EES6_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %61 unwind label %68

61:                                               ; preds = %59
  br i1 %60, label %70, label %689

62:                                               ; preds = %4
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %692

64:                                               ; preds = %57
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %691

66:                                               ; preds = %58
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %690

68:                                               ; preds = %75, %70, %59
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

70:                                               ; preds = %61
  %71 = load ptr, ptr %1, align 8, !tbaa !5
  %72 = getelementptr i8, ptr %71, i64 -24
  %73 = load i64, ptr %72, align 8
  %74 = getelementptr inbounds i8, ptr %1, i64 %73
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %74, i32 noundef 0)
          to label %75 unwind label %68

75:                                               ; preds = %70
  %76 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef 0, i32 noundef 0)
          to label %.preheader156 unwind label %68

.preheader156:                                    ; preds = %75
  %77 = getelementptr inbounds i8, ptr %0, i64 8
  %78 = getelementptr inbounds i8, ptr %0, i64 56
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %.preheader156
  %.0113.ph = phi i32 [ 0, %.preheader156 ], [ %.0113.ph.be, %.outer.backedge ]
  %.0111.ph = phi i32 [ 0, %.preheader156 ], [ %.0111.ph.be, %.outer.backedge ]
  %.0109.ph = phi i32 [ 0, %.preheader156 ], [ %.0109.ph.be, %.outer.backedge ]
  br label %79

79:                                               ; preds = %.backedge, %.outer
  %80 = load ptr, ptr %1, align 8, !tbaa !5
  %81 = getelementptr i8, ptr %80, i64 -24
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds i8, ptr %1, i64 %82
  %84 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %83)
          to label %85 unwind label %.loopexit.loopexit

85:                                               ; preds = %79
  br i1 %84, label %86, label %.critedge

86:                                               ; preds = %85
  %87 = load ptr, ptr %1, align 8, !tbaa !5
  %88 = getelementptr i8, ptr %87, i64 -24
  %89 = load i64, ptr %88, align 8
  %90 = getelementptr inbounds i8, ptr %1, i64 %89
  %91 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %90)
          to label %92 unwind label %.loopexit.loopexit

92:                                               ; preds = %86
  br i1 %91, label %.critedge, label %93

93:                                               ; preds = %92
  %94 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %95 unwind label %.loopexit.loopexit

95:                                               ; preds = %93
  %96 = load ptr, ptr %1, align 8, !tbaa !5
  %97 = getelementptr i8, ptr %96, i64 -24
  %98 = load i64, ptr %97, align 8
  %99 = getelementptr inbounds i8, ptr %1, i64 %98
  %100 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3badEv(ptr noundef nonnull align 8 dereferenceable(264) %99)
  br i1 %100, label %101, label %105

101:                                              ; preds = %95
  %102 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %103 unwind label %.loopexit.split-lp

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.5)
          to label %689 unwind label %.loopexit.split-lp

.loopexit.loopexit:                               ; preds = %105, %93, %86, %79
  %lpad.loopexit157 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.loopexit.split-lp:                      ; preds = %215, %213, %211, %209, %207, %200, %124, %119, %118
  %lpad.loopexit.split-lp158 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.split-lp:                               ; preds = %101, %103, %.critedge
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

105:                                              ; preds = %95
  invoke void @_ZN8OpenMesh2IO10trimStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %106 unwind label %.loopexit.loopexit

106:                                              ; preds = %105
  %107 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  %108 = icmp eq i64 %107, 0
  br i1 %108, label %.backedge, label %109

109:                                              ; preds = %106
  %110 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 0)
  %111 = load i8, ptr %110, align 1, !tbaa !8
  %112 = icmp eq i8 %111, 35
  br i1 %112, label %.backedge, label %113

113:                                              ; preds = %109
  %114 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 0)
  %115 = load i8, ptr %114, align 1, !tbaa !8
  %116 = sext i8 %115 to i32
  %117 = call i32 @isspace(i32 noundef %116) #9
  %.not125 = icmp eq i32 %117, 0
  br i1 %.not125, label %118, label %.backedge

.backedge:                                        ; preds = %113, %109, %106
  br label %79, !llvm.loop !10

118:                                              ; preds = %113
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %16, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %119 unwind label %.loopexit.loopexit.split-lp

119:                                              ; preds = %118
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = getelementptr i8, ptr %120, i64 -24
  %122 = load i64, ptr %121, align 8
  %123 = getelementptr inbounds i8, ptr %16, i64 %122
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %123, i32 noundef 0)
          to label %124 unwind label %.loopexit.loopexit.split-lp

124:                                              ; preds = %119
  %125 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %126 unwind label %.loopexit.loopexit.split-lp

126:                                              ; preds = %124
  %127 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.19)
  br i1 %127, label %128, label %198

128:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  %129 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %130 unwind label %149

130:                                              ; preds = %128
  invoke void @_ZN8OpenMesh2IO10trimStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %131 unwind label %149

131:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #8
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %132 unwind label %151

132:                                              ; preds = %131
  %133 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 528, ptr nonnull %23) #8
  %134 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264) %23, ptr noundef %134, i32 noundef 8)
          to label %135 unwind label %153

135:                                              ; preds = %132
  %136 = load ptr, ptr %23, align 8, !tbaa !5
  %137 = getelementptr i8, ptr %136, i64 -24
  %138 = load i64, ptr %137, align 8
  %139 = getelementptr inbounds i8, ptr %23, i64 %138
  %140 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %139)
          to label %141 unwind label %155

141:                                              ; preds = %135
  br i1 %140, label %142, label %158

142:                                              ; preds = %141
  %143 = invoke noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_materialERSt13basic_fstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %144 unwind label %155

144:                                              ; preds = %142
  br i1 %143, label %157, label %145

145:                                              ; preds = %144
  %146 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %147 unwind label %155

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef nonnull @.str.5)
          to label %157 unwind label %155

149:                                              ; preds = %130, %128
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %197

151:                                              ; preds = %131
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %197

153:                                              ; preds = %132
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %196

155:                                              ; preds = %164, %162, %160, %158, %157, %147, %145, %142, %135
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %195

157:                                              ; preds = %147, %144
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %166 unwind label %155

158:                                              ; preds = %141
  %159 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %160 unwind label %155

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @.str.20)
          to label %162 unwind label %155

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %164 unwind label %155

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef nonnull @.str.21)
          to label %166 unwind label %155

166:                                              ; preds = %164, %157
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  %167 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  store ptr %167, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %168 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  store ptr %168, ptr %25, align 8
  %169 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br i1 %169, label %.lr.ph170, label %._crit_edge171

._crit_edge171:                                   ; preds = %190, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %23) #8
  call void @llvm.lifetime.end.p0(i64 528, ptr nonnull %23) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  br label %.outer.backedge

.lr.ph170:                                        ; preds = %166, %190
  %170 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  %171 = getelementptr inbounds i8, ptr %170, i64 32
  %172 = call noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_8Material10has_map_KdEv(ptr noundef nonnull align 8 dereferenceable(93) %171)
  br i1 %172, label %173, label %190

173:                                              ; preds = %.lr.ph170
  %174 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  %175 = getelementptr inbounds i8, ptr %174, i64 32
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO11_OBJReader_8Material12map_Kd_indexEv(ptr noundef nonnull align 8 dereferenceable(93) %175)
  %177 = load i32, ptr %176, align 4, !tbaa !12
  %178 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  %179 = getelementptr inbounds i8, ptr %178, i64 32
  %180 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8OpenMesh2IO11_OBJReader_8Material6map_KdB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(93) %179)
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %180)
          to label %181 unwind label %186

181:                                              ; preds = %173
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i64 216
  %184 = load ptr, ptr %183, align 8
  invoke void %184(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef %177, ptr noundef nonnull %26)
          to label %185 unwind label %188

185:                                              ; preds = %181
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  br label %190

186:                                              ; preds = %173
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %194

188:                                              ; preds = %181
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  br label %194

190:                                              ; preds = %.lr.ph170, %185
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %192 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  store ptr %192, ptr %25, align 8
  %193 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br i1 %193, label %.lr.ph170, label %._crit_edge171, !llvm.loop !14

194:                                              ; preds = %188, %186
  %.pn145 = phi { ptr, i32 } [ %189, %188 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %195

195:                                              ; preds = %194, %155
  %.pn145.pn = phi { ptr, i32 } [ %.pn145, %194 ], [ %156, %155 ]
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %23) #8
  br label %196

196:                                              ; preds = %195, %153
  %.pn145.pn.pn = phi { ptr, i32 } [ %.pn145.pn, %195 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 528, ptr nonnull %23) #8
  br label %197

197:                                              ; preds = %196, %151, %149
  %.pn145.pn.pn.pn = phi { ptr, i32 } [ %.pn145.pn.pn, %196 ], [ %152, %151 ], [ %150, %149 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  br label %.loopexit

198:                                              ; preds = %126
  %199 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.22)
  br i1 %199, label %200, label %219

200:                                              ; preds = %198
  %201 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %202 unwind label %.loopexit.loopexit.split-lp

202:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %203 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %204 unwind label %217

204:                                              ; preds = %202
  store ptr %203, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %205 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  store ptr %205, ptr %28, align 8
  %206 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br i1 %206, label %207, label %.outer.backedge

207:                                              ; preds = %204
  %208 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %209 unwind label %.loopexit.loopexit.split-lp

209:                                              ; preds = %207
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull @.str.23)
          to label %211 unwind label %.loopexit.loopexit.split-lp

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %213 unwind label %.loopexit.loopexit.split-lp

213:                                              ; preds = %211
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull @.str.24)
          to label %215 unwind label %.loopexit.loopexit.split-lp

215:                                              ; preds = %213
  %216 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.1)
          to label %.outer.backedge unwind label %.loopexit.loopexit.split-lp

.outer.backedge:                                  ; preds = %215, %204, %225, %231, %620, %229, %221, %._crit_edge171
  %.0113.ph.be = phi i32 [ %.0113.ph, %._crit_edge171 ], [ %.0113.ph, %215 ], [ %.0113.ph, %204 ], [ %.0113.ph, %221 ], [ %.0113.ph, %225 ], [ %230, %229 ], [ %.0113.ph, %620 ], [ %.0113.ph, %231 ]
  %.0111.ph.be = phi i32 [ %.0111.ph, %._crit_edge171 ], [ %.0111.ph, %215 ], [ %.0111.ph, %204 ], [ %.0111.ph, %221 ], [ %226, %225 ], [ %.0111.ph, %229 ], [ %.0111.ph, %620 ], [ %.0111.ph, %231 ]
  %.0109.ph.be = phi i32 [ %.0109.ph, %._crit_edge171 ], [ %.0109.ph, %215 ], [ %.0109.ph, %204 ], [ %222, %221 ], [ %.0109.ph, %225 ], [ %.0109.ph, %229 ], [ %.0109.ph, %620 ], [ %.0109.ph, %231 ]
  br label %.outer, !llvm.loop !10

217:                                              ; preds = %202
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br label %.loopexit

219:                                              ; preds = %198
  %220 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.13)
  br i1 %220, label %221, label %223

221:                                              ; preds = %219
  %222 = add nsw i32 %.0109.ph, 1
  br label %.outer.backedge

223:                                              ; preds = %219
  %224 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.14)
  br i1 %224, label %225, label %227

225:                                              ; preds = %223
  %226 = add nsw i32 %.0111.ph, 1
  br label %.outer.backedge

227:                                              ; preds = %223
  %228 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.18)
  br i1 %228, label %229, label %231

229:                                              ; preds = %227
  %230 = add nsw i32 %.0113.ph, 1
  br label %.outer.backedge

231:                                              ; preds = %227
  %232 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.25)
  br i1 %232, label %233, label %.outer.backedge

233:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  %234 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %235 unwind label %271

235:                                              ; preds = %233
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %17, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %236 unwind label %271

236:                                              ; preds = %235
  %237 = load ptr, ptr %17, align 8, !tbaa !5
  %238 = getelementptr i8, ptr %237, i64 -24
  %239 = load i64, ptr %238, align 8
  %240 = getelementptr inbounds i8, ptr %17, i64 %239
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %240, i32 noundef 0)
          to label %241 unwind label %271

241:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #8
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 noundef -1)
          to label %242 unwind label %273

242:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %243 = add i32 %.0113.ph, 1
  %244 = add i32 %.0111.ph, 1
  %245 = add i32 %.0109.ph, 1
  br label %246

246:                                              ; preds = %459, %242
  %247 = load ptr, ptr %17, align 8, !tbaa !5
  %248 = getelementptr i8, ptr %247, i64 -24
  %249 = load i64, ptr %248, align 8
  %250 = getelementptr inbounds i8, ptr %17, i64 %249
  %251 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %250)
          to label %252 unwind label %275

252:                                              ; preds = %246
  br i1 %251, label %461, label %253

253:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  %254 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %.preheader unwind label %277

.preheader:                                       ; preds = %253, %457
  %.1117 = phi i32 [ %.2118, %457 ], [ 0, %253 ]
  %255 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.3, i64 noundef 0) #8
  %.not136 = icmp eq i64 %255, -1
  br i1 %.not136, label %298, label %256

256:                                              ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #8
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %34, ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef 0, i64 noundef %255)
          to label %257 unwind label %279

257:                                              ; preds = %256
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %258 unwind label %281

258:                                              ; preds = %257
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  %259 = load ptr, ptr %18, align 8, !tbaa !5
  %260 = getelementptr i8, ptr %259, i64 -24
  %261 = load i64, ptr %260, align 8
  %262 = getelementptr inbounds i8, ptr %18, i64 %261
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %262, i32 noundef 0)
          to label %263 unwind label %284

263:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #8
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef 0, i64 noundef %255)
          to label %264 unwind label %286

264:                                              ; preds = %263
  %265 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #8
  br i1 %265, label %266, label %290

266:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #8
  %267 = add nuw i64 %255, 1
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef %267, i64 noundef -1)
          to label %268 unwind label %288

268:                                              ; preds = %266
  %269 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #8
  %270 = add nsw i32 %.1117, 1
  br label %457

271:                                              ; preds = %236, %235, %233
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %623

273:                                              ; preds = %241
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %622

275:                                              ; preds = %246
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %621

277:                                              ; preds = %253
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %460

279:                                              ; preds = %256
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %283

281:                                              ; preds = %257
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %283

283:                                              ; preds = %281, %279
  %.pn137 = phi { ptr, i32 } [ %282, %281 ], [ %280, %279 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br label %460

284:                                              ; preds = %.invoke190, %.invoke184, %.invoke, %449, %423, %418, %405, %391, %389, %387, %378, %361, %339, %326, %306, %304, %299, %298, %290, %258
  %285 = landingpad { ptr, i32 }
          cleanup
  br label %460

286:                                              ; preds = %263
  %287 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #8
  br label %460

288:                                              ; preds = %266
  %289 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #8
  br label %460

290:                                              ; preds = %264
  %291 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %292 unwind label %284

292:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #8
  %293 = add nuw i64 %255, 1
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %37, ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef %293, i64 noundef -1)
          to label %294 unwind label %296

294:                                              ; preds = %292
  %295 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  br label %314

296:                                              ; preds = %292
  %297 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  br label %460

298:                                              ; preds = %.preheader
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %299 unwind label %284

299:                                              ; preds = %298
  %300 = load ptr, ptr %18, align 8, !tbaa !5
  %301 = getelementptr i8, ptr %300, i64 -24
  %302 = load i64, ptr %301, align 8
  %303 = getelementptr inbounds i8, ptr %18, i64 %302
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %303, i32 noundef 0)
          to label %304 unwind label %284

304:                                              ; preds = %299
  %305 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %306 unwind label %284

306:                                              ; preds = %304
  %307 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.1)
          to label %308 unwind label %284

308:                                              ; preds = %306
  %309 = load ptr, ptr %18, align 8, !tbaa !5
  %310 = getelementptr i8, ptr %309, i64 -24
  %311 = load i64, ptr %310, align 8
  %312 = getelementptr inbounds i8, ptr %18, i64 %311
  %313 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %312)
  br i1 %313, label %457, label %314

314:                                              ; preds = %308, %294
  switch i32 %.1117, label %455 [
    i32 0, label %315
    i32 1, label %341
    i32 2, label %425
  ]

315:                                              ; preds = %314
  %316 = load i32, ptr %29, align 4, !tbaa !12
  %317 = icmp slt i32 %316, 0
  br i1 %317, label %318, label %320

318:                                              ; preds = %315
  %319 = add i32 %245, %316
  store i32 %319, ptr %29, align 4, !tbaa !12
  br label %320

320:                                              ; preds = %318, %315
  %321 = phi i32 [ %319, %318 ], [ %316, %315 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #8
  %322 = add nsw i32 %321, -1
  call void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %38, i32 noundef %322)
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %323 unwind label %335

323:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #8
  %324 = load i32, ptr %29, align 4, !tbaa !12
  %325 = add nsw i32 %324, -1
  call void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %39, i32 noundef %325)
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %326 unwind label %337

326:                                              ; preds = %323
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #8
  %327 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %328 unwind label %284

328:                                              ; preds = %326
  br i1 %327, label %329, label %455

329:                                              ; preds = %328
  %330 = load i32, ptr %29, align 4, !tbaa !12
  %331 = add nsw i32 %330, -1
  %332 = zext i32 %331 to i64
  %333 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  %334 = icmp ugt i64 %333, %332
  br i1 %334, label %.invoke184, label %339

335:                                              ; preds = %320
  %336 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #8
  br label %460

337:                                              ; preds = %323
  %338 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #8
  br label %460

339:                                              ; preds = %329
  %340 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %.invoke190 unwind label %284

341:                                              ; preds = %314
  %342 = load i32, ptr %29, align 4, !tbaa !12
  %343 = icmp slt i32 %342, 0
  br i1 %343, label %344, label %346

344:                                              ; preds = %341
  %345 = add i32 %244, %342
  store i32 %345, ptr %29, align 4, !tbaa !12
  br label %346

346:                                              ; preds = %344, %341
  %347 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br i1 %347, label %348, label %349

348:                                              ; preds = %346
  call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.28, i32 noundef 636, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE) #10
  unreachable

349:                                              ; preds = %346
  %350 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  br i1 %350, label %351, label %393

351:                                              ; preds = %349
  %352 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
  br i1 %352, label %353, label %393

353:                                              ; preds = %351
  %354 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br i1 %354, label %387, label %355

355:                                              ; preds = %353
  %356 = load i32, ptr %29, align 4, !tbaa !12
  %357 = add nsw i32 %356, -1
  %358 = zext i32 %357 to i64
  %359 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %360 = icmp ugt i64 %359, %358
  br i1 %360, label %361, label %387

361:                                              ; preds = %355
  %362 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  %.sroa.029.0.copyload = load i32, ptr %362, align 4
  %363 = load i32, ptr %29, align 4, !tbaa !12
  %364 = add nsw i32 %363, -1
  %365 = sext i32 %364 to i64
  %366 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %365) #8
  %367 = load ptr, ptr %2, align 8, !tbaa !5
  %368 = getelementptr inbounds i8, ptr %367, i64 112
  %369 = load ptr, ptr %368, align 8
  invoke void %369(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.029.0.copyload, ptr noundef nonnull align 4 dereferenceable(8) %366)
          to label %370 unwind label %284

370:                                              ; preds = %361
  %371 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br i1 %371, label %393, label %372

372:                                              ; preds = %370
  %373 = load i32, ptr %29, align 4, !tbaa !12
  %374 = add nsw i32 %373, -1
  %375 = zext i32 %374 to i64
  %376 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %377 = icmp ugt i64 %376, %375
  br i1 %377, label %378, label %393

378:                                              ; preds = %372
  %379 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  %.sroa.028.0.copyload = load i32, ptr %379, align 4
  %380 = load i32, ptr %29, align 4, !tbaa !12
  %381 = add nsw i32 %380, -1
  %382 = sext i32 %381 to i64
  %383 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %382) #8
  %384 = load ptr, ptr %2, align 8, !tbaa !5
  %385 = getelementptr inbounds i8, ptr %384, i64 128
  %386 = load ptr, ptr %385, align 8
  invoke void %386(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.028.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %383)
          to label %393 unwind label %284

387:                                              ; preds = %355, %353
  %388 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %389 unwind label %284

389:                                              ; preds = %387
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %388, ptr noundef nonnull @.str.29)
          to label %391 unwind label %284

391:                                              ; preds = %389
  %392 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %390, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %393 unwind label %284

393:                                              ; preds = %378, %372, %370, %391, %351, %349
  %394 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  br i1 %394, label %395, label %455

395:                                              ; preds = %393
  %396 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
  br i1 %396, label %397, label %455

397:                                              ; preds = %395
  %398 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br i1 %398, label %423, label %399

399:                                              ; preds = %397
  %400 = load i32, ptr %29, align 4, !tbaa !12
  %401 = add nsw i32 %400, -1
  %402 = zext i32 %401 to i64
  %403 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %404 = icmp ugt i64 %403, %402
  br i1 %404, label %405, label %423

405:                                              ; preds = %399
  %406 = load i32, ptr %29, align 4, !tbaa !12
  %407 = add nsw i32 %406, -1
  %408 = sext i32 %407 to i64
  %409 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %408) #8
  invoke void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(8) %409)
          to label %410 unwind label %284

410:                                              ; preds = %405
  %411 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br i1 %411, label %455, label %412

412:                                              ; preds = %410
  %413 = load i32, ptr %29, align 4, !tbaa !12
  %414 = add nsw i32 %413, -1
  %415 = zext i32 %414 to i64
  %416 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %417 = icmp ugt i64 %416, %415
  br i1 %417, label %418, label %455

418:                                              ; preds = %412
  %419 = load i32, ptr %29, align 4, !tbaa !12
  %420 = add nsw i32 %419, -1
  %421 = sext i32 %420 to i64
  %422 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %421) #8
  invoke void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(12) %422)
          to label %455 unwind label %284

423:                                              ; preds = %399, %397
  %424 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %.invoke190 unwind label %284

425:                                              ; preds = %314
  %426 = load i32, ptr %29, align 4, !tbaa !12
  %427 = icmp slt i32 %426, 0
  br i1 %427, label %428, label %430

428:                                              ; preds = %425
  %429 = add i32 %243, %426
  store i32 %429, ptr %29, align 4, !tbaa !12
  br label %430

430:                                              ; preds = %428, %425
  %431 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  br i1 %431, label %432, label %455

432:                                              ; preds = %430
  %433 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br i1 %433, label %434, label %435

434:                                              ; preds = %432
  call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.28, i32 noundef 676, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8OpenMesh2IO11_OBJReader_4readERSiRNS0_12BaseImporterERNS0_7OptionsE) #10
  unreachable

435:                                              ; preds = %432
  %436 = load i32, ptr %29, align 4, !tbaa !12
  %437 = add nsw i32 %436, -1
  %438 = zext i32 %437 to i64
  %439 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %440 = icmp ugt i64 %439, %438
  br i1 %440, label %.invoke184, label %449

.invoke184:                                       ; preds = %435, %329
  %.sink = phi ptr [ %8, %329 ], [ %7, %435 ]
  %.sink186 = phi i64 [ 96, %329 ], [ 72, %435 ]
  %441 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  %442 = load i32, ptr %441, align 4
  %.sink189 = load i32, ptr %29, align 4, !tbaa !12
  %443 = add nsw i32 %.sink189, -1
  %444 = sext i32 %443 to i64
  %445 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.sink, i64 noundef %444) #8
  %446 = load ptr, ptr %2, align 8, !tbaa !5
  %447 = getelementptr inbounds i8, ptr %446, i64 %.sink186
  %448 = load ptr, ptr %447, align 8
  invoke void %448(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %442, ptr noundef nonnull align 4 dereferenceable(12) %445)
          to label %455 unwind label %284

449:                                              ; preds = %435
  %450 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %.invoke190 unwind label %284

.invoke190:                                       ; preds = %449, %423, %339
  %451 = phi ptr [ %340, %339 ], [ %424, %423 ], [ %450, %449 ]
  %452 = phi ptr [ @.str.26, %339 ], [ @.str.29, %423 ], [ @.str.30, %449 ]
  %453 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %451, ptr noundef nonnull %452)
          to label %.invoke unwind label %284

.invoke:                                          ; preds = %.invoke190
  %454 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %453, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %455 unwind label %284

455:                                              ; preds = %.invoke184, %.invoke, %430, %393, %395, %410, %412, %418, %328, %314
  %456 = add nsw i32 %.1117, 1
  br label %457

457:                                              ; preds = %308, %455, %268
  %.2118 = phi i32 [ %270, %268 ], [ %456, %455 ], [ %.1117, %308 ]
  %458 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  br i1 %458, label %459, label %.preheader, !llvm.loop !15

459:                                              ; preds = %457
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  br label %246, !llvm.loop !16

460:                                              ; preds = %283, %284, %286, %288, %296, %335, %337, %277
  %.pn139.pn = phi { ptr, i32 } [ %278, %277 ], [ %289, %288 ], [ %285, %284 ], [ %338, %337 ], [ %336, %335 ], [ %297, %296 ], [ %287, %286 ], [ %.pn137, %283 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  br label %621

461:                                              ; preds = %252
  %462 = load ptr, ptr %2, align 8, !tbaa !5
  %463 = getelementptr inbounds i8, ptr %462, i64 256
  %464 = load ptr, ptr %463, align 8
  %465 = invoke noundef i64 %464(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %466 unwind label %476

466:                                              ; preds = %461
  invoke void @_ZN8OpenMesh2IO26remove_duplicated_verticesERSt6vectorINS_12VertexHandleESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %467 unwind label %476

467:                                              ; preds = %466
  %468 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %469 = icmp ugt i64 %468, 2
  br i1 %469, label %470, label %480

470:                                              ; preds = %467
  %471 = load ptr, ptr %2, align 8, !tbaa !5
  %472 = getelementptr inbounds i8, ptr %471, i64 32
  %473 = load ptr, ptr %472, align 8
  %474 = invoke i32 %473(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %475 unwind label %478

475:                                              ; preds = %470
  store i32 %474, ptr %31, align 4
  br label %480

476:                                              ; preds = %489, %484, %466, %461
  %477 = landingpad { ptr, i32 }
          cleanup
  br label %621

478:                                              ; preds = %470
  %479 = landingpad { ptr, i32 }
          cleanup
  br label %621

480:                                              ; preds = %475, %467
  %481 = call noundef zeroext i1 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br i1 %481, label %494, label %482

482:                                              ; preds = %480
  %483 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandle8is_validEv(ptr noundef nonnull align 4 dereferenceable(4) %31)
  br i1 %483, label %484, label %494

484:                                              ; preds = %482
  %.sroa.021.0.copyload = load i32, ptr %31, align 4
  %485 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #8
  %.sroa.020.0.copyload = load i32, ptr %485, align 4
  %486 = load ptr, ptr %2, align 8, !tbaa !5
  %487 = getelementptr inbounds i8, ptr %486, i64 40
  %488 = load ptr, ptr %487, align 8
  invoke void %488(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.021.0.copyload, i32 %.sroa.020.0.copyload, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %489 unwind label %476

489:                                              ; preds = %484
  %.sroa.019.0.copyload = load i32, ptr %31, align 4
  %490 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #8
  %.sroa.018.0.copyload = load i32, ptr %490, align 4
  %491 = load ptr, ptr %2, align 8, !tbaa !5
  %492 = getelementptr inbounds i8, ptr %491, i64 48
  %493 = load ptr, ptr %492, align 8
  invoke void %493(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.019.0.copyload, i32 %.sroa.018.0.copyload, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %494 unwind label %476

494:                                              ; preds = %489, %482, %480
  %495 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br i1 %495, label %583, label %496

496:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #8
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  br label %497

497:                                              ; preds = %513, %496
  %.0115 = phi i64 [ 0, %496 ], [ %514, %513 ]
  %498 = load ptr, ptr %2, align 8, !tbaa !5
  %499 = getelementptr inbounds i8, ptr %498, i64 256
  %500 = load ptr, ptr %499, align 8
  %501 = invoke noundef i64 %500(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %502 unwind label %507

502:                                              ; preds = %497
  %503 = sub i64 %501, %465
  %504 = icmp ult i64 %.0115, %503
  br i1 %504, label %509, label %505

505:                                              ; preds = %502
  %506 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %517 unwind label %529

507:                                              ; preds = %497
  %508 = landingpad { ptr, i32 }
          cleanup
  br label %582

509:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #8
  %510 = add i64 %.0115, %465
  %511 = trunc i64 %510 to i32
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %41, i32 noundef %511)
          to label %512 unwind label %515

512:                                              ; preds = %509
  invoke void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %513 unwind label %515

513:                                              ; preds = %512
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #8
  %514 = add nuw i64 %.0115, 1
  br label %497, !llvm.loop !17

515:                                              ; preds = %512, %509
  %516 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #8
  br label %582

517:                                              ; preds = %505
  %518 = call noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_8Material6has_KdEv(ptr noundef nonnull align 8 dereferenceable(93) %506)
  br i1 %518, label %519, label %545

519:                                              ; preds = %517
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %42) #8
  %520 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK8OpenMesh2IO11_OBJReader_8Material2KdEv(ptr noundef nonnull align 8 dereferenceable(93) %506)
  %521 = invoke i24 @_ZN8OpenMesh10color_castINS_7VectorTIhLi3EEENS1_IfLi3EEEEENS_12color_casterIT_T0_E11return_typeERKS6_(ptr noundef nonnull align 4 dereferenceable(12) %520)
          to label %522 unwind label %531

522:                                              ; preds = %519
  store i24 %521, ptr %42, align 4
  %523 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14face_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
  br i1 %523, label %524, label %543

524:                                              ; preds = %522
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #8
  %525 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %525, ptr %43, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #8
  %526 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %526, ptr %44, align 8
  %527 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #8
  br i1 %527, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %537, %524
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #8
  %528 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 512)
  br label %543

529:                                              ; preds = %505
  %530 = landingpad { ptr, i32 }
          cleanup
  br label %582

531:                                              ; preds = %519
  %532 = landingpad { ptr, i32 }
          cleanup
  br label %544

.lr.ph:                                           ; preds = %524, %537
  %533 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  %.sroa.011.0.copyload = load i32, ptr %533, align 4
  %534 = load ptr, ptr %2, align 8, !tbaa !5
  %535 = getelementptr inbounds i8, ptr %534, i64 184
  %536 = load ptr, ptr %535, align 8
  invoke void %536(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.011.0.copyload, ptr noundef nonnull align 1 dereferenceable(3) %42)
          to label %537 unwind label %541

537:                                              ; preds = %.lr.ph
  %538 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #8
  %539 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %539, ptr %44, align 8
  %540 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #8
  br i1 %540, label %.lr.ph, label %._crit_edge, !llvm.loop !18

541:                                              ; preds = %.lr.ph
  %542 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #8
  br label %544

543:                                              ; preds = %._crit_edge, %522
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %42) #8
  br label %545

544:                                              ; preds = %541, %531
  %.pn126 = phi { ptr, i32 } [ %542, %541 ], [ %532, %531 ]
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %42) #8
  br label %582

545:                                              ; preds = %543, %517
  %546 = call noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_8Material10has_map_KdEv(ptr noundef nonnull align 8 dereferenceable(93) %506)
  %547 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
  br i1 %546, label %548, label %566

548:                                              ; preds = %545
  br i1 %547, label %549, label %581

549:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #8
  %550 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %550, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #8
  %551 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %551, ptr %46, align 8
  %552 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #8
  br i1 %552, label %.lr.ph164, label %._crit_edge165

._crit_edge165:                                   ; preds = %560, %549
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #8
  %553 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 1024)
  br label %581

.lr.ph164:                                        ; preds = %549, %560
  %554 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  %.sroa.010.0.copyload = load i32, ptr %554, align 4
  %555 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO11_OBJReader_8Material12map_Kd_indexEv(ptr noundef nonnull align 8 dereferenceable(93) %506)
  %556 = load i32, ptr %555, align 4, !tbaa !12
  %557 = load ptr, ptr %2, align 8, !tbaa !5
  %558 = getelementptr inbounds i8, ptr %557, i64 56
  %559 = load ptr, ptr %558, align 8
  invoke void %559(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.010.0.copyload, i32 noundef %556)
          to label %560 unwind label %564

560:                                              ; preds = %.lr.ph164
  %561 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #8
  %562 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %562, ptr %46, align 8
  %563 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #8
  br i1 %563, label %.lr.ph164, label %._crit_edge165, !llvm.loop !19

564:                                              ; preds = %.lr.ph164
  %565 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #8
  br label %582

566:                                              ; preds = %545
  br i1 %547, label %567, label %581

567:                                              ; preds = %566
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #8
  %568 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %568, ptr %47, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #8
  %569 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %569, ptr %48, align 8
  %570 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #8
  br i1 %570, label %.lr.ph161, label %._crit_edge162

._crit_edge162:                                   ; preds = %575, %567
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #8
  br label %581

.lr.ph161:                                        ; preds = %567, %575
  %571 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  %.sroa.09.0.copyload = load i32, ptr %571, align 4
  %572 = load ptr, ptr %2, align 8, !tbaa !5
  %573 = getelementptr inbounds i8, ptr %572, i64 56
  %574 = load ptr, ptr %573, align 8
  invoke void %574(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.09.0.copyload, i32 noundef 0)
          to label %575 unwind label %579

575:                                              ; preds = %.lr.ph161
  %576 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #8
  %577 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store ptr %577, ptr %48, align 8
  %578 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #8
  br i1 %578, label %.lr.ph161, label %._crit_edge162, !llvm.loop !20

579:                                              ; preds = %.lr.ph161
  %580 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #8
  br label %582

581:                                              ; preds = %566, %._crit_edge162, %548, %._crit_edge165
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #8
  br label %620

582:                                              ; preds = %529, %544, %564, %579, %507, %515
  %.pn129.pn = phi { ptr, i32 } [ %516, %515 ], [ %508, %507 ], [ %.pn126, %544 ], [ %565, %564 ], [ %580, %579 ], [ %530, %529 ]
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #8
  br label %621

583:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #8
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  br label %584

584:                                              ; preds = %600, %583
  %.0108 = phi i64 [ 0, %583 ], [ %601, %600 ]
  %585 = load ptr, ptr %2, align 8, !tbaa !5
  %586 = getelementptr inbounds i8, ptr %585, i64 256
  %587 = load ptr, ptr %586, align 8
  %588 = invoke noundef i64 %587(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %589 unwind label %594

589:                                              ; preds = %584
  %590 = sub i64 %588, %465
  %591 = icmp ult i64 %.0108, %590
  br i1 %591, label %596, label %592

592:                                              ; preds = %589
  %593 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17face_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
  br i1 %593, label %604, label %618

594:                                              ; preds = %584
  %595 = landingpad { ptr, i32 }
          cleanup
  br label %619

596:                                              ; preds = %589
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #8
  %597 = add i64 %.0108, %465
  %598 = trunc i64 %597 to i32
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %50, i32 noundef %598)
          to label %599 unwind label %602

599:                                              ; preds = %596
  invoke void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %600 unwind label %602

600:                                              ; preds = %599
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #8
  %601 = add nuw i64 %.0108, 1
  br label %584, !llvm.loop !21

602:                                              ; preds = %599, %596
  %603 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #8
  br label %619

604:                                              ; preds = %592
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #8
  %605 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  store ptr %605, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #8
  %606 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  store ptr %606, ptr %52, align 8
  %607 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #8
  br i1 %607, label %.lr.ph167, label %._crit_edge168

._crit_edge168:                                   ; preds = %612, %604
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #8
  br label %618

.lr.ph167:                                        ; preds = %604, %612
  %608 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  %.sroa.05.0.copyload = load i32, ptr %608, align 4
  %609 = load ptr, ptr %2, align 8, !tbaa !5
  %610 = getelementptr inbounds i8, ptr %609, i64 56
  %611 = load ptr, ptr %610, align 8
  invoke void %611(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.05.0.copyload, i32 noundef 0)
          to label %612 unwind label %616

612:                                              ; preds = %.lr.ph167
  %613 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #8
  %614 = call ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  store ptr %614, ptr %52, align 8
  %615 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #8
  br i1 %615, label %.lr.ph167, label %._crit_edge168, !llvm.loop !22

616:                                              ; preds = %.lr.ph167
  %617 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #8
  br label %619

618:                                              ; preds = %._crit_edge168, %592
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #8
  br label %620

619:                                              ; preds = %594, %602, %616
  %.pn132.pn = phi { ptr, i32 } [ %617, %616 ], [ %603, %602 ], [ %595, %594 ]
  call void @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #8
  br label %621

620:                                              ; preds = %618, %581
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #8
  br label %.outer.backedge

621:                                              ; preds = %476, %478, %582, %619, %460, %275
  %.pn139.pn.pn = phi { ptr, i32 } [ %.pn139.pn, %460 ], [ %276, %275 ], [ %.pn132.pn, %619 ], [ %.pn129.pn, %582 ], [ %477, %476 ], [ %479, %478 ]
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  br label %622

622:                                              ; preds = %621, %273
  %.pn139.pn.pn.pn = phi { ptr, i32 } [ %.pn139.pn.pn, %621 ], [ %274, %273 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  br label %623

623:                                              ; preds = %622, %271
  %.pn139.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn139.pn.pn.pn, %622 ], [ %272, %271 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #8
  br label %.loopexit

.critedge:                                        ; preds = %85, %92
  %624 = load ptr, ptr %2, align 8, !tbaa !5
  %625 = getelementptr inbounds i8, ptr %624, i64 256
  %626 = load ptr, ptr %625, align 8
  %627 = invoke noundef i64 %626(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %628 unwind label %.loopexit.split-lp

628:                                              ; preds = %.critedge
  %629 = icmp eq i64 %627, 0
  br i1 %629, label %630, label %687

630:                                              ; preds = %628
  %631 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %632 = load ptr, ptr %2, align 8, !tbaa !5
  %633 = getelementptr inbounds i8, ptr %632, i64 248
  %634 = load ptr, ptr %633, align 8
  %635 = invoke noundef i64 %634(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %636 unwind label %646

636:                                              ; preds = %630
  %637 = icmp eq i64 %631, %635
  br i1 %637, label %638, label %659

638:                                              ; preds = %636
  %639 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  br i1 %639, label %640, label %659

640:                                              ; preds = %638
  %641 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
  br i1 %641, label %642, label %659

642:                                              ; preds = %640
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %53) #8
  %643 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %643, ptr %53, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #8
  %644 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %644, ptr %54, align 8
  %645 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #8
  br i1 %645, label %.lr.ph174, label %._crit_edge175

._crit_edge175:                                   ; preds = %653, %642
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #8
  br label %659

646:                                              ; preds = %669, %666, %659, %630
  %647 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.lr.ph174:                                        ; preds = %642, %653
  %indvars.iv = phi i64 [ %indvars.iv.next, %653 ], [ 0, %642 ]
  %648 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  %.sroa.01.0.copyload = load i32, ptr %648, align 4
  %649 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv) #8
  %650 = load ptr, ptr %2, align 8, !tbaa !5
  %651 = getelementptr inbounds i8, ptr %650, i64 72
  %652 = load ptr, ptr %651, align 8
  invoke void %652(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.01.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %649)
          to label %653 unwind label %657

653:                                              ; preds = %.lr.ph174
  %654 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #8
  %655 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %655, ptr %54, align 8
  %656 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #8
  br i1 %656, label %.lr.ph174, label %._crit_edge175, !llvm.loop !23

657:                                              ; preds = %.lr.ph174
  %658 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #8
  br label %.loopexit

659:                                              ; preds = %638, %640, %._crit_edge175, %636
  %660 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  %661 = load ptr, ptr %2, align 8, !tbaa !5
  %662 = getelementptr inbounds i8, ptr %661, i64 248
  %663 = load ptr, ptr %662, align 8
  %664 = invoke noundef i64 %663(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %665 unwind label %646

665:                                              ; preds = %659
  %.not = icmp ult i64 %660, %664
  br i1 %.not, label %687, label %666

666:                                              ; preds = %665
  %667 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %668 unwind label %646

668:                                              ; preds = %666
  br i1 %667, label %669, label %687

669:                                              ; preds = %668
  %670 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %671 unwind label %646

671:                                              ; preds = %669
  br i1 %670, label %672, label %687

672:                                              ; preds = %671
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %55) #8
  %673 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %673, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #8
  %674 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %674, ptr %56, align 8
  %675 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #8
  br i1 %675, label %.lr.ph178, label %._crit_edge179

._crit_edge179:                                   ; preds = %681, %672
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #8
  br label %687

.lr.ph178:                                        ; preds = %672, %681
  %indvars.iv181 = phi i64 [ %indvars.iv.next182, %681 ], [ 0, %672 ]
  %676 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %.sroa.0.0.copyload = load i32, ptr %676, align 4
  %677 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv181) #8
  %678 = load ptr, ptr %2, align 8, !tbaa !5
  %679 = getelementptr inbounds i8, ptr %678, i64 96
  %680 = load ptr, ptr %679, align 8
  invoke void %680(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.0.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %677)
          to label %681 unwind label %685

681:                                              ; preds = %.lr.ph178
  %682 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #8
  %683 = call ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %683, ptr %56, align 8
  %684 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8OpenMesh12VertexHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #8
  br i1 %684, label %.lr.ph178, label %._crit_edge179, !llvm.loop !24

685:                                              ; preds = %.lr.ph178
  %686 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #8
  br label %.loopexit

687:                                              ; preds = %665, %._crit_edge179, %671, %668, %628
  %688 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionsaSERKS1_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %20)
  br label %689

689:                                              ; preds = %687, %103, %61
  %.1 = phi i1 [ false, %61 ], [ true, %687 ], [ false, %103 ]
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %18) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %16) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  ret i1 %.1

.loopexit:                                        ; preds = %.loopexit.split-lp, %.loopexit.loopexit.split-lp, %.loopexit.loopexit, %197, %217, %623, %685, %657, %646, %68
  %.pn150.pn = phi { ptr, i32 } [ %69, %68 ], [ %.pn145.pn.pn.pn, %197 ], [ %218, %217 ], [ %.pn139.pn.pn.pn.pn, %623 ], [ %658, %657 ], [ %686, %685 ], [ %647, %646 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit157, %.loopexit.loopexit ], [ %lpad.loopexit.split-lp158, %.loopexit.loopexit.split-lp ]
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  call void @_ZN8OpenMesh2IO7OptionsD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  br label %690

690:                                              ; preds = %.loopexit, %66
  %.pn150.pn.pn = phi { ptr, i32 } [ %.pn150.pn, %.loopexit ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %18) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #8
  br label %691

691:                                              ; preds = %690, %64
  %.pn150.pn.pn.pn = phi { ptr, i32 } [ %.pn150.pn.pn, %690 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16) #8
  br label %692

692:                                              ; preds = %691, %62
  %.pn150.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn150.pn.pn.pn, %691 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %16) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIN8OpenMesh7VectorTIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn150.pn.pn.pn.pn
}

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN8OpenMesh10FaceHandleESaIS1_EE5beginEv(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_cxxneIPN8OpenMesh10FaceHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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


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