; LLVM IR from bldeng/AASolver :: AndersonOpt/external/OpenMesh/Core/IO/writer (PLYWriter)

; 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.28" = type { %"struct.std::array.29" }
%"struct.std::array.29" = type { [3 x i32] }
%"class.OpenMesh::VectorT.30" = type { %"struct.std::array.31" }
%"struct.std::array.31" = type { [4 x i32] }
%"class.OpenMesh::VectorT.32" = type { %"struct.std::array.33" }
%"struct.std::array.33" = type { [4 x float] }
%"class.OpenMesh::VectorT.34" = type { %"struct.std::array.35" }
%"struct.std::array.35" = type { [2 x float] }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }

@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: 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) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO11_PLYWriter_11write_asciiERSoRNS0_12BaseExporterENS0_7OptionsE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.OpenMesh::VectorT", align 4
  %13 = alloca %"class.OpenMesh::VectorT", align 4
  %14 = alloca %"class.OpenMesh::VectorT.28", align 4
  %15 = alloca %"class.OpenMesh::VectorT.30", align 4
  %16 = alloca %"class.OpenMesh::VectorT", align 4
  %17 = alloca %"class.OpenMesh::VectorT.32", align 4
  %18 = alloca %"class.OpenMesh::VectorT.34", align 4
  %19 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %20 = alloca %"class.std::vector.36", align 8
  %21 = alloca %"class.std::vector.18", align 8
  %22 = alloca %"class.std::vector.18", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %26 = alloca %"class.OpenMesh::VectorT", align 4
  %27 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %28 = alloca { <2 x float>, float }, align 8
  %29 = alloca %"class.OpenMesh::VectorT", align 4
  %30 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %31 = alloca { <2 x float>, float }, align 8
  %32 = alloca %"class.OpenMesh::VectorT.34", align 4
  %33 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %34 = alloca %"class.OpenMesh::VectorT.32", align 4
  %35 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %36 = alloca %"class.OpenMesh::VectorT.30", align 4
  %37 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %38 = alloca %"class.OpenMesh::VectorT", align 4
  %39 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %40 = alloca { <2 x float>, float }, align 8
  %41 = alloca %"class.OpenMesh::VectorT.28", align 4
  %42 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %43 = alloca { i64, i32 }, align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %46 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %47 = alloca i64, align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  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 12, ptr %13) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #8
  call void @_ZN8OpenMesh7VectorTIjLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  call void @_ZN8OpenMesh7VectorTIjLi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  call void @_ZN8OpenMesh7VectorTIfLi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  call void @_ZN8OpenMesh7VectorTIfLi2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  call void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK8OpenMesh2IO11_PLYWriter_12write_headerERSoRNS0_12BaseExporterERNS0_7OptionsERSt6vectorINS1_14CustomPropertyESaIS8_EESB_(ptr noundef nonnull align 8 dereferenceable(112) %50, ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %53 unwind label %60

53:                                               ; preds = %4
  %54 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14color_is_floatEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %55 unwind label %60

55:                                               ; preds = %53
  br i1 %54, label %56, label %64

56:                                               ; preds = %55
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef @_ZSt5fixedRSt8ios_base)
          to label %59 unwind label %60

59:                                               ; preds = %56
  br label %64

60:                                               ; preds = %396, %349, %341, %338, %326, %319, %290, %285, %269, %264, %252, %244, %235, %219, %210, %198, %195, %192, %184, %182, %180, %177, %175, %170, %158, %142, %140, %138, %135, %133, %131, %128, %126, %121, %109, %106, %104, %102, %99, %97, %95, %92, %87, %64, %56, %53, %4
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %23, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %24, align 4
  br label %404

64:                                               ; preds = %59, %55
  store i32 0, ptr %9, align 4, !tbaa !9
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = getelementptr inbounds ptr, ptr %66, i64 26
  %68 = load ptr, ptr %67, align 8
  %69 = invoke noundef i64 %68(ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %70 unwind label %60

70:                                               ; preds = %64
  %71 = trunc i64 %69 to i32
  store i32 %71, ptr %10, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %323, %70
  %73 = load i32, ptr %9, align 4, !tbaa !9
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = icmp ult i32 %73, %74
  br i1 %75, label %76, label %326

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %77 = load i32, ptr %9, align 4, !tbaa !9
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %77)
          to label %78 unwind label %146

78:                                               ; preds = %76
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %25, i64 4, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #8
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %19, i64 4, i1 false)
  %80 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %27, i32 0, i32 0
  %81 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 4
  %83 = load ptr, ptr %79, align 8, !tbaa !11
  %84 = getelementptr inbounds ptr, ptr %83, i64 2
  %85 = load ptr, ptr %84, align 8
  %86 = invoke { <2 x float>, float } %85(ptr noundef nonnull align 8 dereferenceable(8) %79, i32 %82)
          to label %87 unwind label %150

87:                                               ; preds = %78
  %88 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %26, i32 0, i32 0
  %89 = getelementptr inbounds %"struct.std::array", ptr %88, i32 0, i32 0
  store { <2 x float>, float } %86, ptr %28, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 8 %28, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %26, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %12, i64 noundef 0)
          to label %92 unwind label %60

92:                                               ; preds = %87
  %93 = load float, ptr %91, align 4, !tbaa !15
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %90, float noundef %93)
          to label %95 unwind label %60

95:                                               ; preds = %92
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef @.str.14)
          to label %97 unwind label %60

97:                                               ; preds = %95
  %98 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %12, i64 noundef 1)
          to label %99 unwind label %60

99:                                               ; preds = %97
  %100 = load float, ptr %98, align 4, !tbaa !15
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %96, float noundef %100)
          to label %102 unwind label %60

102:                                              ; preds = %99
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @.str.14)
          to label %104 unwind label %60

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %12, i64 noundef 2)
          to label %106 unwind label %60

106:                                              ; preds = %104
  %107 = load float, ptr %105, align 4, !tbaa !15
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %103, float noundef %107)
          to label %109 unwind label %60

109:                                              ; preds = %106
  %110 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %111 unwind label %60

111:                                              ; preds = %109
  br i1 %110, label %112, label %158

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #8
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %19, i64 4, i1 false)
  %114 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %30, i32 0, i32 0
  %115 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 4
  %117 = load ptr, ptr %113, align 8, !tbaa !11
  %118 = getelementptr inbounds ptr, ptr %117, i64 3
  %119 = load ptr, ptr %118, align 8
  %120 = invoke { <2 x float>, float } %119(ptr noundef nonnull align 8 dereferenceable(8) %113, i32 %116)
          to label %121 unwind label %154

121:                                              ; preds = %112
  %122 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %29, i32 0, i32 0
  %123 = getelementptr inbounds %"struct.std::array", ptr %122, i32 0, i32 0
  store { <2 x float>, float } %120, ptr %31, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %123, ptr align 8 %31, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %29, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef @.str.14)
          to label %126 unwind label %60

126:                                              ; preds = %121
  %127 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %13, i64 noundef 0)
          to label %128 unwind label %60

128:                                              ; preds = %126
  %129 = load float, ptr %127, align 4, !tbaa !15
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %125, float noundef %129)
          to label %131 unwind label %60

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef @.str.14)
          to label %133 unwind label %60

133:                                              ; preds = %131
  %134 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %13, i64 noundef 1)
          to label %135 unwind label %60

135:                                              ; preds = %133
  %136 = load float, ptr %134, align 4, !tbaa !15
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %132, float noundef %136)
          to label %138 unwind label %60

138:                                              ; preds = %135
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef @.str.14)
          to label %140 unwind label %60

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %13, i64 noundef 2)
          to label %142 unwind label %60

142:                                              ; preds = %140
  %143 = load float, ptr %141, align 4, !tbaa !15
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %139, float noundef %143)
          to label %145 unwind label %60

145:                                              ; preds = %142
  br label %158

146:                                              ; preds = %76
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %23, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %404

150:                                              ; preds = %78
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %23, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  br label %404

154:                                              ; preds = %112
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %23, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  br label %404

158:                                              ; preds = %145, %111
  %159 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %160 unwind label %60

160:                                              ; preds = %158
  br i1 %159, label %161, label %192

161:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %19, i64 4, i1 false)
  %163 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %33, i32 0, i32 0
  %164 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %163, i32 0, i32 0
  %165 = load i32, ptr %164, align 4
  %166 = load ptr, ptr %162, align 8, !tbaa !11
  %167 = getelementptr inbounds ptr, ptr %166, i64 10
  %168 = load ptr, ptr %167, align 8
  %169 = invoke <2 x float> %168(ptr noundef nonnull align 8 dereferenceable(8) %162, i32 %165)
          to label %170 unwind label %188

170:                                              ; preds = %161
  %171 = getelementptr inbounds %"class.OpenMesh::VectorT.34", ptr %32, i32 0, i32 0
  %172 = getelementptr inbounds %"struct.std::array.35", ptr %171, i32 0, i32 0
  store <2 x float> %169, ptr %172, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef @.str.14)
          to label %175 unwind label %60

175:                                              ; preds = %170
  %176 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %18, i64 noundef 0)
          to label %177 unwind label %60

177:                                              ; preds = %175
  %178 = load float, ptr %176, align 4, !tbaa !15
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %174, float noundef %178)
          to label %180 unwind label %60

180:                                              ; preds = %177
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef @.str.14)
          to label %182 unwind label %60

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %18, i64 noundef 1)
          to label %184 unwind label %60

184:                                              ; preds = %182
  %185 = load float, ptr %183, align 4, !tbaa !15
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %181, float noundef %185)
          to label %187 unwind label %60

187:                                              ; preds = %184
  br label %192

188:                                              ; preds = %161
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %23, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %404

192:                                              ; preds = %187, %160
  %193 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %194 unwind label %60

194:                                              ; preds = %192
  br i1 %193, label %195, label %299

195:                                              ; preds = %194
  %196 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15color_has_alphaEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %197 unwind label %60

197:                                              ; preds = %195
  br i1 %196, label %198, label %252

198:                                              ; preds = %197
  %199 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14color_is_floatEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %200 unwind label %60

200:                                              ; preds = %198
  br i1 %199, label %201, label %226

201:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %19, i64 4, i1 false)
  %203 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %35, i32 0, i32 0
  %204 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %203, i32 0, i32 0
  %205 = load i32, ptr %204, align 4
  %206 = load ptr, ptr %202, align 8, !tbaa !11
  %207 = getelementptr inbounds ptr, ptr %206, i64 9
  %208 = load ptr, ptr %207, align 8
  %209 = invoke { <2 x float>, <2 x float> } %208(ptr noundef nonnull align 8 dereferenceable(8) %202, i32 %205)
          to label %210 unwind label %222

210:                                              ; preds = %201
  %211 = getelementptr inbounds %"class.OpenMesh::VectorT.32", ptr %34, i32 0, i32 0
  %212 = getelementptr inbounds %"struct.std::array.33", ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %212, i32 0, i32 0
  %214 = extractvalue { <2 x float>, <2 x float> } %209, 0
  store <2 x float> %214, ptr %213, align 4
  %215 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %212, i32 0, i32 1
  %216 = extractvalue { <2 x float>, <2 x float> } %209, 1
  store <2 x float> %216, ptr %215, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %34, i64 16, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %217, ptr noundef @.str.14)
          to label %219 unwind label %60

219:                                              ; preds = %210
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIfLi4EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef nonnull align 4 dereferenceable(16) %17)
          to label %221 unwind label %60

221:                                              ; preds = %219
  br label %251

222:                                              ; preds = %201
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %23, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  br label %404

226:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #8
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %19, i64 4, i1 false)
  %228 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %37, i32 0, i32 0
  %229 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 4
  %231 = load ptr, ptr %227, align 8, !tbaa !11
  %232 = getelementptr inbounds ptr, ptr %231, i64 7
  %233 = load ptr, ptr %232, align 8
  %234 = invoke { i64, i64 } %233(ptr noundef nonnull align 8 dereferenceable(8) %227, i32 %230)
          to label %235 unwind label %247

235:                                              ; preds = %226
  %236 = getelementptr inbounds %"class.OpenMesh::VectorT.30", ptr %36, i32 0, i32 0
  %237 = getelementptr inbounds %"struct.std::array.31", ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds { i64, i64 }, ptr %237, i32 0, i32 0
  %239 = extractvalue { i64, i64 } %234, 0
  store i64 %239, ptr %238, align 4
  %240 = getelementptr inbounds { i64, i64 }, ptr %237, i32 0, i32 1
  %241 = extractvalue { i64, i64 } %234, 1
  store i64 %241, ptr %240, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %36, i64 16, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #8
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %242, ptr noundef @.str.14)
          to label %244 unwind label %60

244:                                              ; preds = %235
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIjLi4EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull align 4 dereferenceable(16) %15)
          to label %246 unwind label %60

246:                                              ; preds = %244
  br label %251

247:                                              ; preds = %226
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %23, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #8
  br label %404

251:                                              ; preds = %246, %221
  br label %298

252:                                              ; preds = %197
  %253 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14color_is_floatEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %254 unwind label %60

254:                                              ; preds = %252
  br i1 %253, label %255, label %276

255:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #8
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %19, i64 4, i1 false)
  %257 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %39, i32 0, i32 0
  %258 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %257, i32 0, i32 0
  %259 = load i32, ptr %258, align 4
  %260 = load ptr, ptr %256, align 8, !tbaa !11
  %261 = getelementptr inbounds ptr, ptr %260, i64 8
  %262 = load ptr, ptr %261, align 8
  %263 = invoke { <2 x float>, float } %262(ptr noundef nonnull align 8 dereferenceable(8) %256, i32 %259)
          to label %264 unwind label %272

264:                                              ; preds = %255
  %265 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %38, i32 0, i32 0
  %266 = getelementptr inbounds %"struct.std::array", ptr %265, i32 0, i32 0
  store { <2 x float>, float } %263, ptr %40, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %266, ptr align 8 %40, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %38, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #8
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %267, ptr noundef @.str.14)
          to label %269 unwind label %60

269:                                              ; preds = %264
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIfLi3EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %271 unwind label %60

271:                                              ; preds = %269
  br label %297

272:                                              ; preds = %255
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %23, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #8
  br label %404

276:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #8
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %19, i64 4, i1 false)
  %278 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %42, i32 0, i32 0
  %279 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %278, i32 0, i32 0
  %280 = load i32, ptr %279, align 4
  %281 = load ptr, ptr %277, align 8, !tbaa !11
  %282 = getelementptr inbounds ptr, ptr %281, i64 6
  %283 = load ptr, ptr %282, align 8
  %284 = invoke { i64, i32 } %283(ptr noundef nonnull align 8 dereferenceable(8) %277, i32 %280)
          to label %285 unwind label %293

285:                                              ; preds = %276
  %286 = getelementptr inbounds %"class.OpenMesh::VectorT.28", ptr %41, i32 0, i32 0
  %287 = getelementptr inbounds %"struct.std::array.29", ptr %286, i32 0, i32 0
  store { i64, i32 } %284, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %287, ptr align 8 %43, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %41, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %288, ptr noundef @.str.14)
          to label %290 unwind label %60

290:                                              ; preds = %285
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIjLi3EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %289, ptr noundef nonnull align 4 dereferenceable(12) %14)
          to label %292 unwind label %60

292:                                              ; preds = %290
  br label %297

293:                                              ; preds = %276
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %23, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  br label %404

297:                                              ; preds = %292, %271
  br label %298

298:                                              ; preds = %297, %251
  br label %299

299:                                              ; preds = %298, %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %300 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %301 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %44, i32 0, i32 0
  store ptr %300, ptr %301, align 8
  br label %302

302:                                              ; preds = %313, %299
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %303 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %304 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %45, i32 0, i32 0
  store ptr %303, ptr %304, align 8
  %305 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br i1 %305, label %307, label %306

306:                                              ; preds = %302
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %319

307:                                              ; preds = %302
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %310 = load i32, ptr %9, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  invoke void @_ZNK8OpenMesh2IO11_PLYWriter_16write_customPropILb0EEEvRSoRKNS1_14CustomPropertyEm(ptr noundef nonnull align 8 dereferenceable(112) %50, ptr noundef nonnull align 8 dereferenceable(8) %308, ptr noundef nonnull align 8 dereferenceable(16) %309, i64 noundef %311)
          to label %312 unwind label %315

312:                                              ; preds = %307
  br label %313

313:                                              ; preds = %312
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  br label %302, !llvm.loop !19

315:                                              ; preds = %307
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %23, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %404

319:                                              ; preds = %306
  %320 = load ptr, ptr %6, align 8, !tbaa !5
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef @.str.15)
          to label %322 unwind label %60

322:                                              ; preds = %319
  br label %323

323:                                              ; preds = %322
  %324 = load i32, ptr %9, align 4, !tbaa !9
  %325 = add i32 %324, 1
  store i32 %325, ptr %9, align 4, !tbaa !9
  br label %72, !llvm.loop !21

326:                                              ; preds = %72
  store i32 0, ptr %9, align 4, !tbaa !9
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = load ptr, ptr %327, align 8, !tbaa !11
  %329 = getelementptr inbounds ptr, ptr %328, i64 27
  %330 = load ptr, ptr %329, align 8
  %331 = invoke noundef i64 %330(ptr noundef nonnull align 8 dereferenceable(8) %327)
          to label %332 unwind label %60

332:                                              ; preds = %326
  %333 = trunc i64 %331 to i32
  store i32 %333, ptr %11, align 4, !tbaa !9
  br label %334

334:                                              ; preds = %400, %332
  %335 = load i32, ptr %9, align 4, !tbaa !9
  %336 = load i32, ptr %11, align 4, !tbaa !9
  %337 = icmp ult i32 %335, %336
  br i1 %337, label %338, label %403

338:                                              ; preds = %334
  %339 = load ptr, ptr %7, align 8, !tbaa !5
  %340 = load i32, ptr %9, align 4, !tbaa !9
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %46, i32 noundef %340)
          to label %341 unwind label %60

341:                                              ; preds = %338
  %342 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %46, i32 0, i32 0
  %343 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %342, i32 0, i32 0
  %344 = load i32, ptr %343, align 4
  %345 = load ptr, ptr %339, align 8, !tbaa !11
  %346 = getelementptr inbounds ptr, ptr %345, i64 11
  %347 = load ptr, ptr %346, align 8
  %348 = invoke noundef i32 %347(ptr noundef nonnull align 8 dereferenceable(8) %339, i32 %344, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %349 unwind label %60

349:                                              ; preds = %341
  store i32 %348, ptr %10, align 4, !tbaa !9
  %350 = load ptr, ptr %6, align 8, !tbaa !5
  %351 = load i32, ptr %10, align 4, !tbaa !9
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %350, i32 noundef %351)
          to label %353 unwind label %60

353:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  store i64 0, ptr %47, align 8, !tbaa !22
  br label %354

354:                                              ; preds = %369, %353
  %355 = load i64, ptr %47, align 8, !tbaa !22
  %356 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %357 = icmp ult i64 %355, %356
  br i1 %357, label %359, label %358

358:                                              ; preds = %354
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %376

359:                                              ; preds = %354
  %360 = load ptr, ptr %6, align 8, !tbaa !5
  %361 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %360, ptr noundef @.str.14)
          to label %362 unwind label %372

362:                                              ; preds = %359
  %363 = load i64, ptr %47, align 8, !tbaa !22
  %364 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %363) #8
  %365 = invoke noundef i32 @_ZNK8OpenMesh10BaseHandle3idxEv(ptr noundef nonnull align 4 dereferenceable(4) %364)
          to label %366 unwind label %372

366:                                              ; preds = %362
  %367 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %361, i32 noundef %365)
          to label %368 unwind label %372

368:                                              ; preds = %366
  br label %369

369:                                              ; preds = %368
  %370 = load i64, ptr %47, align 8, !tbaa !22
  %371 = add i64 %370, 1
  store i64 %371, ptr %47, align 8, !tbaa !22
  br label %354, !llvm.loop !24

372:                                              ; preds = %366, %362, %359
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %23, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %404

376:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %377 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %378 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %48, i32 0, i32 0
  store ptr %377, ptr %378, align 8
  br label %379

379:                                              ; preds = %390, %376
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %380 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %381 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %49, i32 0, i32 0
  store ptr %380, ptr %381, align 8
  %382 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br i1 %382, label %384, label %383

383:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %396

384:                                              ; preds = %379
  %385 = load ptr, ptr %6, align 8, !tbaa !5
  %386 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  %387 = load i32, ptr %9, align 4, !tbaa !9
  %388 = zext i32 %387 to i64
  invoke void @_ZNK8OpenMesh2IO11_PLYWriter_16write_customPropILb0EEEvRSoRKNS1_14CustomPropertyEm(ptr noundef nonnull align 8 dereferenceable(112) %50, ptr noundef nonnull align 8 dereferenceable(8) %385, ptr noundef nonnull align 8 dereferenceable(16) %386, i64 noundef %388)
          to label %389 unwind label %392

389:                                              ; preds = %384
  br label %390

390:                                              ; preds = %389
  %391 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %379, !llvm.loop !25

392:                                              ; preds = %384
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %23, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %404

396:                                              ; preds = %383
  %397 = load ptr, ptr %6, align 8, !tbaa !5
  %398 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %397, ptr noundef @.str.15)
          to label %399 unwind label %60

399:                                              ; preds = %396
  br label %400

400:                                              ; preds = %399
  %401 = load i32, ptr %9, align 4, !tbaa !9
  %402 = add i32 %401, 1
  store i32 %402, ptr %9, align 4, !tbaa !9
  br label %334, !llvm.loop !26

403:                                              ; preds = %334
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  ret i1 true

404:                                              ; preds = %392, %372, %315, %293, %272, %247, %222, %188, %154, %150, %146, %60
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %405

405:                                              ; preds = %404
  %406 = load ptr, ptr %23, align 8
  %407 = load i32, ptr %24, align 4
  %408 = insertvalue { ptr, i32 } poison, ptr %406, 0
  %409 = insertvalue { ptr, i32 } %408, i32 %407, 1
  resume { ptr, i32 } %409
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIfLi4EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIjLi4EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) #4

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8OpenMesh2IO11_PLYWriter_16write_customPropILb0EEEvRSoRKNS1_14CustomPropertyEm(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #4 align 2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #7

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

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

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

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{i64 0, i64 12, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{i64 0, i64 8, !14}
!18 = !{i64 0, i64 16, !14}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20}


; 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.28" = type { %"struct.std::array.29" }
%"struct.std::array.29" = type { [3 x i32] }
%"class.OpenMesh::VectorT.30" = type { %"struct.std::array.31" }
%"struct.std::array.31" = type { [4 x i32] }
%"class.OpenMesh::VectorT.32" = type { %"struct.std::array.33" }
%"struct.std::array.33" = type { [4 x float] }
%"class.OpenMesh::VectorT.34" = type { %"struct.std::array.35" }
%"struct.std::array.35" = type { [2 x float] }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::IO::_PLYWriter_::CustomProperty, std::allocator<OpenMesh::IO::_PLYWriter_::CustomProperty>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }

@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO11_PLYWriter_11write_asciiERSoRNS0_12BaseExporterENS0_7OptionsE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.OpenMesh::VectorT", align 8
  %6 = alloca %"class.OpenMesh::VectorT", align 8
  %7 = alloca %"class.OpenMesh::VectorT.28", align 8
  %8 = alloca %"class.OpenMesh::VectorT.30", align 8
  %9 = alloca %"class.OpenMesh::VectorT", align 8
  %10 = alloca %"class.OpenMesh::VectorT.32", align 8
  %11 = alloca %"class.OpenMesh::VectorT.34", align 8
  %12 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %13 = alloca %"class.std::vector.36", align 8
  %14 = alloca %"class.std::vector.18", align 8
  %15 = alloca %"class.std::vector.18", align 8
  %16 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %19 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #7
  call void @_ZN8OpenMesh7VectorTIjLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8OpenMesh7VectorTIjLi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN8OpenMesh7VectorTIfLi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN8OpenMesh7VectorTIfLi2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  call void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  invoke void @_ZNK8OpenMesh2IO11_PLYWriter_12write_headerERSoRNS0_12BaseExporterERNS0_7OptionsERSt6vectorINS1_14CustomPropertyESaIS8_EESB_(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %22 unwind label %.loopexit.split-lp.loopexit.split-lp

22:                                               ; preds = %4
  %23 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14color_is_floatEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %23, label %24, label %26

24:                                               ; preds = %22
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
          to label %26 unwind label %.loopexit.split-lp.loopexit.split-lp

.loopexit:                                        ; preds = %.lr.ph92, %186, %._crit_edge89
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %._crit_edge, %157, %155, %147, %145, %136, %132, %124, %120, %103, %101, %97, %95, %78, %76, %72, %70, %66, %64, %53, %51, %47, %45, %41
  %lpad.loopexit77 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %._crit_edge83, %26, %24, %4
  %lpad.loopexit.split-lp78 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

26:                                               ; preds = %24, %22
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 208
  %29 = load ptr, ptr %28, align 8
  %30 = invoke noundef i64 %29(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %31 unwind label %.loopexit.split-lp.loopexit.split-lp

31:                                               ; preds = %26
  %32 = and i64 %30, 4294967295
  %.not = icmp eq i64 %32, 0
  br i1 %.not, label %._crit_edge83, label %.lr.ph82

.lr.ph82:                                         ; preds = %31
  %.sroa.533.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.526.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.511.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %.sroa.514.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.517.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %wide.trip.count = and i64 %30, 4294967295
  br label %33

33:                                               ; preds = %.lr.ph82, %173
  %indvars.iv = phi i64 [ 0, %.lr.ph82 ], [ %indvars.iv.next, %173 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  %34 = trunc nuw i64 %indvars.iv to i32
  invoke void @_ZN8OpenMesh12VertexHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %16, i32 noundef %34)
          to label %35 unwind label %82

35:                                               ; preds = %33
  %36 = load i32, ptr %16, align 4
  store i32 %36, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %39 = load ptr, ptr %38, align 8
  %40 = invoke { <2 x float>, float } %39(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %36)
          to label %41 unwind label %84

41:                                               ; preds = %35
  %.fca.0.extract27 = extractvalue { <2 x float>, float } %40, 0
  %.fca.1.extract28 = extractvalue { <2 x float>, float } %40, 1
  store <2 x float> %.fca.0.extract27, ptr %5, align 8
  store float %.fca.1.extract28, ptr %.sroa.533.0..sroa_idx, align 8, !tbaa !8
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %5, i64 noundef 0)
  %43 = load float, ptr %42, align 4, !tbaa !10
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %1, float noundef %43)
          to label %45 unwind label %.loopexit.split-lp.loopexit

45:                                               ; preds = %41
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @.str.14)
          to label %47 unwind label %.loopexit.split-lp.loopexit

47:                                               ; preds = %45
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %5, i64 noundef 1)
  %49 = load float, ptr %48, align 4, !tbaa !10
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %46, float noundef %49)
          to label %51 unwind label %.loopexit.split-lp.loopexit

51:                                               ; preds = %47
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.14)
          to label %53 unwind label %.loopexit.split-lp.loopexit

53:                                               ; preds = %51
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %5, i64 noundef 2)
  %55 = load float, ptr %54, align 4, !tbaa !10
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %52, float noundef %55)
          to label %57 unwind label %.loopexit.split-lp.loopexit

57:                                               ; preds = %53
  %58 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options17vertex_has_normalEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %58, label %59, label %88

59:                                               ; preds = %57
  %.sroa.024.0.copyload = load i32, ptr %12, align 4
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 24
  %62 = load ptr, ptr %61, align 8
  %63 = invoke { <2 x float>, float } %62(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.024.0.copyload)
          to label %64 unwind label %86

64:                                               ; preds = %59
  %.fca.0.extract20 = extractvalue { <2 x float>, float } %63, 0
  %.fca.1.extract21 = extractvalue { <2 x float>, float } %63, 1
  store <2 x float> %.fca.0.extract20, ptr %6, align 8
  store float %.fca.1.extract21, ptr %.sroa.526.0..sroa_idx, align 8, !tbaa !8
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %66 unwind label %.loopexit.split-lp.loopexit

66:                                               ; preds = %64
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 0)
  %68 = load float, ptr %67, align 4, !tbaa !10
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %65, float noundef %68)
          to label %70 unwind label %.loopexit.split-lp.loopexit

70:                                               ; preds = %66
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @.str.14)
          to label %72 unwind label %.loopexit.split-lp.loopexit

72:                                               ; preds = %70
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 1)
  %74 = load float, ptr %73, align 4, !tbaa !10
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %71, float noundef %74)
          to label %76 unwind label %.loopexit.split-lp.loopexit

76:                                               ; preds = %72
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull @.str.14)
          to label %78 unwind label %.loopexit.split-lp.loopexit

78:                                               ; preds = %76
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 2)
  %80 = load float, ptr %79, align 4, !tbaa !10
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %77, float noundef %80)
          to label %88 unwind label %.loopexit.split-lp.loopexit

82:                                               ; preds = %33
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %.loopexit.split-lp

84:                                               ; preds = %35
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

86:                                               ; preds = %59
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

88:                                               ; preds = %78, %57
  %89 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options19vertex_has_texcoordEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %89, label %90, label %109

90:                                               ; preds = %88
  %.sroa.018.0.copyload = load i32, ptr %12, align 4
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 80
  %93 = load ptr, ptr %92, align 8
  %94 = invoke <2 x float> %93(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.018.0.copyload)
          to label %95 unwind label %107

95:                                               ; preds = %90
  store <2 x float> %94, ptr %11, align 8, !tbaa !8
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %97 unwind label %.loopexit.split-lp.loopexit

97:                                               ; preds = %95
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %11, i64 noundef 0)
  %99 = load float, ptr %98, align 4, !tbaa !10
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %96, float noundef %99)
          to label %101 unwind label %.loopexit.split-lp.loopexit

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

103:                                              ; preds = %101
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %11, i64 noundef 1)
  %105 = load float, ptr %104, align 4, !tbaa !10
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %102, float noundef %105)
          to label %109 unwind label %.loopexit.split-lp.loopexit

107:                                              ; preds = %90
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

109:                                              ; preds = %103, %88
  %110 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options16vertex_has_colorEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %110, label %111, label %161

111:                                              ; preds = %109
  %112 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options15color_has_alphaEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  %113 = call noundef zeroext i1 @_ZNK8OpenMesh2IO7Options14color_is_floatEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  %.sroa.015.0.copyload = load i32, ptr %12, align 4
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  br i1 %112, label %115, label %140

115:                                              ; preds = %111
  br i1 %113, label %116, label %128

116:                                              ; preds = %115
  %117 = getelementptr inbounds i8, ptr %114, i64 72
  %118 = load ptr, ptr %117, align 8
  %119 = invoke { <2 x float>, <2 x float> } %118(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.015.0.copyload)
          to label %120 unwind label %126

120:                                              ; preds = %116
  %121 = extractvalue { <2 x float>, <2 x float> } %119, 0
  %122 = extractvalue { <2 x float>, <2 x float> } %119, 1
  store <2 x float> %121, ptr %10, align 8
  store <2 x float> %122, ptr %.sroa.517.0..sroa_idx, align 8, !tbaa !8
  %123 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %124 unwind label %.loopexit.split-lp.loopexit

124:                                              ; preds = %120
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIfLi4EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull align 4 dereferenceable(16) %10)
          to label %161 unwind label %.loopexit.split-lp.loopexit

126:                                              ; preds = %116
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

128:                                              ; preds = %115
  %129 = getelementptr inbounds i8, ptr %114, i64 56
  %130 = load ptr, ptr %129, align 8
  %131 = invoke { i64, i64 } %130(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.015.0.copyload)
          to label %132 unwind label %138

132:                                              ; preds = %128
  %133 = extractvalue { i64, i64 } %131, 0
  %134 = extractvalue { i64, i64 } %131, 1
  store i64 %133, ptr %8, align 8
  store i64 %134, ptr %.sroa.514.0..sroa_idx, align 8, !tbaa !8
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %136 unwind label %.loopexit.split-lp.loopexit

136:                                              ; preds = %132
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIjLi4EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull align 4 dereferenceable(16) %8)
          to label %161 unwind label %.loopexit.split-lp.loopexit

138:                                              ; preds = %128
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

140:                                              ; preds = %111
  br i1 %113, label %141, label %151

141:                                              ; preds = %140
  %142 = getelementptr inbounds i8, ptr %114, i64 64
  %143 = load ptr, ptr %142, align 8
  %144 = invoke { <2 x float>, float } %143(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.015.0.copyload)
          to label %145 unwind label %149

145:                                              ; preds = %141
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %144, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %144, 1
  store <2 x float> %.fca.0.extract5, ptr %9, align 8
  store float %.fca.1.extract6, ptr %.sroa.511.0..sroa_idx, align 8, !tbaa !8
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %147 unwind label %.loopexit.split-lp.loopexit

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIfLi3EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %161 unwind label %.loopexit.split-lp.loopexit

149:                                              ; preds = %141
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

151:                                              ; preds = %140
  %152 = getelementptr inbounds i8, ptr %114, i64 48
  %153 = load ptr, ptr %152, align 8
  %154 = invoke { i64, i32 } %153(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.015.0.copyload)
          to label %155 unwind label %159

155:                                              ; preds = %151
  %.fca.0.extract = extractvalue { i64, i32 } %154, 0
  %.fca.1.extract = extractvalue { i64, i32 } %154, 1
  store i64 %.fca.0.extract, ptr %7, align 8
  store i32 %.fca.1.extract, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !8
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %157 unwind label %.loopexit.split-lp.loopexit

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8OpenMeshlsIjLi3EEENSt9enable_ifIXgestDTlsfp_ixfp0_Li0EELi0EERSoE4typeES3_RKNS_7VectorTIT_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull align 4 dereferenceable(12) %7)
          to label %161 unwind label %.loopexit.split-lp.loopexit

159:                                              ; preds = %151
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

161:                                              ; preds = %136, %124, %157, %147, %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %162 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %162, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %163 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %163, ptr %18, align 8
  %164 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %164, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %167, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.15)
          to label %173 unwind label %.loopexit.split-lp.loopexit

.lr.ph:                                           ; preds = %161, %167
  %166 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  invoke void @_ZNK8OpenMesh2IO11_PLYWriter_16write_customPropILb0EEEvRSoRKNS1_14CustomPropertyEm(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %166, i64 noundef %indvars.iv)
          to label %167 unwind label %171

167:                                              ; preds = %.lr.ph
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %169 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %169, ptr %18, align 8
  %170 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %170, label %.lr.ph, label %._crit_edge, !llvm.loop !12

171:                                              ; preds = %.lr.ph
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %.loopexit.split-lp

173:                                              ; preds = %._crit_edge
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge83, label %33, !llvm.loop !14

._crit_edge83:                                    ; preds = %173, %31
  %174 = load ptr, ptr %2, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %174, i64 216
  %176 = load ptr, ptr %175, align 8
  %177 = invoke noundef i64 %176(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %178 unwind label %.loopexit.split-lp.loopexit.split-lp

178:                                              ; preds = %._crit_edge83
  %179 = and i64 %177, 4294967295
  %.not94 = icmp eq i64 %179, 0
  br i1 %.not94, label %._crit_edge93, label %.lr.ph92.preheader

.lr.ph92.preheader:                               ; preds = %178
  %wide.trip.count100 = and i64 %177, 4294967295
  br label %.lr.ph92

.lr.ph92:                                         ; preds = %.lr.ph92.preheader, %211
  %indvars.iv97 = phi i64 [ 0, %.lr.ph92.preheader ], [ %indvars.iv.next98, %211 ]
  %180 = trunc nuw i64 %indvars.iv97 to i32
  call void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 noundef %180)
  %181 = load i32, ptr %19, align 4
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i64 88
  %184 = load ptr, ptr %183, align 8
  %185 = invoke noundef i32 %184(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %181, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %186 unwind label %.loopexit

186:                                              ; preds = %.lr.ph92
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %185)
          to label %.preheader unwind label %.loopexit

.preheader:                                       ; preds = %186
  %188 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %.not95 = icmp eq i64 %188, 0
  br i1 %.not95, label %._crit_edge86, label %.lr.ph85

._crit_edge86:                                    ; preds = %197, %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %189 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  store ptr %189, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %190 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  store ptr %190, ptr %21, align 8
  %191 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br i1 %191, label %.lr.ph88, label %._crit_edge89

.lr.ph85:                                         ; preds = %.preheader, %197
  %.084 = phi i64 [ %198, %197 ], [ 0, %.preheader ]
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
          to label %193 unwind label %201

193:                                              ; preds = %.lr.ph85
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %.084) #7
  %195 = call noundef i32 @_ZNK8OpenMesh10BaseHandle3idxEv(ptr noundef nonnull align 4 dereferenceable(4) %194)
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %192, i32 noundef %195)
          to label %197 unwind label %201

197:                                              ; preds = %193
  %198 = add nuw i64 %.084, 1
  %199 = call noundef i64 @_ZNKSt6vectorIN8OpenMesh12VertexHandleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %200 = icmp ult i64 %198, %199
  br i1 %200, label %.lr.ph85, label %._crit_edge86, !llvm.loop !15

201:                                              ; preds = %193, %.lr.ph85
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

._crit_edge89:                                    ; preds = %205, %._crit_edge86
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.15)
          to label %211 unwind label %.loopexit

.lr.ph88:                                         ; preds = %._crit_edge86, %205
  %204 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  invoke void @_ZNK8OpenMesh2IO11_PLYWriter_16write_customPropILb0EEEvRSoRKNS1_14CustomPropertyEm(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %204, i64 noundef %indvars.iv97)
          to label %205 unwind label %209

205:                                              ; preds = %.lr.ph88
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %207 = call ptr @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  store ptr %207, ptr %21, align 8
  %208 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPN8OpenMesh2IO11_PLYWriter_14CustomPropertyESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br i1 %208, label %.lr.ph88, label %._crit_edge89, !llvm.loop !16

209:                                              ; preds = %.lr.ph88
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %.loopexit.split-lp

211:                                              ; preds = %._crit_edge89
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next98, %wide.trip.count100
  br i1 %exitcond101.not, label %._crit_edge93, label %.lr.ph92, !llvm.loop !17

._crit_edge93:                                    ; preds = %211, %178
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #7
  ret i1 true

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %209, %201, %171, %159, %149, %138, %126, %107, %86, %84, %82
  %.pn = phi { ptr, i32 } [ %172, %171 ], [ %127, %126 ], [ %139, %138 ], [ %150, %149 ], [ %160, %159 ], [ %108, %107 ], [ %87, %86 ], [ %85, %84 ], [ %83, %82 ], [ %202, %201 ], [ %210, %209 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit77, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp78, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #7
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12), i64 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8OpenMesh2IO11_PLYWriter_16write_customPropILb0EEEvRSoRKNS1_14CustomPropertyEm(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #6

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !9, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}


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