; LLVM IR from bldeng/AASolver :: AndersonOpt/external/OpenMesh/Core/Mesh (PolyConnectivity)

; 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"

%"struct.OpenMesh::EdgeHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"struct.OpenMesh::HalfedgeHandle" = type { %"class.OpenMesh::BaseHandle" }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2 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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh16PolyConnectivity24adjust_outgoing_halfedgeENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel20prev_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368), i32, i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel12set_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel18from_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8OpenMesh16PolyConnectivity10split_edgeENS_10EdgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %1, i32 %2) #3 align 2 {
  %4 = alloca %"struct.OpenMesh::EdgeHandle", align 4
  %5 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %8 = alloca %"struct.OpenMesh::EdgeHandle", align 4
  %9 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %10 = alloca %"struct.OpenMesh::EdgeHandle", align 4
  %11 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %12 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %13 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %14 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %15 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %16 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %17 = alloca i8, align 1
  %18 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %19 = alloca i8, align 1
  %20 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %21 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %22 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %23 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %24 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %25 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %26 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %27 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %28 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %29 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %30 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %31 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %32 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %33 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %34 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %35 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %36 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %37 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %38 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %39 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %40 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %41 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %42 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %43 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %44 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %45 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %46 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %47 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %48 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %49 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %50 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %51 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %52 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %53 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %54 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %55 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %4, i32 0, i32 0
  %56 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %55, i32 0, i32 0
  store i32 %1, ptr %56, align 4
  %57 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %5, i32 0, i32 0
  %58 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %57, i32 0, i32 0
  store i32 %2, ptr %58, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  %59 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %4, i64 4, i1 false)
  %60 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %8, i32 0, i32 0
  %61 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 4
  %63 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %62, i32 noundef 0)
  %64 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %7, i32 0, i32 0
  %65 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %64, i32 0, i32 0
  store i32 %63, ptr %65, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %4, i64 4, i1 false)
  %66 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %10, i32 0, i32 0
  %67 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 4
  %69 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %68, i32 noundef 1)
  %70 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %9, i32 0, i32 0
  %71 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %70, i32 0, i32 0
  store i32 %69, ptr %71, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %7, i64 4, i1 false)
  %72 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %12, i32 0, i32 0
  %73 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %72, i32 0, i32 0
  %74 = load i32, ptr %73, align 4
  %75 = call i32 @_ZNK8OpenMesh11ArrayKernel18from_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %74)
  %76 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %11, i32 0, i32 0
  %77 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %76, i32 0, i32 0
  store i32 %75, ptr %77, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %7, i64 4, i1 false)
  %78 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %14, i32 0, i32 0
  %79 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 4
  %81 = call i32 @_ZNK8OpenMesh11ArrayKernel20prev_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %80)
  %82 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %13, i32 0, i32 0
  %83 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %82, i32 0, i32 0
  store i32 %81, ptr %83, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %9, i64 4, i1 false)
  %84 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %16, i32 0, i32 0
  %85 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %84, i32 0, i32 0
  %86 = load i32, ptr %85, align 4
  %87 = call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %86)
  %88 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %15, i32 0, i32 0
  %89 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %88, i32 0, i32 0
  store i32 %87, ptr %89, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %7, i64 4, i1 false)
  %90 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %18, i32 0, i32 0
  %91 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %90, i32 0, i32 0
  %92 = load i32, ptr %91, align 4
  %93 = call noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %59, i32 %92)
  %94 = zext i1 %93 to i8
  store i8 %94, ptr %17, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %9, i64 4, i1 false)
  %95 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %20, i32 0, i32 0
  %96 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 4
  %98 = call noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %59, i32 %97)
  %99 = zext i1 %98 to i8
  store i8 %99, ptr %19, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %7, i64 4, i1 false)
  %100 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %23, i32 0, i32 0
  %101 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 4
  %103 = call i32 @_ZNK8OpenMesh11ArrayKernel18from_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %102)
  %104 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %22, i32 0, i32 0
  %105 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %104, i32 0, i32 0
  store i32 %103, ptr %105, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %5, i64 4, i1 false)
  %106 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %22, i32 0, i32 0
  %107 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %106, i32 0, i32 0
  %108 = load i32, ptr %107, align 4
  %109 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %24, i32 0, i32 0
  %110 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 4
  %112 = call i32 @_ZN8OpenMesh11ArrayKernel8new_edgeENS_12VertexHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %108, i32 %111)
  %113 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %21, i32 0, i32 0
  %114 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %113, i32 0, i32 0
  store i32 %112, ptr %114, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %9, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %5, i64 4, i1 false)
  %115 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %25, i32 0, i32 0
  %116 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %115, i32 0, i32 0
  %117 = load i32, ptr %116, align 4
  %118 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %26, i32 0, i32 0
  %119 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 4
  call void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %117, i32 %120)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %21, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %7, i64 4, i1 false)
  %121 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %27, i32 0, i32 0
  %122 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %121, i32 0, i32 0
  %123 = load i32, ptr %122, align 4
  %124 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %28, i32 0, i32 0
  %125 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %124, i32 0, i32 0
  %126 = load i32, ptr %125, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %123, i32 %126)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %9, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %21, i64 4, i1 false)
  %127 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %31, i32 0, i32 0
  %128 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 4
  %130 = call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %129)
  %131 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %30, i32 0, i32 0
  %132 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %131, i32 0, i32 0
  store i32 %130, ptr %132, align 4
  %133 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %29, i32 0, i32 0
  %134 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %133, i32 0, i32 0
  %135 = load i32, ptr %134, align 4
  %136 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %30, i32 0, i32 0
  %137 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %135, i32 %138)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %13, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %21, i64 4, i1 false)
  %139 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %32, i32 0, i32 0
  %140 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %139, i32 0, i32 0
  %141 = load i32, ptr %140, align 4
  %142 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %33, i32 0, i32 0
  %143 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %141, i32 %144)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %21, i64 4, i1 false)
  %145 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %35, i32 0, i32 0
  %146 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 4
  %148 = call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %147)
  %149 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %34, i32 0, i32 0
  %150 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %149, i32 0, i32 0
  store i32 %148, ptr %150, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %15, i64 4, i1 false)
  %151 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %34, i32 0, i32 0
  %152 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %151, i32 0, i32 0
  %153 = load i32, ptr %152, align 4
  %154 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %36, i32 0, i32 0
  %155 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %153, i32 %156)
  %157 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %158 = trunc i8 %157 to i1
  br i1 %158, label %172, label %159

159:                                              ; preds = %3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %21, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %7, i64 4, i1 false)
  %160 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %39, i32 0, i32 0
  %161 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %160, i32 0, i32 0
  %162 = load i32, ptr %161, align 4
  %163 = call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %162)
  %164 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %38, i32 0, i32 0
  %165 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %164, i32 0, i32 0
  store i32 %163, ptr %165, align 4
  %166 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %37, i32 0, i32 0
  %167 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 4
  %169 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %38, i32 0, i32 0
  %170 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 4
  call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %168, i32 %171)
  br label %176

172:                                              ; preds = %3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %21, i64 4, i1 false)
  %173 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %40, i32 0, i32 0
  %174 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 4
  call void @_ZN8OpenMesh11ArrayKernel12set_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %175)
  br label %176

176:                                              ; preds = %172, %159
  %177 = load i8, ptr %19, align 1, !tbaa !9, !range !11, !noundef !12
  %178 = trunc i8 %177 to i1
  br i1 %178, label %198, label %179

179:                                              ; preds = %176
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %21, i64 4, i1 false)
  %180 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %42, i32 0, i32 0
  %181 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 4
  %183 = call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %182)
  %184 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %41, i32 0, i32 0
  %185 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %184, i32 0, i32 0
  store i32 %183, ptr %185, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %9, i64 4, i1 false)
  %186 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %44, i32 0, i32 0
  %187 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %186, i32 0, i32 0
  %188 = load i32, ptr %187, align 4
  %189 = call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %188)
  %190 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %43, i32 0, i32 0
  %191 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %190, i32 0, i32 0
  store i32 %189, ptr %191, align 4
  %192 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %41, i32 0, i32 0
  %193 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %192, i32 0, i32 0
  %194 = load i32, ptr %193, align 4
  %195 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %43, i32 0, i32 0
  %196 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %195, i32 0, i32 0
  %197 = load i32, ptr %196, align 4
  call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %194, i32 %197)
  br label %208

198:                                              ; preds = %176
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %21, i64 4, i1 false)
  %199 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %46, i32 0, i32 0
  %200 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %199, i32 0, i32 0
  %201 = load i32, ptr %200, align 4
  %202 = call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %201)
  %203 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %45, i32 0, i32 0
  %204 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %203, i32 0, i32 0
  store i32 %202, ptr %204, align 4
  %205 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %45, i32 0, i32 0
  %206 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %205, i32 0, i32 0
  %207 = load i32, ptr %206, align 4
  call void @_ZN8OpenMesh11ArrayKernel12set_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %207)
  br label %208

208:                                              ; preds = %198, %179
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %5, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %7, i64 4, i1 false)
  %209 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %47, i32 0, i32 0
  %210 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %209, i32 0, i32 0
  %211 = load i32, ptr %210, align 4
  %212 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %48, i32 0, i32 0
  %213 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %212, i32 0, i32 0
  %214 = load i32, ptr %213, align 4
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %211, i32 %214)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %5, i64 4, i1 false)
  %215 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %49, i32 0, i32 0
  %216 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %215, i32 0, i32 0
  %217 = load i32, ptr %216, align 4
  call void @_ZN8OpenMesh16PolyConnectivity24adjust_outgoing_halfedgeENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416) %59, i32 %217)
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %11, i64 4, i1 false)
  %218 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %51, i32 0, i32 0
  %219 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %218, i32 0, i32 0
  %220 = load i32, ptr %219, align 4
  %221 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %220)
  %222 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %50, i32 0, i32 0
  %223 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %222, i32 0, i32 0
  store i32 %221, ptr %223, align 4
  %224 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br i1 %224, label %225, label %235

225:                                              ; preds = %208
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %11, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %21, i64 4, i1 false)
  %226 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %52, i32 0, i32 0
  %227 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %226, i32 0, i32 0
  %228 = load i32, ptr %227, align 4
  %229 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %53, i32 0, i32 0
  %230 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %229, i32 0, i32 0
  %231 = load i32, ptr %230, align 4
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %59, i32 %228, i32 %231)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %11, i64 4, i1 false)
  %232 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %54, i32 0, i32 0
  %233 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %232, i32 0, i32 0
  %234 = load i32, ptr %233, align 4
  call void @_ZN8OpenMesh16PolyConnectivity24adjust_outgoing_halfedgeENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416) %59, i32 %234)
  br label %235

235:                                              ; preds = %225, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


; 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"

%"struct.OpenMesh::HalfedgeHandle" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }

; 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 dso_local noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) 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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh16PolyConnectivity24adjust_outgoing_halfedgeENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN8OpenMesh11ArrayKernel8new_edgeENS_12VertexHandleES1_(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel12set_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8OpenMesh16PolyConnectivity10split_edgeENS_10EdgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %1, i32 %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %5 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %6 = tail call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %1, i32 noundef 0)
  store i32 %6, ptr %4, align 4
  %7 = tail call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %1, i32 noundef 1)
  %8 = tail call i32 @_ZNK8OpenMesh11ArrayKernel18from_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %6)
  %9 = tail call i32 @_ZNK8OpenMesh11ArrayKernel20prev_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %6)
  %10 = tail call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %7)
  %11 = tail call noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %6)
  %12 = tail call noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %7)
  %13 = tail call i32 @_ZNK8OpenMesh11ArrayKernel18from_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %6)
  %14 = tail call i32 @_ZN8OpenMesh11ArrayKernel8new_edgeENS_12VertexHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %13, i32 %2)
  tail call void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %7, i32 %2)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14, i32 %6)
  %15 = tail call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %7, i32 %15)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %9, i32 %14)
  %16 = tail call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %16, i32 %10)
  br i1 %11, label %19, label %17

17:                                               ; preds = %3
  %18 = tail call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %6)
  tail call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14, i32 %18)
  br label %20

19:                                               ; preds = %3
  tail call void @_ZN8OpenMesh11ArrayKernel12set_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  br label %20

20:                                               ; preds = %19, %17
  %21 = tail call i32 @_ZNK8OpenMesh11ArrayKernel24opposite_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  br i1 %12, label %24, label %22

22:                                               ; preds = %20
  %23 = tail call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %7)
  tail call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %21, i32 %23)
  br label %25

24:                                               ; preds = %20
  tail call void @_ZN8OpenMesh11ArrayKernel12set_boundaryENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %21)
  br label %25

25:                                               ; preds = %24, %22
  tail call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %2, i32 %6)
  tail call void @_ZN8OpenMesh16PolyConnectivity24adjust_outgoing_halfedgeENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %26 = tail call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %8)
  store i32 %26, ptr %5, align 4
  %27 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br i1 %27, label %28, label %29

28:                                               ; preds = %25
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %8, i32 %14)
  call void @_ZN8OpenMesh16PolyConnectivity24adjust_outgoing_halfedgeENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %8)
  br label %29

29:                                               ; preds = %28, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  ret void
}

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 = { 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 = { 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 #4 = { 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)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass