; LLVM IR from StanfordVL/GibsonEnv :: gibson/core/channels/common/tinyply.ll (ZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSib)

; 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::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.49" = type { %"class.std::_Function_base", ptr }
%"class.std::fpos" = type { i64, %struct.__mbstate_t }
%struct.__mbstate_t = type { i32, %union.anon.52 }
%union.anon.52 = type { i32 }
%class.anon.53 = type { ptr }
%class.anon.54 = type { ptr }
%class.anon.55 = type { ptr }
%class.anon.56 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.42" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.tinyply::PlyFile::PlyFileImpl" = type { %"class.std::map.14", i8, i8, %"class.std::vector.9", %"class.std::vector.20", %"class.std::vector.20" }
%"class.std::map.14" = type { %"class.std::_Rb_tree.15" }
%"class.std::_Rb_tree.15" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, tinyply::PlyFile::PlyFileImpl::ParsingHelper>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, tinyply::PlyFile::PlyFileImpl::ParsingHelper>>, 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>, tinyply::PlyFile::PlyFileImpl::ParsingHelper>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, tinyply::PlyFile::PlyFileImpl::ParsingHelper>>, 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 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<tinyply::PlyElement, std::allocator<tinyply::PlyElement>>::_Vector_impl" }
%"struct.std::_Vector_base<tinyply::PlyElement, std::allocator<tinyply::PlyElement>>::_Vector_impl" = type { %"struct.std::_Vector_base<tinyply::PlyElement, std::allocator<tinyply::PlyElement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tinyply::PlyElement, std::allocator<tinyply::PlyElement>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tinyply::PlyElement" = type { %"class.std::__cxx11::basic_string", i64, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tinyply::PlyProperty, std::allocator<tinyply::PlyProperty>>::_Vector_impl" }
%"struct.std::_Vector_base<tinyply::PlyProperty, std::allocator<tinyply::PlyProperty>>::_Vector_impl" = type { %"struct.std::_Vector_base<tinyply::PlyProperty, std::allocator<tinyply::PlyProperty>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tinyply::PlyProperty, std::allocator<tinyply::PlyProperty>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tinyply::PlyProperty" = type { %"class.std::__cxx11::basic_string", i8, i8, i8, i32 }
%"struct.std::pair.33" = type { %"class.std::__cxx11::basic_string", %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper" }
%"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper" = type { %"class.std::shared_ptr", %"class.std::shared_ptr.35" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.35" = type { %"class.std::__shared_ptr.36" }
%"class.std::__shared_ptr.36" = type { ptr, %"class.std::__shared_count" }
%"struct.tinyply::PlyData" = type { i8, i64, %"class.tinyply::Buffer" }
%"class.tinyply::Buffer" = type { ptr, %"class.std::unique_ptr", i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.40" }
%"struct.std::_Head_base.40" = type { ptr }
%"struct.tinyply::PlyFile::PlyFileImpl::PlyCursor" = type { i64, i64 }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8make_keyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(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)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSib(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"class.std::function", align 8
  %8 = alloca %"class.std::function.49", align 8
  %9 = alloca %"class.std::fpos", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.anon.53, align 8
  %13 = alloca %class.anon.54, align 8
  %14 = alloca %class.anon.55, align 8
  %15 = alloca %class.anon.56, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca ptr, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %33 = zext i1 %2 to i8
  store i8 %33, ptr %6, align 1, !tbaa !9
  %34 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #5
  call void @_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = invoke { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %37 unwind label %50

37:                                               ; preds = %3
  %38 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  %39 = extractvalue { i64, i64 } %36, 0
  store i64 %39, ptr %38, align 8
  %40 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  %41 = extractvalue { i64, i64 } %36, 1
  store i64 %41, ptr %40, align 8
  %42 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl", ptr %34, i32 0, i32 1
  %43 = load i8, ptr %42, align 8, !tbaa !11, !range !30, !noundef !31
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %54

45:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %46 = getelementptr inbounds %class.anon.53, ptr %12, i32 0, i32 0
  store ptr %34, ptr %46, align 8, !tbaa !32
  %47 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_0EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %48 = getelementptr inbounds %class.anon.54, ptr %13, i32 0, i32 0
  store ptr %34, ptr %48, align 8, !tbaa !34
  %49 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_1EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %59

50:                                               ; preds = %240, %237, %3
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %10, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %11, align 4
  br label %245

54:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %55 = getelementptr inbounds %class.anon.55, ptr %14, i32 0, i32 0
  store ptr %34, ptr %55, align 8, !tbaa !36
  %56 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_2EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %57 = getelementptr inbounds %class.anon.56, ptr %15, i32 0, i32 0
  store ptr %34, ptr %57, align 8, !tbaa !38
  %58 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_3EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %59

59:                                               ; preds = %54, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %60 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl", ptr %34, i32 0, i32 3
  store ptr %60, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %61 = load ptr, ptr %16, align 8, !tbaa !5
  %62 = call ptr @_ZNSt6vectorIN7tinyply10PlyElementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #5
  %63 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %17, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = call ptr @_ZNSt6vectorIN7tinyply10PlyElementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #5
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %18, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  br label %67

67:                                               ; preds = %232, %59
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br i1 %68, label %70, label %69

69:                                               ; preds = %67
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %234

70:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %71 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  store ptr %71, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store i64 0, ptr %21, align 8, !tbaa !40
  br label %72

72:                                               ; preds = %228, %70
  %73 = load i64, ptr %21, align 8, !tbaa !40
  %74 = load ptr, ptr %20, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.tinyply::PlyElement", ptr %74, i32 0, i32 1
  %76 = load i64, ptr %75, align 8, !tbaa !41
  %77 = icmp ult i64 %73, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %72
  store i32 4, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %231

79:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.tinyply::PlyElement", ptr %80, i32 0, i32 2
  store ptr %81, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %82 = load ptr, ptr %22, align 8, !tbaa !5
  %83 = call ptr @_ZNSt6vectorIN7tinyply11PlyPropertyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #5
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.42", ptr %23, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %85 = load ptr, ptr %22, align 8, !tbaa !5
  %86 = call ptr @_ZNSt6vectorIN7tinyply11PlyPropertyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #5
  %87 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.42", ptr %24, i32 0, i32 0
  store ptr %86, ptr %87, align 8
  br label %88

88:                                               ; preds = %224, %79
  %89 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  br i1 %89, label %91, label %90

90:                                               ; preds = %88
  store i32 7, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %227

91:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %92 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  store ptr %92, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %93 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl", ptr %34, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #5
  %94 = load ptr, ptr %20, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.tinyply::PlyElement", ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %25, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.tinyply::PlyProperty", ptr %96, i32 0, i32 0
  invoke void @_Z8make_keyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 8 dereferenceable(32) %97)
          to label %98 unwind label %128

98:                                               ; preds = %91
  %99 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %93, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %100 unwind label %132

100:                                              ; preds = %98
  %101 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %26, i32 0, i32 0
  store ptr %99, ptr %101, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %102 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl", ptr %34, i32 0, i32 0
  %103 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %102) #5
  %104 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %28, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  %105 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br i1 %105, label %106, label %214

106:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %107 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  %108 = getelementptr inbounds %"struct.std::pair.33", ptr %107, i32 0, i32 1
  store ptr %108, ptr %29, align 8, !tbaa !5
  %109 = load i8, ptr %6, align 1, !tbaa !9, !range !30, !noundef !31
  %110 = trunc i8 %109 to i1
  br i1 %110, label %201, label %111

111:                                              ; preds = %106
  %112 = load ptr, ptr %25, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.tinyply::PlyProperty", ptr %112, i32 0, i32 2
  %114 = load i8, ptr %113, align 1, !tbaa !49, !range !30, !noundef !31
  %115 = trunc i8 %114 to i1
  br i1 %115, label %116, label %173

116:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  store i64 0, ptr %30, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  store i64 0, ptr %31, align 8, !tbaa !40
  %117 = load ptr, ptr %25, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.tinyply::PlyProperty", ptr %117, i32 0, i32 3
  %119 = load i8, ptr %118, align 2, !tbaa !53
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = invoke noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef zeroext %119, ptr noundef %30, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(16) %120)
          to label %122 unwind label %137

122:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  store i64 0, ptr %32, align 8, !tbaa !40
  br label %123

123:                                              ; preds = %164, %122
  %124 = load i64, ptr %32, align 8, !tbaa !40
  %125 = load i64, ptr %30, align 8, !tbaa !40
  %126 = icmp ult i64 %124, %125
  br i1 %126, label %141, label %127

127:                                              ; preds = %123
  store i32 9, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %171

128:                                              ; preds = %91
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %10, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %11, align 4
  br label %136

132:                                              ; preds = %98
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  br label %136

136:                                              ; preds = %132, %128
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  br label %226

137:                                              ; preds = %116
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %10, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %11, align 4
  br label %172

141:                                              ; preds = %123
  %142 = load ptr, ptr %25, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.tinyply::PlyProperty", ptr %142, i32 0, i32 1
  %144 = load i8, ptr %143, align 8, !tbaa !54
  %145 = load ptr, ptr %29, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %145, i32 0, i32 0
  %147 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyDataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %146) #5
  %148 = getelementptr inbounds %"struct.tinyply::PlyData", ptr %147, i32 0, i32 2
  %149 = invoke noundef ptr @_ZN7tinyply6Buffer3getEv(ptr noundef nonnull align 8 dereferenceable(24) %148)
          to label %150 unwind label %167

150:                                              ; preds = %141
  %151 = load ptr, ptr %29, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %151, i32 0, i32 1
  %153 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %152) #5
  %154 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::PlyCursor", ptr %153, i32 0, i32 0
  %155 = load i64, ptr %154, align 8, !tbaa !55
  %156 = getelementptr inbounds i8, ptr %149, i64 %155
  %157 = load ptr, ptr %29, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %157, i32 0, i32 1
  %159 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %158) #5
  %160 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::PlyCursor", ptr %159, i32 0, i32 0
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = invoke noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef zeroext %144, ptr noundef %156, ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef nonnull align 8 dereferenceable(16) %161)
          to label %163 unwind label %167

163:                                              ; preds = %150
  br label %164

164:                                              ; preds = %163
  %165 = load i64, ptr %32, align 8, !tbaa !40
  %166 = add i64 %165, 1
  store i64 %166, ptr %32, align 8, !tbaa !40
  br label %123, !llvm.loop !57

167:                                              ; preds = %150, %141
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %10, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %172

171:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %200

172:                                              ; preds = %167, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %213

173:                                              ; preds = %111
  %174 = load ptr, ptr %25, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.tinyply::PlyProperty", ptr %174, i32 0, i32 1
  %176 = load i8, ptr %175, align 8, !tbaa !54
  %177 = load ptr, ptr %29, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %177, i32 0, i32 0
  %179 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyDataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %178) #5
  %180 = getelementptr inbounds %"struct.tinyply::PlyData", ptr %179, i32 0, i32 2
  %181 = invoke noundef ptr @_ZN7tinyply6Buffer3getEv(ptr noundef nonnull align 8 dereferenceable(24) %180)
          to label %182 unwind label %196

182:                                              ; preds = %173
  %183 = load ptr, ptr %29, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %183, i32 0, i32 1
  %185 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %184) #5
  %186 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::PlyCursor", ptr %185, i32 0, i32 0
  %187 = load i64, ptr %186, align 8, !tbaa !55
  %188 = getelementptr inbounds i8, ptr %181, i64 %187
  %189 = load ptr, ptr %29, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %189, i32 0, i32 1
  %191 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %190) #5
  %192 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::PlyCursor", ptr %191, i32 0, i32 0
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = invoke noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef zeroext %176, ptr noundef %188, ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull align 8 dereferenceable(16) %193)
          to label %195 unwind label %196

195:                                              ; preds = %182
  br label %200

196:                                              ; preds = %201, %182, %173
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %10, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %11, align 4
  br label %213

200:                                              ; preds = %195, %171
  br label %212

201:                                              ; preds = %106
  %202 = load ptr, ptr %25, align 8, !tbaa !5
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = invoke noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(40) %202, ptr noundef nonnull align 8 dereferenceable(16) %203)
          to label %205 unwind label %196

205:                                              ; preds = %201
  %206 = load ptr, ptr %29, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::ParsingHelper", ptr %206, i32 0, i32 1
  %208 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %207) #5
  %209 = getelementptr inbounds %"struct.tinyply::PlyFile::PlyFileImpl::PlyCursor", ptr %208, i32 0, i32 1
  %210 = load i64, ptr %209, align 8, !tbaa !59
  %211 = add i64 %210, %204
  store i64 %211, ptr %209, align 8, !tbaa !59
  br label %212

212:                                              ; preds = %205, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %223

213:                                              ; preds = %196, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %226

214:                                              ; preds = %100
  %215 = load ptr, ptr %25, align 8, !tbaa !5
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = invoke noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(40) %215, ptr noundef nonnull align 8 dereferenceable(16) %216)
          to label %218 unwind label %219

218:                                              ; preds = %214
  br label %223

219:                                              ; preds = %214
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %10, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %11, align 4
  br label %226

223:                                              ; preds = %218, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %224

224:                                              ; preds = %223
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  br label %88

226:                                              ; preds = %219, %213, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %245

227:                                              ; preds = %90
  br label %228

228:                                              ; preds = %227
  %229 = load i64, ptr %21, align 8, !tbaa !40
  %230 = add i64 %229, 1
  store i64 %230, ptr %21, align 8, !tbaa !40
  br label %72, !llvm.loop !60

231:                                              ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %232

232:                                              ; preds = %231
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br label %67

234:                                              ; preds = %69
  %235 = load i8, ptr %6, align 1, !tbaa !9, !range !30, !noundef !31
  %236 = trunc i8 %235 to i1
  br i1 %236, label %237, label %244

237:                                              ; preds = %234
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = invoke noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %240 unwind label %50

240:                                              ; preds = %237
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %238, i64 noundef %239, i32 noundef 0)
          to label %243 unwind label %50

243:                                              ; preds = %240
  br label %244

244:                                              ; preds = %243, %234
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  ret void

245:                                              ; preds = %226, %50
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  br label %246

246:                                              ; preds = %245
  %247 = load ptr, ptr %10, align 8
  %248 = load i32, ptr %11, align 4
  %249 = insertvalue { ptr, i32 } poison, ptr %247, 0
  %250 = insertvalue { ptr, i32 } %249, i32 %248, 1
  resume { ptr, i32 } %250
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply10PlyElementESt6vectorIS2_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 noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_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 noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_0EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_1EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_2EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_3EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) #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) #4

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"_ZTSN7tinyply7PlyFile11PlyFileImplE", !13, i64 0, !10, i64 48, !10, i64 49, !22, i64 56, !26, i64 80, !26, i64 104}
!13 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N7tinyply7PlyFile11PlyFileImpl13ParsingHelperEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N7tinyply7PlyFile11PlyFileImpl13ParsingHelperEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSSt6vectorIN7tinyply10PlyElementESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN7tinyply10PlyElementESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7tinyply10PlyElementESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN7tinyply10PlyElementESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!33, !6, i64 0}
!33 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_0", !6, i64 0}
!34 = !{!35, !6, i64 0}
!35 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_1", !6, i64 0}
!36 = !{!37, !6, i64 0}
!37 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_2", !6, i64 0}
!38 = !{!39, !6, i64 0}
!39 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_3", !6, i64 0}
!40 = !{!21, !21, i64 0}
!41 = !{!42, !21, i64 32}
!42 = !{!"_ZTSN7tinyply10PlyElementE", !43, i64 0, !21, i64 32, !45, i64 40}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !44, i64 0, !21, i64 8, !7, i64 16}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!45 = !{!"_ZTSSt6vectorIN7tinyply11PlyPropertyESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN7tinyply11PlyPropertyESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN7tinyply11PlyPropertyESaIS1_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN7tinyply11PlyPropertyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!50, !10, i64 33}
!50 = !{!"_ZTSN7tinyply11PlyPropertyE", !43, i64 0, !51, i64 32, !10, i64 33, !51, i64 34, !52, i64 36}
!51 = !{!"_ZTSN7tinyply4TypeE", !7, i64 0}
!52 = !{!"int", !7, i64 0}
!53 = !{!50, !51, i64 34}
!54 = !{!50, !51, i64 32}
!55 = !{!56, !21, i64 0}
!56 = !{!"_ZTSN7tinyply7PlyFile11PlyFileImpl9PlyCursorE", !21, i64 0, !21, i64 8}
!57 = distinct !{!57, !58}
!58 = !{!"llvm.loop.mustprogress"}
!59 = !{!56, !21, i64 8}
!60 = distinct !{!60, !58}


; 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::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.49" = type { %"class.std::_Function_base", ptr }
%"class.std::fpos" = type { i64, %struct.__mbstate_t }
%struct.__mbstate_t = type { i32, %union.anon.52 }
%union.anon.52 = type { i32 }
%class.anon.53 = type { ptr }
%class.anon.54 = type { ptr }
%class.anon.55 = type { ptr }
%class.anon.56 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.42" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8make_keyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(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 #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSib(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::function", align 8
  %5 = alloca %"class.std::function.49", align 8
  %6 = alloca %"class.std::fpos", align 8
  %7 = alloca %class.anon.53, align 8
  %8 = alloca %class.anon.54, align 8
  %9 = alloca %class.anon.55, align 8
  %10 = alloca %class.anon.56, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void @_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %20 = invoke { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %21 unwind label %31

21:                                               ; preds = %3
  %22 = extractvalue { i64, i64 } %20, 0
  store i64 %22, ptr %6, align 8
  %23 = getelementptr inbounds i8, ptr %6, i64 8
  %24 = extractvalue { i64, i64 } %20, 1
  store i64 %24, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr %0, i64 48
  %26 = load i8, ptr %25, align 8, !tbaa !5, !range !28, !noundef !29
  %27 = trunc nuw i8 %26 to i1
  br i1 %27, label %28, label %33

28:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store ptr %0, ptr %7, align 8, !tbaa !30
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_0EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store ptr %0, ptr %8, align 8, !tbaa !32
  %30 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_1EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %36

31:                                               ; preds = %153, %3
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %157

33:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  store ptr %0, ptr %9, align 8, !tbaa !34
  %34 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_2EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  store ptr %0, ptr %10, align 8, !tbaa !36
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_3EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %36

36:                                               ; preds = %33, %28
  %37 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %38 = call ptr @_ZNSt6vectorIN7tinyply10PlyElementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  store ptr %38, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %39 = call ptr @_ZNSt6vectorIN7tinyply10PlyElementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  store ptr %39, ptr %12, align 8
  %40 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %40, label %.lr.ph73, label %._crit_edge74

.lr.ph73:                                         ; preds = %36
  br i1 %2, label %.lr.ph73.split.us, label %.lr.ph73.split

.lr.ph73.split.us:                                ; preds = %.lr.ph73, %._crit_edge67.split.us.us
  %41 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %42 = getelementptr inbounds i8, ptr %41, i64 32
  %43 = load i64, ptr %42, align 8, !tbaa !38
  %.not80 = icmp eq i64 %43, 0
  br i1 %.not80, label %._crit_edge67.split.us.us, label %.lr.ph66.us

._crit_edge67.split.us.us:                        ; preds = %._crit_edge54.split.us.us.us, %.lr.ph73.split.us
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %45, label %.lr.ph73.split.us, label %._crit_edge74

.lr.ph66.us:                                      ; preds = %.lr.ph73.split.us
  %46 = getelementptr inbounds i8, ptr %41, i64 40
  br label %47

47:                                               ; preds = %._crit_edge54.split.us.us.us, %.lr.ph66.us
  %.04364.us.us = phi i64 [ 0, %.lr.ph66.us ], [ %51, %._crit_edge54.split.us.us.us ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %48 = call ptr @_ZNSt6vectorIN7tinyply11PlyPropertyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #5
  store ptr %48, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %49 = call ptr @_ZNSt6vectorIN7tinyply11PlyPropertyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #5
  store ptr %49, ptr %14, align 8
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %50, label %.lr.ph53.us.us, label %._crit_edge54.split.us.us.us

._crit_edge54.split.us.us.us:                     ; preds = %71, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %51 = add nuw i64 %.04364.us.us, 1
  %52 = load i64, ptr %42, align 8, !tbaa !38
  %53 = icmp ult i64 %51, %52
  br i1 %53, label %47, label %._crit_edge67.split.us.us, !llvm.loop !46

.lr.ph53.us.us:                                   ; preds = %47, %71
  %54 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #5
  invoke void @_Z8make_keyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %55 unwind label %.split.us.split.us.split.us

55:                                               ; preds = %.lr.ph53.us.us
  %56 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %57 unwind label %.split56.us.split.us.split.us

57:                                               ; preds = %55
  store ptr %56, ptr %15, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %58 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  store ptr %58, ptr %17, align 8
  %59 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %59, label %62, label %60

60:                                               ; preds = %57
  %61 = invoke noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(40) %54, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %71 unwind label %.split59.us.split.us.split.us

62:                                               ; preds = %57
  %63 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %64 = invoke noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(40) %54, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %65 unwind label %.split62.us.split.us.split.us

65:                                               ; preds = %62
  %66 = getelementptr inbounds i8, ptr %63, i64 48
  %67 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %66) #5
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = load i64, ptr %68, align 8, !tbaa !48
  %70 = add i64 %69, %64
  store i64 %70, ptr %68, align 8, !tbaa !48
  br label %71

71:                                               ; preds = %65, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %73, label %.lr.ph53.us.us, label %._crit_edge54.split.us.us.us

.split.us.split.us.split.us:                      ; preds = %.lr.ph53.us.us
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %113

.split56.us.split.us.split.us:                    ; preds = %55
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %112

.split59.us.split.us.split.us:                    ; preds = %60
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %152

.split62.us.split.us.split.us:                    ; preds = %62
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %152

._crit_edge74:                                    ; preds = %._crit_edge67.split, %._crit_edge67.split.us.us, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br i1 %2, label %153, label %156

.lr.ph73.split:                                   ; preds = %.lr.ph73, %._crit_edge67.split
  %78 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %79 = getelementptr inbounds i8, ptr %78, i64 32
  %80 = load i64, ptr %79, align 8, !tbaa !38
  %.not = icmp eq i64 %80, 0
  br i1 %.not, label %._crit_edge67.split, label %.lr.ph66

.lr.ph66:                                         ; preds = %.lr.ph73.split
  %81 = getelementptr inbounds i8, ptr %78, i64 40
  br label %84

._crit_edge67.split:                              ; preds = %._crit_edge54.split, %.lr.ph73.split
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %83 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %83, label %.lr.ph73.split, label %._crit_edge74

84:                                               ; preds = %.lr.ph66, %._crit_edge54.split
  %.04364 = phi i64 [ 0, %.lr.ph66 ], [ %88, %._crit_edge54.split ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %85 = call ptr @_ZNSt6vectorIN7tinyply11PlyPropertyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #5
  store ptr %85, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %86 = call ptr @_ZNSt6vectorIN7tinyply11PlyPropertyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #5
  store ptr %86, ptr %14, align 8
  %87 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %87, label %.lr.ph53, label %._crit_edge54.split

._crit_edge54.split:                              ; preds = %149, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %88 = add nuw i64 %.04364, 1
  %89 = load i64, ptr %79, align 8, !tbaa !38
  %90 = icmp ult i64 %88, %89
  br i1 %90, label %84, label %._crit_edge67.split, !llvm.loop !46

.lr.ph53:                                         ; preds = %84, %149
  %91 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #5
  invoke void @_Z8make_keyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(32) %91)
          to label %92 unwind label %.split

92:                                               ; preds = %.lr.ph53
  %93 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %94 unwind label %.split56

94:                                               ; preds = %92
  store ptr %93, ptr %15, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %95 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  store ptr %95, ptr %17, align 8
  %96 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %96, label %97, label %146

97:                                               ; preds = %94
  %98 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %99 = getelementptr inbounds i8, ptr %98, i64 32
  %100 = getelementptr inbounds i8, ptr %91, i64 33
  %101 = load i8, ptr %100, align 1, !tbaa !50, !range !28, !noundef !29
  %102 = trunc nuw i8 %101 to i1
  br i1 %102, label %103, label %133

103:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  store i64 0, ptr %18, align 8, !tbaa !54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  store i64 0, ptr %19, align 8, !tbaa !54
  %104 = getelementptr inbounds i8, ptr %91, i64 34
  %105 = load i8, ptr %104, align 2, !tbaa !55
  %106 = invoke noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef zeroext %105, ptr noundef nonnull %18, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader unwind label %114

.preheader:                                       ; preds = %103
  %107 = load i64, ptr %18, align 8, !tbaa !54
  %.not79 = icmp eq i64 %107, 0
  br i1 %.not79, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %108 = getelementptr inbounds i8, ptr %91, i64 32
  %109 = getelementptr inbounds i8, ptr %98, i64 48
  br label %116

._crit_edge:                                      ; preds = %126, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  br label %149

.split:                                           ; preds = %.lr.ph53
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %113

.split56:                                         ; preds = %92
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %112

112:                                              ; preds = %.split56.us.split.us.split.us, %.split56
  %.us-phi57 = phi { ptr, i32 } [ %111, %.split56 ], [ %75, %.split56.us.split.us.split.us ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %113

113:                                              ; preds = %.split, %.split.us.split.us.split.us, %112
  %.pn = phi { ptr, i32 } [ %.us-phi57, %112 ], [ %110, %.split ], [ %74, %.split.us.split.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  br label %152

114:                                              ; preds = %103
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %132

116:                                              ; preds = %.lr.ph, %126
  %.051 = phi i64 [ 0, %.lr.ph ], [ %127, %126 ]
  %117 = load i8, ptr %108, align 8, !tbaa !56
  %118 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyDataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %99) #5
  %119 = getelementptr inbounds i8, ptr %118, i64 16
  %120 = call noundef ptr @_ZN7tinyply6Buffer3getEv(ptr noundef nonnull align 8 dereferenceable(24) %119)
  %121 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %109) #5
  %122 = load i64, ptr %121, align 8, !tbaa !57
  %123 = getelementptr inbounds i8, ptr %120, i64 %122
  %124 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %109) #5
  %125 = invoke noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef zeroext %117, ptr noundef %123, ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %126 unwind label %130

126:                                              ; preds = %116
  %127 = add nuw i64 %.051, 1
  %128 = load i64, ptr %18, align 8, !tbaa !54
  %129 = icmp ult i64 %127, %128
  br i1 %129, label %116, label %._crit_edge, !llvm.loop !58

130:                                              ; preds = %116
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %132

132:                                              ; preds = %130, %114
  %.pn45 = phi { ptr, i32 } [ %131, %130 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  br label %152

133:                                              ; preds = %97
  %134 = getelementptr inbounds i8, ptr %91, i64 32
  %135 = load i8, ptr %134, align 8, !tbaa !56
  %136 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyDataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %99) #5
  %137 = getelementptr inbounds i8, ptr %136, i64 16
  %138 = call noundef ptr @_ZN7tinyply6Buffer3getEv(ptr noundef nonnull align 8 dereferenceable(24) %137)
  %139 = getelementptr inbounds i8, ptr %98, i64 48
  %140 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %139) #5
  %141 = load i64, ptr %140, align 8, !tbaa !57
  %142 = getelementptr inbounds i8, ptr %138, i64 %141
  %143 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7tinyply7PlyFile11PlyFileImpl9PlyCursorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %139) #5
  %144 = invoke noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef zeroext %135, ptr noundef %142, ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %149 unwind label %.split62

.split62:                                         ; preds = %133
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %152

146:                                              ; preds = %94
  %147 = invoke noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(40) %91, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %149 unwind label %.split59

.split59:                                         ; preds = %146
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %152

149:                                              ; preds = %133, %._crit_edge, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %151 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %151, label %.lr.ph53, label %._crit_edge54.split

152:                                              ; preds = %.split59, %.split59.us.split.us.split.us, %.split62, %.split62.us.split.us.split.us, %132, %113
  %.pn47.pn = phi { ptr, i32 } [ %.pn, %113 ], [ %.pn45, %132 ], [ %145, %.split62 ], [ %77, %.split62.us.split.us.split.us ], [ %148, %.split59 ], [ %76, %.split59.us.split.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %157

153:                                              ; preds = %._crit_edge74
  %154 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %155 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %154, i32 noundef 0)
          to label %156 unwind label %31

156:                                              ; preds = %153, %._crit_edge74
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  ret void

157:                                              ; preds = %152, %31
  %.pn47.pn.pn = phi { ptr, i32 } [ %.pn47.pn, %152 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn47.pn.pn
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply10PlyElementESt6vectorIS2_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 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply10PlyElementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7tinyply11PlyPropertyESt6vectorIS2_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 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7tinyply11PlyPropertyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_0EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_1EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmN7tinyply4TypeEPvRmRSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_2EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS1_S2_S3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFmRKN7tinyply11PlyPropertyERSiEEaSIZNS0_7PlyFile11PlyFileImpl10parse_dataES4_bE3$_3EENSt9enable_ifIXsrNS6_9_CallableIT_NSB_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISD_E4typeEE4typeES6_EE5valueESt5decayISD_EE4type4typeESt15__invoke_resultIRSO_JS3_S4_EEEE5valueERS6_E4typeEOSD_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt8functionIFmN7tinyply4TypeEPvRmRSiEEclES1_S2_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt8functionIFmRKN7tinyply11PlyPropertyERSiEEclES3_S4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) local_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 #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { "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 = { 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, !19, i64 48}
!6 = !{!"_ZTSN7tinyply7PlyFile11PlyFileImplE", !7, i64 0, !19, i64 48, !19, i64 49, !20, i64 56, !24, i64 80, !24, i64 104}
!7 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7tinyply7PlyFile11PlyFileImpl13ParsingHelperESt4lessIS5_ESaISt4pairIKS5_S9_EEE", !8, i64 0}
!8 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N7tinyply7PlyFile11PlyFileImpl13ParsingHelperEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE", !9, i64 0}
!9 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N7tinyply7PlyFile11PlyFileImpl13ParsingHelperEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !10, i64 0, !12, i64 8}
!10 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !11, i64 0}
!11 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!12 = !{!"_ZTSSt15_Rb_tree_header", !13, i64 0, !18, i64 32}
!13 = !{!"_ZTSSt18_Rb_tree_node_base", !14, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!14 = !{!"_ZTSSt14_Rb_tree_color", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"any pointer", !15, i64 0}
!18 = !{!"long", !15, i64 0}
!19 = !{!"bool", !15, i64 0}
!20 = !{!"_ZTSSt6vectorIN7tinyply10PlyElementESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN7tinyply10PlyElementESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7tinyply10PlyElementESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN7tinyply10PlyElementESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!24 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!31, !17, i64 0}
!31 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_0", !17, i64 0}
!32 = !{!33, !17, i64 0}
!33 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_1", !17, i64 0}
!34 = !{!35, !17, i64 0}
!35 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_2", !17, i64 0}
!36 = !{!37, !17, i64 0}
!37 = !{!"_ZTSZN7tinyply7PlyFile11PlyFileImpl10parse_dataERSibE3$_3", !17, i64 0}
!38 = !{!39, !18, i64 32}
!39 = !{!"_ZTSN7tinyply10PlyElementE", !40, i64 0, !18, i64 32, !42, i64 40}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !41, i64 0, !18, i64 8, !15, i64 16}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!42 = !{!"_ZTSSt6vectorIN7tinyply11PlyPropertyESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIN7tinyply11PlyPropertyESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN7tinyply11PlyPropertyESaIS1_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN7tinyply11PlyPropertyESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!49, !18, i64 8}
!49 = !{!"_ZTSN7tinyply7PlyFile11PlyFileImpl9PlyCursorE", !18, i64 0, !18, i64 8}
!50 = !{!51, !19, i64 33}
!51 = !{!"_ZTSN7tinyply11PlyPropertyE", !40, i64 0, !52, i64 32, !19, i64 33, !52, i64 34, !53, i64 36}
!52 = !{!"_ZTSN7tinyply4TypeE", !15, i64 0}
!53 = !{!"int", !15, i64 0}
!54 = !{!18, !18, i64 0}
!55 = !{!51, !52, i64 34}
!56 = !{!51, !52, i64 32}
!57 = !{!49, !18, i64 0}
!58 = distinct !{!58, !47}


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