; LLVM IR from PaddlePaddle/Serving :: core/predictor/tools/ocrtools (clipper)

; 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.ClipperLib::IntPoint" = type { i64, i64 }
%"class.ClipperLib::ClipperBase" = type { ptr, %"class.__gnu_cxx::__normal_iterator", %"class.std::vector.5", i8, %"class.std::vector.10", i8, i8, %"class.std::vector.15", ptr, %"class.std::priority_queue" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.20", [8 x i8] }>
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.ClipperLib::Clipper" = type <{ ptr, %"class.std::vector.33", %"class.std::vector.33", %"class.std::vector.38", i32, [4 x i8], %"class.std::__cxx11::list", ptr, i8, [3 x i8], i32, i32, i8, i8, i8, i8, %"class.ClipperLib::ClipperBase" }>
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<long long, std::allocator<long long>>::_List_impl" }
%"struct.std::__cxx11::_List_base<long long, std::allocator<long long>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"struct.ClipperLib::TEdge" = type { %"struct.ClipperLib::IntPoint", %"struct.ClipperLib::IntPoint", %"struct.ClipperLib::IntPoint", double, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

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

; Function Attrs: 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 uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib11SlopesEqualENS_8IntPointES0_S0_S0_b(i64, i64, i64, i64, i64, i64, ptr noundef byval(%"struct.ClipperLib::IntPoint") align 8, i1 noundef zeroext) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib12IsHorizontalERNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(136)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ClipperLib7Clipper18ProcessHorizontalsEv(ptr noundef nonnull align 8 dereferenceable(135)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ClipperLib7Clipper27ProcessEdgesAtTopOfScanbeamEx(ptr noundef nonnull align 8 dereferenceable(135) %0, i64 noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.ClipperLib::IntPoint", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.ClipperLib::IntPoint", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.ClipperLib::IntPoint", align 8
  %18 = alloca %"struct.ClipperLib::IntPoint", align 8
  %19 = alloca %"struct.ClipperLib::IntPoint", align 8
  %20 = alloca %"struct.ClipperLib::IntPoint", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.ClipperLib::IntPoint", align 8
  %23 = alloca %"struct.ClipperLib::IntPoint", align 8
  %24 = alloca %"struct.ClipperLib::IntPoint", align 8
  %25 = alloca %"struct.ClipperLib::IntPoint", align 8
  %26 = alloca %"struct.ClipperLib::IntPoint", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"struct.ClipperLib::IntPoint", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %29 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr i8, ptr %30, i64 -24
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %29, i64 %32
  %34 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %33, i32 0, i32 8
  %35 = load ptr, ptr %34, align 8, !tbaa !13
  store ptr %35, ptr %5, align 8, !tbaa !5
  br label %36

36:                                               ; preds = %183, %2
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %184

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = load i64, ptr %4, align 8, !tbaa !9
  %42 = call noundef zeroext i1 @_ZN10ClipperLib8IsMaximaEPNS_5TEdgeEx(ptr noundef %40, i64 noundef %41)
  %43 = zext i1 %42 to i8
  store i8 %43, ptr %6, align 1, !tbaa !35
  %44 = load i8, ptr %6, align 1, !tbaa !35, !range !36, !noundef !37
  %45 = trunc i8 %44 to i1
  br i1 %45, label %46, label %58

46:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = call noundef ptr @_ZN10ClipperLib15GetMaximaPairExEPNS_5TEdgeE(ptr noundef %47)
  store ptr %48, ptr %7, align 8, !tbaa !5
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %55

51:                                               ; preds = %46
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = call noundef zeroext i1 @_ZN10ClipperLib12IsHorizontalERNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(136) %52)
  %54 = xor i1 %53, true
  br label %55

55:                                               ; preds = %51, %46
  %56 = phi i1 [ true, %46 ], [ %54, %51 ]
  %57 = zext i1 %56 to i8
  store i8 %57, ptr %6, align 1, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %58

58:                                               ; preds = %55, %39
  %59 = load i8, ptr %6, align 1, !tbaa !35, !range !36, !noundef !37
  %60 = trunc i8 %59 to i1
  br i1 %60, label %61, label %89

61:                                               ; preds = %58
  %62 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %29, i32 0, i32 14
  %63 = load i8, ptr %62, align 2, !tbaa !38, !range !36, !noundef !37
  %64 = trunc i8 %63 to i1
  br i1 %64, label %65, label %70

65:                                               ; preds = %61
  %66 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %29, i32 0, i32 6
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %67, i32 0, i32 2
  %69 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %68, i32 0, i32 0
  call void @_ZNSt7__cxx114listIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(8) %69)
  br label %70

70:                                               ; preds = %65, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %71, i32 0, i32 14
  %73 = load ptr, ptr %72, align 8, !tbaa !56
  store ptr %73, ptr %8, align 8, !tbaa !5
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10ClipperLib7Clipper8DoMaximaEPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %74)
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %84, label %77

77:                                               ; preds = %70
  %78 = load ptr, ptr %29, align 8, !tbaa !11
  %79 = getelementptr i8, ptr %78, i64 -24
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds i8, ptr %29, i64 %80
  %82 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %81, i32 0, i32 8
  %83 = load ptr, ptr %82, align 8, !tbaa !13
  store ptr %83, ptr %5, align 8, !tbaa !5
  br label %88

84:                                               ; preds = %70
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %85, i32 0, i32 13
  %87 = load ptr, ptr %86, align 8, !tbaa !63
  store ptr %87, ptr %5, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %84, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %183

89:                                               ; preds = %58
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i64, ptr %4, align 8, !tbaa !9
  %92 = call noundef zeroext i1 @_ZN10ClipperLib14IsIntermediateEPNS_5TEdgeEx(ptr noundef %90, i64 noundef %91)
  br i1 %92, label %93, label %114

93:                                               ; preds = %89
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %94, i32 0, i32 12
  %96 = load ptr, ptr %95, align 8, !tbaa !64
  %97 = call noundef zeroext i1 @_ZN10ClipperLib12IsHorizontalERNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(136) %96)
  br i1 %97, label %98, label %114

98:                                               ; preds = %93
  %99 = load ptr, ptr %29, align 8, !tbaa !11
  %100 = getelementptr i8, ptr %99, i64 -24
  %101 = load i64, ptr %100, align 8
  %102 = getelementptr inbounds i8, ptr %29, i64 %101
  call void @_ZN10ClipperLib11ClipperBase17UpdateEdgeIntoAELERPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(144) %102, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %103, i32 0, i32 9
  %105 = load i32, ptr %104, align 4, !tbaa !65
  %106 = icmp sge i32 %105, 0
  br i1 %106, label %107, label %112

107:                                              ; preds = %98
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %109, i32 0, i32 0
  %111 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %108, ptr noundef nonnull align 8 dereferenceable(16) %110)
  br label %112

112:                                              ; preds = %107, %98
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10ClipperLib7Clipper12AddEdgeToSELEPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %113)
  br label %125

114:                                              ; preds = %93, %89
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = load i64, ptr %4, align 8, !tbaa !9
  %117 = call noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136) %115, i64 noundef %116)
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %118, i32 0, i32 1
  %120 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %119, i32 0, i32 0
  store i64 %117, ptr %120, align 8, !tbaa !66
  %121 = load i64, ptr %4, align 8, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %122, i32 0, i32 1
  %124 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %123, i32 0, i32 1
  store i64 %121, ptr %124, align 8, !tbaa !67
  br label %125

125:                                              ; preds = %114, %112
  %126 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %29, i32 0, i32 14
  %127 = load i8, ptr %126, align 2, !tbaa !38, !range !36, !noundef !37
  %128 = trunc i8 %127 to i1
  br i1 %128, label %129, label %179

129:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %130, i32 0, i32 14
  %132 = load ptr, ptr %131, align 8, !tbaa !56
  store ptr %132, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %133, i32 0, i32 9
  %135 = load i32, ptr %134, align 4, !tbaa !65
  %136 = icmp sge i32 %135, 0
  br i1 %136, label %137, label %178

137:                                              ; preds = %129
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %138, i32 0, i32 6
  %140 = load i32, ptr %139, align 8, !tbaa !68
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %178

142:                                              ; preds = %137
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = icmp ne ptr %143, null
  br i1 %144, label %145, label %178

145:                                              ; preds = %142
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %146, i32 0, i32 9
  %148 = load i32, ptr %147, align 4, !tbaa !65
  %149 = icmp sge i32 %148, 0
  br i1 %149, label %150, label %178

150:                                              ; preds = %145
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %151, i32 0, i32 1
  %153 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %152, i32 0, i32 0
  %154 = load i64, ptr %153, align 8, !tbaa !66
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %155, i32 0, i32 1
  %157 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %156, i32 0, i32 0
  %158 = load i64, ptr %157, align 8, !tbaa !66
  %159 = icmp eq i64 %154, %158
  br i1 %159, label %160, label %178

160:                                              ; preds = %150
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %161, i32 0, i32 6
  %163 = load i32, ptr %162, align 8, !tbaa !68
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %178

165:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %166, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %167, i64 16, i1 false), !tbaa.struct !69
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %168, ptr noundef nonnull align 8 dereferenceable(16) %10)
  store ptr %169, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %170, ptr noundef nonnull align 8 dereferenceable(16) %10)
  store ptr %171, ptr %12, align 8, !tbaa !5
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !69
  %174 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %175 = load i64, ptr %174, align 8
  %176 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %177 = load i64, ptr %176, align 8
  call void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %172, ptr noundef %173, i64 %175, i64 %177)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  br label %178

178:                                              ; preds = %165, %160, %150, %145, %142, %137, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %179

179:                                              ; preds = %178, %125
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %180, i32 0, i32 13
  %182 = load ptr, ptr %181, align 8, !tbaa !63
  store ptr %182, ptr %5, align 8, !tbaa !5
  br label %183

183:                                              ; preds = %179, %88
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  br label %36, !llvm.loop !70

184:                                              ; preds = %36
  %185 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %29, i32 0, i32 6
  call void @_ZNSt7__cxx114listIxSaIxEE4sortEv(ptr noundef nonnull align 8 dereferenceable(24) %185)
  call void @_ZN10ClipperLib7Clipper18ProcessHorizontalsEv(ptr noundef nonnull align 8 dereferenceable(135) %29)
  %186 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %29, i32 0, i32 6
  call void @_ZNSt7__cxx114listIxSaIxEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %186) #6
  %187 = load ptr, ptr %29, align 8, !tbaa !11
  %188 = getelementptr i8, ptr %187, i64 -24
  %189 = load i64, ptr %188, align 8
  %190 = getelementptr inbounds i8, ptr %29, i64 %189
  %191 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %190, i32 0, i32 8
  %192 = load ptr, ptr %191, align 8, !tbaa !13
  store ptr %192, ptr %5, align 8, !tbaa !5
  br label %193

193:                                              ; preds = %408, %184
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = icmp ne ptr %194, null
  br i1 %195, label %196, label %412

196:                                              ; preds = %193
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = load i64, ptr %4, align 8, !tbaa !9
  %199 = call noundef zeroext i1 @_ZN10ClipperLib14IsIntermediateEPNS_5TEdgeEx(ptr noundef %197, i64 noundef %198)
  br i1 %199, label %200, label %408

200:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store ptr null, ptr %14, align 8, !tbaa !5
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %201, i32 0, i32 9
  %203 = load i32, ptr %202, align 4, !tbaa !65
  %204 = icmp sge i32 %203, 0
  br i1 %204, label %205, label %210

205:                                              ; preds = %200
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %207, i32 0, i32 2
  %209 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %206, ptr noundef nonnull align 8 dereferenceable(16) %208)
  store ptr %209, ptr %14, align 8, !tbaa !5
  br label %210

210:                                              ; preds = %205, %200
  %211 = load ptr, ptr %29, align 8, !tbaa !11
  %212 = getelementptr i8, ptr %211, i64 -24
  %213 = load i64, ptr %212, align 8
  %214 = getelementptr inbounds i8, ptr %29, i64 %213
  call void @_ZN10ClipperLib11ClipperBase17UpdateEdgeIntoAELERPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(144) %214, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %215, i32 0, i32 14
  %217 = load ptr, ptr %216, align 8, !tbaa !56
  store ptr %217, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %218, i32 0, i32 13
  %220 = load ptr, ptr %219, align 8, !tbaa !63
  store ptr %220, ptr %16, align 8, !tbaa !5
  %221 = load ptr, ptr %15, align 8, !tbaa !5
  %222 = icmp ne ptr %221, null
  br i1 %222, label %223, label %313

223:                                              ; preds = %210
  %224 = load ptr, ptr %15, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %224, i32 0, i32 1
  %226 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %225, i32 0, i32 0
  %227 = load i64, ptr %226, align 8, !tbaa !66
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %228, i32 0, i32 0
  %230 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %229, i32 0, i32 0
  %231 = load i64, ptr %230, align 8, !tbaa !72
  %232 = icmp eq i64 %227, %231
  br i1 %232, label %233, label %313

233:                                              ; preds = %223
  %234 = load ptr, ptr %15, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %234, i32 0, i32 1
  %236 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %235, i32 0, i32 1
  %237 = load i64, ptr %236, align 8, !tbaa !67
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %239, i32 0, i32 1
  %241 = load i64, ptr %240, align 8, !tbaa !73
  %242 = icmp eq i64 %237, %241
  br i1 %242, label %243, label %313

243:                                              ; preds = %233
  %244 = load ptr, ptr %14, align 8, !tbaa !5
  %245 = icmp ne ptr %244, null
  br i1 %245, label %246, label %313

246:                                              ; preds = %243
  %247 = load ptr, ptr %15, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %247, i32 0, i32 9
  %249 = load i32, ptr %248, align 4, !tbaa !65
  %250 = icmp sge i32 %249, 0
  br i1 %250, label %251, label %313

251:                                              ; preds = %246
  %252 = load ptr, ptr %15, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %252, i32 0, i32 1
  %254 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %253, i32 0, i32 1
  %255 = load i64, ptr %254, align 8, !tbaa !67
  %256 = load ptr, ptr %15, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %256, i32 0, i32 2
  %258 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %257, i32 0, i32 1
  %259 = load i64, ptr %258, align 8, !tbaa !74
  %260 = icmp sgt i64 %255, %259
  br i1 %260, label %261, label %313

261:                                              ; preds = %251
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %262, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %263, i64 16, i1 false), !tbaa.struct !69
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %264, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %265, i64 16, i1 false), !tbaa.struct !69
  %266 = load ptr, ptr %15, align 8, !tbaa !5
  %267 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %266, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %267, i64 16, i1 false), !tbaa.struct !69
  %268 = load ptr, ptr %15, align 8, !tbaa !5
  %269 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %268, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %269, i64 16, i1 false), !tbaa.struct !69
  %270 = load ptr, ptr %29, align 8, !tbaa !11
  %271 = getelementptr i8, ptr %270, i64 -24
  %272 = load i64, ptr %271, align 8
  %273 = getelementptr inbounds i8, ptr %29, i64 %272
  %274 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %273, i32 0, i32 3
  %275 = load i8, ptr %274, align 8, !tbaa !75, !range !36, !noundef !37
  %276 = trunc i8 %275 to i1
  %277 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 0
  %278 = load i64, ptr %277, align 8
  %279 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 1
  %280 = load i64, ptr %279, align 8
  %281 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 0
  %282 = load i64, ptr %281, align 8
  %283 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 1
  %284 = load i64, ptr %283, align 8
  %285 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 0
  %286 = load i64, ptr %285, align 8
  %287 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 1
  %288 = load i64, ptr %287, align 8
  %289 = call noundef zeroext i1 @_ZN10ClipperLib11SlopesEqualENS_8IntPointES0_S0_S0_b(i64 %278, i64 %280, i64 %282, i64 %284, i64 %286, i64 %288, ptr noundef byval(%"struct.ClipperLib::IntPoint") align 8 %20, i1 noundef zeroext %276)
  br i1 %289, label %290, label %313

290:                                              ; preds = %261
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %291, i32 0, i32 6
  %293 = load i32, ptr %292, align 8, !tbaa !68
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %313

295:                                              ; preds = %290
  %296 = load ptr, ptr %15, align 8, !tbaa !5
  %297 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %296, i32 0, i32 6
  %298 = load i32, ptr %297, align 8, !tbaa !68
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %313

300:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %301 = load ptr, ptr %15, align 8, !tbaa !5
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %302, i32 0, i32 0
  %304 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %301, ptr noundef nonnull align 8 dereferenceable(16) %303)
  store ptr %304, ptr %21, align 8, !tbaa !5
  %305 = load ptr, ptr %14, align 8, !tbaa !5
  %306 = load ptr, ptr %21, align 8, !tbaa !5
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %307, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %308, i64 16, i1 false), !tbaa.struct !69
  %309 = getelementptr inbounds { i64, i64 }, ptr %22, i32 0, i32 0
  %310 = load i64, ptr %309, align 8
  %311 = getelementptr inbounds { i64, i64 }, ptr %22, i32 0, i32 1
  %312 = load i64, ptr %311, align 8
  call void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %305, ptr noundef %306, i64 %310, i64 %312)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %407

313:                                              ; preds = %295, %290, %261, %251, %246, %243, %233, %223, %210
  %314 = load ptr, ptr %16, align 8, !tbaa !5
  %315 = icmp ne ptr %314, null
  br i1 %315, label %316, label %406

316:                                              ; preds = %313
  %317 = load ptr, ptr %16, align 8, !tbaa !5
  %318 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %317, i32 0, i32 1
  %319 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %318, i32 0, i32 0
  %320 = load i64, ptr %319, align 8, !tbaa !66
  %321 = load ptr, ptr %5, align 8, !tbaa !5
  %322 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %321, i32 0, i32 0
  %323 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %322, i32 0, i32 0
  %324 = load i64, ptr %323, align 8, !tbaa !72
  %325 = icmp eq i64 %320, %324
  br i1 %325, label %326, label %406

326:                                              ; preds = %316
  %327 = load ptr, ptr %16, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %327, i32 0, i32 1
  %329 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %328, i32 0, i32 1
  %330 = load i64, ptr %329, align 8, !tbaa !67
  %331 = load ptr, ptr %5, align 8, !tbaa !5
  %332 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %331, i32 0, i32 0
  %333 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %332, i32 0, i32 1
  %334 = load i64, ptr %333, align 8, !tbaa !73
  %335 = icmp eq i64 %330, %334
  br i1 %335, label %336, label %406

336:                                              ; preds = %326
  %337 = load ptr, ptr %14, align 8, !tbaa !5
  %338 = icmp ne ptr %337, null
  br i1 %338, label %339, label %406

339:                                              ; preds = %336
  %340 = load ptr, ptr %16, align 8, !tbaa !5
  %341 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %340, i32 0, i32 9
  %342 = load i32, ptr %341, align 4, !tbaa !65
  %343 = icmp sge i32 %342, 0
  br i1 %343, label %344, label %406

344:                                              ; preds = %339
  %345 = load ptr, ptr %16, align 8, !tbaa !5
  %346 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %345, i32 0, i32 1
  %347 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %346, i32 0, i32 1
  %348 = load i64, ptr %347, align 8, !tbaa !67
  %349 = load ptr, ptr %16, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %349, i32 0, i32 2
  %351 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %350, i32 0, i32 1
  %352 = load i64, ptr %351, align 8, !tbaa !74
  %353 = icmp sgt i64 %348, %352
  br i1 %353, label %354, label %406

354:                                              ; preds = %344
  %355 = load ptr, ptr %5, align 8, !tbaa !5
  %356 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %355, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %356, i64 16, i1 false), !tbaa.struct !69
  %357 = load ptr, ptr %5, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %357, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %358, i64 16, i1 false), !tbaa.struct !69
  %359 = load ptr, ptr %16, align 8, !tbaa !5
  %360 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %359, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %360, i64 16, i1 false), !tbaa.struct !69
  %361 = load ptr, ptr %16, align 8, !tbaa !5
  %362 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %361, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %362, i64 16, i1 false), !tbaa.struct !69
  %363 = load ptr, ptr %29, align 8, !tbaa !11
  %364 = getelementptr i8, ptr %363, i64 -24
  %365 = load i64, ptr %364, align 8
  %366 = getelementptr inbounds i8, ptr %29, i64 %365
  %367 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %366, i32 0, i32 3
  %368 = load i8, ptr %367, align 8, !tbaa !75, !range !36, !noundef !37
  %369 = trunc i8 %368 to i1
  %370 = getelementptr inbounds { i64, i64 }, ptr %23, i32 0, i32 0
  %371 = load i64, ptr %370, align 8
  %372 = getelementptr inbounds { i64, i64 }, ptr %23, i32 0, i32 1
  %373 = load i64, ptr %372, align 8
  %374 = getelementptr inbounds { i64, i64 }, ptr %24, i32 0, i32 0
  %375 = load i64, ptr %374, align 8
  %376 = getelementptr inbounds { i64, i64 }, ptr %24, i32 0, i32 1
  %377 = load i64, ptr %376, align 8
  %378 = getelementptr inbounds { i64, i64 }, ptr %25, i32 0, i32 0
  %379 = load i64, ptr %378, align 8
  %380 = getelementptr inbounds { i64, i64 }, ptr %25, i32 0, i32 1
  %381 = load i64, ptr %380, align 8
  %382 = call noundef zeroext i1 @_ZN10ClipperLib11SlopesEqualENS_8IntPointES0_S0_S0_b(i64 %371, i64 %373, i64 %375, i64 %377, i64 %379, i64 %381, ptr noundef byval(%"struct.ClipperLib::IntPoint") align 8 %26, i1 noundef zeroext %369)
  br i1 %382, label %383, label %406

383:                                              ; preds = %354
  %384 = load ptr, ptr %5, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %384, i32 0, i32 6
  %386 = load i32, ptr %385, align 8, !tbaa !68
  %387 = icmp ne i32 %386, 0
  br i1 %387, label %388, label %406

388:                                              ; preds = %383
  %389 = load ptr, ptr %16, align 8, !tbaa !5
  %390 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %389, i32 0, i32 6
  %391 = load i32, ptr %390, align 8, !tbaa !68
  %392 = icmp ne i32 %391, 0
  br i1 %392, label %393, label %406

393:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %394 = load ptr, ptr %16, align 8, !tbaa !5
  %395 = load ptr, ptr %5, align 8, !tbaa !5
  %396 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %395, i32 0, i32 0
  %397 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %394, ptr noundef nonnull align 8 dereferenceable(16) %396)
  store ptr %397, ptr %27, align 8, !tbaa !5
  %398 = load ptr, ptr %14, align 8, !tbaa !5
  %399 = load ptr, ptr %27, align 8, !tbaa !5
  %400 = load ptr, ptr %5, align 8, !tbaa !5
  %401 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %400, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %401, i64 16, i1 false), !tbaa.struct !69
  %402 = getelementptr inbounds { i64, i64 }, ptr %28, i32 0, i32 0
  %403 = load i64, ptr %402, align 8
  %404 = getelementptr inbounds { i64, i64 }, ptr %28, i32 0, i32 1
  %405 = load i64, ptr %404, align 8
  call void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %29, ptr noundef %398, ptr noundef %399, i64 %403, i64 %405)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %406

406:                                              ; preds = %393, %388, %383, %354, %344, %339, %336, %326, %316, %313
  br label %407

407:                                              ; preds = %406, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %408

408:                                              ; preds = %407, %196
  %409 = load ptr, ptr %5, align 8, !tbaa !5
  %410 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %409, i32 0, i32 13
  %411 = load ptr, ptr %410, align 8, !tbaa !63
  store ptr %411, ptr %5, align 8, !tbaa !5
  br label %193, !llvm.loop !76

412:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135), ptr noundef, ptr noundef, i64, i64) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib7Clipper12AddEdgeToSELEPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(135), ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN10ClipperLib15GetMaximaPairExEPNS_5TEdgeE(ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib8IsMaximaEPNS_5TEdgeEx(ptr noundef, i64 noundef) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib14IsIntermediateEPNS_5TEdgeEx(ptr noundef, i64 noundef) #4

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 104}
!14 = !{!"_ZTSN10ClipperLib11ClipperBaseE", !15, i64 8, !16, i64 16, !20, i64 40, !21, i64 48, !20, i64 72, !20, i64 73, !25, i64 80, !6, i64 104, !29, i64 112}
!15 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPN10ClipperLib12LocalMinimumESt6vectorIS2_SaIS2_EEEE", !6, i64 0}
!16 = !{!"_ZTSSt6vectorIN10ClipperLib12LocalMinimumESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIPN10ClipperLib5TEdgeESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIPN10ClipperLib6OutRecESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt14priority_queueIxSt6vectorIxSaIxEESt4lessIxEE", !30, i64 0, !34, i64 24}
!30 = !{!"_ZTSSt6vectorIxSaIxEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt4lessIxE"}
!35 = !{!20, !20, i64 0}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!39, !20, i64 134}
!39 = !{!"_ZTSN10ClipperLib7ClipperE", !40, i64 8, !40, i64 32, !44, i64 56, !48, i64 80, !49, i64 88, !6, i64 112, !20, i64 120, !55, i64 124, !55, i64 128, !20, i64 132, !20, i64 133, !20, i64 134}
!40 = !{!"_ZTSSt6vectorIPN10ClipperLib4JoinESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSN10ClipperLib8ClipTypeE", !7, i64 0}
!49 = !{!"_ZTSNSt7__cxx114listIxSaIxEEE", !50, i64 0}
!50 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEEE", !51, i64 0}
!51 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEE10_List_implE", !52, i64 0}
!52 = !{!"_ZTSNSt8__detail17_List_node_headerE", !53, i64 0, !54, i64 16}
!53 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!54 = !{!"long", !7, i64 0}
!55 = !{!"_ZTSN10ClipperLib12PolyFillTypeE", !7, i64 0}
!56 = !{!57, !6, i64 112}
!57 = !{!"_ZTSN10ClipperLib5TEdgeE", !58, i64 0, !58, i64 16, !58, i64 32, !59, i64 48, !60, i64 56, !61, i64 60, !62, i64 64, !62, i64 68, !62, i64 72, !62, i64 76, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128}
!58 = !{!"_ZTSN10ClipperLib8IntPointE", !10, i64 0, !10, i64 8}
!59 = !{!"double", !7, i64 0}
!60 = !{!"_ZTSN10ClipperLib8PolyTypeE", !7, i64 0}
!61 = !{!"_ZTSN10ClipperLib8EdgeSideE", !7, i64 0}
!62 = !{!"int", !7, i64 0}
!63 = !{!57, !6, i64 104}
!64 = !{!57, !6, i64 96}
!65 = !{!57, !62, i64 76}
!66 = !{!57, !10, i64 16}
!67 = !{!57, !10, i64 24}
!68 = !{!57, !62, i64 64}
!69 = !{i64 0, i64 8, !9, i64 8, i64 8, !9}
!70 = distinct !{!70, !71}
!71 = !{!"llvm.loop.mustprogress"}
!72 = !{!57, !10, i64 0}
!73 = !{!57, !10, i64 8}
!74 = !{!57, !10, i64 40}
!75 = !{!14, !20, i64 40}
!76 = distinct !{!76, !71}


; 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.ClipperLib::IntPoint" = type { i64, i64 }

; 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 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 uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib11SlopesEqualENS_8IntPointES0_S0_S0_b(i64, i64, i64, i64, i64, i64, ptr noundef byval(%"struct.ClipperLib::IntPoint") align 8, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib12IsHorizontalERNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ClipperLib7Clipper18ProcessHorizontalsEv(ptr noundef nonnull align 8 dereferenceable(135)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ClipperLib7Clipper27ProcessEdgesAtTopOfScanbeamEx(ptr noundef nonnull align 8 dereferenceable(135) %0, i64 noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.ClipperLib::IntPoint", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %5 = load ptr, ptr %0, align 8, !tbaa !5
  %6 = getelementptr i8, ptr %5, i64 -24
  %7 = load i64, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 %7
  %storemerge90.in92 = getelementptr inbounds i8, ptr %8, i64 104
  %storemerge9093 = load ptr, ptr %storemerge90.in92, align 8, !tbaa !8
  store ptr %storemerge9093, ptr %3, align 8, !tbaa !8
  %.not94 = icmp eq ptr %storemerge9093, null
  br i1 %.not94, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %9 = getelementptr inbounds i8, ptr %0, i64 134
  %.sroa.246.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  br label %11

11:                                               ; preds = %.lr.ph, %89
  %storemerge9095 = phi ptr [ %storemerge9093, %.lr.ph ], [ %storemerge90, %89 ]
  %12 = call noundef zeroext i1 @_ZN10ClipperLib8IsMaximaEPNS_5TEdgeEx(ptr noundef nonnull %storemerge9095, i64 noundef %1)
  br i1 %12, label %13, label %.thread

13:                                               ; preds = %11
  %14 = load ptr, ptr %3, align 8, !tbaa !8
  %15 = call noundef ptr @_ZN10ClipperLib15GetMaximaPairExEPNS_5TEdgeE(ptr noundef %14)
  %.not84 = icmp eq ptr %15, null
  br i1 %.not84, label %.critedge, label %16

16:                                               ; preds = %13
  %17 = call noundef zeroext i1 @_ZN10ClipperLib12IsHorizontalERNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(136) %15)
  br i1 %17, label %.thread, label %.critedge

.critedge:                                        ; preds = %13, %16
  %18 = load i8, ptr %9, align 2, !tbaa !11, !range !30, !noundef !31
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %20, label %23

20:                                               ; preds = %.critedge
  %21 = load ptr, ptr %3, align 8, !tbaa !8
  %22 = getelementptr inbounds i8, ptr %21, i64 32
  call void @_ZNSt7__cxx114listIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %22)
  br label %23

23:                                               ; preds = %20, %.critedge
  %24 = load ptr, ptr %3, align 8, !tbaa !8
  %25 = getelementptr inbounds i8, ptr %24, i64 112
  %26 = load ptr, ptr %25, align 8, !tbaa !32
  call void @_ZN10ClipperLib7Clipper8DoMaximaEPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef %24)
  %.not86 = icmp eq ptr %26, null
  br i1 %.not86, label %27, label %89

27:                                               ; preds = %23
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %0, i64 %30
  br label %89

.thread:                                          ; preds = %11, %16
  %32 = load ptr, ptr %3, align 8, !tbaa !8
  %33 = call noundef zeroext i1 @_ZN10ClipperLib14IsIntermediateEPNS_5TEdgeEx(ptr noundef %32, i64 noundef %1)
  br i1 %33, label %34, label %52

34:                                               ; preds = %.thread
  %35 = load ptr, ptr %3, align 8, !tbaa !8
  %36 = getelementptr inbounds i8, ptr %35, i64 96
  %37 = load ptr, ptr %36, align 8, !tbaa !40
  %38 = call noundef zeroext i1 @_ZN10ClipperLib12IsHorizontalERNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(136) %37)
  br i1 %38, label %39, label %52

39:                                               ; preds = %34
  %40 = load ptr, ptr %0, align 8, !tbaa !5
  %41 = getelementptr i8, ptr %40, i64 -24
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %0, i64 %42
  call void @_ZN10ClipperLib11ClipperBase17UpdateEdgeIntoAELERPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(144) %43, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %44 = load ptr, ptr %3, align 8, !tbaa !8
  %45 = getelementptr inbounds i8, ptr %44, i64 76
  %46 = load i32, ptr %45, align 4, !tbaa !41
  %47 = icmp sgt i32 %46, -1
  br i1 %47, label %48, label %50

48:                                               ; preds = %39
  %49 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %44, ptr noundef nonnull align 8 dereferenceable(16) %44)
  %.pre = load ptr, ptr %3, align 8, !tbaa !8
  br label %50

50:                                               ; preds = %48, %39
  %51 = phi ptr [ %.pre, %48 ], [ %44, %39 ]
  call void @_ZN10ClipperLib7Clipper12AddEdgeToSELEPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef %51)
  %.pre106.pre = load ptr, ptr %3, align 8, !tbaa !8
  br label %58

52:                                               ; preds = %34, %.thread
  %53 = load ptr, ptr %3, align 8, !tbaa !8
  %54 = call noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136) %53, i64 noundef %1)
  %55 = load ptr, ptr %3, align 8, !tbaa !8
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  store i64 %54, ptr %56, align 8, !tbaa !42
  %57 = getelementptr inbounds i8, ptr %55, i64 24
  store i64 %1, ptr %57, align 8, !tbaa !43
  br label %58

58:                                               ; preds = %52, %50
  %.pre106 = phi ptr [ %55, %52 ], [ %.pre106.pre, %50 ]
  %59 = load i8, ptr %9, align 2, !tbaa !11, !range !30, !noundef !31
  %60 = trunc nuw i8 %59 to i1
  br i1 %60, label %61, label %89

61:                                               ; preds = %58
  %62 = getelementptr inbounds i8, ptr %.pre106, i64 112
  %63 = load ptr, ptr %62, align 8, !tbaa !32
  %64 = getelementptr inbounds i8, ptr %.pre106, i64 76
  %65 = load i32, ptr %64, align 4, !tbaa !41
  %66 = icmp sgt i32 %65, -1
  br i1 %66, label %67, label %89

67:                                               ; preds = %61
  %68 = getelementptr inbounds i8, ptr %.pre106, i64 64
  %69 = load i32, ptr %68, align 8, !tbaa !44
  %70 = icmp ne i32 %69, 0
  %71 = icmp ne ptr %63, null
  %or.cond = select i1 %70, i1 %71, i1 false
  br i1 %or.cond, label %72, label %89

72:                                               ; preds = %67
  %73 = getelementptr inbounds i8, ptr %63, i64 76
  %74 = load i32, ptr %73, align 4, !tbaa !41
  %75 = icmp sgt i32 %74, -1
  br i1 %75, label %76, label %89

76:                                               ; preds = %72
  %77 = getelementptr inbounds i8, ptr %63, i64 16
  %78 = load i64, ptr %77, align 8, !tbaa !42
  %79 = getelementptr inbounds i8, ptr %.pre106, i64 16
  %80 = load i64, ptr %79, align 8, !tbaa !42
  %81 = icmp eq i64 %78, %80
  br i1 %81, label %82, label %89

82:                                               ; preds = %76
  %83 = getelementptr inbounds i8, ptr %63, i64 64
  %84 = load i32, ptr %83, align 8, !tbaa !44
  %.not85 = icmp eq i32 %84, 0
  br i1 %.not85, label %89, label %85

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %79, i64 16, i1 false), !tbaa.struct !45
  %86 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %63, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %87 = load ptr, ptr %3, align 8, !tbaa !8
  %88 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef %87, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.sroa.045.0.copyload = load i64, ptr %4, align 8, !tbaa !46
  %.sroa.246.0.copyload = load i64, ptr %.sroa.246.0..sroa_idx, align 8, !tbaa !46
  call void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef %86, ptr noundef %88, i64 %.sroa.045.0.copyload, i64 %.sroa.246.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %.pre105 = load ptr, ptr %3, align 8, !tbaa !8
  br label %89

89:                                               ; preds = %58, %85, %82, %76, %72, %67, %61, %27, %23
  %.pn88.pn = phi ptr [ %31, %27 ], [ %26, %23 ], [ %.pre106, %61 ], [ %.pre106, %67 ], [ %.pre106, %72 ], [ %.pre106, %76 ], [ %.pre106, %82 ], [ %.pre105, %85 ], [ %.pre106, %58 ]
  %storemerge90.in = getelementptr inbounds i8, ptr %.pn88.pn, i64 104
  %storemerge90 = load ptr, ptr %storemerge90.in, align 8, !tbaa !8
  store ptr %storemerge90, ptr %3, align 8, !tbaa !8
  %.not = icmp eq ptr %storemerge90, null
  br i1 %.not, label %._crit_edge, label %11, !llvm.loop !47

._crit_edge:                                      ; preds = %89, %2
  %90 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZNSt7__cxx114listIxSaIxEE4sortEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
  call void @_ZN10ClipperLib7Clipper18ProcessHorizontalsEv(ptr noundef nonnull align 8 dereferenceable(135) %0)
  call void @_ZNSt7__cxx114listIxSaIxEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #6
  %91 = load ptr, ptr %0, align 8, !tbaa !5
  %92 = getelementptr i8, ptr %91, i64 -24
  %93 = load i64, ptr %92, align 8
  %94 = getelementptr inbounds i8, ptr %0, i64 %93
  %invariant.gep = getelementptr inbounds i8, ptr %0, i64 40
  %storemerge.in98 = getelementptr inbounds i8, ptr %94, i64 104
  %storemerge99 = load ptr, ptr %storemerge.in98, align 8, !tbaa !8
  store ptr %storemerge99, ptr %3, align 8, !tbaa !8
  %.not77100 = icmp eq ptr %storemerge99, null
  br i1 %.not77100, label %._crit_edge104, label %.lr.ph103

.lr.ph103:                                        ; preds = %._crit_edge, %195
  %storemerge101 = phi ptr [ %storemerge, %195 ], [ %storemerge99, %._crit_edge ]
  %95 = call noundef zeroext i1 @_ZN10ClipperLib14IsIntermediateEPNS_5TEdgeEx(ptr noundef nonnull %storemerge101, i64 noundef %1)
  br i1 %95, label %96, label %195

96:                                               ; preds = %.lr.ph103
  %97 = load ptr, ptr %3, align 8, !tbaa !8
  %98 = getelementptr inbounds i8, ptr %97, i64 76
  %99 = load i32, ptr %98, align 4, !tbaa !41
  %100 = icmp sgt i32 %99, -1
  br i1 %100, label %101, label %104

101:                                              ; preds = %96
  %102 = getelementptr inbounds i8, ptr %97, i64 32
  %103 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %97, ptr noundef nonnull align 8 dereferenceable(16) %102)
  br label %104

104:                                              ; preds = %101, %96
  %.065 = phi ptr [ %103, %101 ], [ null, %96 ]
  %105 = load ptr, ptr %0, align 8, !tbaa !5
  %106 = getelementptr i8, ptr %105, i64 -24
  %107 = load i64, ptr %106, align 8
  %108 = getelementptr inbounds i8, ptr %0, i64 %107
  call void @_ZN10ClipperLib11ClipperBase17UpdateEdgeIntoAELERPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(144) %108, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %109 = load ptr, ptr %3, align 8, !tbaa !8
  %110 = getelementptr inbounds i8, ptr %109, i64 112
  %111 = load ptr, ptr %110, align 8, !tbaa !32
  %112 = getelementptr inbounds i8, ptr %109, i64 104
  %113 = load ptr, ptr %112, align 8, !tbaa !49
  %.not78 = icmp eq ptr %111, null
  br i1 %.not78, label %153, label %114

114:                                              ; preds = %104
  %115 = getelementptr inbounds i8, ptr %111, i64 16
  %116 = load i64, ptr %115, align 8, !tbaa !46
  %117 = load i64, ptr %109, align 8, !tbaa !50
  %118 = icmp eq i64 %116, %117
  br i1 %118, label %119, label %153

119:                                              ; preds = %114
  %120 = getelementptr inbounds i8, ptr %111, i64 24
  %121 = load i64, ptr %120, align 8, !tbaa !46
  %122 = getelementptr inbounds i8, ptr %109, i64 8
  %123 = load i64, ptr %122, align 8, !tbaa !51
  %124 = icmp eq i64 %121, %123
  %125 = icmp ne ptr %.065, null
  %or.cond3 = and i1 %125, %124
  br i1 %or.cond3, label %126, label %153

126:                                              ; preds = %119
  %127 = getelementptr inbounds i8, ptr %111, i64 76
  %128 = load i32, ptr %127, align 4, !tbaa !41
  %129 = icmp sgt i32 %128, -1
  br i1 %129, label %130, label %153

130:                                              ; preds = %126
  %131 = getelementptr inbounds i8, ptr %111, i64 40
  %132 = load i64, ptr %131, align 8, !tbaa !52
  %133 = icmp sgt i64 %121, %132
  br i1 %133, label %134, label %153

134:                                              ; preds = %130
  %135 = getelementptr inbounds i8, ptr %111, i64 32
  %136 = getelementptr inbounds i8, ptr %109, i64 16
  %.sroa.019.0.copyload = load i64, ptr %136, align 8, !tbaa !46
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %109, i64 24
  %.sroa.220.0.copyload = load i64, ptr %.sroa.220.0..sroa_idx, align 8, !tbaa !46
  %137 = getelementptr inbounds i8, ptr %109, i64 32
  %.sroa.017.0.copyload = load i64, ptr %137, align 8, !tbaa !46
  %.sroa.218.0..sroa_idx = getelementptr inbounds i8, ptr %109, i64 40
  %.sroa.218.0.copyload = load i64, ptr %.sroa.218.0..sroa_idx, align 8, !tbaa !46
  %138 = load ptr, ptr %0, align 8, !tbaa !5
  %139 = getelementptr i8, ptr %138, i64 -24
  %140 = load i64, ptr %139, align 8
  %gep = getelementptr i8, ptr %invariant.gep, i64 %140
  %141 = load i8, ptr %gep, align 8, !tbaa !53, !range !30, !noundef !31
  %142 = trunc nuw i8 %141 to i1
  %143 = call noundef zeroext i1 @_ZN10ClipperLib11SlopesEqualENS_8IntPointES0_S0_S0_b(i64 %.sroa.019.0.copyload, i64 %.sroa.220.0.copyload, i64 %.sroa.017.0.copyload, i64 %.sroa.218.0.copyload, i64 %116, i64 %121, ptr noundef nonnull byval(%"struct.ClipperLib::IntPoint") align 8 %135, i1 noundef zeroext %142)
  br i1 %143, label %144, label %153

144:                                              ; preds = %134
  %145 = load ptr, ptr %3, align 8, !tbaa !8
  %146 = getelementptr inbounds i8, ptr %145, i64 64
  %147 = load i32, ptr %146, align 8, !tbaa !44
  %.not79 = icmp eq i32 %147, 0
  br i1 %.not79, label %153, label %148

148:                                              ; preds = %144
  %149 = getelementptr inbounds i8, ptr %111, i64 64
  %150 = load i32, ptr %149, align 8, !tbaa !44
  %.not80 = icmp eq i32 %150, 0
  br i1 %.not80, label %153, label %151

151:                                              ; preds = %148
  %152 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %111, ptr noundef nonnull align 8 dereferenceable(16) %145)
  br label %.sink.split

153:                                              ; preds = %148, %144, %134, %130, %126, %119, %114, %104
  %.not81 = icmp eq ptr %113, null
  br i1 %.not81, label %195, label %154

154:                                              ; preds = %153
  %155 = getelementptr inbounds i8, ptr %113, i64 16
  %156 = load i64, ptr %155, align 8, !tbaa !46
  %157 = load ptr, ptr %3, align 8, !tbaa !8
  %158 = load i64, ptr %157, align 8, !tbaa !50
  %159 = icmp eq i64 %156, %158
  br i1 %159, label %160, label %195

160:                                              ; preds = %154
  %161 = getelementptr inbounds i8, ptr %113, i64 24
  %162 = load i64, ptr %161, align 8, !tbaa !46
  %163 = getelementptr inbounds i8, ptr %157, i64 8
  %164 = load i64, ptr %163, align 8, !tbaa !51
  %165 = icmp eq i64 %162, %164
  %166 = icmp ne ptr %.065, null
  %or.cond5 = and i1 %166, %165
  br i1 %or.cond5, label %167, label %195

167:                                              ; preds = %160
  %168 = getelementptr inbounds i8, ptr %113, i64 76
  %169 = load i32, ptr %168, align 4, !tbaa !41
  %170 = icmp sgt i32 %169, -1
  br i1 %170, label %171, label %195

171:                                              ; preds = %167
  %172 = getelementptr inbounds i8, ptr %113, i64 40
  %173 = load i64, ptr %172, align 8, !tbaa !52
  %174 = icmp sgt i64 %162, %173
  br i1 %174, label %175, label %195

175:                                              ; preds = %171
  %176 = getelementptr inbounds i8, ptr %113, i64 32
  %177 = getelementptr inbounds i8, ptr %157, i64 16
  %.sroa.010.0.copyload = load i64, ptr %177, align 8, !tbaa !46
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %157, i64 24
  %.sroa.211.0.copyload = load i64, ptr %.sroa.211.0..sroa_idx, align 8, !tbaa !46
  %178 = getelementptr inbounds i8, ptr %157, i64 32
  %.sroa.08.0.copyload = load i64, ptr %178, align 8, !tbaa !46
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %157, i64 40
  %.sroa.29.0.copyload = load i64, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !46
  %179 = load ptr, ptr %0, align 8, !tbaa !5
  %180 = getelementptr i8, ptr %179, i64 -24
  %181 = load i64, ptr %180, align 8
  %gep97 = getelementptr i8, ptr %invariant.gep, i64 %181
  %182 = load i8, ptr %gep97, align 8, !tbaa !53, !range !30, !noundef !31
  %183 = trunc nuw i8 %182 to i1
  %184 = call noundef zeroext i1 @_ZN10ClipperLib11SlopesEqualENS_8IntPointES0_S0_S0_b(i64 %.sroa.010.0.copyload, i64 %.sroa.211.0.copyload, i64 %.sroa.08.0.copyload, i64 %.sroa.29.0.copyload, i64 %156, i64 %162, ptr noundef nonnull byval(%"struct.ClipperLib::IntPoint") align 8 %176, i1 noundef zeroext %183)
  br i1 %184, label %185, label %195

185:                                              ; preds = %175
  %186 = load ptr, ptr %3, align 8, !tbaa !8
  %187 = getelementptr inbounds i8, ptr %186, i64 64
  %188 = load i32, ptr %187, align 8, !tbaa !44
  %.not82 = icmp eq i32 %188, 0
  br i1 %.not82, label %195, label %189

189:                                              ; preds = %185
  %190 = getelementptr inbounds i8, ptr %113, i64 64
  %191 = load i32, ptr %190, align 8, !tbaa !44
  %.not83 = icmp eq i32 %191, 0
  br i1 %.not83, label %195, label %192

192:                                              ; preds = %189
  %193 = call noundef ptr @_ZN10ClipperLib7Clipper8AddOutPtEPNS_5TEdgeERKNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %113, ptr noundef nonnull align 8 dereferenceable(16) %186)
  br label %.sink.split

.sink.split:                                      ; preds = %192, %151
  %.sink = phi ptr [ %152, %151 ], [ %193, %192 ]
  %.sink110 = load ptr, ptr %3, align 8, !tbaa !8
  %194 = getelementptr inbounds i8, ptr %.sink110, i64 32
  %.sroa.012.0.copyload = load i64, ptr %194, align 8, !tbaa !46
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %.sink110, i64 40
  %.sroa.213.0.copyload = load i64, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !46
  call void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %.065, ptr noundef %.sink, i64 %.sroa.012.0.copyload, i64 %.sroa.213.0.copyload)
  br label %195

195:                                              ; preds = %.sink.split, %189, %185, %175, %171, %167, %160, %154, %153, %.lr.ph103
  %196 = load ptr, ptr %3, align 8, !tbaa !8
  %storemerge.in = getelementptr inbounds i8, ptr %196, i64 104
  %storemerge = load ptr, ptr %storemerge.in, align 8, !tbaa !8
  store ptr %storemerge, ptr %3, align 8, !tbaa !8
  %.not77 = icmp eq ptr %storemerge, null
  br i1 %.not77, label %._crit_edge104, label %.lr.ph103, !llvm.loop !74

._crit_edge104:                                   ; preds = %195, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ClipperLib7Clipper7AddJoinEPNS_5OutPtES2_NS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(135), ptr noundef, ptr noundef, i64, i64) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib7Clipper12AddEdgeToSELEPNS_5TEdgeE(ptr noundef nonnull align 8 dereferenceable(135), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN10ClipperLib15GetMaximaPairExEPNS_5TEdgeE(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib8IsMaximaEPNS_5TEdgeEx(ptr noundef, i64 noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib14IsIntermediateEPNS_5TEdgeEx(ptr noundef, i64 noundef) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree 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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !28, i64 134}
!12 = !{!"_ZTSN10ClipperLib7ClipperE", !13, i64 8, !13, i64 32, !17, i64 56, !21, i64 80, !22, i64 88, !9, i64 112, !28, i64 120, !29, i64 124, !29, i64 128, !28, i64 132, !28, i64 133, !28, i64 134}
!13 = !{!"_ZTSSt6vectorIPN10ClipperLib4JoinESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!17 = !{!"_ZTSSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!21 = !{!"_ZTSN10ClipperLib8ClipTypeE", !10, i64 0}
!22 = !{!"_ZTSNSt7__cxx114listIxSaIxEEE", !23, i64 0}
!23 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEEE", !24, i64 0}
!24 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEE10_List_implE", !25, i64 0}
!25 = !{!"_ZTSNSt8__detail17_List_node_headerE", !26, i64 0, !27, i64 16}
!26 = !{!"_ZTSNSt8__detail15_List_node_baseE", !9, i64 0, !9, i64 8}
!27 = !{!"long", !10, i64 0}
!28 = !{!"bool", !10, i64 0}
!29 = !{!"_ZTSN10ClipperLib12PolyFillTypeE", !10, i64 0}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!33, !9, i64 112}
!33 = !{!"_ZTSN10ClipperLib5TEdgeE", !34, i64 0, !34, i64 16, !34, i64 32, !36, i64 48, !37, i64 56, !38, i64 60, !39, i64 64, !39, i64 68, !39, i64 72, !39, i64 76, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128}
!34 = !{!"_ZTSN10ClipperLib8IntPointE", !35, i64 0, !35, i64 8}
!35 = !{!"long long", !10, i64 0}
!36 = !{!"double", !10, i64 0}
!37 = !{!"_ZTSN10ClipperLib8PolyTypeE", !10, i64 0}
!38 = !{!"_ZTSN10ClipperLib8EdgeSideE", !10, i64 0}
!39 = !{!"int", !10, i64 0}
!40 = !{!33, !9, i64 96}
!41 = !{!33, !39, i64 76}
!42 = !{!33, !35, i64 16}
!43 = !{!33, !35, i64 24}
!44 = !{!33, !39, i64 64}
!45 = !{i64 0, i64 8, !46, i64 8, i64 8, !46}
!46 = !{!35, !35, i64 0}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!33, !9, i64 104}
!50 = !{!33, !35, i64 0}
!51 = !{!33, !35, i64 8}
!52 = !{!33, !35, i64 40}
!53 = !{!54, !28, i64 40}
!54 = !{!"_ZTSN10ClipperLib11ClipperBaseE", !55, i64 8, !56, i64 16, !28, i64 40, !60, i64 48, !28, i64 72, !28, i64 73, !64, i64 80, !9, i64 104, !68, i64 112}
!55 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPN10ClipperLib12LocalMinimumESt6vectorIS2_SaIS2_EEEE", !9, i64 0}
!56 = !{!"_ZTSSt6vectorIN10ClipperLib12LocalMinimumESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!60 = !{!"_ZTSSt6vectorIPN10ClipperLib5TEdgeESaIS2_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!64 = !{!"_ZTSSt6vectorIPN10ClipperLib6OutRecESaIS2_EE", !65, i64 0}
!65 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE12_Vector_implE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!68 = !{!"_ZTSSt14priority_queueIxSt6vectorIxSaIxEESt4lessIxEE", !69, i64 0, !73, i64 24}
!69 = !{!"_ZTSSt6vectorIxSaIxEE", !70, i64 0}
!70 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!73 = !{!"_ZTSSt4lessIxE"}
!74 = distinct !{!74, !48}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass