; LLVM IR from ShahjalalShohag/code-library :: Geometry (Point Location)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl" }
%"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl" = type { %"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%struct.DCEL = type { %"class.std::vector.63" }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl" }
%"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.65" = type { i8 }
%"class.std::vector.76" = type { %"struct.std::_Vector_base.77" }
%"struct.std::_Vector_base.77" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.78" = type { i8 }
%struct.PT = type { i64, i64 }
%"struct.DCEL::edge" = type { %struct.PT, ptr, ptr, i32, i32 }
%"struct.std::pair.74" = type { i32, i32 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z14point_location4DCELSt6vectorI2PTSaIS1_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.58") align 8, ptr noundef, ptr noundef) #5

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca %"class.std::allocator.2", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.DCEL, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector.63", align 8
  %16 = alloca %"class.std::allocator.65", align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.58", align 8
  %22 = alloca %struct.DCEL, align 8
  %23 = alloca %"class.std::vector.0", align 8
  %24 = alloca %"class.std::vector.76", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::allocator.78", align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %29 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %30 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %31 = getelementptr i8, ptr %30, i64 -24
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %32
  %34 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %33, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #10
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #10
  %36 = load i32, ptr %2, align 4, !tbaa !8
  %37 = sext i32 %36 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #10
  call void @_ZNSaI2PTEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #10
  invoke void @_ZNSt6vectorI2PTSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %37, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %38 unwind label %44

38:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  store i32 0, ptr %7, align 4, !tbaa !8
  br label %39

39:                                               ; preds = %61, %38
  %40 = load i32, ptr %7, align 4, !tbaa !8
  %41 = load i32, ptr %2, align 4, !tbaa !8
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %48, label %43

43:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  br label %68

44:                                               ; preds = %0
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %5, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %6, align 4
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #10
  br label %371

48:                                               ; preds = %39
  %49 = load i32, ptr %7, align 4, !tbaa !8
  %50 = sext i32 %49 to i64
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %50) #10
  %52 = getelementptr inbounds %struct.PT, ptr %51, i32 0, i32 0
  %53 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %54 unwind label %64

54:                                               ; preds = %48
  %55 = load i32, ptr %7, align 4, !tbaa !8
  %56 = sext i32 %55 to i64
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %56) #10
  %58 = getelementptr inbounds %struct.PT, ptr %57, i32 0, i32 1
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(8) %58)
          to label %60 unwind label %64

60:                                               ; preds = %54
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %7, align 4, !tbaa !8
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %7, align 4, !tbaa !8
  br label %39, !llvm.loop !11

64:                                               ; preds = %54, %48
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %5, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  br label %370

68:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %69 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %70 unwind label %76

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #10
  call void @_ZN4DCELC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 0, ptr %10, align 4, !tbaa !8
  br label %71

71:                                               ; preds = %261, %70
  %72 = load i32, ptr %10, align 4, !tbaa !8
  %73 = load i32, ptr %8, align 4, !tbaa !8
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %80, label %75

75:                                               ; preds = %71
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %268

76:                                               ; preds = %68
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %5, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %6, align 4
  br label %369

80:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %81 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %82 unwind label %94

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #10
  %83 = load i32, ptr %12, align 4, !tbaa !8
  %84 = sext i32 %83 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  call void @_ZNSaI2PTEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  invoke void @_ZNSt6vectorI2PTSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %84, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %85 unwind label %98

85:                                               ; preds = %82
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #10
  %86 = load i32, ptr %12, align 4, !tbaa !8
  %87 = sext i32 %86 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #10
  call void @_ZNSaIPN4DCEL4edgeEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  invoke void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %87, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %88 unwind label %102

88:                                               ; preds = %85
  call void @_ZNSt15__new_allocatorIPN4DCEL4edgeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  store i32 0, ptr %17, align 4, !tbaa !8
  br label %89

89:                                               ; preds = %147, %88
  %90 = load i32, ptr %17, align 4, !tbaa !8
  %91 = load i32, ptr %12, align 4, !tbaa !8
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %106, label %93

93:                                               ; preds = %89
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %163

94:                                               ; preds = %80
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %5, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %6, align 4
  br label %267

98:                                               ; preds = %82
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %5, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %6, align 4
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  br label %266

102:                                              ; preds = %85
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %5, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIPN4DCEL4edgeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #10
  br label %265

106:                                              ; preds = %89
  %107 = load i32, ptr %17, align 4, !tbaa !8
  %108 = sext i32 %107 to i64
  %109 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %108) #10
  %110 = getelementptr inbounds %struct.PT, ptr %109, i32 0, i32 0
  %111 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %110)
          to label %112 unwind label %150

112:                                              ; preds = %106
  %113 = load i32, ptr %17, align 4, !tbaa !8
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %114) #10
  %116 = getelementptr inbounds %struct.PT, ptr %115, i32 0, i32 1
  %117 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %111, ptr noundef nonnull align 8 dereferenceable(8) %116)
          to label %118 unwind label %150

118:                                              ; preds = %112
  %119 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #11
          to label %120 unwind label %150

120:                                              ; preds = %118
  invoke void @_ZN4DCEL4edgeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %119)
          to label %121 unwind label %154

121:                                              ; preds = %120
  %122 = load i32, ptr %17, align 4, !tbaa !8
  %123 = sext i32 %122 to i64
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %123) #10
  store ptr %119, ptr %124, align 8, !tbaa !13
  %125 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #11
          to label %126 unwind label %150

126:                                              ; preds = %121
  invoke void @_ZN4DCEL4edgeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %125)
          to label %127 unwind label %158

127:                                              ; preds = %126
  %128 = load i32, ptr %17, align 4, !tbaa !8
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %129) #10
  %131 = load ptr, ptr %130, align 8, !tbaa !13
  %132 = getelementptr inbounds %"struct.DCEL::edge", ptr %131, i32 0, i32 2
  store ptr %125, ptr %132, align 8, !tbaa !15
  %133 = load i32, ptr %10, align 4, !tbaa !8
  %134 = load i32, ptr %17, align 4, !tbaa !8
  %135 = sext i32 %134 to i64
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %135) #10
  %137 = load ptr, ptr %136, align 8, !tbaa !13
  %138 = getelementptr inbounds %"struct.DCEL::edge", ptr %137, i32 0, i32 4
  store i32 %133, ptr %138, align 4, !tbaa !19
  %139 = load i32, ptr %10, align 4, !tbaa !8
  %140 = load i32, ptr %17, align 4, !tbaa !8
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %141) #10
  %143 = load ptr, ptr %142, align 8, !tbaa !13
  %144 = getelementptr inbounds %"struct.DCEL::edge", ptr %143, i32 0, i32 2
  %145 = load ptr, ptr %144, align 8, !tbaa !15
  %146 = getelementptr inbounds %"struct.DCEL::edge", ptr %145, i32 0, i32 4
  store i32 %139, ptr %146, align 4, !tbaa !19
  br label %147

147:                                              ; preds = %127
  %148 = load i32, ptr %17, align 4, !tbaa !8
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %17, align 4, !tbaa !8
  br label %89, !llvm.loop !20

150:                                              ; preds = %121, %118, %112, %106
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %5, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %6, align 4
  br label %162

154:                                              ; preds = %120
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %5, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %119, i64 noundef 40) #12
  br label %162

158:                                              ; preds = %126
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %5, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %125, i64 noundef 40) #12
  br label %162

162:                                              ; preds = %158, %154, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %264

163:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 0, ptr %18, align 4, !tbaa !8
  br label %164

164:                                              ; preds = %231, %163
  %165 = load i32, ptr %18, align 4, !tbaa !8
  %166 = load i32, ptr %12, align 4, !tbaa !8
  %167 = icmp slt i32 %165, %166
  br i1 %167, label %169, label %168

168:                                              ; preds = %164
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %234

169:                                              ; preds = %164
  %170 = load i32, ptr %18, align 4, !tbaa !8
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %171) #10
  %173 = load i32, ptr %18, align 4, !tbaa !8
  %174 = sext i32 %173 to i64
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %174) #10
  %176 = load ptr, ptr %175, align 8, !tbaa !13
  %177 = getelementptr inbounds %"struct.DCEL::edge", ptr %176, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %177, ptr align 8 %172, i64 16, i1 false), !tbaa.struct !21
  %178 = load i32, ptr %18, align 4, !tbaa !8
  %179 = add nsw i32 %178, 1
  %180 = load i32, ptr %12, align 4, !tbaa !8
  %181 = srem i32 %179, %180
  %182 = sext i32 %181 to i64
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %182) #10
  %184 = load ptr, ptr %183, align 8, !tbaa !13
  %185 = load i32, ptr %18, align 4, !tbaa !8
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %186) #10
  %188 = load ptr, ptr %187, align 8, !tbaa !13
  %189 = getelementptr inbounds %"struct.DCEL::edge", ptr %188, i32 0, i32 1
  store ptr %184, ptr %189, align 8, !tbaa !23
  %190 = load i32, ptr %10, align 4, !tbaa !8
  %191 = load i32, ptr %18, align 4, !tbaa !8
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %192) #10
  %194 = load ptr, ptr %193, align 8, !tbaa !13
  %195 = getelementptr inbounds %"struct.DCEL::edge", ptr %194, i32 0, i32 3
  store i32 %190, ptr %195, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %196 = load i32, ptr %18, align 4, !tbaa !8
  %197 = sext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %197) #10
  %199 = load ptr, ptr %198, align 8, !tbaa !13
  %200 = getelementptr inbounds %"struct.DCEL::edge", ptr %199, i32 0, i32 2
  %201 = load ptr, ptr %200, align 8, !tbaa !15
  store ptr %201, ptr %19, align 8, !tbaa !13
  %202 = load i32, ptr %18, align 4, !tbaa !8
  %203 = add nsw i32 %202, 1
  %204 = load i32, ptr %12, align 4, !tbaa !8
  %205 = srem i32 %203, %204
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %206) #10
  %208 = load ptr, ptr %19, align 8, !tbaa !13
  %209 = getelementptr inbounds %"struct.DCEL::edge", ptr %208, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %209, ptr align 8 %207, i64 16, i1 false), !tbaa.struct !21
  %210 = load ptr, ptr %19, align 8, !tbaa !13
  %211 = getelementptr inbounds %"struct.DCEL::edge", ptr %210, i32 0, i32 3
  store i32 -1, ptr %211, align 8, !tbaa !24
  %212 = load i32, ptr %18, align 4, !tbaa !8
  %213 = sub nsw i32 %212, 1
  %214 = load i32, ptr %12, align 4, !tbaa !8
  %215 = add nsw i32 %213, %214
  %216 = load i32, ptr %12, align 4, !tbaa !8
  %217 = srem i32 %215, %216
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %218) #10
  %220 = load ptr, ptr %219, align 8, !tbaa !13
  %221 = getelementptr inbounds %"struct.DCEL::edge", ptr %220, i32 0, i32 2
  %222 = load ptr, ptr %221, align 8, !tbaa !15
  %223 = load ptr, ptr %19, align 8, !tbaa !13
  %224 = getelementptr inbounds %"struct.DCEL::edge", ptr %223, i32 0, i32 1
  store ptr %222, ptr %224, align 8, !tbaa !23
  %225 = load i32, ptr %18, align 4, !tbaa !8
  %226 = sext i32 %225 to i64
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %226) #10
  %228 = load ptr, ptr %227, align 8, !tbaa !13
  %229 = load ptr, ptr %19, align 8, !tbaa !13
  %230 = getelementptr inbounds %"struct.DCEL::edge", ptr %229, i32 0, i32 2
  store ptr %228, ptr %230, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %231

231:                                              ; preds = %169
  %232 = load i32, ptr %18, align 4, !tbaa !8
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %18, align 4, !tbaa !8
  br label %164, !llvm.loop !25

234:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  store i32 0, ptr %20, align 4, !tbaa !8
  br label %235

235:                                              ; preds = %253, %234
  %236 = load i32, ptr %20, align 4, !tbaa !8
  %237 = load i32, ptr %12, align 4, !tbaa !8
  %238 = icmp slt i32 %236, %237
  br i1 %238, label %240, label %239

239:                                              ; preds = %235
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %260

240:                                              ; preds = %235
  %241 = getelementptr inbounds %struct.DCEL, ptr %9, i32 0, i32 0
  %242 = load i32, ptr %20, align 4, !tbaa !8
  %243 = sext i32 %242 to i64
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %243) #10
  invoke void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %241, ptr noundef nonnull align 8 dereferenceable(8) %244)
          to label %245 unwind label %256

245:                                              ; preds = %240
  %246 = getelementptr inbounds %struct.DCEL, ptr %9, i32 0, i32 0
  %247 = load i32, ptr %20, align 4, !tbaa !8
  %248 = sext i32 %247 to i64
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %248) #10
  %250 = load ptr, ptr %249, align 8, !tbaa !13
  %251 = getelementptr inbounds %"struct.DCEL::edge", ptr %250, i32 0, i32 2
  invoke void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %246, ptr noundef nonnull align 8 dereferenceable(8) %251)
          to label %252 unwind label %256

252:                                              ; preds = %245
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr %20, align 4, !tbaa !8
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %20, align 4, !tbaa !8
  br label %235, !llvm.loop !26

256:                                              ; preds = %245, %240
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %5, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %264

260:                                              ; preds = %239
  call void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %261

261:                                              ; preds = %260
  %262 = load i32, ptr %10, align 4, !tbaa !8
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %10, align 4, !tbaa !8
  br label %71, !llvm.loop !27

264:                                              ; preds = %256, %162
  call void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  br label %265

265:                                              ; preds = %264, %102
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  br label %266

266:                                              ; preds = %265, %98
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #10
  br label %267

267:                                              ; preds = %266, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %368

268:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  invoke void @_ZN4DCELC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %269 unwind label %280

269:                                              ; preds = %268
  invoke void @_ZNSt6vectorI2PTSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %270 unwind label %284

270:                                              ; preds = %269
  invoke void @_Z14point_location4DCELSt6vectorI2PTSaIS1_EE(ptr dead_on_unwind writable sret(%"class.std::vector.58") align 8 %21, ptr noundef %22, ptr noundef %23)
          to label %271 unwind label %288

271:                                              ; preds = %270
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #10
  %272 = load i32, ptr %8, align 4, !tbaa !8
  %273 = sext i32 %272 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  store i32 0, ptr %25, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #10
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %273, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %274 unwind label %293

274:                                              ; preds = %271
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  store i32 0, ptr %27, align 4, !tbaa !8
  br label %275

275:                                              ; preds = %339, %274
  %276 = load i32, ptr %27, align 4, !tbaa !8
  %277 = load i32, ptr %2, align 4, !tbaa !8
  %278 = icmp slt i32 %276, %277
  br i1 %278, label %297, label %279

279:                                              ; preds = %275
  store i32 17, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %342

280:                                              ; preds = %268
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %5, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %6, align 4
  br label %367

284:                                              ; preds = %269
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %5, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %6, align 4
  br label %292

288:                                              ; preds = %270
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %5, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %6, align 4
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  br label %292

292:                                              ; preds = %288, %284
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  br label %367

293:                                              ; preds = %271
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %5, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  br label %366

297:                                              ; preds = %275
  %298 = load i32, ptr %27, align 4, !tbaa !8
  %299 = sext i32 %298 to i64
  %300 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %299) #10
  %301 = getelementptr inbounds %"struct.std::pair.74", ptr %300, i32 0, i32 0
  %302 = load i32, ptr %301, align 4, !tbaa !28
  %303 = icmp ne i32 %302, 0
  br i1 %303, label %304, label %322

304:                                              ; preds = %297
  %305 = load i32, ptr %27, align 4, !tbaa !8
  %306 = sext i32 %305 to i64
  %307 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %306) #10
  %308 = getelementptr inbounds %"struct.std::pair.74", ptr %307, i32 0, i32 1
  %309 = load i32, ptr %308, align 4, !tbaa !30
  %310 = icmp ne i32 %309, -1
  br i1 %310, label %311, label %321

311:                                              ; preds = %304
  %312 = load i32, ptr %27, align 4, !tbaa !8
  %313 = sext i32 %312 to i64
  %314 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %313) #10
  %315 = getelementptr inbounds %"struct.std::pair.74", ptr %314, i32 0, i32 1
  %316 = load i32, ptr %315, align 4, !tbaa !30
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %317) #10
  %319 = load i32, ptr %318, align 4, !tbaa !8
  %320 = add nsw i32 %319, 1
  store i32 %320, ptr %318, align 4, !tbaa !8
  br label %321

321:                                              ; preds = %311, %304
  br label %338

322:                                              ; preds = %297
  %323 = getelementptr inbounds %struct.DCEL, ptr %9, i32 0, i32 0
  %324 = load i32, ptr %27, align 4, !tbaa !8
  %325 = sext i32 %324 to i64
  %326 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %325) #10
  %327 = getelementptr inbounds %"struct.std::pair.74", ptr %326, i32 0, i32 1
  %328 = load i32, ptr %327, align 4, !tbaa !30
  %329 = sext i32 %328 to i64
  %330 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %323, i64 noundef %329) #10
  %331 = load ptr, ptr %330, align 8, !tbaa !13
  %332 = getelementptr inbounds %"struct.DCEL::edge", ptr %331, i32 0, i32 4
  %333 = load i32, ptr %332, align 4, !tbaa !19
  %334 = sext i32 %333 to i64
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %334) #10
  %336 = load i32, ptr %335, align 4, !tbaa !8
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %335, align 4, !tbaa !8
  br label %338

338:                                              ; preds = %322, %321
  br label %339

339:                                              ; preds = %338
  %340 = load i32, ptr %27, align 4, !tbaa !8
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %27, align 4, !tbaa !8
  br label %275, !llvm.loop !31

342:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  store i32 0, ptr %28, align 4, !tbaa !8
  br label %343

343:                                              ; preds = %357, %342
  %344 = load i32, ptr %28, align 4, !tbaa !8
  %345 = load i32, ptr %8, align 4, !tbaa !8
  %346 = icmp slt i32 %344, %345
  br i1 %346, label %348, label %347

347:                                              ; preds = %343
  store i32 20, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  br label %364

348:                                              ; preds = %343
  %349 = load i32, ptr %28, align 4, !tbaa !8
  %350 = sext i32 %349 to i64
  %351 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %350) #10
  %352 = load i32, ptr %351, align 4, !tbaa !8
  %353 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %352)
          to label %354 unwind label %360

354:                                              ; preds = %348
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %353, i8 noundef signext 10)
          to label %356 unwind label %360

356:                                              ; preds = %354
  br label %357

357:                                              ; preds = %356
  %358 = load i32, ptr %28, align 4, !tbaa !8
  %359 = add nsw i32 %358, 1
  store i32 %359, ptr %28, align 4, !tbaa !8
  br label %343, !llvm.loop !32

360:                                              ; preds = %354, %348
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %5, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  br label %366

364:                                              ; preds = %347
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  %365 = load i32, ptr %1, align 4
  ret i32 %365

366:                                              ; preds = %360, %293
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  br label %367

367:                                              ; preds = %366, %292, %280
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %368

368:                                              ; preds = %367, %267
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #10
  br label %369

369:                                              ; preds = %368, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  br label %370

370:                                              ; preds = %369, %64
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  br label %371

371:                                              ; preds = %370, %44
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  br label %372

372:                                              ; preds = %371
  %373 = load ptr, ptr %5, align 8
  %374 = load i32, ptr %6, align 4
  %375 = insertvalue { ptr, i32 } poison, ptr %373, 0
  %376 = insertvalue { ptr, i32 } %375, i32 %374, 1
  resume { ptr, i32 } %376
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #7

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI2PTSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4DCEL4edgeC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #9 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #9

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #7

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress norecurse 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 #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!16, !14, i64 24}
!16 = !{!"_ZTSN4DCEL4edgeE", !17, i64 0, !14, i64 16, !14, i64 24, !9, i64 32, !9, i64 36}
!17 = !{!"_ZTS2PT", !18, i64 0, !18, i64 8}
!18 = !{!"long long", !10, i64 0}
!19 = !{!16, !9, i64 36}
!20 = distinct !{!20, !12}
!21 = !{i64 0, i64 8, !22, i64 8, i64 8, !22}
!22 = !{!18, !18, i64 0}
!23 = !{!16, !14, i64 16}
!24 = !{!16, !9, i64 32}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = !{!29, !9, i64 0}
!29 = !{!"_ZTSSt4pairIiiE", !9, i64 0, !9, i64 4}
!30 = !{!29, !9, i64 4}
!31 = distinct !{!31, !12}
!32 = distinct !{!32, !12}


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl" }
%"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl" = type { %"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PT, std::allocator<PT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%struct.DCEL = type { %"class.std::vector.63" }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl" }
%"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DCEL::edge *, std::allocator<DCEL::edge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.65" = type { i8 }
%"class.std::vector.76" = type { %"struct.std::_Vector_base.77" }
%"struct.std::_Vector_base.77" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.78" = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z14point_location4DCELSt6vectorI2PTSaIS1_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.58") align 8, ptr noundef, ptr noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::vector.0", align 8
  %3 = alloca %"class.std::allocator.2", align 1
  %4 = alloca i32, align 4
  %5 = alloca %struct.DCEL, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca %"class.std::vector.63", align 8
  %10 = alloca %"class.std::allocator.65", align 1
  %11 = alloca %"class.std::vector.58", align 8
  %12 = alloca %struct.DCEL, align 8
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca %"class.std::vector.76", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::allocator.78", align 1
  %17 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %18 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %19 = getelementptr i8, ptr %18, i64 -24
  %20 = load i64, ptr %19, align 8
  %21 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %20
  %22 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %21, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #10
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #10
  %24 = load i32, ptr %1, align 4, !tbaa !8
  %25 = sext i32 %24 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #10
  call void @_ZNSaI2PTEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #10
  invoke void @_ZNSt6vectorI2PTSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %25, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %26 unwind label %30

26:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #10
  %27 = load i32, ptr %1, align 4, !tbaa !8
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %38, %26
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  %29 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %44 unwind label %47

30:                                               ; preds = %0
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #10
  br label %218

.lr.ph:                                           ; preds = %26, %38
  %indvars.iv = phi i64 [ %indvars.iv.next, %38 ], [ 0, %26 ]
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %33 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %34 unwind label %42

34:                                               ; preds = %.lr.ph
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %38 unwind label %42

38:                                               ; preds = %34
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %39 = load i32, ptr %1, align 4, !tbaa !8
  %40 = sext i32 %39 to i64
  %41 = icmp slt i64 %indvars.iv.next, %40
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !11

42:                                               ; preds = %34, %.lr.ph
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %217

44:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #10
  call void @_ZN4DCELC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  %45 = load i32, ptr %4, align 4, !tbaa !8
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %.lr.ph97, label %._crit_edge98

._crit_edge98:                                    ; preds = %._crit_edge94, %44
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #10
  invoke void @_ZN4DCELC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %160 unwind label %170

47:                                               ; preds = %._crit_edge
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %216

.lr.ph97:                                         ; preds = %44, %._crit_edge94
  %.05195 = phi i32 [ %142, %._crit_edge94 ], [ 0, %44 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #10
  %49 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %50 unwind label %60

50:                                               ; preds = %.lr.ph97
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #10
  %51 = load i32, ptr %6, align 4, !tbaa !8
  %52 = sext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #10
  call void @_ZNSaI2PTEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  invoke void @_ZNSt6vectorI2PTSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %53 unwind label %62

53:                                               ; preds = %50
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #10
  %54 = load i32, ptr %6, align 4, !tbaa !8
  %55 = sext i32 %54 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @_ZNSaIPN4DCEL4edgeEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  invoke void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %56 unwind label %64

56:                                               ; preds = %53
  call void @_ZNSt15__new_allocatorIPN4DCEL4edgeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  %57 = load i32, ptr %6, align 4, !tbaa !8
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph89, label %._crit_edge94

.preheader83:                                     ; preds = %79
  %59 = icmp sgt i32 %91, 0
  br i1 %59, label %.lr.ph91, label %._crit_edge94

60:                                               ; preds = %.lr.ph97
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %159

62:                                               ; preds = %50
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI2PTED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #10
  br label %158

64:                                               ; preds = %53
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIPN4DCEL4edgeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  br label %157

.lr.ph89:                                         ; preds = %56, %79
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %79 ], [ 0, %56 ]
  %66 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv110) #10
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %66)
          to label %68 unwind label %94

68:                                               ; preds = %.lr.ph89
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv110) #10
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %72 unwind label %94

72:                                               ; preds = %68
  %73 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #11
          to label %74 unwind label %94

74:                                               ; preds = %72
  invoke void @_ZN4DCEL4edgeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %73)
          to label %75 unwind label %96

75:                                               ; preds = %74
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv110) #10
  store ptr %73, ptr %76, align 8, !tbaa !13
  %77 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #11
          to label %78 unwind label %94

78:                                               ; preds = %75
  invoke void @_ZN4DCEL4edgeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %77)
          to label %79 unwind label %98

79:                                               ; preds = %78
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv110) #10
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  %82 = getelementptr inbounds i8, ptr %81, i64 24
  store ptr %77, ptr %82, align 8, !tbaa !15
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv110) #10
  %84 = load ptr, ptr %83, align 8, !tbaa !13
  %85 = getelementptr inbounds i8, ptr %84, i64 36
  store i32 %.05195, ptr %85, align 4, !tbaa !19
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv110) #10
  %87 = load ptr, ptr %86, align 8, !tbaa !13
  %88 = getelementptr inbounds i8, ptr %87, i64 24
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  %90 = getelementptr inbounds i8, ptr %89, i64 36
  store i32 %.05195, ptr %90, align 4, !tbaa !19
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %91 = load i32, ptr %6, align 4, !tbaa !8
  %92 = sext i32 %91 to i64
  %93 = icmp slt i64 %indvars.iv.next111, %92
  br i1 %93, label %.lr.ph89, label %.preheader83, !llvm.loop !20

94:                                               ; preds = %75, %72, %68, %.lr.ph89
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %156

96:                                               ; preds = %74
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %73, i64 noundef 40) #12
  br label %156

98:                                               ; preds = %78
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %77, i64 noundef 40) #12
  br label %156

.preheader82:                                     ; preds = %.lr.ph91
  %100 = icmp sgt i32 %139, 0
  br i1 %100, label %.lr.ph93, label %._crit_edge94

.lr.ph91:                                         ; preds = %.preheader83, %.lr.ph91
  %indvars.iv113 = phi i64 [ %indvars.iv.next114, %.lr.ph91 ], [ 0, %.preheader83 ]
  %101 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv113) #10
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv113) #10
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %103, ptr noundef nonnull align 8 dereferenceable(16) %101, i64 16, i1 false), !tbaa.struct !21
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 1
  %104 = load i32, ptr %6, align 4, !tbaa !8
  %105 = trunc nuw nsw i64 %indvars.iv.next114 to i32
  %106 = srem i32 %105, %104
  %107 = zext nneg i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %107) #10
  %109 = load ptr, ptr %108, align 8, !tbaa !13
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv113) #10
  %111 = load ptr, ptr %110, align 8, !tbaa !13
  %112 = getelementptr inbounds i8, ptr %111, i64 16
  store ptr %109, ptr %112, align 8, !tbaa !23
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv113) #10
  %114 = load ptr, ptr %113, align 8, !tbaa !13
  %115 = getelementptr inbounds i8, ptr %114, i64 32
  store i32 %.05195, ptr %115, align 8, !tbaa !24
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv113) #10
  %117 = load ptr, ptr %116, align 8, !tbaa !13
  %118 = getelementptr inbounds i8, ptr %117, i64 24
  %119 = load ptr, ptr %118, align 8, !tbaa !15
  %120 = load i32, ptr %6, align 4, !tbaa !8
  %121 = srem i32 %105, %120
  %122 = zext nneg i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI2PTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %122) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %119, ptr noundef nonnull align 8 dereferenceable(16) %123, i64 16, i1 false), !tbaa.struct !21
  %124 = getelementptr inbounds i8, ptr %119, i64 32
  store i32 -1, ptr %124, align 8, !tbaa !24
  %125 = load i32, ptr %6, align 4, !tbaa !8
  %126 = trunc i64 %indvars.iv113 to i32
  %127 = add i32 %126, -1
  %128 = add nsw i32 %127, %125
  %129 = srem i32 %128, %125
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %130) #10
  %132 = load ptr, ptr %131, align 8, !tbaa !13
  %133 = getelementptr inbounds i8, ptr %132, i64 24
  %134 = load ptr, ptr %133, align 8, !tbaa !15
  %135 = getelementptr inbounds i8, ptr %119, i64 16
  store ptr %134, ptr %135, align 8, !tbaa !23
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv113) #10
  %137 = load ptr, ptr %136, align 8, !tbaa !13
  %138 = getelementptr inbounds i8, ptr %119, i64 24
  store ptr %137, ptr %138, align 8, !tbaa !15
  %139 = load i32, ptr %6, align 4, !tbaa !8
  %140 = sext i32 %139 to i64
  %141 = icmp slt i64 %indvars.iv.next114, %140
  br i1 %141, label %.lr.ph91, label %.preheader82, !llvm.loop !25

._crit_edge94:                                    ; preds = %150, %56, %.preheader83, %.preheader82
  call void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #10
  %142 = add nuw nsw i32 %.05195, 1
  %143 = load i32, ptr %4, align 4, !tbaa !8
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %.lr.ph97, label %._crit_edge98, !llvm.loop !26

.lr.ph93:                                         ; preds = %.preheader82, %150
  %indvars.iv116 = phi i64 [ %indvars.iv.next117, %150 ], [ 0, %.preheader82 ]
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv116) #10
  invoke void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %145)
          to label %146 unwind label %154

146:                                              ; preds = %.lr.ph93
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv116) #10
  %148 = load ptr, ptr %147, align 8, !tbaa !13
  %149 = getelementptr inbounds i8, ptr %148, i64 24
  invoke void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %149)
          to label %150 unwind label %154

150:                                              ; preds = %146
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %151 = load i32, ptr %6, align 4, !tbaa !8
  %152 = sext i32 %151 to i64
  %153 = icmp slt i64 %indvars.iv.next117, %152
  br i1 %153, label %.lr.ph93, label %._crit_edge94, !llvm.loop !27

154:                                              ; preds = %146, %.lr.ph93
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %156

156:                                              ; preds = %94, %96, %98, %154
  %.pn71.pn = phi { ptr, i32 } [ %155, %154 ], [ %99, %98 ], [ %95, %94 ], [ %97, %96 ]
  call void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  br label %157

157:                                              ; preds = %156, %64
  %.pn71.pn.pn = phi { ptr, i32 } [ %.pn71.pn, %156 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  br label %158

158:                                              ; preds = %157, %62
  %.pn71.pn.pn.pn = phi { ptr, i32 } [ %.pn71.pn.pn, %157 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  br label %159

159:                                              ; preds = %158, %60
  %.pn71.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn71.pn.pn.pn, %158 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #10
  br label %215

160:                                              ; preds = %._crit_edge98
  invoke void @_ZNSt6vectorI2PTSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %161 unwind label %172

161:                                              ; preds = %160
  invoke void @_Z14point_location4DCELSt6vectorI2PTSaIS1_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.58") align 8 %11, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %162 unwind label %174

162:                                              ; preds = %161
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  %163 = load i32, ptr %4, align 4, !tbaa !8
  %164 = sext i32 %163 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #10
  store i32 0, ptr %15, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #10
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %164, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %165 unwind label %177

165:                                              ; preds = %162
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #10
  %166 = load i32, ptr %1, align 4, !tbaa !8
  %167 = icmp sgt i32 %166, 0
  br i1 %167, label %.lr.ph101, label %.preheader

.preheader:                                       ; preds = %198, %165
  %168 = load i32, ptr %4, align 4, !tbaa !8
  %169 = icmp sgt i32 %168, 0
  br i1 %169, label %.lr.ph103, label %._crit_edge104

170:                                              ; preds = %._crit_edge98
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %214

172:                                              ; preds = %160
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %161
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  br label %176

176:                                              ; preds = %174, %172
  %.pn = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  br label %214

177:                                              ; preds = %162
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #10
  br label %213

.lr.ph101:                                        ; preds = %165, %198
  %indvars.iv119 = phi i64 [ %indvars.iv.next120, %198 ], [ 0, %165 ]
  %179 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv119) #10
  %180 = load i32, ptr %179, align 4, !tbaa !28
  %.not = icmp eq i32 %180, 0
  %181 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv119) #10
  %182 = getelementptr inbounds i8, ptr %181, i64 4
  %183 = load i32, ptr %182, align 4, !tbaa !30
  br i1 %.not, label %188, label %184

184:                                              ; preds = %.lr.ph101
  %.not70 = icmp eq i32 %183, -1
  br i1 %.not70, label %198, label %185

185:                                              ; preds = %184
  %186 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv119) #10
  %187 = getelementptr inbounds i8, ptr %186, i64 4
  br label %.sink.split

188:                                              ; preds = %.lr.ph101
  %189 = sext i32 %183 to i64
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %189) #10
  %191 = load ptr, ptr %190, align 8, !tbaa !13
  %192 = getelementptr inbounds i8, ptr %191, i64 36
  br label %.sink.split

.sink.split:                                      ; preds = %185, %188
  %.sink134 = phi ptr [ %192, %188 ], [ %187, %185 ]
  %193 = load i32, ptr %.sink134, align 4, !tbaa !8
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %194) #10
  %196 = load i32, ptr %195, align 4, !tbaa !8
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %195, align 4, !tbaa !8
  br label %198

198:                                              ; preds = %.sink.split, %184
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %199 = load i32, ptr %1, align 4, !tbaa !8
  %200 = sext i32 %199 to i64
  %201 = icmp slt i64 %indvars.iv.next120, %200
  br i1 %201, label %.lr.ph101, label %.preheader, !llvm.loop !31

._crit_edge104:                                   ; preds = %207, %.preheader
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #10
  ret i32 0

.lr.ph103:                                        ; preds = %.preheader, %207
  %indvars.iv122 = phi i64 [ %indvars.iv.next123, %207 ], [ 0, %.preheader ]
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv122) #10
  %203 = load i32, ptr %202, align 4, !tbaa !8
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %203)
          to label %205 unwind label %211

205:                                              ; preds = %.lr.ph103
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %204, i8 noundef signext 10)
          to label %207 unwind label %211

207:                                              ; preds = %205
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %208 = load i32, ptr %4, align 4, !tbaa !8
  %209 = sext i32 %208 to i64
  %210 = icmp slt i64 %indvars.iv.next123, %209
  br i1 %210, label %.lr.ph103, label %._crit_edge104, !llvm.loop !32

211:                                              ; preds = %205, %.lr.ph103
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  br label %213

213:                                              ; preds = %211, %177
  %.pn67 = phi { ptr, i32 } [ %212, %211 ], [ %178, %177 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #10
  br label %214

214:                                              ; preds = %213, %176, %170
  %.pn67.pn = phi { ptr, i32 } [ %.pn67, %213 ], [ %.pn, %176 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  br label %215

215:                                              ; preds = %214, %159
  %.pn71.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn71.pn.pn.pn.pn, %159 ], [ %.pn67.pn, %214 ]
  call void @_ZN4DCELD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  br label %216

216:                                              ; preds = %215, %47
  %.pn71.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn71.pn.pn.pn.pn.pn, %215 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  br label %217

217:                                              ; preds = %216, %42
  %.pn79 = phi { ptr, i32 } [ %43, %42 ], [ %.pn71.pn.pn.pn.pn.pn.pn, %216 ]
  call void @_ZNSt6vectorI2PTSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  br label %218

218:                                              ; preds = %217, %30
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %217 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #10
  resume { ptr, i32 } %.pn79.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #7

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI2PTSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4DCEL4edgeESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4DCEL4edgeC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #9 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #9

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 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 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress norecurse 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 #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!16, !14, i64 24}
!16 = !{!"_ZTSN4DCEL4edgeE", !17, i64 0, !14, i64 16, !14, i64 24, !9, i64 32, !9, i64 36}
!17 = !{!"_ZTS2PT", !18, i64 0, !18, i64 8}
!18 = !{!"long long", !10, i64 0}
!19 = !{!16, !9, i64 36}
!20 = distinct !{!20, !12}
!21 = !{i64 0, i64 8, !22, i64 8, i64 8, !22}
!22 = !{!18, !18, i64 0}
!23 = !{!16, !14, i64 16}
!24 = !{!16, !9, i64 32}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = !{!29, !9, i64 0}
!29 = !{!"_ZTSSt4pairIiiE", !9, i64 0, !9, i64 4}
!30 = !{!29, !9, i64 4}
!31 = distinct !{!31, !12}
!32 = distinct !{!32, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass