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

; 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::HalfedgeHandle" = type { %"class.OpenMesh::BaseHandle" }
%"struct.OpenMesh::VertexHandle" = type { %"class.OpenMesh::BaseHandle" }
%"struct.OpenMesh::FaceHandle" = type { %"class.OpenMesh::BaseHandle" }

@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE = external hidden unnamed_addr constant [49 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) #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) #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) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_10FaceHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) #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) #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) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh15TriConnectivity10is_flip_okENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %1) #2 align 2 {
  %3 = alloca %"struct.OpenMesh::EdgeHandle", align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.OpenMesh::EdgeHandle", align 4
  %6 = alloca %"struct.OpenMesh::EdgeHandle", align 4
  %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::HalfedgeHandle", 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 %"struct.OpenMesh::HalfedgeHandle", align 4
  %18 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %19 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %20 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %21 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %22 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %23 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %24 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %25 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %26 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %27 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %28 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %29 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %30 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %31 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %32 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %33 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %34 = alloca %"struct.OpenMesh::VertexHandle", 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::HalfedgeHandle", 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::HalfedgeHandle", 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::HalfedgeHandle", align 4
  %48 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %49 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %50 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %51 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %52 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %53 = alloca %"struct.OpenMesh::FaceHandle", align 4
  %54 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %55 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %56 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %57 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %58 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %59 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %60 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %61 = alloca %"struct.OpenMesh::VertexHandle", align 4
  %62 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %63 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %3, i32 0, i32 0
  %64 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %63, i32 0, i32 0
  store i32 %1, ptr %64, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %65 = load ptr, ptr %4, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %3, i64 4, i1 false)
  %66 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %5, 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 noundef zeroext i1 @_ZNK8OpenMesh15TriConnectivity10is_flip_okENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %65, i32 %68)
  br i1 %69, label %70, label %71

70:                                               ; preds = %2
  br label %73

71:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 345, ptr noundef @__PRETTY_FUNCTION__._ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE) #5
  unreachable

72:                                               ; No predecessors!
  br label %73

73:                                               ; preds = %72, %70
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %3, i64 4, i1 false)
  %74 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %6, i32 0, i32 0
  %75 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %74, i32 0, i32 0
  %76 = load i32, ptr %75, align 4
  %77 = call noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %65, i32 %76)
  %78 = xor i1 %77, true
  br i1 %78, label %79, label %80

79:                                               ; preds = %73
  br label %82

80:                                               ; preds = %73
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 346, ptr noundef @__PRETTY_FUNCTION__._ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE) #5
  unreachable

81:                                               ; No predecessors!
  br label %82

82:                                               ; preds = %81, %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %3, i64 4, i1 false)
  %83 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %8, i32 0, i32 0
  %84 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %83, i32 0, i32 0
  %85 = load i32, ptr %84, align 4
  %86 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %85, i32 noundef 0)
  %87 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %7, i32 0, i32 0
  %88 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %87, i32 0, i32 0
  store i32 %86, ptr %88, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %3, i64 4, i1 false)
  %89 = getelementptr inbounds %"struct.OpenMesh::EdgeHandle", ptr %10, i32 0, i32 0
  %90 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %89, i32 0, i32 0
  %91 = load i32, ptr %90, align 4
  %92 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %91, i32 noundef 1)
  %93 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %9, i32 0, i32 0
  %94 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %93, i32 0, i32 0
  store i32 %92, ptr %94, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %7, i64 4, i1 false)
  %95 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %12, 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 i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %97)
  %99 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %11, i32 0, i32 0
  %100 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %99, i32 0, i32 0
  store i32 %98, ptr %100, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %11, i64 4, i1 false)
  %101 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %14, i32 0, i32 0
  %102 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 4
  %104 = call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %103)
  %105 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %13, i32 0, i32 0
  %106 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %105, i32 0, i32 0
  store i32 %104, ptr %106, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %9, i64 4, i1 false)
  %107 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %16, i32 0, i32 0
  %108 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 4
  %110 = call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %109)
  %111 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %15, i32 0, i32 0
  %112 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %111, i32 0, i32 0
  store i32 %110, ptr %112, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %15, i64 4, i1 false)
  %113 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %18, i32 0, i32 0
  %114 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 4
  %116 = call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %115)
  %117 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %17, i32 0, i32 0
  %118 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %117, i32 0, i32 0
  store i32 %116, ptr %118, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %7, i64 4, i1 false)
  %119 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %20, i32 0, i32 0
  %120 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 4
  %122 = call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %121)
  %123 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %19, i32 0, i32 0
  %124 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %123, i32 0, i32 0
  store i32 %122, ptr %124, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %11, i64 4, i1 false)
  %125 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %22, i32 0, i32 0
  %126 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 4
  %128 = call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %127)
  %129 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %21, i32 0, i32 0
  %130 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %129, i32 0, i32 0
  store i32 %128, ptr %130, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %9, i64 4, i1 false)
  %131 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %24, i32 0, i32 0
  %132 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %131, i32 0, i32 0
  %133 = load i32, ptr %132, align 4
  %134 = call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %133)
  %135 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %23, i32 0, i32 0
  %136 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %135, i32 0, i32 0
  store i32 %134, ptr %136, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %15, i64 4, i1 false)
  %137 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %26, i32 0, i32 0
  %138 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %137, i32 0, i32 0
  %139 = load i32, ptr %138, align 4
  %140 = call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %139)
  %141 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %25, i32 0, i32 0
  %142 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %141, i32 0, i32 0
  store i32 %140, ptr %142, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %7, i64 4, i1 false)
  %143 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %28, i32 0, i32 0
  %144 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %143, i32 0, i32 0
  %145 = load i32, ptr %144, align 4
  %146 = call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %145)
  %147 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %27, i32 0, i32 0
  %148 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %147, i32 0, i32 0
  store i32 %146, ptr %148, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %9, i64 4, i1 false)
  %149 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %30, i32 0, i32 0
  %150 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %149, i32 0, i32 0
  %151 = load i32, ptr %150, align 4
  %152 = call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %151)
  %153 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %29, i32 0, i32 0
  %154 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %153, i32 0, i32 0
  store i32 %152, ptr %154, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %7, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %21, i64 4, i1 false)
  %155 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %31, i32 0, i32 0
  %156 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %155, i32 0, i32 0
  %157 = load i32, ptr %156, align 4
  %158 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %32, i32 0, i32 0
  %159 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %158, i32 0, i32 0
  %160 = load i32, ptr %159, align 4
  call void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %157, i32 %160)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %9, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %25, i64 4, i1 false)
  %161 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %33, i32 0, i32 0
  %162 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 4
  %164 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %34, i32 0, i32 0
  %165 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %164, i32 0, i32 0
  %166 = load i32, ptr %165, align 4
  call void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %163, i32 %166)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %7, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %13, i64 4, i1 false)
  %167 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %35, i32 0, i32 0
  %168 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 4
  %170 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %36, i32 0, i32 0
  %171 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %170, i32 0, i32 0
  %172 = load i32, ptr %171, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %169, i32 %172)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %13, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %15, i64 4, i1 false)
  %173 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %37, i32 0, i32 0
  %174 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 4
  %176 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %38, i32 0, i32 0
  %177 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %176, i32 0, i32 0
  %178 = load i32, ptr %177, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %175, i32 %178)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %15, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %7, i64 4, i1 false)
  %179 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %39, i32 0, i32 0
  %180 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 4
  %182 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %40, i32 0, i32 0
  %183 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %182, i32 0, i32 0
  %184 = load i32, ptr %183, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %181, i32 %184)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %9, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %17, i64 4, i1 false)
  %185 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %41, i32 0, i32 0
  %186 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %185, i32 0, i32 0
  %187 = load i32, ptr %186, align 4
  %188 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %42, i32 0, i32 0
  %189 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %188, i32 0, i32 0
  %190 = load i32, ptr %189, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %187, i32 %190)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %17, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %11, i64 4, i1 false)
  %191 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %43, i32 0, i32 0
  %192 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %191, i32 0, i32 0
  %193 = load i32, ptr %192, align 4
  %194 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %44, i32 0, i32 0
  %195 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %193, i32 %196)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 4 %11, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %9, i64 4, i1 false)
  %197 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %45, i32 0, i32 0
  %198 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %197, i32 0, i32 0
  %199 = load i32, ptr %198, align 4
  %200 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %46, i32 0, i32 0
  %201 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %200, i32 0, i32 0
  %202 = load i32, ptr %201, align 4
  call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %199, i32 %202)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %11, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %29, i64 4, i1 false)
  %203 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %47, i32 0, i32 0
  %204 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %203, i32 0, i32 0
  %205 = load i32, ptr %204, align 4
  %206 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %48, i32 0, i32 0
  %207 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %206, i32 0, i32 0
  %208 = load i32, ptr %207, align 4
  call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %205, i32 %208)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %15, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %27, i64 4, i1 false)
  %209 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %49, 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::FaceHandle", ptr %50, 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 @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %211, i32 %214)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %27, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %7, i64 4, i1 false)
  %215 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %51, i32 0, i32 0
  %216 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %215, i32 0, i32 0
  %217 = load i32, ptr %216, align 4
  %218 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %52, i32 0, i32 0
  %219 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %218, i32 0, i32 0
  %220 = load i32, ptr %219, align 4
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_10FaceHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %217, i32 %220)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %29, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %9, i64 4, i1 false)
  %221 = getelementptr inbounds %"struct.OpenMesh::FaceHandle", ptr %53, i32 0, i32 0
  %222 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %221, i32 0, i32 0
  %223 = load i32, ptr %222, align 4
  %224 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %54, i32 0, i32 0
  %225 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %224, i32 0, i32 0
  %226 = load i32, ptr %225, align 4
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_10FaceHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %223, i32 %226)
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %19, i64 4, i1 false)
  %227 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %56, i32 0, i32 0
  %228 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %227, i32 0, i32 0
  %229 = load i32, ptr %228, align 4
  %230 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %229)
  %231 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %55, i32 0, i32 0
  %232 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %231, i32 0, i32 0
  store i32 %230, ptr %232, align 4
  %233 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  br i1 %233, label %234, label %241

234:                                              ; preds = %82
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %19, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %11, i64 4, i1 false)
  %235 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %57, i32 0, i32 0
  %236 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %235, i32 0, i32 0
  %237 = load i32, ptr %236, align 4
  %238 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %58, i32 0, i32 0
  %239 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %238, i32 0, i32 0
  %240 = load i32, ptr %239, align 4
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %237, i32 %240)
  br label %241

241:                                              ; preds = %234, %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %23, i64 4, i1 false)
  %242 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %60, i32 0, i32 0
  %243 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %242, i32 0, i32 0
  %244 = load i32, ptr %243, align 4
  %245 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %244)
  %246 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %59, i32 0, i32 0
  %247 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %246, i32 0, i32 0
  store i32 %245, ptr %247, align 4
  %248 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  br i1 %248, label %249, label %256

249:                                              ; preds = %241
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %23, i64 4, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %15, i64 4, i1 false)
  %250 = getelementptr inbounds %"struct.OpenMesh::VertexHandle", ptr %61, i32 0, i32 0
  %251 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %250, i32 0, i32 0
  %252 = load i32, ptr %251, align 4
  %253 = getelementptr inbounds %"struct.OpenMesh::HalfedgeHandle", ptr %62, i32 0, i32 0
  %254 = getelementptr inbounds %"class.OpenMesh::BaseHandle", ptr %253, i32 0, i32 0
  %255 = load i32, ptr %254, align 4
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %65, i32 %252, i32 %255)
  br label %256

256:                                              ; preds = %249, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret void
}

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


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

@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE = external hidden unnamed_addr constant [49 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) local_unnamed_addr #1 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 #1 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32) local_unnamed_addr #1 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 #1 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 #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_10FaceHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368), i32, i32) local_unnamed_addr #1 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 #1 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 #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8OpenMesh15TriConnectivity10is_flip_okENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416), i32) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %4 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %5 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %6 = alloca %"struct.OpenMesh::HalfedgeHandle", align 4
  %7 = tail call noundef zeroext i1 @_ZNK8OpenMesh15TriConnectivity10is_flip_okENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %1)
  br i1 %7, label %9, label %8

8:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 345, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE) #4
  unreachable

9:                                                ; preds = %2
  %10 = tail call noundef zeroext i1 @_ZNK8OpenMesh16PolyConnectivity11is_boundaryENS_10EdgeHandleE(ptr noundef nonnull align 8 dereferenceable(416) %0, i32 %1)
  br i1 %10, label %11, label %12

11:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 346, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8OpenMesh15TriConnectivity4flipENS_10EdgeHandleE) #4
  unreachable

12:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %13 = tail call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %1, i32 noundef 0)
  store i32 %13, ptr %3, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %14 = tail call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_10EdgeHandleEj(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %1, i32 noundef 1)
  store i32 %14, ptr %4, align 4
  %15 = tail call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %13)
  %16 = tail call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %15)
  %17 = tail call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  %18 = tail call i32 @_ZNK8OpenMesh11ArrayKernel20next_halfedge_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %17)
  %19 = tail call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %13)
  %20 = tail call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %15)
  %21 = tail call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  %22 = tail call i32 @_ZNK8OpenMesh11ArrayKernel16to_vertex_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %17)
  %23 = tail call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %13)
  %24 = tail call i32 @_ZNK8OpenMesh11ArrayKernel11face_handleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14)
  tail call void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %13, i32 %20)
  tail call void @_ZN8OpenMesh11ArrayKernel17set_vertex_handleENS_14HalfedgeHandleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14, i32 %22)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %13, i32 %16)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %16, i32 %17)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %17, i32 %13)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %14, i32 %18)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %18, i32 %15)
  tail call void @_ZN8OpenMesh11ArrayKernel24set_next_halfedge_handleENS_14HalfedgeHandleES1_(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %15, i32 %14)
  tail call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %15, i32 %24)
  tail call void @_ZN8OpenMesh11ArrayKernel15set_face_handleENS_14HalfedgeHandleENS_10FaceHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %17, i32 %23)
  tail call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_10FaceHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %23, i32 %13)
  tail call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_10FaceHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %24, i32 %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %25 = tail call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %19)
  store i32 %25, ptr %5, align 4
  %26 = 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) #5
  br i1 %26, label %27, label %28

27:                                               ; preds = %12
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %19, i32 %15)
  br label %28

28:                                               ; preds = %27, %12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %29 = call i32 @_ZNK8OpenMesh11ArrayKernel15halfedge_handleENS_12VertexHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %21)
  store i32 %29, ptr %6, align 4
  %30 = call noundef zeroext i1 @_ZNK8OpenMesh10BaseHandleeqERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  call void @_ZN8OpenMesh11ArrayKernel19set_halfedge_handleENS_12VertexHandleENS_14HalfedgeHandleE(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 %21, i32 %17)
  br label %32

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

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


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