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

; 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.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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::map.23" = type { %"class.std::_Rb_tree.24" }
%"class.std::_Rb_tree.24" = type { %"struct.std::_Rb_tree<OpenMesh::VectorT<float, 3>, std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>, std::_Select1st<std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>>, OpenMesh::IO::CmpVec>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<OpenMesh::VectorT<float, 3>, std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>, std::_Select1st<std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>>, OpenMesh::IO::CmpVec>::_Rb_tree_impl" = type { %"struct.std::_Rb_tree_key_compare.28", %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_key_compare.28" = type { %"class.OpenMesh::IO::CmpVec" }
%"class.OpenMesh::IO::CmpVec" = type { float }
%"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::_Rb_tree_iterator" = type { ptr }
%union.anon.32 = type { i32 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }
%"struct.std::pair" = type { %"class.OpenMesh::VectorT", %"struct.OpenMesh::VertexHandle" }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO11_STLReader_9read_stlbERSiRNS0_12BaseImporterERNS0_7OptionsE(ptr noundef nonnull align 8 dereferenceable(12) %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) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca [100 x i8], align 16
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.OpenMesh::VectorT", align 4
  %14 = alloca %"class.OpenMesh::VectorT", align 4
  %15 = alloca %"class.std::vector.18", align 8
  %16 = alloca %"class.std::map.23", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca %union.anon.32, align 4
  %21 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %23 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %24 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %25 = alloca %"struct.OpenMesh::FaceHandle", align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 100, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #5
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #5
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #5
  invoke void @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %27 unwind label %110

27:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @_ZNSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 1, ptr %20, align 4, !tbaa !9
  %28 = getelementptr inbounds [4 x i8], ptr %20, i64 0, i64 3
  %29 = load i8, ptr %28, align 1, !tbaa !9
  %30 = zext i8 %29 to i32
  %31 = icmp eq i32 %30, 1
  %32 = zext i1 %31 to i8
  store i8 %32, ptr %10, align 1, !tbaa !10
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
  %35 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef %34, i64 noundef 80)
          to label %36 unwind label %114

36:                                               ; preds = %27
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %39 = trunc i8 %38 to i1
  %40 = invoke noundef i32 @_ZN8OpenMesh2IO8read_intERSib(ptr noundef nonnull align 8 dereferenceable(16) %37, i1 noundef zeroext %39)
          to label %41 unwind label %114

41:                                               ; preds = %36
  store i32 %40, ptr %12, align 4, !tbaa !14
  br label %42

42:                                               ; preds = %182, %41
  %43 = load i32, ptr %12, align 4, !tbaa !14
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %185

45:                                               ; preds = %42
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %48 = trunc i8 %47 to i1
  %49 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %46, i1 noundef zeroext %48)
          to label %50 unwind label %114

50:                                               ; preds = %45
  %51 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %14, i64 noundef 0)
          to label %52 unwind label %114

52:                                               ; preds = %50
  store float %49, ptr %51, align 4, !tbaa !16
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %55 = trunc i8 %54 to i1
  %56 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %53, i1 noundef zeroext %55)
          to label %57 unwind label %114

57:                                               ; preds = %52
  %58 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %14, i64 noundef 1)
          to label %59 unwind label %114

59:                                               ; preds = %57
  store float %56, ptr %58, align 4, !tbaa !16
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %62 = trunc i8 %61 to i1
  %63 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %60, i1 noundef zeroext %62)
          to label %64 unwind label %114

64:                                               ; preds = %59
  %65 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %14, i64 noundef 2)
          to label %66 unwind label %114

66:                                               ; preds = %64
  store float %63, ptr %65, align 4, !tbaa !16
  store i32 0, ptr %11, align 4, !tbaa !14
  br label %67

67:                                               ; preds = %131, %66
  %68 = load i32, ptr %11, align 4, !tbaa !14
  %69 = icmp ult i32 %68, 3
  br i1 %69, label %70, label %134

70:                                               ; preds = %67
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %73 = trunc i8 %72 to i1
  %74 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %71, i1 noundef zeroext %73)
          to label %75 unwind label %114

75:                                               ; preds = %70
  %76 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %13, i64 noundef 0)
          to label %77 unwind label %114

77:                                               ; preds = %75
  store float %74, ptr %76, align 4, !tbaa !16
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %80 = trunc i8 %79 to i1
  %81 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %78, i1 noundef zeroext %80)
          to label %82 unwind label %114

82:                                               ; preds = %77
  %83 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %13, i64 noundef 1)
          to label %84 unwind label %114

84:                                               ; preds = %82
  store float %81, ptr %83, align 4, !tbaa !16
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = load i8, ptr %10, align 1, !tbaa !10, !range !12, !noundef !13
  %87 = trunc i8 %86 to i1
  %88 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %85, i1 noundef zeroext %87)
          to label %89 unwind label %114

89:                                               ; preds = %84
  %90 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %13, i64 noundef 2)
          to label %91 unwind label %114

91:                                               ; preds = %89
  store float %88, ptr %90, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %92 = invoke ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %93 unwind label %118

93:                                               ; preds = %91
  %94 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %21, i32 0, i32 0
  store ptr %92, ptr %94, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %21, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %95 = call ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  %96 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %22, i32 0, i32 0
  store ptr %95, ptr %96, align 8
  %97 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br i1 %97, label %98, label %126

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = load ptr, ptr %99, align 8, !tbaa !19
  %101 = getelementptr inbounds ptr, ptr %100, i64 2
  %102 = load ptr, ptr %101, align 8
  %103 = invoke i32 %102(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %104 unwind label %122

104:                                              ; preds = %98
  %105 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %23, i32 0, i32 0
  %106 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %105, i32 0, i32 0
  store i32 %103, ptr %106, align 4
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %107 unwind label %122

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %109 unwind label %122

109:                                              ; preds = %107
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %23, i64 4, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %130

110:                                              ; preds = %4
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %17, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %18, align 4
  br label %187

114:                                              ; preds = %178, %144, %139, %134, %126, %89, %84, %82, %77, %75, %70, %64, %59, %57, %52, %50, %45, %36, %27
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %17, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %18, align 4
  br label %186

118:                                              ; preds = %91
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %17, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %186

122:                                              ; preds = %107, %104, %98
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %17, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %186

126:                                              ; preds = %93
  %127 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %128 = getelementptr inbounds %"struct.std::pair", ptr %127, i32 0, i32 1
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(4) %128)
          to label %129 unwind label %114

129:                                              ; preds = %126
  br label %130

130:                                              ; preds = %129, %109
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %11, align 4, !tbaa !14
  %133 = add i32 %132, 1
  store i32 %133, ptr %11, align 4, !tbaa !14
  br label %67, !llvm.loop !21

134:                                              ; preds = %67
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 0) #5
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 1) #5
  %137 = invoke noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleneERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %135, ptr noundef nonnull align 4 dereferenceable(4) %136)
          to label %138 unwind label %114

138:                                              ; preds = %134
  br i1 %137, label %139, label %178

139:                                              ; preds = %138
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 0) #5
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 2) #5
  %142 = invoke noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleneERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %140, ptr noundef nonnull align 4 dereferenceable(4) %141)
          to label %143 unwind label %114

143:                                              ; preds = %139
  br i1 %142, label %144, label %178

144:                                              ; preds = %143
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 1) #5
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 2) #5
  %147 = invoke noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleneERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %145, ptr noundef nonnull align 4 dereferenceable(4) %146)
          to label %148 unwind label %114

148:                                              ; preds = %144
  br i1 %147, label %149, label %178

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = load ptr, ptr %150, align 8, !tbaa !19
  %152 = getelementptr inbounds ptr, ptr %151, i64 4
  %153 = load ptr, ptr %152, align 8
  %154 = invoke i32 %153(ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %155 unwind label %173

155:                                              ; preds = %149
  %156 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %24, i32 0, i32 0
  %157 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %156, i32 0, i32 0
  store i32 %154, ptr %157, align 4
  %158 = invoke noundef zeroext i1 @_ZNK8OpenMesh10BaseHandle8is_validEv(ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %159 unwind label %173

159:                                              ; preds = %155
  br i1 %158, label %160, label %177

160:                                              ; preds = %159
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15face_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %161)
          to label %163 unwind label %173

163:                                              ; preds = %160
  br i1 %162, label %164, label %177

164:                                              ; preds = %163
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %24, i64 4, i1 false)
  %166 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %25, i32 0, i32 0
  %167 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 4
  %169 = load ptr, ptr %165, align 8, !tbaa !19
  %170 = getelementptr inbounds ptr, ptr %169, i64 22
  %171 = load ptr, ptr %170, align 8
  invoke void %171(ptr noundef nonnull align 8 dereferenceable(8) %165, i32 %168, ptr noundef nonnull align 4 dereferenceable(12) %14)
          to label %172 unwind label %173

172:                                              ; preds = %164
  br label %177

173:                                              ; preds = %164, %160, %155, %149
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %17, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %186

177:                                              ; preds = %172, %163, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %178

178:                                              ; preds = %177, %148, %143, %138
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
  %181 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %179, ptr noundef %180, i64 noundef 2)
          to label %182 unwind label %114

182:                                              ; preds = %178
  %183 = load i32, ptr %12, align 4, !tbaa !14
  %184 = add i32 %183, -1
  store i32 %184, ptr %12, align 4, !tbaa !14
  br label %42, !llvm.loop !23

185:                                              ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #5
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 100, ptr %9) #5
  ret i1 true

186:                                              ; preds = %173, %122, %118, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  br label %187

187:                                              ; preds = %186, %110
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #5
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 100, ptr %9) #5
  br label %188

188:                                              ; preds = %187
  %189 = load ptr, ptr %17, align 8
  %190 = load i32, ptr %18, align 4
  %191 = insertvalue { ptr, i32 } poison, ptr %189, 0
  %192 = insertvalue { ptr, i32 } %191, i32 %190, 1
  resume { ptr, i32 } %192
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) #4

declare noundef i32 @_ZN8OpenMesh2IO8read_intERSib(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #4

declare noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{i64 0, i64 8, !5}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}


; 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.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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::map.23" = type { %"class.std::_Rb_tree.24" }
%"class.std::_Rb_tree.24" = type { %"struct.std::_Rb_tree<OpenMesh::VectorT<float, 3>, std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>, std::_Select1st<std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>>, OpenMesh::IO::CmpVec>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<OpenMesh::VectorT<float, 3>, std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>, std::_Select1st<std::pair<const OpenMesh::VectorT<float, 3>, OpenMesh::VertexHandle>>, OpenMesh::IO::CmpVec>::_Rb_tree_impl" = type { %"struct.std::_Rb_tree_key_compare.28", %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_key_compare.28" = type { %"class.OpenMesh::IO::CmpVec" }
%"class.OpenMesh::IO::CmpVec" = type { float }
%"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::_Rb_tree_iterator" = type { ptr }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO11_STLReader_9read_stlbERSiRNS0_12BaseImporterERNS0_7OptionsE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(12) %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) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca [100 x i8], align 16
  %6 = alloca %"class.OpenMesh::VectorT", align 4
  %7 = alloca %"class.OpenMesh::VectorT", align 4
  %8 = alloca %"class.std::vector.18", align 8
  %9 = alloca %"class.std::map.23", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %12 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %13 = alloca %"struct.OpenMesh::FaceHandle", align 4
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #4
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #4
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #4
  invoke void @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %14 unwind label %50

14:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @_ZNSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %15 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull %5, i64 noundef 80)
          to label %16 unwind label %.loopexit.split-lp.loopexit.split-lp

16:                                               ; preds = %14
  %17 = invoke noundef i32 @_ZN8OpenMesh2IO8read_intERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit.split-lp

.preheader:                                       ; preds = %16
  %.not38 = icmp eq i32 %17, 0
  br i1 %.not38, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %144
  %.02839 = phi i32 [ %145, %144 ], [ %17, %.preheader ]
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %18 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %19 unwind label %.loopexit.split-lp.loopexit

19:                                               ; preds = %.lr.ph
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %7, i64 noundef 0)
  store float %18, ptr %20, align 4, !tbaa !5
  %21 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %22 unwind label %.loopexit.split-lp.loopexit

22:                                               ; preds = %19
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %7, i64 noundef 1)
  store float %21, ptr %23, align 4, !tbaa !5
  %24 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %25 unwind label %.loopexit.split-lp.loopexit

25:                                               ; preds = %22
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %7, i64 noundef 2)
  store float %24, ptr %26, align 4, !tbaa !5
  %27 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %28 unwind label %.loopexit

28:                                               ; preds = %25
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 0)
  store float %27, ptr %29, align 4, !tbaa !5
  %30 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %31 unwind label %.loopexit

31:                                               ; preds = %28
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 1)
  store float %30, ptr %32, align 4, !tbaa !5
  %33 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %34 unwind label %.loopexit

34:                                               ; preds = %31
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 2)
  store float %33, ptr %35, align 4, !tbaa !5
  %36 = invoke ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %37 unwind label %52

37:                                               ; preds = %34
  store ptr %36, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %38 = call ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  store ptr %38, ptr %11, align 8
  %39 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %39, label %40, label %56

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %41 = load ptr, ptr %2, align 8, !tbaa !11
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  %43 = load ptr, ptr %42, align 8
  %44 = invoke i32 %43(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %45 unwind label %54

45:                                               ; preds = %40
  store i32 %44, ptr %12, align 4
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %46 unwind label %54

46:                                               ; preds = %45
  %47 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %48 unwind label %54

48:                                               ; preds = %46
  %49 = load i32, ptr %12, align 4
  store i32 %49, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  br label %59

50:                                               ; preds = %4
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %146

.loopexit:                                        ; preds = %100, %91, %88, %86, %73, %64, %61, %59, %25, %28, %31, %56
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %142, %22, %19, %.lr.ph
  %lpad.loopexit34 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %16, %14
  %lpad.loopexit.split-lp35 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

52:                                               ; preds = %94, %67, %34
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

54:                                               ; preds = %109, %108, %103, %82, %81, %76, %46, %45, %40
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  br label %.loopexit.split-lp

56:                                               ; preds = %37
  %57 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %58 = getelementptr inbounds i8, ptr %57, i64 12
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %59 unwind label %.loopexit

59:                                               ; preds = %48, %56
  %60 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %61 unwind label %.loopexit

61:                                               ; preds = %59
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 0)
  store float %60, ptr %62, align 4, !tbaa !5
  %63 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %64 unwind label %.loopexit

64:                                               ; preds = %61
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 1)
  store float %63, ptr %65, align 4, !tbaa !5
  %66 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %67 unwind label %.loopexit

67:                                               ; preds = %64
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 2)
  store float %66, ptr %68, align 4, !tbaa !5
  %69 = invoke ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %70 unwind label %52

70:                                               ; preds = %67
  store ptr %69, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %71 = call ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  store ptr %71, ptr %11, align 8
  %72 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %72, label %76, label %73

73:                                               ; preds = %70
  %74 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %75 = getelementptr inbounds i8, ptr %74, i64 12
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %86 unwind label %.loopexit

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %77 = load ptr, ptr %2, align 8, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %79 = load ptr, ptr %78, align 8
  %80 = invoke i32 %79(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %81 unwind label %54

81:                                               ; preds = %76
  store i32 %80, ptr %12, align 4
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %82 unwind label %54

82:                                               ; preds = %81
  %83 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %84 unwind label %54

84:                                               ; preds = %82
  %85 = load i32, ptr %12, align 4
  store i32 %85, ptr %83, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  br label %86

86:                                               ; preds = %84, %73
  %87 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %88 unwind label %.loopexit

88:                                               ; preds = %86
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 0)
  store float %87, ptr %89, align 4, !tbaa !5
  %90 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %91 unwind label %.loopexit

91:                                               ; preds = %88
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 1)
  store float %90, ptr %92, align 4, !tbaa !5
  %93 = invoke noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16) %1, i1 noundef zeroext false)
          to label %94 unwind label %.loopexit

94:                                               ; preds = %91
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 2)
  store float %93, ptr %95, align 4, !tbaa !5
  %96 = invoke ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %97 unwind label %52

97:                                               ; preds = %94
  store ptr %96, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %98 = call ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  store ptr %98, ptr %11, align 8
  %99 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN8OpenMesh7VectorTIfLi3EEENS1_12VertexHandleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %102 = getelementptr inbounds i8, ptr %101, i64 12
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %102)
          to label %113 unwind label %.loopexit

103:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %104 = load ptr, ptr %2, align 8, !tbaa !11
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  %106 = load ptr, ptr %105, align 8
  %107 = invoke i32 %106(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %108 unwind label %54

108:                                              ; preds = %103
  store i32 %107, ptr %12, align 4
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %109 unwind label %54

109:                                              ; preds = %108
  %110 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %111 unwind label %54

111:                                              ; preds = %109
  %112 = load i32, ptr %12, align 4
  store i32 %112, ptr %110, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  br label %113

113:                                              ; preds = %111, %100
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #4
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1) #4
  %116 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleneERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %114, ptr noundef nonnull align 4 dereferenceable(4) %115)
  br i1 %116, label %117, label %142

117:                                              ; preds = %113
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #4
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 2) #4
  %120 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleneERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %118, ptr noundef nonnull align 4 dereferenceable(4) %119)
  br i1 %120, label %121, label %142

121:                                              ; preds = %117
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1) #4
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 2) #4
  %124 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleneERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %122, ptr noundef nonnull align 4 dereferenceable(4) %123)
  br i1 %124, label %125, label %142

125:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %126 = load ptr, ptr %2, align 8, !tbaa !11
  %127 = getelementptr inbounds i8, ptr %126, i64 32
  %128 = load ptr, ptr %127, align 8
  %129 = invoke i32 %128(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %130 unwind label %139

130:                                              ; preds = %125
  store i32 %129, ptr %13, align 4
  %131 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandle8is_validEv(ptr noundef nonnull align 4 dereferenceable(4) %13)
  br i1 %131, label %132, label %141

132:                                              ; preds = %130
  %133 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15face_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %134 unwind label %139

134:                                              ; preds = %132
  br i1 %133, label %135, label %141

135:                                              ; preds = %134
  %.sroa.0.0.copyload = load i32, ptr %13, align 4
  %136 = load ptr, ptr %2, align 8, !tbaa !11
  %137 = getelementptr inbounds i8, ptr %136, i64 176
  %138 = load ptr, ptr %137, align 8
  invoke void %138(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.0.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %7)
          to label %141 unwind label %139

139:                                              ; preds = %135, %132, %125
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %.loopexit.split-lp

141:                                              ; preds = %135, %134, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %142

142:                                              ; preds = %141, %121, %117, %113
  %143 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull %5, i64 noundef 2)
          to label %144 unwind label %.loopexit.split-lp.loopexit

144:                                              ; preds = %142
  %145 = add i32 %.02839, -1
  %.not = icmp eq i32 %145, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %144, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #4
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %5) #4
  ret i1 true

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %139, %54, %52
  %.pn = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ], [ %140, %139 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit34, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp35, %.loopexit.split-lp.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  br label %146

146:                                              ; preds = %.loopexit.split-lp, %50
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #4
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %5) #4
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN8OpenMesh7VectorTIfLi3EEENS0_12VertexHandleENS0_2IO6CmpVecESaISt4pairIKS2_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) local_unnamed_addr #3

declare noundef i32 @_ZN8OpenMesh2IO8read_intERSib(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #3

declare noundef float @_ZN8OpenMesh2IO10read_floatERSib(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass