; 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.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" = type { ptr }
%"struct.OpenMesh::IO::_PLYWriter_::CustomProperty" = type { i32, ptr }
%"struct.OpenMesh::GenProg::AssertCompile" = type { i8 }
%"class.OpenMesh::IO::_PLYWriter_" = type { %"class.OpenMesh::IO::BaseWriter", %"class.OpenMesh::IO::Options", [12 x ptr] }
%"class.OpenMesh::IO::BaseWriter" = type { ptr }
%"class.OpenMesh::IO::Options" = type { i32 }

@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.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 void @_ZNK8OpenMesh2IO11_PLYWriter_21writeCustomTypeHeaderERSoN9__gnu_cxx17__normal_iteratorIPKPNS_12BasePropertyESt6vectorIS6_SaIS6_EEEESC_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.18") align 8 %0, ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr %3, ptr %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i1, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", align 8
  %17 = alloca i64, align 8
  %18 = alloca %"struct.OpenMesh::GenProg::AssertCompile", align 1
  %19 = alloca %"struct.OpenMesh::GenProg::AssertCompile", align 1
  %20 = alloca %"struct.OpenMesh::GenProg::AssertCompile", align 1
  %21 = alloca %"struct.OpenMesh::GenProg::AssertCompile", align 1
  %22 = alloca %"struct.OpenMesh::GenProg::AssertCompile", align 1
  store ptr %0, ptr %6, align 8
  %23 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %3, ptr %23, align 8
  %24 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %4, ptr %24, align 8
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  %25 = load ptr, ptr %9, align 8
  store i1 false, ptr %11, align 1
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %26

26:                                               ; preds = %161, %5
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %27, label %28, label %165

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %30, ptr %12, align 8, !tbaa !5
  %31 = load ptr, ptr %12, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %37

33:                                               ; preds = %28
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = invoke noundef zeroext i1 @_ZNK8OpenMesh12BaseProperty10persistentEv(ptr noundef nonnull align 8 dereferenceable(41) %34)
          to label %36 unwind label %38

36:                                               ; preds = %33
  br i1 %35, label %42, label %37

37:                                               ; preds = %36, %28
  store i32 4, ptr %15, align 4
  br label %158

38:                                               ; preds = %33
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %13, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %14, align 4
  br label %164

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11_PLYWriter_14CustomPropertyC2EPKNS_12BasePropertyE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %43)
          to label %44 unwind label %52

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 12
  %48 = load ptr, ptr %47, align 8
  %49 = invoke noundef i64 %48(ptr noundef nonnull align 8 dereferenceable(41) %45)
          to label %50 unwind label %56

50:                                               ; preds = %44
  store i64 %49, ptr %17, align 8, !tbaa !11
  %51 = load i64, ptr %17, align 8, !tbaa !11
  switch i64 %51, label %129 [
    i64 1, label %60
    i64 2, label %81
    i64 4, label %97
    i64 8, label %121
  ]

52:                                               ; preds = %42
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %13, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %14, align 4
  br label %163

56:                                               ; preds = %154, %152, %148, %146, %138, %135, %134, %121, %111, %104, %97, %88, %81, %72, %65, %60, %44
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %13, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %163

60:                                               ; preds = %50
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIaEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %61)
          to label %63 unwind label %56

63:                                               ; preds = %60
  %64 = icmp ne ptr %62, null
  br i1 %64, label %70, label %65

65:                                               ; preds = %63
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIcEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %66)
          to label %68 unwind label %56

68:                                               ; preds = %65
  %69 = icmp ne ptr %67, null
  br i1 %69, label %70, label %72

70:                                               ; preds = %68, %63
  %71 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 7, ptr %71, align 8, !tbaa !13
  br label %80

72:                                               ; preds = %68
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIhEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %73)
          to label %75 unwind label %56

75:                                               ; preds = %72
  %76 = icmp ne ptr %74, null
  br i1 %76, label %77, label %79

77:                                               ; preds = %75
  %78 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 6, ptr %78, align 8, !tbaa !13
  br label %79

79:                                               ; preds = %77, %75
  br label %80

80:                                               ; preds = %79, %70
  br label %130

81:                                               ; preds = %50
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIsEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %82)
          to label %84 unwind label %56

84:                                               ; preds = %81
  %85 = icmp ne ptr %83, null
  br i1 %85, label %86, label %88

86:                                               ; preds = %84
  %87 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 10, ptr %87, align 8, !tbaa !13
  br label %96

88:                                               ; preds = %84
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyItEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %89)
          to label %91 unwind label %56

91:                                               ; preds = %88
  %92 = icmp ne ptr %90, null
  br i1 %92, label %93, label %95

93:                                               ; preds = %91
  %94 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 9, ptr %94, align 8, !tbaa !13
  br label %95

95:                                               ; preds = %93, %91
  br label %96

96:                                               ; preds = %95, %86
  br label %130

97:                                               ; preds = %50
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIiEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %98)
          to label %100 unwind label %56

100:                                              ; preds = %97
  %101 = icmp ne ptr %99, null
  br i1 %101, label %102, label %104

102:                                              ; preds = %100
  %103 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 4, ptr %103, align 8, !tbaa !13
  br label %120

104:                                              ; preds = %100
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIjEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %105)
          to label %107 unwind label %56

107:                                              ; preds = %104
  %108 = icmp ne ptr %106, null
  br i1 %108, label %109, label %111

109:                                              ; preds = %107
  %110 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 5, ptr %110, align 8, !tbaa !13
  br label %119

111:                                              ; preds = %107
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIfEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %112)
          to label %114 unwind label %56

114:                                              ; preds = %111
  %115 = icmp ne ptr %113, null
  br i1 %115, label %116, label %118

116:                                              ; preds = %114
  %117 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 2, ptr %117, align 8, !tbaa !13
  br label %118

118:                                              ; preds = %116, %114
  br label %119

119:                                              ; preds = %118, %109
  br label %120

120:                                              ; preds = %119, %102
  br label %130

121:                                              ; preds = %50
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = invoke noundef ptr @_ZN8OpenMesh2IO12castPropertyIdEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef %122)
          to label %124 unwind label %56

124:                                              ; preds = %121
  %125 = icmp ne ptr %123, null
  br i1 %125, label %126, label %128

126:                                              ; preds = %124
  %127 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  store i32 11, ptr %127, align 8, !tbaa !13
  br label %128

128:                                              ; preds = %126, %124
  br label %130

129:                                              ; preds = %50
  br label %130

130:                                              ; preds = %129, %128, %120, %96, %80
  %131 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  %132 = load i32, ptr %131, align 8, !tbaa !13
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %157

134:                                              ; preds = %130
  invoke void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %135 unwind label %56

135:                                              ; preds = %134
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef @.str.13)
          to label %138 unwind label %56

138:                                              ; preds = %135
  %139 = getelementptr inbounds %"class.OpenMesh::IO::_PLYWriter_", ptr %25, i32 0, i32 2
  %140 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 0
  %141 = load i32, ptr %140, align 8, !tbaa !13
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds [12 x ptr], ptr %139, i64 0, i64 %142
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef %144)
          to label %146 unwind label %56

146:                                              ; preds = %138
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef @.str.14)
          to label %148 unwind label %56

148:                                              ; preds = %146
  %149 = getelementptr inbounds %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", ptr %16, i32 0, i32 1
  %150 = load ptr, ptr %149, align 8, !tbaa !16
  %151 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8OpenMesh12BaseProperty4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(41) %150)
          to label %152 unwind label %56

152:                                              ; preds = %148
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull align 8 dereferenceable(32) %151)
          to label %154 unwind label %56

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @.str.15)
          to label %156 unwind label %56

156:                                              ; preds = %154
  br label %157

157:                                              ; preds = %156, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  store i32 0, ptr %15, align 4
  br label %158

158:                                              ; preds = %157, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %159 = load i32, ptr %15, align 4
  switch i32 %159, label %174 [
    i32 0, label %160
    i32 4, label %161
  ]

160:                                              ; preds = %158
  br label %161

161:                                              ; preds = %160, %158
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br label %26, !llvm.loop !17

163:                                              ; preds = %56, %52
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  br label %164

164:                                              ; preds = %163, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %169

165:                                              ; preds = %26
  store i1 true, ptr %11, align 1
  store i32 1, ptr %15, align 4
  %166 = load i1, ptr %11, align 1
  br i1 %166, label %168, label %167

167:                                              ; preds = %165
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %168

168:                                              ; preds = %167, %165
  ret void

169:                                              ; preds = %164
  %170 = load ptr, ptr %13, align 8
  %171 = load i32, ptr %14, align 4
  %172 = insertvalue { ptr, i32 } poison, ptr %170, 0
  %173 = insertvalue { ptr, i32 } %172, i32 %171, 1
  resume { ptr, i32 } %173

174:                                              ; preds = %158
  unreachable
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIaEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIcEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIhEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIsEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyItEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIiEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIjEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIfEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIdEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #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

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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #5 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::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" = type { ptr }
%"struct.OpenMesh::IO::_PLYWriter_::CustomProperty" = type { i32, ptr }

@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.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 void @_ZNK8OpenMesh2IO11_PLYWriter_21writeCustomTypeHeaderERSoN9__gnu_cxx17__normal_iteratorIPKPNS_12BasePropertyESt6vectorIS6_SaIS6_EEEESC_(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector.18") align 8 %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(112) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr %3, ptr %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"struct.OpenMesh::IO::_PLYWriter_::CustomProperty", align 8
  store ptr %3, ptr %6, align 8
  store ptr %4, ptr %7, align 8
  tail call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %9 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5
  %10 = getelementptr inbounds i8, ptr %1, i64 16
  %11 = getelementptr inbounds i8, ptr %8, i64 8
  br label %12

12:                                               ; preds = %.lr.ph, %69
  %13 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %69, label %15

15:                                               ; preds = %12
  %16 = call noundef zeroext i1 @_ZNK8OpenMesh12BaseProperty10persistentEv(ptr noundef nonnull align 8 dereferenceable(41) %14)
  br i1 %16, label %17, label %69

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @_ZN8OpenMesh2IO11_PLYWriter_14CustomPropertyC2EPKNS_12BasePropertyE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %14)
  %18 = load ptr, ptr %14, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %18, i64 96
  %20 = load ptr, ptr %19, align 8
  %21 = invoke noundef i64 %20(ptr noundef nonnull align 8 dereferenceable(41) %14)
          to label %22 unwind label %23

22:                                               ; preds = %17
  switch i64 %21, label %51 [
    i64 1, label %25
    i64 2, label %33
    i64 4, label %39
    i64 8, label %48
  ]

23:                                               ; preds = %66, %62, %60, %54, %52, %.thread, %17
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %24

25:                                               ; preds = %22
  %26 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIaEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not24 = icmp eq ptr %26, null
  br i1 %.not24, label %27, label %29

27:                                               ; preds = %25
  %28 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIcEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not25 = icmp eq ptr %28, null
  br i1 %.not25, label %30, label %29

29:                                               ; preds = %27, %25
  store i32 7, ptr %8, align 8, !tbaa !11
  br label %.thread

30:                                               ; preds = %27
  %31 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIhEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not26 = icmp eq ptr %31, null
  br i1 %.not26, label %51, label %32

32:                                               ; preds = %30
  store i32 6, ptr %8, align 8, !tbaa !11
  br label %.thread

33:                                               ; preds = %22
  %34 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIsEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not22 = icmp eq ptr %34, null
  br i1 %.not22, label %36, label %35

35:                                               ; preds = %33
  store i32 10, ptr %8, align 8, !tbaa !11
  br label %.thread

36:                                               ; preds = %33
  %37 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyItEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not23 = icmp eq ptr %37, null
  br i1 %.not23, label %51, label %38

38:                                               ; preds = %36
  store i32 9, ptr %8, align 8, !tbaa !11
  br label %.thread

39:                                               ; preds = %22
  %40 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIiEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not19 = icmp eq ptr %40, null
  br i1 %.not19, label %42, label %41

41:                                               ; preds = %39
  store i32 4, ptr %8, align 8, !tbaa !11
  br label %.thread

42:                                               ; preds = %39
  %43 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIjEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not20 = icmp eq ptr %43, null
  br i1 %.not20, label %45, label %44

44:                                               ; preds = %42
  store i32 5, ptr %8, align 8, !tbaa !11
  br label %.thread

45:                                               ; preds = %42
  %46 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIfEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not21 = icmp eq ptr %46, null
  br i1 %.not21, label %51, label %47

47:                                               ; preds = %45
  store i32 2, ptr %8, align 8, !tbaa !11
  br label %.thread

48:                                               ; preds = %22
  %49 = call noundef ptr @_ZN8OpenMesh2IO12castPropertyIdEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef nonnull %14)
  %.not18 = icmp eq ptr %49, null
  br i1 %.not18, label %51, label %50

50:                                               ; preds = %48
  store i32 11, ptr %8, align 8, !tbaa !11
  br label %.thread

51:                                               ; preds = %22, %48, %45, %36, %30
  %.pr = load i32, ptr %8, align 8, !tbaa !11
  %.not27 = icmp eq i32 %.pr, 0
  br i1 %.not27, label %68, label %.thread

.thread:                                          ; preds = %32, %29, %38, %35, %44, %47, %41, %50, %51
  invoke void @_ZNSt6vectorIN8OpenMesh2IO11_PLYWriter_14CustomPropertyESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %52 unwind label %23

52:                                               ; preds = %.thread
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull @.str.13)
          to label %54 unwind label %23

54:                                               ; preds = %52
  %55 = load i32, ptr %8, align 8, !tbaa !11
  %56 = zext i32 %55 to i64
  %57 = getelementptr inbounds [12 x ptr], ptr %10, i64 0, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef %58)
          to label %60 unwind label %23

60:                                               ; preds = %54
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @.str.14)
          to label %62 unwind label %23

62:                                               ; preds = %60
  %63 = load ptr, ptr %11, align 8, !tbaa !14
  %64 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8OpenMesh12BaseProperty4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(41) %63)
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %66 unwind label %23

66:                                               ; preds = %62
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull @.str.15)
          to label %68 unwind label %23

68:                                               ; preds = %66, %51
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %69

69:                                               ; preds = %12, %15, %68
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %71, label %12, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %69, %5
  ret void
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIaEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIcEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIhEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIsEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyItEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIiEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIjEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIfEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8OpenMesh2IO12castPropertyIdEEPKNS_9PropertyTIT_EEPKNS_12BasePropertyE(ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8OpenMesh12BaseProperty4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(41)) 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_iteratorIPKPN8OpenMesh12BasePropertyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_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

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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #5 = { nounwind }

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

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


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