; 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.20" = type { %"struct.std::array.21" }
%"struct.std::array.21" = type { [2 x float] }
%"class.OpenMesh::VectorT.22" = type { %"struct.std::array.23" }
%"struct.std::array.23" = type { [3 x i8] }
%"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] }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"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 }

@.str.3 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb = external hidden unnamed_addr constant [111 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #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_24read_binary_vertex_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 %"class.OpenMesh::VectorT", align 4
  %12 = alloca %"class.OpenMesh::VectorT.20", align 4
  %13 = alloca %"class.OpenMesh::VectorT.22", align 1
  %14 = alloca %"class.OpenMesh::IO::OMFormat::Chunk::PropertyName", align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %19 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %20 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %21 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %22 = 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
  %23 = zext i1 %4 to i8
  store i8 %23, ptr %10, align 1, !tbaa !9
  %24 = load ptr, ptr %6, align 8
  %25 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %26 = load i32, ptr %25, align 4
  %27 = lshr i32 %26, 2
  %28 = and i32 %27, 7
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %31

30:                                               ; preds = %5
  br label %33

31:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 290, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @_ZN8OpenMesh7VectorTIfLi2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.start.p0(i64 3, ptr %13) #8
  call void @_ZN8OpenMesh7VectorTIhLi3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %13)
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  call void @_ZN8OpenMesh2IO8OMFormat5Chunk12PropertyNameC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !11
  %34 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %35 = load i32, ptr %34, align 4
  %36 = lshr i32 %35, 5
  %37 = and i32 %36, 15
  switch i32 %37, label %314 [
    i32 0, label %38
    i32 1, label %93
    i32 2, label %159
    i32 4, label %225
    i32 6, label %288
  ]

38:                                               ; preds = %33
  %39 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %40 = invoke noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %41 unwind label %48

41:                                               ; preds = %38
  %42 = invoke noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv()
          to label %43 unwind label %48

43:                                               ; preds = %41
  %44 = sext i32 %42 to i64
  %45 = icmp eq i64 %40, %44
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  br label %53

47:                                               ; preds = %43
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.4, i32 noundef 301, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

48:                                               ; preds = %316, %314, %298, %295, %288, %275, %271, %267, %260, %255, %244, %233, %225, %212, %208, %204, %197, %192, %181, %170, %162, %159, %146, %142, %138, %131, %126, %115, %104, %96, %93, %77, %72, %61, %41, %38
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %16, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %17, align 4
  br label %346

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %46
  br label %54

54:                                               ; preds = %89, %53
  %55 = load i64, ptr %15, align 8, !tbaa !11
  %56 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %57 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %56, i32 0, i32 3
  %58 = load i32, ptr %57, align 4, !tbaa !13
  %59 = zext i32 %58 to i64
  %60 = icmp ult i64 %55, %59
  br i1 %60, label %61, label %70

61:                                               ; preds = %54
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load ptr, ptr %62, align 8, !tbaa !23
  %64 = getelementptr i8, ptr %63, i64 -24
  %65 = load i64, ptr %64, align 8
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  %67 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %66)
          to label %68 unwind label %48

68:                                               ; preds = %61
  %69 = xor i1 %67, true
  br label %70

70:                                               ; preds = %68, %54
  %71 = phi i1 [ false, %54 ], [ %69, %68 ]
  br i1 %71, label %72, label %92

72:                                               ; preds = %70
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load i8, ptr %10, align 1, !tbaa !9, !range !25, !noundef !26
  %75 = trunc i8 %74 to i1
  %76 = invoke noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %73, ptr noundef nonnull align 4 dereferenceable(12) %11, i1 noundef zeroext %75)
          to label %77 unwind label %48

77:                                               ; preds = %72
  %78 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 1
  %79 = load i64, ptr %78, align 8, !tbaa !27
  %80 = add i64 %79, %76
  store i64 %80, ptr %78, align 8, !tbaa !27
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load ptr, ptr %81, align 8, !tbaa !23
  %83 = getelementptr inbounds ptr, ptr %82, i64 2
  %84 = load ptr, ptr %83, align 8
  %85 = invoke i32 %84(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %86 unwind label %48

86:                                               ; preds = %77
  %87 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %18, i32 0, i32 0
  %88 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %87, i32 0, i32 0
  store i32 %85, ptr %88, align 4
  br label %89

89:                                               ; preds = %86
  %90 = load i64, ptr %15, align 8, !tbaa !11
  %91 = add i64 %90, 1
  store i64 %91, ptr %15, align 8, !tbaa !11
  br label %54, !llvm.loop !28

92:                                               ; preds = %70
  br label %335

93:                                               ; preds = %33
  %94 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %95 = invoke noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %94)
          to label %96 unwind label %48

96:                                               ; preds = %93
  %97 = invoke noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv()
          to label %98 unwind label %48

98:                                               ; preds = %96
  %99 = sext i32 %97 to i64
  %100 = icmp eq i64 %95, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %98
  br label %104

102:                                              ; preds = %98
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.4, i32 noundef 310, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103, %101
  %105 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 2
  %106 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %105, i32 noundef 16)
          to label %107 unwind label %48

107:                                              ; preds = %104
  br label %108

108:                                              ; preds = %155, %107
  %109 = load i64, ptr %15, align 8, !tbaa !11
  %110 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %111 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %110, i32 0, i32 3
  %112 = load i32, ptr %111, align 4, !tbaa !13
  %113 = zext i32 %112 to i64
  %114 = icmp ult i64 %109, %113
  br i1 %114, label %115, label %124

115:                                              ; preds = %108
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load ptr, ptr %116, align 8, !tbaa !23
  %118 = getelementptr i8, ptr %117, i64 -24
  %119 = load i64, ptr %118, align 8
  %120 = getelementptr inbounds i8, ptr %116, i64 %119
  %121 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %120)
          to label %122 unwind label %48

122:                                              ; preds = %115
  %123 = xor i1 %121, true
  br label %124

124:                                              ; preds = %122, %108
  %125 = phi i1 [ false, %108 ], [ %123, %122 ]
  br i1 %125, label %126, label %158

126:                                              ; preds = %124
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = load i8, ptr %10, align 1, !tbaa !9, !range !25, !noundef !26
  %129 = trunc i8 %128 to i1
  %130 = invoke noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %127, ptr noundef nonnull align 4 dereferenceable(12) %11, i1 noundef zeroext %129)
          to label %131 unwind label %48

131:                                              ; preds = %126
  %132 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 1
  %133 = load i64, ptr %132, align 8, !tbaa !27
  %134 = add i64 %133, %130
  store i64 %134, ptr %132, align 8, !tbaa !27
  %135 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 2
  %136 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %135)
          to label %137 unwind label %48

137:                                              ; preds = %131
  br i1 %136, label %138, label %154

138:                                              ; preds = %137
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %139)
          to label %141 unwind label %48

141:                                              ; preds = %138
  br i1 %140, label %142, label %154

142:                                              ; preds = %141
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = load i64, ptr %15, align 8, !tbaa !11
  %145 = trunc i64 %144 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 noundef %145)
          to label %146 unwind label %48

146:                                              ; preds = %142
  %147 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %19, i32 0, i32 0
  %148 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 4
  %150 = load ptr, ptr %143, align 8, !tbaa !23
  %151 = getelementptr inbounds ptr, ptr %150, i64 9
  %152 = load ptr, ptr %151, align 8
  invoke void %152(ptr noundef nonnull align 8 dereferenceable(8) %143, i32 %149, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %153 unwind label %48

153:                                              ; preds = %146
  br label %154

154:                                              ; preds = %153, %141, %137
  br label %155

155:                                              ; preds = %154
  %156 = load i64, ptr %15, align 8, !tbaa !11
  %157 = add i64 %156, 1
  store i64 %157, ptr %15, align 8, !tbaa !11
  br label %108, !llvm.loop !30

158:                                              ; preds = %124
  br label %335

159:                                              ; preds = %33
  %160 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %161 = invoke noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %160)
          to label %162 unwind label %48

162:                                              ; preds = %159
  %163 = invoke noundef i32 @_ZN8OpenMesh7VectorTIfLi2EE3dimEv()
          to label %164 unwind label %48

164:                                              ; preds = %162
  %165 = sext i32 %163 to i64
  %166 = icmp eq i64 %161, %165
  br i1 %166, label %167, label %168

167:                                              ; preds = %164
  br label %170

168:                                              ; preds = %164
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 321, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

169:                                              ; No predecessors!
  br label %170

170:                                              ; preds = %169, %167
  %171 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 2
  %172 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %171, i32 noundef 64)
          to label %173 unwind label %48

173:                                              ; preds = %170
  br label %174

174:                                              ; preds = %221, %173
  %175 = load i64, ptr %15, align 8, !tbaa !11
  %176 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %177 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %176, i32 0, i32 3
  %178 = load i32, ptr %177, align 4, !tbaa !13
  %179 = zext i32 %178 to i64
  %180 = icmp ult i64 %175, %179
  br i1 %180, label %181, label %190

181:                                              ; preds = %174
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = load ptr, ptr %182, align 8, !tbaa !23
  %184 = getelementptr i8, ptr %183, i64 -24
  %185 = load i64, ptr %184, align 8
  %186 = getelementptr inbounds i8, ptr %182, i64 %185
  %187 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %186)
          to label %188 unwind label %48

188:                                              ; preds = %181
  %189 = xor i1 %187, true
  br label %190

190:                                              ; preds = %188, %174
  %191 = phi i1 [ false, %174 ], [ %189, %188 ]
  br i1 %191, label %192, label %224

192:                                              ; preds = %190
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = load i8, ptr %10, align 1, !tbaa !9, !range !25, !noundef !26
  %195 = trunc i8 %194 to i1
  %196 = invoke noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi2EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %193, ptr noundef nonnull align 4 dereferenceable(8) %12, i1 noundef zeroext %195)
          to label %197 unwind label %48

197:                                              ; preds = %192
  %198 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 1
  %199 = load i64, ptr %198, align 8, !tbaa !27
  %200 = add i64 %199, %196
  store i64 %200, ptr %198, align 8, !tbaa !27
  %201 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 2
  %202 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %201)
          to label %203 unwind label %48

203:                                              ; preds = %197
  br i1 %202, label %204, label %220

204:                                              ; preds = %203
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %205)
          to label %207 unwind label %48

207:                                              ; preds = %204
  br i1 %206, label %208, label %220

208:                                              ; preds = %207
  %209 = load ptr, ptr %8, align 8, !tbaa !5
  %210 = load i64, ptr %15, align 8, !tbaa !11
  %211 = trunc i64 %210 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef %211)
          to label %212 unwind label %48

212:                                              ; preds = %208
  %213 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %20, i32 0, i32 0
  %214 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %213, i32 0, i32 0
  %215 = load i32, ptr %214, align 4
  %216 = load ptr, ptr %209, align 8, !tbaa !23
  %217 = getelementptr inbounds ptr, ptr %216, i64 14
  %218 = load ptr, ptr %217, align 8
  invoke void %218(ptr noundef nonnull align 8 dereferenceable(8) %209, i32 %215, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %219 unwind label %48

219:                                              ; preds = %212
  br label %220

220:                                              ; preds = %219, %207, %203
  br label %221

221:                                              ; preds = %220
  %222 = load i64, ptr %15, align 8, !tbaa !11
  %223 = add i64 %222, 1
  store i64 %223, ptr %15, align 8, !tbaa !11
  br label %174, !llvm.loop !31

224:                                              ; preds = %190
  br label %335

225:                                              ; preds = %33
  %226 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %227 = invoke noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %226)
          to label %228 unwind label %48

228:                                              ; preds = %225
  %229 = icmp eq i64 %227, 3
  br i1 %229, label %230, label %231

230:                                              ; preds = %228
  br label %233

231:                                              ; preds = %228
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 333, ptr noundef @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

232:                                              ; No predecessors!
  br label %233

233:                                              ; preds = %232, %230
  %234 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 2
  %235 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %234, i32 noundef 32)
          to label %236 unwind label %48

236:                                              ; preds = %233
  br label %237

237:                                              ; preds = %284, %236
  %238 = load i64, ptr %15, align 8, !tbaa !11
  %239 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %240 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %239, i32 0, i32 3
  %241 = load i32, ptr %240, align 4, !tbaa !13
  %242 = zext i32 %241 to i64
  %243 = icmp ult i64 %238, %242
  br i1 %243, label %244, label %253

244:                                              ; preds = %237
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = load ptr, ptr %245, align 8, !tbaa !23
  %247 = getelementptr i8, ptr %246, i64 -24
  %248 = load i64, ptr %247, align 8
  %249 = getelementptr inbounds i8, ptr %245, i64 %248
  %250 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %249)
          to label %251 unwind label %48

251:                                              ; preds = %244
  %252 = xor i1 %250, true
  br label %253

253:                                              ; preds = %251, %237
  %254 = phi i1 [ false, %237 ], [ %252, %251 ]
  br i1 %254, label %255, label %287

255:                                              ; preds = %253
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = load i8, ptr %10, align 1, !tbaa !9, !range !25, !noundef !26
  %258 = trunc i8 %257 to i1
  %259 = invoke noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIhLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %256, ptr noundef nonnull align 1 dereferenceable(3) %13, i1 noundef zeroext %258)
          to label %260 unwind label %48

260:                                              ; preds = %255
  %261 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 1
  %262 = load i64, ptr %261, align 8, !tbaa !27
  %263 = add i64 %262, %259
  store i64 %263, ptr %261, align 8, !tbaa !27
  %264 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 2
  %265 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %264)
          to label %266 unwind label %48

266:                                              ; preds = %260
  br i1 %265, label %267, label %283

267:                                              ; preds = %266
  %268 = load ptr, ptr %9, align 8, !tbaa !5
  %269 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %268)
          to label %270 unwind label %48

270:                                              ; preds = %267
  br i1 %269, label %271, label %283

271:                                              ; preds = %270
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = load i64, ptr %15, align 8, !tbaa !11
  %274 = trunc i64 %273 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %21, i32 noundef %274)
          to label %275 unwind label %48

275:                                              ; preds = %271
  %276 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %21, i32 0, i32 0
  %277 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %276, i32 0, i32 0
  %278 = load i32, ptr %277, align 4
  %279 = load ptr, ptr %272, align 8, !tbaa !23
  %280 = getelementptr inbounds ptr, ptr %279, i64 10
  %281 = load ptr, ptr %280, align 8
  invoke void %281(ptr noundef nonnull align 8 dereferenceable(8) %272, i32 %278, ptr noundef nonnull align 1 dereferenceable(3) %13)
          to label %282 unwind label %48

282:                                              ; preds = %275
  br label %283

283:                                              ; preds = %282, %270, %266
  br label %284

284:                                              ; preds = %283
  %285 = load i64, ptr %15, align 8, !tbaa !11
  %286 = add i64 %285, 1
  store i64 %286, ptr %15, align 8, !tbaa !11
  br label %237, !llvm.loop !32

287:                                              ; preds = %253
  br label %335

288:                                              ; preds = %33
  %289 = load ptr, ptr %7, align 8, !tbaa !5
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = load ptr, ptr %290, align 8, !tbaa !23
  %292 = getelementptr inbounds ptr, ptr %291, i64 28
  %293 = load ptr, ptr %292, align 8
  %294 = invoke noundef ptr %293(ptr noundef nonnull align 8 dereferenceable(8) %290)
          to label %295 unwind label %48

295:                                              ; preds = %288
  %296 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 5
  %297 = invoke noundef ptr @_ZN8OpenMesh10BaseKernel10_get_vpropERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(168) %294, ptr noundef nonnull align 8 dereferenceable(32) %296)
          to label %298 unwind label %48

298:                                              ; preds = %295
  %299 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %300 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %299, i32 0, i32 3
  %301 = load i32, ptr %300, align 4, !tbaa !13
  %302 = zext i32 %301 to i64
  %303 = load i8, ptr %10, align 1, !tbaa !9, !range !25, !noundef !26
  %304 = trunc i8 %303 to i1
  %305 = invoke noundef i64 @_ZNK8OpenMesh2IO10_OMReader_26restore_binary_custom_dataERSiPNS_12BasePropertyEmb(ptr noundef nonnull align 8 dereferenceable(72) %24, ptr noundef nonnull align 8 dereferenceable(16) %289, ptr noundef %297, i64 noundef %302, i1 noundef zeroext %304)
          to label %306 unwind label %48

306:                                              ; preds = %298
  %307 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 1
  %308 = load i64, ptr %307, align 8, !tbaa !27
  %309 = add i64 %308, %305
  store i64 %309, ptr %307, align 8, !tbaa !27
  %310 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %311 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %310, i32 0, i32 3
  %312 = load i32, ptr %311, align 4, !tbaa !13
  %313 = zext i32 %312 to i64
  store i64 %313, ptr %15, align 8, !tbaa !11
  br label %335

314:                                              ; preds = %33
  %315 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %316 unwind label %48

316:                                              ; preds = %314
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %315, ptr noundef @.str.8)
          to label %318 unwind label %48

318:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %319 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %320 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %319, i32 0, i32 3
  %321 = load i32, ptr %320, align 4, !tbaa !13
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 4
  %324 = invoke noundef i64 @_ZN8OpenMesh2IO8OMFormat11vector_sizeERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %323)
          to label %325 unwind label %342

325:                                              ; preds = %318
  %326 = mul i64 %322, %324
  store i64 %326, ptr %22, align 8, !tbaa !11
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = load i64, ptr %22, align 8, !tbaa !11
  %329 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEl(ptr noundef nonnull align 8 dereferenceable(16) %327, i64 noundef %328)
          to label %330 unwind label %342

330:                                              ; preds = %325
  %331 = load i64, ptr %22, align 8, !tbaa !11
  %332 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 1
  %333 = load i64, ptr %332, align 8, !tbaa !27
  %334 = add i64 %333, %331
  store i64 %334, ptr %332, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %335

335:                                              ; preds = %330, %306, %287, %224, %158, %92
  %336 = load i64, ptr %15, align 8, !tbaa !11
  %337 = getelementptr inbounds %"class.OpenMesh::IO::_OMReader_", ptr %24, i32 0, i32 3
  %338 = getelementptr inbounds %"struct.OpenMesh::IO::OMFormat::Header", ptr %337, i32 0, i32 3
  %339 = load i32, ptr %338, align 4, !tbaa !13
  %340 = zext i32 %339 to i64
  %341 = icmp eq i64 %336, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #8
  ret i1 %341

342:                                              ; preds = %325, %318
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %16, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %346

346:                                              ; preds = %342, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #8
  br label %347

347:                                              ; preds = %346
  %348 = load ptr, ptr %16, align 8
  %349 = load i32, ptr %17, align 4
  %350 = insertvalue { ptr, i32 } poison, ptr %348, 0
  %351 = insertvalue { ptr, i32 } %350, i32 %349, 1
  resume { ptr, i32 } %351
}

; 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 @_ZN8OpenMesh7VectorTIfLi2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4)) #0 align 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8OpenMesh7VectorTIfLi2EE3dimEv() #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4)) #0 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4)) #0 align 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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN8OpenMesh10BaseKernel10_get_vpropERKNSt7__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 @_ZN8OpenMesh2IO8OMFormat11vector_sizeERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4)) #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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 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, !17, i64 24}
!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 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !8, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!14, !12, i64 8}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
!32 = distinct !{!32, !29}


; 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.20" = type { %"struct.std::array.21" }
%"struct.std::array.21" = type { [2 x float] }
%"class.OpenMesh::VectorT.22" = type { %"struct.std::array.23" }
%"struct.std::array.23" = type { [3 x i8] }
%"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] }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }

@.str.3 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb = external hidden unnamed_addr constant [111 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #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_24read_binary_vertex_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.20", align 4
  %8 = alloca %"class.OpenMesh::VectorT.22", align 1
  %9 = alloca %"class.OpenMesh::IO::OMFormat::Chunk::PropertyName", align 8
  %10 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %11 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %12 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %13 = getelementptr inbounds i8, ptr %0, i64 36
  %14 = load i32, ptr %13, align 4
  %15 = and i32 %14, 28
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %18, label %17

17:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 290, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

18:                                               ; 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 8, ptr nonnull %7) #8
  call void @_ZN8OpenMesh7VectorTIfLi2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %8) #8
  call void @_ZN8OpenMesh7VectorTIhLi3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %8)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @_ZN8OpenMesh2IO8OMFormat5Chunk12PropertyNameC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9)
  %19 = load i32, ptr %13, align 4
  %20 = lshr i32 %19, 5
  %21 = and i32 %20, 15
  switch i32 %21, label %186 [
    i32 0, label %22
    i32 1, label %52
    i32 2, label %91
    i32 4, label %130
    i32 6, label %167
  ]

22:                                               ; preds = %18
  %23 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %13)
  %24 = call noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv()
  %25 = sext i32 %24 to i64
  %26 = icmp eq i64 %23, %25
  br i1 %26, label %.preheader, label %30

.preheader:                                       ; preds = %22
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = load i32, ptr %27, align 8, !tbaa !5
  %.not83 = icmp eq i32 %28, 0
  br i1 %.not83, label %.critedge, label %.lr.ph77

.lr.ph77:                                         ; preds = %.preheader
  %29 = getelementptr inbounds i8, ptr %0, i64 8
  br label %31

30:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.4, i32 noundef 301, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

.loopexit:                                        ; preds = %31, %38, %40
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %81, %79, %71, %64
  %lpad.loopexit49 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %103, %110, %118, %120
  %lpad.loopexit53 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %157, %155, %147, %140
  %lpad.loopexit56 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %188, %186, %175, %172, %167
  %lpad.loopexit.split-lp57 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

31:                                               ; preds = %.lr.ph77, %47
  %.076 = phi i64 [ 0, %.lr.ph77 ], [ %48, %47 ]
  %32 = load ptr, ptr %1, align 8, !tbaa !19
  %33 = getelementptr i8, ptr %32, i64 -24
  %34 = load i64, ptr %33, align 8
  %35 = getelementptr inbounds i8, ptr %1, i64 %34
  %36 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %35)
          to label %37 unwind label %.loopexit

37:                                               ; preds = %31
  br i1 %36, label %.critedge, label %38

38:                                               ; preds = %37
  %39 = invoke 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)
          to label %40 unwind label %.loopexit

40:                                               ; preds = %38
  %41 = load i64, ptr %29, align 8, !tbaa !21
  %42 = add i64 %41, %39
  store i64 %42, ptr %29, align 8, !tbaa !21
  %43 = load ptr, ptr %2, align 8, !tbaa !19
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %45 = load ptr, ptr %44, align 8
  %46 = invoke i32 %45(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %47 unwind label %.loopexit

47:                                               ; preds = %40
  %48 = add nuw nsw i64 %.076, 1
  %49 = load i32, ptr %27, align 8, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = icmp ult i64 %48, %50
  br i1 %51, label %31, label %.critedge, !llvm.loop !22

52:                                               ; preds = %18
  %53 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %13)
  %54 = call noundef i32 @_ZN8OpenMesh7VectorTIfLi3EE3dimEv()
  %55 = sext i32 %54 to i64
  %56 = icmp eq i64 %53, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %52
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.4, i32 noundef 310, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

58:                                               ; preds = %52
  %59 = getelementptr inbounds i8, ptr %0, i64 16
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %59, i32 noundef 16)
  %61 = getelementptr inbounds i8, ptr %0, i64 24
  %62 = load i32, ptr %61, align 8, !tbaa !5
  %.not82 = icmp eq i32 %62, 0
  br i1 %.not82, label %.critedge, label %.lr.ph72

.lr.ph72:                                         ; preds = %58
  %63 = getelementptr inbounds i8, ptr %0, i64 8
  br label %64

64:                                               ; preds = %.lr.ph72, %86
  %.171 = phi i64 [ 0, %.lr.ph72 ], [ %87, %86 ]
  %65 = load ptr, ptr %1, align 8, !tbaa !19
  %66 = getelementptr i8, ptr %65, i64 -24
  %67 = load i64, ptr %66, align 8
  %68 = getelementptr inbounds i8, ptr %1, i64 %67
  %69 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %68)
          to label %70 unwind label %.loopexit.split-lp.loopexit

70:                                               ; preds = %64
  br i1 %69, label %.critedge, label %71

71:                                               ; preds = %70
  %72 = invoke 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)
          to label %73 unwind label %.loopexit.split-lp.loopexit

73:                                               ; preds = %71
  %74 = load i64, ptr %63, align 8, !tbaa !21
  %75 = add i64 %74, %72
  store i64 %75, ptr %63, align 8, !tbaa !21
  %76 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %59)
  br i1 %76, label %77, label %86

77:                                               ; preds = %73
  %78 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %78, label %79, label %86

79:                                               ; preds = %77
  %80 = trunc nuw i64 %.171 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 noundef %80)
          to label %81 unwind label %.loopexit.split-lp.loopexit

81:                                               ; preds = %79
  %82 = load i32, ptr %10, align 4
  %83 = load ptr, ptr %2, align 8, !tbaa !19
  %84 = getelementptr inbounds i8, ptr %83, i64 72
  %85 = load ptr, ptr %84, align 8
  invoke void %85(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %82, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %86 unwind label %.loopexit.split-lp.loopexit

86:                                               ; preds = %73, %77, %81
  %87 = add nuw nsw i64 %.171, 1
  %88 = load i32, ptr %61, align 8, !tbaa !5
  %89 = zext i32 %88 to i64
  %90 = icmp ult i64 %87, %89
  br i1 %90, label %64, label %.critedge, !llvm.loop !24

91:                                               ; preds = %18
  %92 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %13)
  %93 = call noundef i32 @_ZN8OpenMesh7VectorTIfLi2EE3dimEv()
  %94 = sext i32 %93 to i64
  %95 = icmp eq i64 %92, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.4, i32 noundef 321, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

97:                                               ; preds = %91
  %98 = getelementptr inbounds i8, ptr %0, i64 16
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %98, i32 noundef 64)
  %100 = getelementptr inbounds i8, ptr %0, i64 24
  %101 = load i32, ptr %100, align 8, !tbaa !5
  %.not81 = icmp eq i32 %101, 0
  br i1 %.not81, label %.critedge, label %.lr.ph67

.lr.ph67:                                         ; preds = %97
  %102 = getelementptr inbounds i8, ptr %0, i64 8
  br label %103

103:                                              ; preds = %.lr.ph67, %125
  %.266 = phi i64 [ 0, %.lr.ph67 ], [ %126, %125 ]
  %104 = load ptr, ptr %1, align 8, !tbaa !19
  %105 = getelementptr i8, ptr %104, i64 -24
  %106 = load i64, ptr %105, align 8
  %107 = getelementptr inbounds i8, ptr %1, i64 %106
  %108 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %107)
          to label %109 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

109:                                              ; preds = %103
  br i1 %108, label %.critedge, label %110

110:                                              ; preds = %109
  %111 = invoke noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIfLi2EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %7, i1 noundef zeroext %4)
          to label %112 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

112:                                              ; preds = %110
  %113 = load i64, ptr %102, align 8, !tbaa !21
  %114 = add i64 %113, %111
  store i64 %114, ptr %102, align 8, !tbaa !21
  %115 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %98)
  br i1 %115, label %116, label %125

116:                                              ; preds = %112
  %117 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %117, label %118, label %125

118:                                              ; preds = %116
  %119 = trunc nuw i64 %.266 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef %119)
          to label %120 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

120:                                              ; preds = %118
  %121 = load i32, ptr %11, align 4
  %122 = load ptr, ptr %2, align 8, !tbaa !19
  %123 = getelementptr inbounds i8, ptr %122, i64 112
  %124 = load ptr, ptr %123, align 8
  invoke void %124(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %121, ptr noundef nonnull align 4 dereferenceable(8) %7)
          to label %125 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

125:                                              ; preds = %112, %116, %120
  %126 = add nuw nsw i64 %.266, 1
  %127 = load i32, ptr %100, align 8, !tbaa !5
  %128 = zext i32 %127 to i64
  %129 = icmp ult i64 %126, %128
  br i1 %129, label %103, label %.critedge, !llvm.loop !25

130:                                              ; preds = %18
  %131 = call noundef i64 @_ZN8OpenMesh2IO8OMFormat10dimensionsERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %13)
  %132 = icmp eq i64 %131, 3
  br i1 %132, label %134, label %133

133:                                              ; preds = %130
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 333, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK8OpenMesh2IO10_OMReader_24read_binary_vertex_chunkERSiRNS0_12BaseImporterERNS0_7OptionsEb) #7
  unreachable

134:                                              ; preds = %130
  %135 = getelementptr inbounds i8, ptr %0, i64 16
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh2IO7OptionspLEi(ptr noundef nonnull align 4 dereferenceable(4) %135, i32 noundef 32)
  %137 = getelementptr inbounds i8, ptr %0, i64 24
  %138 = load i32, ptr %137, align 8, !tbaa !5
  %.not = icmp eq i32 %138, 0
  br i1 %.not, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %134
  %139 = getelementptr inbounds i8, ptr %0, i64 8
  br label %140

140:                                              ; preds = %.lr.ph, %162
  %.363 = phi i64 [ 0, %.lr.ph ], [ %163, %162 ]
  %141 = load ptr, ptr %1, align 8, !tbaa !19
  %142 = getelementptr i8, ptr %141, i64 -24
  %143 = load i64, ptr %142, align 8
  %144 = getelementptr inbounds i8, ptr %1, i64 %143
  %145 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %144)
          to label %146 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

146:                                              ; preds = %140
  br i1 %145, label %.critedge, label %147

147:                                              ; preds = %146
  %148 = invoke noundef i64 @_ZN8OpenMesh2IO14vector_restoreINS_7VectorTIhLi3EEEEEmRSiRT_b(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 1 dereferenceable(3) %8, i1 noundef zeroext %4)
          to label %149 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

149:                                              ; preds = %147
  %150 = load i64, ptr %139, align 8, !tbaa !21
  %151 = add i64 %150, %148
  store i64 %151, ptr %139, align 8, !tbaa !21
  %152 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %135)
  br i1 %152, label %153, label %162

153:                                              ; preds = %149
  %154 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %154, label %155, label %162

155:                                              ; preds = %153
  %156 = trunc nuw i64 %.363 to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef %156)
          to label %157 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

157:                                              ; preds = %155
  %158 = load i32, ptr %12, align 4
  %159 = load ptr, ptr %2, align 8, !tbaa !19
  %160 = getelementptr inbounds i8, ptr %159, i64 80
  %161 = load ptr, ptr %160, align 8
  invoke void %161(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %158, ptr noundef nonnull align 1 dereferenceable(3) %8)
          to label %162 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

162:                                              ; preds = %149, %153, %157
  %163 = add nuw nsw i64 %.363, 1
  %164 = load i32, ptr %137, align 8, !tbaa !5
  %165 = zext i32 %164 to i64
  %166 = icmp ult i64 %163, %165
  br i1 %166, label %140, label %.critedge, !llvm.loop !26

167:                                              ; preds = %18
  %168 = load ptr, ptr %2, align 8, !tbaa !19
  %169 = getelementptr inbounds i8, ptr %168, i64 224
  %170 = load ptr, ptr %169, align 8
  %171 = invoke noundef ptr %170(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %172 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

172:                                              ; preds = %167
  %173 = getelementptr inbounds i8, ptr %0, i64 40
  %174 = invoke noundef ptr @_ZN8OpenMesh10BaseKernel10_get_vpropERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(168) %171, ptr noundef nonnull align 8 dereferenceable(32) %173)
          to label %175 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

175:                                              ; preds = %172
  %176 = getelementptr inbounds i8, ptr %0, i64 24
  %177 = load i32, ptr %176, align 8, !tbaa !5
  %178 = zext i32 %177 to i64
  %179 = invoke 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 %174, i64 noundef %178, i1 noundef zeroext %4)
          to label %180 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

180:                                              ; preds = %175
  %181 = getelementptr inbounds i8, ptr %0, i64 8
  %182 = load i64, ptr %181, align 8, !tbaa !21
  %183 = add i64 %182, %179
  store i64 %183, ptr %181, align 8, !tbaa !21
  %184 = load i32, ptr %176, align 8, !tbaa !5
  %185 = zext i32 %184 to i64
  br label %.critedge

186:                                              ; preds = %18
  %187 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %188 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

188:                                              ; preds = %186
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef nonnull @.str.8)
          to label %190 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

190:                                              ; preds = %188
  %191 = getelementptr inbounds i8, ptr %0, i64 24
  %192 = load i32, ptr %191, align 8, !tbaa !5
  %193 = invoke noundef i64 @_ZN8OpenMesh2IO8OMFormat11vector_sizeERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %194 unwind label %206

194:                                              ; preds = %190
  %195 = zext i32 %192 to i64
  %196 = mul i64 %193, %195
  %197 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEl(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %196)
          to label %198 unwind label %206

198:                                              ; preds = %194
  %199 = getelementptr inbounds i8, ptr %0, i64 8
  %200 = load i64, ptr %199, align 8, !tbaa !21
  %201 = add i64 %200, %196
  store i64 %201, ptr %199, align 8, !tbaa !21
  br label %.critedge

.critedge:                                        ; preds = %162, %146, %125, %109, %86, %70, %47, %37, %134, %97, %58, %.preheader, %198, %180
  %.4 = phi i64 [ 0, %198 ], [ %185, %180 ], [ 0, %.preheader ], [ 0, %58 ], [ 0, %97 ], [ 0, %134 ], [ %48, %47 ], [ %.076, %37 ], [ %87, %86 ], [ %.171, %70 ], [ %126, %125 ], [ %.266, %109 ], [ %163, %162 ], [ %.363, %146 ]
  %202 = getelementptr inbounds i8, ptr %0, i64 24
  %203 = load i32, ptr %202, align 8, !tbaa !5
  %204 = zext i32 %203 to i64
  %205 = icmp eq i64 %.4, %204
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  ret i1 %205

206:                                              ; preds = %194, %190
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit, %206
  %.pn = phi { ptr, i32 } [ %207, %206 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit49, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit53, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit56, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp57, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  resume { ptr, i32 } %.pn
}

; 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 @_ZN8OpenMesh7VectorTIfLi2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8OpenMesh7VectorTIfLi2EE3dimEv() local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress 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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN8OpenMesh10BaseKernel10_get_vpropERKNSt7__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 @_ZN8OpenMesh2IO8OMFormat11vector_sizeERKNS1_5Chunk6HeaderE(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 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, !12, i64 24}
!6 = !{!"_ZTSN8OpenMesh2IO10_OMReader_E", !7, i64 0, !8, i64 8, !11, i64 16, !13, i64 20, !14, i64 36, !15, i64 40}
!7 = !{!"_ZTSN8OpenMesh2IO10BaseReaderE"}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN8OpenMesh2IO7OptionsE", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"_ZTSN8OpenMesh2IO8OMFormat6HeaderE", !9, i64 0, !9, i64 2, !9, i64 3, !12, i64 4, !12, i64 8, !12, i64 12}
!14 = !{!"_ZTSN8OpenMesh2IO8OMFormat5Chunk6HeaderE", !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 2}
!15 = !{!"_ZTSN8OpenMesh2IO8OMFormat5Chunk12PropertyNameE", !16, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !8, i64 8, !9, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !18, i64 0}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !10, i64 0}
!21 = !{!6, !8, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}


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