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

; 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.OpenMesh::VectorT.22" = type { %"struct.std::array.23" }
%"struct.std::array.23" = type { [3 x i8] }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = 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 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::IO::_OMReader_" = type { %"class.OpenMesh::IO::BaseReader", i64, %"class.OpenMesh::IO::Options", %"struct.OpenMesh::IO::OMFormat::Header", %"struct.OpenMesh::IO::OMFormat::Chunk::Header", %"class.OpenMesh::IO::OMFormat::Chunk::PropertyName" }
%"class.OpenMesh::IO::BaseReader" = type { ptr }
%"class.OpenMesh::IO::Options" = type { i32 }
%"struct.OpenMesh::IO::OMFormat::Header" = type { [2 x i8], i8, i8, i32, i32, i32 }
%"struct.OpenMesh::IO::OMFormat::Chunk::Header" = type { i32 }
%"class.OpenMesh::IO::OMFormat::Chunk::PropertyName" = type { %"class.std::__cxx11::basic_string" }
%"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] }

@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb = external hidden unnamed_addr constant [109 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb(ptr noundef nonnull align 8 dereferenceable(72) %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, i1 noundef zeroext %4) #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i64, align 8
  %12 = alloca %"class.OpenMesh::VectorT", align 4
  %13 = alloca %"class.OpenMesh::VectorT.22", align 1
  %14 = alloca %"class.std::vector.29", align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %21 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %22 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %23 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %24 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %25 = zext i1 %4 to i8
  store i8 %25, ptr %10, align 1, !tbaa !9
  %26 = load ptr, ptr %6, align 8
  %27 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 4
  %28 = load i32, ptr %27, align 4
  %29 = lshr i32 %28, 2
  %30 = and i32 %29, 7
  %31 = icmp eq i32 %30, 2
  br i1 %31, label %32, label %33

32:                                               ; preds = %5
  br label %35

33:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.4, i32 noundef 372, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

34:                                               ; No predecessors!
  br label %35

35:                                               ; preds = %34, %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store i64 0, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @llvm.lifetime.start.p0(i64 3, ptr %13) #8
  call void @_ZN8OpenMesh7VectorTIhLi3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %13)
  %36 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 4
  %37 = load i32, ptr %36, align 4
  %38 = lshr i32 %37, 5
  %39 = and i32 %38, 15
  switch i32 %39, label %258 [
    i32 7, label %40
    i32 1, label %123
    i32 4, label %180
    i32 6, label %235
  ]

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store i64 0, ptr %16, align 8, !tbaa !11
  %41 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %42 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %41, i32 0, i32 1
  %43 = load i8, ptr %42, align 2, !tbaa !13
  %44 = zext i8 %43 to i32
  switch i32 %44, label %47 [
    i32 84, label %45
    i32 81, label %46
  ]

45:                                               ; preds = %40
  store i64 3, ptr %15, align 8, !tbaa !11
  br label %47

46:                                               ; preds = %40
  store i64 4, ptr %15, align 8, !tbaa !11
  br label %47

47:                                               ; preds = %46, %45, %40
  br label %48

48:                                               ; preds = %118, %47
  %49 = load i64, ptr %11, align 8, !tbaa !11
  %50 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %51 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %50, i32 0, i32 4
  %52 = load i32, ptr %51, align 4, !tbaa !23
  %53 = zext i32 %52 to i64
  %54 = icmp ult i64 %49, %53
  br i1 %54, label %55, label %121

55:                                               ; preds = %48
  %56 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %57 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %56, i32 0, i32 1
  %58 = load i8, ptr %57, align 2, !tbaa !13
  %59 = zext i8 %58 to i32
  %60 = icmp eq i32 %59, 80
  br i1 %60, label %61, label %74

61:                                               ; preds = %55
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load i8, ptr %10, align 1, !tbaa !9, !range !24, !noundef !25
  %64 = trunc i8 %63 to i1
  %65 = invoke noundef i64 @_ZN8OpenMesh2IO7restoreImEEmRSiRT_NS0_8OMFormat5Chunk12Integer_SizeEb(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 1, i1 noundef zeroext %64)
          to label %66 unwind label %70

66:                                               ; preds = %61
  %67 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 1
  %68 = load i64, ptr %67, align 8, !tbaa !26
  %69 = add i64 %68, %65
  store i64 %69, ptr %67, align 8, !tbaa !26
  br label %74

70:                                               ; preds = %109, %61
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %17, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %18, align 4
  br label %122

74:                                               ; preds = %66, %55
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store i64 0, ptr %19, align 8, !tbaa !11
  br label %75

75:                                               ; preds = %97, %74
  %76 = load i64, ptr %19, align 8, !tbaa !11
  %77 = load i64, ptr %15, align 8, !tbaa !11
  %78 = icmp ult i64 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %109

80:                                               ; preds = %75
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 4
  %83 = load i32, ptr %82, align 4
  %84 = lshr i32 %83, 14
  %85 = and i32 %84, 3
  %86 = load i8, ptr %10, align 1, !tbaa !9, !range !24, !noundef !25
  %87 = trunc i8 %86 to i1
  %88 = invoke noundef i64 @_ZN8OpenMesh2IO7restoreImEEmRSiRT_NS0_8OMFormat5Chunk12Integer_SizeEb(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef %85, i1 noundef zeroext %87)
          to label %89 unwind label %100

89:                                               ; preds = %80
  %90 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 1
  %91 = load i64, ptr %90, align 8, !tbaa !26
  %92 = add i64 %91, %88
  store i64 %92, ptr %90, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %93 = load i64, ptr %16, align 8, !tbaa !11
  %94 = trunc i64 %93 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef %94)
          to label %95 unwind label %104

95:                                               ; preds = %89
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %96 unwind label %104

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %97

97:                                               ; preds = %96
  %98 = load i64, ptr %19, align 8, !tbaa !11
  %99 = add i64 %98, 1
  store i64 %99, ptr %19, align 8, !tbaa !11
  br label %75, !llvm.loop !27

100:                                              ; preds = %80
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %17, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %18, align 4
  br label %108

104:                                              ; preds = %95, %89
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %17, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %108

108:                                              ; preds = %104, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %122

109:                                              ; preds = %79
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load ptr, ptr %110, align 8, !tbaa !29
  %112 = getelementptr inbounds ptr, ptr %111, i64 4
  %113 = load ptr, ptr %112, align 8
  %114 = invoke i32 %113(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %115 unwind label %70

115:                                              ; preds = %109
  %116 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %21, i32 0, i32 0
  %117 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %116, i32 0, i32 0
  store i32 %114, ptr %117, align 4
  br label %118

118:                                              ; preds = %115
  %119 = load i64, ptr %11, align 8, !tbaa !11
  %120 = add i64 %119, 1
  store i64 %120, ptr %11, align 8, !tbaa !11
  br label %48, !llvm.loop !31

121:                                              ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %271

122:                                              ; preds = %108, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %278

123:                                              ; preds = %35
  %124 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 4
  %125 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %124)
  %126 = call noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv()
  %127 = sext i32 %126 to i64
  %128 = icmp eq i64 %125, %127
  br i1 %128, label %129, label %130

129:                                              ; preds = %123
  br label %132

130:                                              ; preds = %123
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.4, i32 noundef 410, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

131:                                              ; No predecessors!
  br label %132

132:                                              ; preds = %131, %129
  %133 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 2
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %133, i32 noundef 256)
  br label %135

135:                                              ; preds = %176, %132
  %136 = load i64, ptr %11, align 8, !tbaa !11
  %137 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %138 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %137, i32 0, i32 4
  %139 = load i32, ptr %138, align 4, !tbaa !23
  %140 = zext i32 %139 to i64
  %141 = icmp ult i64 %136, %140
  br i1 %141, label %142, label %150

142:                                              ; preds = %135
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = load ptr, ptr %143, align 8, !tbaa !29
  %145 = getelementptr i8, ptr %144, i64 -24
  %146 = load i64, ptr %145, align 8
  %147 = getelementptr inbounds i8, ptr %143, i64 %146
  %148 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %147)
  %149 = xor i1 %148, true
  br label %150

150:                                              ; preds = %142, %135
  %151 = phi i1 [ false, %135 ], [ %149, %142 ]
  br i1 %151, label %152, label %179

152:                                              ; preds = %150
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = load i8, ptr %10, align 1, !tbaa !9, !range !24, !noundef !25
  %155 = trunc i8 %154 to i1
  %156 = call noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %153, ptr noundef nonnull align 4 dereferenceable(12) %12, i1 noundef zeroext %155)
  %157 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 1
  %158 = load i64, ptr %157, align 8, !tbaa !26
  %159 = add i64 %158, %156
  store i64 %159, ptr %157, align 8, !tbaa !26
  %160 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 2
  %161 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15face_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %160)
  br i1 %161, label %162, label %175

162:                                              ; preds = %152
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15face_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %163)
  br i1 %164, label %165, label %175

165:                                              ; preds = %162
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = load i64, ptr %11, align 8, !tbaa !11
  %168 = trunc i64 %167 to i32
  call void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef %168)
  %169 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %22, i32 0, i32 0
  %170 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 4
  %172 = load ptr, ptr %166, align 8, !tbaa !29
  %173 = getelementptr inbounds ptr, ptr %172, i64 22
  %174 = load ptr, ptr %173, align 8
  call void %174(ptr noundef nonnull align 8 dereferenceable(8) %166, i32 %171, ptr noundef nonnull align 4 dereferenceable(12) %12)
  br label %175

175:                                              ; preds = %165, %162, %152
  br label %176

176:                                              ; preds = %175
  %177 = load i64, ptr %11, align 8, !tbaa !11
  %178 = add i64 %177, 1
  store i64 %178, ptr %11, align 8, !tbaa !11
  br label %135, !llvm.loop !32

179:                                              ; preds = %150
  br label %271

180:                                              ; preds = %35
  %181 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 4
  %182 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %181)
  %183 = icmp eq i64 %182, 3
  br i1 %183, label %184, label %185

184:                                              ; preds = %180
  br label %187

185:                                              ; preds = %180
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 422, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

186:                                              ; No predecessors!
  br label %187

187:                                              ; preds = %186, %184
  %188 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 2
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %188, i32 noundef 512)
  br label %190

190:                                              ; preds = %231, %187
  %191 = load i64, ptr %11, align 8, !tbaa !11
  %192 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %193 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %192, i32 0, i32 4
  %194 = load i32, ptr %193, align 4, !tbaa !23
  %195 = zext i32 %194 to i64
  %196 = icmp ult i64 %191, %195
  br i1 %196, label %197, label %205

197:                                              ; preds = %190
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = load ptr, ptr %198, align 8, !tbaa !29
  %200 = getelementptr i8, ptr %199, i64 -24
  %201 = load i64, ptr %200, align 8
  %202 = getelementptr inbounds i8, ptr %198, i64 %201
  %203 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %202)
  %204 = xor i1 %203, true
  br label %205

205:                                              ; preds = %197, %190
  %206 = phi i1 [ false, %190 ], [ %204, %197 ]
  br i1 %206, label %207, label %234

207:                                              ; preds = %205
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = load i8, ptr %10, align 1, !tbaa !9, !range !24, !noundef !25
  %210 = trunc i8 %209 to i1
  %211 = call noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIhLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %208, ptr noundef nonnull align 1 dereferenceable(3) %13, i1 noundef zeroext %210)
  %212 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 1
  %213 = load i64, ptr %212, align 8, !tbaa !26
  %214 = add i64 %213, %211
  store i64 %214, ptr %212, align 8, !tbaa !26
  %215 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 2
  %216 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14face_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %215)
  br i1 %216, label %217, label %230

217:                                              ; preds = %207
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14face_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %218)
  br i1 %219, label %220, label %230

220:                                              ; preds = %217
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = load i64, ptr %11, align 8, !tbaa !11
  %223 = trunc i64 %222 to i32
  call void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 noundef %223)
  %224 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %23, i32 0, i32 0
  %225 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %224, i32 0, i32 0
  %226 = load i32, ptr %225, align 4
  %227 = load ptr, ptr %221, align 8, !tbaa !29
  %228 = getelementptr inbounds ptr, ptr %227, i64 23
  %229 = load ptr, ptr %228, align 8
  call void %229(ptr noundef nonnull align 8 dereferenceable(8) %221, i32 %226, ptr noundef nonnull align 1 dereferenceable(3) %13)
  br label %230

230:                                              ; preds = %220, %217, %207
  br label %231

231:                                              ; preds = %230
  %232 = load i64, ptr %11, align 8, !tbaa !11
  %233 = add i64 %232, 1
  store i64 %233, ptr %11, align 8, !tbaa !11
  br label %190, !llvm.loop !33

234:                                              ; preds = %205
  br label %271

235:                                              ; preds = %35
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  %238 = load ptr, ptr %237, align 8, !tbaa !29
  %239 = getelementptr inbounds ptr, ptr %238, i64 28
  %240 = load ptr, ptr %239, align 8
  %241 = call noundef ptr %240(ptr noundef nonnull align 8 dereferenceable(8) %237)
  %242 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 5
  %243 = call noundef ptr @_ZN8OpenMesh10BaseKernel10_get_fpropERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(168) %241, ptr noundef nonnull align 8 dereferenceable(32) %242)
  %244 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %245 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %244, i32 0, i32 4
  %246 = load i32, ptr %245, align 4, !tbaa !23
  %247 = zext i32 %246 to i64
  %248 = load i8, ptr %10, align 1, !tbaa !9, !range !24, !noundef !25
  %249 = trunc i8 %248 to i1
  %250 = call noundef i64 @_ZNK8OpenMesh2IO10_OMReader_26restore_binary_custom_dataERSiPNS_12BasePropertyEmb(ptr noundef nonnull align 8 dereferenceable(72) %26, ptr noundef nonnull align 8 dereferenceable(16) %236, ptr noundef %243, i64 noundef %247, i1 noundef zeroext %249)
  %251 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 1
  %252 = load i64, ptr %251, align 8, !tbaa !26
  %253 = add i64 %252, %250
  store i64 %253, ptr %251, align 8, !tbaa !26
  %254 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %255 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %254, i32 0, i32 4
  %256 = load i32, ptr %255, align 4, !tbaa !23
  %257 = zext i32 %256 to i64
  store i64 %257, ptr %11, align 8, !tbaa !11
  br label %271

258:                                              ; preds = %35
  %259 = call noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef @.str.10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %261 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %262 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 4
  %263 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat15chunk_data_sizeERNS1_6HeaderERNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(16) %261, ptr noundef nonnull align 4 dereferenceable(4) %262)
  store i64 %263, ptr %24, align 8, !tbaa !11
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = load i64, ptr %24, align 8, !tbaa !11
  %266 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEl(ptr noundef nonnull align 8 dereferenceable(16) %264, i64 noundef %265)
  %267 = load i64, ptr %24, align 8, !tbaa !11
  %268 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 1
  %269 = load i64, ptr %268, align 8, !tbaa !26
  %270 = add i64 %269, %267
  store i64 %270, ptr %268, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %271

271:                                              ; preds = %258, %235, %234, %179, %121
  %272 = load i64, ptr %11, align 8, !tbaa !11
  %273 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %26, i32 0, i32 3
  %274 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %273, i32 0, i32 4
  %275 = load i32, ptr %274, align 4, !tbaa !23
  %276 = zext i32 %275 to i64
  %277 = icmp eq i64 %272, %276
  call void @llvm.lifetime.end.p0(i64 3, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  ret i1 %277

278:                                              ; preds = %122
  %279 = load ptr, ptr %17, align 8
  %280 = load i32, ptr %18, align 4
  %281 = insertvalue { ptr, i32 } poison, ptr %279, 0
  %282 = insertvalue { ptr, i32 } %281, i32 %280, 1
  resume { ptr, i32 } %282
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv() #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12), i1 noundef zeroext) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIhLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(3), i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK8OpenMesh2IO10_OMReader_26restore_binary_custom_dataERSiPNS_12BasePropertyEmb(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i1 noundef zeroext) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO7restoreImEEmRSiRT_NS0_8OMFormat5Chunk12Integer_SizeEb(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i1 noundef zeroext) #2

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { noreturn nounwind }
attributes #8 = { 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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !7, i64 22}
!14 = !{!"_ZTSN8OpenMesh2IO10_OMReader_E", !15, i64 0, !12, i64 8, !16, i64 16, !18, i64 20, !19, i64 36, !20, i64 40}
!15 = !{!"_ZTSN8OpenMesh2IO10BaseReaderE"}
!16 = !{!"_ZTSN8OpenMesh2IO7OptionsE", !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN8OpenMesh2IO8OMFormat6HeaderE", !7, i64 0, !7, i64 2, !7, i64 3, !17, i64 4, !17, i64 8, !17, i64 12}
!19 = !{!"_ZTSN8OpenMesh2IO8OMFormat5Chunk6HeaderE", !17, i64 0, !17, i64 0, !17, i64 0, !17, i64 0, !17, i64 1, !17, i64 1, !17, i64 1, !17, i64 1, !17, i64 2}
!20 = !{!"_ZTSN8OpenMesh2IO8OMFormat5Chunk12PropertyNameE", !21, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !12, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!14, !17, i64 28}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!14, !12, i64 8}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !8, i64 0}
!31 = distinct !{!31, !28}
!32 = distinct !{!32, !28}
!33 = distinct !{!33, !28}


; 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.OpenMesh::VectorT.22" = type { %"struct.std::array.23" }
%"struct.std::array.23" = type { [3 x i8] }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = 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 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }

@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb = external hidden unnamed_addr constant [109 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb(ptr noundef nonnull align 8 dereferenceable(72) %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, i1 noundef zeroext %4) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.OpenMesh::VectorT", align 4
  %7 = alloca %"class.OpenMesh::VectorT.22", align 1
  %8 = alloca %"class.std::vector.29", align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %12 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %13 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %14 = getelementptr inbounds i8, ptr %0, i64 36
  %15 = load i32, ptr %14, align 4
  %16 = and i32 %15, 28
  %17 = icmp eq i32 %16, 8
  br i1 %17, label %19, label %18

18:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.4, i32 noundef 372, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

19:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #8
  call void @_ZN8OpenMesh7VectorTIhLi3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %7)
  %20 = load i32, ptr %14, align 4
  %21 = lshr i32 %20, 5
  %22 = and i32 %21, 15
  switch i32 %22, label %158 [
    i32 7, label %23
    i32 1, label %72
    i32 4, label %108
    i32 6, label %142
  ]

23:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  store i64 0, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  store i64 0, ptr %10, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %0, i64 22
  %25 = load i8, ptr %24, align 2, !tbaa !9
  switch i8 %25, label %28 [
    i8 84, label %26
    i8 81, label %27
  ]

26:                                               ; preds = %23
  store i64 3, ptr %9, align 8, !tbaa !5
  br label %28

27:                                               ; preds = %23
  store i64 4, ptr %9, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %27, %26, %23
  %29 = getelementptr inbounds i8, ptr %0, i64 28
  %30 = load i32, ptr %29, align 4, !tbaa !20
  %.not63 = icmp eq i32 %30, 0
  br i1 %.not63, label %._crit_edge60, label %.lr.ph59

.lr.ph59:                                         ; preds = %28
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  br label %32

32:                                               ; preds = %.lr.ph59, %66
  %.057 = phi i64 [ 0, %.lr.ph59 ], [ %67, %66 ]
  %33 = load i8, ptr %24, align 2, !tbaa !9
  %34 = icmp eq i8 %33, 80
  br i1 %34, label %35, label %42

35:                                               ; preds = %32
  %36 = invoke noundef i64 @_ZN8OpenMesh2IO7restoreImEEmRSiRT_NS0_8OMFormat5Chunk12Integer_SizeEb(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 1, i1 noundef zeroext %4)
          to label %37 unwind label %40

37:                                               ; preds = %35
  %38 = load i64, ptr %31, align 8, !tbaa !21
  %39 = add i64 %38, %36
  store i64 %39, ptr %31, align 8, !tbaa !21
  br label %42

40:                                               ; preds = %._crit_edge, %35
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %71

42:                                               ; preds = %37, %32
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  %43 = load i64, ptr %9, align 8, !tbaa !5
  %.not64 = icmp eq i64 %43, 0
  br i1 %.not64, label %._crit_edge, label %.lr.ph56

._crit_edge:                                      ; preds = %58, %42
  %44 = load ptr, ptr %2, align 8, !tbaa !22
  %45 = getelementptr inbounds i8, ptr %44, i64 32
  %46 = load ptr, ptr %45, align 8
  %47 = invoke i32 %46(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %66 unwind label %40

.lr.ph56:                                         ; preds = %42, %58
  %.03855 = phi i64 [ %59, %58 ], [ 0, %42 ]
  %48 = load i32, ptr %14, align 4
  %49 = lshr i32 %48, 14
  %50 = and i32 %49, 3
  %51 = invoke noundef i64 @_ZN8OpenMesh2IO7restoreImEEmRSiRT_NS0_8OMFormat5Chunk12Integer_SizeEb(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef %50, i1 noundef zeroext %4)
          to label %52 unwind label %62

52:                                               ; preds = %.lr.ph56
  %53 = load i64, ptr %31, align 8, !tbaa !21
  %54 = add i64 %53, %51
  store i64 %54, ptr %31, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  %55 = load i64, ptr %10, align 8, !tbaa !5
  %56 = trunc i64 %55 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef %56)
          to label %57 unwind label %64

57:                                               ; preds = %52
  invoke void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %58 unwind label %64

58:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  %59 = add nuw i64 %.03855, 1
  %60 = load i64, ptr %9, align 8, !tbaa !5
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %.lr.ph56, label %._crit_edge, !llvm.loop !24

62:                                               ; preds = %.lr.ph56
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %71

64:                                               ; preds = %57, %52
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  br label %71

66:                                               ; preds = %._crit_edge
  %67 = add nuw nsw i64 %.057, 1
  %68 = load i32, ptr %29, align 4, !tbaa !20
  %69 = zext i32 %68 to i64
  %70 = icmp ult i64 %67, %69
  br i1 %70, label %32, label %._crit_edge60, !llvm.loop !26

._crit_edge60:                                    ; preds = %66, %28
  %.0.lcssa = phi i64 [ 0, %28 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  br label %.critedge

71:                                               ; preds = %62, %64, %40
  %.pn.pn = phi { ptr, i32 } [ %41, %40 ], [ %65, %64 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  resume { ptr, i32 } %.pn.pn

72:                                               ; preds = %19
  %73 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %14)
  %74 = call noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv()
  %75 = sext i32 %74 to i64
  %76 = icmp eq i64 %73, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.4, i32 noundef 410, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

78:                                               ; preds = %72
  %79 = getelementptr inbounds i8, ptr %0, i64 16
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %79, i32 noundef 256)
  %81 = getelementptr inbounds i8, ptr %0, i64 28
  %82 = load i32, ptr %81, align 4, !tbaa !20
  %.not62 = icmp eq i32 %82, 0
  br i1 %.not62, label %.critedge, label %.lr.ph51

.lr.ph51:                                         ; preds = %78
  %83 = getelementptr inbounds i8, ptr %0, i64 8
  br label %84

84:                                               ; preds = %.lr.ph51, %103
  %.150 = phi i64 [ 0, %.lr.ph51 ], [ %104, %103 ]
  %85 = load ptr, ptr %1, align 8, !tbaa !22
  %86 = getelementptr i8, ptr %85, i64 -24
  %87 = load i64, ptr %86, align 8
  %88 = getelementptr inbounds i8, ptr %1, i64 %87
  %89 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %88)
  br i1 %89, label %.critedge, label %90

90:                                               ; preds = %84
  %91 = call noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(12) %6, i1 noundef zeroext %4)
  %92 = load i64, ptr %83, align 8, !tbaa !21
  %93 = add i64 %92, %91
  store i64 %93, ptr %83, align 8, !tbaa !21
  %94 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15face_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %79)
  br i1 %94, label %95, label %103

95:                                               ; preds = %90
  %96 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15face_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %96, label %97, label %103

97:                                               ; preds = %95
  %98 = trunc nuw i64 %.150 to i32
  call void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef %98)
  %99 = load i32, ptr %12, align 4
  %100 = load ptr, ptr %2, align 8, !tbaa !22
  %101 = getelementptr inbounds i8, ptr %100, i64 176
  %102 = load ptr, ptr %101, align 8
  call void %102(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %99, ptr noundef nonnull align 4 dereferenceable(12) %6)
  br label %103

103:                                              ; preds = %90, %95, %97
  %104 = add nuw nsw i64 %.150, 1
  %105 = load i32, ptr %81, align 4, !tbaa !20
  %106 = zext i32 %105 to i64
  %107 = icmp ult i64 %104, %106
  br i1 %107, label %84, label %.critedge, !llvm.loop !27

108:                                              ; preds = %19
  %109 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %14)
  %110 = icmp eq i64 %109, 3
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 422, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_22read_binary_face_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

112:                                              ; preds = %108
  %113 = getelementptr inbounds i8, ptr %0, i64 16
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %113, i32 noundef 512)
  %115 = getelementptr inbounds i8, ptr %0, i64 28
  %116 = load i32, ptr %115, align 4, !tbaa !20
  %.not = icmp eq i32 %116, 0
  br i1 %.not, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %112
  %117 = getelementptr inbounds i8, ptr %0, i64 8
  br label %118

118:                                              ; preds = %.lr.ph, %137
  %.247 = phi i64 [ 0, %.lr.ph ], [ %138, %137 ]
  %119 = load ptr, ptr %1, align 8, !tbaa !22
  %120 = getelementptr i8, ptr %119, i64 -24
  %121 = load i64, ptr %120, align 8
  %122 = getelementptr inbounds i8, ptr %1, i64 %121
  %123 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %122)
  br i1 %123, label %.critedge, label %124

124:                                              ; preds = %118
  %125 = call noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIhLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 1 dereferenceable(3) %7, i1 noundef zeroext %4)
  %126 = load i64, ptr %117, align 8, !tbaa !21
  %127 = add i64 %126, %125
  store i64 %127, ptr %117, align 8, !tbaa !21
  %128 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14face_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %113)
  br i1 %128, label %129, label %137

129:                                              ; preds = %124
  %130 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14face_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %130, label %131, label %137

131:                                              ; preds = %129
  %132 = trunc nuw i64 %.247 to i32
  call void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 noundef %132)
  %133 = load i32, ptr %13, align 4
  %134 = load ptr, ptr %2, align 8, !tbaa !22
  %135 = getelementptr inbounds i8, ptr %134, i64 184
  %136 = load ptr, ptr %135, align 8
  call void %136(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %133, ptr noundef nonnull align 1 dereferenceable(3) %7)
  br label %137

137:                                              ; preds = %124, %129, %131
  %138 = add nuw nsw i64 %.247, 1
  %139 = load i32, ptr %115, align 4, !tbaa !20
  %140 = zext i32 %139 to i64
  %141 = icmp ult i64 %138, %140
  br i1 %141, label %118, label %.critedge, !llvm.loop !28

142:                                              ; preds = %19
  %143 = load ptr, ptr %2, align 8, !tbaa !22
  %144 = getelementptr inbounds i8, ptr %143, i64 224
  %145 = load ptr, ptr %144, align 8
  %146 = call noundef ptr %145(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %147 = getelementptr inbounds i8, ptr %0, i64 40
  %148 = call noundef ptr @_ZN8OpenMesh10BaseKernel10_get_fpropERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(168) %146, ptr noundef nonnull align 8 dereferenceable(32) %147)
  %149 = getelementptr inbounds i8, ptr %0, i64 28
  %150 = load i32, ptr %149, align 4, !tbaa !20
  %151 = zext i32 %150 to i64
  %152 = call noundef i64 @_ZNK8OpenMesh2IO10_OMReader_26restore_binary_custom_dataERSiPNS_12BasePropertyEmb(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %148, i64 noundef %151, i1 noundef zeroext %4)
  %153 = getelementptr inbounds i8, ptr %0, i64 8
  %154 = load i64, ptr %153, align 8, !tbaa !21
  %155 = add i64 %154, %152
  store i64 %155, ptr %153, align 8, !tbaa !21
  %156 = load i32, ptr %149, align 4, !tbaa !20
  %157 = zext i32 %156 to i64
  br label %.critedge

158:                                              ; preds = %19
  %159 = call noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @.str.10)
  %161 = getelementptr inbounds i8, ptr %0, i64 20
  %162 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat15chunk_data_sizeERNS1_6HeaderERNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(16) %161, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %163 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEl(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %162)
  %164 = getelementptr inbounds i8, ptr %0, i64 8
  %165 = load i64, ptr %164, align 8, !tbaa !21
  %166 = add i64 %165, %162
  store i64 %166, ptr %164, align 8, !tbaa !21
  br label %.critedge

.critedge:                                        ; preds = %137, %118, %103, %84, %112, %78, %158, %142, %._crit_edge60
  %.3 = phi i64 [ 0, %158 ], [ %157, %142 ], [ %.0.lcssa, %._crit_edge60 ], [ 0, %78 ], [ 0, %112 ], [ %104, %103 ], [ %.150, %84 ], [ %138, %137 ], [ %.247, %118 ]
  %167 = getelementptr inbounds i8, ptr %0, i64 28
  %168 = load i32, ptr %167, align 4, !tbaa !20
  %169 = zext i32 %168 to i64
  %170 = icmp eq i64 %.3, %169
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  ret i1 %170
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv() local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12), i1 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIhLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(3), i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK8OpenMesh2IO10_OMReader_26restore_binary_custom_dataERSiPNS_12BasePropertyEmb(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8OpenMesh2IO7restoreImEEmRSiRT_NS0_8OMFormat5Chunk12Integer_SizeEb(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { noreturn nounwind }
attributes #8 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !7, i64 22}
!10 = !{!"_ZTSN8OpenMesh2IO10_OMReader_E", !11, i64 0, !6, i64 8, !12, i64 16, !14, i64 20, !15, i64 36, !16, i64 40}
!11 = !{!"_ZTSN8OpenMesh2IO10BaseReaderE"}
!12 = !{!"_ZTSN8OpenMesh2IO7OptionsE", !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSN8OpenMesh2IO8OMFormat6HeaderE", !7, i64 0, !7, i64 2, !7, i64 3, !13, i64 4, !13, i64 8, !13, i64 12}
!15 = !{!"_ZTSN8OpenMesh2IO8OMFormat5Chunk6HeaderE", !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 2}
!16 = !{!"_ZTSN8OpenMesh2IO8OMFormat5Chunk12PropertyNameE", !17, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !6, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !19, i64 0}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!10, !13, i64 28}
!21 = !{!10, !6, i64 8}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass