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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }

@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@__const._ZNK8OpenMesh2IO11_STLWriter_10write_stlbERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_12BaseExporterENS0_7OptionsE.header = external hidden unnamed_addr constant [80 x i8], align 16
@.str.19 = external hidden unnamed_addr constant [51 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: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; 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) #2

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

; 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)) #2

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

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

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

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

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

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

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

; 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) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EEmiIfEENSt9enable_ifIXgestDTmiixptfpT7values_Li0Edecldtfp_4dataEELi0EES1_E4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EErmIfEENSt9enable_ifILb1ENS0_IDTmimlixdefpTLi0Eixfp_Li0EmlixdefpTLi0Eixfp_Li0EELi3EEEE4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN8OpenMesh7VectorTIfLi3EE9normalizeIfEEDTdVdefpTcldtclsr3stdE7declvalINS0_IT_Li3EEEEE4normEEv(ptr noundef nonnull align 4 dereferenceable(12)) #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) #1 align 2

declare i32 @fclose(ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO11_STLWriter_10write_stlbERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_12BaseExporterENS0_7OptionsE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %3) #6 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.OpenMesh::VectorT", align 4
  %16 = alloca %"class.OpenMesh::VectorT", align 4
  %17 = alloca %"class.OpenMesh::VectorT", align 4
  %18 = alloca %"class.OpenMesh::VectorT", align 4
  %19 = alloca %"class.std::vector.18", align 8
  %20 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca [80 x i8], align 16
  %24 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %25 = alloca %"struct.OpenMesh::FaceHandle", 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", align 4
  %33 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %34 = alloca { <2 x float>, float }, align 8
  %35 = alloca %"class.OpenMesh::VectorT", align 4
  %36 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %37 = alloca { <2 x float>, float }, align 8
  %38 = alloca %"class.OpenMesh::VectorT", align 4
  %39 = alloca %"class.OpenMesh::VectorT", align 4
  %40 = alloca { <2 x float>, float }, align 8
  %41 = alloca %"class.OpenMesh::VectorT", align 4
  %42 = alloca { <2 x float>, float }, align 8
  %43 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %6, align 8
  %45 = call noundef nonnull align 8 dereferenceable(224) ptr @_Z5omlogv()
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @.str.17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  %49 = call noalias ptr @fopen(ptr noundef %48, ptr noundef @.str.18)
  store ptr %49, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %58, label %52

52:                                               ; preds = %4
  %53 = call noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef @.str.4)
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = call 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) %54, ptr noundef nonnull align 8 dereferenceable(32) %55)
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %283

58:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds ptr, ptr %60, i64 27
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef i64 %62(ptr noundef nonnull align 8 dereferenceable(8) %59)
  %64 = trunc i64 %63 to i32
  store i32 %64, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #7
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef -1)
          to label %65 unwind label %230

65:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 80, ptr %23) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 @__const._ZNK8OpenMesh2IO11_STLWriter_10write_stlbERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_12BaseExporterENS0_7OptionsE.header, i64 80, i1 false)
  %66 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = invoke i64 @fwrite(ptr noundef %66, i64 noundef 1, i64 noundef 80, ptr noundef %67)
          to label %69 unwind label %234

69:                                               ; preds = %65
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds ptr, ptr %71, i64 27
  %73 = load ptr, ptr %72, align 8
  %74 = invoke noundef i64 %73(ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %75 unwind label %234

75:                                               ; preds = %69
  %76 = trunc i64 %74 to i32
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO9write_intEiP8_IO_FILEb(i32 noundef %76, ptr noundef %77, i1 noundef zeroext false)
          to label %78 unwind label %234

78:                                               ; preds = %75
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %79

79:                                               ; preds = %274, %78
  %80 = load i32, ptr %12, align 4, !tbaa !11
  %81 = load i32, ptr %13, align 4, !tbaa !11
  %82 = icmp slt i32 %80, %81
  br i1 %82, label %83, label %277

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %84 = load i32, ptr %12, align 4, !tbaa !11
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %24, i32 noundef %84)
          to label %85 unwind label %238

85:                                               ; preds = %83
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %24, i64 4, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %20, i64 4, i1 false)
  %87 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %25, i32 0, i32 0
  %88 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 4
  %90 = load ptr, ptr %86, align 8, !tbaa !9
  %91 = getelementptr inbounds ptr, ptr %90, i64 11
  %92 = load ptr, ptr %91, align 8
  %93 = invoke noundef i32 %92(ptr noundef nonnull align 8 dereferenceable(8) %86, i32 %89, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %94 unwind label %234

94:                                               ; preds = %85
  store i32 %93, ptr %14, align 4, !tbaa !11
  %95 = load i32, ptr %14, align 4, !tbaa !11
  %96 = icmp eq i32 %95, 3
  br i1 %96, label %97, label %268

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #7
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %99, i64 4, i1 false)
  %100 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %27, i32 0, i32 0
  %101 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 4
  %103 = load ptr, ptr %98, align 8, !tbaa !9
  %104 = getelementptr inbounds ptr, ptr %103, i64 2
  %105 = load ptr, ptr %104, align 8
  %106 = invoke { <2 x float>, float } %105(ptr noundef nonnull align 8 dereferenceable(8) %98, i32 %102)
          to label %107 unwind label %242

107:                                              ; preds = %97
  %108 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %26, i32 0, i32 0
  %109 = getelementptr inbounds %"struct.std::array", ptr %108, i32 0, i32 0
  store { <2 x float>, float } %106, ptr %28, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %109, ptr align 8 %28, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %26, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #7
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %111, i64 4, i1 false)
  %112 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %30, i32 0, i32 0
  %113 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 4
  %115 = load ptr, ptr %110, align 8, !tbaa !9
  %116 = getelementptr inbounds ptr, ptr %115, i64 2
  %117 = load ptr, ptr %116, align 8
  %118 = invoke { <2 x float>, float } %117(ptr noundef nonnull align 8 dereferenceable(8) %110, i32 %114)
          to label %119 unwind label %246

119:                                              ; preds = %107
  %120 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %29, i32 0, i32 0
  %121 = getelementptr inbounds %"struct.std::array", ptr %120, i32 0, i32 0
  store { <2 x float>, float } %118, ptr %31, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %121, ptr align 8 %31, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %29, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #7
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %123, i64 4, i1 false)
  %124 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %33, i32 0, i32 0
  %125 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %124, i32 0, i32 0
  %126 = load i32, ptr %125, align 4
  %127 = load ptr, ptr %122, align 8, !tbaa !9
  %128 = getelementptr inbounds ptr, ptr %127, i64 2
  %129 = load ptr, ptr %128, align 8
  %130 = invoke { <2 x float>, float } %129(ptr noundef nonnull align 8 dereferenceable(8) %122, i32 %126)
          to label %131 unwind label %250

131:                                              ; preds = %119
  %132 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %32, i32 0, i32 0
  %133 = getelementptr inbounds %"struct.std::array", ptr %132, i32 0, i32 0
  store { <2 x float>, float } %130, ptr %34, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %133, ptr align 8 %34, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %32, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #7
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = load ptr, ptr %134, align 8, !tbaa !9
  %136 = getelementptr inbounds ptr, ptr %135, i64 34
  %137 = load ptr, ptr %136, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #7
  %138 = invoke noundef zeroext i1 %137(ptr noundef nonnull align 8 dereferenceable(8) %134)
          to label %139 unwind label %254

139:                                              ; preds = %131
  br i1 %138, label %140, label %152

140:                                              ; preds = %139
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %20, i64 4, i1 false)
  %142 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %36, i32 0, i32 0
  %143 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 4
  %145 = load ptr, ptr %141, align 8, !tbaa !9
  %146 = getelementptr inbounds ptr, ptr %145, i64 12
  %147 = load ptr, ptr %146, align 8
  %148 = invoke { <2 x float>, float } %147(ptr noundef nonnull align 8 dereferenceable(8) %141, i32 %144)
          to label %149 unwind label %254

149:                                              ; preds = %140
  %150 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %35, i32 0, i32 0
  %151 = getelementptr inbounds %"struct.std::array", ptr %150, i32 0, i32 0
  store { <2 x float>, float } %148, ptr %37, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %151, ptr align 8 %37, i64 12, i1 false)
  br label %167

152:                                              ; preds = %139
  %153 = invoke { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EEmiIfEENSt9enable_ifIXgestDTmiixptfpT7values_Li0Edecldtfp_4dataEELi0EES1_E4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %154 unwind label %258

154:                                              ; preds = %152
  %155 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %39, i32 0, i32 0
  %156 = getelementptr inbounds %"struct.std::array", ptr %155, i32 0, i32 0
  store { <2 x float>, float } %153, ptr %40, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %156, ptr align 8 %40, i64 12, i1 false)
  %157 = invoke { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EEmiIfEENSt9enable_ifIXgestDTmiixptfpT7values_Li0Edecldtfp_4dataEELi0EES1_E4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %158 unwind label %262

158:                                              ; preds = %154
  %159 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %41, i32 0, i32 0
  %160 = getelementptr inbounds %"struct.std::array", ptr %159, i32 0, i32 0
  store { <2 x float>, float } %157, ptr %42, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %160, ptr align 8 %42, i64 12, i1 false)
  %161 = invoke { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EErmIfEENSt9enable_ifILb1ENS0_IDTmimlixdefpTLi0Eixfp_Li0EmlixdefpTLi0Eixfp_Li0EELi3EEEE4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %162 unwind label %262

162:                                              ; preds = %158
  %163 = getelementptr inbounds %"class.OpenMesh::VectorT", ptr %38, i32 0, i32 0
  %164 = getelementptr inbounds %"struct.std::array", ptr %163, i32 0, i32 0
  store { <2 x float>, float } %161, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %164, ptr align 8 %43, i64 12, i1 false)
  %165 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN8OpenMesh7VectorTIfLi3EE9normalizeIfEEDTdVdefpTcldtclsr3stdE7declvalINS0_IT_Li3EEEEE4normEEv(ptr noundef nonnull align 4 dereferenceable(12) %38)
          to label %166 unwind label %262

166:                                              ; preds = %162
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %165, i64 12, i1 false), !tbaa.struct !13
  br label %167

167:                                              ; preds = %166, %149
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %35, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #7
  %168 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %18, i64 noundef 0)
          to label %169 unwind label %234

169:                                              ; preds = %167
  %170 = load float, ptr %168, align 4, !tbaa !15
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %170, ptr noundef %171, i1 noundef zeroext false)
          to label %172 unwind label %234

172:                                              ; preds = %169
  %173 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %18, i64 noundef 1)
          to label %174 unwind label %234

174:                                              ; preds = %172
  %175 = load float, ptr %173, align 4, !tbaa !15
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %175, ptr noundef %176, i1 noundef zeroext false)
          to label %177 unwind label %234

177:                                              ; preds = %174
  %178 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %18, i64 noundef 2)
          to label %179 unwind label %234

179:                                              ; preds = %177
  %180 = load float, ptr %178, align 4, !tbaa !15
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %180, ptr noundef %181, i1 noundef zeroext false)
          to label %182 unwind label %234

182:                                              ; preds = %179
  %183 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %15, i64 noundef 0)
          to label %184 unwind label %234

184:                                              ; preds = %182
  %185 = load float, ptr %183, align 4, !tbaa !15
  %186 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %185, ptr noundef %186, i1 noundef zeroext false)
          to label %187 unwind label %234

187:                                              ; preds = %184
  %188 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %15, i64 noundef 1)
          to label %189 unwind label %234

189:                                              ; preds = %187
  %190 = load float, ptr %188, align 4, !tbaa !15
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %190, ptr noundef %191, i1 noundef zeroext false)
          to label %192 unwind label %234

192:                                              ; preds = %189
  %193 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %15, i64 noundef 2)
          to label %194 unwind label %234

194:                                              ; preds = %192
  %195 = load float, ptr %193, align 4, !tbaa !15
  %196 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %195, ptr noundef %196, i1 noundef zeroext false)
          to label %197 unwind label %234

197:                                              ; preds = %194
  %198 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %16, i64 noundef 0)
          to label %199 unwind label %234

199:                                              ; preds = %197
  %200 = load float, ptr %198, align 4, !tbaa !15
  %201 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %200, ptr noundef %201, i1 noundef zeroext false)
          to label %202 unwind label %234

202:                                              ; preds = %199
  %203 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %16, i64 noundef 1)
          to label %204 unwind label %234

204:                                              ; preds = %202
  %205 = load float, ptr %203, align 4, !tbaa !15
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %205, ptr noundef %206, i1 noundef zeroext false)
          to label %207 unwind label %234

207:                                              ; preds = %204
  %208 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %16, i64 noundef 2)
          to label %209 unwind label %234

209:                                              ; preds = %207
  %210 = load float, ptr %208, align 4, !tbaa !15
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %210, ptr noundef %211, i1 noundef zeroext false)
          to label %212 unwind label %234

212:                                              ; preds = %209
  %213 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %17, i64 noundef 0)
          to label %214 unwind label %234

214:                                              ; preds = %212
  %215 = load float, ptr %213, align 4, !tbaa !15
  %216 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %215, ptr noundef %216, i1 noundef zeroext false)
          to label %217 unwind label %234

217:                                              ; preds = %214
  %218 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %17, i64 noundef 1)
          to label %219 unwind label %234

219:                                              ; preds = %217
  %220 = load float, ptr %218, align 4, !tbaa !15
  %221 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %220, ptr noundef %221, i1 noundef zeroext false)
          to label %222 unwind label %234

222:                                              ; preds = %219
  %223 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %17, i64 noundef 2)
          to label %224 unwind label %234

224:                                              ; preds = %222
  %225 = load float, ptr %223, align 4, !tbaa !15
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %225, ptr noundef %226, i1 noundef zeroext false)
          to label %227 unwind label %234

227:                                              ; preds = %224
  %228 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8OpenMesh2IO11write_shortEsP8_IO_FILEb(i16 noundef signext 0, ptr noundef %228, i1 noundef zeroext false)
          to label %229 unwind label %234

229:                                              ; preds = %227
  br label %273

230:                                              ; preds = %58
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %21, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %22, align 4
  br label %282

234:                                              ; preds = %277, %270, %268, %227, %224, %222, %219, %217, %214, %212, %209, %207, %204, %202, %199, %197, %194, %192, %189, %187, %184, %182, %179, %177, %174, %172, %169, %167, %85, %75, %69, %65
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %21, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %22, align 4
  br label %281

238:                                              ; preds = %83
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %21, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %281

242:                                              ; preds = %97
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %21, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #7
  br label %281

246:                                              ; preds = %107
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %21, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  br label %281

250:                                              ; preds = %119
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %21, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  br label %281

254:                                              ; preds = %140, %131
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %21, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %22, align 4
  br label %267

258:                                              ; preds = %152
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %21, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %22, align 4
  br label %266

262:                                              ; preds = %162, %158, %154
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %21, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #7
  br label %266

266:                                              ; preds = %262, %258
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #7
  br label %267

267:                                              ; preds = %266, %254
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #7
  br label %281

268:                                              ; preds = %94
  %269 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %270 unwind label %234

270:                                              ; preds = %268
  %271 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %269, ptr noundef @.str.19)
          to label %272 unwind label %234

272:                                              ; preds = %270
  br label %273

273:                                              ; preds = %272, %229
  br label %274

274:                                              ; preds = %273
  %275 = load i32, ptr %12, align 4, !tbaa !11
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %12, align 4, !tbaa !11
  br label %79, !llvm.loop !17

277:                                              ; preds = %79
  %278 = load ptr, ptr %10, align 8, !tbaa !5
  %279 = invoke i32 @fclose(ptr noundef %278)
          to label %280 unwind label %234

280:                                              ; preds = %277
  store i1 true, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %283

281:                                              ; preds = %267, %250, %246, %242, %238, %234
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #7
  br label %282

282:                                              ; preds = %281, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %285

283:                                              ; preds = %280, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %284 = load i1, ptr %5, align 1
  ret i1 %284

285:                                              ; preds = %282
  %286 = load ptr, ptr %21, align 8
  %287 = load i32, ptr %22, align 4
  %288 = insertvalue { ptr, i32 } poison, ptr %286, 0
  %289 = insertvalue { ptr, i32 } %288, i32 %287, 1
  resume { ptr, i32 } %289
}

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

declare void @_ZN8OpenMesh2IO9write_intEiP8_IO_FILEb(i32 noundef, ptr noundef, i1 noundef zeroext) #3

declare void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef, ptr noundef, i1 noundef zeroext) #3

declare void @_ZN8OpenMesh2IO11write_shortEsP8_IO_FILEb(i16 noundef signext, ptr noundef, i1 noundef zeroext) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #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 = !{!"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 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 12, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!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.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::VertexHandle, std::allocator<OpenMesh::VertexHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }

@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@__const._ZNK8OpenMesh2IO11_STLWriter_10write_stlbERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_12BaseExporterENS0_7OptionsE.header = external hidden unnamed_addr constant [80 x i8], align 16
@.str.19 = external hidden unnamed_addr constant [51 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 nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; 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 #2

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4

; 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 #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EEmiIfEENSt9enable_ifIXgestDTmiixptfpT7values_Li0Edecldtfp_4dataEELi0EES1_E4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EErmIfEENSt9enable_ifILb1ENS0_IDTmimlixdefpTLi0Eixfp_Li0EmlixdefpTLi0Eixfp_Li0EELi3EEEE4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN8OpenMesh7VectorTIfLi3EE9normalizeIfEEDTdVdefpTcldtclsr3stdE7declvalINS0_IT_Li3EEEEE4normEEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 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 #1 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8OpenMesh2IO11_STLWriter_10write_stlbERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_12BaseExporterENS0_7OptionsE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr nocapture noundef readnone %3) local_unnamed_addr #7 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", align 8
  %8 = alloca %"class.OpenMesh::VectorT", align 8
  %9 = alloca %"class.std::vector.18", align 8
  %10 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %11 = alloca [80 x i8], align 16
  %12 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %13 = alloca %"class.OpenMesh::VectorT", align 8
  %14 = alloca %"class.OpenMesh::VectorT", align 8
  %15 = alloca %"class.OpenMesh::VectorT", align 8
  %16 = tail call noundef nonnull align 8 dereferenceable(224) ptr @_Z5omlogv()
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.17)
  %18 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  %19 = tail call noalias ptr @fopen(ptr noundef %18, ptr noundef nonnull @.str.18)
  %.not = icmp ne ptr %19, null
  br i1 %.not, label %25, label %20

20:                                               ; preds = %4
  %21 = tail call noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @.str.4)
  %23 = tail call 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) %22, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %151

25:                                               ; preds = %4
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 216
  %28 = load ptr, ptr %27, align 8
  %29 = tail call noundef i64 %28(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %30 = trunc i64 %29 to i32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #8
  call void @_ZN8OpenMesh7VectorTIfLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 noundef -1)
          to label %31 unwind label %125

31:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %11) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %11, ptr noundef nonnull align 16 dereferenceable(80) @__const._ZNK8OpenMesh2IO11_STLWriter_10write_stlbERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_12BaseExporterENS0_7OptionsE.header, i64 80, i1 false)
  %32 = call i64 @fwrite(ptr noundef nonnull %11, i64 noundef 1, i64 noundef 80, ptr noundef nonnull %19)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 216
  %35 = load ptr, ptr %34, align 8
  %36 = invoke noundef i64 %35(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %37 unwind label %.loopexit.split-lp

37:                                               ; preds = %31
  %38 = trunc i64 %36 to i32
  invoke void @_ZN8OpenMesh2IO9write_intEiP8_IO_FILEb(i32 noundef %38, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %37
  %39 = icmp sgt i32 %30, 0
  br i1 %39, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %.sroa.537.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.530.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.6.0..sroa_idx16 = getelementptr inbounds i8, ptr %8, i64 8
  br label %40

40:                                               ; preds = %.lr.ph, %146
  %.07386 = phi i32 [ 0, %.lr.ph ], [ %147, %146 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  invoke void @_ZN8OpenMesh10FaceHandleC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef %.07386)
          to label %41 unwind label %127

41:                                               ; preds = %40
  %42 = load i32, ptr %12, align 4
  store i32 %42, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 88
  %45 = load ptr, ptr %44, align 8
  %46 = invoke noundef i32 %45(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %42, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %47 unwind label %.loopexit

47:                                               ; preds = %41
  %48 = icmp eq i32 %46, 3
  br i1 %48, label %49, label %142

49:                                               ; preds = %47
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #8
  %.sroa.035.0.copyload = load i32, ptr %50, align 4
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  %53 = load ptr, ptr %52, align 8
  %54 = invoke { <2 x float>, float } %53(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.035.0.copyload)
          to label %55 unwind label %129

55:                                               ; preds = %49
  %.fca.0.extract31 = extractvalue { <2 x float>, float } %54, 0
  %.fca.1.extract32 = extractvalue { <2 x float>, float } %54, 1
  store <2 x float> %.fca.0.extract31, ptr %5, align 8
  store float %.fca.1.extract32, ptr %.sroa.537.0..sroa_idx, align 8, !tbaa !8
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1) #8
  %.sroa.028.0.copyload = load i32, ptr %56, align 4
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 16
  %59 = load ptr, ptr %58, align 8
  %60 = invoke { <2 x float>, float } %59(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.028.0.copyload)
          to label %61 unwind label %131

61:                                               ; preds = %55
  %.fca.0.extract24 = extractvalue { <2 x float>, float } %60, 0
  %.fca.1.extract25 = extractvalue { <2 x float>, float } %60, 1
  store <2 x float> %.fca.0.extract24, ptr %6, align 8
  store float %.fca.1.extract25, ptr %.sroa.530.0..sroa_idx, align 8, !tbaa !8
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 2) #8
  %.sroa.022.0.copyload = load i32, ptr %62, align 4
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  %65 = load ptr, ptr %64, align 8
  %66 = invoke { <2 x float>, float } %65(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.022.0.copyload)
          to label %67 unwind label %133

67:                                               ; preds = %61
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %66, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %66, 1
  store <2 x float> %.fca.0.extract18, ptr %7, align 8
  store float %.fca.1.extract19, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !8
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i64 272
  %70 = load ptr, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #8
  %71 = invoke noundef zeroext i1 %70(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %72 unwind label %135

72:                                               ; preds = %67
  br i1 %71, label %73, label %79

73:                                               ; preds = %72
  %.sroa.013.0.copyload = load i32, ptr %10, align 4
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i64 96
  %76 = load ptr, ptr %75, align 8
  %77 = invoke { <2 x float>, float } %76(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 %.sroa.013.0.copyload)
          to label %78 unwind label %135

78:                                               ; preds = %73
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %77, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %77, 1
  br label %88

79:                                               ; preds = %72
  %80 = invoke { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EEmiIfEENSt9enable_ifIXgestDTmiixptfpT7values_Li0Edecldtfp_4dataEELi0EES1_E4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %81 unwind label %137

81:                                               ; preds = %79
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %80, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %80, 1
  store <2 x float> %.fca.0.extract5, ptr %14, align 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  %82 = invoke { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EEmiIfEENSt9enable_ifIXgestDTmiixptfpT7values_Li0Edecldtfp_4dataEELi0EES1_E4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %83 unwind label %139

83:                                               ; preds = %81
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %82, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %82, 1
  store <2 x float> %.fca.0.extract1, ptr %15, align 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %84 = invoke { <2 x float>, float } @_ZNK8OpenMesh7VectorTIfLi3EErmIfEENSt9enable_ifILb1ENS0_IDTmimlixdefpTLi0Eixfp_Li0EmlixdefpTLi0Eixfp_Li0EELi3EEEE4typeERKNS0_IT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %15)
          to label %85 unwind label %139

85:                                               ; preds = %83
  %.fca.0.extract = extractvalue { <2 x float>, float } %84, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %84, 1
  store <2 x float> %.fca.0.extract, ptr %13, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %86 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN8OpenMesh7VectorTIfLi3EE9normalizeIfEEDTdVdefpTcldtclsr3stdE7declvalINS0_IT_Li3EEEEE4normEEv(ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %87 unwind label %139

87:                                               ; preds = %85
  %.sroa.014.0.copyload = load <2 x float>, ptr %86, align 4
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %86, i64 8
  %.sroa.6.0.copyload = load float, ptr %.sroa.6.0..sroa_idx, align 4, !tbaa !8
  br label %88

88:                                               ; preds = %87, %78
  %.sroa.014.0 = phi <2 x float> [ %.fca.0.extract9, %78 ], [ %.sroa.014.0.copyload, %87 ]
  %.sroa.6.0 = phi float [ %.fca.1.extract10, %78 ], [ %.sroa.6.0.copyload, %87 ]
  store <2 x float> %.sroa.014.0, ptr %8, align 8
  store float %.sroa.6.0, ptr %.sroa.6.0..sroa_idx16, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #8
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %8, i64 noundef 0)
  %90 = load float, ptr %89, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %90, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %91 unwind label %.loopexit

91:                                               ; preds = %88
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %8, i64 noundef 1)
  %93 = load float, ptr %92, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %93, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %94 unwind label %.loopexit

94:                                               ; preds = %91
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %8, i64 noundef 2)
  %96 = load float, ptr %95, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %96, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %97 unwind label %.loopexit

97:                                               ; preds = %94
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %5, i64 noundef 0)
  %99 = load float, ptr %98, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %99, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %100 unwind label %.loopexit

100:                                              ; preds = %97
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %5, i64 noundef 1)
  %102 = load float, ptr %101, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %102, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %103 unwind label %.loopexit

103:                                              ; preds = %100
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %5, i64 noundef 2)
  %105 = load float, ptr %104, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %105, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %106 unwind label %.loopexit

106:                                              ; preds = %103
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 0)
  %108 = load float, ptr %107, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %108, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %109 unwind label %.loopexit

109:                                              ; preds = %106
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 1)
  %111 = load float, ptr %110, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %111, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %112 unwind label %.loopexit

112:                                              ; preds = %109
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %6, i64 noundef 2)
  %114 = load float, ptr %113, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %114, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %115 unwind label %.loopexit

115:                                              ; preds = %112
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %7, i64 noundef 0)
  %117 = load float, ptr %116, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %117, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %118 unwind label %.loopexit

118:                                              ; preds = %115
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %7, i64 noundef 1)
  %120 = load float, ptr %119, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %120, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %121 unwind label %.loopexit

121:                                              ; preds = %118
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8OpenMesh7VectorTIfLi3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %7, i64 noundef 2)
  %123 = load float, ptr %122, align 4, !tbaa !10
  invoke void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef %123, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %124 unwind label %.loopexit

124:                                              ; preds = %121
  invoke void @_ZN8OpenMesh2IO11write_shortEsP8_IO_FILEb(i16 noundef signext 0, ptr noundef nonnull %19, i1 noundef zeroext false)
          to label %146 unwind label %.loopexit

125:                                              ; preds = %25
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %150

.loopexit:                                        ; preds = %41, %88, %91, %94, %97, %100, %103, %106, %109, %112, %115, %118, %121, %124, %142, %144
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %149

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

127:                                              ; preds = %40
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  br label %149

129:                                              ; preds = %49
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %149

131:                                              ; preds = %55
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %149

133:                                              ; preds = %61
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %149

135:                                              ; preds = %73, %67
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %149

137:                                              ; preds = %79
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %85, %83, %81
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  br label %141

141:                                              ; preds = %139, %137
  %.pn = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #8
  br label %149

142:                                              ; preds = %47
  %143 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %144 unwind label %.loopexit

144:                                              ; preds = %142
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @.str.19)
          to label %146 unwind label %.loopexit

146:                                              ; preds = %124, %144
  %147 = add nuw nsw i32 %.07386, 1
  %exitcond.not = icmp eq i32 %147, %30
  br i1 %exitcond.not, label %._crit_edge, label %40, !llvm.loop !12

._crit_edge:                                      ; preds = %146, %.preheader
  %148 = call i32 @fclose(ptr noundef nonnull %19)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #8
  br label %151

149:                                              ; preds = %.loopexit, %.loopexit.split-lp, %135, %141, %133, %131, %129, %127
  %.pn83 = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ], [ %130, %129 ], [ %128, %127 ], [ %136, %135 ], [ %.pn, %141 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #8
  br label %150

150:                                              ; preds = %149, %125
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %149 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @_ZNSt6vectorIN8OpenMesh12VertexHandleESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn83.pn

151:                                              ; preds = %._crit_edge, %20
  ret i1 %.not
}

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #4

declare void @_ZN8OpenMesh2IO9write_intEiP8_IO_FILEb(i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN8OpenMesh2IO11write_floatEfP8_IO_FILEb(float noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN8OpenMesh2IO11write_shortEsP8_IO_FILEb(i16 noundef signext, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

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


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